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'
)
[REQUIRED]
The identifier of the continuous deployment policy that you are deleting.
ETag
value) of the continuous deployment policy that you are deleting.None
Exceptions
CloudFront.Client.exceptions.InvalidIfMatchVersion
CloudFront.Client.exceptions.InvalidArgument
CloudFront.Client.exceptions.AccessDenied
CloudFront.Client.exceptions.PreconditionFailed
CloudFront.Client.exceptions.ContinuousDeploymentPolicyInUse
CloudFront.Client.exceptions.NoSuchContinuousDeploymentPolicy