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 |
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.
Instances
newDescribeContinuousBackups Source #
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:
$sel:tableName: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.
DescribeContinuousBackupsResponse' | |
|
Instances
Eq DescribeContinuousBackupsResponse Source # | |
Read DescribeContinuousBackupsResponse Source # | |
Show DescribeContinuousBackupsResponse Source # | |
Generic DescribeContinuousBackupsResponse Source # | |
NFData DescribeContinuousBackupsResponse Source # | |
Defined in Amazonka.DynamoDB.DescribeContinuousBackups rnf :: DescribeContinuousBackupsResponse -> () # | |
type Rep DescribeContinuousBackupsResponse Source # | |
Defined in Amazonka.DynamoDB.DescribeContinuousBackups type Rep DescribeContinuousBackupsResponse = D1 ('MetaData "DescribeContinuousBackupsResponse" "Amazonka.DynamoDB.DescribeContinuousBackups" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "DescribeContinuousBackupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "continuousBackupsDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContinuousBackupsDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeContinuousBackupsResponse Source #
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.