@SdkInternalApi
    final ListStoredQueriesResult executeListStoredQueries(ListStoredQueriesRequest listStoredQueriesRequest) {

        ExecutionContext executionContext = createExecutionContext(listStoredQueriesRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ListStoredQueriesRequest> request = null;
        Response<ListStoredQueriesResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new ListStoredQueriesRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listStoredQueriesRequest));
                // 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, "Config Service");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListStoredQueries");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Lists the stored queries for a single Amazon Web Services account and a single Amazon Web Services Region. The
default is 100.
</p>

@param listStoredQueriesRequest
@return Result of the ListStoredQueries operation returned by the service.
@throws ValidationException
        The requested action is not valid.</p>
        <p>
        For PutStoredQuery, you will see this exception if there are missing required fields or if the input
        value fails the validation, or if you are trying to create more than 300 queries.
        </p>
        <p>
        For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are
        missing required fields or if the input value fails the validation.
@throws InvalidNextTokenException
        The specified next token is not valid. Specify the <code>nextToken</code> string that was returned in the
        previous response to get the next page of results.
@sample AmazonConfig.ListStoredQueries
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListStoredQueries" target="_top">AWS API
     Documentation</a>
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/AmazonConfigClient.java