且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将二进制文件从api网关上传到S3存储桶

更新时间:2023-01-07 16:37:27

您似乎正在尝试将其放入名为rest的存储桶. 那是正确的水桶吗?

It looks like you are attempting to put to the bucket named rest. Is that the correct bucket?

该文档可能会对您有所帮助: 将API与AWS S3集成

This documentation will probably be a little more helpful for you: Integrating API with AWS S3

在文档中使用的示例中,PUT项目方法的路径替代中提供了bucketobject.这些是从路径参数folderitem映射的.

In the example in used in the documentation, a bucket and object are provided in the path override for the PUT item method. These are mapped from the path params folder and item.

以下是有用的屏幕截图:

Here is a helpful screenshot: