Commit Graph

29 Commits

Author SHA1 Message Date
Steve Pulec
af0205b6a3 Fix wrong tag for cloudwatch metrics response. Closes #2267. 2019-07-06 17:40:36 -05:00
Steve Pulec
69587c151c
Merge branch 'master' into bugfix/1615-cloudwatch-statistics 2018-05-29 22:19:25 -04:00
bclodius
1a0a951b06 Fixes #1608 2018-05-05 15:22:29 -04:00
Barry O'Neill
9e7b86faef Issue 1615 - missing Value should not kill put_metric_data 2018-05-03 19:47:36 -04:00
Pieter Jordaan
a8cd5fb7fd Change name of 'state' attribute of 'FakeAlarm' CloudWatch model to 'state_value'. This ensures that the 'StateValue' returned by 'describe_alarms' is correct.
The 'DESCRIBE_ALARMS_TEMPLATE' response template references a 'state_value' attribute on the 'FakeAlarm' model which does not exist; it is named 'state'.
This commit updates the attribute to be called 'state_value', in-line with the naming convention used elsewhere.
2018-01-08 13:18:50 +01:00
Alexander Mohr
81f3cbb548 fix cloudwatch bug (#1374)
* bugfix + add tests
2017-12-05 09:25:08 +00:00
Alexander Mohr
97687d153a Implement CloudWatch get_metric_statistics (#1369)
* implement get_metric_statistics
2017-12-01 20:37:27 +00:00
Terry Cain
a3ecfc3d9a
flake8 2017-10-27 19:00:23 +01:00
Terry Cain
6adfb97753
Added SetAlarmState and added state filter to describe 2017-10-27 18:58:11 +01:00
Terry Cain
c965fdd47f Added dashboard methods + tests 2017-09-22 16:38:20 +01:00
Terry Cain
4029afeb5b Added method stubs 2017-09-22 15:20:33 +01:00
Waldemar Hummer
da7106cfd6 extended CloudFormation models for Lambda and DynamoDB 2017-06-01 22:43:23 +02:00
Steve Pulec
6d422d1f37 Add BaseModel to all models. 2017-03-11 23:41:12 -05:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
Steve Pulec
d3df810065 Generalize decorator code. 2017-02-12 00:22:29 -05:00
Collin RM Stocks
1b65c45b56 ALWAYS use utcnow(), never now() 2016-09-07 14:40:52 -04:00
Ilya Sukhanov
a37838b638 Preserve Namespace and MetricName when creating cloudwatch alarm. 2016-08-01 17:31:08 -04:00
beeva-antonioirizar
7540b5f6a6 add datetime to cloudwatch, it had in template's response but it didn't have in model and boto3 need it to work correctly 2016-04-04 15:27:34 +02:00
beeva-antonioirizar
4bbd2a11a7 Cloudwatch support multiple regions 2016-02-18 18:35:32 +01:00
beeva-antonioirizar
d8ed18aaac add tag (<DescribeAlarmsResult>) to describe_alarms_template. Because it is miss and it can't work with boto3 2016-02-15 13:02:04 +01:00
Ilya Sukhanov
9bf5c2e706 CloudWatch DescribeAlarm filters.
Adds support for filtering by:
action_prefix
alarm_name_prefix
alarm_names

And throw NotImplementedError when filtering by:
state_value
2015-07-22 21:08:39 -04:00
Steve Pulec
72dbd349ac Merge pull request #355 from deuxpi/cloudwatch-put-metric-data
Add put_metric_data and list_metrics
2015-05-29 23:36:23 -04:00
Philippe Gauthier
d5d9c13975 Add put_metric_data and list_metrics 2015-05-29 17:34:36 -04:00
Jeffrey Gelens
c2f2c16892 Fixed non threadsafe code 2015-03-16 13:13:40 +01:00
Steve Pulec
56007660d8 Cleanup parameter parsing. 2014-12-31 13:23:08 -05:00
dreadpirateshawn
9affa7753d Performance: Leverage jinja2's Environment to cache compiled Templates. 2014-12-12 12:46:07 -08:00
Steve Pulec
ca44d4680a Py26 cloudwatch fixes. 2014-10-31 07:44:11 -04:00
Steve Pulec
93f56322d8 Fix merge conflicts for cloudwatch. 2014-10-30 23:51:09 -04:00