OpenSearchService / Client / reject_inbound_connection

reject_inbound_connection#

OpenSearchService.Client.reject_inbound_connection(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.reject_inbound_connection(
    ConnectionId='string'
)
Parameters:

ConnectionId (string) –

[REQUIRED]

The unique identifier of the inbound connection to reject.

Return type:

dict

Returns:

Response Syntax

{
    'Connection': {
        'LocalDomainInfo': {
            'AWSDomainInformation': {
                'OwnerId': 'string',
                'DomainName': 'string',
                'Region': 'string'
            }
        },
        'RemoteDomainInfo': {
            'AWSDomainInformation': {
                'OwnerId': 'string',
                'DomainName': 'string',
                'Region': 'string'
            }
        },
        'ConnectionId': 'string',
        'ConnectionStatus': {
            'StatusCode': 'PENDING_ACCEPTANCE'|'APPROVED'|'PROVISIONING'|'ACTIVE'|'REJECTING'|'REJECTED'|'DELETING'|'DELETED',
            'Message': 'string'
        },
        'ConnectionMode': 'DIRECT'|'VPC_ENDPOINT'
    }
}

Response Structure

  • (dict) –

    Represents the output of a RejectInboundConnection operation.

    • Connection (dict) –

      Contains details about the rejected inbound connection.

      • LocalDomainInfo (dict) –

        Information about the source (local) domain.

        • AWSDomainInformation (dict) –

          Information about an Amazon OpenSearch Service domain.

          • OwnerId (string) –

            The Amazon Web Services account ID of the domain owner.

          • DomainName (string) –

            Name of the domain.

          • Region (string) –

            The Amazon Web Services Region in which the domain is located.

      • RemoteDomainInfo (dict) –

        Information about the destination (remote) domain.

        • AWSDomainInformation (dict) –

          Information about an Amazon OpenSearch Service domain.

          • OwnerId (string) –

            The Amazon Web Services account ID of the domain owner.

          • DomainName (string) –

            Name of the domain.

          • Region (string) –

            The Amazon Web Services Region in which the domain is located.

      • ConnectionId (string) –

        The unique identifier of the connection.

      • ConnectionStatus (dict) –

        The current status of the connection.

        • StatusCode (string) –

          The status code for the connection. Can be one of the following:

          • PENDING_ACCEPTANCE - Inbound connection is not yet accepted by the remote domain owner.

          • APPROVED: Inbound connection is pending acceptance by the remote domain owner.

          • PROVISIONING: Inbound connection is being provisioned.

          • ACTIVE: Inbound connection is active and ready to use.

          • REJECTING: Inbound connection rejection is in process.

          • REJECTED: Inbound connection is rejected.

          • DELETING: Inbound connection deletion is in progress.

          • DELETED: Inbound connection is deleted and can no longer be used.

        • Message (string) –

          Information about the connection.

      • ConnectionMode (string) –

        The connection mode.

Exceptions