listSubCheckRuleResults method
Lists the rules of a specified sub-check belonging to a configuration check operation.
May throw InternalServerException.
May throw ValidationException.
Parameter subCheckResultId :
The ID of the sub check result.
Parameter maxResults :
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
Parameter nextToken :
The token for the next page of results.
Implementation
Future<ListSubCheckRuleResultsOutput> listSubCheckRuleResults({
required String subCheckResultId,
int? maxResults,
String? nextToken,
}) async {
_s.validateNumRange(
'maxResults',
maxResults,
1,
50,
);
final $payload = <String, dynamic>{
'SubCheckResultId': subCheckResultId,
if (maxResults != null) 'MaxResults': maxResults,
if (nextToken != null) 'NextToken': nextToken,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/list-sub-check-rule-results',
exceptionFnMap: _exceptionFns,
);
return ListSubCheckRuleResultsOutput.fromJson(response);
}