-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Discussed in #3733
Originally posted by kai-ion February 25, 2026
In AWS SDK for C++ v1.11.757, we released a new paginator API that enables automatic iteration over paginated service responses.
With this release, you can iterate through paginated results using a range-based interface without manually handling continuation tokens, loop state, or service-specific pagination fields. The paginator API reduces boilerplate code and aligns the C++ SDK with pagination functionality available in other AWS SDKs. For more information on paginator API, please refer to API Reference – Aws::Utils::Pagination::Paginator
The new paginator APIs are additive and do not modify or remove any existing operations. All existing request/response patterns and manual token-based pagination workflows remain fully supported.
Disclaimer: The AWS SDKs are designed for usage with official AWS services. Paginators rely on service-defined pagination tokens and modeled traits. If using third-party or S3-compatible services, behavior may differ depending on how pagination tokens are implemented.
We welcome feedback on the paginator API design and ergonomics.