Library for AWS S3 services

Hello,
I need connect with Amazon s3, and i dont konw what library i can use, anyone know about any library to develop applications AWS in kotlin.
Thank you in advance, and regards!

1 Like

I have recently had success using the Java SDK: AWS SDK for Java. More ECS than S3, but all the AWS libraries have similar interfaces, and are pretty easy to use.

1 Like

Thank you!

Use the official java sdk, period. You will be very very unhappy in the long run if you do not.
The ‘builder’ pattern used is a bit painful and tedious, but it is rock solid, fully feature complete, and actively maintained by the people who know the most about the internals such that it implements a layer of robustness and fault tolerance beyond any other I have seen to date.
Key to understanding the SDK is that with few exceptions the API is a direct 1:1 mapping to the published web interfaces – including naming conventions – and including in many cases things which are NOT published. The source is almost entirely code generated from a common base (to support cross language SDKs) – so does appear overly complex or obtuse in many places – dont let that fool you into thinking its not efficient and highly tuned.
There are a few APIs where a ‘high level’ API has been written that is language specific, making some things easier. The S3 API is one, take a look at the Transfer Manager. This provides not only a simplier interface then the raw SDK, but also features impossible by a strict ‘sdk’ → e.g. transfer manager provides for parallel streaming uploads and downloads, automatically balenced to optimize throughput and support for pause/continue and crash/recover management ( ‘think’ – uploading 100 10G files then having your system crash 3/4 the way through - you do NOT want to start over)

1 Like