【问题标题】:getting error for client = boto3.client('organizations')客户端出现错误 = boto3.client('organizations')
【发布时间】:2017-11-10 18:22:10
【问题描述】:

得到错误:

client = boto3.client('organizations')

botocore.exceptions.UnknownServiceError:未知服务: “组织”

【问题讨论】:

  • 您是否在为您的整合账单帐户使用凭据时运行 python 脚本?如果您的凭据用于组织的某个帐户(不是 root 帐户),则该服务将不可用
  • 你用的是什么版本的boto3?该错误表明 boto3 只是不知道 organizations 服务。
  • 谢谢,升级 botocore 解决了这个问题。

标签: amazon-web-services boto3 aws-organizations


【解决方案1】:

运行,pip install botocore --upgrade

【讨论】:

    猜你喜欢
    • 2022-12-04
    • 1970-01-01
    • 1970-01-01
    • 2021-12-12
    • 2021-05-11
    • 1970-01-01
    • 2020-11-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多