amazonka-storagegateway-1.5.0: Amazon Storage Gateway SDK.

Copyright(c) 2013-2017 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.StorageGateway.RemoveTagsFromResource

Contents

Description

Removes one or more tags from the specified resource. This operation is only supported in the cached volume, stored volume and tape gateway architectures.

Synopsis

Creating a Request

removeTagsFromResource Source #

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:

  • rtfrResourceARN - The Amazon Resource Name (ARN) of the resource you want to remove the tags from.
  • rtfrTagKeys - The keys of the tags you want to remove from the specified resource. A tag is composed of a key/value pair.

data RemoveTagsFromResource Source #

RemoveTagsFromResourceInput

See: removeTagsFromResource smart constructor.

Instances

Eq RemoveTagsFromResource Source # 
Data RemoveTagsFromResource Source # 

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 Source # 
Show RemoveTagsFromResource Source # 
Generic RemoveTagsFromResource Source # 
Hashable RemoveTagsFromResource Source # 
ToJSON RemoveTagsFromResource Source # 
NFData RemoveTagsFromResource Source # 

Methods

rnf :: RemoveTagsFromResource -> () #

AWSRequest RemoveTagsFromResource Source # 
ToQuery RemoveTagsFromResource Source # 
ToPath RemoveTagsFromResource Source # 
ToHeaders RemoveTagsFromResource Source # 
type Rep RemoveTagsFromResource Source # 
type Rep RemoveTagsFromResource = D1 (MetaData "RemoveTagsFromResource" "Network.AWS.StorageGateway.RemoveTagsFromResource" "amazonka-storagegateway-1.5.0-Dl0pEQb6pvFBwTkfuWFwCu" False) (C1 (MetaCons "RemoveTagsFromResource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rtfrResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rtfrTagKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs RemoveTagsFromResource Source # 

Request Lenses

rtfrResourceARN :: Lens' RemoveTagsFromResource Text Source #

The Amazon Resource Name (ARN) of the resource you want to remove the tags from.

rtfrTagKeys :: Lens' RemoveTagsFromResource [Text] Source #

The keys of the tags you want to remove from the specified resource. A tag is composed of a key/value pair.

Destructuring the Response

removeTagsFromResourceResponse Source #

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

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

data RemoveTagsFromResourceResponse Source #

RemoveTagsFromResourceOutput

See: removeTagsFromResourceResponse smart constructor.

Instances

Eq RemoveTagsFromResourceResponse Source # 
Data RemoveTagsFromResourceResponse Source # 

Methods

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

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

toConstr :: RemoveTagsFromResourceResponse -> Constr #

dataTypeOf :: RemoveTagsFromResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RemoveTagsFromResourceResponse Source # 
Show RemoveTagsFromResourceResponse Source # 
Generic RemoveTagsFromResourceResponse Source # 
NFData RemoveTagsFromResourceResponse Source # 
type Rep RemoveTagsFromResourceResponse Source # 
type Rep RemoveTagsFromResourceResponse = D1 (MetaData "RemoveTagsFromResourceResponse" "Network.AWS.StorageGateway.RemoveTagsFromResource" "amazonka-storagegateway-1.5.0-Dl0pEQb6pvFBwTkfuWFwCu" False) (C1 (MetaCons "RemoveTagsFromResourceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rtfrrsResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rtfrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

rtfrrsResourceARN :: Lens' RemoveTagsFromResourceResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource that the tags were removed from.