Skip to content

ListPendingMaintenanceActions

Source: src/AWS/DocDBElastic/ListPendingMaintenanceActions.ts

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

Lists pending maintenance (e.g. engine updates) across every elastic cluster in the account — feed it into an ops dashboard or a maintenance scheduler. Provide the implementation with Effect.provide(AWS.DocDBElastic.ListPendingMaintenanceActionsHttp).

const listPending = yield* DocDBElastic.ListPendingMaintenanceActions();
const page = yield* listPending();
for (const action of page.resourcePendingMaintenanceActions ?? []) {
yield* Effect.logInfo(action.resourceArn ?? "");
}