aws-sdk-devopsguru 1.21.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -113,6 +113,68 @@ module Aws::DevOpsGuru
113
113
  include Aws::Structure
114
114
  end
115
115
 
116
+ # Information about your account's integration with Amazon CodeGuru
117
+ # Profiler. This returns whether DevOps Guru is configured to consume
118
+ # recommendations generated from Amazon CodeGuru Profiler.
119
+ #
120
+ # @note When making an API call, you may pass AmazonCodeGuruProfilerIntegration
121
+ # data as a hash:
122
+ #
123
+ # {
124
+ # status: "ENABLED", # accepts ENABLED, DISABLED
125
+ # }
126
+ #
127
+ # @!attribute [rw] status
128
+ # The status of the CodeGuru Profiler integration. Specifies if DevOps
129
+ # Guru is enabled to consume recommendations that are generated from
130
+ # Amazon CodeGuru Profiler.
131
+ # @return [String]
132
+ #
133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AmazonCodeGuruProfilerIntegration AWS API Documentation
134
+ #
135
+ class AmazonCodeGuruProfilerIntegration < Struct.new(
136
+ :status)
137
+ SENSITIVE = []
138
+ include Aws::Structure
139
+ end
140
+
141
+ # An Amazon CloudWatch log group that contains log anomalies and is used
142
+ # to generate an insight.
143
+ #
144
+ # @!attribute [rw] log_group_name
145
+ # The name of the CloudWatch log group.
146
+ # @return [String]
147
+ #
148
+ # @!attribute [rw] impact_start_time
149
+ # The time the anomalous log events began. The impact start time
150
+ # indicates the time of the first log anomaly event that occurs.
151
+ # @return [Time]
152
+ #
153
+ # @!attribute [rw] impact_end_time
154
+ # The time the anomalous log events stopped.
155
+ # @return [Time]
156
+ #
157
+ # @!attribute [rw] number_of_log_lines_scanned
158
+ # The number of log lines that were scanned for anomalous log events.
159
+ # @return [Integer]
160
+ #
161
+ # @!attribute [rw] log_anomaly_showcases
162
+ # The log anomalies in the log group. Each log anomaly displayed
163
+ # represents a cluster of similar anomalous log events.
164
+ # @return [Array<Types::LogAnomalyShowcase>]
165
+ #
166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalousLogGroup AWS API Documentation
167
+ #
168
+ class AnomalousLogGroup < Struct.new(
169
+ :log_group_name,
170
+ :impact_start_time,
171
+ :impact_end_time,
172
+ :number_of_log_lines_scanned,
173
+ :log_anomaly_showcases)
174
+ SENSITIVE = []
175
+ include Aws::Structure
176
+ end
177
+
116
178
  # A time range that specifies when DevOps Guru opens and then closes an
117
179
  # anomaly. This is different from `AnomalyTimeRange`, which specifies
118
180
  # the time range when DevOps Guru actually observes the anomalous
@@ -182,6 +244,32 @@ module Aws::DevOpsGuru
182
244
  include Aws::Structure
183
245
  end
184
246
 
247
+ # Metadata about the detection source that generates proactive
248
+ # anomalies. The anomaly is detected using analysis of the metric data

249
+ # over a period of time
250
+ #
251
+ # @!attribute [rw] source
252
+ # The source of the anomaly.
253
+ # @return [String]
254
+ #
255
+ # @!attribute [rw] source_resource_name
256
+ # The name of the anomaly's resource.
257
+ # @return [String]
258
+ #
259
+ # @!attribute [rw] source_resource_type
260
+ # The anomaly's resource type.
261
+ # @return [String]
262
+ #
263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalySourceMetadata AWS API Documentation
264
+ #
265
+ class AnomalySourceMetadata < Struct.new(
266
+ :source,
267
+ :source_resource_name,
268
+ :source_resource_type)
269
+ SENSITIVE = []
270
+ include Aws::Structure
271
+ end
272
+
185
273
  # A time range that specifies when the observed unusual behavior in an
186
274
  # anomaly started and ended. This is different from
