vendor/bundle/ruby/1.8/gems/aws-2.5.6/lib/ec2/ec2.rb
def associate_address(instance_id, public_ip)
      link = generate_request("AssociateAddress",
                              "InstanceId" => instance_id.to_s,
                              "PublicIp"   => public_ip.to_s)
      request_info(link, RightBoolResponseParser.new(:logger => @logger))
    rescue Exception
      on_exception
    end
# Associate an elastic IP address with an instance.
# Returns +true+ or an exception.
#
#  ec2.associate_address('i-d630cbbf', '75.101.154.140') #=> true
#
Associate an elastic IP address with an instance.
Returns +true+ or an exception.


Associate an elastic IP address with an instance . Returns + true + or an exception .
def associate_address(instance_id, public_ip)
      link = generate_request("AssociateAddress",
                              "InstanceId" => instance_id.to_s,
                              "PublicIp"   => public_ip.to_s)
      request_info(link, RightBoolResponseParser.new(:logger => @logger))
    rescue Exception
      on_exception
    end
def associate_address ( instance_id , public_ip ) link = generate_request ( "AssociateAddress" , "InstanceId" => instance_id . to_s , "PublicIp" => public_ip . to_s ) request_info ( link , RightBoolResponseParser . new ( :logger => @logger ) ) rescue Exception on_exception end
Associate an elastic IP address with an instance.
Associate an elastic IP address with an instance .
instance_id
public_ip