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?

gefragt vor 2 Jahren273 Aufrufe
2 Antworten
0

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

AWS
Siva_R
beantwortet vor 2 Jahren
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen