【发布时间】:2015-12-16 10:10:51
【问题描述】:
我想要一个使用 Python (boto3) 的集群列表。我做了一些研究,在 boto3 文档 (http://boto3.readthedocs.org/en/latest/reference/services/redshift.html#paginators) 中找到了这个命令来加载 redshift。
self.client = boto3.resource('redshift')
但我收到此错误:
botocore.exceptions.DataNotFoundError: Unable to load data for: redshift
其他信息:
我可以使用 psycopg2 访问红移。我可以对其执行 sql 命令,但无法获取集群列表。我正在使用 python 3.4.3。
【问题讨论】:
标签: python amazon-web-services psycopg2 amazon-redshift boto3