1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5import (
6	"time"
7)
8
9// Details about the source of the anomalous operational data that triggered the
10// anomaly. The one supported source is Amazon CloudWatch metrics.
11type AnomalySourceDetails struct {
12
13	// An array of CloudWatchMetricsDetail object that contains information about the
14	// analyzed metrics that displayed anomalous behavior.
15	CloudWatchMetrics []CloudWatchMetricsDetail
16}
17
18// A time range that specifies when the observed unusual behavior in an anomaly
19// started and ended.
20type AnomalyTimeRange struct {
21
22	// The time when the anomalous behavior started.
23	//
24	// This member is required.
25	StartTime *time.Time
26
27	// The time when the anomalous behavior ended.
28	EndTime *time.Time
29}
30
31// Information about AWS CloudFormation stacks. You can use stacks to specify which
32// AWS resources in your account to analyze. For more information, see Stacks
33// (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) in
34// the AWS CloudFormation User Guide.
35type CloudFormationCollection struct {
36
37	// An array of CloudFormation stack names.
38	StackNames []string
39}
40
41// Information about AWS CloudFormation stacks. You can use stacks to specify which
42// AWS resources in your account to analyze. For more information, see Stacks
43// (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) in
44// the AWS CloudFormation User Guide.
45type CloudFormationCollectionFilter struct {
46
47	// An array of CloudFormation stack names.
48	StackNames []string
49}
50
51// Information about the health of AWS resources in your account that are specified
52// by an AWS CloudFormation stack.
53type CloudFormationHealth struct {
54
55	// Information about the health of the AWS resources in your account that are
56	// specified by an AWS CloudFormation stack, including the number of open
57	// proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed
58	// insights.
59	Insight *InsightHealth
60
61	// The name of the CloudFormation stack.
62	StackName *string
63}
64
65// Information about an Amazon CloudWatch metric.
66type CloudWatchMetricsDetail struct {
67
68	// An array of CloudWatch dimensions associated with
69	Dimensions []CloudWatchMetricsDimension
70
71	// The name of the CloudWatch metric.
72	MetricName *string
73
74	// The namespace of the CloudWatch metric. A namespace is a container for
75	// CloudWatch metrics.
76	Namespace *string
77
78	// The length of time associated with the CloudWatch metric in number of seconds.
79	Period int32
80
81	// The type of statistic associated with the CloudWatch metric. For more
82	// information, see Statistics
83	// (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic)
84	// in the Amazon CloudWatch User Guide.
85	Stat CloudWatchMetricsStat
86
87	// The unit of measure used for the CloudWatch metric. For example, Bytes, Seconds,
88	// Count, and Percent.
89	Unit *string
90}
91
92// The dimension of a Amazon CloudWatch metric that is used when DevOps Guru
93// analyzes the resources in your account for operational problems and anomalous
94// behaviour. A dimension is a name/value pair that is part of the identity of a
95// metric. A metric can have up to 10 dimensions. For more information, see
96// Dimensions
97// (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension)
98// in the Amazon CloudWatch User Guide.
99type CloudWatchMetricsDimension struct {
100
101	// The name of the CloudWatch dimension.
102	Name *string
103
104	// The value of the CloudWatch dimension.
105	Value *string
106}
107
108// A range of time that specifies when anomalous behavior in an anomaly or insight
109// ended.
110type EndTimeRange struct {
111
112	// The earliest end time in the time range.
113	FromTime *time.Time
114
115	// The latest end time in the time range.
116	ToTime *time.Time
117}
118
119// An AWS resource event. AWS resource events and metrics are analyzed by DevOps
120// Guru to find anomalous behavior and provide recommendations to improve your
121// operational solutions.
122type Event struct {
123
124	// The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found
125	// the event.
126	DataSource EventDataSource
127
128	// The class of the event. The class specifies what the event is related to, such
129	// as an infrastructure change, a deployment, or a schema change.
130	EventClass EventClass
131
132	// The AWS source that emitted the event.
133	EventSource *string
134
135	// The ID of the event.
136	Id *string
137
138	// The name of the event.
139	Name *string
140
141	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
142	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
143	// configured to analyze only the AWS resources that are defined in the stacks.
144	ResourceCollection *ResourceCollection
145
146	// An EventResource object that contains information about the resource that
147	// emitted the event.
148	Resources []EventResource
149
150	// A Timestamp that specifies the time the event occurred.
151	Time *time.Time
152}
153
154// The AWS resource that emitted an event. AWS resource events and metrics are
155// analyzed by DevOps Guru to find anomalous behavior and provide recommendations
156// to improve your operational solutions.
157type EventResource struct {
158
159	// The Amazon Resource Name (ARN) of the resource that emitted an event.
160	Arn *string
161
162	// The name of the resource that emitted an event.
163	Name *string
164
165	// The type of resource that emitted an event.
166	Type *string
167}
168
169// The time range during which an AWS event occurred. AWS resource events and
170// metrics are analyzed by DevOps Guru to find anomalous behavior and provide
171// recommendations to improve your operational solutions.
172type EventTimeRange struct {
173
174	// The time when the event started.
175	//
176	// This member is required.
177	FromTime *time.Time
178
179	// The time when the event ended.
180	//
181	// This member is required.
182	ToTime *time.Time
183}
184
185// Information about insight feedback received from a customer.
186type InsightFeedback struct {
187
188	// The feedback provided by the customer.
189	Feedback InsightFeedbackOption
190
191	// The insight feedback ID.
192	Id *string
193}
194
195// Information about the number of open reactive and proactive insights that can be
196// used to gauge the health of your system.
197type InsightHealth struct {
198
199	// The Meant Time to Recover (MTTR) for the insight.
200	MeanTimeToRecoverInMilliseconds *int64
201
202	// The number of open proactive insights.
203	OpenProactiveInsights int32
204
205	// The number of open reactive insights.
206	OpenReactiveInsights int32
207}
208
209// A time ranged that specifies when the observed behavior in an insight started
210// and ended.
211type InsightTimeRange struct {
212
213	// The time when the behavior described in an insight started.
214	//
215	// This member is required.
216	StartTime *time.Time
217
218	// The time when the behavior described in an insight ended.
219	EndTime *time.Time
220}
221
222// Filters you can use to specify which events are returned when ListEvents is
223// called.
224type ListEventsFilters struct {
225
226	// The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of the events you want returned.
227	DataSource EventDataSource
228
229	// The class of the events you want to filter for, such as an infrastructure
230	// change, a deployment, or a schema change.
231	EventClass EventClass
232
233	// The AWS source that emitted the events you want to filter for.
234	EventSource *string
235
236	// A time range during which you want the filtered events to have occurred.
237	EventTimeRange *EventTimeRange
238
239	// An ID of an insight that is related to the events you want to filter for.
240	InsightId *string
241
242	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
243	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
244	// configured to analyze only the AWS resources that are defined in the stacks.
245	ResourceCollection *ResourceCollection
246}
247
248// Used to filter for insights that have any status.
249type ListInsightsAnyStatusFilter struct {
250
251	// A time range used to specify when the behavior of the filtered insights started.
252	//
253	// This member is required.
254	StartTimeRange *StartTimeRange
255
256	// Use to filter for either REACTIVE or PROACTIVE insights.
257	//
258	// This member is required.
259	Type InsightType
260}
261
262// Used to filter for insights that have the status CLOSED.
263type ListInsightsClosedStatusFilter struct {
264
265	// A time range used to specify when the behavior of the filtered insights ended.
266	//
267	// This member is required.
268	EndTimeRange *EndTimeRange
269
270	// Use to filter for either REACTIVE or PROACTIVE insights.
271	//
272	// This member is required.
273	Type InsightType
274}
275
276// Used to filter for insights that have the status ONGOING.
277type ListInsightsOngoingStatusFilter struct {
278
279	// Use to filter for either REACTIVE or PROACTIVE insights.
280	//
281	// This member is required.
282	Type InsightType
283}
284
285// A filter used by ListInsights to specify which insights to return.
286type ListInsightsStatusFilter struct {
287
288	// A ListInsightsAnyStatusFilter that specifies insights of any status that are
289	// either REACTIVE or PROACTIVE.
290	Any *ListInsightsAnyStatusFilter
291
292	// A ListInsightsClosedStatusFilter that specifies closed insights that are either
293	// REACTIVE or PROACTIVE.
294	Closed *ListInsightsClosedStatusFilter
295
296	// A ListInsightsAnyStatusFilter that specifies ongoing insights that are either
297	// REACTIVE or PROACTIVE.
298	Ongoing *ListInsightsOngoingStatusFilter
299}
300
301// Information about a notification channel. A notification channel is used to
302// notify you when DevOps Guru creates an insight. The one supported notification
303// channel is Amazon Simple Notification Service (Amazon SNS). If you use an Amazon
304// SNS topic in another account, you must attach a policy to it that grants DevOps
305// Guru permission to it notifications. DevOps Guru adds the required policy on
306// your behalf to send notifications using Amazon SNS in your account. For more
307// information, see Permissions for cross account Amazon SNS topics
308// (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html).
309// If you use an Amazon SNS topic that is encrypted by an AWS Key Management
310// Service customer-managed key (CMK), then you must add permissions to the CMK.
311// For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics
312// (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html).
313type NotificationChannel struct {
314
315	// A NotificationChannelConfig object that contains information about configured
316	// notification channels.
317	Config *NotificationChannelConfig
318
319	// The ID of a notification channel.
320	Id *string
321}
322
323// Information about notification channels you have configured with DevOps Guru.
324// The one supported notification channel is Amazon Simple Notification Service
325// (Amazon SNS).
326type NotificationChannelConfig struct {
327
328	// Information about a notification channel configured in DevOps Guru to send
329	// notifications when insights are created. If you use an Amazon SNS topic in
330	// another account, you must attach a policy to it that grants DevOps Guru
331	// permission to it notifications. DevOps Guru adds the required policy on your
332	// behalf to send notifications using Amazon SNS in your account. For more
333	// information, see Permissions for cross account Amazon SNS topics
334	// (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html).
335	// If you use an Amazon SNS topic that is encrypted by an AWS Key Management
336	// Service customer-managed key (CMK), then you must add permissions to the CMK.
337	// For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics
338	// (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html).
339	//
340	// This member is required.
341	Sns *SnsChannelConfig
342}
343
344// Information about whether DevOps Guru is configured to create an OpsItem in AWS
345// Systems Manager OpsCenter for each created insight.
346type OpsCenterIntegration struct {
347
348	// Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem for
349	// each created insight.
350	OptInStatus OptInStatus
351}
352
353// Information about whether DevOps Guru is configured to create an OpsItem in AWS
354// Systems Manager OpsCenter for each created insight.
355type OpsCenterIntegrationConfig struct {
356
357	// Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem for
358	// each created insight.
359	OptInStatus OptInStatus
360}
361
362// The time range during which anomalous behavior in a proactive anomaly or an
363// insight is expected to occur.
364type PredictionTimeRange struct {
365
366	// The time range during which a metric limit is expected to be exceeded. This
367	// applies to proactive insights only.
368	//
369	// This member is required.
370	StartTime *time.Time
371
372	// The time when the behavior in a proactive insight is expected to end.
373	EndTime *time.Time
374}
375
376// Information about an anomaly. This object is returned by ListAnomalies.
377type ProactiveAnomaly struct {
378
379	// A time range that specifies when the observed unusual behavior in an anomaly
380	// started and ended.
381	AnomalyTimeRange *AnomalyTimeRange
382
383	// The ID of the insight that contains this anomaly. An insight is composed of
384	// related anomalies.
385	AssociatedInsightId *string
386
387	// The ID of a proactive anomaly.
388	Id *string
389
390	// A threshold that was exceeded by behavior in analyzed resources. Exceeding this
391	// threshold is related to the anomalous behavior that generated this anomaly.
392	Limit *float64
393
394	// The time range during which anomalous behavior in a proactive anomaly or an
395	// insight is expected to occur.
396	PredictionTimeRange *PredictionTimeRange
397
398	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
399	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
400	// configured to analyze only the AWS resources that are defined in the stacks.
401	ResourceCollection *ResourceCollection
402
403	// The severity of a proactive anomaly.
404	Severity AnomalySeverity
405
406	// Details about the source of the analyzed operational data that triggered the
407	// anomaly. The one supported source is Amazon CloudWatch metrics.
408	SourceDetails *AnomalySourceDetails
409
410	// The status of a proactive anomaly.
411	Status AnomalyStatus
412
413	// The time of the anomaly's most recent update.
414	UpdateTime *time.Time
415}
416
417// Details about a proactive anomaly. This object is returned by DescribeAnomaly.
418type ProactiveAnomalySummary struct {
419
420	// A time range that specifies when the observed unusual behavior in an anomaly
421	// started and ended.
422	AnomalyTimeRange *AnomalyTimeRange
423
424	// The ID of the insight that contains this anomaly. An insight is composed of
425	// related anomalies.
426	AssociatedInsightId *string
427
428	// The ID of the anomaly.
429	Id *string
430
431	// A threshold that was exceeded by behavior in analyzed resources. Exceeding this
432	// threshold is related to the anomalous behavior that generated this anomaly.
433	Limit *float64
434
435	// The time range during which anomalous behavior in a proactive anomaly or an
436	// insight is expected to occur.
437	PredictionTimeRange *PredictionTimeRange
438
439	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
440	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
441	// configured to analyze only the AWS resources that are defined in the stacks.
442	ResourceCollection *ResourceCollection
443
444	// The severity of the anomaly.
445	Severity AnomalySeverity
446
447	// Details about the source of the analyzed operational data that triggered the
448	// anomaly. The one supported source is Amazon CloudWatch metrics.
449	SourceDetails *AnomalySourceDetails
450
451	// The status of the anomaly.
452	Status AnomalyStatus
453
454	// The time of the anomaly's most recent update.
455	UpdateTime *time.Time
456}
457
458// Details about a proactive insight. This object is returned by ListInsights.
459type ProactiveInsight struct {
460
461	// The ID of the proactive insight.
462	Id *string
463
464	// A time ranged that specifies when the observed behavior in an insight started
465	// and ended.
466	InsightTimeRange *InsightTimeRange
467
468	// The name of the proactive insight.
469	Name *string
470
471	// The time range during which anomalous behavior in a proactive anomaly or an
472	// insight is expected to occur.
473	PredictionTimeRange *PredictionTimeRange
474
475	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
476	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
477	// configured to analyze only the AWS resources that are defined in the stacks.
478	ResourceCollection *ResourceCollection
479
480	// The severity of the proactive insight.
481	Severity InsightSeverity
482
483	// The ID of the AWS System Manager OpsItem created for this insight. You must
484	// enable the creation of OpstItems insights before they are created for each
485	// insight.
486	SsmOpsItemId *string
487
488	// The status of the proactive insight.
489	Status InsightStatus
490}
491
492// Details about a proactive insight. This object is returned by DescribeInsight.
493type ProactiveInsightSummary struct {
494
495	// The ID of the proactive insight.
496	Id *string
497
498	// A time ranged that specifies when the observed behavior in an insight started
499	// and ended.
500	InsightTimeRange *InsightTimeRange
501
502	// The name of the proactive insight.
503	Name *string
504
505	// The time range during which anomalous behavior in a proactive anomaly or an
506	// insight is expected to occur.
507	PredictionTimeRange *PredictionTimeRange
508
509	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
510	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
511	// configured to analyze only the AWS resources that are defined in the stacks.
512	ResourceCollection *ResourceCollection
513
514	// The severity of the proactive insight.
515	Severity InsightSeverity
516
517	// The status of the proactive insight.
518	Status InsightStatus
519}
520
521// Details about a reactive anomaly. This object is returned by ListAnomalies.
522type ReactiveAnomaly struct {
523
524	// A time range that specifies when the observed unusual behavior in an anomaly
525	// started and ended.
526	AnomalyTimeRange *AnomalyTimeRange
527
528	// The ID of the insight that contains this anomaly. An insight is composed of
529	// related anomalies.
530	AssociatedInsightId *string
531
532	// The ID of the reactive anomaly.
533	Id *string
534
535	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
536	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
537	// configured to analyze only the AWS resources that are defined in the stacks.
538	ResourceCollection *ResourceCollection
539
540	// The severity of the anomaly.
541	Severity AnomalySeverity
542
543	// Details about the source of the analyzed operational data that triggered the
544	// anomaly. The one supported source is Amazon CloudWatch metrics.
545	SourceDetails *AnomalySourceDetails
546
547	// The status of the anomaly.
548	Status AnomalyStatus
549}
550
551// Details about a reactive anomaly. This object is returned by DescribeAnomaly.
552type ReactiveAnomalySummary struct {
553
554	// A time range that specifies when the observed unusual behavior in an anomaly
555	// started and ended.
556	AnomalyTimeRange *AnomalyTimeRange
557
558	// The ID of the insight that contains this anomaly. An insight is composed of
559	// related anomalies.
560	AssociatedInsightId *string
561
562	// The ID of the reactive anomaly.
563	Id *string
564
565	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
566	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
567	// configured to analyze only the AWS resources that are defined in the stacks.
568	ResourceCollection *ResourceCollection
569
570	// The severity of the reactive anomaly.
571	Severity AnomalySeverity
572
573	// Details about the source of the analyzed operational data that triggered the
574	// anomaly. The one supported source is Amazon CloudWatch metrics.
575	SourceDetails *AnomalySourceDetails
576
577	// The status of the reactive anomaly.
578	Status AnomalyStatus
579}
580
581// Information about a reactive insight. This object is returned by ListInsights.
582type ReactiveInsight struct {
583
584	// The ID of a reactive insight.
585	Id *string
586
587	// A time ranged that specifies when the observed behavior in an insight started
588	// and ended.
589	InsightTimeRange *InsightTimeRange
590
591	// The name of a reactive insight.
592	Name *string
593
594	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
595	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
596	// configured to analyze only the AWS resources that are defined in the stacks.
597	ResourceCollection *ResourceCollection
598
599	// The severity of a reactive insight.
600	Severity InsightSeverity
601
602	// The ID of the AWS System Manager OpsItem created for this insight. You must
603	// enable the creation of OpstItems insights before they are created for each
604	// insight.
605	SsmOpsItemId *string
606
607	// The status of a reactive insight.
608	Status InsightStatus
609}
610
611// Information about a reactive insight. This object is returned by
612// DescribeInsight.
613type ReactiveInsightSummary struct {
614
615	// The ID of a reactive summary.
616	Id *string
617
618	// A time ranged that specifies when the observed behavior in an insight started
619	// and ended.
620	InsightTimeRange *InsightTimeRange
621
622	// The name of a reactive insight.
623	Name *string
624
625	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
626	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
627	// configured to analyze only the AWS resources that are defined in the stacks.
628	ResourceCollection *ResourceCollection
629
630	// The severity of a reactive insight.
631	Severity InsightSeverity
632
633	// The status of a reactive insight.
634	Status InsightStatus
635}
636
637// Recommendation information to help you remediate detected anomalous behavior
638// that generated an insight.
639type Recommendation struct {
640
641	// A description of the problem.
642	Description *string
643
644	// A hyperlink to information to help you address the problem.
645	Link *string
646
647	// The name of the recommendation.
648	Name *string
649
650	// The reason DevOps Guru flagged the anomalous behavior as a problem.
651	Reason *string
652
653	// Anomalies that are related to the problem. Use these Anomalies to learn more
654	// about what's happening and to help address the issue.
655	RelatedAnomalies []RecommendationRelatedAnomaly
656
657	// Events that are related to the problem. Use these events to learn more about
658	// what's happening and to help address the issue.
659	RelatedEvents []RecommendationRelatedEvent
660}
661
662// Information about an anomaly that is related to a recommendation.
663type RecommendationRelatedAnomaly struct {
664
665	// An array of objects that represent resources in which DevOps Guru detected
666	// anomalous behavior. Each object contains the name and type of the resource.
667	Resources []RecommendationRelatedAnomalyResource
668
669	// Information about where the anomalous behavior related the recommendation was
670	// found. For example, details in Amazon CloudWatch metrics.
671	SourceDetails []RecommendationRelatedAnomalySourceDetail
672}
673
674// Information about a resource in which DevOps Guru detected anomalous behavior.
675type RecommendationRelatedAnomalyResource struct {
676
677	// The name of the resource.
678	Name *string
679
680	// The type of the resource.
681	Type *string
682}
683
684// Contains an array of RecommendationRelatedCloudWatchMetricsSourceDetail objects
685// that contain the name and namespace of an Amazon CloudWatch metric.
686type RecommendationRelatedAnomalySourceDetail struct {
687
688	// An array of CloudWatchMetricsDetail objects that contains information about the
689	// analyzed metrics that displayed anomalous behavior.
690	CloudWatchMetrics []RecommendationRelatedCloudWatchMetricsSourceDetail
691}
692
693// Information about an Amazon CloudWatch metric that is analyzed by DevOps Guru.
694// It is one of many analyzed metrics that are used to generate insights.
695type RecommendationRelatedCloudWatchMetricsSourceDetail struct {
696
697	// The name of the CloudWatch metric.
698	MetricName *string
699
700	// The namespace of the CloudWatch metric. A namespace is a container for
701	// CloudWatch metrics.
702	Namespace *string
703}
704
705// Information about an event that is related to a recommendation.
706type RecommendationRelatedEvent struct {
707
708	// The name of the event. This corresponds to the Name field in an Event object.
709	Name *string
710
711	// A ResourceCollection object that contains arrays of the names of AWS
712	// CloudFormation stacks.
713	Resources []RecommendationRelatedEventResource
714}
715
716// Information about an AWS resource that emitted and event that is related to a
717// recommendation in an insight.
718type RecommendationRelatedEventResource struct {
719
720	// The name of the resource that emitted the event. This corresponds to the Name
721	// field in an EventResource object.
722	Name *string
723
724	// The type of the resource that emitted the event. This corresponds to the Type
725	// field in an EventResource object.
726	Type *string
727}
728
729// A collection of AWS resources supported by DevOps Guru. The one type of AWS
730// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
731// configured to analyze only the AWS resources that are defined in the stacks.
732type ResourceCollection struct {
733
734	// An array of the names of AWS CloudFormation stacks. The stacks define AWS
735	// resources that DevOps Guru analyzes.
736	CloudFormation *CloudFormationCollection
737}
738
739// Information about a filter used to specify which AWS resources are analyzed for
740// anomalous behavior by DevOps Guru.
741type ResourceCollectionFilter struct {
742
743	// Information about AWS CloudFormation stacks. You can use stacks to specify which
744	// AWS resources in your account to analyze. For more information, see Stacks
745	// (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) in
746	// the AWS CloudFormation User Guide.
747	CloudFormation *CloudFormationCollectionFilter
748}
749
750// Specifies one or more severity values and one or more status values that are
751// used to search for insights.
752type SearchInsightsFilters struct {
753
754	// A collection of AWS resources supported by DevOps Guru. The one type of AWS
755	// resource collection supported is AWS CloudFormation stacks. DevOps Guru can be
756	// configured to analyze only the AWS resources that are defined in the stacks.
757	ResourceCollection *ResourceCollection
758
759	// An array of severity values used to search for insights.
760	Severities []InsightSeverity
761
762	// An array of status values used to search for insights.
763	Statuses []InsightStatus
764}
765
766// Information about the integration of DevOps Guru with another AWS service, such
767// as AWS Systems Manager.
768type ServiceIntegrationConfig struct {
769
770	// Information about whether DevOps Guru is configured to create an OpsItem in AWS
771	// Systems Manager OpsCenter for each created insight.
772	OpsCenter *OpsCenterIntegration
773}
774
775// Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service
776// topic. If you use an Amazon SNS topic in another account, you must attach a
777// policy to it that grants DevOps Guru permission to it notifications. DevOps Guru
778// adds the required policy on your behalf to send notifications using Amazon SNS
779// in your account. For more information, see Permissions for cross account Amazon
780// SNS topics
781// (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html).
782// If you use an Amazon SNS topic that is encrypted by an AWS Key Management
783// Service customer-managed key (CMK), then you must add permissions to the CMK.
784// For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics
785// (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html).
786type SnsChannelConfig struct {
787
788	// The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
789	TopicArn *string
790}
791
792// A time range used to specify when the behavior of an insight or anomaly started.
793type StartTimeRange struct {
794
795	// The start time of the time range.
796	FromTime *time.Time
797
798	// The end time of the time range.
799	ToTime *time.Time
800}
801
802// Contains the names of AWS CloudFormation stacks used to update a collection of
803// stacks.
804type UpdateCloudFormationCollectionFilter struct {
805
806	// An array of the name of stacks to update.
807	StackNames []string
808}
809
810// Contains information used to update a collection of AWS resources.
811type UpdateResourceCollectionFilter struct {
812
813	// An collection of AWS CloudFormation stacks.
814	CloudFormation *UpdateCloudFormationCollectionFilter
815}
816
817// Information about updating the integration status of an AWS service, such as AWS
818// Systems Manager, with DevOps Guru.
819type UpdateServiceIntegrationConfig struct {
820
821	// Information about whether DevOps Guru is configured to create an OpsItem in AWS
822	// Systems Manager OpsCenter for each created insight.
823	OpsCenter *OpsCenterIntegrationConfig
824}
825
826// The field associated with the validation exception.
827type ValidationExceptionField struct {
828
829	// The message associated with the validation exception with information to help
830	// determine its cause.
831	//
832	// This member is required.
833	Message *string
834
835	// The name of the field.
836	//
837	// This member is required.
838	Name *string
839}
840