deleteHumanLoop method
Deletes the specified human loop for a flow definition.
May throw ValidationException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalServerException.
Parameter humanLoopName
:
The name of the human loop that you want to delete.
Implementation
Future<void> deleteHumanLoop({
required String humanLoopName,
}) async {
ArgumentError.checkNotNull(humanLoopName, 'humanLoopName');
_s.validateStringLength(
'humanLoopName',
humanLoopName,
1,
63,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/human-loops/${Uri.encodeComponent(humanLoopName)}',
exceptionFnMap: _exceptionFns,
);
}