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 = AWS:::SQS.new.queues.first # 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 q.delete_messages(messages) # 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["https://sqs.us-east-1.amazonaws.com/123456789012/MyQueue"]
# 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 |