getAnalyzer method
Retrieves information about the specified analyzer.
May throw ResourceNotFoundException. May throw ValidationException. May throw InternalServerException. May throw ThrottlingException. May throw AccessDeniedException.
Parameter analyzerName
:
The name of the analyzer retrieved.
Implementation
Future<GetAnalyzerResponse> getAnalyzer({
required String analyzerName,
}) async {
ArgumentError.checkNotNull(analyzerName, 'analyzerName');
_s.validateStringLength(
'analyzerName',
analyzerName,
1,
255,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/analyzer/${Uri.encodeComponent(analyzerName)}',
exceptionFnMap: _exceptionFns,
);
return GetAnalyzerResponse.fromJson(response);
}