Skip to content

StopDBInstance

Source: src/AWS/RDS/StopDBInstance.ts

Runtime binding for the StopDBInstance operation (IAM action rds:StopDBInstance).

Stops the bound DBInstance — e.g. an ops function that parks a development database overnight to save cost. The instance identifier is injected from the binding. Provide the implementation with Effect.provide(AWS.RDS.StopDBInstanceHttp).

// init — bind the operation to the instance
const stopDBInstance = yield* AWS.RDS.StopDBInstance(instance);
// runtime
yield* stopDBInstance();