listStreamingDistributions2018_06_18 method

Future<ListStreamingDistributionsResult> listStreamingDistributions2018_06_18(
  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>
    listStreamingDistributions2018_06_18({
  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: '/2018-06-18/streaming-distribution',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  final $elem = await _s.xmlFromResponse($result);
  return ListStreamingDistributionsResult(
    streamingDistributionList: StreamingDistributionList.fromXml($elem),
  );
}