UpdateSnapshot
Source:
src/AWS/RedshiftServerless/UpdateSnapshot.ts
Runtime binding for the UpdateSnapshot operation (IAM actions
redshift-serverless:UpdateSnapshot).
Changes a snapshot’s retention period — e.g. extending retention on a
snapshot that an audit flagged for preservation. Provide the implementation with
Effect.provide(AWS.RedshiftServerless.UpdateSnapshotHttp).
Managing Snapshots
Section titled “Managing Snapshots”// init — resolve the runtime clientconst updateSnapshot = yield* AWS.RedshiftServerless.UpdateSnapshot();
yield* updateSnapshot({ snapshotName: "pre-migration-1", retentionPeriod: 30 });