What is a safe and scalable way to exhaustively select all users from Amazon Cognito API in JavaScript?
问题 I am part of a small team working on a fairly small website with user accounts; there are about 100 users at this time. And we are using Amazon Cognito for user management. On our website there is a summary page which displays a list/table of all users and various attributes. However, there's a hard limit on the number of items returned by the Amazon Cognito listUsers API call, in this case 60. Luckily, the API call also returns a token to use to make subsequent calls if there are more users.