CopyDBSnapshot
Source:
src/AWS/RDS/CopyDBSnapshot.ts
Runtime binding for the CopyDBSnapshot operation (IAM actions
rds:CopyDBSnapshot +
rds:AddTagsToResource).
Copies a DB instance snapshot (e.g. to archive it under a new
identifier or re-encrypt with a different KMS key). Provide the implementation with
Effect.provide(AWS.RDS.CopyDBSnapshotHttp).
Managing Instance Snapshots
Section titled “Managing Instance Snapshots”const copyDBSnapshot = yield* AWS.RDS.CopyDBSnapshot();
yield* copyDBSnapshot({ SourceDBSnapshotIdentifier: snapshotId, TargetDBSnapshotIdentifier: `archive-${snapshotId}`,});