listCodeSigningConfigs method

Future<ListCodeSigningConfigsResponse> listCodeSigningConfigs({
  1. String? marker,
  2. int? maxItems,
})

Returns a list of code signing configurations. A request returns up to 10,000 configurations per call. You can use the MaxItems parameter to return fewer configurations per call.

May throw ServiceException. May throw InvalidParameterValueException.

Parameter marker : Specify the pagination token that's returned by a previous request to retrieve the next page of results.

Parameter maxItems : Maximum number of items to return.

Implementation

Future<ListCodeSigningConfigsResponse> listCodeSigningConfigs({
  String? marker,
  int? maxItems,
}) async {
  _s.validateNumRange(
    'maxItems',
    maxItems,
    1,
    10000,
  );
  final $query = <String, List<String>>{
    if (marker != null) 'Marker': [marker],
    if (maxItems != null) 'MaxItems': [maxItems.toString()],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/2020-04-22/code-signing-configs/',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return ListCodeSigningConfigsResponse.fromJson(response);
}