CreateDBSnapshot
Source:
src/AWS/RDS/CreateDBSnapshot.ts
Runtime binding for the CreateDBSnapshot operation (IAM actions
rds:CreateDBSnapshot +
rds:AddTagsToResource).
Takes a manual snapshot of the bound DBInstance — e.g. a
pre-migration backup function or a scheduled snapshot-rotation job. The
instance identifier is injected from the binding. Provide the implementation with
Effect.provide(AWS.RDS.CreateDBSnapshotHttp).
Managing Instance Snapshots
Section titled “Managing Instance Snapshots”// init — bind the operation to the instanceconst createDBSnapshot = yield* AWS.RDS.CreateDBSnapshot(instance);
// runtimeyield* createDBSnapshot({ DBSnapshotIdentifier: `pre-migration-${runId}`,});