Skip to content

Commit 5971c69

Browse files
Adds support for setting up Contributor Insight rules on logs transformed via Logs Transformation feature.
1 parent 046dda4 commit 5971c69

27 files changed

+598
-292
lines changed

generator/ServiceModels/monitoring/monitoring-2010-08-01.api.json

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
"errors":[
5959
{"shape":"InvalidParameterValueException"},
6060
{"shape":"DashboardNotFoundError"},
61-
{"shape":"InternalServiceFault"}
61+
{"shape":"InternalServiceFault"},
62+
{"shape":"ConflictException"}
6263
]
6364
},
6465
"DeleteInsightRules":{
@@ -443,7 +444,8 @@
443444
},
444445
"errors":[
445446
{"shape":"DashboardInvalidInputError"},
446-
{"shape":"InternalServiceFault"}
447+
{"shape":"InternalServiceFault"},
448+
{"shape":"ConflictException"}
447449
]
448450
},
449451
"PutInsightRule":{
@@ -585,7 +587,8 @@
585587
{"shape":"InvalidParameterValueException"},
586588
{"shape":"ResourceNotFoundException"},
587589
{"shape":"ConcurrentModificationException"},
588-
{"shape":"InternalServiceFault"}
590+
{"shape":"InternalServiceFault"},
591+
{"shape":"ConflictException"}
589592
]
590593
},
591594
"UntagResource":{
@@ -603,7 +606,8 @@
603606
{"shape":"InvalidParameterValueException"},
604607
{"shape":"ResourceNotFoundException"},
605608
{"shape":"ConcurrentModificationException"},
606-
{"shape":"InternalServiceFault"}
609+
{"shape":"InternalServiceFault"},
610+
{"shape":"ConflictException"}
607611
]
608612
}
609613
},
@@ -836,15 +840,21 @@
836840
},
837841
"ConcurrentModificationException":{
838842
"type":"structure",
839-
"members":{
840-
},
843+
"members":{},
841844
"error":{
842845
"code":"ConcurrentModificationException",
843846
"httpStatusCode":429,
844847
"senderFault":true
845848
},
846849
"exception":true
847850
},
851+
"ConflictException":{
852+
"type":"structure",
853+
"members":{
854+
"Message":{"shape":"ErrorMessage"}
855+
},
856+
"exception":true
857+
},
848858
"Counts":{
849859
"type":"list",
850860
"member":{"shape":"DatapointValue"}
@@ -985,8 +995,7 @@
985995
},
986996
"DeleteAnomalyDetectorOutput":{
987997
"type":"structure",
988-
"members":{
989-
}
998+
"members":{}
990999
},
9911000
"DeleteDashboardsInput":{
9921001
"type":"structure",
@@ -997,8 +1006,7 @@
9971006
},
9981007
"DeleteDashboardsOutput":{
9991008
"type":"structure",
1000-
"members":{
1001-
}
1009+
"members":{}
10021010
},
10031011
"DeleteInsightRulesInput":{
10041012
"type":"structure",
@@ -1022,8 +1030,7 @@
10221030
},
10231031
"DeleteMetricStreamOutput":{
10241032
"type":"structure",
1025-
"members":{
1026-
}
1033+
"members":{}
10271034
},
10281035
"DescribeAlarmHistoryInput":{
10291036
"type":"structure",
@@ -1456,7 +1463,8 @@
14561463
"State":{"shape":"InsightRuleState"},
14571464
"Schema":{"shape":"InsightRuleSchema"},
14581465
"Definition":{"shape":"InsightRuleDefinition"},
1459-
"ManagedRule":{"shape":"InsightRuleIsManaged"}
1466+
"ManagedRule":{"shape":"InsightRuleIsManaged"},
1467+
"ApplyOnTransformedLogs":{"shape":"InsightRuleOnTransformedLogs"}
14601468
}
14611469
},
14621470
"InsightRuleAggregationStatistic":{"type":"string"},
@@ -1552,6 +1560,7 @@
15521560
"type":"list",
15531561
"member":{"shape":"InsightRuleName"}
15541562
},
1563+
"InsightRuleOnTransformedLogs":{"type":"boolean"},
15551564
"InsightRuleOrderBy":{
15561565
"type":"string",
15571566
"max":32,
@@ -1643,8 +1652,7 @@
16431652
"LastModified":{"type":"timestamp"},
16441653
"LimitExceededException":{
16451654
"type":"structure",
1646-
"members":{
1647-
},
1655+
"members":{},
16481656
"error":{
16491657
"code":"LimitExceededException",
16501658
"httpStatusCode":400,
@@ -2150,8 +2158,7 @@
21502158
},
21512159
"PutAnomalyDetectorOutput":{
21522160
"type":"structure",
2153-
"members":{
2154-
}
2161+
"members":{}
21552162
},
21562163
"PutCompositeAlarmInput":{
21572164
"type":"structure",
@@ -2200,13 +2207,13 @@
22002207
"RuleName":{"shape":"InsightRuleName"},
22012208
"RuleState":{"shape":"InsightRuleState"},
22022209
"RuleDefinition":{"shape":"InsightRuleDefinition"},
2203-
"Tags":{"shape":"TagList"}
2210+
"Tags":{"shape":"TagList"},
2211+
"ApplyOnTransformedLogs":{"shape":"InsightRuleOnTransformedLogs"}
22042212
}
22052213
},
22062214
"PutInsightRuleOutput":{
22072215
"type":"structure",
2208-
"members":{
2209-
}
2216+
"members":{}
22102217
},
22112218
"PutManagedInsightRulesInput":{
22122219
"type":"structure",
@@ -2422,8 +2429,7 @@
24222429
},
24232430
"StartMetricStreamsOutput":{
24242431
"type":"structure",
2425-
"members":{
2426-
}
2432+
"members":{}
24272433
},
24282434
"Stat":{"type":"string"},
24292435
"StateReason":{
@@ -2493,8 +2499,7 @@
24932499
},
24942500
"StopMetricStreamsOutput":{
24952501
"type":"structure",
2496-
"members":{
2497-
}
2502+
"members":{}
24982503
},
24992504
"StorageResolution":{
25002505
"type":"integer",
@@ -2539,8 +2544,7 @@
25392544
},
25402545
"TagResourceOutput":{
25412546
"type":"structure",
2542-
"members":{
2543-
}
2547+
"members":{}
25442548
},
25452549
"TagValue":{
25462550
"type":"string",
@@ -2577,8 +2581,7 @@
25772581
},
25782582
"UntagResourceOutput":{
25792583
"type":"structure",
2580-
"members":{
2581-
}
2584+
"members":{}
25822585
},
25832586
"Values":{
25842587
"type":"list",

0 commit comments

Comments
 (0)