AWS CLI & Cognito : Able to list user details but unable to list all users

0

Hi,

Using the following CLI command I can list the details of a particular user :

aws cognito-idp admin-get-user --user-pool-id eu-west-1_a3LWXXXXX --username user.test1

However, if I try and list all the users from that pool using the following command :

aws --region us-west-1 cognito-idp list-users --user-pool-id eu-west-1_a3LWXXXXX --limit 60

I get the following error:

An error occurred (ResourceNotFoundException) when calling the ListUsers operation: User pool eu-west-1_a3LWXXXXX does not exist.

Can anyone please advise?

Many many thanks

TM20001
질문됨 3년 전1031회 조회
2개 답변
0

Apologies - my bad ! Helps if I add the correct region to the CLI command 'eu-west-1' instead of 'us-west-1'

TM20001
답변함 3년 전
0

Apologies - my bad ! Helps if I add the correct region to the CLI command 'eu-west-1' instead of 'us-west-1'

TM20001
답변함 3년 전

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

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

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

관련 콘텐츠