AWS SDK for Java 1.11.x and 2.x

Continued from Until running Java program on Windows local AWS SDK

A note that the Amazon AWS SDK 1.x and 2.x seem to coexist.

pom.xml


        <aws-java-sdk.version>1.11.699</aws-java-sdk.version>
        <aws-java-sdk2.version>2.13.53</aws-java-sdk2.version>

        <dependency>
            <groupId>com.amazonaws</groupId>
            <artifactId>aws-java-sdk-bom</artifactId>
            <version>${aws-java-sdk.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
        <dependency>
            <groupId>software.amazon.awssdk</groupId>
            <artifactId>bom</artifactId>
            <version>${aws-java-sdk2.version}</version>
             <type>pom</type>
            <scope>import</scope>
        </dependency>

AWS SDK for Java Documentation

Differences between SDK for Java 1.11.x and 2.x

Using the SDK for Java 1.x and 2.x Side by Side (Sharing SDK for Java 1.x and 2.x) /v2/migration-guide/side-by-side.html)

Recommended Posts

AWS SDK for Java 1.11.x and 2.x
Java while and for statements
Credentials referenced by the AWS SDK for Java by default
Java for beginners, expressions and operators 1
Java for beginners, expressions and operators 2
Try Spark Submit to EMR using AWS SDK for Java
Classes and instances Java for beginners
Encrypt data uploaded to S3 using AWS SDK for Java / SSE-KMS
[For beginners] Difference between Java and Kotlin
[Java] Proxy for logging SQL and SQL results
Get a list of S3 files with ListObjectsV2Request (AWS SDK for Java)
For JAVA learning (2018-03-16-01)
Selenium x Java
2017 IDE for Java
Java and JavaScript
XXE and Java
[AWS SDK for Java] Set a retry policy on the S3 client
Java for statement
Review notes for Java 1.7 and later file copies
AWS SDK for Ruby profile change & assume role
I studied for 3 weeks and passed Java Bronze
[Processing x Java] Data type and object-oriented programming
[Java] for statement, while statement
Getters and setters (Java)
[Java] Thread and Runnable
Sample (Java) for OAuth 2.0 authentication and access token acquisition
[Java] Package for management
Java true and false
[Java] for statement / extended for statement
I tried to operate SQS using AWS Java SDK
[Java] String comparison and && and ||
VSCode Java Debugger for Java Build failed Causes and countermeasures
Countermeasures for Java OutOfMemoryError
Learn for the first time java # 3 expressions and operators
Set a signed cookie (for CloudFront) with a custom policy using the AWS SDK for Java
NLP for Java (NLP4J) (2)
Java --Serialization and Deserialization
[Java] Arguments and parameters
(Memo) Java for statement
NLP for Java (NLP4J) (1)
This and that for editing ini in Java. : inieditor-java
timedatectl and Java TimeZone
List of frequently used Java instructions (for beginners and beginners)
[Java] Branch and repeat
Prepare the environment for java11 and javaFx with Ubuntu 18.4
Get S3 object size with AWS SDK for Ruby
[Java] Variables and types
java (classes and instances)
[Java] Overload and override
Store in Java 2D map and turn with for statement
[For beginners] Explanation of classes, instances, and statics in Java
[Java] Make variables in extended for statement and for Each statement immutable
Log aggregation and analysis (working with AWS Athena in Java)
Problems that can easily be mistaken for Java and JavaScript
Difficult to handle minimum values for Java8 LocalDateTime and Java6 Date
StringUtils.isNotBlank is convenient for empty judgment and null judgment in java
Tips for using Salesforce SOAP and Bulk API in Java
Eclipse installation and code completion enhancements (Mac for Java development)
Generate AWS Signature V4 in Java and request an API
Investigated how to call services with Watson SDK for Java
Tools and commands that may be useful for Java troubleshooting