aws-sdk-devopsguru 1.16.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,17 +76,6 @@ module Aws::DevOpsGuru
76
76
  include Aws::Structure
77
77
  end
78
78
 
79
- # @note When making an API call, you may pass AddNotificationChannelRequest
80
- # data as a hash:
81
- #
82
- # {
83
- # config: { # required
84
- # sns: { # required
85
- # topic_arn: "TopicArn",
86
- # },
87
- # },
88
- # }
89
- #
90
79
  # @!attribute [rw] config
91
80
  # A `NotificationChannelConfig` object that specifies what type of
92
81
  # notification channel to add. The one supported notification channel
@@ -113,6 +102,61 @@ module Aws::DevOpsGuru
113
102
  include Aws::Structure
114
103
  end
115
104
 
105
+ # Information about your account's integration with Amazon CodeGuru
106
+ # Profiler. This returns whether DevOps Guru is configured to consume
107
+ # recommendations generated from Amazon CodeGuru Profiler.
108
+ #
109
+ # @!attribute [rw] status
110
+ # The status of the CodeGuru Profiler integration. Specifies if DevOps
111
+ # Guru is enabled to consume recommendations that are generated from
112
+ # Amazon CodeGuru Profiler.
113
+ # @return [String]
114
+ #
115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AmazonCodeGuruProfilerIntegration AWS API Documentation
116
+ #
117
+ class AmazonCodeGuruProfilerIntegration < Struct.new(
118
+ :status)
119
+ SENSITIVE = []
120
+ include Aws::Structure
121
+ end
122
+
123
+ # An Amazon CloudWatch log group that contains log anomalies and is used
124
+ # to generate an insight.
125
+ #
126
+ # @!attribute [rw] log_group_name
127
+ # The name of the CloudWatch log group.
128
+ # @return [String]
129
+ #
130
+ # @!attribute [rw] impact_start_time
131
+ # The time the anomalous log events began. The impact start time
132
+ # indicates the time of the first log anomaly event that occurs.
133
+ # @return [Time]
134
+ #
135
+ # @!attribute [rw] impact_end_time
136
+ # The time the anomalous log events stopped.
137
+ # @return [Time]
138
+ #
139
+ # @!attribute [rw] number_of_log_lines_scanned
140
+ # The number of log lines that were scanned for anomalous log events.
141
+ # @return [Integer]
142
+ #
143
+ # @!attribute [rw] log_anomaly_showcases
144
+ # The log anomalies in the log group. Each log anomaly displayed
145
+ # represents a cluster of similar anomalous log events.
146
+ # @return [Array<Types::LogAnomalyShowcase>]
147
+ #
148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalousLogGroup AWS API Documentation
149
+ #
150
+ class AnomalousLogGroup < Struct.new(
151
+ :log_group_name,
152
+ :impact_start_time,
153
+ :impact_end_time,
154
+ :number_of_log_lines_scanned,
155
+ :log_anomaly_showcases)
156
+ SENSITIVE = []
157
+ include Aws::Structure
158
+ end
159
+
116
160
  # A time range that specifies when DevOps Guru opens and then closes an
117
161
  # anomaly. This is different from `AnomalyTimeRange`, which specifies
118
162
  # the time range when DevOps Guru actually observes the anomalous
@@ -135,20 +179,75 @@ module Aws::DevOpsGuru
135
179
  include Aws::Structure
136
180
  end
137
181
 
182
+ # The Amazon Web Services resources in which DevOps Guru detected
183
+ # unusual behavior that resulted in the generation of an anomaly. When
184
+ # DevOps Guru detects multiple related anomalies, it creates and insight
185
+ # with details about the anomalous behavior and suggestions about how to
186
+ # correct the problem.
187
+ #
188
+ # @!attribute [rw] name
189
+ # The name of the Amazon Web Services resource.
190
+ # @return [String]
191
+ #
192
+ # @!attribute [rw] type
193
+ # The type of the Amazon Web Services resource.
194
+ # @return [String]
195
+ #
196
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalyResource AWS API Documentation
197
+ #
198
+ class AnomalyResource < Struct.new(
199
+ :name,
200
+ :type)
201
+ SENSITIVE = []
202
+ include Aws::Structure
203
+ end
204
+
138
205
  # Details about the source of the anomalous operational data that
139
- # triggered the anomaly. The one supported source is Amazon CloudWatch
140
- # metrics.
206
+ # triggered the anomaly.
141
207
  #
142
208
  # @!attribute [rw] cloud_watch_metrics
143
- # An array of `CloudWatchMetricsDetail` object that contains
144
- # information about the analyzed metrics that displayed anomalous
209
+ # An array of `CloudWatchMetricsDetail` objects that contain
210
+ # information about analyzed CloudWatch metrics that show anomalous
145
211
  # behavior.
146
212
  # @return [Array<Types::CloudWatchMetricsDetail>]
147
213
  #
214
+ # @!attribute [rw] performance_insights_metrics
215
+ # An array of `PerformanceInsightsMetricsDetail` objects that contain
216
+ # information about analyzed Performance Insights metrics that show
217
+ # anomalous behavior.
218
+ # @return [Array<Types::PerformanceInsightsMetricsDetail>]
219
+ #
148
220
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalySourceDetails AWS API Documentation
149
221
  #
150
222
  class AnomalySourceDetails < Struct.new(
151
- :cloud_watch_metrics)
223
+ :cloud_watch_metrics,
224
+ :performance_insights_metrics)
225
+ SENSITIVE = []
226
+ include Aws::Structure
227
+ end
228
+
229
+ # Metadata about the detection source that generates proactive
230
+ # anomalies. The anomaly is detected using analysis of the metric data

231
+ # over a period of time
232
+ #
233
+ # @!attribute [rw] source
234
+ # The source of the anomaly.
235
+ # @return [String]
236
+ #
237
+ # @!attribute [rw] source_resource_name
238
+ # The name of the anomaly's resource.
239
+ # @return [String]
240
+ #
241
+ # @!attribute [rw] source_resource_type
242
+ # The anomaly's resource type.
243
+ # @return [String]
244
+ #
245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalySourceMetadata AWS API Documentation
246
+ #
247
+ class AnomalySourceMetadata < Struct.new(
248
+ :source,
249
+ :source_resource_name,
250
+ :source_resource_type)
152
251
  SENSITIVE = []
153
252
  include Aws::Structure
154
253
  end
@@ -184,13 +283,6 @@ module Aws::DevOpsGuru
184
283
  #
185
284
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
186
285
  #
187
- # @note When making an API call, you may pass CloudFormationCollection
188
- # data as a hash:
189
- #
190
- # {
191
- # stack_names: ["StackName"],
192
- # }
193
- #
194
286
  # @!attribute [rw] stack_names
195
287
  # An array of CloudFormation stack names.
196
288
  # @return [Array<String>]
@@ -236,13 +328,6 @@ module Aws::DevOpsGuru
236
328
  #
237
329
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
238
330
  #
239
- # @note When making an API call, you may pass CloudFormationCostEstimationResourceCollectionFilter
240
- # data as a hash:
241
- #
242
- # {
243
- # stack_names: ["StackName"],
244
- # }
245
- #
246
331
  # @!attribute [rw] stack_names
247
332
  # An array of CloudFormation stack names. Its size is fixed at 1 item.
248
333
  # @return [Array<String>]
@@ -271,11 +356,17 @@ module Aws::DevOpsGuru
271
356
  # insights.
272
357
  # @return [Types::InsightHealth]
273
358
  #
359
+ # @!attribute [rw] analyzed_resource_count
360
+ # Number of resources that DevOps Guru is monitoring in your account
361
+ # that are specified by an Amazon Web Services CloudFormation stack.
362
+ # @return [Integer]
363
+ #
274
364
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudFormationHealth AWS API Documentation
275
365
  #
276
366
  class CloudFormationHealth < Struct.new(
277
367
  :stack_name,
278
- :insight)
368
+ :insight,
369
+ :analyzed_resource_count)
279
370
  SENSITIVE = []
280
371
  include Aws::Structure
281
372
  end
@@ -284,12 +375,13 @@ module Aws::DevOpsGuru
284
375
  # anomalous behavior.
285
376
  #
286
377
  # @!attribute [rw] timestamp_metric_value_pair_list
287
- # This is a list of cloudwatch metric values at given timestamp.
378
+ # This is a list of Amazon CloudWatch metric values at given
379
+ # timestamp.
288
380
  # @return [Array<Types::TimestampMetricValuePair>]
289
381
  #
290
382
  # @!attribute [rw] status_code
291
- # This is enum of the status showing whether the metric value pair
292
- # list has Partial or Complete data or there was an error.
383
+ # This is an enum of the status showing whether the metric value pair
384
+ # list has partial or complete data, or if there was an error.
293
385
  # @return [String]
294
386
  #
295
387
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudWatchMetricsDataSummary AWS API Documentation
@@ -354,7 +446,7 @@ module Aws::DevOpsGuru
354
446
  include Aws::Structure
355
447
  end
356
448
 
357
- # The dimension of a Amazon CloudWatch metric that is used when DevOps
449
+ # The dimension of an Amazon CloudWatch metric that is used when DevOps
358
450
  # Guru analyzes the resources in your account for operational problems
359
451
  # and anomalous behavior. A dimension is a name/value pair that is part
360
452
  # of the identity of a metric. A metric can have up to 10 dimensions.
@@ -417,25 +509,58 @@ module Aws::DevOpsGuru
417
509
  # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
418
510
  # [2]: http://aws.amazon.com/devops-guru/pricing/
419
511
  #
420
- # @note When making an API call, you may pass CostEstimationResourceCollectionFilter
421
- # data as a hash:
422
- #
423
- # {
424
- # cloud_formation: {
425
- # stack_names: ["StackName"],
426
- # },
427
- # }
428
- #
429
512
  # @!attribute [rw] cloud_formation
430
513
  # An object that specifies the CloudFormation stack that defines the
431
514
  # Amazon Web Services resources used to create a monthly estimate for
432
515
  # DevOps Guru.
433
516
  # @return [Types::CloudFormationCostEstimationResourceCollectionFilter]
434
517
  #
518
+ # @!attribute [rw] tags
519
+ # The Amazon Web Services tags used to filter the resource collection
520
+ # that is used for a cost estimate.
521
+ #
522
+ # Tags help you identify and organize your Amazon Web Services
523
+ # resources. Many Amazon Web Services services support tagging, so you
524
+ # can assign the same tag to resources from different services to
525
+ # indicate that the resources are related. For example, you can assign
526
+ # the same tag to an Amazon DynamoDB table resource that you assign to
527
+ # an Lambda function. For more information about using tags, see the
528
+ # [Tagging best practices][1] whitepaper.
529
+ #
530
+ # Each Amazon Web Services tag has two parts.
531
+ #
532
+ # * A tag *key* (for example, `CostCenter`, `Environment`, `Project`,
533
+ # or `Secret`). Tag *keys* are case-sensitive.
534
+ #
535
+ # * An optional field known as a tag *value* (for example,
536
+ # `111122223333`, `Production`, or a team name). Omitting the tag
537
+ # *value* is the same as using an empty string. Like tag *keys*, tag
538
+ # *values* are case-sensitive.
539
+ #
540
+ # Together these are known as *key*-*value* pairs.
541
+ #
542
+ # The string used for a *key* in a tag that you use to define your
543
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
544
+ # *key* might be `DevOps-Guru-deployment-application` or
545
+ # `devops-guru-rds-application`. When you create a *key*, the case of
546
+ # characters in the *key* can be whatever you choose. After you create
547
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
548
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
549
+ # and these act as two different *keys*. Possible *key*/*value* pairs
550
+ # in your application might be
551
+ # `Devops-Guru-production-application/RDS` or
552
+ # `Devops-Guru-production-application/containers`.
553
+ #
554
+ #
555
+ #
556
+ # [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
557
+ # @return [Array<Types::TagCostEstimationResourceCollectionFilter>]
558
+ #
435
559
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CostEstimationResourceCollectionFilter AWS API Documentation
436
560
  #
437
561
  class CostEstimationResourceCollectionFilter < Struct.new(
438
- :cloud_formation)
562
+ :cloud_formation,
563
+ :tags)
439
564
  SENSITIVE = []
440
565
  include Aws::Structure
441
566
  end
@@ -459,6 +584,22 @@ module Aws::DevOpsGuru
459
584
  include Aws::Structure
460
585
  end
461
586
 
587
+ # @!attribute [rw] id
588
+ # The ID of the insight.
589
+ # @return [String]
590
+ #
591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsightRequest AWS API Documentation
592
+ #
593
+ class DeleteInsightRequest < Struct.new(
594
+ :id)
595
+ SENSITIVE = []
596
+ include Aws::Structure
597
+ end
598
+
599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsightResponse AWS API Documentation
600
+ #
601
+ class DeleteInsightResponse < Aws::EmptyStructure; end
602
+
462
603
  # @api private
463
604
  #
464
605
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthRequest AWS API Documentation
@@ -485,25 +626,23 @@ module Aws::DevOpsGuru
485
626
  # the current Amazon Web Services account in the last hour.
486
627
  # @return [Integer]
487
628
  #
629
+ # @!attribute [rw] analyzed_resource_count
630
+ # Number of resources that DevOps Guru is monitoring in your Amazon
631
+ # Web Services account.
632
+ # @return [Integer]
633
+ #
488
634
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthResponse AWS API Documentation
489
635
  #
490
636
  class DescribeAccountHealthResponse < Struct.new(
491
637
  :open_reactive_insights,
492
638
  :open_proactive_insights,
493
639
  :metrics_analyzed,
494
- :resource_hours)
640
+ :resource_hours,
641
+ :analyzed_resource_count)
495
642
  SENSITIVE = []
496
643
  include Aws::Structure
497
644
  end
498
645
 
499
- # @note When making an API call, you may pass DescribeAccountOverviewRequest
500
- # data as a hash:
501
- #
502
- # {
503
- # from_time: Time.now, # required
504
- # to_time: Time.now,
505
- # }
506
- #
507
646
  # @!attribute [rw] from_time
508
647
  # The start of the time range passed in. The start time granularity is
509
648
  # at the day level. The floor of the start time is used. Returned
@@ -553,14 +692,6 @@ module Aws::DevOpsGuru
553
692
  include Aws::Structure
554
693
  end
555
694
 
556
- # @note When making an API call, you may pass DescribeAnomalyRequest
557
- # data as a hash:
558
- #
559
- # {
560
- # id: "AnomalyId", # required
561
- # account_id: "AwsAccountId",
562
- # }
563
- #
564
695
  # @!attribute [rw] id
565
696
  # The ID of the anomaly.
566
697
  # @return [String]
@@ -579,11 +710,11 @@ module Aws::DevOpsGuru
579
710
  end
580
711
 
581
712
  # @!attribute [rw] proactive_anomaly
582
- # A `ReactiveAnomaly` object that represents the requested anomaly.
713
+ # A `ProactiveAnomaly` object that represents the requested anomaly.
583
714
  # @return [Types::ProactiveAnomaly]
584
715
  #
585
716
  # @!attribute [rw] reactive_anomaly
586
- # A `ProactiveAnomaly` object that represents the requested anomaly.
717
+ # A `ReactiveAnomaly` object that represents the requested anomaly.
587
718
  # @return [Types::ReactiveAnomaly]
588
719
  #
589
720
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomalyResponse AWS API Documentation
@@ -595,13 +726,24 @@ module Aws::DevOpsGuru
595
726
  include Aws::Structure
596
727
  end
597
728
 
598
- # @note When making an API call, you may pass DescribeFeedbackRequest
599
- # data as a hash:
729
+ # @api private
730
+ #
731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfigRequest AWS API Documentation
732
+ #
733
+ class DescribeEventSourcesConfigRequest < Aws::EmptyStructure; end
734
+
735
+ # @!attribute [rw] event_sources
736
+ # Lists the event sources in the configuration.
737
+ # @return [Types::EventSourcesConfig]
600
738
  #
601
- # {
602
- # insight_id: "InsightId",
603
- # }
739
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfigResponse AWS API Documentation
604
740
  #
741
+ class DescribeEventSourcesConfigResponse < Struct.new(
742
+ :event_sources)
743
+ SENSITIVE = []
744
+ include Aws::Structure
745
+ end
746
+
605
747
  # @!attribute [rw] insight_id
606
748
  # The ID of the insight for which the feedback was provided.
607
749
  # @return [String]
@@ -626,14 +768,6 @@ module Aws::DevOpsGuru
626
768
  include Aws::Structure
627
769
  end
628
770
 
629
- # @note When making an API call, you may pass DescribeInsightRequest
630
- # data as a hash:
631
- #
632
- # {
633
- # id: "InsightId", # required
634
- # account_id: "AwsAccountId",
635
- # }
636
- #
637
771
  # @!attribute [rw] id
638
772
  # The ID of the insight.
639
773
  # @return [String]
@@ -668,14 +802,6 @@ module Aws::DevOpsGuru
668
802
  include Aws::Structure
669
803
  end
670
804
 
671
- # @note When making an API call, you may pass DescribeOrganizationHealthRequest
672
- # data as a hash:
673
- #
674
- # {
675
- # account_ids: ["AwsAccountId"],
676
- # organizational_unit_ids: ["OrganizationalUnitId"],
677
- # }
678
- #
679
805
  # @!attribute [rw] account_ids
680
806
  # The ID of the Amazon Web Services account.
681
807
  # @return [Array<String>]
@@ -724,16 +850,6 @@ module Aws::DevOpsGuru
724
850
  include Aws::Structure
725
851
  end
726
852
 
727
- # @note When making an API call, you may pass DescribeOrganizationOverviewRequest
728
- # data as a hash:
729
- #
730
- # {
731
- # from_time: Time.now, # required
732
- # to_time: Time.now,
733
- # account_ids: ["AwsAccountId"],
734
- # organizational_unit_ids: ["OrganizationalUnitId"],
735
- # }
736
- #
737
853
  # @!attribute [rw] from_time
738
854
  # The start of the time range passed in. The start time granularity is
739
855
  # at the day level. The floor of the start time is used. Returned
@@ -785,25 +901,16 @@ module Aws::DevOpsGuru
785
901
  include Aws::Structure
786
902
  end
787
903
 
788
- # @note When making an API call, you may pass DescribeOrganizationResourceCollectionHealthRequest
789
- # data as a hash:
790
- #
791
- # {
792
- # organization_resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE, AWS_ACCOUNT
793
- # account_ids: ["AwsAccountId"],
794
- # organizational_unit_ids: ["OrganizationalUnitId"],
795
- # next_token: "UuidNextToken",
796
- # max_results: 1,
797
- # }
798
- #
799
904
  # @!attribute [rw] organization_resource_collection_type
