Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class RejectInboundConnectionCommandProtected

Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.

Example

Use a bare-bones client and the command you need to make an API call.

import { OpenSearchClient, RejectInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
// const { OpenSearchClient, RejectInboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
const client = new OpenSearchClient(config);
const input = { // RejectInboundConnectionRequest
ConnectionId: "STRING_VALUE", // required
};
const command = new RejectInboundConnectionCommand(input);
const response = await client.send(command);
// { // RejectInboundConnectionResponse
// 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

RejectInboundConnectionCommandInput

Returns

RejectInboundConnectionCommandOutput

See

Throws

DisabledOperationException (client fault)

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

Throws

ResourceNotFoundException (client fault)

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

Throws

OpenSearchServiceException

Base exception class for all service exceptions from OpenSearch service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods