@Override
    public UpdateOriginAccessControlResult updateOriginAccessControl(UpdateOriginAccessControlRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateOriginAccessControl(request);
    }
<p>
Updates a CloudFront origin access control.
</p>

@param updateOriginAccessControlRequest
@return Result of the UpdateOriginAccessControl operation returned by the service.
@throws AccessDeniedException
        Access denied.
@throws IllegalUpdateException
        The update contains modifications that are not allowed.
@throws InvalidIfMatchVersionException
        The <code>If-Match</code> version is missing or not valid.
@throws OriginAccessControlAlreadyExistsException
        An origin access control with the specified parameters already exists.
@throws NoSuchOriginAccessControlException
        The origin access control does not exist.
@throws PreconditionFailedException
        The precondition in one or more of the request fields evaluated to <code>false</code>.
@throws InvalidArgumentException
        An argument is invalid.
@sample AmazonCloudFront.UpdateOriginAccessControl
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateOriginAccessControl"
     target="_top">AWS API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java