aws-amplify / aws-sdk-android

AWS SDK for Android. For more information, see our web site:
https://docs.amplify.aws
Other
1.02k stars 549 forks source link

Is it possible to upload with InputStream to S3 object instead of write all contents to a file to improve performance? #3355

Closed FrankieCheng closed 1 year ago

FrankieCheng commented 1 year ago

State your question We used the following code to write inputstream to S3, and is it possible to upload with InputStream to S3 object instead of write all contents to a file to improve performance? /**

Which AWS Services are you utilizing? S3

Provide code snippets (if applicable)

Environment(please complete the following information):

Device Information (please complete the following information):

ankpshah commented 1 year ago

Hello @FrankieCheng. Currently this feature does not exist.

Amplify Android v1 is now in Maintenance Mode until May 31st, 2024. This means that we will continue to include updates to ensure compatibility with backend services and security. No new features will be introduced in v1. More Details: https://docs.amplify.aws/lib-v1/q/platform/android/

But you can always raise a feature request in Amplify Android v2 here: https://github.com/aws-amplify/amplify-android/issues/new/choose . In the feature request, it will be helpful if could you provide more details about performance issue you are facing. It might help in better understanding the issue.