You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't count the amount of code I have that has to deal with the different ways the different services handle Paged results, isTruncated, getMarker == null, getNextToken, etc.
While it would be nice to standardize these I would prefer if you just did the while loops for me. For example, I would like every Describe and List action to have the following variant.
This may be a v2 request, which is fine by me. But given that 99% of the time I iterate through all these List and Describe services calls, having an internal iteration variant for each that takes a consumer would be really friggin awesome.
The text was updated successfully, but these errors were encountered:
We are looking at adding better pagination for our v2 version of the SDK. I've linked the related issue here and would prefer to track it in a single place - please feel free to 👍 the issue to help us prioritise it!
I can't count the amount of code I have that has to deal with the different ways the different services handle Paged results, isTruncated, getMarker == null, getNextToken, etc.
While it would be nice to standardize these I would prefer if you just did the while loops for me. For example, I would like every Describe and List action to have the following variant.
This may be a v2 request, which is fine by me. But given that 99% of the time I iterate through all these
List
andDescribe
services calls, having an internal iteration variant for each that takes a consumer would be really friggin awesome.The text was updated successfully, but these errors were encountered: