Release: AWS SDK for Ruby 1.6.4

Release Notes>Release: AWS SDK for Ruby 1.6.4
This release adds support for Amazon DynamoDB binary attributes, Amazon Simple E-mail Service easy DKIM, and resolves a few issues.


Submitted By: trevor@AWS
Latest Version: 1.6.4
Created On: August 21, 2012 8:38 PM GMT
Last Updated: September 5, 2012 4:23 AM GMT

Latest Version

Download the latest version of the AWS SDK for Ruby:

gem install aws-sdk

New Features

Change Description
Amazon Simple E-mail Service Easy DKIM

AWS::SimpleEmailService::Identity now supports the new DKIM attributes.

ses =

domain = ses.identities['']

domain.verify_dkim #=> returns tokens

domain.dkim_verification_status #= > '...'
domain.dkim_tokens #=> [...]
domain.dkim_enabled #=> true/false
Amazon DynamoDB Binary Attributes

In addition to string and numbers, you can now store binary attributes.

ddb =
table = ddb.tables['table-name']
table.hash_key = { 'id' => :string }

i = table.items.create('id' => 'abc', 'data' =>'data'))
#=> returns an AWS::DynamoDB::Binary object that is a string containing 'data'

Binary attributes are automatically base 64 encoded over the wire, but are stored in Dynamo as binary (reducing store costs).

You can use binary attributes in your key shema as well.

ddb.tables.create('table-name', 10, 5, :hash_key => { :id => :binary })

You can also provide binary attributes directly to the AWS::DynamoDB::Client.

  :table_name => "table-name",
  :item => {
    "id" => {:s=>"abc"},
    "data" => {:b=>"data"}, # "data" will be encoded for you

You can now set content disposition when performing a copy operation.

s3 =
s3.buckets['bucket-name'].objects['target'].copy_from('source', :content_disposition => '...')
s3.buckets['bucket-name'].objects['source'].copy_to('target', :content_disposition => '...')
s3.buckets['bucket-name'].objects['source'].move_to('target', :content_disposition => '...')

Resolved Issues

Change Description

Resolved an issue that related to XML ordering elements. Root level options were not always getting properly serialized in the xml order expected.


Running tests no longer forces a dependancy on the simplecov gem.


Now escaping S3 object keys properly when calling AWS::S3::Client#delete_objects.

Supported API Versions

This release of the SDK supports the following API versions:

Service API Version
Amazon CloudWatch 2010-08-01
Amazon DynamoDB 2011-12-05
Amazon Elastic Compute Cloud 2012-07-20
Amazon Elastic MapReduce 2009-03-31
Amazon Route 53 2012-02-29
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 2012-06-01
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.