|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") .withActionOnFailure("TERMINATE_JOB_FLOW") .withHadoopJarStep(stepFactory.newEnableDebuggingStep()); StepConfig installHive = new StepConfig() .withName("Install Hive") .withActionOnFailure("TERMINATE_JOB_FLOW") .withHadoopJarStep(stepFactory.newInstallHiveStep()); RunJobFlowRequest request = new RunJobFlowRequest() .withName("Hive Interactive") .withSteps(enableDebugging, installHive) .withLogUri("s3://log-bucket/") .withInstances(new JobFlowInstancesConfig() .withEc2KeyName("keypair") .withHadoopVersion("0.20") .withInstanceCount(5) .withKeepJobFlowAliveWhenNoSteps(true) .withMasterInstanceType("m1.small") .withSlaveInstanceType("m1.small")); 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.
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.
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:
|Amazon Elastic MapReduce||2009-03-31|
|Amazon Elastic LoadBalancing||2009-11-25|
|Amazon Auto Scaling||2009-05-15|
|Amazon Simple Notification Service||2010-03-31|
Download the AWS SDK for Java from http://aws.amazon.com/sdkforjava/.