listConfigurations method
List all configurations for the account.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw RequestTimeoutException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Parameter maxResults :
Maximum number of results to return.
Parameter startingToken :
Pagination token for retrieving next page of results.
Implementation
Future<ListConfigurationsResponse> listConfigurations({
int? maxResults,
String? startingToken,
}) async {
final $query = <String, List<String>>{
if (maxResults != null) 'maxResults': [maxResults.toString()],
if (startingToken != null) 'startingToken': [startingToken],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/configuration',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListConfigurationsResponse.fromJson(response);
}