describeHumanLoop method
Returns information about the specified human loop.
May throw ValidationException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalServerException.
Parameter humanLoopName
:
The name of the human loop that you want information about.
Implementation
Future<DescribeHumanLoopResponse> describeHumanLoop({
required String humanLoopName,
}) async {
ArgumentError.checkNotNull(humanLoopName, 'humanLoopName');
_s.validateStringLength(
'humanLoopName',
humanLoopName,
1,
63,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/human-loops/${Uri.encodeComponent(humanLoopName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeHumanLoopResponse.fromJson(response);
}