@Override
    public DeleteOriginAccessControlResult deleteOriginAccessControl(DeleteOriginAccessControlRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteOriginAccessControl(request);
    }
<p>
Deletes a CloudFront origin access control.
</p>
<p>
You cannot delete an origin access control if it's in use. First, update all distributions to remove the origin
access control from all origins, then delete the origin access control.
</p>

@param deleteOriginAccessControlRequest
@return Result of the DeleteOriginAccessControl operation returned by the service.
@throws AccessDeniedException
        Access denied.
@throws InvalidIfMatchVersionException
        The <code>If-Match</code> version is missing or not valid.
@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 OriginAccessControlInUseException
        Cannot delete the origin access control because it's in use by one or more distributions.
@sample AmazonCloudFront.DeleteOriginAccessControl
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteOriginAccessControl"
     target="_top">AWS API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java