Share this page

# LrSqsQueuesList.nextToken

Returns the next token for the queue list.

`public String nextToken()`

## Return values

This function returns a String that represents the next token for the queue lists. Tokens are used for pagination.

## Example

Copy code

    public int action() throws Throwable {
           LrSqsClient.initClient(region, "");

            LrSqsQueuesList response = LrSqsClient.listQueues("");
            for (String queueUrl : response.queueUrls())
            {
                lr.log_message("QUEUE: " + queueUrl);
            }

            response = LrSqsClient.listQueues("", 10, response.nextToken());

            LrSqsClient.closeClient();
            return 0;
        }

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: