Skip to content

Commit eda1c8e

Browse files
author
AWS
committed
Amazon Lookout for Metrics Update: This release adds support for Causal Relationships. Added new ListAnomalyGroupRelatedMetrics API operation and InterMetricImpactDetails API data type
1 parent 89297a7 commit eda1c8e

File tree

3 files changed

+109
-0
lines changed

3 files changed

+109
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Lookout for Metrics",
4+
"contributor": "",
5+
"description": "This release adds support for Causal Relationships. Added new ListAnomalyGroupRelatedMetrics API operation and InterMetricImpactDetails API data type"
6+
}

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

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"output_token": "NextToken",
2121
"limit_key": "MaxResults"
2222
},
23+
"ListAnomalyGroupRelatedMetrics": {
24+
"input_token": "NextToken",
25+
"output_token": "NextToken",
26+
"limit_key": "MaxResults"
27+
},
2328
"ListAnomalyGroupSummaries": {
2429
"input_token": "NextToken",
2530
"output_token": "NextToken",

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

+98
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,23 @@
293293
],
294294
"documentation":"<p>Lists the detectors in the current AWS Region.</p> <p>Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.</p>"
295295
},
296+
"ListAnomalyGroupRelatedMetrics":{
297+
"name":"ListAnomalyGroupRelatedMetrics",
298+
"http":{
299+
"method":"POST",
300+
"requestUri":"/ListAnomalyGroupRelatedMetrics"
301+
},
302+
"input":{"shape":"ListAnomalyGroupRelatedMetricsRequest"},
303+
"output":{"shape":"ListAnomalyGroupRelatedMetricsResponse"},
304+
"errors":[
305+
{"shape":"ResourceNotFoundException"},
306+
{"shape":"ValidationException"},
307+
{"shape":"InternalServerException"},
308+
{"shape":"AccessDeniedException"},
309+
{"shape":"TooManyRequestsException"}
310+
],
311+
"documentation":"<p>Returns a list of measures that are potential causes or effects of an anomaly group.</p>"
312+
},
296313
"ListAnomalyGroupSummaries":{
297314
"name":"ListAnomalyGroupSummaries",
298315
"http":{
@@ -1550,6 +1567,32 @@
15501567
"min":1
15511568
},
15521569
"Integer":{"type":"integer"},
1570+
"InterMetricImpactDetails":{
1571+
"type":"structure",
1572+
"members":{
1573+
"MetricName":{
1574+
"shape":"MetricName",
1575+
"documentation":"<p>The name of the measure.</p>"
1576+
},
1577+
"AnomalyGroupId":{
1578+
"shape":"UUID",
1579+
"documentation":"<p>The ID of the anomaly group.</p>"
1580+
},
1581+
"RelationshipType":{
1582+
"shape":"RelationshipType",
1583+
"documentation":"<p>Whether a measure is a potential cause of the anomaly group (<code>CAUSE_OF_INPUT_ANOMALY_GROUP</code>), or whether the measure is impacted by the anomaly group (<code>EFFECT_OF_INPUT_ANOMALY_GROUP</code>).</p>"
1584+
},
1585+
"ContributionPercentage":{
1586+
"shape":"MetricChangePercentage",
1587+
"documentation":"<p>For potential causes (<code>CAUSE_OF_INPUT_ANOMALY_GROUP</code>), the percentage contribution the measure has in causing the anomalies.</p>"
1588+
}
1589+
},
1590+
"documentation":"<p>Aggregated details about the measures contributing to the anomaly group, and the measures potentially impacted by the anomaly group.</p> <p/>"
1591+
},
1592+
"InterMetricImpactList":{
1593+
"type":"list",
1594+
"member":{"shape":"InterMetricImpactDetails"}
1595+
},
15531596
"InternalServerException":{
15541597
"type":"structure",
15551598
"required":["Message"],
@@ -1682,6 +1725,49 @@
16821725
}
16831726
}
16841727
},
1728+
"ListAnomalyGroupRelatedMetricsRequest":{
1729+
"type":"structure",
1730+
"required":[
1731+
"AnomalyDetectorArn",
1732+
"AnomalyGroupId"
1733+
],
1734+
"members":{
1735+
"AnomalyDetectorArn":{
1736+
"shape":"Arn",
1737+
"documentation":"<p>The Amazon Resource Name (ARN) of the anomaly detector.</p>"
1738+
},
1739+
"AnomalyGroupId":{
1740+
"shape":"UUID",
1741+
"documentation":"<p>The ID of the anomaly group.</p>"
1742+
},
1743+
"RelationshipTypeFilter":{
1744+
"shape":"RelationshipType",
1745+
"documentation":"<p>Filter for potential causes (<code>CAUSE_OF_INPUT_ANOMALY_GROUP</code>) or downstream effects (<code>EFFECT_OF_INPUT_ANOMALY_GROUP</code>) of the anomaly group.</p>"
1746+
},
1747+
"MaxResults":{
1748+
"shape":"MaxResults",
1749+
"documentation":"<p>The maximum number of results to return.</p>",
1750+
"box":true
1751+
},
1752+
"NextToken":{
1753+
"shape":"NextToken",
1754+
"documentation":"<p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p>"
1755+
}
1756+
}
1757+
},
1758+
"ListAnomalyGroupRelatedMetricsResponse":{
1759+
"type":"structure",
1760+
"members":{
1761+
"InterMetricImpactList":{
1762+
"shape":"InterMetricImpactList",
1763+
"documentation":"<p>Aggregated details about the measures contributing to the anomaly group, and the measures potentially impacted by the anomaly group.</p>"
1764+
},
1765+
"NextToken":{
1766+
"shape":"NextToken",
1767+
"documentation":"<p>The pagination token that's included if more results are available.</p>"
1768+
}
1769+
}
1770+
},
16851771
"ListAnomalyGroupSummariesRequest":{
16861772
"type":"structure",
16871773
"required":[
@@ -1862,6 +1948,11 @@
18621948
},
18631949
"documentation":"<p>A calculation made by contrasting a measure and a dimension from your source data.</p>"
18641950
},
1951+
"MetricChangePercentage":{
1952+
"type":"double",
1953+
"max":100.0,
1954+
"min":0.0
1955+
},
18651956
"MetricLevelImpact":{
18661957
"type":"structure",
18671958
"members":{
@@ -2144,6 +2235,13 @@
21442235
},
21452236
"documentation":"<p>Provides information about the Amazon Redshift database configuration.</p>"
21462237
},
2238+
"RelationshipType":{
2239+
"type":"string",
2240+
"enum":[
2241+
"CAUSE_OF_INPUT_ANOMALY_GROUP",
2242+
"EFFECT_OF_INPUT_ANOMALY_GROUP"
2243+
]
2244+
},
21472245
"ResourceId":{"type":"string"},
21482246
"ResourceNotFoundException":{
21492247
"type":"structure",

0 commit comments

Comments
 (0)