800
905
  # An Amazon Web Services resource collection type. This type specifies
801
- # how analyzed Amazon Web Services resources are defined. The one type
802
- # of Amazon Web Services resource collection supported is Amazon Web
803
- # Services CloudFormation stacks. DevOps Guru can be configured to
804
- # analyze only the Amazon Web Services resources that are defined in
805
- # the stacks. You can specify up to 500 Amazon Web Services
806
- # CloudFormation stacks.
906
+ # how analyzed Amazon Web Services resources are defined. The two
907
+ # types of Amazon Web Services resource collections supported are
908
+ # Amazon Web Services CloudFormation stacks and Amazon Web Services
909
+ # resources that contain the same Amazon Web Services tag. DevOps Guru
910
+ # can be configured to analyze the Amazon Web Services resources that
911
+ # are defined in the stacks or that are tagged using the same tag
912
+ # *key*. You can specify up to 500 Amazon Web Services CloudFormation
913
+ # stacks.
807
914
  # @return [String]
808
915
  #
809
916
  # @!attribute [rw] account_ids
@@ -858,33 +965,66 @@ module Aws::DevOpsGuru
858
965
  # this operation. If there are no more pages, this value is null.
859
966
  # @return [String]
860
967
  #
968
+ # @!attribute [rw] tags
969
+ # Tags help you identify and organize your Amazon Web Services
970
+ # resources. Many Amazon Web Services services support tagging, so you
971
+ # can assign the same tag to resources from different services to
972
+ # indicate that the resources are related. For example, you can assign
973
+ # the same tag to an Amazon DynamoDB table resource that you assign to
974
+ # an Lambda function. For more information about using tags, see the
975
+ # [Tagging best practices][1] whitepaper.
976
+ #
977
+ # Each Amazon Web Services tag has two parts.
978
+ #
979
+ # * A tag *key* (for example, `CostCenter`, `Environment`, `Project`,
980
+ # or `Secret`). Tag *keys* are case-sensitive.
981
+ #
982
+ # * An optional field known as a tag *value* (for example,
983
+ # `111122223333`, `Production`, or a team name). Omitting the tag
984
+ # *value* is the same as using an empty string. Like tag *keys*, tag
985
+ # *values* are case-sensitive.
986
+ #
987
+ # Together these are known as *key*-*value* pairs.
988
+ #
989
+ # The string used for a *key* in a tag that you use to define your
990
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
991
+ # *key* might be `DevOps-Guru-deployment-application` or
992
+ # `devops-guru-rds-application`. When you create a *key*, the case of
993
+ # characters in the *key* can be whatever you choose. After you create
994
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
995
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
996
+ # and these act as two different *keys*. Possible *key*/*value* pairs
997
+ # in your application might be
998
+ # `Devops-Guru-production-application/RDS` or
999
+ # `Devops-Guru-production-application/containers`.
1000
+ #
1001
+ #
1002
+ #
1003
+ # [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
1004
+ # @return [Array<Types::TagHealth>]
1005
+ #
861
1006
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationResourceCollectionHealthResponse AWS API Documentation
862
1007
  #
863
1008
  class DescribeOrganizationResourceCollectionHealthResponse < Struct.new(
864
1009
  :cloud_formation,
865
1010
  :service,
866
1011
  :account,
867
- :next_token)
1012
+ :next_token,
1013
+ :tags)
868
1014
  SENSITIVE = []
869
1015
  include Aws::Structure
870
1016
  end
871
1017
 
872
- # @note When making an API call, you may pass DescribeResourceCollectionHealthRequest
873
- # data as a hash:
874
- #
875
- # {
876
- # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
877
- # next_token: "UuidNextToken",
878
- # }
879
- #
880
1018
  # @!attribute [rw] resource_collection_type
881
1019
  # An Amazon Web Services resource collection type. This type specifies
882
- # how analyzed Amazon Web Services resources are defined. The one type
883
- # of Amazon Web Services resource collection supported is Amazon Web
884
- # Services CloudFormation stacks. DevOps Guru can be configured to
885
- # analyze only the Amazon Web Services resources that are defined in
886
- # the stacks. You can specify up to 500 Amazon Web Services
887
- # CloudFormation stacks.
1020
+ # how analyzed Amazon Web Services resources are defined. The two
1021
+ # types of Amazon Web Services resource collections supported are
1022
+ # Amazon Web Services CloudFormation stacks and Amazon Web Services
1023
+ # resources that contain the same Amazon Web Services tag. DevOps Guru
1024
+ # can be configured to analyze the Amazon Web Services resources that
1025
+ # are defined in the stacks or that are tagged using the same tag
1026
+ # *key*. You can specify up to 500 Amazon Web Services CloudFormation
1027
+ # stacks.
888
1028
  # @return [String]
889
1029
  #
890
1030
  # @!attribute [rw] next_token
@@ -918,12 +1058,54 @@ module Aws::DevOpsGuru
918
1058
  # this operation. If there are no more pages, this value is null.
919
1059
  # @return [String]
920
1060
  #
1061
+ # @!attribute [rw] tags
1062
+ # The Amazon Web Services tags that are used by resources in the
1063
+ # resource collection.
1064
+ #
1065
+ # Tags help you identify and organize your Amazon Web Services
1066
+ # resources. Many Amazon Web Services services support tagging, so you
1067
+ # can assign the same tag to resources from different services to
1068
+ # indicate that the resources are related. For example, you can assign
1069
+ # the same tag to an Amazon DynamoDB table resource that you assign to
1070
+ # an Lambda function. For more information about using tags, see the
1071
+ # [Tagging best practices][1] whitepaper.
1072
+ #
1073
+ # Each Amazon Web Services tag has two parts.
1074
+ #
1075
+ # * A tag *key* (for example, `CostCenter`, `Environment`, `Project`,
1076
+ # or `Secret`). Tag *keys* are case-sensitive.
1077
+ #
1078
+ # * An optional field known as a tag *value* (for example,
1079
+ # `111122223333`, `Production`, or a team name). Omitting the tag
1080
+ # *value* is the same as using an empty string. Like tag *keys*, tag
1081
+ # *values* are case-sensitive.
1082
+ #
1083
+ # Together these are known as *key*-*value* pairs.
1084
+ #
1085
+ # The string used for a *key* in a tag that you use to define your
1086
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
1087
+ # *key* might be `DevOps-Guru-deployment-application` or
1088
+ # `devops-guru-rds-application`. When you create a *key*, the case of
1089
+ # characters in the *key* can be whatever you choose. After you create
1090
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
1091
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
1092
+ # and these act as two different *keys*. Possible *key*/*value* pairs
1093
+ # in your application might be
1094
+ # `Devops-Guru-production-application/RDS` or
1095
+ # `Devops-Guru-production-application/containers`.
1096
+ #
1097
+ #
1098
+ #
1099
+ # [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
1100
+ # @return [Array<Types::TagHealth>]
1101
+ #
921
1102
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealthResponse AWS API Documentation
922
1103
  #
923
1104
  class DescribeResourceCollectionHealthResponse < Struct.new(
924
1105
  :cloud_formation,
925
1106
  :service,
926
- :next_token)
1107
+ :next_token,
1108
+ :tags)
927
1109
  SENSITIVE = []
928
1110
  include Aws::Structure
929
1111
  end
@@ -950,14 +1132,6 @@ module Aws::DevOpsGuru
950
1132
  # A range of time that specifies when anomalous behavior in an anomaly
951
1133
  # or insight ended.
952
1134
  #
953
- # @note When making an API call, you may pass EndTimeRange
954
- # data as a hash:
955
- #
956
- # {
957
- # from_time: Time.now,
958
- # to_time: Time.now,
959
- # }
960
- #
961
1135
  # @!attribute [rw] from_time
962
1136
  # The earliest end time in the time range.
963
1137
  # @return [Time]
@@ -982,10 +1156,12 @@ module Aws::DevOpsGuru
982
1156
  #
983
1157
  # @!attribute [rw] resource_collection
984
1158
  # A collection of Amazon Web Services resources supported by DevOps
985
- # Guru. The one type of Amazon Web Services resource collection
986
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
987
- # can be configured to analyze only the Amazon Web Services resources
988
- # that are defined in the stacks. You can specify up to 500 Amazon Web
1159
+ # Guru. The two types of Amazon Web Services resource collections
1160
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
1161
+ # Web Services resources that contain the same Amazon Web Services
1162
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
1163
+ # Services resources that are defined in the stacks or that are tagged
1164
+ # using the same tag *key*. You can specify up to 500 Amazon Web
989
1165
  # Services CloudFormation stacks.
990
1166
  # @return [Types::ResourceCollection]
991
1167
  #
@@ -1064,19 +1240,27 @@ module Aws::DevOpsGuru
1064
1240
  include Aws::Structure
1065
1241
  end
1066
1242
 
1243
+ # Information about the integration of DevOps Guru as consumer with
1244
+ # another AWS service, such as AWS CodeGuru Profiler via EventBridge.
1245
+ #
1246
+ # @!attribute [rw] amazon_code_guru_profiler
1247
+ # Information about whether DevOps Guru is configured to consume
1248
+ # recommendations which are generated from AWS CodeGuru Profiler.
1249
+ # @return [Types::AmazonCodeGuruProfilerIntegration]
1250
+ #
1251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/EventSourcesConfig AWS API Documentation
1252
+ #
1253
+ class EventSourcesConfig < Struct.new(
1254
+ :amazon_code_guru_profiler)
1255
+ SENSITIVE = []
1256
+ include Aws::Structure
1257
+ end
1258
+
1067
1259
  # The time range during which an Amazon Web Services event occurred.
1068
1260
  # Amazon Web Services resource events and metrics are analyzed by DevOps
1069
1261
  # Guru to find anomalous behavior and provide recommendations to improve
1070
1262
  # your operational solutions.
1071
1263
  #
1072
- # @note When making an API call, you may pass EventTimeRange
1073
- # data as a hash:
1074
- #
1075
- # {
1076
- # from_time: Time.now, # required
1077
- # to_time: Time.now, # required
1078
- # }
1079
- #
1080
1264
  # @!attribute [rw] from_time
1081
1265
  # The time when the event started.
1082
1266
  # @return [Time]
@@ -1094,13 +1278,6 @@ module Aws::DevOpsGuru
1094
1278
  include Aws::Structure
1095
1279
  end
1096
1280
 
1097
- # @note When making an API call, you may pass GetCostEstimationRequest
1098
- # data as a hash:
1099
- #
1100
- # {
1101
- # next_token: "UuidNextToken",
1102
- # }
1103
- #
1104
1281
  # @!attribute [rw] next_token
1105
1282
  # The pagination token to use to retrieve the next page of results for
1106
1283
  # this operation. If this value is null, it retrieves the first page.
@@ -1159,14 +1336,6 @@ module Aws::DevOpsGuru
1159
1336
  include Aws::Structure
1160
1337
  end
1161
1338
 
1162
- # @note When making an API call, you may pass GetResourceCollectionRequest
1163
- # data as a hash:
1164
- #
1165
- # {
1166
- # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
1167
- # next_token: "UuidNextToken",
1168
- # }
1169
- #
1170
1339
  # @!attribute [rw] resource_collection_type
1171
1340
  # The type of Amazon Web Services resource collections to return. The
1172
1341
  # one valid value is `CLOUD_FORMATION` for Amazon Web Services
@@ -1189,11 +1358,13 @@ module Aws::DevOpsGuru
1189
1358
 
1190
1359
  # @!attribute [rw] resource_collection
1191
1360
  # The requested list of Amazon Web Services resource collections. The
1192
- # one type of Amazon Web Services resource collection supported is
1193
- # Amazon Web Services CloudFormation stacks. DevOps Guru can be
1194
- # configured to analyze only the Amazon Web Services resources that
1195
- # are defined in the stacks. You can specify up to 500 Amazon Web
1196
- # Services CloudFormation stacks.
1361
+ # two types of Amazon Web Services resource collections supported are
1362
+ # Amazon Web Services CloudFormation stacks and Amazon Web Services
1363
+ # resources that contain the same Amazon Web Services tag. DevOps Guru
1364
+ # can be configured to analyze the Amazon Web Services resources that
1365
+ # are defined in the stacks or that are tagged using the same tag
1366
+ # *key*. You can specify up to 500 Amazon Web Services CloudFormation
1367
+ # stacks.
1197
1368
  # @return [Types::ResourceCollectionFilter]
1198
1369
  #
1199
1370
  # @!attribute [rw] next_token
@@ -1212,14 +1383,6 @@ module Aws::DevOpsGuru
1212
1383
 
1213
1384
  # Information about insight feedback received from a customer.
1214
1385
  #
1215
- # @note When making an API call, you may pass InsightFeedback
1216
- # data as a hash:
1217
- #
1218
- # {
1219
- # id: "InsightId",
1220
- # feedback: "VALID_COLLECTION", # accepts VALID_COLLECTION, RECOMMENDATION_USEFUL, ALERT_TOO_SENSITIVE, DATA_NOISY_ANOMALY, DATA_INCORRECT
1221
- # }
1222
- #
1223
1386
  # @!attribute [rw] id
1224
1387
  # The insight feedback ID.
1225
1388
  # @return [String]
@@ -1301,20 +1464,111 @@ module Aws::DevOpsGuru
1301
1464
  include Aws::Structure
1302
1465
  end
1303
1466
 
1304
- # @note When making an API call, you may pass ListAnomaliesForInsightRequest
1305
- # data as a hash:
1467
+ # Information about the KMS encryption used with DevOps Guru.
1468
+ #
1469
+ # @!attribute [rw] kms_key_id
1470
+ # Describes the specified KMS key.
1471
+ #
1472
+ # To specify a KMS key, use its key ID, key ARN, alias name, or alias
1473
+ # ARN. When using an alias name, prefix it with "alias/". If you
1474
+ # specify a predefined Amazon Web Services alias (an Amazon Web
1475
+ # Services alias with no key ID), Amazon Web Services KMS associates
1476
+ # the alias with an Amazon Web Services managed key and returns its
1477
+ # KeyId and Arn in the response. To specify a KMS key in a different
1478
+ # Amazon Web Services account, you must use the key ARN or alias ARN.
1479
+ #
1480
+ # For example:
1481
+ #
1482
+ # Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
1483
+ #
1484
+ # Key ARN:
1485
+ # arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
1486
+ #
1487
+ # Alias name: alias/ExampleAlias
1488
+ #
1489
+ # Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
1490
+ # @return [String]
1491
+ #
1492
+ # @!attribute [rw] opt_in_status
1493
+ # Specifies if DevOps Guru is enabled for customer managed keys.
1494
+ # @return [String]
1495
+ #
1496
+ # @!attribute [rw] type
1497
+ # The type of KMS key used. Customer managed keys are the KMS keys
1498
+ # that you create. Amazon Web Services owned keys are keys that are
1499
+ # owned and managed by DevOps Guru.
1500
+ # @return [String]
1501
+ #
1502
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/KMSServerSideEncryptionIntegration AWS API Documentation
1503
+ #
1504
+ class KMSServerSideEncryptionIntegration < Struct.new(
1505
+ :kms_key_id,
1506
+ :opt_in_status,
1507
+ :type)
1508
+ SENSITIVE = []
1509
+ include Aws::Structure
1510
+ end
1511
+
1512
+ # Information about whether DevOps Guru is configured to encrypt
1513
+ # server-side data using KMS.
1514
+ #
1515
+ # @!attribute [rw] kms_key_id
1516
+ # Describes the specified KMS key.
1517
+ #
1518
+ # To specify a KMS key, use its key ID, key ARN, alias name, or alias
1519
+ # ARN. When using an alias name, prefix it with "alias/". If you
1520
+ # specify a predefined Amazon Web Services alias (an Amazon Web
1521
+ # Services alias with no key ID), Amazon Web Services KMS associates
1522
+ # the alias with an Amazon Web Services managed key and returns its
1523
+ # KeyId and Arn in the response. To specify a KMS key in a different
1524
+ # Amazon Web Services account, you must use the key ARN or alias ARN.
1525
+ #
1526
+ # For example:
1527
+ #
1528
+ # Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
1529
+ #
1530
+ # Key ARN:
1531
+ # arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
1532
+ #
1533
+ # Alias name: alias/ExampleAlias
1534
+ #
1535
+ # Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
1536
+ # @return [String]
1537
+ #
1538
+ # @!attribute [rw] opt_in_status
1539
+ # Specifies if DevOps Guru is enabled for KMS integration.
1540
+ # @return [String]
1541
+ #
1542
+ # @!attribute [rw] type
1543
+ # The type of KMS key used. Customer managed keys are the KMS keys
1544
+ # that you create. Amazon Web Services owned keys are keys that are
1545
+ # owned and managed by DevOps Guru.
1546
+ # @return [String]
1547
+ #
1548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/KMSServerSideEncryptionIntegrationConfig AWS API Documentation
1549
+ #
1550
+ class KMSServerSideEncryptionIntegrationConfig < Struct.new(
1551
+ :kms_key_id,
1552
+ :opt_in_status,
1553
+ :type)
1554
+ SENSITIVE = []
1555
+ include Aws::Structure
1556
+ end
1557
+
1558
+ # Specifies one or more service names that are used to list anomalies.
1559
+ #
1560
+ # @!attribute [rw] service_collection
1561
+ # A collection of the names of Amazon Web Services services.
1562
+ # @return [Types::ServiceCollection]
1306
1563
  #
1307
- # {
1308
- # insight_id: "InsightId", # required
1309
- # start_time_range: {
1310
- # from_time: Time.now,
1311
- # to_time: Time.now,
1312
- # },
1313
- # max_results: 1,
1314
- # next_token: "UuidNextToken",
1315
- # account_id: "AwsAccountId",
1316
- # }
1564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsightFilters AWS API Documentation
1317
1565
  #
1566
+ class ListAnomaliesForInsightFilters < Struct.new(
1567
+ :service_collection)
1568
+ SENSITIVE = []
1569
+ include Aws::Structure
1570
+ end
1571
+
1318
1572
  # @!attribute [rw] insight_id
1319
1573
  # The ID of the insight. The returned anomalies belong to this
1320
1574
  # insight.
@@ -1340,6 +1594,10 @@ module Aws::DevOpsGuru
1340
1594
  # The ID of the Amazon Web Services account.
