Download the latest version of the AWS SDK for Ruby:
gem install aws-sdk
|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:firstname.lastname@example.org:443/path?query')
|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 = AWS::S3.new(:s3_endpoint => "s3-eu-west-1.amazonaws.com") bucket = s3.buckets.create("my.eu.bucket")
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:
|Amazon Elastic Compute Cloud||2011-02-28|
|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|