aws-amplify / aws-sdk-ios-spm

This repository enables Swift Package Manager support for the AWS Mobile SDK for iOS
Apache License 2.0
29 stars 15 forks source link

how to setup path-style requests with custom endpoint? #103

Closed hradec closed 10 months ago

hradec commented 11 months ago

I'm trying to upload data to a custom s3 bucket (currently s3ninja hosted on a custom server) using AWSS3TransferUtility.s3TransferUtility(), but the requests are being done using virtual-hosted–style (where the bucket name is a subdomain of the endpoint domain) instead of simple path-style.

Is there a way to force it to use path-style requests?

hradec commented 10 months ago

should this be on aws-sdk-ios instead of here?

thisisabhash commented 10 months ago

You're right - closing this in lieu of https://github.com/aws-amplify/aws-sdk-ios/issues/5023