listCrls method
Lists all certificate revocation lists (CRL) in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls.
May throw AccessDeniedException.
May throw ValidationException.
Parameter nextToken :
A token that indicates where the output should continue from, if a
previous request did not show all results. To get the next results, make
the request again with this value.
Parameter pageSize :
The number of resources in the paginated list.
Implementation
Future<ListCrlsResponse> listCrls({
String? nextToken,
int? pageSize,
}) async {
final $query = <String, List<String>>{
if (nextToken != null) 'nextToken': [nextToken],
if (pageSize != null) 'pageSize': [pageSize.toString()],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/crls',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListCrlsResponse.fromJson(response);
}