listOutgoingCertificates method
Lists certificates that are being transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw UnauthorizedException.
Parameter ascendingOrder :
Specifies the order for results. If True, the results are returned in
ascending order, based on the creation date.
Parameter marker :
The marker for the next set of results.
Parameter pageSize :
The result page size.
Implementation
Future<ListOutgoingCertificatesResponse> listOutgoingCertificates({
bool? ascendingOrder,
String? marker,
int? pageSize,
}) async {
_s.validateNumRange(
'pageSize',
pageSize,
1,
250,
);
final $query = <String, List<String>>{
if (ascendingOrder != null)
'isAscendingOrder': [ascendingOrder.toString()],
if (marker != null) 'marker': [marker],
if (pageSize != null) 'pageSize': [pageSize.toString()],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/certificates-out-going',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListOutgoingCertificatesResponse.fromJson(response);
}