@Override
    public DeleteContinuousDeploymentPolicyResult deleteContinuousDeploymentPolicy(DeleteContinuousDeploymentPolicyRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteContinuousDeploymentPolicy(request);
    }
<p>
Deletes a continuous deployment policy.
</p>
<p>
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.
</p>

@param deleteContinuousDeploymentPolicyRequest
@return Result of the DeleteContinuousDeploymentPolicy operation returned by the service.
@throws InvalidIfMatchVersionException
        The <code>If-Match</code> version is missing or not valid.
@throws InvalidArgumentException
        An argument is invalid.
@throws AccessDeniedException
        Access denied.
@throws PreconditionFailedException
        The precondition in one or more of the request fields evaluated to <code>false</code>.
@throws ContinuousDeploymentPolicyInUseException
        You cannot delete a continuous deployment policy that is associated with a primary distribution.
@throws NoSuchContinuousDeploymentPolicyException
        The continuous deployment policy doesn't exist.
@sample AmazonCloudFront.DeleteContinuousDeploymentPolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicy"
     target="_top">AWS API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java