1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2020-12-01",
5    "endpointPrefix":"devops-guru",
6    "jsonVersion":"1.1",
7    "protocol":"rest-json",
8    "serviceFullName":"Amazon DevOps Guru",
9    "serviceId":"DevOps Guru",
10    "signatureVersion":"v4",
11    "signingName":"devops-guru",
12    "uid":"devops-guru-2020-12-01"
13  },
14  "operations":{
15    "AddNotificationChannel":{
16      "name":"AddNotificationChannel",
17      "http":{
18        "method":"PUT",
19        "requestUri":"/channels",
20        "responseCode":200
21      },
22      "input":{"shape":"AddNotificationChannelRequest"},
23      "output":{"shape":"AddNotificationChannelResponse"},
24      "errors":[
25        {"shape":"AccessDeniedException"},
26        {"shape":"ConflictException"},
27        {"shape":"InternalServerException"},
28        {"shape":"ResourceNotFoundException"},
29        {"shape":"ServiceQuotaExceededException"},
30        {"shape":"ThrottlingException"},
31        {"shape":"ValidationException"}
32      ]
33    },
34    "DescribeAccountHealth":{
35      "name":"DescribeAccountHealth",
36      "http":{
37        "method":"GET",
38        "requestUri":"/accounts/health",
39        "responseCode":200
40      },
41      "input":{"shape":"DescribeAccountHealthRequest"},
42      "output":{"shape":"DescribeAccountHealthResponse"},
43      "errors":[
44        {"shape":"AccessDeniedException"},
45        {"shape":"InternalServerException"},
46        {"shape":"ThrottlingException"},
47        {"shape":"ValidationException"}
48      ]
49    },
50    "DescribeAccountOverview":{
51      "name":"DescribeAccountOverview",
52      "http":{
53        "method":"POST",
54        "requestUri":"/accounts/overview",
55        "responseCode":200
56      },
57      "input":{"shape":"DescribeAccountOverviewRequest"},
58      "output":{"shape":"DescribeAccountOverviewResponse"},
59      "errors":[
60        {"shape":"AccessDeniedException"},
61        {"shape":"InternalServerException"},
62        {"shape":"ThrottlingException"},
63        {"shape":"ValidationException"}
64      ]
65    },
66    "DescribeAnomaly":{
67      "name":"DescribeAnomaly",
68      "http":{
69        "method":"GET",
70        "requestUri":"/anomalies/{Id}",
71        "responseCode":200
72      },
73      "input":{"shape":"DescribeAnomalyRequest"},
74      "output":{"shape":"DescribeAnomalyResponse"},
75      "errors":[
76        {"shape":"AccessDeniedException"},
77        {"shape":"InternalServerException"},
78        {"shape":"ResourceNotFoundException"},
79        {"shape":"ThrottlingException"},
80        {"shape":"ValidationException"}
81      ]
82    },
83    "DescribeInsight":{
84      "name":"DescribeInsight",
85      "http":{
86        "method":"GET",
87        "requestUri":"/insights/{Id}",
88        "responseCode":200
89      },
90      "input":{"shape":"DescribeInsightRequest"},
91      "output":{"shape":"DescribeInsightResponse"},
92      "errors":[
93        {"shape":"AccessDeniedException"},
94        {"shape":"InternalServerException"},
95        {"shape":"ResourceNotFoundException"},
96        {"shape":"ThrottlingException"},
97        {"shape":"ValidationException"}
98      ]
99    },
100    "DescribeResourceCollectionHealth":{
101      "name":"DescribeResourceCollectionHealth",
102      "http":{
103        "method":"GET",
104        "requestUri":"/accounts/health/resource-collection/{ResourceCollectionType}",
105        "responseCode":200
106      },
107      "input":{"shape":"DescribeResourceCollectionHealthRequest"},
108      "output":{"shape":"DescribeResourceCollectionHealthResponse"},
109      "errors":[
110        {"shape":"AccessDeniedException"},
111        {"shape":"InternalServerException"},
112        {"shape":"ThrottlingException"},
113        {"shape":"ValidationException"}
114      ]
115    },
116    "DescribeServiceIntegration":{
117      "name":"DescribeServiceIntegration",
118      "http":{
119        "method":"GET",
120        "requestUri":"/service-integrations",
121        "responseCode":200
122      },
123      "input":{"shape":"DescribeServiceIntegrationRequest"},
124      "output":{"shape":"DescribeServiceIntegrationResponse"},
125      "errors":[
126        {"shape":"AccessDeniedException"},
127        {"shape":"InternalServerException"},
128        {"shape":"ThrottlingException"},
129        {"shape":"ValidationException"}
130      ]
131    },
132    "GetResourceCollection":{
133      "name":"GetResourceCollection",
134      "http":{
135        "method":"GET",
136        "requestUri":"/resource-collections/{ResourceCollectionType}",
137        "responseCode":200
138      },
139      "input":{"shape":"GetResourceCollectionRequest"},
140      "output":{"shape":"GetResourceCollectionResponse"},
141      "errors":[
142        {"shape":"AccessDeniedException"},
143        {"shape":"InternalServerException"},
144        {"shape":"ResourceNotFoundException"},
145        {"shape":"ThrottlingException"},
146        {"shape":"ValidationException"}
147      ]
148    },
149    "ListAnomaliesForInsight":{
150      "name":"ListAnomaliesForInsight",
151      "http":{
152        "method":"POST",
153        "requestUri":"/anomalies/insight/{InsightId}",
154        "responseCode":200
155      },
156      "input":{"shape":"ListAnomaliesForInsightRequest"},
157      "output":{"shape":"ListAnomaliesForInsightResponse"},
158      "errors":[
159        {"shape":"AccessDeniedException"},
160        {"shape":"InternalServerException"},
161        {"shape":"ResourceNotFoundException"},
162        {"shape":"ThrottlingException"},
163        {"shape":"ValidationException"}
164      ]
165    },
166    "ListEvents":{
167      "name":"ListEvents",
168      "http":{
169        "method":"POST",
170        "requestUri":"/events",
171        "responseCode":200
172      },
173      "input":{"shape":"ListEventsRequest"},
174      "output":{"shape":"ListEventsResponse"},
175      "errors":[
176        {"shape":"AccessDeniedException"},
177        {"shape":"InternalServerException"},
178        {"shape":"ResourceNotFoundException"},
179        {"shape":"ThrottlingException"},
180        {"shape":"ValidationException"}
181      ]
182    },
183    "ListInsights":{
184      "name":"ListInsights",
185      "http":{
186        "method":"POST",
187        "requestUri":"/insights",
188        "responseCode":200
189      },
190      "input":{"shape":"ListInsightsRequest"},
191      "output":{"shape":"ListInsightsResponse"},
192      "errors":[
193        {"shape":"AccessDeniedException"},
194        {"shape":"InternalServerException"},
195        {"shape":"ThrottlingException"},
196        {"shape":"ValidationException"}
197      ]
198    },
199    "ListNotificationChannels":{
200      "name":"ListNotificationChannels",
201      "http":{
202        "method":"POST",
203        "requestUri":"/channels",
204        "responseCode":200
205      },
206      "input":{"shape":"ListNotificationChannelsRequest"},
207      "output":{"shape":"ListNotificationChannelsResponse"},
208      "errors":[
209        {"shape":"AccessDeniedException"},
210        {"shape":"InternalServerException"},
211        {"shape":"ThrottlingException"},
212        {"shape":"ValidationException"}
213      ]
214    },
215    "ListRecommendations":{
216      "name":"ListRecommendations",
217      "http":{
218        "method":"POST",
219        "requestUri":"/recommendations",
220        "responseCode":200
221      },
222      "input":{"shape":"ListRecommendationsRequest"},
223      "output":{"shape":"ListRecommendationsResponse"},
224      "errors":[
225        {"shape":"AccessDeniedException"},
226        {"shape":"InternalServerException"},
227        {"shape":"ResourceNotFoundException"},
228        {"shape":"ThrottlingException"},
229        {"shape":"ValidationException"}
230      ]
231    },
232    "PutFeedback":{
233      "name":"PutFeedback",
234      "http":{
235        "method":"PUT",
236        "requestUri":"/feedback",
237        "responseCode":200
238      },
239      "input":{"shape":"PutFeedbackRequest"},
240      "output":{"shape":"PutFeedbackResponse"},
241      "errors":[
242        {"shape":"AccessDeniedException"},
243        {"shape":"ConflictException"},
244        {"shape":"InternalServerException"},
245        {"shape":"ResourceNotFoundException"},
246        {"shape":"ThrottlingException"},
247        {"shape":"ValidationException"}
248      ]
249    },
250    "RemoveNotificationChannel":{
251      "name":"RemoveNotificationChannel",
252      "http":{
253        "method":"DELETE",
254        "requestUri":"/channels/{Id}",
255        "responseCode":200
256      },
257      "input":{"shape":"RemoveNotificationChannelRequest"},
258      "output":{"shape":"RemoveNotificationChannelResponse"},
259      "errors":[
260        {"shape":"AccessDeniedException"},
261        {"shape":"ConflictException"},
262        {"shape":"InternalServerException"},
263        {"shape":"ResourceNotFoundException"},
264        {"shape":"ThrottlingException"},
265        {"shape":"ValidationException"}
266      ]
267    },
268    "SearchInsights":{
269      "name":"SearchInsights",
270      "http":{
271        "method":"POST",
272        "requestUri":"/insights/search",
273        "responseCode":200
274      },
275      "input":{"shape":"SearchInsightsRequest"},
276      "output":{"shape":"SearchInsightsResponse"},
277      "errors":[
278        {"shape":"AccessDeniedException"},
279        {"shape":"InternalServerException"},
280        {"shape":"ThrottlingException"},
281        {"shape":"ValidationException"}
282      ]
283    },
284    "UpdateResourceCollection":{
285      "name":"UpdateResourceCollection",
286      "http":{
287        "method":"PUT",
288        "requestUri":"/resource-collections",
289        "responseCode":200
290      },
291      "input":{"shape":"UpdateResourceCollectionRequest"},
292      "output":{"shape":"UpdateResourceCollectionResponse"},
293      "errors":[
294        {"shape":"AccessDeniedException"},
295        {"shape":"ConflictException"},
296        {"shape":"InternalServerException"},
297        {"shape":"ThrottlingException"},
298        {"shape":"ValidationException"}
299      ]
300    },
301    "UpdateServiceIntegration":{
302      "name":"UpdateServiceIntegration",
303      "http":{
304        "method":"PUT",
305        "requestUri":"/service-integrations",
306        "responseCode":200
307      },
308      "input":{"shape":"UpdateServiceIntegrationRequest"},
309      "output":{"shape":"UpdateServiceIntegrationResponse"},
310      "errors":[
311        {"shape":"AccessDeniedException"},
312        {"shape":"ConflictException"},
313        {"shape":"InternalServerException"},
314        {"shape":"ThrottlingException"},
315        {"shape":"ValidationException"}
316      ]
317    }
318  },
319  "shapes":{
320    "AccessDeniedException":{
321      "type":"structure",
322      "required":["Message"],
323      "members":{
324        "Message":{"shape":"ErrorMessageString"}
325      },
326      "error":{"httpStatusCode":403},
327      "exception":true
328    },
329    "AddNotificationChannelRequest":{
330      "type":"structure",
331      "required":["Config"],
332      "members":{
333        "Config":{"shape":"NotificationChannelConfig"}
334      }
335    },
336    "AddNotificationChannelResponse":{
337      "type":"structure",
338      "required":["Id"],
339      "members":{
340        "Id":{"shape":"NotificationChannelId"}
341      }
342    },
343    "AnomalyId":{
344      "type":"string",
345      "max":100,
346      "min":1,
347      "pattern":"^[\\w-]*$"
348    },
349    "AnomalyLimit":{
350      "type":"double",
351      "box":true
352    },
353    "AnomalySeverity":{
354      "type":"string",
355      "enum":[
356        "LOW",
357        "MEDIUM",
358        "HIGH"
359      ]
360    },
361    "AnomalySourceDetails":{
362      "type":"structure",
363      "members":{
364        "CloudWatchMetrics":{"shape":"CloudWatchMetricsDetails"}
365      }
366    },
367    "AnomalyStatus":{
368      "type":"string",
369      "enum":[
370        "ONGOING",
371        "CLOSED"
372      ]
373    },
374    "AnomalyTimeRange":{
375      "type":"structure",
376      "required":["StartTime"],
377      "members":{
378        "StartTime":{"shape":"Timestamp"},
379        "EndTime":{"shape":"Timestamp"}
380      }
381    },
382    "Channels":{
383      "type":"list",
384      "member":{"shape":"NotificationChannel"}
385    },
386    "CloudFormationCollection":{
387      "type":"structure",
388      "members":{
389        "StackNames":{"shape":"StackNames"}
390      }
391    },
392    "CloudFormationCollectionFilter":{
393      "type":"structure",
394      "members":{
395        "StackNames":{"shape":"StackNames"}
396      }
397    },
398    "CloudFormationHealth":{
399      "type":"structure",
400      "members":{
401        "StackName":{"shape":"StackName"},
402        "Insight":{"shape":"InsightHealth"}
403      }
404    },
405    "CloudFormationHealths":{
406      "type":"list",
407      "member":{"shape":"CloudFormationHealth"}
408    },
409    "CloudWatchMetricsDetail":{
410      "type":"structure",
411      "members":{
412        "MetricName":{"shape":"CloudWatchMetricsMetricName"},
413        "Namespace":{"shape":"CloudWatchMetricsNamespace"},
414        "Dimensions":{"shape":"CloudWatchMetricsDimensions"},
415        "Stat":{"shape":"CloudWatchMetricsStat"},
416        "Unit":{"shape":"CloudWatchMetricsUnit"},
417        "Period":{"shape":"CloudWatchMetricsPeriod"}
418      }
419    },
420    "CloudWatchMetricsDetails":{
421      "type":"list",
422      "member":{"shape":"CloudWatchMetricsDetail"}
423    },
424    "CloudWatchMetricsDimension":{
425      "type":"structure",
426      "members":{
427        "Name":{"shape":"CloudWatchMetricsDimensionName"},
428        "Value":{"shape":"CloudWatchMetricsDimensionValue"}
429      }
430    },
431    "CloudWatchMetricsDimensionName":{"type":"string"},
432    "CloudWatchMetricsDimensionValue":{"type":"string"},
433    "CloudWatchMetricsDimensions":{
434      "type":"list",
435      "member":{"shape":"CloudWatchMetricsDimension"}
436    },
437    "CloudWatchMetricsMetricName":{"type":"string"},
438    "CloudWatchMetricsNamespace":{"type":"string"},
439    "CloudWatchMetricsPeriod":{"type":"integer"},
440    "CloudWatchMetricsStat":{
441      "type":"string",
442      "enum":[
443        "Sum",
444        "Average",
445        "SampleCount",
446        "Minimum",
447        "Maximum",
448        "p99",
449        "p90",
450        "p50"
451      ]
452    },
453    "CloudWatchMetricsUnit":{"type":"string"},
454    "ConflictException":{
455      "type":"structure",
456      "required":[
457        "Message",
458        "ResourceId",
459        "ResourceType"
460      ],
461      "members":{
462        "Message":{"shape":"ErrorMessageString"},
463        "ResourceId":{"shape":"ResourceIdString"},
464        "ResourceType":{"shape":"ResourceIdType"}
465      },
466      "error":{"httpStatusCode":409},
467      "exception":true
468    },
469    "DescribeAccountHealthRequest":{
470      "type":"structure",
471      "members":{
472      }
473    },
474    "DescribeAccountHealthResponse":{
475      "type":"structure",
476      "required":[
477        "OpenReactiveInsights",
478        "OpenProactiveInsights",
479        "MetricsAnalyzed",
480        "ResourceHours"
481      ],
482      "members":{
483        "OpenReactiveInsights":{"shape":"NumOpenReactiveInsights"},
484        "OpenProactiveInsights":{"shape":"NumOpenProactiveInsights"},
485        "MetricsAnalyzed":{"shape":"NumMetricsAnalyzed"},
486        "ResourceHours":{"shape":"ResourceHours"}
487      }
488    },
489    "DescribeAccountOverviewRequest":{
490      "type":"structure",
491      "required":["FromTime"],
492      "members":{
493        "FromTime":{"shape":"Timestamp"},
494        "ToTime":{"shape":"Timestamp"}
495      }
496    },
497    "DescribeAccountOverviewResponse":{
498      "type":"structure",
499      "required":[
500        "ReactiveInsights",
501        "ProactiveInsights",
502        "MeanTimeToRecoverInMilliseconds"
503      ],
504      "members":{
505        "ReactiveInsights":{"shape":"NumReactiveInsights"},
506        "ProactiveInsights":{"shape":"NumProactiveInsights"},
507        "MeanTimeToRecoverInMilliseconds":{"shape":"MeanTimeToRecoverInMilliseconds"}
508      }
509    },
510    "DescribeAnomalyRequest":{
511      "type":"structure",
512      "required":["Id"],
513      "members":{
514        "Id":{
515          "shape":"AnomalyId",
516          "location":"uri",
517          "locationName":"Id"
518        }
519      }
520    },
521    "DescribeAnomalyResponse":{
522      "type":"structure",
523      "members":{
524        "ProactiveAnomaly":{"shape":"ProactiveAnomaly"},
525        "ReactiveAnomaly":{"shape":"ReactiveAnomaly"}
526      }
527    },
528    "DescribeInsightRequest":{
529      "type":"structure",
530      "required":["Id"],
531      "members":{
532        "Id":{
533          "shape":"InsightId",
534          "location":"uri",
535          "locationName":"Id"
536        }
537      }
538    },
539    "DescribeInsightResponse":{
540      "type":"structure",
541      "members":{
542        "ProactiveInsight":{"shape":"ProactiveInsight"},
543        "ReactiveInsight":{"shape":"ReactiveInsight"}
544      }
545    },
546    "DescribeResourceCollectionHealthRequest":{
547      "type":"structure",
548      "required":["ResourceCollectionType"],
549      "members":{
550        "ResourceCollectionType":{
551          "shape":"ResourceCollectionType",
552          "location":"uri",
553          "locationName":"ResourceCollectionType"
554        },
555        "NextToken":{
556          "shape":"UuidNextToken",
557          "location":"querystring",
558          "locationName":"NextToken"
559        }
560      }
561    },
562    "DescribeResourceCollectionHealthResponse":{
563      "type":"structure",
564      "required":["CloudFormation"],
565      "members":{
566        "CloudFormation":{"shape":"CloudFormationHealths"},
567        "NextToken":{"shape":"UuidNextToken"}
568      }
569    },
570    "DescribeServiceIntegrationRequest":{
571      "type":"structure",
572      "members":{
573      }
574    },
575    "DescribeServiceIntegrationResponse":{
576      "type":"structure",
577      "members":{
578        "ServiceIntegration":{"shape":"ServiceIntegrationConfig"}
579      }
580    },
581    "EndTimeRange":{
582      "type":"structure",
583      "members":{
584        "FromTime":{"shape":"Timestamp"},
585        "ToTime":{"shape":"Timestamp"}
586      }
587    },
588    "ErrorMessageString":{"type":"string"},
589    "ErrorNameString":{"type":"string"},
590    "ErrorQuotaCodeString":{"type":"string"},
591    "ErrorServiceCodeString":{"type":"string"},
592    "Event":{
593      "type":"structure",
594      "members":{
595        "ResourceCollection":{"shape":"ResourceCollection"},
596        "Id":{"shape":"EventId"},
597        "Time":{"shape":"Timestamp"},
598        "EventSource":{"shape":"EventSource"},
599        "Name":{"shape":"EventName"},
600        "DataSource":{"shape":"EventDataSource"},
601        "EventClass":{"shape":"EventClass"},
602        "Resources":{"shape":"EventResources"}
603      }
604    },
605    "EventClass":{
606      "type":"string",
607      "enum":[
608        "INFRASTRUCTURE",
609        "DEPLOYMENT",
610        "SECURITY_CHANGE",
611        "CONFIG_CHANGE",
612        "SCHEMA_CHANGE"
613      ]
614    },
615    "EventDataSource":{
616      "type":"string",
617      "enum":[
618        "AWS_CLOUD_TRAIL",
619        "AWS_CODE_DEPLOY"
620      ]
621    },
622    "EventId":{"type":"string"},
623    "EventName":{
624      "type":"string",
625      "max":50,
626      "min":0
627    },
628    "EventResource":{
629      "type":"structure",
630      "members":{
631        "Type":{"shape":"EventResourceType"},
632        "Name":{"shape":"EventResourceName"},
633        "Arn":{"shape":"EventResourceArn"}
634      }
635    },
636    "EventResourceArn":{
637      "type":"string",
638      "max":2048,
639      "min":36,
640      "pattern":"^arn:aws[-a-z]*:[a-z0-9-]*:[a-z0-9-]*:\\d{12}:.*$"
641    },
642    "EventResourceName":{
643      "type":"string",
644      "max":2048,
645      "min":0,
646      "pattern":"^.*$"
647    },
648    "EventResourceType":{
649      "type":"string",
650      "max":2048,
651      "min":0,
652      "pattern":"^.*$"
653    },
654    "EventResources":{
655      "type":"list",
656      "member":{"shape":"EventResource"}
657    },
658    "EventSource":{
659      "type":"string",
660      "max":50,
661      "min":10,
662      "pattern":"^[a-z]+[a-z0-9]*\\.amazonaws\\.com|aws\\.events$"
663    },
664    "EventTimeRange":{
665      "type":"structure",
666      "required":[
667        "FromTime",
668        "ToTime"
669      ],
670      "members":{
671        "FromTime":{"shape":"Timestamp"},
672        "ToTime":{"shape":"Timestamp"}
673      }
674    },
675    "Events":{
676      "type":"list",
677      "member":{"shape":"Event"}
678    },
679    "GetResourceCollectionRequest":{
680      "type":"structure",
681      "required":["ResourceCollectionType"],
682      "members":{
683        "ResourceCollectionType":{
684          "shape":"ResourceCollectionType",
685          "location":"uri",
686          "locationName":"ResourceCollectionType"
687        },
688        "NextToken":{
689          "shape":"UuidNextToken",
690          "location":"querystring",
691          "locationName":"NextToken"
692        }
693      }
694    },
695    "GetResourceCollectionResponse":{
696      "type":"structure",
697      "members":{
698        "ResourceCollection":{"shape":"ResourceCollectionFilter"},
699        "NextToken":{"shape":"UuidNextToken"}
700      }
701    },
702    "InsightFeedback":{
703      "type":"structure",
704      "members":{
705        "Id":{"shape":"InsightId"},
706        "Feedback":{"shape":"InsightFeedbackOption"}
707      }
708    },
709    "InsightFeedbackOption":{
710      "type":"string",
711      "enum":[
712        "VALID_COLLECTION",
713        "RECOMMENDATION_USEFUL",
714        "ALERT_TOO_SENSITIVE",
715        "DATA_NOISY_ANOMALY",
716        "DATA_INCORRECT"
717      ]
718    },
719    "InsightHealth":{
720      "type":"structure",
721      "members":{
722        "OpenProactiveInsights":{"shape":"NumOpenProactiveInsights"},
723        "OpenReactiveInsights":{"shape":"NumOpenReactiveInsights"},
724        "MeanTimeToRecoverInMilliseconds":{"shape":"MeanTimeToRecoverInMilliseconds"}
725      }
726    },
727    "InsightId":{
728      "type":"string",
729      "max":100,
730      "min":1,
731      "pattern":"^[\\w-]*$"
732    },
733    "InsightName":{
734      "type":"string",
735      "max":530,
736      "min":1,
737      "pattern":"^[\\s\\S]*$"
738    },
739    "InsightSeverities":{
740      "type":"list",
741      "member":{"shape":"InsightSeverity"},
742      "max":3,
743      "min":0
744    },
745    "InsightSeverity":{
746      "type":"string",
747      "enum":[
748        "LOW",
749        "MEDIUM",
750        "HIGH"
751      ]
752    },
753    "InsightStatus":{
754      "type":"string",
755      "enum":[
756        "ONGOING",
757        "CLOSED"
758      ]
759    },
760    "InsightStatuses":{
761      "type":"list",
762      "member":{"shape":"InsightStatus"},
763      "max":2,
764      "min":0
765    },
766    "InsightTimeRange":{
767      "type":"structure",
768      "required":["StartTime"],
769      "members":{
770        "StartTime":{"shape":"Timestamp"},
771        "EndTime":{"shape":"Timestamp"}
772      }
773    },
774    "InsightType":{
775      "type":"string",
776      "enum":[
777        "REACTIVE",
778        "PROACTIVE"
779      ]
780    },
781    "InternalServerException":{
782      "type":"structure",
783      "required":["Message"],
784      "members":{
785        "Message":{"shape":"ErrorMessageString"},
786        "RetryAfterSeconds":{
787          "shape":"RetryAfterSeconds",
788          "location":"header",
789          "locationName":"Retry-After"
790        }
791      },
792      "error":{"httpStatusCode":500},
793      "exception":true,
794      "fault":true
795    },
796    "ListAnomaliesForInsightMaxResults":{
797      "type":"integer",
798      "max":500,
799      "min":1
800    },
801    "ListAnomaliesForInsightRequest":{
802      "type":"structure",
803      "required":["InsightId"],
804      "members":{
805        "InsightId":{
806          "shape":"InsightId",
807          "location":"uri",
808          "locationName":"InsightId"
809        },
810        "StartTimeRange":{"shape":"StartTimeRange"},
811        "MaxResults":{"shape":"ListAnomaliesForInsightMaxResults"},
812        "NextToken":{"shape":"UuidNextToken"}
813      }
814    },
815    "ListAnomaliesForInsightResponse":{
816      "type":"structure",
817      "members":{
818        "ProactiveAnomalies":{"shape":"ProactiveAnomalies"},
819        "ReactiveAnomalies":{"shape":"ReactiveAnomalies"},
820        "NextToken":{"shape":"UuidNextToken"}
821      }
822    },
823    "ListEventsFilters":{
824      "type":"structure",
825      "members":{
826        "InsightId":{"shape":"InsightId"},
827        "EventTimeRange":{"shape":"EventTimeRange"},
828        "EventClass":{"shape":"EventClass"},
829        "EventSource":{"shape":"EventSource"},
830        "DataSource":{"shape":"EventDataSource"},
831        "ResourceCollection":{"shape":"ResourceCollection"}
832      }
833    },
834    "ListEventsMaxResults":{
835      "type":"integer",
836      "max":200,
837      "min":1
838    },
839    "ListEventsRequest":{
840      "type":"structure",
841      "required":["Filters"],
842      "members":{
843        "Filters":{"shape":"ListEventsFilters"},
844        "MaxResults":{"shape":"ListEventsMaxResults"},
845        "NextToken":{"shape":"UuidNextToken"}
846      }
847    },
848    "ListEventsResponse":{
849      "type":"structure",
850      "required":["Events"],
851      "members":{
852        "Events":{"shape":"Events"},
853        "NextToken":{"shape":"UuidNextToken"}
854      }
855    },
856    "ListInsightsAnyStatusFilter":{
857      "type":"structure",
858      "required":[
859        "Type",
860        "StartTimeRange"
861      ],
862      "members":{
863        "Type":{"shape":"InsightType"},
864        "StartTimeRange":{"shape":"StartTimeRange"}
865      }
866    },
867    "ListInsightsClosedStatusFilter":{
868      "type":"structure",
869      "required":[
870        "Type",
871        "EndTimeRange"
872      ],
873      "members":{
874        "Type":{"shape":"InsightType"},
875        "EndTimeRange":{"shape":"EndTimeRange"}
876      }
877    },
878    "ListInsightsMaxResults":{
879      "type":"integer",
880      "max":100,
881      "min":1
882    },
883    "ListInsightsOngoingStatusFilter":{
884      "type":"structure",
885      "required":["Type"],
886      "members":{
887        "Type":{"shape":"InsightType"}
888      }
889    },
890    "ListInsightsRequest":{
891      "type":"structure",
892      "required":["StatusFilter"],
893      "members":{
894        "StatusFilter":{"shape":"ListInsightsStatusFilter"},
895        "MaxResults":{"shape":"ListInsightsMaxResults"},
896        "NextToken":{"shape":"UuidNextToken"}
897      }
898    },
899    "ListInsightsResponse":{
900      "type":"structure",
901      "members":{
902        "ProactiveInsights":{"shape":"ProactiveInsights"},
903        "ReactiveInsights":{"shape":"ReactiveInsights"},
904        "NextToken":{"shape":"UuidNextToken"}
905      }
906    },
907    "ListInsightsStatusFilter":{
908      "type":"structure",
909      "members":{
910        "Ongoing":{"shape":"ListInsightsOngoingStatusFilter"},
911        "Closed":{"shape":"ListInsightsClosedStatusFilter"},
912        "Any":{"shape":"ListInsightsAnyStatusFilter"}
913      }
914    },
915    "ListNotificationChannelsRequest":{
916      "type":"structure",
917      "members":{
918        "NextToken":{"shape":"UuidNextToken"}
919      }
920    },
921    "ListNotificationChannelsResponse":{
922      "type":"structure",
923      "members":{
924        "Channels":{"shape":"Channels"},
925        "NextToken":{"shape":"UuidNextToken"}
926      }
927    },
928    "ListRecommendationsRequest":{
929      "type":"structure",
930      "required":["InsightId"],
931      "members":{
932        "InsightId":{"shape":"InsightId"},
933        "NextToken":{"shape":"UuidNextToken"}
934      }
935    },
936    "ListRecommendationsResponse":{
937      "type":"structure",
938      "members":{
939        "Recommendations":{"shape":"Recommendations"},
940        "NextToken":{"shape":"UuidNextToken"}
941      }
942    },
943    "MeanTimeToRecoverInMilliseconds":{"type":"long"},
944    "NotificationChannel":{
945      "type":"structure",
946      "members":{
947        "Id":{"shape":"NotificationChannelId"},
948        "Config":{"shape":"NotificationChannelConfig"}
949      }
950    },
951    "NotificationChannelConfig":{
952      "type":"structure",
953      "required":["Sns"],
954      "members":{
955        "Sns":{"shape":"SnsChannelConfig"}
956      }
957    },
958    "NotificationChannelId":{
959      "type":"string",
960      "max":36,
961      "min":36,
962      "pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
963    },
964    "NumMetricsAnalyzed":{"type":"integer"},
965    "NumOpenProactiveInsights":{"type":"integer"},
966    "NumOpenReactiveInsights":{"type":"integer"},
967    "NumProactiveInsights":{"type":"integer"},
968    "NumReactiveInsights":{"type":"integer"},
969    "OpsCenterIntegration":{
970      "type":"structure",
971      "members":{
972        "OptInStatus":{"shape":"OptInStatus"}
973      }
974    },
975    "OpsCenterIntegrationConfig":{
976      "type":"structure",
977      "members":{
978        "OptInStatus":{"shape":"OptInStatus"}
979      }
980    },
981    "OptInStatus":{
982      "type":"string",
983      "enum":[
984        "ENABLED",
985        "DISABLED"
986      ]
987    },
988    "PredictionTimeRange":{
989      "type":"structure",
990      "required":["StartTime"],
991      "members":{
992        "StartTime":{"shape":"Timestamp"},
993        "EndTime":{"shape":"Timestamp"}
994      }
995    },
996    "ProactiveAnomalies":{
997      "type":"list",
998      "member":{"shape":"ProactiveAnomalySummary"}
999    },
1000    "ProactiveAnomaly":{
1001      "type":"structure",
1002      "members":{
1003        "Id":{"shape":"AnomalyId"},
1004        "Severity":{"shape":"AnomalySeverity"},
1005        "Status":{"shape":"AnomalyStatus"},
1006        "UpdateTime":{"shape":"Timestamp"},
1007        "AnomalyTimeRange":{"shape":"AnomalyTimeRange"},
1008        "PredictionTimeRange":{"shape":"PredictionTimeRange"},
1009        "SourceDetails":{"shape":"AnomalySourceDetails"},
1010        "AssociatedInsightId":{"shape":"InsightId"},
1011        "ResourceCollection":{"shape":"ResourceCollection"},
1012        "Limit":{"shape":"AnomalyLimit"}
1013      }
1014    },
1015    "ProactiveAnomalySummary":{
1016      "type":"structure",
1017      "members":{
1018        "Id":{"shape":"AnomalyId"},
1019        "Severity":{"shape":"AnomalySeverity"},
1020        "Status":{"shape":"AnomalyStatus"},
1021        "UpdateTime":{"shape":"Timestamp"},
1022        "AnomalyTimeRange":{"shape":"AnomalyTimeRange"},
1023        "PredictionTimeRange":{"shape":"PredictionTimeRange"},
1024        "SourceDetails":{"shape":"AnomalySourceDetails"},
1025        "AssociatedInsightId":{"shape":"InsightId"},
1026        "ResourceCollection":{"shape":"ResourceCollection"},
1027        "Limit":{"shape":"AnomalyLimit"}
1028      }
1029    },
1030    "ProactiveInsight":{
1031      "type":"structure",
1032      "members":{
1033        "Id":{"shape":"InsightId"},
1034        "Name":{"shape":"InsightName"},
1035        "Severity":{"shape":"InsightSeverity"},
1036        "Status":{"shape":"InsightStatus"},
1037        "InsightTimeRange":{"shape":"InsightTimeRange"},
1038        "PredictionTimeRange":{"shape":"PredictionTimeRange"},
1039        "ResourceCollection":{"shape":"ResourceCollection"},
1040        "SsmOpsItemId":{"shape":"SsmOpsItemId"}
1041      }
1042    },
1043    "ProactiveInsightSummary":{
1044      "type":"structure",
1045      "members":{
1046        "Id":{"shape":"InsightId"},
1047        "Name":{"shape":"InsightName"},
1048        "Severity":{"shape":"InsightSeverity"},
1049        "Status":{"shape":"InsightStatus"},
1050        "InsightTimeRange":{"shape":"InsightTimeRange"},
1051        "PredictionTimeRange":{"shape":"PredictionTimeRange"},
1052        "ResourceCollection":{"shape":"ResourceCollection"}
1053      }
1054    },
1055    "ProactiveInsights":{
1056      "type":"list",
1057      "member":{"shape":"ProactiveInsightSummary"}
1058    },
1059    "PutFeedbackRequest":{
1060      "type":"structure",
1061      "members":{
1062        "InsightFeedback":{"shape":"InsightFeedback"}
1063      }
1064    },
1065    "PutFeedbackResponse":{
1066      "type":"structure",
1067      "members":{
1068      }
1069    },
1070    "ReactiveAnomalies":{
1071      "type":"list",
1072      "member":{"shape":"ReactiveAnomalySummary"}
1073    },
1074    "ReactiveAnomaly":{
1075      "type":"structure",
1076      "members":{
1077        "Id":{"shape":"AnomalyId"},
1078        "Severity":{"shape":"AnomalySeverity"},
1079        "Status":{"shape":"AnomalyStatus"},
1080        "AnomalyTimeRange":{"shape":"AnomalyTimeRange"},
1081        "SourceDetails":{"shape":"AnomalySourceDetails"},
1082        "AssociatedInsightId":{"shape":"InsightId"},
1083        "ResourceCollection":{"shape":"ResourceCollection"}
1084      }
1085    },
1086    "ReactiveAnomalySummary":{
1087      "type":"structure",
1088      "members":{
1089        "Id":{"shape":"AnomalyId"},
1090        "Severity":{"shape":"AnomalySeverity"},
1091        "Status":{"shape":"AnomalyStatus"},
1092        "AnomalyTimeRange":{"shape":"AnomalyTimeRange"},
1093        "SourceDetails":{"shape":"AnomalySourceDetails"},
1094        "AssociatedInsightId":{"shape":"InsightId"},
1095        "ResourceCollection":{"shape":"ResourceCollection"}
1096      }
1097    },
1098    "ReactiveInsight":{
1099      "type":"structure",
1100      "members":{
1101        "Id":{"shape":"InsightId"},
1102        "Name":{"shape":"InsightName"},
1103        "Severity":{"shape":"InsightSeverity"},
1104        "Status":{"shape":"InsightStatus"},
1105        "InsightTimeRange":{"shape":"InsightTimeRange"},
1106        "ResourceCollection":{"shape":"ResourceCollection"},
1107        "SsmOpsItemId":{"shape":"SsmOpsItemId"}
1108      }
1109    },
1110    "ReactiveInsightSummary":{
1111      "type":"structure",
1112      "members":{
1113        "Id":{"shape":"InsightId"},
1114        "Name":{"shape":"InsightName"},
1115        "Severity":{"shape":"InsightSeverity"},
1116        "Status":{"shape":"InsightStatus"},
1117        "InsightTimeRange":{"shape":"InsightTimeRange"},
1118        "ResourceCollection":{"shape":"ResourceCollection"}
1119      }
1120    },
1121    "ReactiveInsights":{
1122      "type":"list",
1123      "member":{"shape":"ReactiveInsightSummary"}
1124    },
1125    "Recommendation":{
1126      "type":"structure",
1127      "members":{
1128        "Description":{"shape":"RecommendationDescription"},
1129        "Link":{"shape":"RecommendationLink"},
1130        "Name":{"shape":"RecommendationName"},
1131        "Reason":{"shape":"RecommendationReason"},
1132        "RelatedEvents":{"shape":"RecommendationRelatedEvents"},
1133        "RelatedAnomalies":{"shape":"RecommendationRelatedAnomalies"}
1134      }
1135    },
1136    "RecommendationDescription":{"type":"string"},
1137    "RecommendationLink":{"type":"string"},
1138    "RecommendationName":{"type":"string"},
1139    "RecommendationReason":{"type":"string"},
1140    "RecommendationRelatedAnomalies":{
1141      "type":"list",
1142      "member":{"shape":"RecommendationRelatedAnomaly"}
1143    },
1144    "RecommendationRelatedAnomaly":{
1145      "type":"structure",
1146      "members":{
1147        "Resources":{"shape":"RecommendationRelatedAnomalyResources"},
1148        "SourceDetails":{"shape":"RelatedAnomalySourceDetails"}
1149      }
1150    },
1151    "RecommendationRelatedAnomalyResource":{
1152      "type":"structure",
1153      "members":{
1154        "Name":{"shape":"RecommendationRelatedAnomalyResourceName"},
1155        "Type":{"shape":"RecommendationRelatedAnomalyResourceType"}
1156      }
1157    },
1158    "RecommendationRelatedAnomalyResourceName":{"type":"string"},
1159    "RecommendationRelatedAnomalyResourceType":{"type":"string"},
1160    "RecommendationRelatedAnomalyResources":{
1161      "type":"list",
1162      "member":{"shape":"RecommendationRelatedAnomalyResource"}
1163    },
1164    "RecommendationRelatedAnomalySourceDetail":{
1165      "type":"structure",
1166      "members":{
1167        "CloudWatchMetrics":{"shape":"RecommendationRelatedCloudWatchMetricsSourceDetails"}
1168      }
1169    },
1170    "RecommendationRelatedCloudWatchMetricsSourceDetail":{
1171      "type":"structure",
1172      "members":{
1173        "MetricName":{"shape":"RecommendationRelatedCloudWatchMetricsSourceMetricName"},
1174        "Namespace":{"shape":"RecommendationRelatedCloudWatchMetricsSourceNamespace"}
1175      }
1176    },
1177    "RecommendationRelatedCloudWatchMetricsSourceDetails":{
1178      "type":"list",
1179      "member":{"shape":"RecommendationRelatedCloudWatchMetricsSourceDetail"}
1180    },
1181    "RecommendationRelatedCloudWatchMetricsSourceMetricName":{"type":"string"},
1182    "RecommendationRelatedCloudWatchMetricsSourceNamespace":{"type":"string"},
1183    "RecommendationRelatedEvent":{
1184      "type":"structure",
1185      "members":{
1186        "Name":{"shape":"RecommendationRelatedEventName"},
1187        "Resources":{"shape":"RecommendationRelatedEventResources"}
1188      }
1189    },
1190    "RecommendationRelatedEventName":{"type":"string"},
1191    "RecommendationRelatedEventResource":{
1192      "type":"structure",
1193      "members":{
1194        "Name":{"shape":"RecommendationRelatedEventResourceName"},
1195        "Type":{"shape":"RecommendationRelatedEventResourceType"}
1196      }
1197    },
1198    "RecommendationRelatedEventResourceName":{"type":"string"},
1199    "RecommendationRelatedEventResourceType":{"type":"string"},
1200    "RecommendationRelatedEventResources":{
1201      "type":"list",
1202      "member":{"shape":"RecommendationRelatedEventResource"}
1203    },
1204    "RecommendationRelatedEvents":{
1205      "type":"list",
1206      "member":{"shape":"RecommendationRelatedEvent"}
1207    },
1208    "Recommendations":{
1209      "type":"list",
1210      "member":{"shape":"Recommendation"},
1211      "max":10,
1212      "min":0
1213    },
1214    "RelatedAnomalySourceDetails":{
1215      "type":"list",
1216      "member":{"shape":"RecommendationRelatedAnomalySourceDetail"}
1217    },
1218    "RemoveNotificationChannelRequest":{
1219      "type":"structure",
1220      "required":["Id"],
1221      "members":{
1222        "Id":{
1223          "shape":"NotificationChannelId",
1224          "location":"uri",
1225          "locationName":"Id"
1226        }
1227      }
1228    },
1229    "RemoveNotificationChannelResponse":{
1230      "type":"structure",
1231      "members":{
1232      }
1233    },
1234    "ResourceCollection":{
1235      "type":"structure",
1236      "members":{
1237        "CloudFormation":{"shape":"CloudFormationCollection"}
1238      }
1239    },
1240    "ResourceCollectionFilter":{
1241      "type":"structure",
1242      "members":{
1243        "CloudFormation":{"shape":"CloudFormationCollectionFilter"}
1244      }
1245    },
1246    "ResourceCollectionType":{
1247      "type":"string",
1248      "enum":["AWS_CLOUD_FORMATION"]
1249    },
1250    "ResourceHours":{"type":"long"},
1251    "ResourceIdString":{"type":"string"},
1252    "ResourceIdType":{"type":"string"},
1253    "ResourceNotFoundException":{
1254      "type":"structure",
1255      "required":[
1256        "Message",
1257        "ResourceId",
1258        "ResourceType"
1259      ],
1260      "members":{
1261        "Message":{"shape":"ErrorMessageString"},
1262        "ResourceId":{"shape":"ResourceIdString"},
1263        "ResourceType":{"shape":"ResourceIdType"}
1264      },
1265      "error":{"httpStatusCode":404},
1266      "exception":true
1267    },
1268    "RetryAfterSeconds":{"type":"integer"},
1269    "SearchInsightsFilters":{
1270      "type":"structure",
1271      "members":{
1272        "Severities":{"shape":"InsightSeverities"},
1273        "Statuses":{"shape":"InsightStatuses"},
1274        "ResourceCollection":{"shape":"ResourceCollection"}
1275      }
1276    },
1277    "SearchInsightsMaxResults":{
1278      "type":"integer",
1279      "max":100,
1280      "min":1
1281    },
1282    "SearchInsightsRequest":{
1283      "type":"structure",
1284      "required":[
1285        "StartTimeRange",
1286        "Type"
1287      ],
1288      "members":{
1289        "StartTimeRange":{"shape":"StartTimeRange"},
1290        "Filters":{"shape":"SearchInsightsFilters"},
1291        "MaxResults":{"shape":"SearchInsightsMaxResults"},
1292        "NextToken":{"shape":"UuidNextToken"},
1293        "Type":{"shape":"InsightType"}
1294      }
1295    },
1296    "SearchInsightsResponse":{
1297      "type":"structure",
1298      "members":{
1299        "ProactiveInsights":{"shape":"ProactiveInsights"},
1300        "ReactiveInsights":{"shape":"ReactiveInsights"},
1301        "NextToken":{"shape":"UuidNextToken"}
1302      }
1303    },
1304    "ServiceIntegrationConfig":{
1305      "type":"structure",
1306      "members":{
1307        "OpsCenter":{"shape":"OpsCenterIntegration"}
1308      }
1309    },
1310    "ServiceQuotaExceededException":{
1311      "type":"structure",
1312      "members":{
1313        "Message":{"shape":"ErrorMessageString"}
1314      },
1315      "error":{"httpStatusCode":402},
1316      "exception":true
1317    },
1318    "SnsChannelConfig":{
1319      "type":"structure",
1320      "members":{
1321        "TopicArn":{"shape":"TopicArn"}
1322      }
1323    },
1324    "SsmOpsItemId":{
1325      "type":"string",
1326      "max":100,
1327      "min":1,
1328      "pattern":"^.*$"
1329    },
1330    "StackName":{
1331      "type":"string",
1332      "max":128,
1333      "min":1,
1334      "pattern":"^[a-zA-Z*]+[a-zA-Z0-9-]*$"
1335    },
1336    "StackNames":{
1337      "type":"list",
1338      "member":{"shape":"StackName"}
1339    },
1340    "StartTimeRange":{
1341      "type":"structure",
1342      "members":{
1343        "FromTime":{"shape":"Timestamp"},
1344        "ToTime":{"shape":"Timestamp"}
1345      }
1346    },
1347    "ThrottlingException":{
1348      "type":"structure",
1349      "required":["Message"],
1350      "members":{
1351        "Message":{"shape":"ErrorMessageString"},
1352        "QuotaCode":{"shape":"ErrorQuotaCodeString"},
1353        "ServiceCode":{"shape":"ErrorServiceCodeString"},
1354        "RetryAfterSeconds":{
1355          "shape":"RetryAfterSeconds",
1356          "location":"header",
1357          "locationName":"Retry-After"
1358        }
1359      },
1360      "error":{"httpStatusCode":429},
1361      "exception":true
1362    },
1363    "Timestamp":{"type":"timestamp"},
1364    "TopicArn":{
1365      "type":"string",
1366      "max":1024,
1367      "min":36,
1368      "pattern":"^arn:aws[a-z0-9-]*:sns:[a-z0-9-]+:\\d{12}:[^:]+$"
1369    },
1370    "UpdateCloudFormationCollectionFilter":{
1371      "type":"structure",
1372      "members":{
1373        "StackNames":{"shape":"UpdateStackNames"}
1374      }
1375    },
1376    "UpdateResourceCollectionAction":{
1377      "type":"string",
1378      "enum":[
1379        "ADD",
1380        "REMOVE"
1381      ]
1382    },
1383    "UpdateResourceCollectionFilter":{
1384      "type":"structure",
1385      "members":{
1386        "CloudFormation":{"shape":"UpdateCloudFormationCollectionFilter"}
1387      }
1388    },
1389    "UpdateResourceCollectionRequest":{
1390      "type":"structure",
1391      "required":[
1392        "Action",
1393        "ResourceCollection"
1394      ],
1395      "members":{
1396        "Action":{"shape":"UpdateResourceCollectionAction"},
1397        "ResourceCollection":{"shape":"UpdateResourceCollectionFilter"}
1398      }
1399    },
1400    "UpdateResourceCollectionResponse":{
1401      "type":"structure",
1402      "members":{
1403      }
1404    },
1405    "UpdateServiceIntegrationConfig":{
1406      "type":"structure",
1407      "members":{
1408        "OpsCenter":{"shape":"OpsCenterIntegrationConfig"}
1409      }
1410    },
1411    "UpdateServiceIntegrationRequest":{
1412      "type":"structure",
1413      "required":["ServiceIntegration"],
1414      "members":{
1415        "ServiceIntegration":{"shape":"UpdateServiceIntegrationConfig"}
1416      }
1417    },
1418    "UpdateServiceIntegrationResponse":{
1419      "type":"structure",
1420      "members":{
1421      }
1422    },
1423    "UpdateStackNames":{
1424      "type":"list",
1425      "member":{"shape":"StackName"},
1426      "max":100,
1427      "min":0
1428    },
1429    "UuidNextToken":{
1430      "type":"string",
1431      "max":36,
1432      "min":36,
1433      "pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
1434    },
1435    "ValidationException":{
1436      "type":"structure",
1437      "required":["Message"],
1438      "members":{
1439        "Message":{"shape":"ErrorMessageString"},
1440        "Reason":{"shape":"ValidationExceptionReason"},
1441        "Fields":{"shape":"ValidationExceptionFields"}
1442      },
1443      "error":{"httpStatusCode":400},
1444      "exception":true
1445    },
1446    "ValidationExceptionField":{
1447      "type":"structure",
1448      "required":[
1449        "Name",
1450        "Message"
1451      ],
1452      "members":{
1453        "Name":{"shape":"ErrorNameString"},
1454        "Message":{"shape":"ErrorMessageString"}
1455      }
1456    },
1457    "ValidationExceptionFields":{
1458      "type":"list",
1459      "member":{"shape":"ValidationExceptionField"}
1460    },
1461    "ValidationExceptionReason":{
1462      "type":"string",
1463      "enum":[
1464        "UNKNOWN_OPERATION",
1465        "CANNOT_PARSE",
1466        "FIELD_VALIDATION_FAILED",
1467        "OTHER"
1468      ]
1469    }
1470  }
1471}
1472