import type * as opensearch from "@distilled.cloud/aws/opensearch"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; /** * Runtime binding for the `CancelServiceSoftwareUpdate` operation (IAM action * `es:CancelServiceSoftwareUpdate`). * * Cancels a scheduled service software update — only while the update is in the `PENDING_UPDATE` state. Provide the implementation with * `Effect.provide(AWS.OpenSearch.CancelServiceSoftwareUpdateHttp)`. * ### Service Software Updates * **Example:** Cancel a Pending Update * ```typescript * const cancelServiceSoftwareUpdate = yield* OpenSearch.CancelServiceSoftwareUpdate(); * * const result = yield* cancelServiceSoftwareUpdate({ DomainName: name }); * // result.ServiceSoftwareOptions?.UpdateStatus → "NOT_ELIGIBLE" | "ELIGIBLE" * ``` * * @binding */ export interface CancelServiceSoftwareUpdate extends Binding.Service Effect.Effect<(request: opensearch.CancelServiceSoftwareUpdateRequest) => Effect.Effect>> { } export declare const CancelServiceSoftwareUpdate: CancelServiceSoftwareUpdate; //# sourceMappingURL=CancelServiceSoftwareUpdate.d.ts.map