import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AcceptInboundConnectionRequest, AcceptInboundConnectionResponse } from "../models/models_0"; import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link AcceptInboundConnectionCommand}. */ export interface AcceptInboundConnectionCommandInput extends AcceptInboundConnectionRequest { } /** * @public * * The output of {@link AcceptInboundConnectionCommand}. */ export interface AcceptInboundConnectionCommandOutput extends AcceptInboundConnectionResponse, __MetadataBearer { } declare const AcceptInboundConnectionCommand_base: { new (input: AcceptInboundConnectionCommandInput): import("@smithy/core/client").CommandImpl; new (input: AcceptInboundConnectionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Allows the destination Amazon OpenSearch Service domain owner to accept an inbound * cross-cluster search connection request. 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, AcceptInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import * // const { OpenSearchClient, AcceptInboundConnectionCommand } = 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 = { // AcceptInboundConnectionRequest * ConnectionId: "STRING_VALUE", // required * }; * const command = new AcceptInboundConnectionCommand(input); * const response = await client.send(command); * // { // AcceptInboundConnectionResponse * // Connection: { // InboundConnection * // 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", * // ConnectionStatus: { // InboundConnectionStatus * // StatusCode: "PENDING_ACCEPTANCE" || "APPROVED" || "PROVISIONING" || "ACTIVE" || "REJECTING" || "REJECTED" || "DELETING" || "DELETED", * // Message: "STRING_VALUE", * // }, * // ConnectionMode: "DIRECT" || "VPC_ENDPOINT", * // }, * // }; * * ``` * * @param AcceptInboundConnectionCommandInput - {@link AcceptInboundConnectionCommandInput} * @returns {@link AcceptInboundConnectionCommandOutput} * @see {@link AcceptInboundConnectionCommandInput} for command's `input` shape. * @see {@link AcceptInboundConnectionCommandOutput} 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 LimitExceededException} (client fault) *

An exception for trying to create more than the allowed number of resources or sub-resources.

* * @throws {@link ResourceNotFoundException} (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 AcceptInboundConnectionCommand extends AcceptInboundConnectionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AcceptInboundConnectionRequest; output: AcceptInboundConnectionResponse; }; sdk: { input: AcceptInboundConnectionCommandInput; output: AcceptInboundConnectionCommandOutput; }; }; }