187
275
  # `AnomalyReportedTimeRange`, which specifies the time range when DevOps
@@ -384,7 +472,7 @@ module Aws::DevOpsGuru
384
472
  include Aws::Structure
385
473
  end
386
474
 
387
- # The dimension of am Amazon CloudWatch metric that is used when DevOps
475
+ # The dimension of an Amazon CloudWatch metric that is used when DevOps
388
476
  # Guru analyzes the resources in your account for operational problems
389
477
  # and anomalous behavior. A dimension is a name/value pair that is part
390
478
  # of the identity of a metric. A metric can have up to 10 dimensions.
@@ -535,6 +623,29 @@ module Aws::DevOpsGuru
535
623
  include Aws::Structure
536
624
  end
537
625
 
626
+ # @note When making an API call, you may pass DeleteInsightRequest
627
+ # data as a hash:
628
+ #
629
+ # {
630
+ # id: "InsightId", # required
631
+ # }
632
+ #
633
+ # @!attribute [rw] id
634
+ # The ID of the insight.
635
+ # @return [String]
636
+ #
637
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsightRequest AWS API Documentation
638
+ #
639
+ class DeleteInsightRequest < Struct.new(
640
+ :id)
641
+ SENSITIVE = []
642
+ include Aws::Structure
643
+ end
644
+
645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsightResponse AWS API Documentation
646
+ #
647
+ class DeleteInsightResponse < Aws::EmptyStructure; end
648
+
538
649
  # @api private
539
650
  #
540
651
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthRequest AWS API Documentation
@@ -671,6 +782,24 @@ module Aws::DevOpsGuru
671
782
  include Aws::Structure
672
783
  end
673
784
 
785
+ # @api private
786
+ #
787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfigRequest AWS API Documentation
788
+ #
789
+ class DescribeEventSourcesConfigRequest < Aws::EmptyStructure; end
790
+
791
+ # @!attribute [rw] event_sources
792
+ # Lists the event sources in the configuration.
793
+ # @return [Types::EventSourcesConfig]
794
+ #
795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfigResponse AWS API Documentation
796
+ #
797
+ class DescribeEventSourcesConfigResponse < Struct.new(
798
+ :event_sources)
799
+ SENSITIVE = []
800
+ include Aws::Structure
801
+ end
802
+
674
803
  # @note When making an API call, you may pass DescribeFeedbackRequest
675
804
  # data as a hash:
676
805
  #
@@ -1223,6 +1352,31 @@ module Aws::DevOpsGuru
1223
1352
  include Aws::Structure
1224
1353
  end
1225
1354
 
1355
+ # Information about the integration of DevOps Guru as consumer with
1356
+ # another AWS service, such as AWS CodeGuru Profiler via EventBridge.
1357
+ #
1358
+ # @note When making an API call, you may pass EventSourcesConfig
1359
+ # data as a hash:
1360
+ #
1361
+ # {
1362
+ # amazon_code_guru_profiler: {
1363
+ # status: "ENABLED", # accepts ENABLED, DISABLED
1364
+ # },
1365
+ # }
1366
+ #
1367
+ # @!attribute [rw] amazon_code_guru_profiler
1368
+ # Information about whether DevOps Guru is configured to consume
1369
+ # recommendations which are generated from AWS CodeGuru Profiler.
1370
+ # @return [Types::AmazonCodeGuruProfilerIntegration]
1371
+ #
1372
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/EventSourcesConfig AWS API Documentation
1373
+ #
1374
+ class EventSourcesConfig < Struct.new(
1375
+ :amazon_code_guru_profiler)
1376
+ SENSITIVE = []
1377
+ include Aws::Structure
1378
+ end
1379
+
1226
1380
  # The time range during which an Amazon Web Services event occurred.
1227
1381
  # Amazon Web Services resource events and metrics are analyzed by DevOps
1228
1382
  # Guru to find anomalous behavior and provide recommendations to improve
@@ -1538,6 +1692,64 @@ module Aws::DevOpsGuru
1538
1692
  include Aws::Structure
1539
1693
  end
1540
1694
 
