vendor/bundle/ruby/1.8/gems/aws-2.5.6/lib/ec2/ec2.rb
def register_image(image_location)
      link = generate_request("RegisterImage",
                              'ImageLocation' => image_location.to_s)
      request_info(link, QEc2RegisterImageParser.new(:logger => @logger))
    rescue Exception
      on_exception
    end
# Register new image at Amazon.
# Returns new image id or an exception.
#
#  ec2.register_image('bucket/key/manifest') #=> 'ami-e444444d'
#
Register new image at Amazon.
Returns new image id or an exception.


Register new image at Amazon . Returns new image id or an exception .
def register_image(image_location)
      link = generate_request("RegisterImage",
                              'ImageLocation' => image_location.to_s)
      request_info(link, QEc2RegisterImageParser.new(:logger => @logger))
    rescue Exception
      on_exception
    end
def register_image ( image_location ) link = generate_request ( "RegisterImage" , 'ImageLocation' => image_location . to_s ) request_info ( link , QEc2RegisterImageParser . new ( :logger => @logger ) ) rescue Exception on_exception end
Register new image at Amazon.
Register new image at Amazon .
image_location