Latest Version
Download the latest version of the AWS SDK for Ruby:
gem install aws-sdk
New Features
| Change | Description |
|---|---|
| AWS Identity and Access Management (IAM) - Instance Profiles |
IAM Instance Profiles allow you to securely deliver AWS credentials directly to your Amazon EC2 instances. You can use the updated IAM API, or the AWS Management Console to create IAM Instance Profiles, then launch instances using that profile to have your AWS credentials securely distributed to the Amazon EC2 instances running your application. The aws-sdk gem automatically consumes IAM Instance Profile credentials distributed to your EC2 instances. The AWS SDK for Ruby now checks for credentials in the following locations:
Launching an EC2 instance with an IAM Instane Profile can be done simply by passing :iam_instance_profile to AWS::EC2::InstanceCollection#create. ec2 = AWS::EC2.new ec2.instances.create(:image_id => 'ami-8c1fece5', :iam_instance_profile => 'profile-name') In addition to managing profiles via the console, you can use AWS::IAM::Client to manage profiles, roles and policies. |
| New :credential_provider configuration option. |
AWS.config now accepts :credential_provider with an an object that responds to the following methods:
The :signer option is now deprecated. |
| AWS::AutoScaling now supports IAM Instance Profiles and Spot Instances. |
AWS::AutoScaling::LaunchConfigurationCollection#create now accepts two new options:
You can also get the same two attributes from an AWS::AutoScaling::LaunchConfiguration object. |
Resolved Issues
| Change | Description |
|---|---|
| AWS::DynamoDB::BatchWrite |
Resolved an issue with AWS::DynmoDB::BatchWrite which raised an error when retrying incomplete batch write requests that contained sets: https://github.com/amazonwebservices/aws-sdk-for-ruby/pull/51. |
| AWS::S3::S3Object |
Resolved an issue where a no-method error was raised when trying to access #version_id on responses that do no include the version id: https://github.com/amazonwebservices/aws-sdk-for-ruby/pull/49. |
| Documentation fix |
Corrected an example given in documentation for using custom http handlers which did not work with 1.9: https://github.com/amazonwebservices/aws-sdk-for-ruby/pull/48. |
| Duplicated method cleanup |
AWS::DynamoDB::Table#batch_put was defined twice and the #batch_delete documentation was duplicated: https://github.com/amazonwebservices/aws-sdk-for-ruby/pull/44. |
| AWS::S3::PresignedPost :filename fix |
Flash adds a 'filename' parameter to any posted upload. 'filename' is now allowable as a condition on presigned post uploads, which allows aws-sdk to correctly generate a signature: https://github.com/amazonwebservices/aws-sdk-for-ruby/pull/43. |
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 | 2012-06-01 |
| 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 |