getStreamingDistributionConfig2018_11_05 method
Future<GetStreamingDistributionConfigResult>
getStreamingDistributionConfig2018_11_05({
- required String id,
Get the configuration information about a streaming distribution.
May throw NoSuchStreamingDistribution. May throw AccessDenied.
Parameter id
:
The streaming distribution's ID.
Implementation
Future<GetStreamingDistributionConfigResult>
getStreamingDistributionConfig2018_11_05({
required String id,
}) async {
ArgumentError.checkNotNull(id, 'id');
final $result = await _protocol.sendRaw(
method: 'GET',
requestUri:
'/2018-11-05/streaming-distribution/${Uri.encodeComponent(id)}/config',
exceptionFnMap: _exceptionFns,
);
final $elem = await _s.xmlFromResponse($result);
return GetStreamingDistributionConfigResult(
streamingDistributionConfig: StreamingDistributionConfig.fromXml($elem),
eTag: _s.extractHeaderStringValue($result.headers, 'ETag'),
);
}