1695
+ # @note When making an API call, you may pass ListAnomalousLogGroupsRequest
1696
+ # data as a hash:
1697
+ #
1698
+ # {
1699
+ # insight_id: "InsightId", # required
1700
+ # max_results: 1,
1701
+ # next_token: "UuidNextToken",
1702
+ # }
1703
+ #
1704
+ # @!attribute [rw] insight_id
1705
+ # The ID of the insight containing the log groups.
1706
+ # @return [String]
1707
+ #
1708
+ # @!attribute [rw] max_results
1709
+ # The maximum number of results to return with a single call. To
1710
+ # retrieve the remaining results, make another call with the returned
1711
+ # `nextToken` value.
1712
+ # @return [Integer]
1713
+ #
1714
+ # @!attribute [rw] next_token
1715
+ # The pagination token to use to retrieve the next page of results for
1716
+ # this operation. If this value is null, it retrieves the first page.
1717
+ # @return [String]
1718
+ #
1719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomalousLogGroupsRequest AWS API Documentation
1720
+ #
1721
+ class ListAnomalousLogGroupsRequest < Struct.new(
1722
+ :insight_id,
1723
+ :max_results,
1724
+ :next_token)
1725
+ SENSITIVE = []
1726
+ include Aws::Structure
1727
+ end
1728
+
1729
+ # @!attribute [rw] insight_id
1730
+ # The ID of the insight containing the log groups.
1731
+ # @return [String]
1732
+ #
1733
+ # @!attribute [rw] anomalous_log_groups
1734
+ # The list of Amazon CloudWatch log groups that are related to an
1735
+ # insight.
1736
+ # @return [Array<Types::AnomalousLogGroup>]
1737
+ #
1738
+ # @!attribute [rw] next_token
1739
+ # The pagination token to use to retrieve the next page of results for
1740
+ # this operation. If there are no more pages, this value is null.
1741
+ # @return [String]
1742
+ #
1743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomalousLogGroupsResponse AWS API Documentation
1744
+ #
1745
+ class ListAnomalousLogGroupsResponse < Struct.new(
1746
+ :insight_id,
1747
+ :anomalous_log_groups,
1748
+ :next_token)
1749
+ SENSITIVE = []
1750
+ include Aws::Structure
1751
+ end
1752
+
1541
1753
  # Filters you can use to specify which events are returned when
1542
1754
  # `ListEvents` is called.
1543
1755
  #
@@ -1902,6 +2114,92 @@ module Aws::DevOpsGuru
1902
2114
  include Aws::Structure
1903
2115
  end
1904
2116
 
