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