amazonka-glacier-1.3.6: 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:

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.

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:

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.