The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::SageMaker::AddAssociation - Arguments for method AddAssociation on Paws::SageMaker

DESCRIPTION

This class represents the parameters used for calling the method AddAssociation on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method AddAssociation.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddAssociation.

SYNOPSIS

my $api.sagemaker = Paws->service('SageMaker');
my $AddAssociationResponse = $api . sagemaker->AddAssociation(
  DestinationArn  => 'MyAssociationEntityArn',
  SourceArn       => 'MyAssociationEntityArn',
  AssociationType => 'ContributedTo',            # OPTIONAL
);

# Results:
my $DestinationArn = $AddAssociationResponse->DestinationArn;
my $SourceArn      = $AddAssociationResponse->SourceArn;

# Returns a L<Paws::SageMaker::AddAssociationResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/AddAssociation

ATTRIBUTES

AssociationType => Str

The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.

  • ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.

  • AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.

  • DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.

  • Produced - The source generated the destination. For example, a training job produced a model artifact.

Valid values are: "ContributedTo", "AssociatedWith", "DerivedFrom", "Produced"

REQUIRED DestinationArn => Str

The Amazon Resource Name (ARN) of the destination.

REQUIRED SourceArn => Str

The ARN of the source.

SEE ALSO

This class forms part of Paws, documenting arguments for method AddAssociation in Paws::SageMaker

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues