Skip to content

ApplyPendingMaintenanceAction

Source: src/AWS/Neptune/ApplyPendingMaintenanceAction.ts

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

Opts a Neptune resource (by ARN) into a pending maintenance action — e.g. apply an engine patch during the next maintenance window, or immediately. Provide the implementation with Effect.provide(AWS.Neptune.ApplyPendingMaintenanceActionHttp).

const applyPendingMaintenanceAction =
yield* AWS.Neptune.ApplyPendingMaintenanceAction();
yield* applyPendingMaintenanceAction({
ResourceIdentifier: clusterArn,
ApplyAction: "system-update",
OptInType: "next-maintenance",
});