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 deletes the access policy associated with the specified vault. The operation is eventually consistent; that is, it might take some time for Amazon S3 Glacier to completely remove the access policy, and you might still see the effect of the policy for a short time after you send the delete request.
This operation is idempotent. You can invoke delete multiple times, even if there is no policy associated with the vault. For more information about vault access policies, see Amazon Glacier Access Control with Vault Access Policies.
Synopsis
- data DeleteVaultAccessPolicy = DeleteVaultAccessPolicy' {}
- newDeleteVaultAccessPolicy :: Text -> Text -> DeleteVaultAccessPolicy
- deleteVaultAccessPolicy_accountId :: Lens' DeleteVaultAccessPolicy Text
- deleteVaultAccessPolicy_vaultName :: Lens' DeleteVaultAccessPolicy Text
- data DeleteVaultAccessPolicyResponse = DeleteVaultAccessPolicyResponse' {
- newDeleteVaultAccessPolicyResponse :: DeleteVaultAccessPolicyResponse
Creating a Request
data DeleteVaultAccessPolicy Source #
DeleteVaultAccessPolicy input.
See: newDeleteVaultAccessPolicy
smart constructor.
DeleteVaultAccessPolicy' | |
|
Instances
newDeleteVaultAccessPolicy Source #
:: Text | |
-> Text | |
-> DeleteVaultAccessPolicy |
Create a value of DeleteVaultAccessPolicy
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:accountId:DeleteVaultAccessPolicy'
, deleteVaultAccessPolicy_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:DeleteVaultAccessPolicy'
, deleteVaultAccessPolicy_vaultName
- The name of the vault.
Request Lenses
deleteVaultAccessPolicy_accountId :: Lens' DeleteVaultAccessPolicy 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.
deleteVaultAccessPolicy_vaultName :: Lens' DeleteVaultAccessPolicy Text Source #
The name of the vault.
Destructuring the Response
data DeleteVaultAccessPolicyResponse Source #
See: newDeleteVaultAccessPolicyResponse
smart constructor.
Instances
newDeleteVaultAccessPolicyResponse :: DeleteVaultAccessPolicyResponse Source #
Create a value of DeleteVaultAccessPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.