Copyright | (c) 2013-2021 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 |
This operation removes one or more tags from the set of tags attached to a vault. For more information about tags, see Tagging Amazon S3 Glacier Resources. This operation is idempotent. The operation will be successful, even if there are no tags attached to the vault.
Synopsis
- data RemoveTagsFromVault = RemoveTagsFromVault' {}
- newRemoveTagsFromVault :: Text -> Text -> RemoveTagsFromVault
- removeTagsFromVault_tagKeys :: Lens' RemoveTagsFromVault (Maybe [Text])
- removeTagsFromVault_accountId :: Lens' RemoveTagsFromVault Text
- removeTagsFromVault_vaultName :: Lens' RemoveTagsFromVault Text
- data RemoveTagsFromVaultResponse = RemoveTagsFromVaultResponse' {
- newRemoveTagsFromVaultResponse :: RemoveTagsFromVaultResponse
Creating a Request
data RemoveTagsFromVault Source #
The input value for RemoveTagsFromVaultInput
.
See: newRemoveTagsFromVault
smart constructor.
RemoveTagsFromVault' | |
|
Instances
newRemoveTagsFromVault Source #
:: Text | |
-> Text | |
-> RemoveTagsFromVault |
Create a value of RemoveTagsFromVault
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tagKeys:RemoveTagsFromVault'
, removeTagsFromVault_tagKeys
- A list of tag keys. Each corresponding tag is removed from the vault.
$sel:accountId:RemoveTagsFromVault'
, removeTagsFromVault_accountId
- 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 S3 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.
$sel:vaultName:RemoveTagsFromVault'
, removeTagsFromVault_vaultName
- The name of the vault.
Request Lenses
removeTagsFromVault_tagKeys :: Lens' RemoveTagsFromVault (Maybe [Text]) Source #
A list of tag keys. Each corresponding tag is removed from the vault.
removeTagsFromVault_accountId :: Lens' RemoveTagsFromVault 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 S3 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.
removeTagsFromVault_vaultName :: Lens' RemoveTagsFromVault Text Source #
The name of the vault.
Destructuring the Response
data RemoveTagsFromVaultResponse Source #
See: newRemoveTagsFromVaultResponse
smart constructor.
Instances
newRemoveTagsFromVaultResponse :: RemoveTagsFromVaultResponse Source #
Create a value of RemoveTagsFromVaultResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.