# File lib/aws/ec2/volume_collection.rb, line 78 def create options = {} if snapshot = options.delete(:snapshot) options[:snapshot_id] = snapshot.id end resp = client.create_volume(options) Volume.new_from(:create_volume, resp, resp.volume_id, :config => config) end