Skip to content

DescribeDomainConfig

Source: src/AWS/OpenSearch/DescribeDomainConfig.ts

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

Reads a domain’s full configuration, with per-option status metadata (update date, state, pending values) — the authoritative view of what a blue/green change is converging toward. Provide the implementation with Effect.provide(AWS.OpenSearch.DescribeDomainConfigHttp).

const describeDomainConfig = yield* OpenSearch.DescribeDomainConfig();
const result = yield* describeDomainConfig({ DomainName: name });
// result.DomainConfig.ClusterConfig?.Status.State → "Active"