RestoreTableFromRecoveryPoint
Source:
src/AWS/RedshiftServerless/RestoreTableFromRecoveryPoint.ts
Runtime binding for the RestoreTableFromRecoveryPoint operation (IAM actions
redshift-serverless:RestoreTableFromRecoveryPoint).
Restores a single table from an automatic recovery point into the bound
Namespace under a new name. Provide the implementation with
Effect.provide(AWS.RedshiftServerless.RestoreTableFromRecoveryPointHttp).
Restoring Data
Section titled “Restoring Data”// init — resolve the runtime clientconst restoreTable = yield* AWS.RedshiftServerless.RestoreTableFromRecoveryPoint(namespace);
yield* restoreTable({ workgroupName, recoveryPointId, sourceDatabaseName: "dev", sourceTableName: "orders", newTableName: "orders_restored",});