Class: Aws::SageMaker::Types::AddAssociationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass AddAssociationRequest data as a hash:

{
  source_arn: "AssociationEntityArn", # required
  destination_arn: "AssociationEntityArn", # required
  association_type: "ContributedTo", # accepts ContributedTo, AssociatedWith, DerivedFrom, Produced
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#association_typeString

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.

Returns:

  • (String)


132
133
134
135
136
137
138
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 132

class AddAssociationRequest < Struct.new(
  :source_arn,
  :destination_arn,
  :association_type)
  SENSITIVE = []
  include Aws::Structure
end

#destination_arnString

The Amazon Resource Name (ARN) of the destination.

Returns:

  • (String)


132
133
134
135
136
137
138
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 132

class AddAssociationRequest < Struct.new(
  :source_arn,
  :destination_arn,
  :association_type)
  SENSITIVE = []
  include Aws::Structure
end

#source_arnString

The ARN of the source.

Returns:

  • (String)


132
133
134
135
136
137
138
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 132

class AddAssociationRequest < Struct.new(
  :source_arn,
  :destination_arn,
  :association_type)
  SENSITIVE = []
  include Aws::Structure
end