Latest Version
Download the latest version of the AWS SDK for Ruby:
gem install aws-sdk
What's New?
| Change | Description |
|---|---|
| S3Object#exists? |
Added support for checking whether an S3 object exists or not. For example: s3.objects["my_object"].exists? # => true or false |
| S3Object conditional reads |
Improved support for conditional reads using S3Object#read. For example:
begin
data = object.read(:if_none_match => "\"etag\"")
rescue AWS::S3::Errors::NotModified => e
# no new data since we got the ETag
end
|
Resolved Issues
| Change | Description |
|---|---|
| Nokogiri version constraint |
Improved compatibility with other libraries by loosening the version constraint for the Nokogiri gem. |
| URI encoding issue with S3 objects |
Resolved an issue where certain characters in S3 object keys caused URI parse errors. In particular it is now possible to access objects whose keys contain non-ASCII characters.
|
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 |