Skip to content

CancelServiceSoftwareUpdate

Source: src/AWS/OpenSearch/CancelServiceSoftwareUpdate.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).

const cancelServiceSoftwareUpdate = yield* OpenSearch.CancelServiceSoftwareUpdate();
const result = yield* cancelServiceSoftwareUpdate({ DomainName: name });
// result.ServiceSoftwareOptions?.UpdateStatus → "NOT_ELIGIBLE" | "ELIGIBLE"