add support for presigned head urls#6158
Merged
Conversation
10 tasks
a709117 to
586cad9
Compare
Contributor
|
Looks good, but I don't remember if we did a surface API review for this? I know it is just small new classes, but these are still new public APIs, do we need to do a quick one? |
586cad9 to
8183d94
Compare
8183d94 to
48a3fa5
Compare
|
L-Applin
approved these changes
Jun 16, 2025
|
This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Builds upon work done in #5476
Addresses #5473, #5276
Motivation and Context
This PR adds the possibility of presigning S3 head operations, a functionality that was supported in v1 and was creating a parity gap and preventing customers from migrating to v2.
Usage Example:
Modifications
Added
presignHeadObjectandpresignHeadBucketmethods to the S3 Presigner. That includes adding model classes for request/response (HeadObjectPresignRequestandPresignedHeadObjectRequest,HeadBucketPresignRequestandPresignedHeadBucketRequest) and adding the marshalling logic for those.Testing