amazonka-glacier-1.3.7: Amazon Glacier SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for ListTagsForVault.

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:

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 # 
AWSRequest ListTagsForVault Source # 
ToQuery ListTagsForVault Source # 
ToPath ListTagsForVault Source # 
ToHeaders ListTagsForVault Source # 
type Rep ListTagsForVault Source # 
type Rep ListTagsForVault = D1 (MetaData "ListTagsForVault" "Network.AWS.Glacier.ListTagsForVault" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" 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 apos-apos (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 (apos-apos) 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 # 
type Rep ListTagsForVaultResponse Source # 
type Rep ListTagsForVaultResponse = D1 (MetaData "ListTagsForVaultResponse" "Network.AWS.Glacier.ListTagsForVault" "amazonka-glacier-1.3.7-Dh9gbv8nf1fFDUYZRjXX0m" 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 DecidedStrict) (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.