accept_inbound_connection
(**kwargs)¶Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request. For more information, see Cross-cluster search for Amazon OpenSearch Service.
See also: AWS API Documentation
Request Syntax
response = client.accept_inbound_connection(
ConnectionId='string'
)
[REQUIRED]
The ID of the inbound connection to accept.
{
'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
Contains details about the accepted inbound connection.
Information about the accepted 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.LimitExceededException
OpenSearchService.Client.exceptions.DisabledOperationException