@SdkInternalApi
    final ListCustomLineItemVersionsResult executeListCustomLineItemVersions(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) {

        ExecutionContext executionContext = createExecutionContext(listCustomLineItemVersionsRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ListCustomLineItemVersionsRequest> request = null;
        Response<ListCustomLineItemVersionsResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new ListCustomLineItemVersionsRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(listCustomLineItemVersionsRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "billingconductor");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListCustomLineItemVersions");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<ListCustomLineItemVersionsResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
                    new ListCustomLineItemVersionsResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
A paginated call to get a list of all custom line item versions.
</p>

@param listCustomLineItemVersionsRequest
@return Result of the ListCustomLineItemVersions operation returned by the service.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws AccessDeniedException
        You do not have sufficient access to perform this action.
@throws ValidationException
        The input doesn't match with the constraints specified by Amazon Web Services.
@throws InternalServerException
        An unexpected error occurred while processing a request.
@sample AWSBillingConductor.ListCustomLineItemVersions
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItemVersions"
     target="_top">AWS API Documentation</a>
aws-java-sdk-billingconductor/src/main/java/com/amazonaws/services/billingconductor/AWSBillingConductorClient.java