listStreamingDistributions2017_03_25 method
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>
listStreamingDistributions2017_03_25({
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: '/2017-03-25/streaming-distribution',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
final $elem = await _s.xmlFromResponse($result);
return ListStreamingDistributionsResult(
streamingDistributionList: StreamingDistributionList.fromXml($elem),
);
}