RestoreTableToPointInTime
Source:
src/AWS/DynamoDB/RestoreTableToPointInTime.ts
Runtime binding for dynamodb:RestoreTableToPointInTime.
Bind this operation to a source and a target Table inside a function
runtime to get a callable that restores the source’s point-in-time backup
into the target, automatically injecting both table identifiers. The source
table must have point-in-time recovery enabled. Provide the
RestoreTableToPointInTimeHttp layer on the Function to satisfy the
binding.
Backup and Restore
Section titled “Backup and Restore”const restore = yield* AWS.DynamoDB.RestoreTableToPointInTime( sourceTable, restoreTargetTable,);
const response = yield* restore({ UseLatestRestorableTime: true,});const status = response.TableDescription?.TableStatus;