@SdkInternalApi
    final DescribeServicesResult executeDescribeServices(DescribeServicesRequest describeServicesRequest) {

        ExecutionContext executionContext = createExecutionContext(describeServicesRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DescribeServicesRequest> request = null;
        Response<DescribeServicesResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new DescribeServicesRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(describeServicesRequest));
                // 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, "Pricing");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DescribeServices");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Returns the metadata for one service or a list of the metadata for all services. Use this without a service code
to get the service codes for all services. Use it with a service code, such as <code>AmazonEC2</code>, to get
information specific to that service, such as the attribute names available for that service. For example, some
of the attribute names available for EC2 are <code>volumeType</code>, <code>maxIopsVolume</code>,
<code>operation</code>, <code>locationType</code>, and <code>instanceCapacity10xlarge</code>.
</p>

@param describeServicesRequest
@return Result of the DescribeServices operation returned by the service.
@throws InvalidParameterException
        One or more parameters had an invalid value.
@throws InvalidNextTokenException
        The pagination token is invalid. Try again without a pagination token.
@throws NotFoundException
        The requested resource can't be found.
@throws InternalErrorException
        An error on the server occurred during the processing of your request. Try again later.
@throws ThrottlingException
        You've made too many requests exceeding service quotas.
@throws ExpiredNextTokenException
        The pagination token expired. Try again without a pagination token.
@sample AWSPricing.DescribeServices
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/DescribeServices" target="_top">AWS API
     Documentation</a>
aws-java-sdk-pricing/src/main/java/com/amazonaws/services/pricing/AWSPricingClient.java