Upgrade S3 - Part 2 - #4832
Conversation
| import software.amazon.awssdk.regions.Region | ||
| import software.amazon.awssdk.services.s3.S3Client | ||
| import software.amazon.awssdk.services.s3.model.{GetObjectResponse, NoSuchKeyException, GetObjectRequest => GetObjectRequestV2} | ||
| import software.amazon.awssdk.services.s3.model.{GetObjectResponse, HeadObjectRequest, HeadObjectResponse, NoSuchKeyException, GetObjectRequest => GetObjectRequestV2, PutObjectRequest => PutObjectRequestV2} |
There was a problem hiding this comment.
is there a reason we're aliasing the imports? I can understand if this is temporary to make things more explicit during the transition phase, but after that I think it probably leaves behind confusion as people might be looking at the code further down and be googling the class only to find there's no such things as PutObjectRequestV2 for example
There was a problem hiding this comment.
Yeah, it was just to help me keep track of things whilst this is in flight. I have a branch to deprecate the v1 stuff after so it'll only be temporary
|
Seen on auth, usage, image-loader, metadata-editor, thrall, leases, cropper, collections, media-api, kahuna (merged by @lindseydew 12 minutes and 7 seconds ago) Please check your changes! |
What does this change?
This upgrades the store methods in the s3 class
How should a reviewer test this change?
How can success be measured?
Who should look at this?
Tested? Documented?