You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They need to be there so we can for example enforce that IfNoneMatch: "*" was specified to prevent overwriting existing files when using upload_file, as described here.
Proposed Solution
No response
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
SDK version used
n/a
Environment details (OS name and version, etc.)
n/a
The text was updated successfully, but these errors were encountered:
adev-code
added
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
s3
p3
This is a minor priority issue
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Dec 9, 2024
Hi @rittneje, thanks for reaching out and for bringing up the feature request. The team is aware of the feature request. Please refer to an SDK changelog (https://raw.githubusercontent.com/boto/boto3/develop/CHANGELOG.rst) for updates about this going forward. If you have any questions, please let us know. Thank you.
Describe the feature
put_object
andcomplete_multipart_upload
both accept optional argsIfMatch
andIfNoneMatch
. However, there is no way to currently pass these toupload_file
since these parameters are missing fromS3Transfer.ALLOWED_UPLOAD_ARGS
.Use Case
They need to be there so we can for example enforce that
IfNoneMatch: "*"
was specified to prevent overwriting existing files when usingupload_file
, as described here.Proposed Solution
No response
Other Information
No response
Acknowledgements
SDK version used
n/a
Environment details (OS name and version, etc.)
n/a
The text was updated successfully, but these errors were encountered: