What's New?
| Change | Description |
|---|---|
| Amazon S3 Bucket Policy Support |
Developers can now take advantage of Amazon S3 Bucket Policies using the AWS SDK for Java.
Amazon S3 bucket policies give customers the ability to create conditional rules for managing access to their buckets and objects.
Bucket policies can restrict access based on AWS accounts as well as request-based attributes, such as HTTP referrer and IP address.
With bucket policies, customers can also now define security rules that apply to more than one object, including all objects or a
subset of objects within a bucket, which makes updating and managing permissions easier.
Developers can set bucket policies on their Amazon S3 buckets like this: AmazonS3 s3 = new AmazonS3Client(myCredentials); s3.setBucketPolicy(myBucket, myBucketPolicy); For more information on using and constructing bucket policies, see the Amazon S3 Developer Guide. |
| Major XML Parsing Improvements | We've finished migrating all the SDK clients to use really fast, streaming XML parsing. All clients in the AWS SDK for Java now use StAX parsing to transform XML service responses. This means much faster XML parsing, less memory use, and reduced size of required dependencies. Because of this, the AWS SDK for Java no longer ships with the Saxon third-party library, and developers no longer need to include it in their applications. |
| Easier to Use Constructors | We've started rolling out easier to use constructors for SQS, SimpleDB and SNS. These constructors allow you to more easily create model classes in the SDK with less code. Future SDK releases will continue rolling out these usability improvements for the rest of the services included in the SDK. |
Supported API Versions
The AWS SDK for Java supports the following API versions:
| Service | API Version |
|---|---|
| Amazon EC2 | 2009-11-30 |
| Amazon S3 | 2006-03-01 |
| Amazon SimpleDB | 2009-04-15 |
| Amazon RDS | 2010-01-01 |
| Amazon CloudFront | 2009-12-15 |
| Amazon SQS | 2009-02-01 |
| Amazon Elastic MapReduce | 2009-03-31 |
| Amazon CloudWatch | 2009-05-15 |
| Amazon Elastic LoadBalancing | 2009-11-25 |
| Amazon Auto Scaling | 2009-05-15 |
| Amazon Simple Notification Service | 2010-03-31 |
| AWS Import/Export | 2010-06-01 |
Download the AWS SDK for Java from http://aws.amazon.com/sdkforjava/.