Skip to content

ConvertRecoveryPointToSnapshot

Source: src/AWS/RedshiftServerless/ConvertRecoveryPointToSnapshot.ts

Runtime binding for the ConvertRecoveryPointToSnapshot operation (IAM actions redshift-serverless:ConvertRecoveryPointToSnapshot + redshift-serverless:TagResource).

Converts an automatic recovery point into a manual snapshot so it outlives the 24-hour recovery-point window. Provide the implementation with Effect.provide(AWS.RedshiftServerless.ConvertRecoveryPointToSnapshotHttp).

// init — resolve the runtime client
const convert = yield* AWS.RedshiftServerless.ConvertRecoveryPointToSnapshot();
yield* convert({ recoveryPointId, snapshotName: `preserved-${runId}` });