add_association
(**kwargs)¶Creates an association between the source and the destination. A source can be associated with multiple destinations, and a destination can be associated with multiple sources. An association is a lineage tracking entity. For more information, see Amazon SageMaker ML Lineage Tracking.
See also: AWS API Documentation
Request Syntax
response = client.add_association(
SourceArn='string',
DestinationArn='string',
AssociationType='ContributedTo'|'AssociatedWith'|'DerivedFrom'|'Produced'
)
[REQUIRED]
The ARN of the source.
[REQUIRED]
The Amazon Resource Name (ARN) of the destination.
The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.
dict
Response Syntax
{
'SourceArn': 'string',
'DestinationArn': 'string'
}
Response Structure
(dict) --
SourceArn (string) --
The ARN of the source.
DestinationArn (string) --
The Amazon Resource Name (ARN) of the destination.
Exceptions
SageMaker.Client.exceptions.ResourceNotFound
SageMaker.Client.exceptions.ResourceLimitExceeded