delete_distribution
(**kwargs)¶Delete a distribution.
See also: AWS API Documentation
Request Syntax
response = client.delete_distribution(
Id='string',
IfMatch='string'
)
[REQUIRED]
The distribution ID.
ETag
header that you received when you disabled the distribution. For example: E2QWRUHAPOMQZL
.None
Exceptions
CloudFront.Client.exceptions.AccessDenied
CloudFront.Client.exceptions.DistributionNotDisabled
CloudFront.Client.exceptions.InvalidIfMatchVersion
CloudFront.Client.exceptions.NoSuchDistribution
CloudFront.Client.exceptions.PreconditionFailed