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.InvalidIfMatchVersionCloudFront.Client.exceptions.InvalidArgumentCloudFront.Client.exceptions.AccessDeniedCloudFront.Client.exceptions.PreconditionFailedCloudFront.Client.exceptions.ContinuousDeploymentPolicyInUseCloudFront.Client.exceptions.NoSuchContinuousDeploymentPolicy