Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 .
- listTagsForVault :: Text -> Text -> ListTagsForVault
- data ListTagsForVault
- ltfvAccountId :: Lens' ListTagsForVault Text
- ltfvVaultName :: Lens' ListTagsForVault Text
- listTagsForVaultResponse :: Int -> ListTagsForVaultResponse
- data ListTagsForVaultResponse
- ltfvrsTags :: Lens' ListTagsForVaultResponse (HashMap Text Text)
- ltfvrsResponseStatus :: Lens' ListTagsForVaultResponse Int
Creating a Request
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
- TheAccountId
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.
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:
ltfvrsTags
- The tags attached to the vault. Each tag is composed of a key and a value.ltfvrsResponseStatus
- -- | The response status code.
data ListTagsForVaultResponse Source #
Contains the Amazon Glacier response to your request.
See: listTagsForVaultResponse
smart constructor.
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.
ltfvrsResponseStatus :: Lens' ListTagsForVaultResponse Int Source #
- - | The response status code.