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.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 # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

Data ListTagsForVault Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

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 # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

Show ListTagsForVault Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

Generic ListTagsForVault Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

Associated Types

type Rep ListTagsForVault :: Type -> Type #

Hashable ListTagsForVault Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

AWSRequest ListTagsForVault Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

Associated Types

type Rs ListTagsForVault :: Type #

ToHeaders ListTagsForVault Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

ToPath ListTagsForVault Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

ToQuery ListTagsForVault Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

NFData ListTagsForVault Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

Methods

rnf :: ListTagsForVault -> () #

type Rep ListTagsForVault Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

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

Defined in Network.AWS.Glacier.ListTagsForVault

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 # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

Data ListTagsForVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

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 # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

Show ListTagsForVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

Generic ListTagsForVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

Associated Types

type Rep ListTagsForVaultResponse :: Type -> Type #

NFData ListTagsForVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

type Rep ListTagsForVaultResponse Source # 
Instance details

Defined in Network.AWS.Glacier.ListTagsForVault

type Rep ListTagsForVaultResponse = D1 (MetaData "ListTagsForVaultResponse" "Network.AWS.Glacier.ListTagsForVault" "amazonka-glacier-1.6.1-1jk94OYE8nZKrGhzWrcb8m" False) (C1 (MetaCons "ListTagsForVaultResponse'" PrefixI True) (S1 (MetaSel (Just "_ltfvrsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_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.