listConfigs method
Returns a list of Config objects.
May throw DependencyException.
May throw InvalidParameterException.
May throw ResourceNotFoundException.
Parameter maxResults :
Maximum number of Configs returned.
Parameter nextToken :
Next token returned in the request of a previous ListConfigs
call. Used to get the next page of results.
Implementation
Future<ListConfigsResponse> listConfigs({
int? maxResults,
String? nextToken,
}) async {
_s.validateNumRange(
'maxResults',
maxResults,
1,
100,
);
final $query = <String, List<String>>{
if (maxResults != null) 'maxResults': [maxResults.toString()],
if (nextToken != null) 'nextToken': [nextToken],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/config',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListConfigsResponse.fromJson(response);
}