cost 163 ms
使用 boto3 或 smart_open 连接到 AWS S3 - 调试连接错误 - connecting to AWS S3 using boto3 or smart_open - debugging connection error

我的目标是将对象上传到 S3,我一直在尝试使用 smart_open 和 boto3 库但没有成功。 我不太了解在 S3 中配置 IAM 策略或访问点; 但发现很难调试和理解如何传递配置。 我是这是我的政策——它应该是开放的并允许 PUT。 我没有设置任何接入点。 boto3 使用boto3,我尝 ...

打开 s3 url 时使用 boto3 会话 - use boto3 session when opening s3 url

我看到很多使用 S3 存储桶 url 打开文件的代码。 我想使用智能打开打开压缩文件 但是,我看到的所有关于智能打开和其他使用 url 从 boto3 拉取的示例从未指定仅在将数据推送到新存储桶时从 url 拉取数据时如何使用会话。 有没有一种方法可以使用 url 和会话,而无需从我的会话中创建 ...

ValueError:存储桶不存在,或禁止访问 '调用 CreateMultipartUpload 时发生错误(AccessDenied) - ValueError: the bucket does not exist, or is forbidden for access 'An error occurred (AccessDenied) when calling the CreateMultipartUpload

我正在使用 python 库smart_open将文件(这将是大文件)从 python 脚本上传到 S3 存储桶 Bucket 具有使用 KMS 执行 SSE 的策略 我尝试使用以下方法打开要写入的文件: 我一直有错误: ValueError: bucket 'n-test-kms-123456 ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM