Fabio Dias
fd9ac4b9a5
ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override
2019-12-16 21:05:29 -05:00
Fabio Dias
b83a750630
Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id
2019-12-16 19:56:11 -05:00
Bert Blommers
36a5d80443
#2010 - Implement Cloudwwatch list_metrics pagination
2019-11-25 16:59:39 +00:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07: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
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
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
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
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
Philippe Gauthier
d5d9c13975
Add put_metric_data and list_metrics
2015-05-29 17:34:36 -04:00
Steve Pulec
93f56322d8
Fix merge conflicts for cloudwatch.
2014-10-30 23:51:09 -04:00