listStreamingDistributions2020_05_31 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>
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),
);
}