import type * as neptune from "@distilled.cloud/aws/neptune"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.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)`. * ### Maintenance * **Example:** Apply Maintenance at the Next Window * ```typescript * const applyPendingMaintenanceAction = * yield* AWS.Neptune.ApplyPendingMaintenanceAction(); * * yield* applyPendingMaintenanceAction({ * ResourceIdentifier: clusterArn, * ApplyAction: "system-update", * OptInType: "next-maintenance", * }); * ``` * * @binding */ export interface ApplyPendingMaintenanceAction extends Binding.Service< ApplyPendingMaintenanceAction, "AWS.Neptune.ApplyPendingMaintenanceAction", () => Effect.Effect< ( request?: neptune.ApplyPendingMaintenanceActionMessage, ) => Effect.Effect< neptune.ApplyPendingMaintenanceActionResult, neptune.ApplyPendingMaintenanceActionError > > > {} export const ApplyPendingMaintenanceAction = Binding.Service( "AWS.Neptune.ApplyPendingMaintenanceAction", );