| 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.DescribeBackup
Description
Describes an existing backup of a table.
You can call DescribeBackup at a maximum rate of 10 times per second.
Synopsis
- data DescribeBackup = DescribeBackup' {}
- newDescribeBackup :: Text -> DescribeBackup
- describeBackup_backupArn :: Lens' DescribeBackup Text
- data DescribeBackupResponse = DescribeBackupResponse' {}
- newDescribeBackupResponse :: Int -> DescribeBackupResponse
- describeBackupResponse_backupDescription :: Lens' DescribeBackupResponse (Maybe BackupDescription)
- describeBackupResponse_httpStatus :: Lens' DescribeBackupResponse Int
Creating a Request
data DescribeBackup Source #
See: newDescribeBackup smart constructor.
Constructors
| DescribeBackup' | |
Instances
Arguments
| :: Text | |
| -> DescribeBackup |
Create a value of DescribeBackup 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:
DescribeBackup, describeBackup_backupArn - The Amazon Resource Name (ARN) associated with the backup.
Request Lenses
describeBackup_backupArn :: Lens' DescribeBackup Text Source #
The Amazon Resource Name (ARN) associated with the backup.
Destructuring the Response
data DescribeBackupResponse Source #
See: newDescribeBackupResponse smart constructor.
Constructors
| DescribeBackupResponse' | |
Fields
| |
Instances
newDescribeBackupResponse Source #
Create a value of DescribeBackupResponse 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:DescribeBackupResponse', describeBackupResponse_backupDescription - Contains the description of the backup created for the table.
$sel:httpStatus:DescribeBackupResponse', describeBackupResponse_httpStatus - The response's http status code.
Response Lenses
describeBackupResponse_backupDescription :: Lens' DescribeBackupResponse (Maybe BackupDescription) Source #
Contains the description of the backup created for the table.
describeBackupResponse_httpStatus :: Lens' DescribeBackupResponse Int Source #
The response's http status code.