1341
1595
  # @return [String]
1342
1596
  #
1597
+ # @!attribute [rw] filters
1598
+ # Specifies one or more service names that are used to list anomalies.
1599
+ # @return [Types::ListAnomaliesForInsightFilters]
1600
+ #
1343
1601
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsightRequest AWS API Documentation
1344
1602
  #
1345
1603
  class ListAnomaliesForInsightRequest < Struct.new(
@@ -1347,7 +1605,8 @@ module Aws::DevOpsGuru
1347
1605
  :start_time_range,
1348
1606
  :max_results,
1349
1607
  :next_token,
1350
- :account_id)
1608
+ :account_id,
1609
+ :filters)
1351
1610
  SENSITIVE = []
1352
1611
  include Aws::Structure
1353
1612
  end
@@ -1377,28 +1636,58 @@ module Aws::DevOpsGuru
1377
1636
  include Aws::Structure
1378
1637
  end
1379
1638
 
1639
+ # @!attribute [rw] insight_id
1640
+ # The ID of the insight containing the log groups.
1641
+ # @return [String]
1642
+ #
1643
+ # @!attribute [rw] max_results
1644
+ # The maximum number of results to return with a single call. To
1645
+ # retrieve the remaining results, make another call with the returned
1646
+ # `nextToken` value.
1647
+ # @return [Integer]
1648
+ #
1649
+ # @!attribute [rw] next_token
1650
+ # The pagination token to use to retrieve the next page of results for
1651
+ # this operation. If this value is null, it retrieves the first page.
1652
+ # @return [String]
1653
+ #
1654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomalousLogGroupsRequest AWS API Documentation
1655
+ #
1656
+ class ListAnomalousLogGroupsRequest < Struct.new(
1657
+ :insight_id,
1658
+ :max_results,
1659
+ :next_token)
1660
+ SENSITIVE = []
1661
+ include Aws::Structure
1662
+ end
1663
+
1664
+ # @!attribute [rw] insight_id
1665
+ # The ID of the insight containing the log groups.
1666
+ # @return [String]
1667
+ #
1668
+ # @!attribute [rw] anomalous_log_groups
1669
+ # The list of Amazon CloudWatch log groups that are related to an
1670
+ # insight.
1671
+ # @return [Array<Types::AnomalousLogGroup>]
1672
+ #
1673
+ # @!attribute [rw] next_token
1674
+ # The pagination token to use to retrieve the next page of results for
1675
+ # this operation. If there are no more pages, this value is null.
1676
+ # @return [String]
1677
+ #
1678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomalousLogGroupsResponse AWS API Documentation
1679
+ #
1680
+ class ListAnomalousLogGroupsResponse < Struct.new(
1681
+ :insight_id,
1682
+ :anomalous_log_groups,
1683
+ :next_token)
1684
+ SENSITIVE = []
1685
+ include Aws::Structure
1686
+ end
1687
+
1380
1688
  # Filters you can use to specify which events are returned when
1381
1689
  # `ListEvents` is called.
1382
1690
  #
1383
- # @note When making an API call, you may pass ListEventsFilters
1384
- # data as a hash:
1385
- #
1386
- # {
1387
- # insight_id: "InsightId",
1388
- # event_time_range: {
1389
- # from_time: Time.now, # required
1390
- # to_time: Time.now, # required
1391
- # },
1392
- # event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
1393
- # event_source: "EventSource",
1394
- # data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY
1395
- # resource_collection: {
1396
- # cloud_formation: {
1397
- # stack_names: ["StackName"],
1398
- # },
1399
- # },
1400
- # }
1401
- #
1402
1691
  # @!attribute [rw] insight_id
1403
1692
  # An ID of an insight that is related to the events you want to filter
1404
1693
  # for.
@@ -1426,10 +1715,12 @@ module Aws::DevOpsGuru
1426
1715
  #
1427
1716
  # @!attribute [rw] resource_collection
1428
1717
  # A collection of Amazon Web Services resources supported by DevOps
1429
- # Guru. The one type of Amazon Web Services resource collection
1430
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
1431
- # can be configured to analyze only the Amazon Web Services resources
1432
- # that are defined in the stacks. You can specify up to 500 Amazon Web
1718
+ # Guru. The two types of Amazon Web Services resource collections
1719
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
1720
+ # Web Services resources that contain the same Amazon Web Services
1721
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
1722
+ # Services resources that are defined in the stacks or that are tagged
1723
+ # using the same tag *key*. You can specify up to 500 Amazon Web
1433
1724
  # Services CloudFormation stacks.
1434
1725
  # @return [Types::ResourceCollection]
1435
1726
  #
@@ -1446,30 +1737,6 @@ module Aws::DevOpsGuru
1446
1737
  include Aws::Structure
1447
1738
  end
1448
1739
 
1449
- # @note When making an API call, you may pass ListEventsRequest
1450
- # data as a hash:
1451
- #
1452
- # {
1453
- # filters: { # required
1454
- # insight_id: "InsightId",
1455
- # event_time_range: {
1456
- # from_time: Time.now, # required
1457
- # to_time: Time.now, # required
1458
- # },
1459
- # event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
1460
- # event_source: "EventSource",
1461
- # data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY
1462
- # resource_collection: {
1463
- # cloud_formation: {
1464
- # stack_names: ["StackName"],
1465
- # },
1466
- # },
1467
- # },
1468
- # max_results: 1,
1469
- # next_token: "UuidNextToken",
1470
- # account_id: "AwsAccountId",
1471
- # }
1472
- #
1473
1740
  # @!attribute [rw] filters
1474
1741
  # A `ListEventsFilters` object used to specify which events to return.
1475
1742
  # @return [Types::ListEventsFilters]
@@ -1520,17 +1787,6 @@ module Aws::DevOpsGuru
1520
1787
 
1521
1788
  # Used to filter for insights that have any status.
1522
1789
  #
1523
- # @note When making an API call, you may pass ListInsightsAnyStatusFilter
1524
- # data as a hash:
1525
- #
1526
- # {
1527
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1528
- # start_time_range: { # required
1529
- # from_time: Time.now,
1530
- # to_time: Time.now,
1531
- # },
1532
- # }
1533
- #
1534
1790
  # @!attribute [rw] type
1535
1791
  # Use to filter for either `REACTIVE` or `PROACTIVE` insights.
1536
1792
  # @return [String]
@@ -1551,17 +1807,6 @@ module Aws::DevOpsGuru
1551
1807
 
1552
1808
  # Used to filter for insights that have the status `CLOSED`.
1553
1809
  #
1554
- # @note When making an API call, you may pass ListInsightsClosedStatusFilter
1555
- # data as a hash:
1556
- #
1557
- # {
1558
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1559
- # end_time_range: { # required
1560
- # from_time: Time.now,
1561
- # to_time: Time.now,
1562
- # },
1563
- # }
1564
- #
1565
1810
  # @!attribute [rw] type
1566
1811
  # Use to filter for either `REACTIVE` or `PROACTIVE` insights.
1567
1812
  # @return [String]
@@ -1582,13 +1827,6 @@ module Aws::DevOpsGuru
1582
1827
 
1583
1828
  # Used to filter for insights that have the status `ONGOING`.
1584
1829
  #
1585
- # @note When making an API call, you may pass ListInsightsOngoingStatusFilter
1586
- # data as a hash:
1587
- #
1588
- # {
1589
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1590
- # }
1591
- #
1592
1830
  # @!attribute [rw] type
1593
1831
  # Use to filter for either `REACTIVE` or `PROACTIVE` insights.
1594
1832
  # @return [String]
@@ -1601,33 +1839,6 @@ module Aws::DevOpsGuru
1601
1839
  include Aws::Structure
1602
1840
  end
1603
1841
 
1604
- # @note When making an API call, you may pass ListInsightsRequest
1605
- # data as a hash:
1606
- #
1607
- # {
1608
- # status_filter: { # required
1609
- # ongoing: {
1610
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1611
- # },
1612
- # closed: {
1613
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1614
- # end_time_range: { # required
1615
- # from_time: Time.now,
1616
- # to_time: Time.now,
1617
- # },
1618
- # },
1619
- # any: {
1620
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1621
- # start_time_range: { # required
1622
- # from_time: Time.now,
1623
- # to_time: Time.now,
1624
- # },
1625
- # },
1626
- # },
1627
- # max_results: 1,
1628
- # next_token: "UuidNextToken",
1629
- # }
1630
- #
1631
1842
  # @!attribute [rw] status_filter
1632
1843
  # A filter used to filter the returned insights by their status. You
1633
1844
  # can specify one status filter.
@@ -1679,29 +1890,6 @@ module Aws::DevOpsGuru
1679
1890
 
1680
1891
  # A filter used by `ListInsights` to specify which insights to return.
1681
1892
  #
1682
- # @note When making an API call, you may pass ListInsightsStatusFilter
1683
- # data as a hash:
1684
- #
1685
- # {
1686
- # ongoing: {
1687
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1688
- # },
1689
- # closed: {
1690
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1691
- # end_time_range: { # required
1692
- # from_time: Time.now,
1693
- # to_time: Time.now,
1694
- # },
1695
- # },
1696
- # any: {
1697
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1698
- # start_time_range: { # required
1699
- # from_time: Time.now,
1700
- # to_time: Time.now,
1701
- # },
1702
- # },
1703
- # }
1704
- #
1705
1893
  # @!attribute [rw] ongoing
1706
1894
  # A `ListInsightsAnyStatusFilter` that specifies ongoing insights that
1707
1895
  # are either `REACTIVE` or `PROACTIVE`.
@@ -1727,13 +1915,72 @@ module Aws::DevOpsGuru
1727
1915
  include Aws::Structure
1728
1916
  end
1729
1917
 
1730
- # @note When making an API call, you may pass ListNotificationChannelsRequest
1731
- # data as a hash:
1918
+ # Filters to determine which monitored resources you want to retrieve.
1919
+ # You can filter by resource type or resource permission status.
1920
+ #
1921
+ # @!attribute [rw] resource_permission
1922
+ # The permission status of a resource.
1923
+ # @return [String]
1924
+ #
1925
+ # @!attribute [rw] resource_type_filters
1926
+ # The type of resource that you wish to retrieve, such as log groups.
1927
+ # @return [Array<String>]
1732
1928
  #
1733
- # {
1734
- # next_token: "UuidNextToken",
1735
- # }
1929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResourcesFilters AWS API Documentation
1930
+ #
1931
+ class ListMonitoredResourcesFilters < Struct.new(
1932
+ :resource_permission,
1933
+ :resource_type_filters)
1934
+ SENSITIVE = []
1935
+ include Aws::Structure
1936
+ end
1937
+
1938
+ # @!attribute [rw] filters
1939
+ # Filters to determine which monitored resources you want to retrieve.
1940
+ # You can filter by resource type or resource permission status.
1941
+ # @return [Types::ListMonitoredResourcesFilters]
1942
+ #
1943
+ # @!attribute [rw] max_results
1944
+ # The maximum number of results to return with a single call. To
1945
+ # retrieve the remaining results, make another call with the returned
1946
+ # `nextToken` value.
1947
+ # @return [Integer]
1736
1948
  #
1949
+ # @!attribute [rw] next_token
1950
+ # The pagination token to use to retrieve the next page of results for
1951
+ # this operation. If this value is null, it retrieves the first page.
1952
+ # @return [String]
1953
+ #
1954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResourcesRequest AWS API Documentation
1955
+ #
1956
+ class ListMonitoredResourcesRequest < Struct.new(
1957
+ :filters,
1958
+ :max_results,
1959
+ :next_token)
1960
+ SENSITIVE = []
1961
+ include Aws::Structure
1962
+ end
1963
+
1964
+ # @!attribute [rw] monitored_resource_identifiers
1965
+ # Information about the resource that is being monitored, including
1966
+ # the name of the resource, the type of resource, and whether or not
1967
+ # permission is given to DevOps Guru to access that resource.
1968
+ # @return [Array<Types::MonitoredResourceIdentifier>]
1969
+ #
1970
+ # @!attribute [rw] next_token
1971
+ # The pagination token to use to retrieve the next page of results for
1972
+ # this operation. If there are no more pages, this value is null.
1973
+ # @return [String]
1974
+ #
1975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResourcesResponse AWS API Documentation
1976
+ #
1977
+ class ListMonitoredResourcesResponse < Struct.new(
1978
+ :monitored_resource_identifiers,
1979
+ :next_token)
1980
+ SENSITIVE = []
1981
+ include Aws::Structure
1982
+ end
1983
+
1737
1984
  # @!attribute [rw] next_token
1738
1985
  # The pagination token to use to retrieve the next page of results for
1739
1986
  # this operation. If this value is null, it retrieves the first page.
@@ -1765,35 +2012,6 @@ module Aws::DevOpsGuru
1765
2012
  include Aws::Structure
1766
2013
  end
1767
2014
 
1768
- # @note When making an API call, you may pass ListOrganizationInsightsRequest
1769
- # data as a hash:
1770
- #
1771
- # {
1772
- # status_filter: { # required
1773
- # ongoing: {
1774
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1775
- # },
1776
- # closed: {
1777
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1778
- # end_time_range: { # required
1779
- # from_time: Time.now,
1780
- # to_time: Time.now,
1781
- # },
1782
- # },
1783
- # any: {
1784
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
1785
- # start_time_range: { # required
1786
- # from_time: Time.now,
1787
- # to_time: Time.now,
1788
- # },
1789
- # },
1790
- # },
1791
- # max_results: 1,
1792
- # account_ids: ["AwsAccountId"],
1793
- # organizational_unit_ids: ["OrganizationalUnitId"],
1794
- # next_token: "UuidNextToken",
1795
- # }
1796
- #
1797
2015
  # @!attribute [rw] status_filter
1798
2016
  # A filter used by `ListInsights` to specify which insights to return.
1799
2017
  # @return [Types::ListInsightsStatusFilter]
@@ -1854,16 +2072,6 @@ module Aws::DevOpsGuru
1854
2072
  include Aws::Structure
1855
2073
  end
1856
2074
 
1857
- # @note When making an API call, you may pass ListRecommendationsRequest
1858
- # data as a hash:
1859
- #
1860
- # {
1861
- # insight_id: "InsightId", # required
1862
- # next_token: "UuidNextToken",
1863
- # locale: "DE_DE", # accepts DE_DE, EN_US, EN_GB, ES_ES, FR_FR, IT_IT, JA_JP, KO_KR, PT_BR, ZH_CN, ZH_TW
1864
- # account_id: "AwsAccountId",
1865
- # }
1866
- #
1867
2075
  # @!attribute [rw] insight_id
1868
2076
  # The ID of the requested insight.
1869
2077
  # @return [String]
@@ -1910,16 +2118,155 @@ module Aws::DevOpsGuru
1910
2118
  include Aws::Structure
1911
2119
  end
1912
2120
 
2121
+ # Information about an anomalous log event found within a log group.
2122
+ #
2123
+ # @!attribute [rw] log_stream_name
2124
+ # The name of the Amazon CloudWatch log stream that the anomalous log
2125
+ # event belongs to. A log stream is a sequence of log events that
2126
+ # share the same source.
2127
+ # @return [String]
2128
+ #
2129
+ # @!attribute [rw] log_anomaly_type
2130
+ # The type of log anomaly that has been detected.
2131
+ # @return [String]
2132
+ #
2133
+ # @!attribute [rw] log_anomaly_token
2134
+ # The token where the anomaly was detected. This may refer to an
2135
+ # exception or another location, or it may be blank for log anomalies
2136
+ # such as format anomalies.
2137
+ # @return [String]
2138
+ #
2139
+ # @!attribute [rw] log_event_id
2140
+ # The ID of the log event.
2141
+ # @return [String]
2142
+ #
2143
+ # @!attribute [rw] explanation
2144
+ # The explanation for why the log event is considered an anomaly.
2145
+ # @return [String]
2146
+ #
2147
+ # @!attribute [rw] number_of_log_lines_occurrences
2148
+ # The number of log lines where this anomalous log event occurs.
2149
+ # @return [Integer]
2150
+ #
2151
+ # @!attribute [rw] log_event_timestamp
2152
+ # The time of the first occurrence of the anomalous log event.
2153
+ # @return [Time]
2154
+ #
2155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogAnomalyClass AWS API Documentation
2156
+ #
2157
+ class LogAnomalyClass < Struct.new(
2158
+ :log_stream_name,
2159
+ :log_anomaly_type,
2160
+ :log_anomaly_token,
2161
+ :log_event_id,
2162
+ :explanation,
2163
+ :number_of_log_lines_occurrences,
2164
+ :log_event_timestamp)
2165
+ SENSITIVE = []
2166
+ include Aws::Structure
2167
+ end
2168
+
2169
+ # A cluster of similar anomalous log events found within a log group.
2170
+ #
2171
+ # @!attribute [rw] log_anomaly_classes
2172
+ # A list of anomalous log events that may be related.
2173
+ # @return [Array<Types::LogAnomalyClass>]
2174
+ #
2175
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogAnomalyShowcase AWS API Documentation
2176
+ #
2177
+ class LogAnomalyShowcase < Struct.new(
2178
+ :log_anomaly_classes)
2179
+ SENSITIVE = []
2180
+ include Aws::Structure
2181
+ end
2182
+
2183
+ # Information about the integration of DevOps Guru with CloudWatch log
2184
+ # groups for log anomaly detection.
2185
+ #
2186
+ # @!attribute [rw] opt_in_status
2187
+ # Specifies if DevOps Guru is configured to perform log anomaly
2188
+ # detection on CloudWatch log groups.
2189
+ # @return [String]
2190
+ #
2191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogsAnomalyDetectionIntegration AWS API Documentation
2192
+ #
2193
+ class LogsAnomalyDetectionIntegration < Struct.new(
2194
+ :opt_in_status)
2195
+ SENSITIVE = []
2196
+ include Aws::Structure
2197
+ end
2198
+
2199
+ # Information about the integration of DevOps Guru with CloudWatch log
2200
+ # groups for log anomaly detection. You can use this to update the
2201
+ # configuration.
2202
+ #
2203
+ # @!attribute [rw] opt_in_status
2204
+ # Specifies if DevOps Guru is configured to perform log anomaly
2205
+ # detection on CloudWatch log groups.
2206
+ # @return [String]
2207
+ #
2208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogsAnomalyDetectionIntegrationConfig AWS API Documentation
2209
+ #
2210
+ class LogsAnomalyDetectionIntegrationConfig < Struct.new(
2211
+ :opt_in_status)
2212
+ SENSITIVE = []
2213
+ include Aws::Structure
2214
+ end
2215
+
2216
+ # Information about the resource that is being monitored, including the
2217
+ # name of the resource, the type of resource, and whether or not
2218
+ # permission is given to DevOps Guru to access that resource.
2219
+ #
2220
+ # @!attribute [rw] monitored_resource_name
2221
+ # The name of the resource being monitored.
2222
+ # @return [String]
2223
+ #
2224
+ # @!attribute [rw] type
2225
+ # The type of resource being monitored.
2226
+ # @return [String]
2227
+ #
2228
+ # @!attribute [rw] resource_permission
2229
+ # The permission status of a resource.
2230
+ # @return [String]
2231
+ #
2232
+ # @!attribute [rw] last_updated
2233
+ # The time at which DevOps Guru last updated this resource.
2234
+ # @return [Time]
2235
+ #
2236
+ # @!attribute [rw] resource_collection
2237
+ # A collection of Amazon Web Services resources supported by DevOps
2238
+ # Guru. The two types of Amazon Web Services resource collections
2239
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
2240
+ # Web Services resources that contain the same Amazon Web Services
2241
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
2242
+ # Services resources that are defined in the stacks or that are tagged
2243
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2244
+ # Services CloudFormation stacks.
2245
+ # @return [Types::ResourceCollection]
2246
+ #
2247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/MonitoredResourceIdentifier AWS API Documentation
2248
+ #
2249
+ class MonitoredResourceIdentifier < Struct.new(
2250
+ :monitored_resource_name,
2251
+ :type,
2252
+ :resource_permission,
2253
+ :last_updated,
2254
+ :resource_collection)
2255
+ SENSITIVE = []
2256
+ include Aws::Structure
2257
+ end
2258
+
1913
2259
  # Information about a notification channel. A notification channel is
