Skip to content

RestoreFromRecoveryPoint

Source: src/AWS/RedshiftServerless/RestoreFromRecoveryPoint.ts

Runtime binding for the RestoreFromRecoveryPoint operation (IAM actions redshift-serverless:RestoreFromRecoveryPoint).

Restores the bound Namespace from an automatic recovery point — point-in-time recovery within the last 24 hours. Provide the implementation with Effect.provide(AWS.RedshiftServerless.RestoreFromRecoveryPointHttp).

// init — resolve the runtime client
const restore = yield* AWS.RedshiftServerless.RestoreFromRecoveryPoint(namespace);
yield* restore({ workgroupName, recoveryPointId });