调用PutRecord操作时的(ResourceNotFoundException):帐户xxxxxxx下的流请求数据调试器

问题描述 投票:0回答:1

这是我的代码

aws kinesis put-record --stream-name request-data-debugger --data file://payload.json --partition-key 1

当我试图将数据放到kinesis时。它总是说,

调用PutRecord操作时的“(ResourceNotFoundException):帐户xxxxxxx下的流请求数据调试器”

但是我创造了kinesis,名为request-data-debugger的流

amazon-web-services amazon-kinesis
1个回答
1
投票

当您在不同的区域中创建流并尝试使用不同的区域访问它时,将发生此问题。检查您的流创建的区域并更新下面的示例,

aws configure
AWS Access Key ID [****************HATQ]:
AWS Secret Access Key [****************88/U]:
Default region name [us-east-2]: <acutual region>
© www.soinside.com 2019 - 2024. All rights reserved.