AWS SDK for Java Migration Guide
AWS SDK for Java 2.x Migration Guide

What's New in the AWS SDK for Java 2.x

This topic briefly describes the major new features in AWS SDK for Java 2.x. For details about each feature and to see examples of how to use them, see the links provided or the AWS SDK for Java 2.x Developer Guide.

  • You can configure your own HTTP clients. See HTTP Transport Configuration in the AWS SDK for Java 2.x Developer Guide for an example.

  • Async clients are now truly nonblocking and return CompletableFuture objects. See Basic Async in the AWS SDK for Java 2.x Developer Guide.

  • Operations that return multiple pages have autopaginated responses. This enables you to focus your code on what to do with the response, without the need to check for and get subsequent pages. See the pagination example in the AWS SDK for Java 2.x Developer Guide.

  • SDK start time performance for AWS Lambda functions is improved. See SDK Start Time Performance Improvements in the AWS SDK for Java 2.x Developer Guide for details.

  • Version 2.x supports a new shorthand method for creating requests.

    dynamoDbClient.putItem(request -> request.tableName(TABLE))