aws-sdk-android
aws-sdk-android copied to clipboard
Migrate S3 SDKs to use virtual-hosted (V2) style URLs
As @Mazyod noted in https://github.com/aws-amplify/aws-sdk-ios/issues/1535, S3 will retire support for path-style URLs in Sep 2020. We need to migrate our SDKs to use virtual-host style URLs.
Describe the bug Dispatching an S3 request with AWSS3 SDK uses V1 path-style URL. This style is going to be dropped next year. https://forums.aws.amazon.com/ann.jspa?annID=6776
To Reproduce
- Initialize an AWSS3 request.
- Dispatch the request.
- Notice the URL being dispatched.
Which AWS service(s) are affected? S3
Expected behavior URL should be virtual-hosted style V2 instead.
Environment(please complete the following information):
- SDK Version: 2.9.7
- Carthage
- Swift Version : 5.0.1