Skip to content

GetPendingMaintenanceAction

Source: src/AWS/DocDBElastic/GetPendingMaintenanceAction.ts

Runtime binding for the GetPendingMaintenanceAction operation (IAM action docdb-elastic:GetPendingMaintenanceAction).

Reads the pending maintenance actions for one resource (a cluster ARN) — the action name, opt-in status, and apply dates. Provide the implementation with Effect.provide(AWS.DocDBElastic.GetPendingMaintenanceActionHttp).

const getPending = yield* DocDBElastic.GetPendingMaintenanceAction();
const result = yield* getPending({ resourceArn: cluster.clusterArn });
// result.resourcePendingMaintenanceAction.pendingMaintenanceActionDetails