aristidb / aws

Amazon Web Services for Haskell
BSD 3-Clause "New" or "Revised" License
238 stars 107 forks source link

add etag to GetBucketResponse #259

Closed joeyh closed 5 years ago

joeyh commented 5 years ago

GET Bucket includes an ETag for each listed object, but the library does not support exposing it to the user. I suggest adding that to GetBucketResponse and also to GetBucketObjectVersionsResponse.

My use case is along the lines of listing the contents of an (unversioned) bucket, and then use the etags download only files that have been modified since last time.

joeyh commented 5 years ago

oh, I missed that the etag is inside ObjectVersionInfo. nothing needs to be done; apologies for the noise