1914
2260
  # used to notify you when DevOps Guru creates an insight. The one
1915
2261
  # supported notification channel is Amazon Simple Notification Service
1916
2262
  # (Amazon SNS).
1917
2263
  #
1918
2264
  # If you use an Amazon SNS topic in another account, you must attach a
1919
- # policy to it that grants DevOps Guru permission to it notifications.
1920
- # DevOps Guru adds the required policy on your behalf to send
1921
- # notifications using Amazon SNS in your account. For more information,
1922
- # see [Permissions for cross account Amazon SNS topics][1].
2265
+ # policy to it that grants DevOps Guru permission to send it
2266
+ # notifications. DevOps Guru adds the required policy on your behalf to
2267
+ # send notifications using Amazon SNS in your account. DevOps Guru only
2268
+ # supports standard SNS topics. For more information, see [Permissions
2269
+ # for Amazon SNS topics][1].
1923
2270
  #
1924
2271
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
1925
2272
  # Services Key Management Service customer-managed key (CMK), then you
@@ -1954,25 +2301,16 @@ module Aws::DevOpsGuru
1954
2301
  # DevOps Guru. The one supported notification channel is Amazon Simple
1955
2302
  # Notification Service (Amazon SNS).
1956
2303
  #
1957
- # @note When making an API call, you may pass NotificationChannelConfig
1958
- # data as a hash:
1959
- #
1960
- # {
1961
- # sns: { # required
1962
- # topic_arn: "TopicArn",
1963
- # },
1964
- # }
1965
- #
1966
2304
  # @!attribute [rw] sns
1967
2305
  # Information about a notification channel configured in DevOps Guru
1968
2306
  # to send notifications when insights are created.
1969
2307
  #
1970
2308
  # If you use an Amazon SNS topic in another account, you must attach a
1971
- # policy to it that grants DevOps Guru permission to it notifications.
1972
- # DevOps Guru adds the required policy on your behalf to send
1973
- # notifications using Amazon SNS in your account. For more
1974
- # information, see [Permissions for cross account Amazon SNS
1975
- # topics][1].
2309
+ # policy to it that grants DevOps Guru permission to send it
2310
+ # notifications. DevOps Guru adds the required policy on your behalf
2311
+ # to send notifications using Amazon SNS in your account. DevOps Guru
2312
+ # only supports standard SNS topics. For more information, see
2313
+ # [Permissions for Amazon SNS topics][1].
1976
2314
  #
1977
2315
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
1978
2316
  # Services Key Management Service customer-managed key (CMK), then you
@@ -1986,10 +2324,49 @@ module Aws::DevOpsGuru
1986
2324
  # [2]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html
1987
2325
  # @return [Types::SnsChannelConfig]
1988
2326
  #
2327
+ # @!attribute [rw] filters
2328
+ # The filter configurations for the Amazon SNS notification topic you
2329
+ # use with DevOps Guru. If you do not provide filter configurations,
2330
+ # the default configurations are to receive notifications for all
2331
+ # message types of `High` or `Medium` severity.
2332
+ # @return [Types::NotificationFilterConfig]
2333
+ #
1989
2334
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/NotificationChannelConfig AWS API Documentation
1990
2335
  #
1991
2336
  class NotificationChannelConfig < Struct.new(
1992
- :sns)
2337
+ :sns,
2338
+ :filters)
2339
+ SENSITIVE = []
2340
+ include Aws::Structure
2341
+ end
2342
+
2343
+ # The filter configurations for the Amazon SNS notification topic you
2344
+ # use with DevOps Guru. You can choose to specify which events or
2345
+ # message types to receive notifications for. You can also choose to
2346
+ # specify which severity levels to receive notifications for.
2347
+ #
2348
+ # @!attribute [rw] severities
2349
+ # The severity levels that you want to receive notifications for. For
2350
+ # example, you can choose to receive notifications only for insights
2351
+ # with `HIGH` and `MEDIUM` severity levels. For more information, see
2352
+ # [Understanding insight severities][1].
2353
+ #
2354
+ #
2355
+ #
2356
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2357
+ # @return [Array<String>]
2358
+ #
2359
+ # @!attribute [rw] message_types
2360
+ # The events that you want to receive notifications for. For example,
2361
+ # you can choose to receive notifications only when the severity level
2362
+ # is upgraded or a new insight is created.
2363
+ # @return [Array<String>]
2364
+ #
2365
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/NotificationFilterConfig AWS API Documentation
2366
+ #
2367
+ class NotificationFilterConfig < Struct.new(
2368
+ :severities,
2369
+ :message_types)
1993
2370
  SENSITIVE = []
1994
2371
  include Aws::Structure
1995
2372
  end
@@ -2005,32 +2382,397 @@ module Aws::DevOpsGuru
2005
2382
  #
2006
2383
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/OpsCenterIntegration AWS API Documentation
2007
2384
  #
2008
- class OpsCenterIntegration < Struct.new(
2009
- :opt_in_status)
2385
+ class OpsCenterIntegration < Struct.new(
2386
+ :opt_in_status)
2387
+ SENSITIVE = []
2388
+ include Aws::Structure
2389
+ end
2390
+
2391
+ # Information about whether DevOps Guru is configured to create an
2392
+ # OpsItem in Amazon Web Services Systems Manager OpsCenter for each
2393
+ # created insight. You can use this to update the configuration.
2394
+ #
2395
+ # @!attribute [rw] opt_in_status
2396
+ # Specifies if DevOps Guru is enabled to create an Amazon Web Services
2397
+ # Systems Manager OpsItem for each created insight.
2398
+ # @return [String]
2399
+ #
2400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/OpsCenterIntegrationConfig AWS API Documentation
2401
+ #
2402
+ class OpsCenterIntegrationConfig < Struct.new(
2403
+ :opt_in_status)
2404
+ SENSITIVE = []
2405
+ include Aws::Structure
2406
+ end
2407
+
2408
+ # A logical grouping of Performance Insights metrics for a related
2409
+ # subject area. For example, the `db.sql` dimension group consists of
2410
+ # the following dimensions: `db.sql.id`, `db.sql.db_id`,
2411
+ # `db.sql.statement`, and `db.sql.tokenized_id`.
2412
+ #
2413
+ # <note markdown="1"> Each response element returns a maximum of 500 bytes. For larger
2414
+ # elements, such as SQL statements, only the first 500 bytes are
2415
+ # returned.
2416
+ #
2417
+ # </note>
2418
+ #
2419
+ # Amazon RDS Performance Insights enables you to monitor and explore
2420
+ # different dimensions of database load based on data captured from a
2421
+ # running DB instance. DB load is measured as average active sessions.
2422
+ # Performance Insights provides the data to API consumers as a
2423
+ # two-dimensional time-series dataset. The time dimension provides DB
2424
+ # load data for each time point in the queried time range. Each time
2425
+ # point decomposes overall load in relation to the requested dimensions,
2426
+ # measured at that time point. Examples include SQL, Wait event, User,
2427
+ # and Host.
2428
+ #
2429
+ # * To learn more about Performance Insights and Amazon Aurora DB
2430
+ # instances, go to the [ Amazon Aurora User Guide][1].
2431
+ #
2432
+ # * To learn more about Performance Insights and Amazon RDS DB
2433
+ # instances, go to the [ Amazon RDS User Guide][2].
2434
+ #
2435
+ #
2436
+ #
2437
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html
2438
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html
2439
+ #
2440
+ # @!attribute [rw] group
2441
+ # The name of the dimension group. Its valid values are:
2442
+ #
2443
+ # * `db` - The name of the database to which the client is connected
2444
+ # (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora MySQL,
2445
+ # Amazon RDS MySQL, and MariaDB)
2446
+ #
2447
+ # * `db.application` - The name of the application that is connected
2448
+ # to the database (only Aurora PostgreSQL and RDS PostgreSQL)
2449
+ #
2450
+ # * `db.host` - The host name of the connected client (all engines)
2451
+ #
2452
+ # * `db.session_type` - The type of the current session (only Aurora
2453
+ # PostgreSQL and RDS PostgreSQL)
2454
+ #
2455
+ # * `db.sql` - The SQL that is currently executing (all engines)
2456
+ #
2457
+ # * `db.sql_tokenized` - The SQL digest (all engines)
2458
+ #
2459
+ # * `db.wait_event` - The event for which the database backend is
2460
+ # waiting (all engines)
2461
+ #
2462
+ # * `db.wait_event_type` - The type of event for which the database
2463
+ # backend is waiting (all engines)
2464
+ #
2465
+ # * `db.user` - The user logged in to the database (all engines)
2466
+ # @return [String]
2467
+ #
2468
+ # @!attribute [rw] dimensions
2469
+ # A list of specific dimensions from a dimension group. If this
2470
+ # parameter is not present, then it signifies that all of the
2471
+ # dimensions in the group were requested or are present in the
2472
+ # response.
2473
+ #
2474
+ # Valid values for elements in the `Dimensions` array are:
2475
+ #
2476
+ # * `db.application.name` - The name of the application that is
2477
+ # connected to the database (only Aurora PostgreSQL and RDS
2478
+ # PostgreSQL)
2479
+ #
2480
+ # * `db.host.id` - The host ID of the connected client (all engines)
2481
+ #
2482
+ # * `db.host.name` - The host name of the connected client (all
2483
+ # engines)
2484
+ #
2485
+ # * `db.name` - The name of the database to which the client is
2486
+ # connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora
2487
+ # MySQL, Amazon RDS MySQL, and MariaDB)
2488
+ #
2489
+ # * `db.session_type.name` - The type of the current session (only
2490
+ # Aurora PostgreSQL and RDS PostgreSQL)
2491
+ #
2492
+ # * `db.sql.id` - The SQL ID generated by Performance Insights (all
2493
+ # engines)
2494
+ #
2495
+ # * `db.sql.db_id` - The SQL ID generated by the database (all
2496
+ # engines)
2497
+ #
2498
+ # * `db.sql.statement` - The SQL text that is being executed (all
2499
+ # engines)
2500
+ #
2501
+ # * `db.sql.tokenized_id`
2502
+ #
2503
+ # * `db.sql_tokenized.id` - The SQL digest ID generated by Performance
2504
+ # Insights (all engines)
2505
+ #
2506
+ # * `db.sql_tokenized.db_id` - SQL digest ID generated by the database
2507
+ # (all engines)
2508
+ #
2509
+ # * `db.sql_tokenized.statement` - The SQL digest text (all engines)
2510
+ #
2511
+ # * `db.user.id` - The ID of the user logged in to the database (all
2512
+ # engines)
2513
+ #
2514
+ # * `db.user.name` - The name of the user logged in to the database
2515
+ # (all engines)
2516
+ #
2517
+ # * `db.wait_event.name` - The event for which the backend is waiting
2518
+ # (all engines)
2519
+ #
2520
+ # * `db.wait_event.type` - The type of event for which the backend is
2521
+ # waiting (all engines)
2522
+ #
2523
+ # * `db.wait_event_type.name` - The name of the event type for which
2524
+ # the backend is waiting (all engines)
2525
+ # @return [Array<String>]
2526
+ #
2527
+ # @!attribute [rw] limit
2528
+ # The maximum number of items to fetch for this dimension group.
2529
+ # @return [Integer]
2530
+ #
2531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PerformanceInsightsMetricDimensionGroup AWS API Documentation
2532
+ #
2533
+ class PerformanceInsightsMetricDimensionGroup < Struct.new(
2534
+ :group,
2535
+ :dimensions,
2536
+ :limit)
2537
+ SENSITIVE = []
2538
+ include Aws::Structure
2539
+ end
2540
+
2541
+ # A single query to be processed. Use these parameters to query the
2542
+ # Performance Insights `GetResourceMetrics` API to retrieve the metrics
2543
+ # for an anomaly. For more information, see ` GetResourceMetrics ` in
2544
+ # the *Amazon RDS Performance Insights API Reference*.
2545
+ #
2546
+ # Amazon RDS Performance Insights enables you to monitor and explore
2547
+ # different dimensions of database load based on data captured from a
2548
+ # running DB instance. DB load is measured as average active sessions.
2549
+ # Performance Insights provides the data to API consumers as a
2550
+ # two-dimensional time-series dataset. The time dimension provides DB
2551
+ # load data for each time point in the queried time range. Each time
2552
+ # point decomposes overall load in relation to the requested dimensions,
2553
+ # measured at that time point. Examples include SQL, Wait event, User,
2554
+ # and Host.
2555
+ #
2556
+ # * To learn more about Performance Insights and Amazon Aurora DB
2557
+ # instances, go to the [ Amazon Aurora User Guide][1].
2558
+ #
2559
+ # * To learn more about Performance Insights and Amazon RDS DB
2560
+ # instances, go to the [ Amazon RDS User Guide][2].
2561
+ #
2562
+ #
2563
+ #
2564
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html
2565
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html
2566
+ #
2567
+ # @!attribute [rw] metric
2568
+ # The name of the meteric used used when querying an Performance
2569
+ # Insights `GetResourceMetrics` API for anomaly metrics.
2570
+ #
2571
+ # Valid values for `Metric` are:
2572
+ #
2573
+ # * `db.load.avg` - a scaled representation of the number of active
2574
+ # sessions for the database engine.
2575
+ #
2576
+ # * `db.sampledload.avg` - the raw number of active sessions for the
2577
+ # database engine.
2578
+ #
2579
+ # If the number of active sessions is less than an internal
2580
+ # Performance Insights threshold, `db.load.avg` and
2581
+ # `db.sampledload.avg` are the same value. If the number of active
2582
+ # sessions is greater than the internal threshold, Performance
2583
+ # Insights samples the active sessions, with `db.load.avg` showing the
2584
+ # scaled values, `db.sampledload.avg` showing the raw values, and
2585
+ # `db.sampledload.avg` less than `db.load.avg`. For most use cases,
2586
+ # you can query `db.load.avg` only.
2587
+ # @return [String]
2588
+ #
2589
+ # @!attribute [rw] group_by
2590
+ # The specification for how to aggregate the data points from a
2591
+ # Performance Insights `GetResourceMetrics` API query. The Performance
2592
+ # Insights query returns all of the dimensions within that group,
2593
+ # unless you provide the names of specific dimensions within that
2594
+ # group. You can also request that Performance Insights return a
2595
+ # limited number of values for a dimension.
2596
+ # @return [Types::PerformanceInsightsMetricDimensionGroup]
2597
+ #
2598
+ # @!attribute [rw] filter
2599
+ # One or more filters to apply to a Performance Insights
2600
+ # `GetResourceMetrics` API query. Restrictions:
2601
+ #
2602
+ # * Any number of filters by the same dimension, as specified in the
2603
+ # `GroupBy` parameter.
2604
+ #
2605
+ # * A single filter for any other dimension in this dimension group.
2606
+ # @return [Hash<String,String>]
2607
+ #
2608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PerformanceInsightsMetricQuery AWS API Documentation
2609
+ #
2610
+ class PerformanceInsightsMetricQuery < Struct.new(
2611
+ :metric,
2612
+ :group_by,
2613
+ :filter)
2614
+ SENSITIVE = []
2615
+ include Aws::Structure
2616
+ end
2617
+
2618
+ # Details about Performance Insights metrics.
2619
+ #
2620
+ # Amazon RDS Performance Insights enables you to monitor and explore
2621
+ # different dimensions of database load based on data captured from a
2622
+ # running DB instance. DB load is measured as average active sessions.
2623
+ # Performance Insights provides the data to API consumers as a
2624
+ # two-dimensional time-series dataset. The time dimension provides DB
2625
+ # load data for each time point in the queried time range. Each time
2626
+ # point decomposes overall load in relation to the requested dimensions,
2627
+ # measured at that time point. Examples include SQL, Wait event, User,
2628
+ # and Host.
2629
+ #
2630
+ # * To learn more about Performance Insights and Amazon Aurora DB
2631
+ # instances, go to the [ Amazon Aurora User Guide][1].
2632
+ #
2633
+ # * To learn more about Performance Insights and Amazon RDS DB
2634
+ # instances, go to the [ Amazon RDS User Guide][2].
2635
+ #
2636
+ #
2637
+ #
2638
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html
2639
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html
2640
+ #
2641
+ # @!attribute [rw] metric_display_name
2642
+ # The name used for a specific Performance Insights metric.
2643
+ # @return [String]
2644
+ #
2645
+ # @!attribute [rw] unit
2646
+ # The unit of measure for a metric. For example, a session or a
2647
+ # process.
2648
+ # @return [String]
2649
+ #
2650
+ # @!attribute [rw] metric_query
2651
+ # A single query to be processed for the metric. For more information,
2652
+ # see ` PerformanceInsightsMetricQuery `.
2653
+ # @return [Types::PerformanceInsightsMetricQuery]
2654
+ #
2655
+ # @!attribute [rw] reference_data
2656
+ # For more information, see ` PerformanceInsightsReferenceData `.
2657
+ # @return [Array<Types::PerformanceInsightsReferenceData>]
2658
+ #
2659
+ # @!attribute [rw] stats_at_anomaly
2660
+ # The metric statistics during the anomalous period detected by DevOps
2661
+ # Guru;
2662
+ # @return [Array<Types::PerformanceInsightsStat>]
2663
+ #
2664
+ # @!attribute [rw] stats_at_baseline
2665
+ # Typical metric statistics that are not considered anomalous. When
2666
+ # DevOps Guru analyzes metrics, it compares them to `StatsAtBaseline`
2667
+ # to help determine if they are anomalous.
2668
+ # @return [Array<Types::PerformanceInsightsStat>]
2669
+ #
2670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PerformanceInsightsMetricsDetail AWS API Documentation
2671
+ #
2672
+ class PerformanceInsightsMetricsDetail < Struct.new(
2673
+ :metric_display_name,
2674
+ :unit,
2675
+ :metric_query,
2676
+ :reference_data,
2677
+ :stats_at_anomaly,
2678
+ :stats_at_baseline)
2679
+ SENSITIVE = []
2680
+ include Aws::Structure
2681
+ end
2682
+
2683
+ # Reference scalar values and other metrics that DevOps Guru displays on
2684
+ # a graph in its console along with the actual metrics it analyzed.
2685
+ # Compare these reference values to your actual metrics to help you
2686
+ # understand anomalous behavior that DevOps Guru detected.
2687
+ #
2688
+ # @!attribute [rw] reference_scalar
2689
+ # A scalar value DevOps Guru for a metric that DevOps Guru compares to
2690
+ # actual metric values. This reference value is used to determine if
2691
+ # an actual metric value should be considered anomalous.
2692
+ # @return [Types::PerformanceInsightsReferenceScalar]
2693
+ #
2694
+ # @!attribute [rw] reference_metric
2695
+ # A metric that DevOps Guru compares to actual metric values. This
2696
+ # reference metric is used to determine if an actual metric should be
2697
+ # considered anomalous.
2698
+ # @return [Types::PerformanceInsightsReferenceMetric]
2699
+ #
2700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PerformanceInsightsReferenceComparisonValues AWS API Documentation
2701
+ #
2702
+ class PerformanceInsightsReferenceComparisonValues < Struct.new(
2703
+ :reference_scalar,
2704
+ :reference_metric)
2705
+ SENSITIVE = []
2706
+ include Aws::Structure
2707
+ end
2708
+
2709
+ # Reference data used to evaluate Performance Insights to determine if
2710
+ # its performance is anomalous or not.
2711
+ #
2712
+ # @!attribute [rw] name
2713
+ # The name of the reference data.
2714
+ # @return [String]
2715
+ #
2716
+ # @!attribute [rw] comparison_values
2717
+ # The specific reference values used to evaluate the Performance
2718
+ # Insights. For more information, see `
2719
+ # PerformanceInsightsReferenceComparisonValues `.
2720
+ # @return [Types::PerformanceInsightsReferenceComparisonValues]
2721
+ #
2722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PerformanceInsightsReferenceData AWS API Documentation
2723
+ #
2724
+ class PerformanceInsightsReferenceData < Struct.new(
2725
+ :name,
2726
+ :comparison_values)
2727
+ SENSITIVE = []
2728
+ include Aws::Structure
2729
+ end
2730
+
2731
+ # Information about a reference metric used to evaluate Performance
2732
+ # Insights.
2733
+ #
2734
+ # @!attribute [rw] metric_query
2735
+ # A query to be processed on the metric.
2736
+ # @return [Types::PerformanceInsightsMetricQuery]
2737
+ #
2738
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PerformanceInsightsReferenceMetric AWS API Documentation
2739
+ #
2740
+ class PerformanceInsightsReferenceMetric < Struct.new(
2741
+ :metric_query)
2010
2742
  SENSITIVE = []
