amazonka-glacier-1.6.1: Amazon Glacier 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.Glacier.AddTagsToVault

Contents

Description

This operation adds the specified tags to a vault. Each tag is composed of a key and a value. Each vault can have up to 10 tags. If your request would cause the tag limit for the vault to be exceeded, the operation throws the LimitExceededException error. If a tag already exists on the vault under a specified key, the existing key value will be overwritten. For more information about tags, see Tagging Amazon Glacier Resources .

Synopsis

Creating a Request

addTagsToVault Source #

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

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

  • attvTags - The tags to add to the vault. Each tag is composed of a key and a value. The value can be an empty string.
  • attvAccountId - 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.
  • attvVaultName - The name of the vault.

data AddTagsToVault Source #

The input values for AddTagsToVault .

See: addTagsToVault smart constructor.

Instances
Eq AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Data AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Methods

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

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

toConstr :: AddTagsToVault -> Constr #

dataTypeOf :: AddTagsToVault -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Show AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Generic AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Associated Types

type Rep AddTagsToVault :: Type -> Type #

Hashable AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

ToJSON AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

AWSRequest AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Associated Types

type Rs AddTagsToVault :: Type #

ToHeaders AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

ToPath AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

ToQuery AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

NFData AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Methods

rnf :: AddTagsToVault -> () #

type Rep AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

type Rep AddTagsToVault = D1 (MetaData "AddTagsToVault" "Network.AWS.Glacier.AddTagsToVault" "amazonka-glacier-1.6.1-1jk94OYE8nZKrGhzWrcb8m" False) (C1 (MetaCons "AddTagsToVault'" PrefixI True) (S1 (MetaSel (Just "_attvTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: (S1 (MetaSel (Just "_attvAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_attvVaultName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AddTagsToVault Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Request Lenses

attvTags :: Lens' AddTagsToVault (HashMap Text Text) Source #

The tags to add to the vault. Each tag is composed of a key and a value. The value can be an empty string.

attvAccountId :: Lens' AddTagsToVault 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.

attvVaultName :: Lens' AddTagsToVault Text Source #

The name of the vault.

Destructuring the Response

addTagsToVaultResponse :: AddTagsToVaultResponse Source #

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

data AddTagsToVaultResponse Source #

See: addTagsToVaultResponse smart constructor.

Instances
Eq AddTagsToVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Data AddTagsToVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Methods

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

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

toConstr :: AddTagsToVaultResponse -> Constr #

dataTypeOf :: AddTagsToVaultResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddTagsToVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Show AddTagsToVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Generic AddTagsToVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Associated Types

type Rep AddTagsToVaultResponse :: Type -> Type #

NFData AddTagsToVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

Methods

rnf :: AddTagsToVaultResponse -> () #

type Rep AddTagsToVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.AddTagsToVault

type Rep AddTagsToVaultResponse = D1 (MetaData "AddTagsToVaultResponse" "Network.AWS.Glacier.AddTagsToVault" "amazonka-glacier-1.6.1-1jk94OYE8nZKrGhzWrcb8m" False) (C1 (MetaCons "AddTagsToVaultResponse'" PrefixI False) (U1 :: Type -> Type))