create_outbound_connection
(**kwargs)¶Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
See also: AWS API Documentation
Request Syntax
response = client.create_outbound_connection(
LocalDomainInfo={
'AWSDomainInformation': {
'OwnerId': 'string',
'DomainName': 'string',
'Region': 'string'
}
},
RemoteDomainInfo={
'AWSDomainInformation': {
'OwnerId': 'string',
'DomainName': 'string',
'Region': 'string'
}
},
ConnectionAlias='string',
ConnectionMode='DIRECT'|'VPC_ENDPOINT'
)
[REQUIRED]
Name and Region of 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.
[REQUIRED]
Name and Region of 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.
[REQUIRED]
Name of the connection.
dict
Response Syntax
{
'LocalDomainInfo': {
'AWSDomainInformation': {
'OwnerId': 'string',
'DomainName': 'string',
'Region': 'string'
}
},
'RemoteDomainInfo': {
'AWSDomainInformation': {
'OwnerId': 'string',
'DomainName': 'string',
'Region': 'string'
}
},
'ConnectionAlias': 'string',
'ConnectionStatus': {
'StatusCode': 'VALIDATING'|'VALIDATION_FAILED'|'PENDING_ACCEPTANCE'|'APPROVED'|'PROVISIONING'|'ACTIVE'|'REJECTING'|'REJECTED'|'DELETING'|'DELETED',
'Message': 'string'
},
'ConnectionId': 'string',
'ConnectionMode': 'DIRECT'|'VPC_ENDPOINT',
'ConnectionProperties': {
'Endpoint': 'string'
}
}
Response Structure
(dict) --
The result of a CreateOutboundConnection
request. Contains details about the newly created cross-cluster 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.
ConnectionAlias (string) --
Name of the connection.
ConnectionStatus (dict) --
The status of the connection.
StatusCode (string) --
The status code for the outbound connection. Can be one of the following:
Message (string) --
Verbose information for the outbound connection.
ConnectionId (string) --
The unique identifier for the created outbound connection, which is used for subsequent operations on the connection.
ConnectionMode (string) --
The connection mode.
ConnectionProperties (dict) --
The ConnectionProperties
for the newly created connection.
Endpoint (string) --
The endpoint of the remote domain.
Exceptions
OpenSearchService.Client.exceptions.LimitExceededException
OpenSearchService.Client.exceptions.InternalException
OpenSearchService.Client.exceptions.ResourceAlreadyExistsException
OpenSearchService.Client.exceptions.DisabledOperationException