OptionalpageNumber of items per page.
OptionaltokenProperty name for the pagination token in the response. The token will be set to the last item of the page.
Common values:
OptionalinputProperty name for the pagination token in the request. If not specified, uses the same value as tokenKey.
Use this when the service uses different names for input and output tokens.
Common values:
OptionalitemsProperty name for the items array in the response.
Common values:
OptionaltokensExplicit token for each page, by page index. Needs at least one entry per
page except the last, and entries must be unique and not undefined/null. Takes precedence over tokenFor.
OptionaltokenComputes the token for a page. Not called for the last page.
Ignored when tokens is set.
Configuration options for paginated responses.
Tokens are automatically set to the last item of each page, which works for both DynamoDB-style pagination (object tokens) and S3-style pagination (object tokens).
Example: DynamoDB configuration
Example: S3 configuration