CloudFront / Client / delete_continuous_deployment_policy
delete_continuous_deployment_policy#
- CloudFront.Client.delete_continuous_deployment_policy(**kwargs)#
Deletes a continuous deployment policy.
You cannot delete a continuous deployment policy that’s attached to a primary distribution. First update your distribution to remove the continuous deployment policy, then you can delete the policy.
See also: AWS API Documentation
Request Syntax
response = client.delete_continuous_deployment_policy( Id='string', IfMatch='string' )
- Parameters:
Id (string) –
[REQUIRED]
The identifier of the continuous deployment policy that you are deleting.
IfMatch (string) – The current version (
ETagvalue) of the continuous deployment policy that you are deleting.
- Returns:
None
Exceptions
CloudFront.Client.exceptions.InvalidIfMatchVersionCloudFront.Client.exceptions.InvalidArgumentCloudFront.Client.exceptions.AccessDeniedCloudFront.Client.exceptions.PreconditionFailedCloudFront.Client.exceptions.ContinuousDeploymentPolicyInUseCloudFront.Client.exceptions.NoSuchContinuousDeploymentPolicy