amazonka-glacier-1.5.0: Amazon Glacier 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.Glacier.RemoveTagsFromVault

Contents

Description

This operation removes one or more tags from the set of tags attached to a vault. For more information about tags, see Tagging Amazon Glacier Resources . This operation is idempotent. The operation will be successful, even if there are no tags attached to the vault.

Synopsis

Creating a Request

removeTagsFromVault Source #

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

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

  • rtfvTagKeys - A list of tag keys. Each corresponding tag is removed from the vault.
  • rtfvAccountId - The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '- ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens (-) in the ID.
  • rtfvVaultName - The name of the vault.

data RemoveTagsFromVault Source #

The input value for RemoveTagsFromVaultInput .

See: removeTagsFromVault smart constructor.

Instances

Eq RemoveTagsFromVault Source # 
Data RemoveTagsFromVault Source # 

Methods

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

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

toConstr :: RemoveTagsFromVault -> Constr #

dataTypeOf :: RemoveTagsFromVault -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RemoveTagsFromVault Source # 
Show RemoveTagsFromVault Source # 
Generic RemoveTagsFromVault Source # 
Hashable RemoveTagsFromVault Source # 
ToJSON RemoveTagsFromVault Source # 
NFData RemoveTagsFromVault Source # 

Methods

rnf :: RemoveTagsFromVault -> () #

AWSRequest RemoveTagsFromVault Source # 
ToQuery RemoveTagsFromVault Source # 
ToPath RemoveTagsFromVault Source # 
ToHeaders RemoveTagsFromVault Source # 
type Rep RemoveTagsFromVault Source # 
type Rep RemoveTagsFromVault = D1 (MetaData "RemoveTagsFromVault" "Network.AWS.Glacier.RemoveTagsFromVault" "amazonka-glacier-1.5.0-AWAt53IVogG613fTETHcMP" False) (C1 (MetaCons "RemoveTagsFromVault'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rtfvTagKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_rtfvAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rtfvVaultName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs RemoveTagsFromVault Source # 

Request Lenses

rtfvTagKeys :: Lens' RemoveTagsFromVault [Text] Source #

A list of tag keys. Each corresponding tag is removed from the vault.

rtfvAccountId :: Lens' RemoveTagsFromVault Text Source #

The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '- ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens (-) in the ID.

Destructuring the Response

removeTagsFromVaultResponse :: RemoveTagsFromVaultResponse Source #

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

data RemoveTagsFromVaultResponse Source #

See: removeTagsFromVaultResponse smart constructor.

Instances

Eq RemoveTagsFromVaultResponse Source # 
Data RemoveTagsFromVaultResponse Source # 

Methods

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

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

toConstr :: RemoveTagsFromVaultResponse -> Constr #

dataTypeOf :: RemoveTagsFromVaultResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RemoveTagsFromVaultResponse Source # 
Show RemoveTagsFromVaultResponse Source # 
Generic RemoveTagsFromVaultResponse Source # 
NFData RemoveTagsFromVaultResponse Source # 
type Rep RemoveTagsFromVaultResponse Source # 
type Rep RemoveTagsFromVaultResponse = D1 (MetaData "RemoveTagsFromVaultResponse" "Network.AWS.Glacier.RemoveTagsFromVault" "amazonka-glacier-1.5.0-AWAt53IVogG613fTETHcMP" False) (C1 (MetaCons "RemoveTagsFromVaultResponse'" PrefixI False) U1)