Sha256: 2d30614b76a342c123ff29d46c0894c1390de5a22d5718362cbb9d9ffa463465
Contents?: true
Size: 983 Bytes
Versions: 36
Compression:
Stored size: 983 Bytes
Contents
#-- # Amazon Web Services EC2 Query API Ruby library # # Ruby Gem Name:: amazon-ec2 # Author:: Glenn Rempe (mailto:glenn@rempe.us) # Copyright:: Copyright (c) 2007-2008 Glenn Rempe # License:: Distributes under the same terms as Ruby # Home:: http://github.com/grempe/amazon-ec2/tree/master #++ module EC2 class Base #Amazon Developer Guide Docs: # # The DescribeAvailabilityZones operation describes availability zones that are currently # available to the account and their states. # # An optional list of zone names can be passed. # #Required Arguments: # # none # #Optional Arguments: # # :zone_name => Array (default : []) # def describe_availability_zones( options = {} ) options = { :zone_name => [] }.merge(options) params = pathlist("ZoneName", options[:zone_name] ) return response_generator(:action => "DescribeAvailabilityZones", :params => params) end end end
Version data entries
36 entries across 36 versions & 5 rubygems