Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I am implementing an HTTP API that supports chunked uploads of data across multiple HTTP requests. In order to support this I need to be able to continue a pre-established multipart upload.
It's not clear to me either from the documentation or from looking at the AWS implementation of ObjectStore.put_multipart that this would be possible since it appears to create a new multipart upload each time. I am leaning toward "eh, probably not possible".
Describe the solution you'd like
I would like some API for an ObjectStore to get a PutPart for an existing multipart upload given that multipart upload's MultipartId.
The implementation could be as simple as providing a constructor method on S3MultiPartUpload. But that would break the trait-level API boundary, making this approach only applicable to the AWS implementation of ObjectStore so I imagine it would be best to add a new ObjectStore trait method.
Describe alternatives you've considered
Right now my project has its own ObjectStore trait that is a bit simpler and catered specifically to my needs (also a bit easier to understand since it uses AWS's own SDK library). I'll probably continue using this for the foreseeable future, but would prefer to use the established object_store crate if possible.
Additional context
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I am implementing an HTTP API that supports chunked uploads of data across multiple HTTP requests. In order to support this I need to be able to continue a pre-established multipart upload.
It's not clear to me either from the documentation or from looking at the AWS implementation of
ObjectStore.put_multipartthat this would be possible since it appears to create a new multipart upload each time. I am leaning toward "eh, probably not possible".Describe the solution you'd like
I would like some API for an
ObjectStoreto get a PutPart for an existing multipart upload given that multipart upload'sMultipartId.The implementation could be as simple as providing a constructor method on S3MultiPartUpload. But that would break the trait-level API boundary, making this approach only applicable to the AWS implementation of
ObjectStoreso I imagine it would be best to add a newObjectStoretrait method.Describe alternatives you've considered
Right now my project has its own
ObjectStoretrait that is a bit simpler and catered specifically to my needs (also a bit easier to understand since it uses AWS's own SDK library). I'll probably continue using this for the foreseeable future, but would prefer to use the establishedobject_storecrate if possible.Additional context