2117
+ # Filters to determine which monitored resources you want to retrieve.
2118
+ # You can filter by resource type or resource permission status.
2119
+ #
2120
+ # @note When making an API call, you may pass ListMonitoredResourcesFilters
2121
+ # data as a hash:
2122
+ #
2123
+ # {
2124
+ # resource_permission: "FULL_PERMISSION", # required, accepts FULL_PERMISSION, MISSING_PERMISSION
2125
+ # resource_type_filters: ["LOG_GROUPS"], # required, accepts LOG_GROUPS
2126
+ # }
2127
+ #
2128
+ # @!attribute [rw] resource_permission
2129
+ # The permission status of a resource.
2130
+ # @return [String]
2131
+ #
2132
+ # @!attribute [rw] resource_type_filters
2133
+ # The type of resource that you wish to retrieve, such as log groups.
2134
+ # @return [Array<String>]
2135
+ #
2136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResourcesFilters AWS API Documentation
2137
+ #
2138
+ class ListMonitoredResourcesFilters < Struct.new(
2139
+ :resource_permission,
2140
+ :resource_type_filters)
2141
+ SENSITIVE = []
2142
+ include Aws::Structure
2143
+ end
2144
+
2145
+ # @note When making an API call, you may pass ListMonitoredResourcesRequest
2146
+ # data as a hash:
2147
+ #
2148
+ # {
2149
+ # filters: { # required
2150
+ # resource_permission: "FULL_PERMISSION", # required, accepts FULL_PERMISSION, MISSING_PERMISSION
2151
+ # resource_type_filters: ["LOG_GROUPS"], # required, accepts LOG_GROUPS
2152
+ # },
2153
+ # max_results: 1,
2154
+ # next_token: "UuidNextToken",
2155
+ # }
2156
+ #
2157
+ # @!attribute [rw] filters
2158
+ # Filters to determine which monitored resources you want to retrieve.
2159
+ # You can filter by resource type or resource permission status.
2160
+ # @return [Types::ListMonitoredResourcesFilters]
2161
+ #
2162
+ # @!attribute [rw] max_results
2163
+ # The maximum number of results to return with a single call. To
2164
+ # retrieve the remaining results, make another call with the returned
2165
+ # `nextToken` value.
2166
+ # @return [Integer]
2167
+ #
2168
+ # @!attribute [rw] next_token
2169
+ # The pagination token to use to retrieve the next page of results for
2170
+ # this operation. If this value is null, it retrieves the first page.
2171
+ # @return [String]
2172
+ #
2173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResourcesRequest AWS API Documentation
2174
+ #
2175
+ class ListMonitoredResourcesRequest < Struct.new(
2176
+ :filters,
2177
+ :max_results,
2178
+ :next_token)
2179
+ SENSITIVE = []
2180
+ include Aws::Structure
2181
+ end
2182
+
2183
+ # @!attribute [rw] monitored_resource_identifiers
2184
+ # Information about the resource that is being monitored, including
2185
+ # the name of the resource, the type of resource, and whether or not
2186
+ # permission is given to DevOps Guru to access that resource.
2187
+ # @return [Array<Types::MonitoredResourceIdentifier>]
2188
+ #
2189
+ # @!attribute [rw] next_token
2190
+ # The pagination token to use to retrieve the next page of results for
2191
+ # this operation. If there are no more pages, this value is null.
2192
+ # @return [String]
2193
+ #
2194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListMonitoredResourcesResponse AWS API Documentation
2195
+ #
2196
+ class ListMonitoredResourcesResponse < Struct.new(
2197
+ :monitored_resource_identifiers,
2198
+ :next_token)
2199
+ SENSITIVE = []
2200
+ include Aws::Structure
2201
+ end
2202
+
1905
2203
  # @note When making an API call, you may pass ListNotificationChannelsRequest
1906
2204
  # data as a hash:
1907
2205
  #
@@ -2085,6 +2383,134 @@ module Aws::DevOpsGuru
2085
2383
  include Aws::Structure
2086
2384
  end
2087
2385
 