2011
2743
  include Aws::Structure
2012
2744
  end
2013
2745
 
2014
- # Information about whether DevOps Guru is configured to create an
2015
- # OpsItem in Amazon Web Services Systems Manager OpsCenter for each
2016
- # created insight.
2746
+ # A reference value to compare Performance Insights metrics against to
2747
+ # determine if the metrics demonstrate anomalous behavior.
2017
2748
  #
2018
- # @note When making an API call, you may pass OpsCenterIntegrationConfig
2019
- # data as a hash:
2749
+ # @!attribute [rw] value
2750
+ # The reference value.
2751
+ # @return [Float]
2020
2752
  #
2021
- # {
2022
- # opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
2023
- # }
2753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PerformanceInsightsReferenceScalar AWS API Documentation
2024
2754
  #
2025
- # @!attribute [rw] opt_in_status
2026
- # Specifies if DevOps Guru is enabled to create an Amazon Web Services
2027
- # Systems Manager OpsItem for each created insight.
2755
+ class PerformanceInsightsReferenceScalar < Struct.new(
2756
+ :value)
2757
+ SENSITIVE = []
2758
+ include Aws::Structure
2759
+ end
2760
+
2761
+ # A statistic in a Performance Insights collection.
2762
+ #
2763
+ # @!attribute [rw] type
2764
+ # The statistic type.
2028
2765
  # @return [String]
2029
2766
  #
2030
- # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/OpsCenterIntegrationConfig AWS API Documentation
2767
+ # @!attribute [rw] value
2768
+ # The value of the statistic.
2769
+ # @return [Float]
2031
2770
  #
2032
- class OpsCenterIntegrationConfig < Struct.new(
2033
- :opt_in_status)
2771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PerformanceInsightsStat AWS API Documentation
2772
+ #
2773
+ class PerformanceInsightsStat < Struct.new(
2774
+ :type,
2775
+ :value)
2034
2776
  SENSITIVE = []
2035
2777
  include Aws::Structure
2036
2778
  end
@@ -2065,7 +2807,14 @@ module Aws::DevOpsGuru
2065
2807
  # @return [String]
2066
2808
  #
2067
2809
  # @!attribute [rw] severity
2068
- # The severity of a proactive anomaly.
2810
+ # The severity of the anomaly. The severity of anomalies that generate
2811
+ # an insight determine that insight's severity. For more information,
2812
+ # see [Understanding insight severities][1] in the *Amazon DevOps Guru
2813
+ # User Guide*.
2814
+ #
2815
+ #
2816
+ #
2817
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2069
2818
  # @return [String]
2070
2819
  #
2071
2820
  # @!attribute [rw] status
@@ -2084,7 +2833,7 @@ module Aws::DevOpsGuru
2084
2833
  # @return [Types::AnomalyTimeRange]
2085
2834
  #
2086
2835
  # @!attribute [rw] anomaly_reported_time_range
2087
- # A `AnomalyReportedTimeRange` object that specifies the time range
2836
+ # An `AnomalyReportedTimeRange` object that specifies the time range
2088
2837
  # between when the anomaly is opened and the time when it is closed.
2089
2838
  # @return [Types::AnomalyReportedTimeRange]
2090
2839
  #
@@ -2106,10 +2855,12 @@ module Aws::DevOpsGuru
2106
2855
  #
2107
2856
  # @!attribute [rw] resource_collection
2108
2857
  # A collection of Amazon Web Services resources supported by DevOps
2109
- # Guru. The one type of Amazon Web Services resource collection
2110
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2111
- # can be configured to analyze only the Amazon Web Services resources
2112
- # that are defined in the stacks. You can specify up to 500 Amazon Web
2858
+ # Guru. The two types of Amazon Web Services resource collections
2859
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
2860
+ # Web Services resources that contain the same Amazon Web Services
2861
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
2862
+ # Services resources that are defined in the stacks or that are tagged
2863
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2113
2864
  # Services CloudFormation stacks.
2114
2865
  # @return [Types::ResourceCollection]
2115
2866
  #
@@ -2119,6 +2870,19 @@ module Aws::DevOpsGuru
2119
2870
  # generated this anomaly.
2120
2871
  # @return [Float]
2121
2872
  #
2873
+ # @!attribute [rw] source_metadata
2874
+ # The metadata for the anomaly.
2875
+ # @return [Types::AnomalySourceMetadata]
2876
+ #
2877
+ # @!attribute [rw] anomaly_resources
2878
+ # Information about a resource in which DevOps Guru detected anomalous
2879
+ # behavior.
2880
+ # @return [Array<Types::AnomalyResource>]
2881
+ #
2882
+ # @!attribute [rw] description
2883
+ # A description of the proactive anomaly.
2884
+ # @return [String]
2885
+ #
2122
2886
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomaly AWS API Documentation
2123
2887
  #
2124
2888
  class ProactiveAnomaly < Struct.new(
@@ -2132,7 +2896,10 @@ module Aws::DevOpsGuru
2132
2896
  :source_details,
2133
2897
  :associated_insight_id,
2134
2898
  :resource_collection,
2135
- :limit)
2899
+ :limit,
2900
+ :source_metadata,
2901
+ :anomaly_resources,
2902
+ :description)
2136
2903
  SENSITIVE = []
2137
2904
  include Aws::Structure
2138
2905
  end
@@ -2145,7 +2912,14 @@ module Aws::DevOpsGuru
2145
2912
  # @return [String]
2146
2913
  #
2147
2914
  # @!attribute [rw] severity
2148
- # The severity of the anomaly.
2915
+ # The severity of the anomaly. The severity of anomalies that generate
2916
+ # an insight determine that insight's severity. For more information,
2917
+ # see [Understanding insight severities][1] in the *Amazon DevOps Guru
2918
+ # User Guide*.
2919
+ #
2920
+ #
2921
+ #
2922
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2149
2923
  # @return [String]
2150
2924
  #
2151
2925
  # @!attribute [rw] status
@@ -2164,7 +2938,7 @@ module Aws::DevOpsGuru
2164
2938
  # @return [Types::AnomalyTimeRange]
2165
2939
  #
2166
2940
  # @!attribute [rw] anomaly_reported_time_range
2167
- # A `AnomalyReportedTimeRange` object that specifies the time range
2941
+ # An `AnomalyReportedTimeRange` object that specifies the time range
2168
2942
  # between when the anomaly is opened and the time when it is closed.
2169
2943
  # @return [Types::AnomalyReportedTimeRange]
2170
2944
  #
@@ -2186,10 +2960,12 @@ module Aws::DevOpsGuru
2186
2960
  #
2187
2961
  # @!attribute [rw] resource_collection
2188
2962
  # A collection of Amazon Web Services resources supported by DevOps
2189
- # Guru. The one type of Amazon Web Services resource collection
2190
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2191
- # can be configured to analyze only the Amazon Web Services resources
2192
- # that are defined in the stacks. You can specify up to 500 Amazon Web
2963
+ # Guru. The two types of Amazon Web Services resource collections
2964
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
2965
+ # Web Services resources that contain the same Amazon Web Services
2966
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
2967
+ # Services resources that are defined in the stacks or that are tagged
2968
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2193
2969
  # Services CloudFormation stacks.
2194
2970
  # @return [Types::ResourceCollection]
2195
2971
  #
@@ -2199,6 +2975,19 @@ module Aws::DevOpsGuru
2199
2975
  # generated this anomaly.
2200
2976
  # @return [Float]
2201
2977
  #
2978
+ # @!attribute [rw] source_metadata
2979
+ # The metadata of the source which detects proactive anomalies.
2980
+ # @return [Types::AnomalySourceMetadata]
2981
+ #
2982
+ # @!attribute [rw] anomaly_resources
2983
+ # Information about a resource in which DevOps Guru detected anomalous
2984
+ # behavior.
2985
+ # @return [Array<Types::AnomalyResource>]
2986
+ #
2987
+ # @!attribute [rw] description
2988
+ # A description of the proactive anomaly.
2989
+ # @return [String]
2990
+ #
2202
2991
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomalySummary AWS API Documentation
2203
2992
  #
2204
2993
  class ProactiveAnomalySummary < Struct.new(
@@ -2212,7 +3001,10 @@ module Aws::DevOpsGuru
2212
3001
  :source_details,
2213
3002
  :associated_insight_id,
2214
3003
  :resource_collection,
2215
- :limit)
3004
+ :limit,
3005
+ :source_metadata,
3006
+ :anomaly_resources,
3007
+ :description)
2216
3008
  SENSITIVE = []
2217
3009
  include Aws::Structure
2218
3010
  end
@@ -2229,7 +3021,13 @@ module Aws::DevOpsGuru
2229
3021
  # @return [String]
2230
3022
  #
2231
3023
  # @!attribute [rw] severity
2232
- # The severity of the proactive insight.
3024
+ # The severity of the insight. For more information, see
3025
+ # [Understanding insight severities][1] in the *Amazon DevOps Guru
3026
+ # User Guide*.
3027
+ #
3028
+ #
3029
+ #
3030
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2233
3031
  # @return [String]
2234
3032
  #
2235
3033
  # @!attribute [rw] status
@@ -2248,10 +3046,12 @@ module Aws::DevOpsGuru
2248
3046
  #
2249
3047
  # @!attribute [rw] resource_collection
2250
3048
  # A collection of Amazon Web Services resources supported by DevOps
2251
- # Guru. The one type of Amazon Web Services resource collection
2252
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2253
- # can be configured to analyze only the Amazon Web Services resources
2254
- # that are defined in the stacks. You can specify up to 500 Amazon Web
3049
+ # Guru. The two types of Amazon Web Services resource collections
3050
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
3051
+ # Web Services resources that contain the same Amazon Web Services
3052
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
3053
+ # Services resources that are defined in the stacks or that are tagged
3054
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2255
3055
  # Services CloudFormation stacks.
2256
3056
  # @return [Types::ResourceCollection]
2257
3057
  #
@@ -2261,6 +3061,10 @@ module Aws::DevOpsGuru
2261
3061
  # before they are created for each insight.
2262
3062
  # @return [String]
2263
3063
  #
3064
+ # @!attribute [rw] description
3065
+ # Describes the proactive insight.
3066
+ # @return [String]
3067
+ #
2264
3068
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsight AWS API Documentation
2265
3069
  #
2266
3070
  class ProactiveInsight < Struct.new(
@@ -2271,7 +3075,8 @@ module Aws::DevOpsGuru
2271
3075
  :insight_time_range,
2272
3076
  :prediction_time_range,
2273
3077
  :resource_collection,
2274
- :ssm_ops_item_id)
3078
+ :ssm_ops_item_id,
3079
+ :description)
2275
3080
  SENSITIVE = []
2276
3081
  include Aws::Structure
2277
3082
  end
@@ -2288,7 +3093,13 @@ module Aws::DevOpsGuru
2288
3093
  # @return [String]
2289
3094
  #
2290
3095
  # @!attribute [rw] severity
2291
- # The severity of the proactive insight.
3096
+ # The severity of the insight. For more information, see
3097
+ # [Understanding insight severities][1] in the *Amazon DevOps Guru
3098
+ # User Guide*.
3099
+ #
3100
+ #
3101
+ #
3102
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2292
3103
  # @return [String]
2293
3104
  #
2294
3105
  # @!attribute [rw] status
@@ -2307,10 +3118,12 @@ module Aws::DevOpsGuru
2307
3118
  #
2308
3119
  # @!attribute [rw] resource_collection
2309
3120
  # A collection of Amazon Web Services resources supported by DevOps
2310
- # Guru. The one type of Amazon Web Services resource collection
2311
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2312
- # can be configured to analyze only the Amazon Web Services resources
2313
- # that are defined in the stacks. You can specify up to 500 Amazon Web
3121
+ # Guru. The two types of Amazon Web Services resource collections
3122
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
3123
+ # Web Services resources that contain the same Amazon Web Services
3124
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
3125
+ # Services resources that are defined in the stacks or that are tagged
3126
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2314
3127
  # Services CloudFormation stacks.
2315
3128
  # @return [Types::ResourceCollection]
2316
3129
  #
@@ -2318,6 +3131,11 @@ module Aws::DevOpsGuru
2318
3131
  # A collection of the names of Amazon Web Services services.
2319
3132
  # @return [Types::ServiceCollection]
2320
3133
  #
3134
+ # @!attribute [rw] associated_resource_arns
3135
+ # The Amazon Resource Names (ARNs) of the Amazon Web Services
3136
+ # resources that generated this insight.
3137
+ # @return [Array<String>]
3138
+ #
2321
3139
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsightSummary AWS API Documentation
2322
3140
  #
2323
3141
  class ProactiveInsightSummary < Struct.new(
@@ -2328,7 +3146,8 @@ module Aws::DevOpsGuru
2328
3146
  :insight_time_range,
2329
3147
  :prediction_time_range,
2330
3148
  :resource_collection,
2331
- :service_collection)
3149
+ :service_collection,
3150
+ :associated_resource_arns)
2332
3151
  SENSITIVE = []
2333
3152
  include Aws::Structure
2334
3153
  end
@@ -2353,7 +3172,13 @@ module Aws::DevOpsGuru
2353
3172
  # @return [String]
2354
3173
  #
2355
3174
  # @!attribute [rw] severity
2356
- # An array of severity values used to search for insights.
3175
+ # An array of severity values used to search for insights. For more
3176
+ # information, see [Understanding insight severities][1] in the
3177
+ # *Amazon DevOps Guru User Guide*.
3178
+ #
3179
+ #
3180
+ #
3181
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2357
3182
  # @return [String]
2358
3183
  #
2359
3184
  # @!attribute [rw] status
@@ -2372,10 +3197,12 @@ module Aws::DevOpsGuru
2372
3197
  #
2373
3198
  # @!attribute [rw] resource_collection
2374
3199
  # A collection of Amazon Web Services resources supported by DevOps
2375
- # Guru. The one type of Amazon Web Services resource collection
2376
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2377
- # can be configured to analyze only the Amazon Web Services resources
2378
- # that are defined in the stacks. You can specify up to 500 Amazon Web
3200
+ # Guru. The two types of Amazon Web Services resource collections
3201
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
3202
+ # Web Services resources that contain the same Amazon Web Services
3203
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
3204
+ # Services resources that are defined in the stacks or that are tagged
3205
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2379
3206
  # Services CloudFormation stacks.
2380
3207
  # @return [Types::ResourceCollection]
2381
3208
  #
@@ -2400,16 +3227,6 @@ module Aws::DevOpsGuru
2400
3227
  include Aws::Structure
