stopHumanLoop method

Future<void> stopHumanLoop({
  1. required String humanLoopName,
})

Stops the specified human loop.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter humanLoopName : The name of the human loop that you want to stop.

Implementation

Future<void> stopHumanLoop({
  required String humanLoopName,
}) async {
  final $payload = <String, dynamic>{
    'HumanLoopName': humanLoopName,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/human-loops/stop',
    exceptionFnMap: _exceptionFns,
  );
}