deleteDistributionConfiguration method
Future<DeleteDistributionConfigurationResponse>
deleteDistributionConfiguration({
- required String distributionConfigurationArn,
Deletes a distribution configuration.
May throw ServiceException. May throw ClientException. May throw InvalidRequestException. May throw ServiceUnavailableException. May throw ForbiddenException. May throw CallRateLimitExceededException. May throw ResourceDependencyException.
Parameter distributionConfigurationArn
:
The Amazon Resource Name (ARN) of the distribution configuration to
delete.
Implementation
Future<DeleteDistributionConfigurationResponse>
deleteDistributionConfiguration({
required String distributionConfigurationArn,
}) async {
ArgumentError.checkNotNull(
distributionConfigurationArn, 'distributionConfigurationArn');
final $query = <String, List<String>>{
'distributionConfigurationArn': [distributionConfigurationArn],
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/DeleteDistributionConfiguration',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return DeleteDistributionConfigurationResponse.fromJson(response);
}