【发布时间】:2022-04-22 17:26:16
【问题描述】:
我正在试验 AWS SDK for python 来访问 Timestream。我尝试了来自repository 的内部示例代码,并编写了自己的代码来创建数据库:
import boto3
from botocore.config import Config
client = boto3.client('timestream-write')
response = client.create_database(DatabaseName='test')
示例代码和我自己的代码都出现以下错误:
AccessDeniedException:发生错误 (AccessDeniedException) 时 调用 DescribeEndpoints 操作:该操作不是 允许。
我用谷歌搜索了一下,但我找不到任何关于它的信息。谢谢!
【问题讨论】:
标签: amazon-web-services amazon-timestream