Skip to content

StartServiceSoftwareUpdate

Source: src/AWS/OpenSearch/StartServiceSoftwareUpdate.ts

Runtime binding for the StartServiceSoftwareUpdate operation (IAM action es:StartServiceSoftwareUpdate).

Schedules a service software update for a domain — immediately, at a timestamp, or in the domain’s off-peak window — e.g. rolling out a pending security patch fleet-wide. Provide the implementation with Effect.provide(AWS.OpenSearch.StartServiceSoftwareUpdateHttp).

const startServiceSoftwareUpdate = yield* OpenSearch.StartServiceSoftwareUpdate();
const result = yield* startServiceSoftwareUpdate({ DomainName: name });
// result.ServiceSoftwareOptions?.UpdateStatus → "PENDING_UPDATE"