acceptInboundConnection method
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.
May throw DisabledOperationException.
May throw LimitExceededException.
May throw ResourceNotFoundException.
Parameter connectionId :
The ID of the inbound connection to accept.
Implementation
Future<AcceptInboundConnectionResponse> acceptInboundConnection({
required String connectionId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'PUT',
requestUri:
'/2021-01-01/opensearch/cc/inboundConnection/${Uri.encodeComponent(connectionId)}/accept',
exceptionFnMap: _exceptionFns,
);
return AcceptInboundConnectionResponse.fromJson(response);
}