【问题标题】:awscli DescribeUserPoolClient doesn't return almost anything despite the documentation it should return all appClient settingsawscli DescribeUserPoolClient 几乎没有返回任何内容,尽管它应该返回所有 appClient 设置的文档
【发布时间】:2021-08-06 13:48:14
【问题描述】:

我正在尝试通过 python 代码和 cloudshell 运行 DescribeUserPoolClient,但此命令几乎不返回任何内容:

{
"UserPoolClient": {
    "UserPoolId": "id",
    "ClientName": "name",
    "ClientId": "id",
    "ClientSecret": "secret",
    "LastModifiedDate": "2021-05-10T14:21:24.733000+00:00",
    "CreationDate": "2021-05-10T14:21:24.733000+00:00",
    "RefreshTokenValidity": 30,
    "TokenValidityUnits": {},
    "AllowedOAuthFlows": [
        "client_credentials"
    ],
    "AllowedOAuthScopes": [
        ":write"
    ],
    "AllowedOAuthFlowsUserPoolClient": true
}

} 这只是它返回的参数。但是文档说应该有更多像“ExplicitAuthFlows”等。有什么与 aws 相关的东西,还是与我的访问权限相关的东西?

【问题讨论】:

    标签: amazon-web-services boto3 amazon-cognito aws-cli


    【解决方案1】:

    对于遇到相同问题的任何人:如果您默认设置了任何属性并且从未接触过它(从未编辑过),亚马逊将不会在请求中返回它们。这也适用于许多其他 aws cli 命令。 也许这是常识,但我很挣扎)

    【讨论】:

      猜你喜欢
      • 2019-04-27
      • 2016-03-20
      • 2022-11-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-03-03
      • 2018-07-30
      • 1970-01-01
      相关资源
      最近更新 更多