@Override
    public GetOriginAccessControlConfigResult getOriginAccessControlConfig(GetOriginAccessControlConfigRequest request) {
        request = beforeClientExecution(request);
        return executeGetOriginAccessControlConfig(request);
    }
<p>
Gets a CloudFront origin access control configuration.
</p>

@param getOriginAccessControlConfigRequest
@return Result of the GetOriginAccessControlConfig operation returned by the service.
@throws NoSuchOriginAccessControlException
        The origin access control does not exist.
@throws AccessDeniedException
        Access denied.
@sample AmazonCloudFront.GetOriginAccessControlConfig
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginAccessControlConfig"
     target="_top">AWS API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java