amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.CreateArtifact

Description

Creates an artifact. An artifact is a lineage tracking entity that represents a URI addressable object or data. Some examples are the S3 URI of a dataset and the ECR registry path of an image. For more information, see Amazon SageMaker ML Lineage Tracking.

Synopsis

Creating a Request

data CreateArtifact Source #

See: newCreateArtifact smart constructor.

Constructors

CreateArtifact' 

Fields

Instances

Instances details
ToJSON CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

ToHeaders CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

ToPath CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

ToQuery CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

AWSRequest CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

Associated Types

type AWSResponse CreateArtifact #

Generic CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

Associated Types

type Rep CreateArtifact :: Type -> Type #

Read CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

Show CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

NFData CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

Methods

rnf :: CreateArtifact -> () #

Eq CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

Hashable CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

type AWSResponse CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

type Rep CreateArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

type Rep CreateArtifact = D1 ('MetaData "CreateArtifact" "Amazonka.SageMaker.CreateArtifact" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CreateArtifact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "artifactName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "metadataProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetadataProperties)) :*: S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ArtifactSource) :*: S1 ('MetaSel ('Just "artifactType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateArtifact Source #

Create a value of CreateArtifact 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:

CreateArtifact, createArtifact_artifactName - The name of the artifact. Must be unique to your account in an Amazon Web Services Region.

CreateArtifact, createArtifact_metadataProperties - Undocumented member.

CreateArtifact, createArtifact_properties - A list of properties to add to the artifact.

CreateArtifact, createArtifact_tags - A list of tags to apply to the artifact.

CreateArtifact, createArtifact_source - The ID, ID type, and URI of the source.

CreateArtifact, createArtifact_artifactType - The artifact type.

Request Lenses

createArtifact_artifactName :: Lens' CreateArtifact (Maybe Text) Source #

The name of the artifact. Must be unique to your account in an Amazon Web Services Region.

createArtifact_properties :: Lens' CreateArtifact (Maybe (HashMap Text Text)) Source #

A list of properties to add to the artifact.

createArtifact_tags :: Lens' CreateArtifact (Maybe [Tag]) Source #

A list of tags to apply to the artifact.

createArtifact_source :: Lens' CreateArtifact ArtifactSource Source #

The ID, ID type, and URI of the source.

Destructuring the Response

data CreateArtifactResponse Source #

See: newCreateArtifactResponse smart constructor.

Constructors

CreateArtifactResponse' 

Fields

Instances

Instances details
Generic CreateArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

Associated Types

type Rep CreateArtifactResponse :: Type -> Type #

Read CreateArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

Show CreateArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

NFData CreateArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

Methods

rnf :: CreateArtifactResponse -> () #

Eq CreateArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

type Rep CreateArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateArtifact

type Rep CreateArtifactResponse = D1 ('MetaData "CreateArtifactResponse" "Amazonka.SageMaker.CreateArtifact" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CreateArtifactResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "artifactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateArtifactResponse Source #

Create a value of CreateArtifactResponse 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:

CreateArtifactResponse, createArtifactResponse_artifactArn - The Amazon Resource Name (ARN) of the artifact.

$sel:httpStatus:CreateArtifactResponse', createArtifactResponse_httpStatus - The response's http status code.

Response Lenses

createArtifactResponse_artifactArn :: Lens' CreateArtifactResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the artifact.