| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Glacier.ListTagsForVault
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
- 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
Arguments
| :: Text | |
| -> Text | |
| -> ListTagsForVault |
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- TheAccountIdvalue 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 #
The input value for ListTagsForVaultInput .
See: listTagsForVault smart constructor.
Instances
Request Lenses
ltfvAccountId :: Lens' ListTagsForVault Text #
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 #
The name of the vault.
Destructuring the Response
Arguments
| :: Int | |
| -> ListTagsForVaultResponse |
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 #
Contains the Amazon Glacier response to your request.
See: listTagsForVaultResponse smart constructor.
Instances
Response Lenses
ltfvrsTags :: Lens' ListTagsForVaultResponse (HashMap Text Text) #
The tags attached to the vault. Each tag is composed of a key and a value.
ltfvrsResponseStatus :: Lens' ListTagsForVaultResponse Int #
- - | The response status code.