Release: AWS SDK for Ruby 1.2.6

Release Notes>Ruby>Release: AWS SDK for Ruby 1.2.6
This release adds support for new Amazon SQS operations and fixes a logging bug.


Submitted By: trevor@AWS
Release Date: January 4, 2012 9:48 PM GMT
Latest Version: 1.2.6
Created On: January 4, 2012 9:48 PM GMT
Last Updated: January 4, 2012 9:48 PM GMT

Latest Version

Download the latest version of the AWS SDK for Ruby:

gem install aws-sdk

New Features

Change Description
Amazon SQS batch operations

You can now batch send, batch delete and batch change visibility in Amazon SQS.

q =

# send up to 10 messages at a time
q.batch_send 'msg1', 'msg2'

# receive and delete messages in a batch
messages = q.receive_messages :limit => 10

# change the visibility of each message to 1 minute
messages = q.receive_messages :limit => 10
q.batch_change_visibility 60, *messages
Getting an Amazon SQS queue by name

You can now get a queue by name instead of url.

# getting a queue by url, no request made
q = sqs.queues[""]

# getting a queue by name, a request must be made
q = sqs.queues.named('MyQueue')

Resolved Issues

Change Description
Logging fix

Thanks to community member ddrinka, a bug has been resolved which prevents the aws-sdk from calculating the logging message for every request, even when logging is disabled. This provides a significant speed boost for AWS::S3 requests.

Supported API Versions

This release of the SDK supports the following API versions:

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