describePendingAggregationRequests method
Returns a list of all pending aggregation requests.
May throw InvalidParameterValueException. May throw InvalidNextTokenException. May throw InvalidLimitException.
Parameter limit
:
The maximum number of evaluation results returned on each page. The
default is maximum. If you specify 0, AWS Config uses the default.
Parameter nextToken
:
The nextToken
string returned on a previous page that you use
to get the next page of results in a paginated response.
Implementation
Future<DescribePendingAggregationRequestsResponse>
describePendingAggregationRequests({
int? limit,
String? nextToken,
}) async {
_s.validateNumRange(
'limit',
limit,
0,
20,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'StarlingDoveService.DescribePendingAggregationRequests'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (limit != null) 'Limit': limit,
if (nextToken != null) 'NextToken': nextToken,
},
);
return DescribePendingAggregationRequestsResponse.fromJson(
jsonResponse.body);
}