Skip to content

ListDomainNames

Source: src/AWS/OpenSearch/ListDomainNames.ts

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

Lists the names and engine types of all domains the account owns in the active Region — the entry point for fleet-wide monitoring. Provide the implementation with Effect.provide(AWS.OpenSearch.ListDomainNamesHttp).

const listDomainNames = yield* OpenSearch.ListDomainNames();
const result = yield* listDomainNames();
// result.DomainNames → [{ DomainName, EngineType }, …]