amazonka-emr-1.6.1: Amazon Elastic MapReduce SDK.

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

Network.AWS.EMR.RemoveTags

Contents

Description

Removes tags from an Amazon EMR resource. Tags make it easier to associate clusters 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

removeTags Source #

Creates a value of RemoveTags with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rtResourceId - The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
  • rtTagKeys - A list of tag keys to remove from a resource.

data RemoveTags Source #

This input identifies a cluster and a list of tags to remove.

See: removeTags smart constructor.

Instances
Eq RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Data RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RemoveTags -> c RemoveTags #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RemoveTags #

toConstr :: RemoveTags -> Constr #

dataTypeOf :: RemoveTags -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RemoveTags) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RemoveTags) #

gmapT :: (forall b. Data b => b -> b) -> RemoveTags -> RemoveTags #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RemoveTags -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RemoveTags -> r #

gmapQ :: (forall d. Data d => d -> u) -> RemoveTags -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RemoveTags -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RemoveTags -> m RemoveTags #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RemoveTags -> m RemoveTags #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RemoveTags -> m RemoveTags #

Read RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Show RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Generic RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Associated Types

type Rep RemoveTags :: Type -> Type #

Hashable RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

ToJSON RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

AWSRequest RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Associated Types

type Rs RemoveTags :: Type #

ToHeaders RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Methods

toHeaders :: RemoveTags -> [Header] #

ToPath RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

ToQuery RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

NFData RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Methods

rnf :: RemoveTags -> () #

type Rep RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

type Rep RemoveTags = D1 (MetaData "RemoveTags" "Network.AWS.EMR.RemoveTags" "amazonka-emr-1.6.1-2s0PTavy7KJFxTopWKa47I" False) (C1 (MetaCons "RemoveTags'" PrefixI True) (S1 (MetaSel (Just "_rtResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rtTagKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))
type Rs RemoveTags Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Request Lenses

rtResourceId :: Lens' RemoveTags Text Source #

The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.

rtTagKeys :: Lens' RemoveTags [Text] Source #

A list of tag keys to remove from a resource.

Destructuring the Response

removeTagsResponse Source #

Creates a value of RemoveTagsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RemoveTagsResponse Source #

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

See: removeTagsResponse smart constructor.

Instances
Eq RemoveTagsResponse Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Data RemoveTagsResponse Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RemoveTagsResponse -> c RemoveTagsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RemoveTagsResponse #

toConstr :: RemoveTagsResponse -> Constr #

dataTypeOf :: RemoveTagsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RemoveTagsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RemoveTagsResponse) #

gmapT :: (forall b. Data b => b -> b) -> RemoveTagsResponse -> RemoveTagsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RemoveTagsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RemoveTagsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> RemoveTagsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RemoveTagsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RemoveTagsResponse -> m RemoveTagsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RemoveTagsResponse -> m RemoveTagsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RemoveTagsResponse -> m RemoveTagsResponse #

Read RemoveTagsResponse Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Show RemoveTagsResponse Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Generic RemoveTagsResponse Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Associated Types

type Rep RemoveTagsResponse :: Type -> Type #

NFData RemoveTagsResponse Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

Methods

rnf :: RemoveTagsResponse -> () #

type Rep RemoveTagsResponse Source # 
Instance details

Defined in Network.AWS.EMR.RemoveTags

type Rep RemoveTagsResponse = D1 (MetaData "RemoveTagsResponse" "Network.AWS.EMR.RemoveTags" "amazonka-emr-1.6.1-2s0PTavy7KJFxTopWKa47I" True) (C1 (MetaCons "RemoveTagsResponse'" PrefixI True) (S1 (MetaSel (Just "_rtrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

rtrsResponseStatus :: Lens' RemoveTagsResponse Int Source #

  • - | The response status code.