2386
+ # Information about an anomalous log event found within a log group.
2387
+ #
2388
+ # @!attribute [rw] log_stream_name
2389
+ # The name of the Amazon CloudWatch log stream that the anomalous log
2390
+ # event belongs to. A log stream is a sequence of log events that
2391
+ # share the same source.
2392
+ # @return [String]
2393
+ #
2394
+ # @!attribute [rw] log_anomaly_type
2395
+ # The type of log anomaly that has been detected.
2396
+ # @return [String]
2397
+ #
2398
+ # @!attribute [rw] log_anomaly_token
2399
+ # The token where the anomaly was detected. This may refer to an
2400
+ # exception or another location, or it may be blank for log anomalies
2401
+ # such as format anomalies.
2402
+ # @return [String]
2403
+ #
2404
+ # @!attribute [rw] log_event_id
2405
+ # The ID of the log event.
2406
+ # @return [String]
2407
+ #
2408
+ # @!attribute [rw] explanation
2409
+ # The explanation for why the log event is considered an anomaly.
2410
+ # @return [String]
2411
+ #
2412
+ # @!attribute [rw] number_of_log_lines_occurrences
2413
+ # The number of log lines where this anomalous log event occurs.
2414
+ # @return [Integer]
2415
+ #
2416
+ # @!attribute [rw] log_event_timestamp
2417
+ # The time of the first occurrence of the anomalous log event.
2418
+ # @return [Time]
2419
+ #
2420
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogAnomalyClass AWS API Documentation
2421
+ #
2422
+ class LogAnomalyClass < Struct.new(
2423
+ :log_stream_name,
2424
+ :log_anomaly_type,
2425
+ :log_anomaly_token,
2426
+ :log_event_id,
2427
+ :explanation,
2428
+ :number_of_log_lines_occurrences,
2429
+ :log_event_timestamp)
2430
+ SENSITIVE = []
2431
+ include Aws::Structure
2432
+ end
2433
+
2434
+ # A cluster of similar anomalous log events found within a log group.
2435
+ #
2436
+ # @!attribute [rw] log_anomaly_classes
2437
+ # A list of anomalous log events that may be related.
2438
+ # @return [Array<Types::LogAnomalyClass>]
2439
+ #
2440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogAnomalyShowcase AWS API Documentation
2441
+ #
2442
+ class LogAnomalyShowcase < Struct.new(
2443
+ :log_anomaly_classes)
2444
+ SENSITIVE = []
2445
+ include Aws::Structure
2446
+ end
2447
+
2448
+ # Information about the integration of DevOps Guru with CloudWatch log
2449
+ # groups for log anomaly detection.
2450
+ #
2451
+ # @!attribute [rw] opt_in_status
2452
+ # Specifies if DevOps Guru is configured to perform log anomaly
2453
+ # detection on CloudWatch log groups.
2454
+ # @return [String]
2455
+ #
2456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogsAnomalyDetectionIntegration AWS API Documentation
2457
+ #
2458
+ class LogsAnomalyDetectionIntegration < Struct.new(
2459
+ :opt_in_status)
2460
+ SENSITIVE = []
2461
+ include Aws::Structure
2462
+ end
2463
+
2464
+ # Information about the integration of DevOps Guru with CloudWatch log
2465
+ # groups for log anomaly detection. You can use this to update the
2466
+ # configuration.
2467
+ #
2468
+ # @note When making an API call, you may pass LogsAnomalyDetectionIntegrationConfig
2469
+ # data as a hash:
2470
+ #
2471
+ # {
2472
+ # opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
2473
+ # }
2474
+ #
2475
+ # @!attribute [rw] opt_in_status
2476
+ # Specifies if DevOps Guru is configured to perform log anomaly
2477
+ # detection on CloudWatch log groups.
2478
+ # @return [String]
2479
+ #
2480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/LogsAnomalyDetectionIntegrationConfig AWS API Documentation
2481
+ #
2482
+ class LogsAnomalyDetectionIntegrationConfig < Struct.new(
2483
+ :opt_in_status)
2484
+ SENSITIVE = []
2485
+ include Aws::Structure
2486
+ end
2487
+
2488
+ # Information about the resource that is being monitored, including the
2489
+ # name of the resource, the type of resource, and whether or not
2490
+ # permission is given to DevOps Guru to access that resource.
2491
+ #
2492
+ # @!attribute [rw] monitored_resource_name
2493
+ # The name of the resource being monitored.
2494
+ # @return [String]
2495
+ #
2496
+ # @!attribute [rw] type
2497
+ # The type of resource being monitored.
2498
+ # @return [String]
2499
+ #
2500
+ # @!attribute [rw] resource_permission
2501
+ # The permission status of a resource.
2502
+ # @return [String]
2503
+ #
2504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/MonitoredResourceIdentifier AWS API Documentation
2505
+ #
2506
+ class MonitoredResourceIdentifier < Struct.new(
2507
+ :monitored_resource_name,
2508
+ :type,
2509
+ :resource_permission)
2510
+ SENSITIVE = []
2511
+ include Aws::Structure
2512
+ end
2513
+
2088
2514
  # Information about a notification channel. A notification channel is
2089
2515
  # used to notify you when DevOps Guru creates an insight. The one
2090
2516
  # supported notification channel is Amazon Simple Notification Service
@@ -2093,8 +2519,15 @@ module Aws::DevOpsGuru
2093
2519
  # If you use an Amazon SNS topic in another account, you must attach a
2094
2520
  # policy to it that grants DevOps Guru permission to it notifications.
2095
2521
  # DevOps Guru adds the required policy on your behalf to send
