API endpoints that have a List resources request support cursor-based pagination - for example, the ‘List Accounts’ request. These List calls support pagination by taking the two parameters pageSize and nextToken.The response of a List API call is a single page list. If the nextToken parameter is not supplied, the first page returned contains the newest objects chronologically. Specify a nextToken to retrieve the page of older objects that occur immediately after the last object on the previous page.Use pageSize to limit the list results per page, typically this allows up to a maximum of 100 or 200 per page.
API endpoints that have a Search resources request support cursor-based pagination - for example, the ‘Search Accounts’ request. These Search calls support pagination by taking the two parameters pageSize and fromDocument.The response of a Search API call is a single page list. If the fromDocument parameter is not supplied, the first page returned contains the newest objects chronologically. Specify a fromDocument to retrieve the page of older objects that occur immediately after the last object on the previous page.Use pageSize to limit the list results per page, typically this allows up to a maximum of 100 or 200 per page. Default is 10.