调用 ListIdentities 操作时发生错误(ResourceNotFoundException):未找到 IdentityPool 'ap-southeast-2:x'
An error occurred (ResourceNotFoundException) when calling the ListIdentities operation: IdentityPool 'ap-southeast-2:x' not found
我正在尝试获取 AWS 中的用户列表 运行 命令:
aws cognito-identity list-identities --max-results 60
--identity-pool-id ap-southeast-2:xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
在 AWS console/Federated Identities/Identity 浏览器中找到 'ap-southeast-2:xxxxxxxxxx'。
我的 AWS CLI 设置为默认区域 ap-southeast-2 并且传入的身份 ID 绝对正确。
您正在尝试使用 Cognito 用户池 ID。身份池和 Cognito 用户池是不同的东西。
身份池 ID 的格式如下:
aws-region:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
要查找身份池,请转至 AWS Cognito 控制台 -> 管理联合身份。要获取身份池的 ID,请单击“编辑”。
我正在尝试获取 AWS 中的用户列表 运行 命令:
aws cognito-identity list-identities --max-results 60 --identity-pool-id ap-southeast-2:xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
在 AWS console/Federated Identities/Identity 浏览器中找到 'ap-southeast-2:xxxxxxxxxx'。
我的 AWS CLI 设置为默认区域 ap-southeast-2 并且传入的身份 ID 绝对正确。
您正在尝试使用 Cognito 用户池 ID。身份池和 Cognito 用户池是不同的东西。
身份池 ID 的格式如下:
aws-region:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
要查找身份池,请转至 AWS Cognito 控制台 -> 管理联合身份。要获取身份池的 ID,请单击“编辑”。