2401
3228
  end
2402
3229
 
2403
- # @note When making an API call, you may pass PutFeedbackRequest
2404
- # data as a hash:
2405
- #
2406
- # {
2407
- # insight_feedback: {
2408
- # id: "InsightId",
2409
- # feedback: "VALID_COLLECTION", # accepts VALID_COLLECTION, RECOMMENDATION_USEFUL, ALERT_TOO_SENSITIVE, DATA_NOISY_ANOMALY, DATA_INCORRECT
2410
- # },
2411
- # }
2412
- #
2413
3230
  # @!attribute [rw] insight_feedback
2414
3231
  # The feedback from customers is about the recommendations in this
2415
3232
  # insight.
@@ -2435,7 +3252,14 @@ module Aws::DevOpsGuru
2435
3252
  # @return [String]
2436
3253
  #
2437
3254
  # @!attribute [rw] severity
2438
- # The severity of the anomaly.
3255
+ # The severity of the anomaly. The severity of anomalies that generate
3256
+ # an insight determine that insight's severity. For more information,
3257
+ # see [Understanding insight severities][1] in the *Amazon DevOps Guru
3258
+ # User Guide*.
3259
+ #
3260
+ #
3261
+ #
3262
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2439
3263
  # @return [String]
2440
3264
  #
2441
3265
  # @!attribute [rw] status
@@ -2450,7 +3274,7 @@ module Aws::DevOpsGuru
2450
3274
  # @return [Types::AnomalyTimeRange]
2451
3275
  #
2452
3276
  # @!attribute [rw] anomaly_reported_time_range
2453
- # A `AnomalyReportedTimeRange` object that specifies the time range
3277
+ # An `AnomalyReportedTimeRange` object that specifies the time range
2454
3278
  # between when the anomaly is opened and the time when it is closed.
2455
3279
  # @return [Types::AnomalyReportedTimeRange]
2456
3280
  #
@@ -2467,13 +3291,43 @@ module Aws::DevOpsGuru
2467
3291
  #
2468
3292
  # @!attribute [rw] resource_collection
2469
3293
  # A collection of Amazon Web Services resources supported by DevOps
2470
- # Guru. The one type of Amazon Web Services resource collection
2471
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2472
- # can be configured to analyze only the Amazon Web Services resources
2473
- # that are defined in the stacks. You can specify up to 500 Amazon Web
3294
+ # Guru. The two types of Amazon Web Services resource collections
3295
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
3296
+ # Web Services resources that contain the same Amazon Web Services
3297
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
3298
+ # Services resources that are defined in the stacks or that are tagged
3299
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2474
3300
  # Services CloudFormation stacks.
2475
3301
  # @return [Types::ResourceCollection]
2476
3302
  #
3303
+ # @!attribute [rw] type
3304
+ # The type of the reactive anomaly. It can be one of the following
3305
+ # types.
3306
+ #
3307
+ # * `CAUSAL` - the anomaly can cause a new insight.
3308
+ #
3309
+ # * `CONTEXTUAL` - the anomaly contains additional information about
3310
+ # an insight or its causal anomaly.
3311
+ # @return [String]
3312
+ #
3313
+ # @!attribute [rw] name
3314
+ # The name of the reactive anomaly.
3315
+ # @return [String]
3316
+ #
3317
+ # @!attribute [rw] description
3318
+ # A description of the reactive anomaly.
3319
+ # @return [String]
3320
+ #
3321
+ # @!attribute [rw] causal_anomaly_id
3322
+ # The ID of the causal anomaly that is associated with this reactive
3323
+ # anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
3324
+ # @return [String]
3325
+ #
3326
+ # @!attribute [rw] anomaly_resources
3327
+ # The Amazon Web Services resources in which anomalous behavior was
3328
+ # detected by DevOps Guru.
3329
+ # @return [Array<Types::AnomalyResource>]
3330
+ #
2477
3331
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomaly AWS API Documentation
2478
3332
  #
2479
3333
  class ReactiveAnomaly < Struct.new(
@@ -2484,7 +3338,12 @@ module Aws::DevOpsGuru
2484
3338
  :anomaly_reported_time_range,
2485
3339
  :source_details,
2486
3340
  :associated_insight_id,
2487
- :resource_collection)
3341
+ :resource_collection,
3342
+ :type,
3343
+ :name,
3344
+ :description,
3345
+ :causal_anomaly_id,
3346
+ :anomaly_resources)
2488
3347
  SENSITIVE = []
2489
3348
  include Aws::Structure
2490
3349
  end
@@ -2497,7 +3356,14 @@ module Aws::DevOpsGuru
2497
3356
  # @return [String]
2498
3357
  #
2499
3358
  # @!attribute [rw] severity
2500
- # The severity of the reactive anomaly.
3359
+ # The severity of the anomaly. The severity of anomalies that generate
3360
+ # an insight determine that insight's severity. For more information,
3361
+ # see [Understanding insight severities][1] in the *Amazon DevOps Guru
3362
+ # User Guide*.
3363
+ #
3364
+ #
3365
+ #
3366
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2501
3367
  # @return [String]
2502
3368
  #
2503
3369
  # @!attribute [rw] status
@@ -2512,7 +3378,7 @@ module Aws::DevOpsGuru
2512
3378
  # @return [Types::AnomalyTimeRange]
2513
3379
  #
2514
3380
  # @!attribute [rw] anomaly_reported_time_range
2515
- # A `AnomalyReportedTimeRange` object that specifies the time range
3381
+ # An `AnomalyReportedTimeRange` object that specifies the time range
2516
3382
  # between when the anomaly is opened and the time when it is closed.
2517
3383
  # @return [Types::AnomalyReportedTimeRange]
2518
3384
  #
@@ -2529,13 +3395,43 @@ module Aws::DevOpsGuru
2529
3395
  #
2530
3396
  # @!attribute [rw] resource_collection
2531
3397
  # A collection of Amazon Web Services resources supported by DevOps
2532
- # Guru. The one type of Amazon Web Services resource collection
2533
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2534
- # can be configured to analyze only the Amazon Web Services resources
2535
- # that are defined in the stacks. You can specify up to 500 Amazon Web
3398
+ # Guru. The two types of Amazon Web Services resource collections
3399
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
3400
+ # Web Services resources that contain the same Amazon Web Services
3401
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
3402
+ # Services resources that are defined in the stacks or that are tagged
3403
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2536
3404
  # Services CloudFormation stacks.
2537
3405
  # @return [Types::ResourceCollection]
2538
3406
  #
3407
+ # @!attribute [rw] type
3408
+ # The type of the reactive anomaly. It can be one of the following
3409
+ # types.
3410
+ #
3411
+ # * `CAUSAL` - the anomaly can cause a new insight.
3412
+ #
3413
+ # * `CONTEXTUAL` - the anomaly contains additional information about
3414
+ # an insight or its causal anomaly.
3415
+ # @return [String]
3416
+ #
3417
+ # @!attribute [rw] name
3418
+ # The name of the reactive anomaly.
3419
+ # @return [String]
3420
+ #
3421
+ # @!attribute [rw] description
3422
+ # A description of the reactive anomaly.
3423
+ # @return [String]
3424
+ #
3425
+ # @!attribute [rw] causal_anomaly_id
3426
+ # The ID of the causal anomaly that is associated with this reactive
3427
+ # anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
3428
+ # @return [String]
3429
+ #
3430
+ # @!attribute [rw] anomaly_resources
3431
+ # The Amazon Web Services resources in which anomalous behavior was
3432
+ # detected by DevOps Guru.
3433
+ # @return [Array<Types::AnomalyResource>]
3434
+ #
2539
3435
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomalySummary AWS API Documentation
2540
3436
  #
2541
3437
  class ReactiveAnomalySummary < Struct.new(
@@ -2546,7 +3442,12 @@ module Aws::DevOpsGuru
2546
3442
  :anomaly_reported_time_range,
2547
3443
  :source_details,
2548
3444
  :associated_insight_id,
2549
- :resource_collection)
3445
+ :resource_collection,
3446
+ :type,
3447
+ :name,
3448
+ :description,
3449
+ :causal_anomaly_id,
3450
+ :anomaly_resources)
2550
3451
  SENSITIVE = []
2551
3452
  include Aws::Structure
2552
3453
  end
@@ -2563,7 +3464,13 @@ module Aws::DevOpsGuru
2563
3464
  # @return [String]
2564
3465
  #
2565
3466
  # @!attribute [rw] severity
2566
- # The severity of a reactive insight.
3467
+ # The severity of the insight. For more information, see
3468
+ # [Understanding insight severities][1] in the *Amazon DevOps Guru
3469
+ # User Guide*.
3470
+ #
3471
+ #
3472
+ #
3473
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2567
3474
  # @return [String]
2568
3475
  #
2569
3476
  # @!attribute [rw] status
@@ -2577,10 +3484,12 @@ module Aws::DevOpsGuru
2577
3484
  #
2578
3485
  # @!attribute [rw] resource_collection
2579
3486
  # A collection of Amazon Web Services resources supported by DevOps
2580
- # Guru. The one type of Amazon Web Services resource collection
2581
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2582
- # can be configured to analyze only the Amazon Web Services resources
2583
- # that are defined in the stacks. You can specify up to 500 Amazon Web
3487
+ # Guru. The two types of Amazon Web Services resource collections
3488
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
3489
+ # Web Services resources that contain the same Amazon Web Services
3490
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
3491
+ # Services resources that are defined in the stacks or that are tagged
3492
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2584
3493
  # Services CloudFormation stacks.
2585
3494
  # @return [Types::ResourceCollection]
2586
3495
  #
@@ -2590,6 +3499,10 @@ module Aws::DevOpsGuru
2590
3499
  # before they are created for each insight.
2591
3500
  # @return [String]
2592
3501
  #
3502
+ # @!attribute [rw] description
3503
+ # Describes the reactive insight.
3504
+ # @return [String]
3505
+ #
2593
3506
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsight AWS API Documentation
2594
3507
  #
2595
3508
  class ReactiveInsight < Struct.new(
@@ -2599,7 +3512,8 @@ module Aws::DevOpsGuru
2599
3512
  :status,
2600
3513
  :insight_time_range,
2601
3514
  :resource_collection,
2602
- :ssm_ops_item_id)
3515
+ :ssm_ops_item_id,
3516
+ :description)
2603
3517
  SENSITIVE = []
2604
3518
  include Aws::Structure
2605
3519
  end
@@ -2616,7 +3530,13 @@ module Aws::DevOpsGuru
2616
3530
  # @return [String]
2617
3531
  #
2618
3532
  # @!attribute [rw] severity
2619
- # The severity of a reactive insight.
3533
+ # The severity of the insight. For more information, see
3534
+ # [Understanding insight severities][1] in the *Amazon DevOps Guru
3535
+ # User Guide*.
3536
+ #
3537
+ #
3538
+ #
3539
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2620
3540
  # @return [String]
2621
3541
  #
2622
3542
  # @!attribute [rw] status
@@ -2630,10 +3550,12 @@ module Aws::DevOpsGuru
2630
3550
  #
2631
3551
  # @!attribute [rw] resource_collection
2632
3552
  # A collection of Amazon Web Services resources supported by DevOps
2633
- # Guru. The one type of Amazon Web Services resource collection
2634
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2635
- # can be configured to analyze only the Amazon Web Services resources
2636
- # that are defined in the stacks. You can specify up to 500 Amazon Web
3553
+ # Guru. The two types of Amazon Web Services resource collections
3554
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
3555
+ # Web Services resources that contain the same Amazon Web Services
3556
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
3557
+ # Services resources that are defined in the stacks or that are tagged
3558
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2637
3559
  # Services CloudFormation stacks.
2638
3560
  # @return [Types::ResourceCollection]
2639
3561
  #
@@ -2641,6 +3563,11 @@ module Aws::DevOpsGuru
2641
3563
  # A collection of the names of Amazon Web Services services.
2642
3564
  # @return [Types::ServiceCollection]
2643
3565
  #
3566
+ # @!attribute [rw] associated_resource_arns
3567
+ # The Amazon Resource Names (ARNs) of the Amazon Web Services
3568
+ # resources that generated this insight.
3569
+ # @return [Array<String>]
3570
+ #
2644
3571
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsightSummary AWS API Documentation
2645
3572
  #
2646
3573
  class ReactiveInsightSummary < Struct.new(
@@ -2650,7 +3577,8 @@ module Aws::DevOpsGuru
2650
3577
  :status,
2651
3578
  :insight_time_range,
2652
3579
  :resource_collection,
2653
- :service_collection)
3580
+ :service_collection,
3581
+ :associated_resource_arns)
2654
3582
  SENSITIVE = []
2655
3583
  include Aws::Structure
2656
3584
  end
@@ -2675,7 +3603,13 @@ module Aws::DevOpsGuru
2675
3603
  # @return [String]
2676
3604
  #
2677
3605
  # @!attribute [rw] severity
2678
- # An array of severity values used to search for insights.
3606
+ # An array of severity values used to search for insights. For more
3607
+ # information, see [Understanding insight severities][1] in the
3608
+ # *Amazon DevOps Guru User Guide*.
3609
+ #
3610
+ #
3611
+ #
3612
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities
2679
3613
  # @return [String]
2680
3614
  #
2681
3615
  # @!attribute [rw] status
@@ -2689,10 +3623,12 @@ module Aws::DevOpsGuru
2689
3623
  #
2690
3624
  # @!attribute [rw] resource_collection
2691
3625
  # A collection of Amazon Web Services resources supported by DevOps
2692
- # Guru. The one type of Amazon Web Services resource collection
2693
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2694
- # can be configured to analyze only the Amazon Web Services resources
2695
- # that are defined in the stacks. You can specify up to 500 Amazon Web
3626
+ # Guru. The two types of Amazon Web Services resource collections
3627
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
3628
+ # Web Services resources that contain the same Amazon Web Services
3629
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
3630
+ # Services resources that are defined in the stacks or that are tagged
3631
+ # using the same tag *key*. You can specify up to 500 Amazon Web
2696
3632
  # Services CloudFormation stacks.
2697
3633
  # @return [Types::ResourceCollection]
2698
3634
  #
@@ -2745,6 +3681,10 @@ module Aws::DevOpsGuru
2745
3681
  # learn more about what's happening and to help address the issue.
2746
3682
  # @return [Array<Types::RecommendationRelatedAnomaly>]
2747
3683
  #
3684
+ # @!attribute [rw] category
3685
+ # The category type of the recommendation.
3686
+ # @return [String]
3687
+ #
2748
3688
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/Recommendation AWS API Documentation
2749
3689
  #
2750
3690
  class Recommendation < Struct.new(
@@ -2753,7 +3693,8 @@ module Aws::DevOpsGuru
2753
3693
  :name,
2754
3694
  :reason,
2755
3695
  :related_events,
2756
- :related_anomalies)
3696
+ :related_anomalies,
3697
+ :category)
2757
3698
  SENSITIVE = []
2758
3699
  include Aws::Structure
2759
3700
  end
@@ -2772,11 +3713,17 @@ module Aws::DevOpsGuru
2772
3713
  # metrics.
2773
3714
  # @return [Array<Types::RecommendationRelatedAnomalySourceDetail>]
2774
3715
  #
3716
+ # @!attribute [rw] anomaly_id
3717
+ # The ID of an anomaly that generated the insight with this
3718
+ # recommendation.
3719
+ # @return [String]
3720
+ #
2775
3721
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedAnomaly AWS API Documentation
2776
3722
  #
2777
3723
  class RecommendationRelatedAnomaly < Struct.new(
2778
3724
  :resources,
2779
- :source_details)
3725
+ :source_details,
3726
+ :anomaly_id)
2780
3727
  SENSITIVE = []
2781
3728
  include Aws::Structure
2782
3729
  end
@@ -2789,7 +3736,16 @@ module Aws::DevOpsGuru
2789
3736
  # @return [String]
2790
3737
  #
2791
3738
  # @!attribute [rw] type
2792
- # The type of the resource.
3739
+ # The type of the resource. Resource types take the same form that is
3740
+ # used by Amazon Web Services CloudFormation resource type
3741
+ # identifiers, `service-provider::service-name::data-type-name`. For
3742
+ # example, `AWS::RDS::DBCluster`. For more information, see [Amazon
3743
+ # Web Services resource and property types reference][1] in the
3744
+ # *Amazon Web Services CloudFormation User Guide*.
3745
+ #
3746
+ #
3747
+ #
3748
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
2793
3749
  # @return [String]
2794
3750
  #
2795
3751
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedAnomalyResource AWS API Documentation
@@ -2885,13 +3841,6 @@ module Aws::DevOpsGuru
2885
3841
  include Aws::Structure
2886
3842
  end
2887
3843
 
2888
- # @note When making an API call, you may pass RemoveNotificationChannelRequest
2889
- # data as a hash:
2890
- #
2891
- # {
2892
- # id: "NotificationChannelId", # required
2893
- # }
2894
- #
2895
3844
  # @!attribute [rw] id
2896
3845
  # The ID of the notification channel to be removed.
2897
3846
  # @return [String]
@@ -2909,20 +3858,13 @@ module Aws::DevOpsGuru
2909
3858
  class RemoveNotificationChannelResponse < Aws::EmptyStructure; end
2910
3859
 
2911
3860
  # A collection of Amazon Web Services resources supported by DevOps
2912
- # Guru. The one type of Amazon Web Services resource collection
2913
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
2914
- # can be configured to analyze only the Amazon Web Services resources
2915
- # that are defined in the stacks. You can specify up to 500 Amazon Web
2916
- # Services CloudFormation stacks.
2917
- #
2918
- # @note When making an API call, you may pass ResourceCollection
2919
- # data as a hash:
2920
- #
2921
- # {
2922
- # cloud_formation: {
2923
- # stack_names: ["StackName"],
2924
- # },
2925
- # }
3861
+ # Guru. The two types of Amazon Web Services resource collections
3862
+ # supported are Amazon Web Services CloudFormation stacks and Amazon Web
3863
+ # Services resources that contain the same Amazon Web Services tag.
3864
+ # DevOps Guru can be configured to analyze the Amazon Web Services
3865
+ # resources that are defined in the stacks or that are tagged using the
3866
+ # same tag *key*. You can specify up to 500 Amazon Web Services
3867
+ # CloudFormation stacks.
2926
3868
  #
2927
3869
  # @!attribute [rw] cloud_formation
2928
3870
  # An array of the names of Amazon Web Services CloudFormation stacks.
