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'
)
[REQUIRED]
The unique identifier of the inbound connection to reject.
{
'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
Represents the output of a RejectInboundConnection
operation.
Contains details about the rejected inbound connection.
Information about the source (local) domain.
Information about an Amazon OpenSearch Service domain.
The Amazon Web Services account ID of the domain owner.
Name of the domain.
The Amazon Web Services Region in which the domain is located.
Information about the destination (remote) domain.
Information about an Amazon OpenSearch Service domain.
The Amazon Web Services account ID of the domain owner.
Name of the domain.
The Amazon Web Services Region in which the domain is located.
The unique identifier of the connection.
The current status of the connection.
The status code for the connection. Can be one of the following:
Information about the connection.
The connection mode.
Exceptions
OpenSearchService.Client.exceptions.ResourceNotFoundException
OpenSearchService.Client.exceptions.DisabledOperationException