| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SageMaker.AddAssociation
Description
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.
Synopsis
- data AddAssociation = AddAssociation' {}
- newAddAssociation :: Text -> Text -> AddAssociation
- addAssociation_associationType :: Lens' AddAssociation (Maybe AssociationEdgeType)
- addAssociation_sourceArn :: Lens' AddAssociation Text
- addAssociation_destinationArn :: Lens' AddAssociation Text
- data AddAssociationResponse = AddAssociationResponse' {
- sourceArn :: Maybe Text
- destinationArn :: Maybe Text
- httpStatus :: Int
- newAddAssociationResponse :: Int -> AddAssociationResponse
- addAssociationResponse_sourceArn :: Lens' AddAssociationResponse (Maybe Text)
- addAssociationResponse_destinationArn :: Lens' AddAssociationResponse (Maybe Text)
- addAssociationResponse_httpStatus :: Lens' AddAssociationResponse Int
Creating a Request
data AddAssociation Source #
See: newAddAssociation smart constructor.
Constructors
| AddAssociation' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> AddAssociation |
Create a value of AddAssociation with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:associationType:AddAssociation', addAssociation_associationType - 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.
$sel:sourceArn:AddAssociation', addAssociation_sourceArn - The ARN of the source.
$sel:destinationArn:AddAssociation', addAssociation_destinationArn - The Amazon Resource Name (ARN) of the destination.
Request Lenses
addAssociation_associationType :: Lens' AddAssociation (Maybe AssociationEdgeType) Source #
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.
addAssociation_sourceArn :: Lens' AddAssociation Text Source #
The ARN of the source.
addAssociation_destinationArn :: Lens' AddAssociation Text Source #
The Amazon Resource Name (ARN) of the destination.
Destructuring the Response
data AddAssociationResponse Source #
See: newAddAssociationResponse smart constructor.
Constructors
| AddAssociationResponse' | |
Fields
| |
Instances
newAddAssociationResponse Source #
Create a value of AddAssociationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sourceArn:AddAssociation', addAssociationResponse_sourceArn - The ARN of the source.
$sel:destinationArn:AddAssociation', addAssociationResponse_destinationArn - The Amazon Resource Name (ARN) of the destination.
$sel:httpStatus:AddAssociationResponse', addAssociationResponse_httpStatus - The response's http status code.
Response Lenses
addAssociationResponse_sourceArn :: Lens' AddAssociationResponse (Maybe Text) Source #
The ARN of the source.
addAssociationResponse_destinationArn :: Lens' AddAssociationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the destination.
addAssociationResponse_httpStatus :: Lens' AddAssociationResponse Int Source #
The response's http status code.