v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143021,9861.6 MB

Creates an <i>association</i> 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 <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html">Amazon SageMaker ML Lineage Tracking</a>.

post/#X-Amz-Target=SageMaker.AddAssociation

Headers

X-Amz-Target'SageMaker.AddAssociation' required

Request body

SourceArnstring required

The ARN of the source.

DestinationArnstring required

The Amazon Resource Name (ARN) of the destination.

AssociationType'ContributedTo' | 'AssociatedWith' | 'DerivedFrom' | 'Produced'
<p>The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.</p> <ul> <li> <p>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.</p> </li> <li> <p>AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.</p> </li> <li> <p>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.</p> </li> <li> <p>Produced - The source generated the destination. For example, a training job produced a model artifact.</p> </li> </ul>

Response

Success

SourceArnstring

The ARN of the source.

DestinationArnstring

The Amazon Resource Name (ARN) of the destination.

All 302 operations