amazonka-glacier-1.4.5: Amazon Glacier 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.Glacier.ListTagsForVault

Contents

Description

This operation lists all the tags attached to a vault. The operation returns an empty map if there are no tags. For more information about tags, see Tagging Amazon Glacier Resources .

Synopsis

Creating a Request

listTagsForVault Source #

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

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

  • ltfvAccountId - 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.
  • ltfvVaultName - The name of the vault.

data ListTagsForVault Source #

The input value for ListTagsForVaultInput .

See: listTagsForVault smart constructor.

Instances

Eq ListTagsForVault Source # 
Data ListTagsForVault Source # 

Methods

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

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

toConstr :: ListTagsForVault -> Constr #

dataTypeOf :: ListTagsForVault -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsForVault Source # 
Show ListTagsForVault Source # 
Generic ListTagsForVault Source # 
Hashable ListTagsForVault Source # 
NFData ListTagsForVault Source # 

Methods

rnf :: ListTagsForVault -> () #

AWSRequest ListTagsForVault Source # 
ToPath ListTagsForVault Source # 
ToHeaders ListTagsForVault Source # 
ToQuery ListTagsForVault Source # 
type Rep ListTagsForVault Source # 
type Rep ListTagsForVault = D1 (MetaData "ListTagsForVault" "Network.AWS.Glacier.ListTagsForVault" "amazonka-glacier-1.4.5-8Q58EZuc7l7f3oDJ5Xu1h" False) (C1 (MetaCons "ListTagsForVault'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltfvAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ltfvVaultName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListTagsForVault Source # 

Request Lenses

ltfvAccountId :: Lens' ListTagsForVault 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.

ltfvVaultName :: Lens' ListTagsForVault Text Source #

The name of the vault.

Destructuring the Response

listTagsForVaultResponse Source #

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

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

data ListTagsForVaultResponse Source #

Contains the Amazon Glacier response to your request.

See: listTagsForVaultResponse smart constructor.

Instances

Eq ListTagsForVaultResponse Source # 
Data ListTagsForVaultResponse Source # 

Methods

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

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

toConstr :: ListTagsForVaultResponse -> Constr #

dataTypeOf :: ListTagsForVaultResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTagsForVaultResponse Source # 
Show ListTagsForVaultResponse Source # 
Generic ListTagsForVaultResponse Source # 
NFData ListTagsForVaultResponse Source # 
type Rep ListTagsForVaultResponse Source # 
type Rep ListTagsForVaultResponse = D1 (MetaData "ListTagsForVaultResponse" "Network.AWS.Glacier.ListTagsForVault" "amazonka-glacier-1.4.5-8Q58EZuc7l7f3oDJ5Xu1h" False) (C1 (MetaCons "ListTagsForVaultResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltfvrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) (S1 (MetaSel (Just Symbol "_ltfvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

ltfvrsTags :: Lens' ListTagsForVaultResponse (HashMap Text Text) Source #

The tags attached to the vault. Each tag is composed of a key and a value.