Smaws_Client_DynamoDB.UpdateContinuousBackups
val request :
Smaws_Lib.Context.t ->
update_continuous_backups_input ->
(update_continuous_backups_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ContinuousBackupsUnavailableException of
continuous_backups_unavailable_exception
| `InternalServerError of internal_server_error
| `InvalidEndpointException of invalid_endpoint_exception
| `TableNotFoundException of table_not_found_exception ])
Stdlib.result
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.