(ResourceNotFoundException) 调用PutRecord操作时:账号xxxxxxx下的Stream request-data-debugger [英] (ResourceNotFoundException) when calling the PutRecord operation: Stream request-data-debugger under account xxxxxxx
本文介绍了(ResourceNotFoundException) 调用PutRecord操作时:账号xxxxxxx下的Stream request-data-debugger的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是我的代码
aws kinesis put-record --stream-name request-data-debugger --data file://payload.json --partition-key 1
当我尝试将数据放入 kinesis 时.它总是说,
When I tried to put data to kinesis. It always says,
"(ResourceNotFoundException) 当调用 PutRecord 操作时:帐户 xxxxxxx 下的流请求数据调试器
"(ResourceNotFoundException) when calling the PutRecord operation: Stream request-data-debugger under account xxxxxxx "
但我已经创建了名为 request-data-debugger
推荐答案
当您在不同的区域创建流并尝试使用不同的区域访问它时,会出现问题.检查您的流是在哪个地区创建的,并在下面的示例中进行更新,
The problem will occur when you create the stream in a different region and you try to access it using different region. Check which region your stream was created in and update it example below,
aws configure
AWS Access Key ID [****************HATQ]:
AWS Secret Access Key [****************88/U]:
Default region name [us-east-2]: <acutual region>
这篇关于(ResourceNotFoundException) 调用PutRecord操作时:账号xxxxxxx下的Stream request-data-debugger的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文