This file is indexed.

/usr/lib/ruby/vendor_ruby/AWS/EC2/availability_zones.rb is in ruby-amazon-ec2 0.9.17-3build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module AWS
  module EC2
    class Base < AWS::Base

      # 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.
      #
      # @option options [optional, String] :zone_name ([]) an Array of zone names
      #
      def describe_availability_zones( options = {} )
        options = { :zone_name => [] }.merge(options)
        params = pathlist("ZoneName", options[:zone_name] )
        return response_generator(:action => "DescribeAvailabilityZones", :params => params)
      end

      # Not yet implemented
      #
      # @todo Implement this method
      #
      def describe_regions( options = {} )
        raise "Not yet implemented"
      end

    end
  end
end