@@ -2931,10 +3873,52 @@ module Aws::DevOpsGuru
2931
3873
  # CloudFormation stacks.
2932
3874
  # @return [Types::CloudFormationCollection]
2933
3875
  #
3876
+ # @!attribute [rw] tags
3877
+ # The Amazon Web Services tags that are used by resources in the
3878
+ # resource collection.
3879
+ #
3880
+ # Tags help you identify and organize your Amazon Web Services
3881
+ # resources. Many Amazon Web Services services support tagging, so you
3882
+ # can assign the same tag to resources from different services to
3883
+ # indicate that the resources are related. For example, you can assign
3884
+ # the same tag to an Amazon DynamoDB table resource that you assign to
3885
+ # an Lambda function. For more information about using tags, see the
3886
+ # [Tagging best practices][1] whitepaper.
3887
+ #
3888
+ # Each Amazon Web Services tag has two parts.
3889
+ #
3890
+ # * A tag *key* (for example, `CostCenter`, `Environment`, `Project`,
3891
+ # or `Secret`). Tag *keys* are case-sensitive.
3892
+ #
3893
+ # * An optional field known as a tag *value* (for example,
3894
+ # `111122223333`, `Production`, or a team name). Omitting the tag
3895
+ # *value* is the same as using an empty string. Like tag *keys*, tag
3896
+ # *values* are case-sensitive.
3897
+ #
3898
+ # Together these are known as *key*-*value* pairs.
3899
+ #
3900
+ # The string used for a *key* in a tag that you use to define your
3901
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
3902
+ # *key* might be `DevOps-Guru-deployment-application` or
3903
+ # `devops-guru-rds-application`. When you create a *key*, the case of
3904
+ # characters in the *key* can be whatever you choose. After you create
3905
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
3906
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
3907
+ # and these act as two different *keys*. Possible *key*/*value* pairs
3908
+ # in your application might be
3909
+ # `Devops-Guru-production-application/RDS` or
3910
+ # `Devops-Guru-production-application/containers`.
3911
+ #
3912
+ #
3913
+ #
3914
+ # [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
3915
+ # @return [Array<Types::TagCollection>]
3916
+ #
2934
3917
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollection AWS API Documentation
2935
3918
  #
2936
3919
  class ResourceCollection < Struct.new(
2937
- :cloud_formation)
3920
+ :cloud_formation,
3921
+ :tags)
2938
3922
  SENSITIVE = []
2939
3923
  include Aws::Structure
2940
3924
  end
@@ -2953,10 +3937,52 @@ module Aws::DevOpsGuru
2953
3937
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
2954
3938
  # @return [Types::CloudFormationCollectionFilter]
2955
3939
  #
3940
+ # @!attribute [rw] tags
3941
+ # The Amazon Web Services tags used to filter the resources in the
3942
+ # resource collection.
3943
+ #
3944
+ # Tags help you identify and organize your Amazon Web Services
3945
+ # resources. Many Amazon Web Services services support tagging, so you
3946
+ # can assign the same tag to resources from different services to
3947
+ # indicate that the resources are related. For example, you can assign
3948
+ # the same tag to an Amazon DynamoDB table resource that you assign to
3949
+ # an Lambda function. For more information about using tags, see the
3950
+ # [Tagging best practices][1] whitepaper.
3951
+ #
3952
+ # Each Amazon Web Services tag has two parts.
3953
+ #
3954
+ # * A tag *key* (for example, `CostCenter`, `Environment`, `Project`,
3955
+ # or `Secret`). Tag *keys* are case-sensitive.
3956
+ #
3957
+ # * An optional field known as a tag *value* (for example,
3958
+ # `111122223333`, `Production`, or a team name). Omitting the tag
3959
+ # *value* is the same as using an empty string. Like tag *keys*, tag
3960
+ # *values* are case-sensitive.
3961
+ #
3962
+ # Together these are known as *key*-*value* pairs.
3963
+ #
3964
+ # The string used for a *key* in a tag that you use to define your
3965
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
3966
+ # *key* might be `DevOps-Guru-deployment-application` or
3967
+ # `devops-guru-rds-application`. When you create a *key*, the case of
3968
+ # characters in the *key* can be whatever you choose. After you create
3969
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
3970
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
3971
+ # and these act as two different *keys*. Possible *key*/*value* pairs
3972
+ # in your application might be
3973
+ # `Devops-Guru-production-application/RDS` or
3974
+ # `Devops-Guru-production-application/containers`.
3975
+ #
3976
+ #
3977
+ #
3978
+ # [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
3979
+ # @return [Array<Types::TagCollectionFilter>]
3980
+ #
2956
3981
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollectionFilter AWS API Documentation
2957
3982
  #
2958
3983
  class ResourceCollectionFilter < Struct.new(
2959
- :cloud_formation)
3984
+ :cloud_formation,
3985
+ :tags)
2960
3986
  SENSITIVE = []
2961
3987
  include Aws::Structure
2962
3988
  end
@@ -2985,24 +4011,12 @@ module Aws::DevOpsGuru
2985
4011
  include Aws::Structure
2986
4012
  end
2987
4013
 
2988
- # Specifies one or more severity values and one or more status values
2989
- # that are used to search for insights.
2990
- #
2991
- # @note When making an API call, you may pass SearchInsightsFilters
2992
- # data as a hash:
2993
- #
2994
- # {
2995
- # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
2996
- # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
2997
- # resource_collection: {
2998
- # cloud_formation: {
2999
- # stack_names: ["StackName"],
3000
- # },
3001
- # },
3002
- # service_collection: {
3003
- # service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
3004
- # },
3005
- # }
4014
+ # Specifies values used to filter responses when searching for insights.
4015
+ # You can use a `ResourceCollection`, `ServiceCollection`, array of
4016
+ # severities, and an array of status values. Each filter type contains
4017
+ # one or more values to search for. If you specify multiple filter
4018
+ # types, the filter types are joined with an `AND`, and the request
4019
+ # returns only results that match all of the specified filters.
3006
4020
  #
3007
4021
  # @!attribute [rw] severities
3008
4022
  # An array of severity values used to search for insights.
@@ -3014,10 +4028,12 @@ module Aws::DevOpsGuru
3014
4028
  #
3015
4029
  # @!attribute [rw] resource_collection
3016
4030
  # A collection of Amazon Web Services resources supported by DevOps
3017
- # Guru. The one type of Amazon Web Services resource collection
3018
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
3019
- # can be configured to analyze only the Amazon Web Services resources
3020
- # that are defined in the stacks. You can specify up to 500 Amazon Web
4031
+ # Guru. The two types of Amazon Web Services resource collections
4032
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
4033
+ # Web Services resources that contain the same Amazon Web Services
4034
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
4035
+ # Services resources that are defined in the stacks or that are tagged
4036
+ # using the same tag *key*. You can specify up to 500 Amazon Web
3021
4037
  # Services CloudFormation stacks.
3022
4038
  # @return [Types::ResourceCollection]
3023
4039
  #
@@ -3036,31 +4052,6 @@ module Aws::DevOpsGuru
3036
4052
  include Aws::Structure
3037
4053
  end
3038
4054
 
3039
- # @note When making an API call, you may pass SearchInsightsRequest
3040
- # data as a hash:
3041
- #
3042
- # {
3043
- # start_time_range: { # required
3044
- # from_time: Time.now,
3045
- # to_time: Time.now,
3046
- # },
3047
- # filters: {
3048
- # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
3049
- # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
3050
- # resource_collection: {
3051
- # cloud_formation: {
3052
- # stack_names: ["StackName"],
3053
- # },
3054
- # },
3055
- # service_collection: {
3056
- # service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
3057
- # },
3058
- # },
3059
- # max_results: 1,
3060
- # next_token: "UuidNextToken",
3061
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
3062
- # }
3063
- #
3064
4055
  # @!attribute [rw] start_time_range
3065
4056
  # The start of the time range passed in. Returned insights occurred
3066
4057
  # after this time.
@@ -3125,22 +4116,6 @@ module Aws::DevOpsGuru
3125
4116
  # Filters you can use to specify which events are returned when
3126
4117
  # `ListEvents` is called.
3127
4118
  #
3128
- # @note When making an API call, you may pass SearchOrganizationInsightsFilters
3129
- # data as a hash:
3130
- #
3131
- # {
3132
- # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
3133
- # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
3134
- # resource_collection: {
3135
- # cloud_formation: {
3136
- # stack_names: ["StackName"],
3137
- # },
3138
- # },
3139
- # service_collection: {
3140
- # service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
3141
- # },
3142
- # }
3143
- #
3144
4119
  # @!attribute [rw] severities
3145
4120
  # An array of severity values used to search for insights.
3146
4121
  # @return [Array<String>]
@@ -3151,10 +4126,12 @@ module Aws::DevOpsGuru
3151
4126
  #
3152
4127
  # @!attribute [rw] resource_collection
3153
4128
  # A collection of Amazon Web Services resources supported by DevOps
3154
- # Guru. The one type of Amazon Web Services resource collection
3155
- # supported is Amazon Web Services CloudFormation stacks. DevOps Guru
3156
- # can be configured to analyze only the Amazon Web Services resources
3157
- # that are defined in the stacks. You can specify up to 500 Amazon Web
4129
+ # Guru. The two types of Amazon Web Services resource collections
4130
+ # supported are Amazon Web Services CloudFormation stacks and Amazon
4131
+ # Web Services resources that contain the same Amazon Web Services
4132
+ # tag. DevOps Guru can be configured to analyze the Amazon Web
4133
+ # Services resources that are defined in the stacks or that are tagged
4134
+ # using the same tag *key*. You can specify up to 500 Amazon Web
3158
4135
  # Services CloudFormation stacks.
3159
4136
  # @return [Types::ResourceCollection]
3160
4137
  #
@@ -3173,32 +4150,6 @@ module Aws::DevOpsGuru
3173
4150
  include Aws::Structure
3174
4151
  end
3175
4152
 
3176
- # @note When making an API call, you may pass SearchOrganizationInsightsRequest
3177
- # data as a hash:
3178
- #
3179
- # {
3180
- # account_ids: ["AwsAccountId"], # required
3181
- # start_time_range: { # required
3182
- # from_time: Time.now,
3183
- # to_time: Time.now,
3184
- # },
3185
- # filters: {
3186
- # severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
3187
- # statuses: ["ONGOING"], # accepts ONGOING, CLOSED
3188
- # resource_collection: {
3189
- # cloud_formation: {
3190
- # stack_names: ["StackName"],
3191
- # },
3192
- # },
3193
- # service_collection: {
3194
- # service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
3195
- # },
3196
- # },
3197
- # max_results: 1,
3198
- # next_token: "UuidNextToken",
3199
- # type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
3200
- # }
3201
- #
3202
4153
  # @!attribute [rw] account_ids
3203
4154
  # The ID of the Amazon Web Services account.
3204
4155
  # @return [Array<String>]
@@ -3269,13 +4220,6 @@ module Aws::DevOpsGuru
3269
4220
 
3270
4221
  # A collection of the names of Amazon Web Services services.
3271
4222
  #
3272
- # @note When making an API call, you may pass ServiceCollection
3273
- # data as a hash:
3274
- #
3275
- # {
3276
- # service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
3277
- # }
3278
- #
3279
4223
  # @!attribute [rw] service_names
3280
4224
  # An array of strings that each specifies the name of an Amazon Web
3281
4225
  # Services service.
@@ -3301,11 +4245,17 @@ module Aws::DevOpsGuru
3301
4245
  # and reactive insights for this service.
3302
4246
  # @return [Types::ServiceInsightHealth]
3303
4247
  #
4248
+ # @!attribute [rw] analyzed_resource_count
4249
+ # Number of resources that DevOps Guru is monitoring in an analyzed
4250
+ # Amazon Web Services service.
4251
+ # @return [Integer]
4252
+ #
3304
4253
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceHealth AWS API Documentation
3305
4254
  #
3306
4255
  class ServiceHealth < Struct.new(
3307
4256
  :service_name,
3308
- :insight)
4257
+ :insight,
4258
+ :analyzed_resource_count)
3309
4259
  SENSITIVE = []
3310
4260
  include Aws::Structure
3311
4261
  end
@@ -3341,10 +4291,22 @@ module Aws::DevOpsGuru
3341
4291
  # created insight.
3342
4292
  # @return [Types::OpsCenterIntegration]
3343
4293
  #
4294
+ # @!attribute [rw] logs_anomaly_detection
4295
+ # Information about whether DevOps Guru is configured to perform log
4296
+ # anomaly detection on Amazon CloudWatch log groups.
4297
+ # @return [Types::LogsAnomalyDetectionIntegration]
4298
+ #
4299
+ # @!attribute [rw] kms_server_side_encryption
4300
+ # Information about whether DevOps Guru is configured to encrypt
4301
+ # server-side data using KMS.
4302
+ # @return [Types::KMSServerSideEncryptionIntegration]
4303
+ #
3344
4304
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceIntegrationConfig AWS API Documentation
3345
4305
  #
3346
4306
  class ServiceIntegrationConfig < Struct.new(
3347
- :ops_center)
4307
+ :ops_center,
4308
+ :logs_anomaly_detection,
4309
+ :kms_server_side_encryption)
3348
4310
  SENSITIVE = []
3349
4311
  include Aws::Structure
3350
4312
  end
@@ -3420,10 +4382,11 @@ module Aws::DevOpsGuru
3420
4382
  # Notification Service topic.
3421
4383
  #
3422
4384
  # If you use an Amazon SNS topic in another account, you must attach a
3423
- # policy to it that grants DevOps Guru permission to it notifications.
3424
- # DevOps Guru adds the required policy on your behalf to send
3425
- # notifications using Amazon SNS in your account. For more information,
3426
- # see [Permissions for cross account Amazon SNS topics][1].
4385
+ # policy to it that grants DevOps Guru permission to send it
4386
+ # notifications. DevOps Guru adds the required policy on your behalf to
4387
+ # send notifications using Amazon SNS in your account. DevOps Guru only
4388
+ # supports standard SNS topics. For more information, see [Permissions
4389
+ # for Amazon SNS topics][1].
3427
4390
  #
3428
4391
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
3429
4392
  # Services Key Management Service customer-managed key (CMK), then you
@@ -3436,13 +4399,6 @@ module Aws::DevOpsGuru
3436
4399
  # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html
3437
4400
  # [2]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html
3438
4401
  #
3439
- # @note When making an API call, you may pass SnsChannelConfig
3440
- # data as a hash:
3441
- #
3442
- # {
3443
- # topic_arn: "TopicArn",
3444
- # }
3445
- #
3446
4402
  # @!attribute [rw] topic_arn
3447
4403
  # The Amazon Resource Name (ARN) of an Amazon Simple Notification
3448
4404
  # Service topic.
@@ -3456,18 +4412,6 @@ module Aws::DevOpsGuru
3456
4412
  include Aws::Structure
3457
4413
  end
3458
4414
 
3459
- # @note When making an API call, you may pass StartCostEstimationRequest
3460
- # data as a hash:
3461
- #
3462
- # {
3463
- # resource_collection: { # required
3464
- # cloud_formation: {
3465
- # stack_names: ["StackName"],
3466
- # },
3467
- # },
3468
- # client_token: "ClientToken",
3469
- # }
3470
- #
3471
4415
  # @!attribute [rw] resource_collection
3472
4416
  # The collection of Amazon Web Services resources used to create a
3473
4417
  # monthly DevOps Guru cost estimate.
@@ -3496,14 +4440,6 @@ module Aws::DevOpsGuru
3496
4440
  # A time range used to specify when the behavior of an insight or
3497
4441
  # anomaly started.
3498
4442
  #
3499
- # @note When making an API call, you may pass StartTimeRange
3500
- # data as a hash:
3501
- #
3502
- # {
3503
- # from_time: Time.now,
3504
- # to_time: Time.now,
3505
- # }
3506
- #
3507
4443
  # @!attribute [rw] from_time
3508
4444
  # The start time of the time range.
3509
4445
  # @return [Time]
@@ -3521,6 +4457,233 @@ module Aws::DevOpsGuru
3521
4457
  include Aws::Structure
3522
4458
  end
3523
4459
 
