Cognito ListUsers

0

I need to find a user in Cognito by email address. There is a ListUsers operation which supports filtering by email field. I wanted to confirm that this operation uses index and not scan, and will be performant on user pools with significant number of users.

feita há 9 meses506 visualizações
1 Resposta
0

You are correct that to list users by email address in Amazon Cognito using the AWS CLI, you can use the following command which is using an index.

aws cognito-idp list-users --filter "email = 'example@email.com'"

For more information, please see the Amazon Cognito ListUsers API documentation: https://docs.aws.amazon.com/cli/latest/reference/cognito-idp/list-users.html

profile pictureAWS
respondido há 9 meses
profile picture
ESPECIALISTA
avaliado há 4 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas