import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListDomainNamesRequest, ListDomainNamesResponse } from "../models/models_0"; import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDomainNamesCommand}. */ export interface ListDomainNamesCommandInput extends ListDomainNamesRequest { } /** * @public * * The output of {@link ListDomainNamesCommand}. */ export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, __MetadataBearer { } declare const ListDomainNamesCommand_base: { new (input: ListDomainNamesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListDomainNamesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns the names of all Amazon OpenSearch Service domains owned by the current user * in the active Region.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchClient, ListDomainNamesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import * // const { OpenSearchClient, ListDomainNamesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import * // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch"; * const config = {}; // type is OpenSearchClientConfig * const client = new OpenSearchClient(config); * const input = { // ListDomainNamesRequest * EngineType: "OpenSearch" || "Elasticsearch", * }; * const command = new ListDomainNamesCommand(input); * const response = await client.send(command); * // { // ListDomainNamesResponse * // DomainNames: [ // DomainInfoList * // { // DomainInfo * // DomainName: "STRING_VALUE", * // EngineType: "OpenSearch" || "Elasticsearch", * // }, * // ], * // }; * * ``` * * @param ListDomainNamesCommandInput - {@link ListDomainNamesCommandInput} * @returns {@link ListDomainNamesCommandOutput} * @see {@link ListDomainNamesCommandInput} for command's `input` shape. * @see {@link ListDomainNamesCommandOutput} for command's `response` shape. * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape. * * @throws {@link BaseException} (client fault) *

An error occurred while processing the request.

* * @throws {@link ValidationException} (client fault) *

An exception for accessing or deleting a resource that doesn't exist.

* * @throws {@link OpenSearchServiceException} *

Base exception class for all service exceptions from OpenSearch service.

* * * @public */ export declare class ListDomainNamesCommand extends ListDomainNamesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDomainNamesRequest; output: ListDomainNamesResponse; }; sdk: { input: ListDomainNamesCommandInput; output: ListDomainNamesCommandOutput; }; }; }