listStreamingDistributions2020_05_31 method

Future<ListStreamingDistributionsResult> listStreamingDistributions2020_05_31({
  1. String? marker,
  2. String? maxItems,
})

List streaming distributions.

May throw InvalidArgument.

Parameter marker : The value that you provided for the Marker request parameter.

Parameter maxItems : The value that you provided for the MaxItems request parameter.

Implementation

Future<ListStreamingDistributionsResult>
    listStreamingDistributions2020_05_31({
  String? marker,
  String? maxItems,
}) async {
  final $query = <String, List<String>>{
    if (marker != null) 'Marker': [marker],
    if (maxItems != null) 'MaxItems': [maxItems],
  };
  final $result = await _protocol.sendRaw(
    method: 'GET',
    requestUri: '/2020-05-31/streaming-distribution',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  final $elem = await _s.xmlFromResponse($result);
  return ListStreamingDistributionsResult(
    streamingDistributionList: StreamingDistributionList.fromXml($elem),
  );
}