@Override
    public UpdateCloudFrontOriginAccessIdentityResult updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateCloudFrontOriginAccessIdentity(request);
    }
<p>
Update an origin access identity.
</p>

@param updateCloudFrontOriginAccessIdentityRequest
       The request to update an origin access identity.
@return Result of the UpdateCloudFrontOriginAccessIdentity 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 MissingBodyException
        This operation requires a body. Ensure that the body is present and the <code>Content-Type</code> header
        is set.
@throws NoSuchCloudFrontOriginAccessIdentityException
        The specified origin access identity 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.
@throws InconsistentQuantitiesException
        The value of <code>Quantity</code> and the size of <code>Items</code> don't match.
@sample AmazonCloudFront.UpdateCloudFrontOriginAccessIdentity
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity"
     target="_top">AWS API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java