Skip to content

DescribeDomains

Source: src/AWS/OpenSearch/DescribeDomains.ts

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

Reads the current status of up to five domains in one call — the batch form of DescribeDomain. Provide the implementation with Effect.provide(AWS.OpenSearch.DescribeDomainsHttp).

const describeDomains = yield* OpenSearch.DescribeDomains();
const result = yield* describeDomains({ DomainNames: [a, b] });
// result.DomainStatusList → one status per domain