AWS SDK for .NET Documentation
DeleteDistribution Method
AmazonAmazon.CloudFrontAmazonCloudFrontClientDeleteDistribution()()()() Did this page help you?   Yes   No    Tell us about it...
Delete a distribution.
Declaration Syntax
C#
public DeleteDistributionResponse DeleteDistribution()
Return Value
The response from the DeleteDistribution service method, as returned by CloudFront.
Exceptions
ExceptionCondition
AccessDeniedException Access denied.
DistributionNotDisabledException
InvalidIfMatchVersionException The If-Match version is missing or not valid for the distribution.
NoSuchDistributionException The specified distribution does not exist.
PreconditionFailedException The precondition given in one or more of the request-header fields evaluated to false.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)