amazon-web-services - awscli DescribeUserPoolClient 几乎没有返回任何内容,尽管它应该返回所有 appClient 设置的文档
问题描述
我正在尝试通过 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有关的东西,或者可能与我的访问权限有关的东西吗?
解决方案
对于遇到相同问题的任何人:如果您默认设置了任何属性并且从未接触过它(从未编辑过),亚马逊将不会在请求中返回它们。这也适用于许多其他 aws cli 命令。也许这是常识,但我很挣扎)
推荐阅读
- java - Java中枚举类中的getter方法
- devextreme - DevExtreme - dragToZoom=false 选项对财务图表没有影响
- google-apps-script - 如何在谷歌应用脚本中进行正确的定时触发,请检查我的代码行
- c# - ASP.NET Core 3.1 在HttpPut请求中读取流文件上传问题
- python - Azure:如果我通过远程桌面的 CLI 在 VM 上运行程序,当我关闭 CLI 时,该程序是否仍会运行直到完成?
- javascript - 列出对特定消息做出反应的人
- java - 为 NewDirectByteBuffer 创建一个数组?
- r - ROC 曲线缺少 5 个点中的 3 个
- c - C中的段错误(在for循环中间)
- javascript - getBoundingClientRect 在计算 td 宽度时似乎不准确