| 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.DescribeContinuousBackups
Description
Checks the status of continuous backups and point in time recovery on
the specified table. Continuous backups are ENABLED on all tables at
table creation. If point in time recovery is enabled,
PointInTimeRecoveryStatus will be set to ENABLED.
After continuous backups and point in time recovery are enabled, you can
restore to any point in time within EarliestRestorableDateTime and
LatestRestorableDateTime.
LatestRestorableDateTime is typically 5 minutes before the current
time. You can restore your table to any point in time during the last 35
days.
You can call DescribeContinuousBackups at a maximum rate of 10 times
per second.
Synopsis
- data DescribeContinuousBackups = DescribeContinuousBackups' {}
- newDescribeContinuousBackups :: Text -> DescribeContinuousBackups
- describeContinuousBackups_tableName :: Lens' DescribeContinuousBackups Text
- data DescribeContinuousBackupsResponse = DescribeContinuousBackupsResponse' {}
- newDescribeContinuousBackupsResponse :: Int -> DescribeContinuousBackupsResponse
- describeContinuousBackupsResponse_continuousBackupsDescription :: Lens' DescribeContinuousBackupsResponse (Maybe ContinuousBackupsDescription)
- describeContinuousBackupsResponse_httpStatus :: Lens' DescribeContinuousBackupsResponse Int
Creating a Request
data DescribeContinuousBackups Source #
See: newDescribeContinuousBackups smart constructor.
Constructors
| DescribeContinuousBackups' | |
Instances
newDescribeContinuousBackups Source #
Arguments
| :: Text | |
| -> DescribeContinuousBackups |
Create a value of DescribeContinuousBackups 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:
DescribeContinuousBackups, describeContinuousBackups_tableName - Name of the table for which the customer wants to check the continuous
backups and point in time recovery settings.
Request Lenses
describeContinuousBackups_tableName :: Lens' DescribeContinuousBackups Text Source #
Name of the table for which the customer wants to check the continuous backups and point in time recovery settings.
Destructuring the Response
data DescribeContinuousBackupsResponse Source #
See: newDescribeContinuousBackupsResponse smart constructor.
Constructors
| DescribeContinuousBackupsResponse' | |
Fields
| |
Instances
newDescribeContinuousBackupsResponse Source #
Arguments
| :: Int | |
| -> DescribeContinuousBackupsResponse |
Create a value of DescribeContinuousBackupsResponse 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:continuousBackupsDescription:DescribeContinuousBackupsResponse', describeContinuousBackupsResponse_continuousBackupsDescription - Represents the continuous backups and point in time recovery settings on
the table.
$sel:httpStatus:DescribeContinuousBackupsResponse', describeContinuousBackupsResponse_httpStatus - The response's http status code.
Response Lenses
describeContinuousBackupsResponse_continuousBackupsDescription :: Lens' DescribeContinuousBackupsResponse (Maybe ContinuousBackupsDescription) Source #
Represents the continuous backups and point in time recovery settings on the table.
describeContinuousBackupsResponse_httpStatus :: Lens' DescribeContinuousBackupsResponse Int Source #
The response's http status code.