Download
Download the latest AWS SDK for Java
New Features
| Change | Description |
|---|---|
| AWS Signature Version 4 for AWS IAM |
We have released a new version of the protocol for authenticating inbound API requests to AWS Services. The new protocol, Signature Version 4, will enable AWS to support future growth and evolution of the AWS business. It introduces a specialized signing key, derived from the long-term AWS Access Key, which is used for the cryptographic signature. It also features incremental modifications in the canonicalization algorithm that streamline signature verification. This release of the AWS SDK for Java uses Signature Version 4 for the AWS Identity and Access Management (IAM) service. For more information about AWS Signature Version 4, go to Signature Version 4 Signing Process in the AWS General Reference. |
| Amazon S3 Iterators |
The Amazon S3 client now includes iterators for iterating over all your Amazon S3 objects and versions. Using the new iterators makes it much easier to loop over all your objects and versions since the iterators take care of pagination in the API without you having to ever be aware of it. Without the iterators, you'd have to make multiple service requests to get the next batch of objects or versions until you processed all the objects and versions. Using the new iterators is easy:
AmazonS3Client s3 = new AmazonS3Client(myAwsCredentials);
System.out.println("All objects in bucket '" + myBucket + "'");
for ( S3ObjectSummary summary : S3Objects.withPrefix(s3, myBucket) ) {
System.out.println(" - " + summary.getKey());
}
|
| Amazon S3 TransferManager Directory Support |
You can now use the Amazon S3 TransferManager to recursively upload and download all files within a directory to and from Amazon S3. Using the new directory support in TransferManager is easy:
// Download every object from an Amazon S3 bucket and save them to disk
TransferManager tm = new TransferManager(myAwsCredentials);
MultipleFileDownload download = tm.downloadDirectory(myBucketName, "", tempDir);
while (!download.isDone()) {
System.out.println("Transfer Progress: "
+ download.getProgress().getPercentTransfered());
Thread.sleep(250);
}
|
| Amazon DynamoDB Object Persistence Model Improvements |
DynamoDBMapper now allows configuration overrides for calls to |
Resolved Issues
| Issue | Description |
|---|---|
| Fixed AWS Identity and Access Management (IAM) Password Policy APIs |
Added missing field
|
Supported API Versions
This release of the SDK supports the following API versions:
| Service | API Version |
|---|---|
| Amazon CloudFront | 2010-11-01 |
| Amazon CloudWatch | 2010-08-01 |
| Amazon DynamoDB | 2011-12-05 |
| Amazon Elastic Compute Cloud (EC2) | 2012-03-01 |
| Amazon Elastic MapReduce | 2009-03-31 |
| Amazon ElastiCache | 2011-07-15 |
| Amazon Relational Database Service (RDS) | 2012-01-15 |
| Amazon Route 53 | 2011-05-05 |
| 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 |
| Elastic Load Balancing | 2011-11-15 |