2522
+ # notifications using Amazon SNS in your account. DevOps Guru only
2523
+ # supports standard SNS topics. For more information, see [Permissions
2524
+ # for cross account Amazon SNS topics][1].
2525
+ #
2526
+ # If you use an Amazon SNS topic in another account, you must attach a
2527
+ # policy to it that grants DevOps Guru permission to it notifications.
2528
+ # DevOps Guru adds the required policy on your behalf to send
2096
2529
  # notifications using Amazon SNS in your account. For more information,
2097
- # see [Permissions for cross account Amazon SNS topics][1].
2530
+ # see Permissions for cross account Amazon SNS topics.
2098
2531
  #
2099
2532
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
2100
2533
  # Services Key Management Service customer-managed key (CMK), then you
@@ -2145,9 +2578,15 @@ module Aws::DevOpsGuru
2145
2578
  # If you use an Amazon SNS topic in another account, you must attach a
2146
2579
  # policy to it that grants DevOps Guru permission to it notifications.
2147
2580
  # DevOps Guru adds the required policy on your behalf to send
2581
+ # notifications using Amazon SNS in your account. DevOps Guru only
2582
+ # supports standard SNS topics. For more information, see [Permissions
2583
+ # for cross account Amazon SNS topics][1].
2584
+ #
2585
+ # If you use an Amazon SNS topic in another account, you must attach a
2586
+ # policy to it that grants DevOps Guru permission to it notifications.
2587
+ # DevOps Guru adds the required policy on your behalf to send
2148
2588
  # notifications using Amazon SNS in your account. For more
2149
- # information, see [Permissions for cross account Amazon SNS
2150
- # topics][1].
2589
+ # information, see Permissions for cross account Amazon SNS topics.
2151
2590
  #
2152
2591
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
2153
2592
  # Services Key Management Service customer-managed key (CMK), then you
@@ -2188,7 +2627,7 @@ module Aws::DevOpsGuru
2188
2627
 
2189
2628
  # Information about whether DevOps Guru is configured to create an
2190
2629
  # OpsItem in Amazon Web Services Systems Manager OpsCenter for each
2191
- # created insight.
2630
+ # created insight. You can use this to update the configuration.
2192
2631
  #
2193
2632
  # @note When making an API call, you may pass OpsCenterIntegrationConfig
2194
2633
  # data as a hash:
@@ -2675,6 +3114,15 @@ module Aws::DevOpsGuru
2675
3114
  # generated this anomaly.
2676
3115
  # @return [Float]
2677
3116
  #
3117
+ # @!attribute [rw] source_metadata
3118
+ # The metadata for the anomaly.
3119
+ # @return [Types::AnomalySourceMetadata]
3120
+ #
3121
+ # @!attribute [rw] anomaly_resources
3122
+ # Information about a resource in which DevOps Guru detected anomalous
3123
+ # behavior.
3124
+ # @return [Array<Types::AnomalyResource>]
3125
+ #
2678
3126
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomaly AWS API Documentation
2679
3127
  #
2680
3128
  class ProactiveAnomaly < Struct.new(
@@ -2688,7 +3136,9 @@ module Aws::DevOpsGuru
2688
3136
  :source_details,
2689
3137
  :associated_insight_id,
2690
3138
  :resource_collection,
2691
- :limit)
3139
+ :limit,
3140
+ :source_metadata,
3141
+ :anomaly_resources)
2692
3142
  SENSITIVE = []
2693
3143
  include Aws::Structure
2694
3144
  end
@@ -2764,6 +3214,15 @@ module Aws::DevOpsGuru
2764
3214
  # generated this anomaly.
2765
3215
  # @return [Float]
2766
3216
  #
3217
+ # @!attribute [rw] source_metadata
3218
+ # The metadata of the source which detects proactive anomalies.
3219
+ # @return [Types::AnomalySourceMetadata]
3220
+ #
3221
+ # @!attribute [rw] anomaly_resources
3222
+ # Information about a resource in which DevOps Guru detected anomalous
3223
+ # behavior.
3224
+ # @return [Array<Types::AnomalyResource>]
3225
+ #
2767
3226
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomalySummary AWS API Documentation
2768
3227
  #
