Class: Fog::AWS::CloudWatch::AlarmHistories

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/aws/models/cloud_watch/alarm_histories.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) all(conditions = {})



10
11
12
13
# File 'lib/fog/aws/models/cloud_watch/alarm_histories.rb', line 10

def all(conditions={})
  data = service.describe_alarm_history(conditions).body['DescribeAlarmHistoryResult']['AlarmHistoryItems']
  load(data) # data is an array of attribute hashes
end