DescribeInboundConnections - Amazon OpenSearch Service

DescribeInboundConnections

Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.

Request Syntax

POST /2021-01-01/opensearch/cc/inboundConnection/search HTTP/1.1 Content-type: application/json { "Filters": [ { "Name": "string", "Values": [ "string" ] } ], "MaxResults": number, "NextToken": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

Filters

A list of filters used to match properties for inbound cross-cluster connections.

Type: Array of Filter objects

Required: No

MaxResults

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

Type: Integer

Valid Range: Maximum value of 100.

Required: No

NextToken

If your initial DescribeInboundConnections operation returns a nextToken, you can include the returned nextToken in subsequent DescribeInboundConnections operations, which returns results in the next page.

Type: String

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Connections": [ { "ConnectionId": "string", "ConnectionMode": "string", "ConnectionStatus": { "Message": "string", "StatusCode": "string" }, "LocalDomainInfo": { "AWSDomainInformation": { "DomainName": "string", "OwnerId": "string", "Region": "string" } }, "RemoteDomainInfo": { "AWSDomainInformation": { "DomainName": "string", "OwnerId": "string", "Region": "string" } } } ], "NextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Connections

List of inbound connections.

Type: Array of InboundConnection objects

NextToken

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

DisabledOperationException

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

HTTP Status Code: 409

InvalidPaginationTokenException

Request processing failed because you provided an invalid pagination token.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: