RestoreFromSnapshot
Source:
src/AWS/RedshiftServerless/RestoreFromSnapshot.ts
Runtime binding for the RestoreFromSnapshot operation (IAM actions
redshift-serverless:RestoreFromSnapshot).
Restores the bound Namespace from a snapshot — a
disaster-recovery runbook step. The namespace name is injected from the
binding; pass the serving workgroup and the snapshot to restore. Provide the implementation with
Effect.provide(AWS.RedshiftServerless.RestoreFromSnapshotHttp).
Restoring Data
Section titled “Restoring Data”// init — resolve the runtime clientconst restoreFromSnapshot = yield* AWS.RedshiftServerless.RestoreFromSnapshot(namespace);
yield* restoreFromSnapshot({ workgroupName, snapshotName: "pre-migration-1",});