aws-cognito-idp:tldr:9c71e
aws-cognito-idp: List the users of a specific pool.
$ aws cognito-idp list-users --user-pool-id ${user_pool_id}
try on your machine
The command "aws cognito-idp list-users --user-pool-id ${user_pool_id}" is used to list all the users present in an Amazon Cognito User Pool.
Here's the breakdown of the command:
- "aws cognito-idp" is the command-line interface (CLI) for Amazon Cognito Identity Provider.
- "list-users" is the specific command within the CLI to list all the users in the user pool.
- "--user-pool-id ${user_pool_id}" is an option that specifies the user pool ID for which you want to list the users. The "${user_pool_id}" is a placeholder for the actual user pool ID value that you need to provide. The user pool ID uniquely identifies your Amazon Cognito User Pool.
To use this command, you need to replace "${user_pool_id}" with the actual user pool ID value. Once you execute this command, it will return a list of all the users that are registered in the specified user pool.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.