libZSservicesZSamazonka-mlZSamazonka-ml
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.MachineLearning.DeleteTags

Description

Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags.

If you specify a tag that doesn't exist, Amazon ML ignores it.

Synopsis

Creating a Request

data DeleteTags Source #

See: newDeleteTags smart constructor.

Constructors

DeleteTags' 

Fields

Instances

Instances details
Eq DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Read DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Show DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Generic DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Associated Types

type Rep DeleteTags :: Type -> Type #

NFData DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Methods

rnf :: DeleteTags -> () #

Hashable DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

ToJSON DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

AWSRequest DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Associated Types

type AWSResponse DeleteTags #

ToHeaders DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Methods

toHeaders :: DeleteTags -> [Header] #

ToPath DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

ToQuery DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

type Rep DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

type Rep DeleteTags = D1 ('MetaData "DeleteTags" "Amazonka.MachineLearning.DeleteTags" "libZSservicesZSamazonka-mlZSamazonka-ml" 'False) (C1 ('MetaCons "DeleteTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TaggableResourceType))))
type AWSResponse DeleteTags Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

newDeleteTags Source #

Create a value of DeleteTags 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:tagKeys:DeleteTags', deleteTags_tagKeys - One or more tags to delete.

$sel:resourceId:DeleteTags', deleteTags_resourceId - The ID of the tagged ML object. For example, exampleModelId.

$sel:resourceType:DeleteTags', deleteTags_resourceType - The type of the tagged ML object.

Request Lenses

deleteTags_tagKeys :: Lens' DeleteTags [Text] Source #

One or more tags to delete.

deleteTags_resourceId :: Lens' DeleteTags Text Source #

The ID of the tagged ML object. For example, exampleModelId.

Destructuring the Response

data DeleteTagsResponse Source #

Amazon ML returns the following elements.

See: newDeleteTagsResponse smart constructor.

Constructors

DeleteTagsResponse' 

Fields

Instances

Instances details
Eq DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Read DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Show DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Generic DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Associated Types

type Rep DeleteTagsResponse :: Type -> Type #

NFData DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

Methods

rnf :: DeleteTagsResponse -> () #

type Rep DeleteTagsResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteTags

type Rep DeleteTagsResponse = D1 ('MetaData "DeleteTagsResponse" "Amazonka.MachineLearning.DeleteTags" "libZSservicesZSamazonka-mlZSamazonka-ml" 'False) (C1 ('MetaCons "DeleteTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TaggableResourceType)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteTagsResponse Source #

Create a value of DeleteTagsResponse 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:resourceId:DeleteTags', deleteTagsResponse_resourceId - The ID of the ML object from which tags were deleted.

$sel:resourceType:DeleteTags', deleteTagsResponse_resourceType - The type of the ML object from which tags were deleted.

$sel:httpStatus:DeleteTagsResponse', deleteTagsResponse_httpStatus - The response's http status code.

Response Lenses

deleteTagsResponse_resourceId :: Lens' DeleteTagsResponse (Maybe Text) Source #

The ID of the ML object from which tags were deleted.

deleteTagsResponse_resourceType :: Lens' DeleteTagsResponse (Maybe TaggableResourceType) Source #

The type of the ML object from which tags were deleted.