We are excited to announce our new API Documentation.
Protected
Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.
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 importconst 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",// },// };
RejectInboundConnectionCommandInput
RejectInboundConnectionCommandOutput
input
response
config
DisabledOperationException (client fault)
An error occured because the client wanted to access an unsupported operation.
ResourceNotFoundException (client fault)
An exception for accessing or deleting a resource that doesn't exist.
OpenSearchServiceException
Base exception class for all service exceptions from OpenSearch service.
Readonly
Static
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.
Param
RejectInboundConnectionCommandInput
Returns
RejectInboundConnectionCommandOutput
See
input
shape.response
shape.config
shape.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.