Replies: 2 comments 1 reply
-
On one hand, the quickstart uses On the other hand, the actual s3 docs use As a new/returning user, I don't know which method I should be using. |
Beta Was this translation helpful? Give feedback.
-
Hi @aiqc, thanks for reaching out. There's a few different things here, so I'll address them one at a time.
The documentation you're referencing is referring to the function shown in the user guide.
Resources are an object-oriented abstraction of AWS operations. I'd recommend you read this page of the user guide for more information. In this case, using resources is equivalent to using the client. However, I will mention that resources are feature-frozen, and won't be receiving new service features. The actual choice you have here is using Hope that helps, and let me know if you have any other questions. This turned into more of a guidance issue, so I'm going to turn this into a discussion. |
Beta Was this translation helpful? Give feedback.
-
Describe the issue
The docs state:
However, if I don't provide an
object_name
, it errors with:So it seems like both the name and required state are wrong.
It should also be explained that key includes bucket folders
Links
https://boto3.amazonaws.com/v1/documentation/api/latest/guide/s3-uploading-files.html
Beta Was this translation helpful? Give feedback.
All reactions