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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