listCertificateProviders method
Lists all your certificate providers in your Amazon Web Services account.
Requires permission to access the ListCertificateProviders action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw UnauthorizedException.
Parameter ascendingOrder :
Returns the list of certificate providers in ascending alphabetical order.
Parameter nextToken :
The token for the next set of results, or null if there are
no more results.
Implementation
Future<ListCertificateProvidersResponse> listCertificateProviders({
bool? ascendingOrder,
String? nextToken,
}) async {
final $query = <String, List<String>>{
if (ascendingOrder != null)
'isAscendingOrder': [ascendingOrder.toString()],
if (nextToken != null) 'nextToken': [nextToken],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/certificate-providers',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListCertificateProvidersResponse.fromJson(response);
}