File: //usr/share/doc/awscli/examples/cognito-identity/list-identity-pools.rst
**To list identity pools**
This example lists identity pools. There s a maximum of 20 identities listed.
Command::
aws cognito-identity list-identity-pools --max-results 20
Output::
{
"IdentityPools": [
{
"IdentityPoolId": "us-west-2:11111111-1111-1111-1111-111111111111",
"IdentityPoolName": "MyIdentityPool"
},
{
"IdentityPoolId": "us-west-2:11111111-1111-1111-1111-111111111111",
"IdentityPoolName": "AnotherIdentityPool"
},
{
"IdentityPoolId": "us-west-2:11111111-1111-1111-1111-111111111111",
"IdentityPoolName": "IdentityPoolRegionA"
}
]
}