I'm trying to get a list of users in AWS running the command:
aws cognito-identity list-identities --max-results 60 --identity-pool-id ap-southeast-2:xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Where 'ap-southeast-2:xxxxxxxxxx' is found in AWS console/Federated Identities/Identity Browser.
My AWS CLI is set to default region ap-southeast-2 and the identity ID passed in is definitely correct.