amazon-s3 - How to Use Requests With Presigned URL Passed to Lambda Function
问题描述
I have an API where a presigned URL is passed to a Lambda function to upload the file into a S3 bucket. I have seen a lot of examples where Lambda is used to generate presigned URLs but not how to ingest them.
I attempted using the requests module but it is not currently working. Does anyone have an idea and example code of how I can use this presigned URL to write to S3? Thanks
解决方案
推荐阅读
- java - 如何迭代Hashmap并与同一个Hashmap中的其他键进行组合以比较它们的对象
- javascript - 在 Material-UI 中从 textview 中选择项目后如何更改字体颜色
- javascript - 如何在 JavaScript 中将特殊符号转换为表情符号?
- java - Java JsonPath 函数“indexOf”给出异常:函数参数:“indexOf”未正确关闭
- python - Pandas replace() 所有掩码值
- r - 如何组合“geom_text”调用的斜体和非斜体组件。将 `geom_text` 标签添加到一系列 `facet_grid` 散点图
- java - 使用 PageRequest 上的模型参考排序不起作用
- android - 如何从 Jetpack compose 中的 drawable 加载图像?
- firebase - firebase admin sdk 身份验证在本地失败,getaddrinfo ENOTFOUND
- tensorflow - 如何将 VGG 从暗网转换为张量流?