Download
Download the latest AWS SDK for Java
New Features
| Change | Description |
|---|---|
| Web Page Redirects on Amazon S3 Hosted Websites |
Web page redirects enable you to change the Uniform Resource Locator (URL) of a web page on your Amazon S3 hosted website (e.g., from www.example.com/oldpage to www.example.com/newpage) without breaking links or bookmarks pointing to the old URL. For more information, see Hosting Websites on Amazon S3 in the Amazon S3 developer guide. |
| Callback Support for Asynchronous Clients |
The SDK now provides a new way to call service operations asynchronously. In addition to the existing asynchronous methods using Java Futures, you can now call asynchronous methods and pass in a very simple callback interface for the SDK to automatically run when your asynchronous operation completes.
The following code creates a new asynchronous Amazon DynamoDB client, then executes an asynchronous request to describe a DynamoDB table.
A handler is passed to the async operation, and when the call completes, the SDK will call the AmazonDynamoDBAsync dynamoDB = new AmazonDynamoDBAsyncClient(myCredentials); dynamoDB.describeTableAsync(new DescribeTableRequest().withTableName(myTableName), new AsyncHandler For more information and code samples, see Asynchronous Programming with the AWS SDK for Java. |
Resolved Issues
| Change | Description |
|---|---|
| Amazon S3 Expiration |
Problems setting object expirations have been resolved. |
| Amazon DynamoDB Potential Buffer Underflow |
Problems when reusing a ByteBuffer after using it for an Amazon DynamoDB request have been resolved. |
| Amazon S3 HTTPS Support for Buckets Containing Periods |
Buckets whose name contains periods can now be correctly addressed again over HTTPS. |
Supported API Versions
This release of the SDK supports the following API versions:
| Service | API Version |
|---|---|
| Amazon CloudFront | 2012-05-05 |
| Amazon CloudFront | 2012-03-15 (deprecated) |
| Amazon CloudSearch | 2011-02-01 |
| Amazon CloudWatch | 2010-08-01 |
| Amazon DynamoDB | 2011-12-05 |
| Amazon Elastic Compute Cloud (EC2) | 2012-08-15 |
| Amazon Elastic MapReduce | 2009-03-31 |
| Amazon ElastiCache | 2012-03-09 |
| Amazon Glacier | 2012-06-01 |
| Amazon Relational Database Service (RDS) | 2012-04-23 |
| Amazon Route 53 | 2012-02-29 |
| Amazon Simple Email Service (SES) | 2010-12-01 |
| Amazon Simple Notification Service (SNS) | 2010-03-31 |
| Amazon Simple Queue Service | 2011-10-01 |
| Amazon Simple Storage Service (S3) | 2006-03-01 |
| Amazon Simple Workflow Service (SWF) | 2012-01-25 |
| Amazon SimpleDB | 2009-04-15 |
| Auto Scaling | 2011-01-01 |
| AWS Cloud Formation | 2010-05-15 |
| AWS Elastic Beanstalk | 2010-12-01 |
| AWS Identity and Access Management | 2010-05-08 |
| AWS Import/Export | 2010-06-01 |
| AWS Security Token Service | 2011-06-15 |
| AWS Storage Gateway | 2012-03-12 |
| Elastic Load Balancing | 2011-11-15 |