Release: AWS SDK for Ruby 1.0.2

Release Notes>Ruby>Release: AWS SDK for Ruby 1.0.2
This release adds support for accessing the product codes associated with an EC2 image and using an HTTP proxy to connect to AWS; it also incorporates pull requests from GitHub and fixes issues reported to the AWS forums.


Submitted By: Matty@AWS
Release Date: July 21, 2011 11:02 PM GMT
Latest Version: 1.0.2
Created On: July 21, 2011 11:02 PM GMT
Last Updated: July 21, 2011 11:02 PM GMT

Latest Version

Download the latest version of the AWS SDK for Ruby:

gem install aws-sdk

What's New?

Change Description
EC2 Image Product Codes

Added support for getting the list of product codes associated with an EC2 image. For example:


You can also add product codes to an image. For example:

image.add_product_codes 'ABCXYZ', 'MNOPQR'
HTTP Proxy Support

Added support for connecting to AWS through an HTTP proxy. To enable this feature, simply set the :proxy_uri option to the URI of your proxy. For example:

AWS.config(:proxy_uri => 'https://user:password@my.proxy:443/path?query')

Resolved Issues

Change Description
Non-ASCII characters in SimpleDB attributes

Resolved an issue where attempting to store non-ASCII characters in a SimpleDB attribute caused authentication failures. Now any UTF-8 string (or any encoding when using Ruby 1.9) can be stored or retrieved. Note that on Ruby 1.9 all strings are converted to UTF-8 before being sent to SimpleDB.

Uploading binary files from Windows

Resolved an issue where binary files were corrupted when uploaded to S3.

Timestamp formatting on Windows

Resolved an issue where a format string used to format timestamps included an escape sequence that is not supported on Windows.

HTTPS and periods in bucket names

Resolved an issue where attempting to access a bucket whose name contains periods resulted in certificate validation errors. Now the SDK uses path-style requests for these buckets instead of subdomain-style requests.

Note: If your bucket name contains one or more periods and it is hosted in a non-US region, you should make requests against the bucket using the S3 endpoint specific to the region in which your bucket resides. For example:

s3 = => "")
bucket = s3.buckets.create("")

For a full list of endpoints and regions, see Regions and Endpoints in the Amazon Web Services General Reference.

Unit test failures

Resolved an issue with running the included unit tests from non-PDT timezones.

Supported API Versions

This release of the SDK supports the following API versions:

Service API Version
Amazon Elastic Compute Cloud 2011-02-28
Amazon SimpleDB 2009-04-15
Amazon Simple E-mail Service 2010-12-01
Amazon Simple Notifications Service 2010-03-31
Amazon Simple Queue Service 2009-02-01
Amazon Simple Storage Service 2006-03-01
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.