Release: AWS SDK for Ruby 1.5.0

Release Notes>Ruby>Release: AWS SDK for Ruby 1.5.0
Updated client interfaces and resolved an issue.


Submitted By: trevor@AWS
Latest Version: 1.5.0
Created On: May 9, 2012 5:56 PM GMT
Last Updated: May 9, 2012 5:56 PM GMT

Latest Version

Download the latest version of the AWS SDK for Ruby:

gem install aws-sdk

New Features

Change Description
New Client Interface

Each service interface (e.g. AWS::EC2) has a client class that provides a method for each API operation. These clients were not previously public or documented.

This release updates the client classes, adds documentation and makes them public. The updated client documentation can be found in the aws-sdk API documentation.

You get a client object from a service interface:

sns =
sns.client #=> returns an AWS::SNS::Client

ec2 =
ec2.client #=> returns an AWS::EC2::Client

Clients provide access to every method available in the webservice API. This includes methods not previously exposed in the higher level abstractions of the aws-sdk gem. This example uses the AWS::EC2::Client to get spot instance pricing:

ec2 =

resp = ec2.client.describe_spot_price_history(
  :instance_types => ['m1.small'], 
  :start_time => ( - 60 * 60 * 24).iso8601, 
  :availability_zone => 'us-east-1a')[:spot_price_history_set].map{|history| history[:spot_price] }
#=> ["0.039000", "0.027000", "0.039000", ...]

Some users had previously discovered the un-documented clients and put them to use. The new client classes should be backwards compatible. If issues arise, please report them to the Ruby SDK forum.

Resolved Issues

Change Description

Resolved an issue that would raise a runtime error when getting attributes for an AWS::DynamoDB::Table while the table was being deleting.

Supported API Versions

This release of the SDK supports the following API versions:

Service API Version
Amazon DynamoDB 2011-12-05
Amazon Elastic Compute Cloud 2011-12-15
Amazon Simple E-mail Service 2010-12-01
Amazon Simple Notifications Service 2010-03-31
Amazon Simple Queue Service 2011-10-01
Amazon Simple Storage Service 2006-03-01
Amazon Simple Workflow Service 2012-01-25
Amazon SimpleDB 2009-04-15
Auto Scaling 2011-01-01
AWS CloudFormation 2010-05-15
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.