2769
3228
  class ProactiveAnomalySummary < Struct.new(
@@ -2777,7 +3236,9 @@ module Aws::DevOpsGuru
2777
3236
  :source_details,
2778
3237
  :associated_insight_id,
2779
3238
  :resource_collection,
2780
- :limit)
3239
+ :limit,
3240
+ :source_metadata,
3241
+ :anomaly_resources)
2781
3242
  SENSITIVE = []
2782
3243
  include Aws::Structure
2783
3244
  end
@@ -2834,6 +3295,10 @@ module Aws::DevOpsGuru
2834
3295
  # before they are created for each insight.
2835
3296
  # @return [String]
2836
3297
  #
3298
+ # @!attribute [rw] description
3299
+ # Describes the proactive insight.
3300
+ # @return [String]
3301
+ #
2837
3302
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsight AWS API Documentation
2838
3303
  #
2839
3304
  class ProactiveInsight < Struct.new(
@@ -2844,7 +3309,8 @@ module Aws::DevOpsGuru
2844
3309
  :insight_time_range,
2845
3310
  :prediction_time_range,
2846
3311
  :resource_collection,
2847
- :ssm_ops_item_id)
3312
+ :ssm_ops_item_id,
3313
+ :description)
2848
3314
  SENSITIVE = []
2849
3315
  include Aws::Structure
2850
3316
  end
@@ -3277,6 +3743,10 @@ module Aws::DevOpsGuru
3277
3743
  # before they are created for each insight.
3278
3744
  # @return [String]
3279
3745
  #
3746
+ # @!attribute [rw] description
3747
+ # Describes the reactive insight.
3748
+ # @return [String]
3749
+ #
3280
3750
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsight AWS API Documentation
3281
3751
  #
3282
3752
  class ReactiveInsight < Struct.new(
@@ -3286,7 +3756,8 @@ module Aws::DevOpsGuru
3286
3756
  :status,
3287
3757
  :insight_time_range,
3288
3758
  :resource_collection,
3289
- :ssm_ops_item_id)
3759
+ :ssm_ops_item_id,
3760
+ :description)
3290
3761
  SENSITIVE = []
3291
3762
  include Aws::Structure
3292
3763
  end
@@ -3454,6 +3925,10 @@ module Aws::DevOpsGuru
3454
3925
  # learn more about what's happening and to help address the issue.
3455
3926
  # @return [Array<Types::RecommendationRelatedAnomaly>]
3456
3927
  #
3928
+ # @!attribute [rw] category
3929
+ # The category type of the recommendation.
3930
+ # @return [String]
3931
+ #
3457
3932
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/Recommendation AWS API Documentation
3458
3933
  #
3459
3934
  class Recommendation < Struct.new(
@@ -3462,7 +3937,8 @@ module Aws::DevOpsGuru
3462
3937
  :name,
3463
3938
  :reason,
3464
3939
  :related_events,
3465
- :related_anomalies)
3940
+ :related_anomalies,
3941
+ :category)
3466
3942
  SENSITIVE = []
3467
3943
  include Aws::Structure
3468
3944
  end
@@ -4181,10 +4657,16 @@ module Aws::DevOpsGuru
4181
4657
  # created insight.
4182
4658
  # @return [Types::OpsCenterIntegration]
4183
4659
  #
4660
+ # @!attribute [rw] logs_anomaly_detection
4661
+ # Information about whether DevOps Guru is configured to perform log
4662
+ # anomaly detection on Amazon CloudWatch log groups.
4663
+ # @return [Types::LogsAnomalyDetectionIntegration]
4664
+ #
4184
4665
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceIntegrationConfig AWS API Documentation
4185
4666
  #
4186
4667
  class ServiceIntegrationConfig < Struct.new(
4187
- :ops_center)
4668
+ :ops_center,
4669
+ :logs_anomaly_detection)
4188
4670
  SENSITIVE = []
4189
4671
  include Aws::Structure
4190
4672
  end
@@ -4262,8 +4744,15 @@ module Aws::DevOpsGuru
4262
4744
  # If you use an Amazon SNS topic in another account, you must attach a
