Release: AWS SDK for Android 1.4.3

Release Notes>SDKs>Android>Release: AWS SDK for Android 1.4.3
This release adds support for Cross-Origin Resource Sharing in S3, Amazon EC2 Reserved Instance Marketplace, termination policies in Auto Scaling as well as updates to samples to support asynchronous operation.

Details

Submitted By: BobK@AWS
Created On: October 8, 2012 7:01 PM GMT
Last Updated: October 8, 2012 7:01 PM GMT

Download

Download the AWS SDK for Android 1.4.3

New Features

Change Description
Amazon S3 Cross-Origin Resource Sharing (CORS)

Amazon S3 now supports Cross-Origin Resource Sharing (CORS). CORS defines a way in which client web applications that are loaded in one domain can interact with or access resources in a different domain. With CORS support in Amazon S3, you can build rich client-side web applications on top of Amazon S3 and selectively allow cross-domain access to your Amazon S3 resources.

For information about using CORS, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

Amazon EC2 Reserved Instance Marketplace

The Reserved Instance Marketplace now provides AWS customers the flexibility to sell their Amazon Elastic Compute Cloud (Amazon EC2) Reserved Instances to other businesses and organizations. Customers can browse the Reserved Instance Marketplace to find an even wider selection of Reserved Instance term lengths and pricing options sold by other AWS customers.

As your needs change, the Reserved Instance Marketplace gives you the flexibility to sell the remainder of your existing Reserved Instances at the price you select. After a buyer purchases your Reserved Instance and AWS receives payment, funds will be deposited via ACH wire transfer into your bank account and you will receive an email notification.

You can also now shop the Reserved Instance Marketplace to purchase Reserved Instances outside the standard one-year and three-year term lengths. Amazon EC2 Instances purchased on the Reserved Instance Marketplace offer the same capacity reservations as Reserved Instances purchased directly from AWS.

For more information, see the Reserved Instance Marketplace.

Amazon DynamoDB Client Improvements

The Amazon DynamoDB client in the SDK has been updated with

  • New BatchLoad operation in DynamoDBMapper to load multiple rows of data from Amazon DynamoDB in one request.
  • Support for limits and exclusive start keys for pagination in the Amazon DynamoDBMapper class.

Configuring an instance termination policy for your Auto Scaling Group

You can now configure a termination policy that Auto Scaling will use when selecting an instance to terminate. This policy is used when reducing the size of your Auto Scaling group or rebalancing it across Availability Zones. By default, Auto Scaling uses a default termination policy when selecting instances to terminate. With this release, you can opt to specify a termination policy of your own. For more information, see Instance Termination Policy for Your Auto Scaling Group.

Updates to sample apps

All sample apps have been updated to use AsyncTask to make SDK calls asynchronously.

Resolved Issues

Change Description
Fixed Signing Issues

Fixed an issue with the signature version 4 signer.

Fixed expiration time error in S3 bucket configuration

Fixed a problem where the expiration policy of an S3 bucket could be specified incorrectly.

Amazon DynamoDB - Null Pointer Exception during request marshalling

A NullPointerException that could occur in some cases for invalid input when marshalling a request for Amazon DynamoDB has been correct to return a more meaningful exception instead of an NPE.

Supported API Versions

This release of the SDK supports the following API versions:

Service API Version
Amazon CloudWatch 2010-08-01
Amazon DynamoDB 2011-12-05
Amazon Elastic Compute Cloud (EC2) 2012-08-15
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 SimpleDB 2009-04-15
Auto Scaling 2011-01-01
AWS Security Token Service 2011-06-15
Elastic Load Balancing 2011-11-15

Known Issues

Issue Description
Problems with Amazon DynamoDB over SSL We have seen issues using Amazon DynamoDB over SSL with Android v2.1. Android versions 2.2 and later all work with Amazon DynamoDB over SSL. To not use SSL change the client endpoint for Amazon DynamoDB as follows:
AmazonDynamoDBClient dynamoDbClient = new AmazonDynamoDBClient( credentials );
dynamoDbClient.setEndpoint( "http://dynamodb.us-east-1.amazonaws.com" );
Use of DynamoDBMapper with Android 2.1 While the rest of the AWS SDK for Android is still supported on Android versions 2.1 and later, the Object Persistence Model, DynamoDBMapper, is only supported with Android versions 2.2 and later.
©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.