Values.RestoreTableToPointInTimeInputSourceRestores 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: Global secondary indexes (GSIs) Local secondary indexes (LSIs) Provisioned read and write capacity 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: Auto scaling policies IAM policies Amazon CloudWatch metrics and alarms Tags Stream settings Time to Live (TTL) settings Point in time recovery settings
type nonrec t = {sourceTableArn : TableArn.t option;The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).
*)sourceTableName : TableName.t option;Name of the source table that is being restored.
*)targetTableName : TableName.t;The name of the new table to which it must be restored to.
*)useLatestRestorableTime : BooleanObject.t option;Restore the table to the latest possible time. LatestRestorableDateTime is typically 5 minutes before the current time.
*)restoreDateTime : Date.t option;Time in the past to restore the table to.
*)billingModeOverride : BillingMode.t option;The billing mode of the restored table.
*)globalSecondaryIndexOverride : GlobalSecondaryIndexList.t option;List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.
*)localSecondaryIndexOverride : LocalSecondaryIndexList.t option;List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.
*)provisionedThroughputOverride : ProvisionedThroughput.t option;Provisioned throughput settings for the restored table.
*)onDemandThroughputOverride : OnDemandThroughput.t option;sSESpecificationOverride : SSESpecification.t option;The new server-side encryption settings for the restored table.
*)}val make :
?sourceTableArn:??? ->
?sourceTableName:??? ->
?useLatestRestorableTime:??? ->
?restoreDateTime:??? ->
?billingModeOverride:??? ->
?globalSecondaryIndexOverride:??? ->
?localSecondaryIndexOverride:??? ->
?provisionedThroughputOverride:??? ->
?onDemandThroughputOverride:??? ->
?sSESpecificationOverride:??? ->
targetTableName:TableName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of BooleanObject.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `String of KeySchemaAttributeName.t ])
list ]
list
| `String of IndexName.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `String of NonKeyAttributeName.t ] list
| `Long of PositiveLongObject.t ])
list ])
list ]
list
| `String of TableArn.t
| `Structure of
(string
* [> `Boolean of SSEEnabled.t
| `Enum of string
| `Long of PositiveLongObject.t
| `String of KMSMasterKeyId.t ])
list
| `Timestamp of Date.t ])
list ]