Release: AWS SDK for Ruby 1.2.3

Release Notes>Ruby>Release: AWS SDK for Ruby 1.2.3
This minor release adds a few features and fixes one bug.


Submitted By: trevor@AWS
Release Date: November 11, 2011 9:00 PM GMT
Latest Version: 1.2.3
Created On: November 11, 2011 9:00 PM GMT
Last Updated: November 11, 2011 9:00 PM GMT

Latest Version

Download the latest version of the AWS SDK for Ruby:

gem install aws-sdk

New Features

Change Description
Generating presigned URLS using temporary security credentials

Added support to AWS::S3::S3Object#url_for to generate presigned urls with temporary security credentials. Please note that presigned URLs from a federated session become invalid when the session expires.

policy =
policy.allow(:actions => :any, :resource => :any)
session ='mysession', :policy => policy)

s3 =
url = s3.buckets['mybucket'].objects['key'].url_for(:read)
puts url.to_s
Getting console output from an Amazon EC2 instance

You can now fetch the console output from an Amazon EC2 instance.

instance =['instance-id']
puts instance.console_output

This feature was implemented by a community member (pull request).

Finding records by ID across domains

You can now specify which domain a record should be found in when finding by id. This makes it easier to shard your records across multiple domains.

class Product < AWS::Record::Base

# Find a record by id from sharded domains, 2 methods:
Product.find('item-a', :domain => 'products-a')

Resolved Issues

Change Description
Enumerating IP Permissions on VPC Security Groups

If one of your VPC security groups contained an permission that did not specify the port range (possible for protocols that are not TCP, UPD or ICMP) then an error could have been raised. This was handled correctly by egress permisions but not ingress. This now works for both.

Updated AWS::S3::MultipartUpload documentation

A community member provided missing documentation for AWS::S3::MultipartUpload#add_part :part_number (pull request).

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
AWS Identity and Access Management 2010-05-08
AWS Security Token Service 2011-06-15
Elastic Load Balancing 2011-08-15
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.