Class: Aws::Ec2

Inherits:
Object
  • Object
show all
Defined in:
lib/judo/patch.rb

Instance Method Summary collapse

Instance Method Details

#describe_snapshots(list = [], opts = {}) ⇒ Object



3
4
5
6
7
8
9
10
11
# File 'lib/judo/patch.rb', line 3

def describe_snapshots(list=[], opts={})
  params = {}
  params.merge!(hash_params('SnapshotId',list.to_a))
  params.merge!(hash_params('Owner', [opts[:owner]])) if opts[:owner]
  link = generate_request("DescribeSnapshots", params)
  request_cache_or_info :describe_snapshots, link,  QEc2DescribeSnapshotsParser, @@bench, list.blank?
rescue Exception
  on_exception
end