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
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;
}