Skip to content

Commit 3cd00ce

Browse files
author
AWS
committed
Amazon DevOps Guru Update: Add AnomalyReportedTimeRange field to include open and close time of anomalies.
1 parent 698b63d commit 3cd00ce

File tree

3 files changed

+39
-9
lines changed

3 files changed

+39
-9
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon DevOps Guru",
4+
"contributor": "",
5+
"description": "Add AnomalyReportedTimeRange field to include open and close time of anomalies."
6+
}

services/devopsguru/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,11 @@
44
"input_token": "NextToken",
55
"output_token": "NextToken",
66
"result_key": [
7-
"CloudFormation",
8-
"Service"
7+
"CloudFormation"
98
]
109
},
1110
"GetCostEstimation": {
1211
"input_token": "NextToken",
13-
"non_aggregate_keys": [
14-
"Status",
15-
"TotalCost",
16-
"TimeRange",
17-
"ResourceCollection"
18-
],
1912
"output_token": "NextToken",
2013
"result_key": [
2114
"Costs"

services/devopsguru/src/main/resources/codegen-resources/service-2.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,21 @@
430430
"type":"double",
431431
"box":true
432432
},
433+
"AnomalyReportedTimeRange":{
434+
"type":"structure",
435+
"required":["OpenTime"],
436+
"members":{
437+
"OpenTime":{
438+
"shape":"Timestamp",
439+
"documentation":"<p> The time when an anomaly is opened. </p>"
440+
},
441+
"CloseTime":{
442+
"shape":"Timestamp",
443+
"documentation":"<p> The time when an anomaly is closed. </p>"
444+
}
445+
},
446+
"documentation":"<p> A time range that specifies when DevOps Guru opens and then closes an anomaly. This is different from <code>AnomalyTimeRange</code>, which specifies the time range when DevOps Guru actually observes the anomalous behavior. </p>"
447+
},
433448
"AnomalySeverity":{
434449
"type":"string",
435450
"enum":[
@@ -468,7 +483,7 @@
468483
"documentation":"<p> The time when the anomalous behavior ended. </p>"
469484
}
470485
},
471-
"documentation":"<p> A time range that specifies when the observed unusual behavior in an anomaly started and ended. </p>"
486+
"documentation":"<p> A time range that specifies when the observed unusual behavior in an anomaly started and ended. This is different from <code>AnomalyReportedTimeRange</code>, which specifies the time range when DevOps Guru opens and then closes an anomaly. </p>"
472487
},
473488
"Channels":{
474489
"type":"list",
@@ -1570,6 +1585,10 @@
15701585
"documentation":"<p> The time of the anomaly's most recent update. </p>"
15711586
},
15721587
"AnomalyTimeRange":{"shape":"AnomalyTimeRange"},
1588+
"AnomalyReportedTimeRange":{
1589+
"shape":"AnomalyReportedTimeRange",
1590+
"documentation":"<p> A <code>AnomalyReportedTimeRange</code> object that specifies the time range between when the anomaly is opened and the time when it is closed. </p>"
1591+
},
15731592
"PredictionTimeRange":{"shape":"PredictionTimeRange"},
15741593
"SourceDetails":{
15751594
"shape":"AnomalySourceDetails",
@@ -1607,6 +1626,10 @@
16071626
"documentation":"<p> The time of the anomaly's most recent update. </p>"
16081627
},
16091628
"AnomalyTimeRange":{"shape":"AnomalyTimeRange"},
1629+
"AnomalyReportedTimeRange":{
1630+
"shape":"AnomalyReportedTimeRange",
1631+
"documentation":"<p> A <code>AnomalyReportedTimeRange</code> object that specifies the time range between when the anomaly is opened and the time when it is closed. </p>"
1632+
},
16101633
"PredictionTimeRange":{"shape":"PredictionTimeRange"},
16111634
"SourceDetails":{
16121635
"shape":"AnomalySourceDetails",
@@ -1720,6 +1743,10 @@
17201743
"documentation":"<p> The status of the anomaly. </p>"
17211744
},
17221745
"AnomalyTimeRange":{"shape":"AnomalyTimeRange"},
1746+
"AnomalyReportedTimeRange":{
1747+
"shape":"AnomalyReportedTimeRange",
1748+
"documentation":"<p> A <code>AnomalyReportedTimeRange</code> object that specifies the time range between when the anomaly is opened and the time when it is closed. </p>"
1749+
},
17231750
"SourceDetails":{
17241751
"shape":"AnomalySourceDetails",
17251752
"documentation":"<p> Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics. </p>"
@@ -1748,6 +1775,10 @@
17481775
"documentation":"<p> The status of the reactive anomaly. </p>"
17491776
},
17501777
"AnomalyTimeRange":{"shape":"AnomalyTimeRange"},
1778+
"AnomalyReportedTimeRange":{
1779+
"shape":"AnomalyReportedTimeRange",
1780+
"documentation":"<p> A <code>AnomalyReportedTimeRange</code> object that specifies the time range between when the anomaly is opened and the time when it is closed. </p>"
1781+
},
17511782
"SourceDetails":{
17521783
"shape":"AnomalySourceDetails",
17531784
"documentation":"<p> Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics. </p>"

0 commit comments

Comments
 (0)