Skip to main content
List operations like listBasins, listStreams, and listAccessTokens return paginated results. SDKs provide automatic pagination helpers that handle async fetching of subsequent pages transparently.

Usage

Instead of manually handling hasMore and startAfter cursor parameters, use the paginator variants which return an iterable that automatically fetches pages as needed:

Filtering

Paginators accept the same filter options as their single-page list analogs:

Deleted Resources

Paginators automatically filter out resources that are pending deletion. This is useful because delete operations mark resources for deletion, but actual garbage collection happens asynchronously. To include deleted resources in the results: