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.DeleteArtifact

Description

Deletes an artifact. Either ArtifactArn or Source must be specified.

Synopsis

Creating a Request

data DeleteArtifact Source #

See: newDeleteArtifact smart constructor.

Constructors

DeleteArtifact' 

Fields

Instances

Instances details
Eq DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Read DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Show DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Generic DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Associated Types

type Rep DeleteArtifact :: Type -> Type #

NFData DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Methods

rnf :: DeleteArtifact -> () #

Hashable DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

ToJSON DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

AWSRequest DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Associated Types

type AWSResponse DeleteArtifact #

ToHeaders DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

ToPath DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

ToQuery DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

type Rep DeleteArtifact Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

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

Defined in Amazonka.SageMaker.DeleteArtifact

newDeleteArtifact :: DeleteArtifact Source #

Create a value of DeleteArtifact 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:source:DeleteArtifact', deleteArtifact_source - The URI of the source.

$sel:artifactArn:DeleteArtifact', deleteArtifact_artifactArn - The Amazon Resource Name (ARN) of the artifact to delete.

Request Lenses

deleteArtifact_artifactArn :: Lens' DeleteArtifact (Maybe Text) Source #

The Amazon Resource Name (ARN) of the artifact to delete.

Destructuring the Response

data DeleteArtifactResponse Source #

See: newDeleteArtifactResponse smart constructor.

Constructors

DeleteArtifactResponse' 

Fields

Instances

Instances details
Eq DeleteArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Read DeleteArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Show DeleteArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Generic DeleteArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Associated Types

type Rep DeleteArtifactResponse :: Type -> Type #

NFData DeleteArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

Methods

rnf :: DeleteArtifactResponse -> () #

type Rep DeleteArtifactResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteArtifact

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

newDeleteArtifactResponse Source #

Create a value of DeleteArtifactResponse 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:artifactArn:DeleteArtifact', deleteArtifactResponse_artifactArn - The Amazon Resource Name (ARN) of the artifact.

$sel:httpStatus:DeleteArtifactResponse', deleteArtifactResponse_httpStatus - The response's http status code.

Response Lenses

deleteArtifactResponse_artifactArn :: Lens' DeleteArtifactResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the artifact.