deleteInboundCrossClusterSearchConnection method

Future<DeleteInboundCrossClusterSearchConnectionResponse> deleteInboundCrossClusterSearchConnection({
  1. required String crossClusterSearchConnectionId,
})

Allows the destination domain owner to delete an existing inbound cross-cluster search connection.

May throw ResourceNotFoundException. May throw DisabledOperationException.

Parameter crossClusterSearchConnectionId : The id of the inbound connection that you want to permanently delete.

Implementation

Future<DeleteInboundCrossClusterSearchConnectionResponse>
    deleteInboundCrossClusterSearchConnection({
  required String crossClusterSearchConnectionId,
}) async {
  ArgumentError.checkNotNull(
      crossClusterSearchConnectionId, 'crossClusterSearchConnectionId');
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/2015-01-01/es/ccs/inboundConnection/${Uri.encodeComponent(crossClusterSearchConnectionId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteInboundCrossClusterSearchConnectionResponse.fromJson(response);
}