| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DynamoDB.DeleteBackup
Description
Deletes an existing backup of a table.
You can call DeleteBackup at a maximum rate of 10 times per second.
Synopsis
- data DeleteBackup = DeleteBackup' {}
- newDeleteBackup :: Text -> DeleteBackup
- deleteBackup_backupArn :: Lens' DeleteBackup Text
- data DeleteBackupResponse = DeleteBackupResponse' {}
- newDeleteBackupResponse :: Int -> DeleteBackupResponse
- deleteBackupResponse_backupDescription :: Lens' DeleteBackupResponse (Maybe BackupDescription)
- deleteBackupResponse_httpStatus :: Lens' DeleteBackupResponse Int
Creating a Request
data DeleteBackup Source #
See: newDeleteBackup smart constructor.
Constructors
| DeleteBackup' | |
Instances
Arguments
| :: Text | |
| -> DeleteBackup |
Create a value of DeleteBackup 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:
DeleteBackup, deleteBackup_backupArn - The ARN associated with the backup.
Request Lenses
deleteBackup_backupArn :: Lens' DeleteBackup Text Source #
The ARN associated with the backup.
Destructuring the Response
data DeleteBackupResponse Source #
See: newDeleteBackupResponse smart constructor.
Constructors
| DeleteBackupResponse' | |
Fields
| |
Instances
newDeleteBackupResponse Source #
Arguments
| :: Int | |
| -> DeleteBackupResponse |
Create a value of DeleteBackupResponse 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:backupDescription:DeleteBackupResponse', deleteBackupResponse_backupDescription - Contains the description of the backup created for the table.
$sel:httpStatus:DeleteBackupResponse', deleteBackupResponse_httpStatus - The response's http status code.
Response Lenses
deleteBackupResponse_backupDescription :: Lens' DeleteBackupResponse (Maybe BackupDescription) Source #
Contains the description of the backup created for the table.
deleteBackupResponse_httpStatus :: Lens' DeleteBackupResponse Int Source #
The response's http status code.