4263
4745
  # policy to it that grants DevOps Guru permission to it notifications.
4264
4746
  # DevOps Guru adds the required policy on your behalf to send
4747
+ # notifications using Amazon SNS in your account. DevOps Guru only
4748
+ # supports standard SNS topics. For more information, see [Permissions
4749
+ # for cross account Amazon SNS topics][1].
4750
+ #
4751
+ # If you use an Amazon SNS topic in another account, you must attach a
4752
+ # policy to it that grants DevOps Guru permission to it notifications.
4753
+ # DevOps Guru adds the required policy on your behalf to send
4265
4754
  # notifications using Amazon SNS in your account. For more information,
4266
- # see [Permissions for cross account Amazon SNS topics][1].
4755
+ # see Permissions for cross account Amazon SNS topics.
4267
4756
  #
4268
4757
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
4269
4758
  # Services Key Management Service customer-managed key (CMK), then you
@@ -4669,6 +5158,34 @@ module Aws::DevOpsGuru
4669
5158
  include Aws::Structure
4670
5159
  end
4671
5160
 
5161
+ # @note When making an API call, you may pass UpdateEventSourcesConfigRequest
5162
+ # data as a hash:
5163
+ #
5164
+ # {
5165
+ # event_sources: {
5166
+ # amazon_code_guru_profiler: {
5167
+ # status: "ENABLED", # accepts ENABLED, DISABLED
5168
+ # },
5169
+ # },
5170
+ # }
5171
+ #
5172
+ # @!attribute [rw] event_sources
5173
+ # Configuration information about the integration of DevOps Guru as
5174
+ # the Consumer via EventBridge with another AWS Service.
5175
+ # @return [Types::EventSourcesConfig]
5176
+ #
5177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfigRequest AWS API Documentation
5178
+ #
5179
+ class UpdateEventSourcesConfigRequest < Struct.new(
5180
+ :event_sources)
5181
+ SENSITIVE = []
5182
+ include Aws::Structure
5183
+ end
5184
+
5185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfigResponse AWS API Documentation
5186
+ #
5187
+ class UpdateEventSourcesConfigResponse < Aws::EmptyStructure; end
5188
+
4672
5189
  # Contains information used to update a collection of Amazon Web
4673
5190
  # Services resources.
4674
5191
  #
@@ -4792,18 +5309,27 @@ module Aws::DevOpsGuru
4792
5309
  # ops_center: {
4793
5310
  # opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
4794
5311
  # },
5312
+ # logs_anomaly_detection: {
5313
+ # opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
5314
+ # },
4795
5315
  # }
4796
5316
  #
4797
5317
  # @!attribute [rw] ops_center
4798
5318
  # Information about whether DevOps Guru is configured to create an
4799
5319
  # OpsItem in Amazon Web Services Systems Manager OpsCenter for each
4800
- # created insight.
5320
+ # created insight. You can use this to update the configuration.
4801
5321
  # @return [Types::OpsCenterIntegrationConfig]
4802
5322
  #
5323
+ # @!attribute [rw] logs_anomaly_detection
5324
+ # Information about whether DevOps Guru is configured to perform log
5325
+ # anomaly detection on Amazon CloudWatch log groups.
5326
+ # @return [Types::LogsAnomalyDetectionIntegrationConfig]
5327
+ #
4803
5328
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateServiceIntegrationConfig AWS API Documentation
4804
5329
  #
4805
5330
  class UpdateServiceIntegrationConfig < Struct.new(
4806
- :ops_center)
5331
+ :ops_center,
5332
+ :logs_anomaly_detection)
4807
5333
  SENSITIVE = []
4808
5334
  include Aws::Structure
4809
5335
  end
@@ -4816,6 +5342,9 @@ module Aws::DevOpsGuru
4816
5342
  # ops_center: {
4817
5343
  # opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
4818
5344
  # },
5345
+ # logs_anomaly_detection: {
5346
+ # opt_in_status: "ENABLED", # accepts ENABLED, DISABLED
5347
+ # },
4819
5348
  # },
4820
5349
  # }
4821
5350
  #