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?

posta 2 anni fa230 visualizzazioni
2 Risposte
0

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

AWS
Siva_R
con risposta 2 anni fa
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande