Copyright | (c) 2013-2017 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 |
This operation deletes the notification configuration set for a vault. The operation is eventually consistent; that is, it might take some time for Amazon Glacier to completely disable the notifications and you might still receive some notifications for a short time after you send the delete request.
An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM) .
For conceptual information and underlying REST API, see Configuring Vault Notifications in Amazon Glacier and Delete Vault Notification Configuration in the Amazon Glacier Developer Guide.
- deleteVaultNotifications :: Text -> Text -> DeleteVaultNotifications
- data DeleteVaultNotifications
- dvnAccountId :: Lens' DeleteVaultNotifications Text
- dvnVaultName :: Lens' DeleteVaultNotifications Text
- deleteVaultNotificationsResponse :: DeleteVaultNotificationsResponse
- data DeleteVaultNotificationsResponse
Creating a Request
deleteVaultNotifications Source #
Creates a value of DeleteVaultNotifications
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvnAccountId
- 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.dvnVaultName
- The name of the vault.
data DeleteVaultNotifications Source #
Provides options for deleting a vault notification configuration from an Amazon Glacier vault.
See: deleteVaultNotifications
smart constructor.
Request Lenses
dvnAccountId :: Lens' DeleteVaultNotifications 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.
dvnVaultName :: Lens' DeleteVaultNotifications Text Source #
The name of the vault.
Destructuring the Response
deleteVaultNotificationsResponse :: DeleteVaultNotificationsResponse Source #
Creates a value of DeleteVaultNotificationsResponse
with the minimum fields required to make a request.
data DeleteVaultNotificationsResponse Source #
See: deleteVaultNotificationsResponse
smart constructor.