Release: AWS SDK for Java 1.0.8

Release Notes>Java>Release: AWS SDK for Java 1.0.8
Added support for the latest Amazon RDS API version, including support for reserved DB instances, new constructors for EC2 and RDS model classes, a new method providing access to AWS request IDs and other response metadata, and various bug fixes.


Submitted By: Jason@AWS
Release Date: August 17, 2010 12:00 AM GMT
Created On: August 17, 2010 8:39 PM GMT
Last Updated: August 17, 2010 11:30 PM GMT

What's New?

Amazon RDS API Update Support for Reserved DB Instances - With Reserved DB Instances, you can now make a one-time, up-front payment to create a one or three year reservation to run your DB Instance in a specific Region and receive a significant discount off of the ongoing hourly usage charge. Your DB Instances will work just as they do today, but can lower your costs over the life of your database.

The Amazon RDS model classes now have easier to use constructors to help instantiate objects with common arguments more easily.

Amazon EMR StepFactory Utility The Amazon Elastic Map Reduce client includes a new StepFactory class to help make constructing EMR job flows easier.

Example usage, create an interactive Hive job flow with debugging enabled:

    AWSCredentials credentials = new BasicAWSCredentials(accessKey, secretKey);
    AmazonElasticMapReduce emr = new AmazonElasticMapReduceClient(credentials);
    StepFactory stepFactory = new StepFactory();
    StepConfig enableDebugging = new StepConfig()
        .withName("Enable Debugging")
    StepConfig installHive = new StepConfig()
        .withName("Install Hive")
    RunJobFlowRequest request = new RunJobFlowRequest()
        .withName("Hive Interactive")
        .withSteps(enableDebugging, installHive)
        .withInstances(new JobFlowInstancesConfig()
    RunJobFlowResult result = emr.runJobFlow(request);
EC2 API Updates The AuthorizeSecurityGroupIngressRequest class and RevokeSecurityGroupIngressRequest class have been updated for the latest changes in EC2. The preferred way to update security group permissions is to specify a list of IP permissions to add or remove. This allows you more flexibility and control over the traffic you allow into your EC2 security groups.

The Amazon EC2 model classes now have easier to use constructors to help instantiate objects with common arguments more easily.

Response Diagnostics AWS responses contain additional diagnostic information that's useful in certain circumstances. For example, all responses contain a unique AWS request ID that you can use when working with AWS support to debug an issue where an AWS service isn't behaving as expected. The majority of users won't need to access this diagnostic information, but it is now available through the getCachedResponseMetadata(AmazonWebServiceRequest request) method in each client object.

You can use this to access AWS request IDs, Amazon S3 host IDs, and Amazon SimpleDB box usage information for previously executed requests.

Bug Fixes Amazon S3: Fixed issue with findValue in Region enum causing NullPointerException
Amazon S3: Fixed issue with MD5 / ETag validation on object upload
Amazon S3: Corrected US West location constraint
Amazon EC2: Changed CreateDhcpOptionsRequest to take a list of DhcpConfiguration objects

Supported API Versions

The AWS SDK for Java supports the following API versions:

Service API Version
Amazon EC2 2010-06-15
Amazon S3 2006-03-01
Amazon SimpleDB 2009-04-15
Amazon RDS 2010-06-28
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

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