nextToken
) that you can use to retrieve the next set of results. You can use this cursor in 2 ways:
nextToken
string value returned by the previous request in your next request query parameter.
If your first API request returns the following response:
nextToken
value, indicating that there are no more results.
.collect()
function provided by our client utilities. This is useful when you want to retrieve a specific number of items at once.
.collect()
function will handle pagination for you automatically.