getDistributionConfiguration method
Future<GetDistributionConfigurationResponse>
getDistributionConfiguration({
- required String distributionConfigurationArn,
Gets a distribution configuration.
May throw ServiceException. May throw ClientException. May throw ServiceUnavailableException. May throw InvalidRequestException. May throw ForbiddenException. May throw CallRateLimitExceededException.
Parameter distributionConfigurationArn
:
The Amazon Resource Name (ARN) of the distribution configuration that you
want to retrieve.
Implementation
Future<GetDistributionConfigurationResponse> getDistributionConfiguration({
required String distributionConfigurationArn,
}) async {
ArgumentError.checkNotNull(
distributionConfigurationArn, 'distributionConfigurationArn');
final $query = <String, List<String>>{
'distributionConfigurationArn': [distributionConfigurationArn],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/GetDistributionConfiguration',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetDistributionConfigurationResponse.fromJson(response);
}