amazonka-elasticache-1.4.5: Amazon ElastiCache SDK.

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

Network.AWS.ElastiCache.RemoveTagsFromResource

Contents

Description

Removes the tags identified by the TagKeys list from the named resource.

Synopsis

Creating a Request

removeTagsFromResource #

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

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

  • rtfrResourceName - The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot . For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces .
  • rtfrTagKeys - A list of TagKeys identifying the tags you want removed from the named resource.

data RemoveTagsFromResource #

Represents the input of a RemoveTagsFromResource operation.

See: removeTagsFromResource smart constructor.

Instances

Eq RemoveTagsFromResource # 
Data RemoveTagsFromResource # 

Methods

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

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

toConstr :: RemoveTagsFromResource -> Constr #

dataTypeOf :: RemoveTagsFromResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RemoveTagsFromResource # 
Show RemoveTagsFromResource # 
Generic RemoveTagsFromResource # 
Hashable RemoveTagsFromResource # 
NFData RemoveTagsFromResource # 

Methods

rnf :: RemoveTagsFromResource -> () #

AWSRequest RemoveTagsFromResource # 
ToQuery RemoveTagsFromResource # 
ToPath RemoveTagsFromResource # 
ToHeaders RemoveTagsFromResource # 
type Rep RemoveTagsFromResource # 
type Rep RemoveTagsFromResource = D1 (MetaData "RemoveTagsFromResource" "Network.AWS.ElastiCache.RemoveTagsFromResource" "amazonka-elasticache-1.4.5-Ai9oTU2RTbj2M0sGqfSNp8" False) (C1 (MetaCons "RemoveTagsFromResource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rtfrResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rtfrTagKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs RemoveTagsFromResource # 

Request Lenses

rtfrResourceName :: Lens' RemoveTagsFromResource Text #

The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot . For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces .

rtfrTagKeys :: Lens' RemoveTagsFromResource [Text] #

A list of TagKeys identifying the tags you want removed from the named resource.

Destructuring the Response

tagListMessage :: TagListMessage #

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

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

  • tlmTagList - A list of cost allocation tags as key-value pairs.

data TagListMessage #

Represents the output from the AddTagsToResource , ListTagsOnResource , and RemoveTagsFromResource operations.

See: tagListMessage smart constructor.

Instances

Eq TagListMessage # 
Data TagListMessage # 

Methods

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

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

toConstr :: TagListMessage -> Constr #

dataTypeOf :: TagListMessage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagListMessage # 
Show TagListMessage # 
Generic TagListMessage # 

Associated Types

type Rep TagListMessage :: * -> * #

Hashable TagListMessage # 
NFData TagListMessage # 

Methods

rnf :: TagListMessage -> () #

FromXML TagListMessage # 
type Rep TagListMessage # 
type Rep TagListMessage = D1 (MetaData "TagListMessage" "Network.AWS.ElastiCache.Types.Product" "amazonka-elasticache-1.4.5-Ai9oTU2RTbj2M0sGqfSNp8" True) (C1 (MetaCons "TagListMessage'" PrefixI True) (S1 (MetaSel (Just Symbol "_tlmTagList") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Tag]))))

Response Lenses

tlmTagList :: Lens' TagListMessage [Tag] #

A list of cost allocation tags as key-value pairs.