@Override
    public UpdateContinuousDeploymentPolicyResult updateContinuousDeploymentPolicy(UpdateContinuousDeploymentPolicyRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateContinuousDeploymentPolicy(request);
    }
<p>
Updates a continuous deployment policy. You can update a continuous deployment policy to enable or disable it, to
change the percentage of traffic that it sends to the staging distribution, or to change the staging distribution
that it sends traffic to.
</p>
<p>
When you update a continuous deployment policy configuration, all the fields are updated with the values that are
provided in the request. You cannot update some fields independent of others. To update a continuous deployment
policy configuration:
</p>
<ol>
<li>
<p>
Use <code>GetContinuousDeploymentPolicyConfig</code> to get the current configuration.
</p>
</li>
<li>
<p>
Locally modify the fields in the continuous deployment policy configuration that you want to update.
</p>
</li>
<li>
<p>
Use <code>UpdateContinuousDeploymentPolicy</code>, providing the entire continuous deployment policy
configuration, including the fields that you modified and those that you didn't.
</p>
</li>
</ol>

@param updateContinuousDeploymentPolicyRequest
@return Result of the UpdateContinuousDeploymentPolicy 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 InconsistentQuantitiesException
        The value of <code>Quantity</code> and the size of <code>Items</code> don't match.
@throws PreconditionFailedException
        The precondition in one or more of the request fields evaluated to <code>false</code>.
@throws StagingDistributionInUseException
        A continuous deployment policy for this staging distribution already exists.
@throws NoSuchContinuousDeploymentPolicyException
        The continuous deployment policy doesn't exist.
@sample AmazonCloudFront.UpdateContinuousDeploymentPolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicy"
     target="_top">AWS API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java