listConfigs method
Returns a list of Config
objects.
May throw InvalidParameterException. May throw DependencyException. 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 {
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);
}