提问人:Sonny N 提问时间:11/16/2023 最后编辑:Sonny N 更新时间:11/17/2023 访问量:11
如何使用 aws pi 命令解决错误“服务类型 RDS 的资源 mydb1 未授权用于此账户”
How do I resolve the error "The resource mydb1 for service type RDS is not authorized for this account" with aws pi command
问:
我使用默认的 AWS 配置文件拥有管理员访问权限。我使用的是最新版本的 AWS CLI 模块,它是版本 2.13.36。当我运行以下CLI命令时:
aws pi list-performance-analysis-reports --service-type RDS --identifier "mydb1"
我收到以下错误:
An error occurred (NotAuthorizedException) when calling the ListPerformanceAnalysisReports operation: The resource mydb1 for service type RDS is not authorized for this account
我不确定我会给自己更多的访问权限。有没有人使用“aws pi”命令有任何成功?
我还尝试通过 Performance Insights 仪表板创建报告,但我没有看到将其保存到报告中的方法。我可以访问 Performance Insights 并与图表进行交互,但看不到将其保存到报告中的方法。
答: 暂无答案
评论
aws sts get-caller-identity