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 |
Amazonka.Backup.DeleteBackupVault
Description
Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
Creating a Request
data DeleteBackupVault Source #
See: newDeleteBackupVault
smart constructor.
Constructors
DeleteBackupVault' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteBackupVault |
Create a value of DeleteBackupVault
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:backupVaultName:DeleteBackupVault'
, deleteBackupVault_backupVaultName
- The name of a logical container where backups are stored. Backup vaults
are identified by names that are unique to the account used to create
them and the Amazon Web Services Region where they are created. They
consist of lowercase letters, numbers, and hyphens.
Request Lenses
deleteBackupVault_backupVaultName :: Lens' DeleteBackupVault Text Source #
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
Destructuring the Response
data DeleteBackupVaultResponse Source #
See: newDeleteBackupVaultResponse
smart constructor.
Constructors
DeleteBackupVaultResponse' | |
Instances
newDeleteBackupVaultResponse :: DeleteBackupVaultResponse Source #
Create a value of DeleteBackupVaultResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.