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?

preguntada hace 2 años230 visualizaciones
2 Respuestas
0

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

AWS
Siva_R
respondido hace 2 años
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas