deleteInboundConnection method

Future<DeleteInboundConnectionResponse> deleteInboundConnection({
  1. required String connectionId,
})

Allows the destination Amazon OpenSearch Service domain owner to delete an existing inbound cross-cluster search connection. For more information, see Cross-cluster search for Amazon OpenSearch Service.

May throw DisabledOperationException. May throw ResourceNotFoundException.

Parameter connectionId : The ID of the inbound connection to permanently delete.

Implementation

Future<DeleteInboundConnectionResponse> deleteInboundConnection({
  required String connectionId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/2021-01-01/opensearch/cc/inboundConnection/${Uri.encodeComponent(connectionId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteInboundConnectionResponse.fromJson(response);
}