Skip to content

Commit c187263

Browse files
author
AWS
committed
Amazon DevOps Guru Update: Add resourceHours field in GetAccountHealth API to show total number of resource hours AWS Dev Ops Guru has done work for in the last hour.
1 parent a9a3643 commit c187263

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
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 resourceHours field in GetAccountHealth API to show total number of resource hours AWS Dev Ops Guru has done work for in the last hour."
6+
}

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@
503503
"documentation":"<p> The value of the CloudWatch dimension. </p>"
504504
}
505505
},
506-
"documentation":"<p> The dimension of a Amazon CloudWatch metric that is used when DevOps Guru analyzes the resources in your account for operational problems and anomalous behaviour. A dimension is a name/value pair that is part of the identity of a metric. A metric can have up to 10 dimensions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension\">Dimensions</a> in the <i>Amazon CloudWatch User Guide</i>. </p>"
506+
"documentation":"<p> The dimension of a Amazon CloudWatch metric that is used when DevOps Guru analyzes the resources in your account for operational problems and anomalous behavior. A dimension is a name/value pair that is part of the identity of a metric. A metric can have up to 10 dimensions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension\">Dimensions</a> in the <i>Amazon CloudWatch User Guide</i>. </p>"
507507
},
508508
"CloudWatchMetricsDimensionName":{"type":"string"},
509509
"CloudWatchMetricsDimensionValue":{"type":"string"},
@@ -560,7 +560,8 @@
560560
"required":[
561561
"OpenReactiveInsights",
562562
"OpenProactiveInsights",
563-
"MetricsAnalyzed"
563+
"MetricsAnalyzed",
564+
"ResourceHours"
564565
],
565566
"members":{
566567
"OpenReactiveInsights":{
@@ -574,6 +575,10 @@
574575
"MetricsAnalyzed":{
575576
"shape":"NumMetricsAnalyzed",
576577
"documentation":"<p> An integer that specifies the number of metrics that have been analyzed in your AWS account. </p>"
578+
},
579+
"ResourceHours":{
580+
"shape":"ResourceHours",
581+
"documentation":"<p>The number of Amazon DevOps Guru resource analysis hours billed to the current AWS account in the last hour. </p>"
577582
}
578583
}
579584
},
@@ -1803,6 +1808,7 @@
18031808
"type":"string",
18041809
"enum":["AWS_CLOUD_FORMATION"]
18051810
},
1811+
"ResourceHours":{"type":"long"},
18061812
"ResourceIdString":{"type":"string"},
18071813
"ResourceIdType":{"type":"string"},
18081814
"ResourceNotFoundException":{

0 commit comments

Comments
 (0)