libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data AddAssociation Source #

See: newAddAssociation smart constructor.

Constructors

AddAssociation' 

Fields

  • associationType :: Maybe AssociationEdgeType

    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.
  • sourceArn :: Text

    The ARN of the source.

  • destinationArn :: Text

    The Amazon Resource Name (ARN) of the destination.

Instances

Instances details
Eq AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Read AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Show AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Generic AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Associated Types

type Rep AddAssociation :: Type -> Type #

NFData AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Methods

rnf :: AddAssociation -> () #

Hashable AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

ToJSON AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

AWSRequest AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Associated Types

type AWSResponse AddAssociation #

ToHeaders AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

ToPath AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

ToQuery AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

type Rep AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

type Rep AddAssociation = D1 ('MetaData "AddAssociation" "Amazonka.SageMaker.AddAssociation" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "AddAssociation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "associationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssociationEdgeType)) :*: (S1 ('MetaSel ('Just "sourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "destinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AddAssociation Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

newAddAssociation Source #

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_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

Instances details
Eq AddAssociationResponse Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Read AddAssociationResponse Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Show AddAssociationResponse Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Generic AddAssociationResponse Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Associated Types

type Rep AddAssociationResponse :: Type -> Type #

NFData AddAssociationResponse Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

Methods

rnf :: AddAssociationResponse -> () #

type Rep AddAssociationResponse Source # 
Instance details

Defined in Amazonka.SageMaker.AddAssociation

type Rep AddAssociationResponse = D1 ('MetaData "AddAssociationResponse" "Amazonka.SageMaker.AddAssociation" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "AddAssociationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "destinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_destinationArn :: Lens' AddAssociationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the destination.