Class: AWS::CloudWatch::Client

Inherits:
Core::Client
  • Object
show all
Extended by:
Core::Client::QueryXML
Defined in:
lib/aws/cloud_watch/client.rb

Constant Summary collapse

API_VERSION =
'2010-08-01'
CACHEABLE_REQUESTS =
Set[
  # TODO
]

Class Method Summary collapse

Class Method Details

.api_configObject

this is copied from ‘aws/core/client’; it’s needed, otherwise it searches in the original gem directory



27
28
29
30
31
32
# File 'lib/aws/cloud_watch/client.rb', line 27

def self.api_config
  config_file = 
    File.dirname(File.dirname(__FILE__)) + 
    "/api_config/#{service_name}-#{self::API_VERSION}.yml"
  YAML.load(File.read(config_file))
end