Release: AWS SDK for Ruby 1.5.4

Release Notes>Release: AWS SDK for Ruby 1.5.4
This release resolves an issue with AWS::EC2::Client#associate_address.

Details

Submitted By: trevor@AWS
Latest Version: 1.5.4
Created On: June 15, 2012 7:25 PM GMT
Last Updated: June 15, 2012 7:25 PM GMT

Latest Version

Download the latest version of the AWS SDK for Ruby:

gem install aws-sdk

Resolved Issues

Change Description
AWS::EC2::Client#associate_address

AWS::EC2::Client#associate_address incorrectly marked the :instance_id option as required and would raise an ArgumentError when it was missing. You can now associate a VPC Elastic IP address directly to a Network Interface without an instance.

ec2 = AWS::EC2.new
subnet = ec2.subnets['subnet-12345678']
network_interface = subnet.network_interfaces.create
elastic_ip = ec2.elastic_ips.create(:vpc => true)

# using the new #associate method on AWS::EC2::ElasticIp
elastic_ip.associate :network_interface => network_interface

# same thing using the AWS::EC2::Client
ec2.client.associate_address(
  :allocation_id => elastic_ip.allocation_id,
  :network_interface_id => network_interface.id)
            

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
©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.