GetCompatibleVersions
Source:
src/AWS/OpenSearch/GetCompatibleVersions.ts
Runtime binding for the GetCompatibleVersions operation (IAM action
es:GetCompatibleVersions).
Maps engine versions to the versions they can be upgraded to — for one domain (pass DomainName) or for every supported version. Provide the implementation with
Effect.provide(AWS.OpenSearch.GetCompatibleVersionsHttp).
Engine Upgrades
Section titled “Engine Upgrades”const getCompatibleVersions = yield* OpenSearch.GetCompatibleVersions();
const result = yield* getCompatibleVersions({ DomainName: name });// result.CompatibleVersions?.[0]?.TargetVersions → upgrade targets