4460
+ # A collection of Amazon Web Services tags.
4461
+ #
4462
+ # Tags help you identify and organize your Amazon Web Services
4463
+ # resources. Many Amazon Web Services services support tagging, so you
4464
+ # can assign the same tag to resources from different services to
4465
+ # indicate that the resources are related. For example, you can assign
4466
+ # the same tag to an Amazon DynamoDB table resource that you assign to
4467
+ # an Lambda function. For more information about using tags, see the
4468
+ # [Tagging best practices][1] whitepaper.
4469
+ #
4470
+ # Each Amazon Web Services tag has two parts.
4471
+ #
4472
+ # * A tag *key* (for example, `CostCenter`, `Environment`, `Project`, or
4473
+ # `Secret`). Tag *keys* are case-sensitive.
4474
+ #
4475
+ # * An optional field known as a tag *value* (for example,
4476
+ # `111122223333`, `Production`, or a team name). Omitting the tag
4477
+ # *value* is the same as using an empty string. Like tag *keys*, tag
4478
+ # *values* are case-sensitive.
4479
+ #
4480
+ # Together these are known as *key*-*value* pairs.
4481
+ #
4482
+ # The string used for a *key* in a tag that you use to define your
4483
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
4484
+ # *key* might be `DevOps-Guru-deployment-application` or
4485
+ # `devops-guru-rds-application`. When you create a *key*, the case of
4486
+ # characters in the *key* can be whatever you choose. After you create a
4487
+ # *key*, it is case-sensitive. For example, DevOps Guru works with a
4488
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`, and
4489
+ # these act as two different *keys*. Possible *key*/*value* pairs in
4490
+ # your application might be `Devops-Guru-production-application/RDS` or
4491
+ # `Devops-Guru-production-application/containers`.
4492
+ #
4493
+ #
4494
+ #
4495
+ # [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
4496
+ #
4497
+ # @!attribute [rw] app_boundary_key
4498
+ # An Amazon Web Services tag *key* that is used to identify the Amazon
4499
+ # Web Services resources that DevOps Guru analyzes. All Amazon Web
4500
+ # Services resources in your account and Region tagged with this *key*
4501
+ # make up your DevOps Guru application and analysis boundary.
4502
+ #
4503
+ # The string used for a *key* in a tag that you use to define your
4504
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
4505
+ # *key* might be `DevOps-Guru-deployment-application` or
4506
+ # `devops-guru-rds-application`. When you create a *key*, the case of
4507
+ # characters in the *key* can be whatever you choose. After you create
4508
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
4509
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
4510
+ # and these act as two different *keys*. Possible *key*/*value* pairs
4511
+ # in your application might be
4512
+ # `Devops-Guru-production-application/RDS` or
4513
+ # `Devops-Guru-production-application/containers`.
4514
+ # @return [String]
4515
+ #
4516
+ # @!attribute [rw] tag_values
4517
+ # The values in an Amazon Web Services tag collection.
4518
+ #
4519
+ # The tag's *value* is an optional field used to associate a string
4520
+ # with the tag *key* (for example, `111122223333`, `Production`, or a
4521
+ # team name). The *key* and *value* are the tag's *key* pair.
4522
+ # Omitting the tag *value* is the same as using an empty string. Like
4523
+ # tag *keys*, tag *values* are case-sensitive. You can specify a
4524
+ # maximum of 256 characters for a tag value.
4525
+ # @return [Array<String>]
4526
+ #
4527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/TagCollection AWS API Documentation
4528
+ #
4529
+ class TagCollection < Struct.new(
4530
+ :app_boundary_key,
4531
+ :tag_values)
4532
+ SENSITIVE = []
4533
+ include Aws::Structure
4534
+ end
4535
+
4536
+ # A collection of Amazon Web Services tags used to filter insights. This
4537
+ # is used to return insights generated from only resources that contain
4538
+ # the tags in the tag collection.
4539
+ #
4540
+ # @!attribute [rw] app_boundary_key
4541
+ # An Amazon Web Services tag *key* that is used to identify the Amazon
4542
+ # Web Services resources that DevOps Guru analyzes. All Amazon Web
4543
+ # Services resources in your account and Region tagged with this *key*
4544
+ # make up your DevOps Guru application and analysis boundary.
4545
+ #
4546
+ # The string used for a *key* in a tag that you use to define your
4547
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
4548
+ # *key* might be `DevOps-Guru-deployment-application` or
4549
+ # `devops-guru-rds-application`. When you create a *key*, the case of
4550
+ # characters in the *key* can be whatever you choose. After you create
4551
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
4552
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
4553
+ # and these act as two different *keys*. Possible *key*/*value* pairs
4554
+ # in your application might be
4555
+ # `Devops-Guru-production-application/RDS` or
4556
+ # `Devops-Guru-production-application/containers`.
4557
+ # @return [String]
4558
+ #
4559
+ # @!attribute [rw] tag_values
4560
+ # The values in an Amazon Web Services tag collection.
4561
+ #
4562
+ # The tag's *value* is an optional field used to associate a string
4563
+ # with the tag *key* (for example, `111122223333`, `Production`, or a
4564
+ # team name). The *key* and *value* are the tag's *key* pair.
4565
+ # Omitting the tag *value* is the same as using an empty string. Like
4566
+ # tag *keys*, tag *values* are case-sensitive. You can specify a
4567
+ # maximum of 256 characters for a tag value.
4568
+ # @return [Array<String>]
4569
+ #
4570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/TagCollectionFilter AWS API Documentation
4571
+ #
4572
+ class TagCollectionFilter < Struct.new(
4573
+ :app_boundary_key,
4574
+ :tag_values)
4575
+ SENSITIVE = []
4576
+ include Aws::Structure
4577
+ end
4578
+
4579
+ # Information about a collection of Amazon Web Services resources that
4580
+ # are identified by an Amazon Web Services tag. This collection of
4581
+ # resources is used to create a monthly cost estimate for DevOps Guru to
4582
+ # analyze Amazon Web Services resources. The maximum number of tags you
4583
+ # can specify for a cost estimate is one. The estimate created is for
4584
+ # the cost to analyze the Amazon Web Services resources defined by the
4585
+ # tag. For more information, see [Stacks][1] in the *Amazon Web Services
4586
+ # CloudFormation User Guide*.
4587
+ #
4588
+ #
4589
+ #
4590
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
4591
+ #
4592
+ # @!attribute [rw] app_boundary_key
4593
+ # An Amazon Web Services tag *key* that is used to identify the Amazon
4594
+ # Web Services resources that DevOps Guru analyzes. All Amazon Web
4595
+ # Services resources in your account and Region tagged with this *key*
4596
+ # make up your DevOps Guru application and analysis boundary.
4597
+ #
4598
+ # The string used for a *key* in a tag that you use to define your
4599
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
4600
+ # *key* might be `DevOps-Guru-deployment-application` or
4601
+ # `devops-guru-rds-application`. When you create a *key*, the case of
4602
+ # characters in the *key* can be whatever you choose. After you create
4603
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
4604
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
4605
+ # and these act as two different *keys*. Possible *key*/*value* pairs
4606
+ # in your application might be
4607
+ # `Devops-Guru-production-application/RDS` or
4608
+ # `Devops-Guru-production-application/containers`.
4609
+ # @return [String]
4610
+ #
4611
+ # @!attribute [rw] tag_values
4612
+ # The values in an Amazon Web Services tag collection.
4613
+ #
4614
+ # The tag's *value* is an optional field used to associate a string
4615
+ # with the tag *key* (for example, `111122223333`, `Production`, or a
4616
+ # team name). The *key* and *value* are the tag's *key* pair.
4617
+ # Omitting the tag *value* is the same as using an empty string. Like
4618
+ # tag *keys*, tag *values* are case-sensitive. You can specify a
4619
+ # maximum of 256 characters for a tag value.
4620
+ # @return [Array<String>]
4621
+ #
4622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/TagCostEstimationResourceCollectionFilter AWS API Documentation
4623
+ #
4624
+ class TagCostEstimationResourceCollectionFilter < Struct.new(
4625
+ :app_boundary_key,
4626
+ :tag_values)
4627
+ SENSITIVE = []
4628
+ include Aws::Structure
4629
+ end
4630
+
4631
+ # Information about the health of Amazon Web Services resources in your
4632
+ # account that are specified by an Amazon Web Services tag *key*.
4633
+ #
4634
+ # @!attribute [rw] app_boundary_key
4635
+ # An Amazon Web Services tag *key* that is used to identify the Amazon
4636
+ # Web Services resources that DevOps Guru analyzes. All Amazon Web
4637
+ # Services resources in your account and Region tagged with this *key*
4638
+ # make up your DevOps Guru application and analysis boundary.
4639
+ #
4640
+ # The string used for a *key* in a tag that you use to define your
4641
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
4642
+ # *key* might be `DevOps-Guru-deployment-application` or
4643
+ # `devops-guru-rds-application`. When you create a *key*, the case of
4644
+ # characters in the *key* can be whatever you choose. After you create
4645
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
4646
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
4647
+ # and these act as two different *keys*. Possible *key*/*value* pairs
4648
+ # in your application might be
4649
+ # `Devops-Guru-production-application/RDS` or
4650
+ # `Devops-Guru-production-application/containers`.
4651
+ # @return [String]
4652
+ #
4653
+ # @!attribute [rw] tag_value
4654
+ # The value in an Amazon Web Services tag.
4655
+ #
4656
+ # The tag's *value* is an optional field used to associate a string
4657
+ # with the tag *key* (for example, `111122223333`, `Production`, or a
4658
+ # team name). The *key* and *value* are the tag's *key* pair.
4659
+ # Omitting the tag *value* is the same as using an empty string. Like
4660
+ # tag *keys*, tag *values* are case-sensitive. You can specify a
4661
+ # maximum of 256 characters for a tag value.
4662
+ # @return [String]
4663
+ #
4664
+ # @!attribute [rw] insight
4665
+ # Information about the health of the Amazon Web Services resources in
4666
+ # your account that are specified by an Amazon Web Services tag,
4667
+ # including the number of open proactive, open reactive insights, and
4668
+ # the Mean Time to Recover (MTTR) of closed insights.
4669
+ # @return [Types::InsightHealth]
4670
+ #
4671
+ # @!attribute [rw] analyzed_resource_count
4672
+ # Number of resources that DevOps Guru is monitoring in your account
4673
+ # that are specified by an Amazon Web Services tag.
4674
+ # @return [Integer]
4675
+ #
4676
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/TagHealth AWS API Documentation
4677
+ #
4678
+ class TagHealth < Struct.new(
4679
+ :app_boundary_key,
4680
+ :tag_value,
4681
+ :insight,
4682
+ :analyzed_resource_count)
4683
+ SENSITIVE = []
4684
+ include Aws::Structure
4685
+ end
4686
+
3524
4687
  # The request was denied due to a request throttling.
3525
4688
  #
3526
4689
  # @!attribute [rw] message
@@ -3574,13 +4737,6 @@ module Aws::DevOpsGuru
3574
4737
  # to update a collection of stacks. You can specify up to 500 Amazon Web
3575
4738
  # Services CloudFormation stacks.
3576
4739
  #
3577
- # @note When making an API call, you may pass UpdateCloudFormationCollectionFilter
3578
- # data as a hash:
3579
- #
3580
- # {
3581
- # stack_names: ["StackName"],
3582
- # }
3583
- #
3584
4740
  # @!attribute [rw] stack_names
3585
4741
  # An array of the names of the Amazon Web Services CloudFormation
3586
4742
  # stacks to update. You can specify up to 500 Amazon Web Services
@@ -3595,43 +4751,81 @@ module Aws::DevOpsGuru
3595
4751
  include Aws::Structure
3596
4752
  end
3597
4753
 
3598
- # Contains information used to update a collection of Amazon Web
3599
- # Services resources.
4754
+ # @!attribute [rw] event_sources
4755
+ # Configuration information about the integration of DevOps Guru as
4756
+ # the Consumer via EventBridge with another AWS Service.
4757
+ # @return [Types::EventSourcesConfig]
4758
+ #
4759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfigRequest AWS API Documentation
3600
4760
  #
3601
- # @note When making an API call, you may pass UpdateResourceCollectionFilter
3602
- # data as a hash:
4761
+ class UpdateEventSourcesConfigRequest < Struct.new(
4762
+ :event_sources)
4763
+ SENSITIVE = []
4764
+ include Aws::Structure
4765
+ end
4766
+
4767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfigResponse AWS API Documentation
3603
4768
  #
3604
- # {
3605
- # cloud_formation: {
3606
- # stack_names: ["StackName"],
3607
- # },
3608
- # }
4769
+ class UpdateEventSourcesConfigResponse < Aws::EmptyStructure; end
4770
+
4771
+ # Contains information used to update a collection of Amazon Web
4772
+ # Services resources.
3609
4773
  #
3610
4774
  # @!attribute [rw] cloud_formation
3611
- # An collection of Amazon Web Services CloudFormation stacks. You can
4775
+ # A collection of Amazon Web Services CloudFormation stacks. You can
3612
4776
  # specify up to 500 Amazon Web Services CloudFormation stacks.
3613
4777
  # @return [Types::UpdateCloudFormationCollectionFilter]
3614
4778
  #
4779
+ # @!attribute [rw] tags
4780
+ # The updated Amazon Web Services tags used to filter the resources in
4781
+ # the resource collection.
4782
+ #
4783
+ # Tags help you identify and organize your Amazon Web Services
4784
+ # resources. Many Amazon Web Services services support tagging, so you
4785
+ # can assign the same tag to resources from different services to
4786
+ # indicate that the resources are related. For example, you can assign
4787
+ # the same tag to an Amazon DynamoDB table resource that you assign to
4788
+ # an Lambda function. For more information about using tags, see the
4789
+ # [Tagging best practices][1] whitepaper.
4790
+ #
4791
+ # Each Amazon Web Services tag has two parts.
4792
+ #
4793
+ # * A tag *key* (for example, `CostCenter`, `Environment`, `Project`,
4794
+ # or `Secret`). Tag *keys* are case-sensitive.
4795
+ #
4796
+ # * An optional field known as a tag *value* (for example,
4797
+ # `111122223333`, `Production`, or a team name). Omitting the tag
4798
+ # *value* is the same as using an empty string. Like tag *keys*, tag
4799
+ # *values* are case-sensitive.
4800
+ #
4801
+ # Together these are known as *key*-*value* pairs.
4802
+ #
4803
+ # The string used for a *key* in a tag that you use to define your
4804
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
4805
+ # *key* might be `DevOps-Guru-deployment-application` or
4806
+ # `devops-guru-rds-application`. When you create a *key*, the case of
4807
+ # characters in the *key* can be whatever you choose. After you create
4808
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
4809
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
4810
+ # and these act as two different *keys*. Possible *key*/*value* pairs
4811
+ # in your application might be
4812
+ # `Devops-Guru-production-application/RDS` or
4813
+ # `Devops-Guru-production-application/containers`.
4814
+ #
4815
+ #
4816
+ #
4817
+ # [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
4818
+ # @return [Array<Types::UpdateTagCollectionFilter>]
4819
+ #
3615
4820
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollectionFilter AWS API Documentation
3616
4821
  #
3617
4822
  class UpdateResourceCollectionFilter < Struct.new(
3618
- :cloud_formation)
4823
+ :cloud_formation,
4824
+ :tags)
3619
4825
  SENSITIVE = []
3620
4826
  include Aws::Structure
3621
4827
  end
3622
4828
 
3623
- # @note When making an API call, you may pass UpdateResourceCollectionRequest
3624
- # data as a hash:
3625
- #
3626
- # {
3627
- # action: "ADD", # required, accepts ADD, REMOVE
3628
- # resource_collection: { # required
3629
- # cloud_formation: {
3630
- # stack_names: ["StackName"],
3631
- # },
3632
- # },
3633
- # }
3634
- #
3635
4829
  # @!attribute [rw] action
3636
4830
  # Specifies if the resource collection in the request is added or
3637
4831
  # deleted to the resource collection.
@@ -3659,40 +4853,32 @@ module Aws::DevOpsGuru
3659
4853
  # Services service, such as Amazon Web Services Systems Manager, with
3660
4854
  # DevOps Guru.
3661
4855
  #
3662
- # @note When making an API call, you may pass UpdateServiceIntegrationConfig
3663
- # data as a hash:
3664
- #
3665
- # {
3666
- # ops_center: {
3667
- # opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
3668
- # },
3669
- # }
3670
- #
3671
4856
  # @!attribute [rw] ops_center
3672
4857
  # Information about whether DevOps Guru is configured to create an
3673
4858
  # OpsItem in Amazon Web Services Systems Manager OpsCenter for each
3674
- # created insight.
4859
+ # created insight. You can use this to update the configuration.
3675
4860
  # @return [Types::OpsCenterIntegrationConfig]
3676
4861
  #
4862
+ # @!attribute [rw] logs_anomaly_detection
4863
+ # Information about whether DevOps Guru is configured to perform log
4864
+ # anomaly detection on Amazon CloudWatch log groups.
4865
+ # @return [Types::LogsAnomalyDetectionIntegrationConfig]
4866
+ #
4867
+ # @!attribute [rw] kms_server_side_encryption
4868
+ # Information about whether DevOps Guru is configured to encrypt
4869
+ # server-side data using KMS.
4870
+ # @return [Types::KMSServerSideEncryptionIntegrationConfig]
4871
+ #
3677
4872
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateServiceIntegrationConfig AWS API Documentation
3678
4873
  #
3679
4874
  class UpdateServiceIntegrationConfig < Struct.new(
3680
- :ops_center)
4875
+ :ops_center,
4876
+ :logs_anomaly_detection,
4877
+ :kms_server_side_encryption)
3681
4878
  SENSITIVE = []
3682
4879
  include Aws::Structure
3683
4880
  end
3684
4881
 
3685
- # @note When making an API call, you may pass UpdateServiceIntegrationRequest
3686
- # data as a hash:
3687
- #
3688
- # {
3689
- # service_integration: { # required
3690
- # ops_center: {
3691
- # opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
3692
- # },
3693
- # },
3694
- # }
3695
- #
3696
4882
  # @!attribute [rw] service_integration
3697
4883
  # An `IntegratedServiceConfig` object used to specify the integrated
3698
4884
  # service you want to update, and whether you want to update it to
@@ -3711,6 +4897,48 @@ module Aws::DevOpsGuru
3711
4897
  #
3712
4898
  class UpdateServiceIntegrationResponse < Aws::EmptyStructure; end
3713
4899
 
4900
+ # A new collection of Amazon Web Services resources that are defined by
4901
+ # an Amazon Web Services tag or tag *key*/*value* pair.
4902
+ #
4903
+ # @!attribute [rw] app_boundary_key
4904
+ # An Amazon Web Services tag *key* that is used to identify the Amazon
4905
+ # Web Services resources that DevOps Guru analyzes. All Amazon Web
4906
+ # Services resources in your account and Region tagged with this *key*
4907
+ # make up your DevOps Guru application and analysis boundary.
4908
+ #
4909
+ # The string used for a *key* in a tag that you use to define your
4910
+ # resource coverage must begin with the prefix `Devops-guru-`. The tag
4911
+ # *key* might be `DevOps-Guru-deployment-application` or
4912
+ # `devops-guru-rds-application`. When you create a *key*, the case of
4913
+ # characters in the *key* can be whatever you choose. After you create
4914
+ # a *key*, it is case-sensitive. For example, DevOps Guru works with a
4915
+ # *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS`,
4916
+ # and these act as two different *keys*. Possible *key*/*value* pairs
4917
+ # in your application might be
4918
+ # `Devops-Guru-production-application/RDS` or
4919
+ # `Devops-Guru-production-application/containers`.
4920
+ # @return [String]
4921
+ #
4922
+ # @!attribute [rw] tag_values
4923
+ # The values in an Amazon Web Services tag collection.
4924
+ #
4925
+ # The tag's *value* is an optional field used to associate a string
4926
+ # with the tag *key* (for example, `111122223333`, `Production`, or a
4927
+ # team name). The *key* and *value* are the tag's *key* pair.
4928
+ # Omitting the tag *value* is the same as using an empty string. Like
4929
+ # tag *keys*, tag *values* are case-sensitive. You can specify a
4930
+ # maximum of 256 characters for a tag value.
4931
+ # @return [Array<String>]
4932
+ #
4933
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateTagCollectionFilter AWS API Documentation
4934
+ #
4935
+ class UpdateTagCollectionFilter < Struct.new(
4936
+ :app_boundary_key,
4937
+ :tag_values)
4938
+ SENSITIVE = []
4939
+ include Aws::Structure
4940
+ end
4941
+
3714
4942
  # Contains information about data passed in to a field during a request
3715
4943
  # that is not valid.
3716
4944
  #