Release: AWS SDK for Java 1.0.11

Release Notes>Java>Release: AWS SDK for Java 1.0.11
Added support for the new Amazon EC2 tagging and filtering API updates.

Details

Submitted By: Jason@AWS
Release Date: September 20, 2010 12:00 AM GMT
Created On: September 20, 2010 9:44 PM GMT
Last Updated: September 21, 2010 12:33 AM GMT

What's New?

ChangeDescription
EC2 Tagging, Filtering, ImportKeyPair, and Idempotentency The AWS SDK for Java supports all the new features in the latest Amazon EC2 API update.

Amazon EC2 has added the ability to tag EC2 resources to simplify the administration of your cloud infrastructure. A form of metadata, tags can be used to create user-friendly names, enhance searchability, and improve coordination between multiple users. The AWS Management Console has also been updated to support tagging.

AmazonEC2 ec2 = new AmazonEC2Client(myCredentials);
ec2.createTags(new CreateTagsRequest(new Tag().withKey("stage").withValues("gamma"));

In addition to tagging, developers can now use sophisticated filters to filter their Amazon EC2 resources to quickly find resources that match specified criteria. For example, you can use filtering to quickly determine which instances are running in a particular Availability Zone or which snapshots are associated with a particular EBS volume.

AmazonEC2 ec2 = new AmazonEC2Client(myCredentials);
ec2.describeInstances(new DescribeInstancesRequest().withFilters(
    new Filter("instance-id").withValues(myInstanceId)));

You can also use your own RSA keys to access your Amazon EC2 instances instead of relying on AWS generated keys. This feature gives you complete control over your private keys and will also allow you to use the same RSA key across different regions, simplifying resource management.

AmazonEC2 ec2 = new AmazonEC2Client(myCredentials);
ec2.importKeyPair(new ImportKeyPairRequest("myKeyName", publicKeyMaterial));

Last but not least, you will also be able to idempotently launch instances so that timeouts or connection errors do not result in the launch of more instances than you originally intended, saving you time and money.

AmazonEC2 ec2 = new AmazonEC2Client(myCredentials);
RunInstancesRequest request = new RunInstancesRequest("ami-b232d0db", 1, 1);
request.setClientToken(UUID.randomUUID().toString());
List instances = ec2.runInstances(request).getReservation().getInstances();
Minor Bug Fixes Enhanced statement ID generation to generate simpler, more compatible statement IDs.

Supported API Versions

The AWS SDK for Java supports the following API versions:

Service API Version
Amazon EC2 2010-08-31
Amazon S3 2006-03-01
Amazon SimpleDB 2009-04-15
Amazon RDS 2010-06-28
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
AWS Identity and Access Management 2010-05-08

Download the AWS SDK for Java from http://aws.amazon.com/sdkforjava/.

©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.