Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

2 AWS Java SDK Libraries com.amazonaws.* & software.amazon.*

We are currently developing AWS Lambda in java an using AWS Java SDK.

Found that AWS SDK is available in 2 packages ... but could not locate the difference and which one is better (or what is purpose of having two).

Would appreciate if somebody can throw some light on this.

to be exact ... The AWS api can be used using

import com.amazonaws.*

and

import software.amazon.awssdk.*

~ thank you

like image 474
Jeevan Sunkersett Avatar asked Jun 16 '26 22:06

Jeevan Sunkersett


1 Answers

There are two versions of the Java SDK. The package com.amazonaws is version 1, software.amazon.awssdk is version 2.

AWS would very much like you to use version 2.

You can get more information here: https://docs.aws.amazon.com/sdk-for-java/

like image 169
Parsifal Avatar answered Jun 22 '26 16:06

Parsifal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!