vendor/bundle/ruby/1.8/gems/aws-2.5.6/lib/ec2/ec2.rb
def create_snapshot(volume_id, options={})
      link = generate_request("CreateSnapshot", options.merge({"VolumeId" => volume_id.to_s}))
      request_info(link, QEc2CreateSnapshotParser.new(:logger => @logger))
    rescue Exception
      on_exception
    end
# Create a snapshot of specified volume.
#
#  ec2.create_snapshot('vol-898a6fe0') #=>
#      {:aws_volume_id  => "vol-fd9f7a94",
#       :aws_started_at => Tue Jun 24 18:40:40 UTC 2008,
#       :aws_progress   => "",
#       :aws_status     => "pending",
#       :aws_id         => "snap-d56783bc"}
#
Create a snapshot of specified volume.
Create a snapshot of specified volume .
def create_snapshot(volume_id, options={})
      link = generate_request("CreateSnapshot", options.merge({"VolumeId" => volume_id.to_s}))
      request_info(link, QEc2CreateSnapshotParser.new(:logger => @logger))
    rescue Exception
      on_exception
    end
def create_snapshot ( volume_id , options = { } ) link = generate_request ( "CreateSnapshot" , options . merge ( { "VolumeId" => volume_id . to_s } ) ) request_info ( link , QEc2CreateSnapshotParser . new ( :logger => @logger ) ) rescue Exception on_exception end
Create a snapshot of specified volume.
Create a snapshot of specified volume .
volume_id
options