listAnalyzers method
Retrieves a list of analyzers.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter maxResults :
The maximum number of results to return in the response.
Parameter nextToken :
A token used for pagination of results returned.
Parameter type :
The type of analyzer.
Implementation
Future<ListAnalyzersResponse> listAnalyzers({
int? maxResults,
String? nextToken,
Type? type,
}) async {
final $query = <String, List<String>>{
if (maxResults != null) 'maxResults': [maxResults.toString()],
if (nextToken != null) 'nextToken': [nextToken],
if (type != null) 'type': [type.value],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/analyzer',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListAnalyzersResponse.fromJson(response);
}