Smaws_Client_DynamoDB.RestoreTableToPointInTime
Restores the specified table to the specified point in time within EarliestRestorableDateTime
and LatestRestorableDateTime
. You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days. Any number of users can execute up to 50 concurrent restores (any type of restore) in a given account.
When you restore using point in time recovery, DynamoDB restores your table data to the state based on the selected date and time (day:hour:minute:second) to a new table.
Along with data, the following are also included on the new restored table using point in time recovery:
Encryption settings
All these settings come from the current settings of the source table at the time of restore.
You must manually set up the following on the restored table:
val request :
Smaws_Lib.Context.t ->
Types.restore_table_to_point_in_time_input ->
(Types.restore_table_to_point_in_time_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidEndpointException of Types.invalid_endpoint_exception
| `InvalidRestoreTimeException of Types.invalid_restore_time_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `PointInTimeRecoveryUnavailableException of
Types.point_in_time_recovery_unavailable_exception
| `TableAlreadyExistsException of Types.table_already_exists_exception
| `TableInUseException of Types.table_in_use_exception
| `TableNotFoundException of Types.table_not_found_exception ])
Stdlib.result