Download
Download the latest AWS SDK for Java
New Features
| Change | Description |
|---|---|
| Password Management support for AWS Identity and Access Management |
With the AWS Identity and Access Management Java client you can now define IAM user password policies, control required password length and complexity, and programmatically change IAM user passwords. Using the AWS IAM Java client to manage passwords is easy:
AmazonIdentityManagementClient iam =
new AmazonIdentityManagementClient(myCredentials);
// set policy
iam.updateAccountPasswordPolicy(new UpdateAccountPasswordPolicyRequest()
.withMinimumPasswordLength(12)
.withRequireNumbers(true)
.withRequireSymbols(true)
.withRequireLowercaseCharacters(true)
.withRequireUppercaseCharacters(true));
// retrieve policy
System.out.println("Password Policy: " + iam.getAccountPasswordPolicy());
// delete policy
client.DeleteAccountPasswordPolicy();
|
| Amazon EC2 m1.medium Instance Type |
The InstanceType enumeration in the AWS SDK for Java has been updated to include the new Amazon EC2 m1.medium instance type. m1.medium instances are ideal for many applications that require a reasonable amount of CPU and memory, but do not require all the resources of an m1.large instance. This new instance type supports both 32 and 64-bit AMIs. |
| Amazon RDS VPC Support |
You can now take advantage of the manageability, availability and scalability benefits of Amazon RDS DB Instances in your own isolated VPC network. The same functionality of Amazon RDS including managing backups, replication for high availability, automatic failure detection and recovery, software patching, and ease of scaling your compute capacity and storage based on your application demand, are now available in Amazon VPC. |
| Amazon S3 TransferManager Download Support |
The Amazon S3 TransferManager class now supports downloading objects from Amazon S3, in addition to the existing support for uploading objects to Amazon S3. Just as with uploads, TransferManager gives you a high-level, asynchronous interface for managing and monitoring transfers from Amazon S3. Downloading files with the Amazon S3 TransferManager is easy:
TransferManager tm = new TransferManager(myAwsCredentials);
Download download = tm.download(myBucket, myKey, myFile);
while ( !download.isDone() ) {
System.out.println("State: " + download.getState());
System.out.println("Progress: " + download.getProgress().getPercentTransfered());
Thread.sleep(100);
}
// Downloads can also be aborted, or waited on
// download.abort();
// download.waitForCompletion();
|
Resolved Issues
| Amazon DynamoDB Object Persistence Model |
A number of bug fixes for the Amazon DynamoDB Object Persistence Model are included in this release:
|
| Amazon Route 53 IDs |
This release includes a fix for the Amazon Route 53 Java client so that IDs returned from Amazon Route 53 automatically have the URL resource path portion removed, so that they can be directly used in API requests, without requiring users to manually remove the URL resource path portion before using them (ex: '1234' is returned, instead of '/hostedzone/1234'). |
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) | 2011-12-15 |
| 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 |