ApplyPendingMaintenanceAction
Source:
src/AWS/DocDBElastic/ApplyPendingMaintenanceAction.ts
Runtime binding for the ApplyPendingMaintenanceAction operation (IAM
action docdb-elastic:ApplyPendingMaintenanceAction).
Opts a resource in to (or out of) a pending maintenance action — apply an
engine update immediately, at the next maintenance window, or undo an
earlier opt-in. Provide the implementation with
Effect.provide(AWS.DocDBElastic.ApplyPendingMaintenanceActionHttp).
Scheduling Maintenance
Section titled “Scheduling Maintenance”const applyPending = yield* DocDBElastic.ApplyPendingMaintenanceAction();
yield* applyPending({ resourceArn: cluster.clusterArn, applyAction: "ENGINE_UPDATE", optInType: "NEXT_MAINTENANCE",});