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

Lists all the outbound cross-cluster connections for a local (source) Amazon * OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchClient, DescribeOutboundConnectionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import * // const { OpenSearchClient, DescribeOutboundConnectionsCommand } = 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 = { // DescribeOutboundConnectionsRequest * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", * Values: [ // ValueStringList * "STRING_VALUE", * ], * }, * ], * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeOutboundConnectionsCommand(input); * const response = await client.send(command); * // { // DescribeOutboundConnectionsResponse * // Connections: [ // OutboundConnections * // { // OutboundConnection * // LocalDomainInfo: { // DomainInformationContainer * // AWSDomainInformation: { // AWSDomainInformation * // OwnerId: "STRING_VALUE", * // DomainName: "STRING_VALUE", // required * // Region: "STRING_VALUE", * // }, * // }, * // RemoteDomainInfo: { * // AWSDomainInformation: { * // OwnerId: "STRING_VALUE", * // DomainName: "STRING_VALUE", // required * // Region: "STRING_VALUE", * // }, * // }, * // ConnectionId: "STRING_VALUE", * // ConnectionAlias: "STRING_VALUE", * // ConnectionStatus: { // OutboundConnectionStatus * // StatusCode: "VALIDATING" || "VALIDATION_FAILED" || "PENDING_ACCEPTANCE" || "APPROVED" || "PROVISIONING" || "ACTIVE" || "REJECTING" || "REJECTED" || "DELETING" || "DELETED", * // Message: "STRING_VALUE", * // }, * // ConnectionMode: "DIRECT" || "VPC_ENDPOINT", * // ConnectionProperties: { // ConnectionProperties * // Endpoint: "STRING_VALUE", * // CrossClusterSearch: { // CrossClusterSearchConnectionProperties * // SkipUnavailable: "ENABLED" || "DISABLED", * // }, * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeOutboundConnectionsCommandInput - {@link DescribeOutboundConnectionsCommandInput} * @returns {@link DescribeOutboundConnectionsCommandOutput} * @see {@link DescribeOutboundConnectionsCommandInput} for command's `input` shape. * @see {@link DescribeOutboundConnectionsCommandOutput} for command's `response` shape. * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape. * * @throws {@link DisabledOperationException} (client fault) *

An error occured because the client wanted to access an unsupported operation.

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

Request processing failed because you provided an invalid pagination token.

* * @throws {@link OpenSearchServiceException} *

Base exception class for all service exceptions from OpenSearch service.

* * * @public */ export declare class DescribeOutboundConnectionsCommand extends DescribeOutboundConnectionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeOutboundConnectionsRequest; output: DescribeOutboundConnectionsResponse; }; sdk: { input: DescribeOutboundConnectionsCommandInput; output: DescribeOutboundConnectionsCommandOutput; }; }; }