libZSservicesZSamazonka-emrZSamazonka-emr
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.EMR.RemoveTags

Description

Removes tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio. Tags make it easier to associate resources in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tag Clusters.

The following example removes the stack tag with value Prod from a cluster:

Synopsis

Creating a Request

data RemoveTags Source #

This input identifies an Amazon EMR resource and a list of tags to remove.

See: newRemoveTags smart constructor.

Constructors

RemoveTags' 

Fields

  • resourceId :: Text

    The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or an Amazon EMR Studio ID.

  • tagKeys :: [Text]

    A list of tag keys to remove from the resource.

Instances

Instances details
Eq RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Read RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Show RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Generic RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Associated Types

type Rep RemoveTags :: Type -> Type #

NFData RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Methods

rnf :: RemoveTags -> () #

Hashable RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

ToJSON RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

AWSRequest RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Associated Types

type AWSResponse RemoveTags #

ToHeaders RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Methods

toHeaders :: RemoveTags -> [Header] #

ToPath RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

ToQuery RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

type Rep RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

type Rep RemoveTags = D1 ('MetaData "RemoveTags" "Amazonka.EMR.RemoveTags" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "RemoveTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse RemoveTags Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

newRemoveTags Source #

Create a value of RemoveTags 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:RemoveTags', removeTags_resourceId - The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or an Amazon EMR Studio ID.

$sel:tagKeys:RemoveTags', removeTags_tagKeys - A list of tag keys to remove from the resource.

Request Lenses

removeTags_resourceId :: Lens' RemoveTags Text Source #

The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or an Amazon EMR Studio ID.

removeTags_tagKeys :: Lens' RemoveTags [Text] Source #

A list of tag keys to remove from the resource.

Destructuring the Response

data RemoveTagsResponse Source #

This output indicates the result of removing tags from the resource.

See: newRemoveTagsResponse smart constructor.

Constructors

RemoveTagsResponse' 

Fields

Instances

Instances details
Eq RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Read RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Show RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Generic RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Associated Types

type Rep RemoveTagsResponse :: Type -> Type #

NFData RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

Methods

rnf :: RemoveTagsResponse -> () #

type Rep RemoveTagsResponse Source # 
Instance details

Defined in Amazonka.EMR.RemoveTags

type Rep RemoveTagsResponse = D1 ('MetaData "RemoveTagsResponse" "Amazonka.EMR.RemoveTags" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "RemoveTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRemoveTagsResponse Source #

Create a value of RemoveTagsResponse 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:httpStatus:RemoveTagsResponse', removeTagsResponse_httpStatus - The response's http status code.

Response Lenses