Pagination implementation function for paginating AWS API Call results
An async function, per the example, handling paginationTokenValueForRequest, and returning paginationTokenValueFromResultsPage, resultsFromPage, moreResults, to be called by this generator so as to yield a concatenation of all of the resultsFromPage
A promise to generate the concatenated results from each page generated by the function provided
A wrapper function for getPaginatedResults to simplify and standardise paginated AWS API calls
The pagination config Object, containing the AWS Service Interface object, the operation to perform and optional parameters and pagination settings
A promise to return the AWS API call results, either constructed through pagination or generated as a single call to the API
Generated using TypeDoc
Semi-Automated or manually-configurable pagination for AWS API calls
THIS MODULE IS DEPRECATED BY
get-aws-results
This module makes use only of AWS SDKv2 Promises, but uses as much information as possible from the SDK to attempt to automatically paginate API calls using an async generator. It also provides the means to automatically paginate based on manually-provided values for the inputToken, outputToken and resultKey parameters.
This has been deprecated by a new approach in get-aws-results that uses the automatic pagination capabilities of the AWS SDKv2 that are hidden beneath the surface, using event listeners on AWS Request objects to recursively request additional pages.
by get-aws-results