Smaws_Client_DynamoDB.RestoreTableToPointInTime
val request :
Smaws_Lib.Context.t ->
restore_table_to_point_in_time_input ->
(restore_table_to_point_in_time_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of internal_server_error
| `InvalidEndpointException of invalid_endpoint_exception
| `InvalidRestoreTimeException of invalid_restore_time_exception
| `LimitExceededException of limit_exceeded_exception
| `PointInTimeRecoveryUnavailableException of
point_in_time_recovery_unavailable_exception
| `TableAlreadyExistsException of table_already_exists_exception
| `TableInUseException of table_in_use_exception
| `TableNotFoundException of table_not_found_exception ])
Stdlib.result
Restores the specified table to the specified point in time within EarliestRestorableDateTime
and LatestRestorableDateTime
. You can restore your table to any point in time during the last 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: