我有一个python脚本,它在for bucket in conn.buckets.all()
处出错。在
到目前为止,我得到的是:
错误是:
An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied: ClientError ClientError: An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied
我已经授予用户和Lambda函数所使用的角色所附加的策略的完全访问权。在
感谢大家的帮助,只是lambda函数使用了角色的权限问题。未指定列表权限。在
在所有连接桶()已返回存储桶列表;应删除for循环后面的两行。在
相关问题 更多 >
编程相关推荐