AWS Cognito GetUserList results inconsistent with the set Limit when query is filtered

0

The getUserList API seems to return lesser results than the set limit when a query filter is applied. For example without a filter if the limit is 20, then it returns 20 records. However, when a filter is applied, even if there are more than 20 records that matches the criteria, the API seems to return lesser results. Wondering if anyone has noticed this kind of a behaviour?

demandé il y a 2 ans231 vues
2 réponses
0

Can you post the CLI command or API call you are making with the filter included?

AWS
Siva_R
répondu il y a 2 ans
0

Assuming your using ListUser API https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ListUsers.html#API_ListUsers_RequestSyntax

Please check if you have PaginationToken which might be link to next list of users. An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Refer the link above for details.

AWS
Pravo
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions