ElasticsearchService / Client / accept_inbound_cross_cluster_search_connection
accept_inbound_cross_cluster_search_connection#
- ElasticsearchService.Client.accept_inbound_cross_cluster_search_connection(**kwargs)#
Allows the destination domain owner to accept an inbound cross-cluster search connection request.
See also: AWS API Documentation
Request Syntax
response = client.accept_inbound_cross_cluster_search_connection( CrossClusterSearchConnectionId='string' )
- Parameters:
CrossClusterSearchConnectionId (string) –
[REQUIRED]
The id of the inbound connection that you want to accept.
- Return type:
dict
- Returns:
Response Syntax
{ 'CrossClusterSearchConnection': { 'SourceDomainInfo': { 'OwnerId': 'string', 'DomainName': 'string', 'Region': 'string' }, 'DestinationDomainInfo': { 'OwnerId': 'string', 'DomainName': 'string', 'Region': 'string' }, 'CrossClusterSearchConnectionId': 'string', 'ConnectionStatus': { 'StatusCode': 'PENDING_ACCEPTANCE'|'APPROVED'|'REJECTING'|'REJECTED'|'DELETING'|'DELETED', 'Message': 'string' } } }
Response Structure
(dict) –
The result of a
AcceptInboundCrossClusterSearchConnection
operation. Contains details of accepted inbound connection.CrossClusterSearchConnection (dict) –
Specifies the
InboundCrossClusterSearchConnection
of accepted inbound connection.SourceDomainInfo (dict) –
Specifies the
DomainInformation
for the source Elasticsearch domain.OwnerId (string) –
DomainName (string) –
The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
Region (string) –
DestinationDomainInfo (dict) –
Specifies the
DomainInformation
for the destination Elasticsearch domain.OwnerId (string) –
DomainName (string) –
The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
Region (string) –
CrossClusterSearchConnectionId (string) –
Specifies the connection id for the inbound cross-cluster search connection.
ConnectionStatus (dict) –
Specifies the
InboundCrossClusterSearchConnectionStatus
for the outbound connection.StatusCode (string) –
The state code for inbound connection. This can be one of the following:
PENDING_ACCEPTANCE: Inbound connection is not yet accepted by destination domain owner.
APPROVED: Inbound connection is pending acceptance by destination domain owner.
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 cannot be used further.
Message (string) –
Specifies verbose information for the inbound connection status.
Exceptions
ElasticsearchService.Client.exceptions.ResourceNotFoundException
ElasticsearchService.Client.exceptions.LimitExceededException
ElasticsearchService.Client.exceptions.DisabledOperationException