awslabs / aws-sdk-swift

Apache License 2.0
402 stars 80 forks source link

Add typealias for SmithyHTTPAPI.HTTPRequest #1805

Closed shepazon closed 3 weeks ago

shepazon commented 3 weeks ago

Describe the feature

When presigning part upload requests, the response is currently SmithyHTTPAPI.HTTPRequest?. This should be made into something that SDK users can use without having to import SmithyHTTPAPI directly.

Use Case

When presigning requests to upload parts during multipart uploads.

Proposed Solution

Ideally this would be a standard URLRequest but if that's not feasible, then adding something like AWSSDKHTTPRequest as a typealias would do the job.

Other Information

No response

Acknowledgements

shepazon commented 3 weeks ago

Never mind. I missed the S3Client.presignedRequestForUploadPart() function.