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 |
UpdateContinuousBackups
enables or disables point in time recovery for
the specified table. A successful UpdateContinuousBackups
call returns
the current ContinuousBackupsDescription
. Continuous backups are
ENABLED
on all tables at table creation. If point in time recovery is
enabled, PointInTimeRecoveryStatus
will be set to ENABLED.
Once 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.
Synopsis
- data UpdateContinuousBackups = UpdateContinuousBackups' {}
- newUpdateContinuousBackups :: Text -> PointInTimeRecoverySpecification -> UpdateContinuousBackups
- updateContinuousBackups_tableName :: Lens' UpdateContinuousBackups Text
- updateContinuousBackups_pointInTimeRecoverySpecification :: Lens' UpdateContinuousBackups PointInTimeRecoverySpecification
- data UpdateContinuousBackupsResponse = UpdateContinuousBackupsResponse' {}
- newUpdateContinuousBackupsResponse :: Int -> UpdateContinuousBackupsResponse
- updateContinuousBackupsResponse_continuousBackupsDescription :: Lens' UpdateContinuousBackupsResponse (Maybe ContinuousBackupsDescription)
- updateContinuousBackupsResponse_httpStatus :: Lens' UpdateContinuousBackupsResponse Int
Creating a Request
data UpdateContinuousBackups Source #
See: newUpdateContinuousBackups
smart constructor.
UpdateContinuousBackups' | |
|
Instances
newUpdateContinuousBackups Source #
:: Text | |
-> PointInTimeRecoverySpecification |
|
-> UpdateContinuousBackups |
Create a value of UpdateContinuousBackups
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:UpdateContinuousBackups'
, updateContinuousBackups_tableName
- The name of the table.
$sel:pointInTimeRecoverySpecification:UpdateContinuousBackups'
, updateContinuousBackups_pointInTimeRecoverySpecification
- Represents the settings used to enable point in time recovery.
Request Lenses
updateContinuousBackups_tableName :: Lens' UpdateContinuousBackups Text Source #
The name of the table.
updateContinuousBackups_pointInTimeRecoverySpecification :: Lens' UpdateContinuousBackups PointInTimeRecoverySpecification Source #
Represents the settings used to enable point in time recovery.
Destructuring the Response
data UpdateContinuousBackupsResponse Source #
See: newUpdateContinuousBackupsResponse
smart constructor.
UpdateContinuousBackupsResponse' | |
|
Instances
newUpdateContinuousBackupsResponse Source #
Create a value of UpdateContinuousBackupsResponse
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:UpdateContinuousBackupsResponse'
, updateContinuousBackupsResponse_continuousBackupsDescription
- Represents the continuous backups and point in time recovery settings on
the table.
$sel:httpStatus:UpdateContinuousBackupsResponse'
, updateContinuousBackupsResponse_httpStatus
- The response's http status code.
Response Lenses
updateContinuousBackupsResponse_continuousBackupsDescription :: Lens' UpdateContinuousBackupsResponse (Maybe ContinuousBackupsDescription) Source #
Represents the continuous backups and point in time recovery settings on the table.
updateContinuousBackupsResponse_httpStatus :: Lens' UpdateContinuousBackupsResponse Int Source #
The response's http status code.