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.

已提问 9 个月前506 查看次数
1 回答
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
已回答 9 个月前
profile picture
专家
已审核 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则