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
There's currently no way to include a If-None-Match: * or similar condition with the transfer operation. It's not that S3 doesn't support this but it's not possible to pass this information to the CompleteMultipartUpload operation.
Use Case
I use If-None-Match: * specifically to prevent overwriting stuff already in storage.
Proposed Solution
Simply make it possible to add If-None-Match: * to TransferUtilityUploadRequest. Currently there's no way to influence the CompleteMultipartUpload operation via the TransferUtilityUploadRequest.
Other Information
I've snooped around the code and the only way I managed to do this of the V3 code, is this.
On second thought, my solution to this problem will work with the TransferUtility, there should be no need for this because I can pass my AmazonX3Client to the TransferUtility instance and it should do the right thing.
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the feature
There's currently no way to include a
If-None-Match: *
or similar condition with the transfer operation. It's not that S3 doesn't support this but it's not possible to pass this information to the CompleteMultipartUpload operation.Use Case
I use
If-None-Match: *
specifically to prevent overwriting stuff already in storage.Proposed Solution
Simply make it possible to add
If-None-Match: *
toTransferUtilityUploadRequest
. Currently there's no way to influence the CompleteMultipartUpload operation via the TransferUtilityUploadRequest.Other Information
I've snooped around the code and the only way I managed to do this of the V3 code, is this.
I would prefer to use the TransferUtility but I need to be able to make it a conditional PUT that won't overwrite what is already in storage.
Acknowledgements
AWS .NET SDK and/or Package version used
AWSSDK.S3 3.7.401.2
Targeted .NET Platform
.NET 8
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered: