aws-sdk-devopsguru 1.20.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cb2cb1a73ae1c990b39112b6b5cdc6cad75a96f914016650441ac5b0c3565ad
4
- data.tar.gz: ffa6aa9d41688b4e39fae2fc3ec6162252fbd4327926ba849a7bab0a25c4669d
3
+ metadata.gz: b78409e5f12b3554d99d580bb93596e059e6fcff9b3cdaffb8dd4ebc1f8ed2cf
4
+ data.tar.gz: 12ac76d290297f8d0d13f4a43cd83ab582668991d6bb80b6d8ccbf608caf3583
5
5
  SHA512:
6
- metadata.gz: 272eae57423fc5f7f1818cd53ccfa630a13d03df2b67fc97b3b0bf9841f21db81fdd0f117eaed7da682fa28cc238831ce06c71895dbbf3f8f6e178311a5cfad6
7
- data.tar.gz: 69fe40285ff8c4e54b04187f8bf09370eac0eab755a69ff15a2d78cbc6e6e49245ad5427be3bf7d49c4e7ba75a01cbb5ea61daa2e800c04aa0a9b6b16466aefe
6
+ metadata.gz: 8d596928400bc27386fbea990ab283937711345415b4b1755bac000916b2236c7f3ad7ee3f159a256a619ed3b488574db3fc2b850f1e961350233b7c7ad7ce64
7
+ data.tar.gz: ca60c67d1afdd0233e9bc6351a6fec2ba3ba214eebb569e6759fee15e00e4354defb4b2582b22738fbcc10fe752750565c85ebba60c09d1b12100f8b4817ac84
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2022-04-12)
5
+ ------------------
6
+
7
+ * Feature - This release adds new APIs DeleteInsight to deletes the insight along with the associated anomalies, events and recommendations.
8
+
9
+ 1.22.0 (2022-03-04)
10
+ ------------------
11
+
12
+ * Feature - Amazon DevOps Guru now integrates with Amazon CodeGuru Profiler. You can view CodeGuru Profiler recommendations for your AWS Lambda function in DevOps Guru. This feature is enabled by default for new customers as of 3/4/2022. Existing customers can enable this feature with UpdateEventSourcesConfig.
13
+
14
+ 1.21.0 (2022-02-24)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.20.0 (2022-02-03)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.23.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::DevOpsGuru
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -356,8 +358,15 @@ module Aws::DevOpsGuru
356
358
  # If you use an Amazon SNS topic in another account, you must attach a
357
359
  # policy to it that grants DevOps Guru permission to it notifications.
358
360
  # DevOps Guru adds the required policy on your behalf to send
361
+ # notifications using Amazon SNS in your account. DevOps Guru only
362
+ # supports standard SNS topics. For more information, see [Permissions
363
+ # for cross account Amazon SNS topics][1].
364
+ #
365
+ # If you use an Amazon SNS topic in another account, you must attach a
366
+ # policy to it that grants DevOps Guru permission to it notifications.
367
+ # DevOps Guru adds the required policy on your behalf to send
359
368
  # notifications using Amazon SNS in your account. For more information,
360
- # see [Permissions for cross account Amazon SNS topics][1].
369
+ # see Permissions for cross account Amazon SNS topics.
361
370
  #
362
371
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
363
372
  # Services Key Management Service customer-managed key (CMK), then you
@@ -402,6 +411,29 @@ module Aws::DevOpsGuru
402
411
  req.send_request(options)
403
412
  end
404
413
 
414
+ # Deletes the insight along with the associated anomalies, events and
415
+ # recommendations.
416
+ #
417
+ # @option params [required, String] :id
418
+ # The ID of the insight.
419
+ #
420
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
421
+ #
422
+ # @example Request syntax with placeholder values
423
+ #
424
+ # resp = client.delete_insight({
425
+ # id: "InsightId", # required
426
+ # })
427
+ #
428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsight AWS API Documentation
429
+ #
430
+ # @overload delete_insight(params = {})
431
+ # @param [Hash] params ({})
432
+ def delete_insight(params = {}, options = {})
433
+ req = build_request(:delete_insight, params)
434
+ req.send_request(options)
435
+ end
436
+
405
437
  # Returns the number of open reactive insights, the number of open
406
438
  # proactive insights, and the number of metrics analyzed in your Amazon
407
439
  # Web Services account. Use these numbers to gauge the health of
@@ -553,6 +585,12 @@ module Aws::DevOpsGuru
553
585
  # resp.proactive_anomaly.resource_collection.tags[0].tag_values #=> Array
554
586
  # resp.proactive_anomaly.resource_collection.tags[0].tag_values[0] #=> String
555
587
  # resp.proactive_anomaly.limit #=> Float
588
+ # resp.proactive_anomaly.source_metadata.source #=> String
589
+ # resp.proactive_anomaly.source_metadata.source_resource_name #=> String
590
+ # resp.proactive_anomaly.source_metadata.source_resource_type #=> String
591
+ # resp.proactive_anomaly.anomaly_resources #=> Array
592
+ # resp.proactive_anomaly.anomaly_resources[0].name #=> String
593
+ # resp.proactive_anomaly.anomaly_resources[0].type #=> String
556
594
  # resp.reactive_anomaly.id #=> String
557
595
  # resp.reactive_anomaly.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
558
596
  # resp.reactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
@@ -623,6 +661,29 @@ module Aws::DevOpsGuru
623
661
  req.send_request(options)
624
662
  end
625
663
 
664
+ # Returns the integration status of services that are integrated with
665
+ # DevOps Guru as Consumer via EventBridge. The one service that can be
666
+ # integrated with DevOps Guru is Amazon CodeGuru Profiler, which can
667
+ # produce proactive recommendations which can be stored and viewed in
668
+ # DevOps Guru.
669
+ #
670
+ # @return [Types::DescribeEventSourcesConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
671
+ #
672
+ # * {Types::DescribeEventSourcesConfigResponse#event_sources #event_sources} => Types::EventSourcesConfig
673
+ #
674
+ # @example Response structure
675
+ #
676
+ # resp.event_sources.amazon_code_guru_profiler.status #=> String, one of "ENABLED", "DISABLED"
677
+ #
678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfig AWS API Documentation
679
+ #
680
+ # @overload describe_event_sources_config(params = {})
681
+ # @param [Hash] params ({})
682
+ def describe_event_sources_config(params = {}, options = {})
683
+ req = build_request(:describe_event_sources_config, params)
684
+ req.send_request(options)
685
+ end
686
+
626
687
  # Returns the most recent feedback submitted in the current Amazon Web
627
688
  # Services account and Region.
628
689
  #
@@ -690,6 +751,7 @@ module Aws::DevOpsGuru
690
751
  # resp.proactive_insight.resource_collection.tags[0].tag_values #=> Array
691
752
  # resp.proactive_insight.resource_collection.tags[0].tag_values[0] #=> String
692
753
  # resp.proactive_insight.ssm_ops_item_id #=> String
754
+ # resp.proactive_insight.description #=> String
693
755
  # resp.reactive_insight.id #=> String
694
756
  # resp.reactive_insight.name #=> String
695
757
  # resp.reactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
@@ -703,6 +765,7 @@ module Aws::DevOpsGuru
703
765
  # resp.reactive_insight.resource_collection.tags[0].tag_values #=> Array
704
766
  # resp.reactive_insight.resource_collection.tags[0].tag_values[0] #=> String
705
767
  # resp.reactive_insight.ssm_ops_item_id #=> String
768
+ # resp.reactive_insight.description #=> String
706
769
  #
707
770
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight AWS API Documentation
708
771
  #
@@ -1187,6 +1250,12 @@ module Aws::DevOpsGuru
1187
1250
  # resp.proactive_anomalies[0].resource_collection.tags[0].tag_values #=> Array
1188
1251
  # resp.proactive_anomalies[0].resource_collection.tags[0].tag_values[0] #=> String
1189
1252
  # resp.proactive_anomalies[0].limit #=> Float
1253
+ # resp.proactive_anomalies[0].source_metadata.source #=> String
1254
+ # resp.proactive_anomalies[0].source_metadata.source_resource_name #=> String
1255
+ # resp.proactive_anomalies[0].source_metadata.source_resource_type #=> String
1256
+ # resp.proactive_anomalies[0].anomaly_resources #=> Array
1257
+ # resp.proactive_anomalies[0].anomaly_resources[0].name #=> String
1258
+ # resp.proactive_anomalies[0].anomaly_resources[0].type #=> String
1190
1259
  # resp.reactive_anomalies #=> Array
1191
1260
  # resp.reactive_anomalies[0].id #=> String
1192
1261
  # resp.reactive_anomalies[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
@@ -1642,6 +1711,7 @@ module Aws::DevOpsGuru
1642
1711
  # resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].metric_name #=> String
1643
1712
  # resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].namespace #=> String
1644
1713
  # resp.recommendations[0].related_anomalies[0].anomaly_id #=> String
1714
+ # resp.recommendations[0].category #=> String
1645
1715
  # resp.next_token #=> String
1646
1716
  #
1647
1717
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations AWS API Documentation
@@ -1983,6 +2053,36 @@ module Aws::DevOpsGuru
1983
2053
  req.send_request(options)
1984
2054
  end
1985
2055
 
2056
+ # Enables or disables integration with a service that can be integrated
2057
+ # with DevOps Guru. The one service that can be integrated with DevOps
2058
+ # Guru is Amazon CodeGuru Profiler, which can produce proactive
2059
+ # recommendations which can be stored and viewed in DevOps Guru.
2060
+ #
2061
+ # @option params [Types::EventSourcesConfig] :event_sources
2062
+ # Configuration information about the integration of DevOps Guru as the
2063
+ # Consumer via EventBridge with another AWS Service.
2064
+ #
2065
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2066
+ #
2067
+ # @example Request syntax with placeholder values
2068
+ #
2069
+ # resp = client.update_event_sources_config({
2070
+ # event_sources: {
2071
+ # amazon_code_guru_profiler: {
2072
+ # status: "ENABLED", # accepts ENABLED, DISABLED
2073
+ # },
2074
+ # },
2075
+ # })
2076
+ #
2077
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfig AWS API Documentation
2078
+ #
2079
+ # @overload update_event_sources_config(params = {})
2080
+ # @param [Hash] params ({})
2081
+ def update_event_sources_config(params = {}, options = {})
2082
+ req = build_request(:update_event_sources_config, params)
2083
+ req.send_request(options)
2084
+ end
2085
+
1986
2086
  # Updates the collection of resources that DevOps Guru analyzes. The two
1987
2087
  # types of Amazon Web Services resource collections supported are Amazon
1988
2088
  # Web Services CloudFormation stacks and Amazon Web Services resources
@@ -2072,7 +2172,7 @@ module Aws::DevOpsGuru
2072
2172
  params: params,
2073
2173
  config: config)
2074
2174
  context[:gem_name] = 'aws-sdk-devopsguru'
2075
- context[:gem_version] = '1.20.0'
2175
+ context[:gem_version] = '1.23.0'
2076
2176
  Seahorse::Client::Request.new(handlers, context)
2077
2177
  end
2078
2178
 
@@ -20,6 +20,7 @@ module Aws::DevOpsGuru
20
20
  AccountInsightHealth = Shapes::StructureShape.new(name: 'AccountInsightHealth')
21
21
  AddNotificationChannelRequest = Shapes::StructureShape.new(name: 'AddNotificationChannelRequest')
22
22
  AddNotificationChannelResponse = Shapes::StructureShape.new(name: 'AddNotificationChannelResponse')
23
+ AmazonCodeGuruProfilerIntegration = Shapes::StructureShape.new(name: 'AmazonCodeGuruProfilerIntegration')
23
24
  AnomalyDescription = Shapes::StringShape.new(name: 'AnomalyDescription')
24
25
  AnomalyId = Shapes::StringShape.new(name: 'AnomalyId')
25
26
  AnomalyLimit = Shapes::FloatShape.new(name: 'AnomalyLimit')
@@ -28,7 +29,9 @@ module Aws::DevOpsGuru
28
29
  AnomalyResource = Shapes::StructureShape.new(name: 'AnomalyResource')
29
30
  AnomalyResources = Shapes::ListShape.new(name: 'AnomalyResources')
30
31
  AnomalySeverity = Shapes::StringShape.new(name: 'AnomalySeverity')
32
+ AnomalySource = Shapes::StringShape.new(name: 'AnomalySource')
31
33
  AnomalySourceDetails = Shapes::StructureShape.new(name: 'AnomalySourceDetails')
34
+ AnomalySourceMetadata = Shapes::StructureShape.new(name: 'AnomalySourceMetadata')
32
35
  AnomalyStatus = Shapes::StringShape.new(name: 'AnomalyStatus')
33
36
  AnomalyTimeRange = Shapes::StructureShape.new(name: 'AnomalyTimeRange')
34
37
  AnomalyType = Shapes::StringShape.new(name: 'AnomalyType')
@@ -64,12 +67,16 @@ module Aws::DevOpsGuru
64
67
  CostEstimationStatus = Shapes::StringShape.new(name: 'CostEstimationStatus')
65
68
  CostEstimationTagValues = Shapes::ListShape.new(name: 'CostEstimationTagValues')
66
69
  CostEstimationTimeRange = Shapes::StructureShape.new(name: 'CostEstimationTimeRange')
70
+ DeleteInsightRequest = Shapes::StructureShape.new(name: 'DeleteInsightRequest')
71
+ DeleteInsightResponse = Shapes::StructureShape.new(name: 'DeleteInsightResponse')
67
72
  DescribeAccountHealthRequest = Shapes::StructureShape.new(name: 'DescribeAccountHealthRequest')
68
73
  DescribeAccountHealthResponse = Shapes::StructureShape.new(name: 'DescribeAccountHealthResponse')
69
74
  DescribeAccountOverviewRequest = Shapes::StructureShape.new(name: 'DescribeAccountOverviewRequest')
70
75
  DescribeAccountOverviewResponse = Shapes::StructureShape.new(name: 'DescribeAccountOverviewResponse')
71
76
  DescribeAnomalyRequest = Shapes::StructureShape.new(name: 'DescribeAnomalyRequest')
72
77
  DescribeAnomalyResponse = Shapes::StructureShape.new(name: 'DescribeAnomalyResponse')
78
+ DescribeEventSourcesConfigRequest = Shapes::StructureShape.new(name: 'DescribeEventSourcesConfigRequest')
79
+ DescribeEventSourcesConfigResponse = Shapes::StructureShape.new(name: 'DescribeEventSourcesConfigResponse')
73
80
  DescribeFeedbackRequest = Shapes::StructureShape.new(name: 'DescribeFeedbackRequest')
74
81
  DescribeFeedbackResponse = Shapes::StructureShape.new(name: 'DescribeFeedbackResponse')
75
82
  DescribeInsightRequest = Shapes::StructureShape.new(name: 'DescribeInsightRequest')
@@ -100,12 +107,15 @@ module Aws::DevOpsGuru
100
107
  EventResourceType = Shapes::StringShape.new(name: 'EventResourceType')
101
108
  EventResources = Shapes::ListShape.new(name: 'EventResources')
102
109
  EventSource = Shapes::StringShape.new(name: 'EventSource')
110
+ EventSourceOptInStatus = Shapes::StringShape.new(name: 'EventSourceOptInStatus')
111
+ EventSourcesConfig = Shapes::StructureShape.new(name: 'EventSourcesConfig')
103
112
  EventTimeRange = Shapes::StructureShape.new(name: 'EventTimeRange')
104
113
  Events = Shapes::ListShape.new(name: 'Events')
105
114
  GetCostEstimationRequest = Shapes::StructureShape.new(name: 'GetCostEstimationRequest')
106
115
  GetCostEstimationResponse = Shapes::StructureShape.new(name: 'GetCostEstimationResponse')
107
116
  GetResourceCollectionRequest = Shapes::StructureShape.new(name: 'GetResourceCollectionRequest')
108
117
  GetResourceCollectionResponse = Shapes::StructureShape.new(name: 'GetResourceCollectionResponse')
118
+ InsightDescription = Shapes::StringShape.new(name: 'InsightDescription')
109
119
  InsightFeedback = Shapes::StructureShape.new(name: 'InsightFeedback')
110
120
  InsightFeedbackOption = Shapes::StringShape.new(name: 'InsightFeedbackOption')
111
121
  InsightHealth = Shapes::StructureShape.new(name: 'InsightHealth')
@@ -202,6 +212,7 @@ module Aws::DevOpsGuru
202
212
  ReactiveOrganizationInsightSummary = Shapes::StructureShape.new(name: 'ReactiveOrganizationInsightSummary')
203
213
  ReactiveOrganizationInsights = Shapes::ListShape.new(name: 'ReactiveOrganizationInsights')
204
214
  Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
215
+ RecommendationCategory = Shapes::StringShape.new(name: 'RecommendationCategory')
205
216
  RecommendationDescription = Shapes::StringShape.new(name: 'RecommendationDescription')
206
217
  RecommendationLink = Shapes::StringShape.new(name: 'RecommendationLink')
207
218
  RecommendationName = Shapes::StringShape.new(name: 'RecommendationName')
@@ -281,6 +292,8 @@ module Aws::DevOpsGuru
281
292
  TimestampMetricValuePairList = Shapes::ListShape.new(name: 'TimestampMetricValuePairList')
282
293
  TopicArn = Shapes::StringShape.new(name: 'TopicArn')
283
294
  UpdateCloudFormationCollectionFilter = Shapes::StructureShape.new(name: 'UpdateCloudFormationCollectionFilter')
295
+ UpdateEventSourcesConfigRequest = Shapes::StructureShape.new(name: 'UpdateEventSourcesConfigRequest')
296
+ UpdateEventSourcesConfigResponse = Shapes::StructureShape.new(name: 'UpdateEventSourcesConfigResponse')
284
297
  UpdateResourceCollectionAction = Shapes::StringShape.new(name: 'UpdateResourceCollectionAction')
285
298
  UpdateResourceCollectionFilter = Shapes::StructureShape.new(name: 'UpdateResourceCollectionFilter')
286
299
  UpdateResourceCollectionRequest = Shapes::StructureShape.new(name: 'UpdateResourceCollectionRequest')
@@ -319,6 +332,9 @@ module Aws::DevOpsGuru
319
332
  AddNotificationChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: NotificationChannelId, required: true, location_name: "Id"))
320
333
  AddNotificationChannelResponse.struct_class = Types::AddNotificationChannelResponse
321
334
 
335
+ AmazonCodeGuruProfilerIntegration.add_member(:status, Shapes::ShapeRef.new(shape: EventSourceOptInStatus, location_name: "Status"))
336
+ AmazonCodeGuruProfilerIntegration.struct_class = Types::AmazonCodeGuruProfilerIntegration
337
+
322
338
  AnomalyReportedTimeRange.add_member(:open_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "OpenTime"))
323
339
  AnomalyReportedTimeRange.add_member(:close_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CloseTime"))
324
340
  AnomalyReportedTimeRange.struct_class = Types::AnomalyReportedTimeRange
@@ -333,6 +349,11 @@ module Aws::DevOpsGuru
333
349
  AnomalySourceDetails.add_member(:performance_insights_metrics, Shapes::ShapeRef.new(shape: PerformanceInsightsMetricsDetails, location_name: "PerformanceInsightsMetrics"))
334
350
  AnomalySourceDetails.struct_class = Types::AnomalySourceDetails
335
351
 
352
+ AnomalySourceMetadata.add_member(:source, Shapes::ShapeRef.new(shape: AnomalySource, location_name: "Source"))
353
+ AnomalySourceMetadata.add_member(:source_resource_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "SourceResourceName"))
354
+ AnomalySourceMetadata.add_member(:source_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "SourceResourceType"))
355
+ AnomalySourceMetadata.struct_class = Types::AnomalySourceMetadata
356
+
336
357
  AnomalyTimeRange.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
337
358
  AnomalyTimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
338
359
  AnomalyTimeRange.struct_class = Types::AnomalyTimeRange
@@ -394,6 +415,11 @@ module Aws::DevOpsGuru
394
415
  CostEstimationTimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
395
416
  CostEstimationTimeRange.struct_class = Types::CostEstimationTimeRange
396
417
 
418
+ DeleteInsightRequest.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, required: true, location: "uri", location_name: "Id"))
419
+ DeleteInsightRequest.struct_class = Types::DeleteInsightRequest
420
+
421
+ DeleteInsightResponse.struct_class = Types::DeleteInsightResponse
422
+
397
423
  DescribeAccountHealthRequest.struct_class = Types::DescribeAccountHealthRequest
398
424
 
399
425
  DescribeAccountHealthResponse.add_member(:open_reactive_insights, Shapes::ShapeRef.new(shape: NumOpenReactiveInsights, required: true, location_name: "OpenReactiveInsights"))
@@ -419,6 +445,11 @@ module Aws::DevOpsGuru
419
445
  DescribeAnomalyResponse.add_member(:reactive_anomaly, Shapes::ShapeRef.new(shape: ReactiveAnomaly, location_name: "ReactiveAnomaly"))
420
446
  DescribeAnomalyResponse.struct_class = Types::DescribeAnomalyResponse
421
447
 
448
+ DescribeEventSourcesConfigRequest.struct_class = Types::DescribeEventSourcesConfigRequest
449
+
450
+ DescribeEventSourcesConfigResponse.add_member(:event_sources, Shapes::ShapeRef.new(shape: EventSourcesConfig, location_name: "EventSources"))
451
+ DescribeEventSourcesConfigResponse.struct_class = Types::DescribeEventSourcesConfigResponse
452
+
422
453
  DescribeFeedbackRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
423
454
  DescribeFeedbackRequest.struct_class = Types::DescribeFeedbackRequest
424
455
 
@@ -503,6 +534,9 @@ module Aws::DevOpsGuru
503
534
 
504
535
  EventResources.member = Shapes::ShapeRef.new(shape: EventResource)
505
536
 
537
+ EventSourcesConfig.add_member(:amazon_code_guru_profiler, Shapes::ShapeRef.new(shape: AmazonCodeGuruProfilerIntegration, location_name: "AmazonCodeGuruProfiler"))
538
+ EventSourcesConfig.struct_class = Types::EventSourcesConfig
539
+
506
540
  EventTimeRange.add_member(:from_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "FromTime"))
507
541
  EventTimeRange.add_member(:to_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ToTime"))
508
542
  EventTimeRange.struct_class = Types::EventTimeRange
@@ -717,6 +751,8 @@ module Aws::DevOpsGuru
717
751
  ProactiveAnomaly.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
718
752
  ProactiveAnomaly.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
719
753
  ProactiveAnomaly.add_member(:limit, Shapes::ShapeRef.new(shape: AnomalyLimit, location_name: "Limit"))
754
+ ProactiveAnomaly.add_member(:source_metadata, Shapes::ShapeRef.new(shape: AnomalySourceMetadata, location_name: "SourceMetadata"))
755
+ ProactiveAnomaly.add_member(:anomaly_resources, Shapes::ShapeRef.new(shape: AnomalyResources, location_name: "AnomalyResources"))
720
756
  ProactiveAnomaly.struct_class = Types::ProactiveAnomaly
721
757
 
722
758
  ProactiveAnomalySummary.add_member(:id, Shapes::ShapeRef.new(shape: AnomalyId, location_name: "Id"))
@@ -730,6 +766,8 @@ module Aws::DevOpsGuru
730
766
  ProactiveAnomalySummary.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
731
767
  ProactiveAnomalySummary.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
732
768
  ProactiveAnomalySummary.add_member(:limit, Shapes::ShapeRef.new(shape: AnomalyLimit, location_name: "Limit"))
769
+ ProactiveAnomalySummary.add_member(:source_metadata, Shapes::ShapeRef.new(shape: AnomalySourceMetadata, location_name: "SourceMetadata"))
770
+ ProactiveAnomalySummary.add_member(:anomaly_resources, Shapes::ShapeRef.new(shape: AnomalyResources, location_name: "AnomalyResources"))
733
771
  ProactiveAnomalySummary.struct_class = Types::ProactiveAnomalySummary
734
772
 
735
773
  ProactiveInsight.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, location_name: "Id"))
@@ -740,6 +778,7 @@ module Aws::DevOpsGuru
740
778
  ProactiveInsight.add_member(:prediction_time_range, Shapes::ShapeRef.new(shape: PredictionTimeRange, location_name: "PredictionTimeRange"))
741
779
  ProactiveInsight.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
742
780
  ProactiveInsight.add_member(:ssm_ops_item_id, Shapes::ShapeRef.new(shape: SsmOpsItemId, location_name: "SsmOpsItemId"))
781
+ ProactiveInsight.add_member(:description, Shapes::ShapeRef.new(shape: InsightDescription, location_name: "Description"))
743
782
  ProactiveInsight.struct_class = Types::ProactiveInsight
744
783
 
745
784
  ProactiveInsightSummary.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, location_name: "Id"))
@@ -813,6 +852,7 @@ module Aws::DevOpsGuru
813
852
  ReactiveInsight.add_member(:insight_time_range, Shapes::ShapeRef.new(shape: InsightTimeRange, location_name: "InsightTimeRange"))
814
853
  ReactiveInsight.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
815
854
  ReactiveInsight.add_member(:ssm_ops_item_id, Shapes::ShapeRef.new(shape: SsmOpsItemId, location_name: "SsmOpsItemId"))
855
+ ReactiveInsight.add_member(:description, Shapes::ShapeRef.new(shape: InsightDescription, location_name: "Description"))
816
856
  ReactiveInsight.struct_class = Types::ReactiveInsight
817
857
 
818
858
  ReactiveInsightSummary.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, location_name: "Id"))
@@ -846,6 +886,7 @@ module Aws::DevOpsGuru
846
886
  Recommendation.add_member(:reason, Shapes::ShapeRef.new(shape: RecommendationReason, location_name: "Reason"))
847
887
  Recommendation.add_member(:related_events, Shapes::ShapeRef.new(shape: RecommendationRelatedEvents, location_name: "RelatedEvents"))
848
888
  Recommendation.add_member(:related_anomalies, Shapes::ShapeRef.new(shape: RecommendationRelatedAnomalies, location_name: "RelatedAnomalies"))
889
+ Recommendation.add_member(:category, Shapes::ShapeRef.new(shape: RecommendationCategory, location_name: "Category"))
849
890
  Recommendation.struct_class = Types::Recommendation
850
891
 
851
892
  RecommendationRelatedAnomalies.member = Shapes::ShapeRef.new(shape: RecommendationRelatedAnomaly)
@@ -1030,6 +1071,11 @@ module Aws::DevOpsGuru
1030
1071
  UpdateCloudFormationCollectionFilter.add_member(:stack_names, Shapes::ShapeRef.new(shape: UpdateStackNames, location_name: "StackNames"))
1031
1072
  UpdateCloudFormationCollectionFilter.struct_class = Types::UpdateCloudFormationCollectionFilter
1032
1073
 
1074
+ UpdateEventSourcesConfigRequest.add_member(:event_sources, Shapes::ShapeRef.new(shape: EventSourcesConfig, location_name: "EventSources"))
1075
+ UpdateEventSourcesConfigRequest.struct_class = Types::UpdateEventSourcesConfigRequest
1076
+
1077
+ UpdateEventSourcesConfigResponse.struct_class = Types::UpdateEventSourcesConfigResponse
1078
+
1033
1079
  UpdateResourceCollectionFilter.add_member(:cloud_formation, Shapes::ShapeRef.new(shape: UpdateCloudFormationCollectionFilter, location_name: "CloudFormation"))
1034
1080
  UpdateResourceCollectionFilter.add_member(:tags, Shapes::ShapeRef.new(shape: UpdateTagCollectionFilters, location_name: "Tags"))
1035
1081
  UpdateResourceCollectionFilter.struct_class = Types::UpdateResourceCollectionFilter
@@ -1102,6 +1148,20 @@ module Aws::DevOpsGuru
1102
1148
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1103
1149
  end)
1104
1150
 
1151
+ api.add_operation(:delete_insight, Seahorse::Model::Operation.new.tap do |o|
1152
+ o.name = "DeleteInsight"
1153
+ o.http_method = "DELETE"
1154
+ o.http_request_uri = "/insights/{Id}"
1155
+ o.input = Shapes::ShapeRef.new(shape: DeleteInsightRequest)
1156
+ o.output = Shapes::ShapeRef.new(shape: DeleteInsightResponse)
1157
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1158
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1159
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1160
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1161
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1162
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1163
+ end)
1164
+
1105
1165
  api.add_operation(:describe_account_health, Seahorse::Model::Operation.new.tap do |o|
1106
1166
  o.name = "DescribeAccountHealth"
1107
1167
  o.http_method = "GET"
@@ -1139,6 +1199,18 @@ module Aws::DevOpsGuru
1139
1199
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1140
1200
  end)
1141
1201
 
1202
+ api.add_operation(:describe_event_sources_config, Seahorse::Model::Operation.new.tap do |o|
1203
+ o.name = "DescribeEventSourcesConfig"
1204
+ o.http_method = "POST"
1205
+ o.http_request_uri = "/event-sources"
1206
+ o.input = Shapes::ShapeRef.new(shape: DescribeEventSourcesConfigRequest)
1207
+ o.output = Shapes::ShapeRef.new(shape: DescribeEventSourcesConfigResponse)
1208
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1209
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1210
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1211
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1212
+ end)
1213
+
1142
1214
  api.add_operation(:describe_feedback, Seahorse::Model::Operation.new.tap do |o|
1143
1215
  o.name = "DescribeFeedback"
1144
1216
  o.http_method = "POST"
@@ -1458,6 +1530,18 @@ module Aws::DevOpsGuru
1458
1530
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1459
1531
  end)
1460
1532
 
1533
+ api.add_operation(:update_event_sources_config, Seahorse::Model::Operation.new.tap do |o|
1534
+ o.name = "UpdateEventSourcesConfig"
1535
+ o.http_method = "PUT"
1536
+ o.http_request_uri = "/event-sources"
1537
+ o.input = Shapes::ShapeRef.new(shape: UpdateEventSourcesConfigRequest)
1538
+ o.output = Shapes::ShapeRef.new(shape: UpdateEventSourcesConfigResponse)
1539
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1540
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1541
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1542
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1543
+ end)
1544
+
1461
1545
  api.add_operation(:update_resource_collection, Seahorse::Model::Operation.new.tap do |o|
1462
1546
  o.name = "UpdateResourceCollection"
1463
1547
  o.http_method = "PUT"
@@ -113,6 +113,31 @@ 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
+
116
141
  # A time range that specifies when DevOps Guru opens and then closes an
117
142
  # anomaly. This is different from `AnomalyTimeRange`, which specifies
118
143
  # the time range when DevOps Guru actually observes the anomalous
@@ -182,6 +207,32 @@ module Aws::DevOpsGuru
182
207
  include Aws::Structure
183
208
  end
184
209
 
210
+ # Metadata about the detection source that generates proactive
211
+ # anomalies. The anomaly is detected using analysis of the metric data

212
+ # over a period of time
213
+ #
214
+ # @!attribute [rw] source
215
+ # The source of the anomaly.
216
+ # @return [String]
217
+ #
218
+ # @!attribute [rw] source_resource_name
219
+ # The name of the anomaly's resource.
220
+ # @return [String]
221
+ #
222
+ # @!attribute [rw] source_resource_type
223
+ # The anomaly's resource type.
224
+ # @return [String]
225
+ #
226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalySourceMetadata AWS API Documentation
227
+ #
228
+ class AnomalySourceMetadata < Struct.new(
229
+ :source,
230
+ :source_resource_name,
231
+ :source_resource_type)
232
+ SENSITIVE = []
233
+ include Aws::Structure
234
+ end
235
+
185
236
  # A time range that specifies when the observed unusual behavior in an
186
237
  # anomaly started and ended. This is different from
187
238
  # `AnomalyReportedTimeRange`, which specifies the time range when DevOps
@@ -535,6 +586,29 @@ module Aws::DevOpsGuru
535
586
  include Aws::Structure
536
587
  end
537
588
 
589
+ # @note When making an API call, you may pass DeleteInsightRequest
590
+ # data as a hash:
591
+ #
592
+ # {
593
+ # id: "InsightId", # required
594
+ # }
595
+ #
596
+ # @!attribute [rw] id
597
+ # The ID of the insight.
598
+ # @return [String]
599
+ #
600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsightRequest AWS API Documentation
601
+ #
602
+ class DeleteInsightRequest < Struct.new(
603
+ :id)
604
+ SENSITIVE = []
605
+ include Aws::Structure
606
+ end
607
+
608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsightResponse AWS API Documentation
609
+ #
610
+ class DeleteInsightResponse < Aws::EmptyStructure; end
611
+
538
612
  # @api private
539
613
  #
540
614
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthRequest AWS API Documentation
@@ -671,6 +745,24 @@ module Aws::DevOpsGuru
671
745
  include Aws::Structure
672
746
  end
673
747
 
748
+ # @api private
749
+ #
750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfigRequest AWS API Documentation
751
+ #
752
+ class DescribeEventSourcesConfigRequest < Aws::EmptyStructure; end
753
+
754
+ # @!attribute [rw] event_sources
755
+ # Lists the event sources in the configuration.
756
+ # @return [Types::EventSourcesConfig]
757
+ #
758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfigResponse AWS API Documentation
759
+ #
760
+ class DescribeEventSourcesConfigResponse < Struct.new(
761
+ :event_sources)
762
+ SENSITIVE = []
763
+ include Aws::Structure
764
+ end
765
+
674
766
  # @note When making an API call, you may pass DescribeFeedbackRequest
675
767
  # data as a hash:
676
768
  #
@@ -1223,6 +1315,31 @@ module Aws::DevOpsGuru
1223
1315
  include Aws::Structure
1224
1316
  end
1225
1317
 
1318
+ # Information about the integration of DevOps Guru as consumer with
1319
+ # another AWS service, such as AWS CodeGuru Profiler via EventBridge.
1320
+ #
1321
+ # @note When making an API call, you may pass EventSourcesConfig
1322
+ # data as a hash:
1323
+ #
1324
+ # {
1325
+ # amazon_code_guru_profiler: {
1326
+ # status: "ENABLED", # accepts ENABLED, DISABLED
1327
+ # },
1328
+ # }
1329
+ #
1330
+ # @!attribute [rw] amazon_code_guru_profiler
1331
+ # Information about whether DevOps Guru is configured to consume
1332
+ # recommendations which are generated from AWS CodeGuru Profiler.
1333
+ # @return [Types::AmazonCodeGuruProfilerIntegration]
1334
+ #
1335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/EventSourcesConfig AWS API Documentation
1336
+ #
1337
+ class EventSourcesConfig < Struct.new(
1338
+ :amazon_code_guru_profiler)
1339
+ SENSITIVE = []
1340
+ include Aws::Structure
1341
+ end
1342
+
1226
1343
  # The time range during which an Amazon Web Services event occurred.
1227
1344
  # Amazon Web Services resource events and metrics are analyzed by DevOps
1228
1345
  # Guru to find anomalous behavior and provide recommendations to improve
@@ -2093,8 +2210,15 @@ module Aws::DevOpsGuru
2093
2210
  # If you use an Amazon SNS topic in another account, you must attach a
2094
2211
  # policy to it that grants DevOps Guru permission to it notifications.
2095
2212
  # DevOps Guru adds the required policy on your behalf to send
2213
+ # notifications using Amazon SNS in your account. DevOps Guru only
2214
+ # supports standard SNS topics. For more information, see [Permissions
2215
+ # for cross account Amazon SNS topics][1].
2216
+ #
2217
+ # If you use an Amazon SNS topic in another account, you must attach a
2218
+ # policy to it that grants DevOps Guru permission to it notifications.
2219
+ # DevOps Guru adds the required policy on your behalf to send
2096
2220
  # notifications using Amazon SNS in your account. For more information,
2097
- # see [Permissions for cross account Amazon SNS topics][1].
2221
+ # see Permissions for cross account Amazon SNS topics.
2098
2222
  #
2099
2223
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
2100
2224
  # Services Key Management Service customer-managed key (CMK), then you
@@ -2145,9 +2269,15 @@ module Aws::DevOpsGuru
2145
2269
  # If you use an Amazon SNS topic in another account, you must attach a
2146
2270
  # policy to it that grants DevOps Guru permission to it notifications.
2147
2271
  # DevOps Guru adds the required policy on your behalf to send
2272
+ # notifications using Amazon SNS in your account. DevOps Guru only
2273
+ # supports standard SNS topics. For more information, see [Permissions
2274
+ # for cross account Amazon SNS topics][1].
2275
+ #
2276
+ # If you use an Amazon SNS topic in another account, you must attach a
2277
+ # policy to it that grants DevOps Guru permission to it notifications.
2278
+ # DevOps Guru adds the required policy on your behalf to send
2148
2279
  # notifications using Amazon SNS in your account. For more
2149
- # information, see [Permissions for cross account Amazon SNS
2150
- # topics][1].
2280
+ # information, see Permissions for cross account Amazon SNS topics.
2151
2281
  #
2152
2282
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
2153
2283
  # Services Key Management Service customer-managed key (CMK), then you
@@ -2675,6 +2805,15 @@ module Aws::DevOpsGuru
2675
2805
  # generated this anomaly.
2676
2806
  # @return [Float]
2677
2807
  #
2808
+ # @!attribute [rw] source_metadata
2809
+ # The metadata for the anomaly.
2810
+ # @return [Types::AnomalySourceMetadata]
2811
+ #
2812
+ # @!attribute [rw] anomaly_resources
2813
+ # Information about a resource in which DevOps Guru detected anomalous
2814
+ # behavior.
2815
+ # @return [Array<Types::AnomalyResource>]
2816
+ #
2678
2817
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomaly AWS API Documentation
2679
2818
  #
2680
2819
  class ProactiveAnomaly < Struct.new(
@@ -2688,7 +2827,9 @@ module Aws::DevOpsGuru
2688
2827
  :source_details,
2689
2828
  :associated_insight_id,
2690
2829
  :resource_collection,
2691
- :limit)
2830
+ :limit,
2831
+ :source_metadata,
2832
+ :anomaly_resources)
2692
2833
  SENSITIVE = []
2693
2834
  include Aws::Structure
2694
2835
  end
@@ -2764,6 +2905,15 @@ module Aws::DevOpsGuru
2764
2905
  # generated this anomaly.
2765
2906
  # @return [Float]
2766
2907
  #
2908
+ # @!attribute [rw] source_metadata
2909
+ # The metadata of the source which detects proactive anomalies.
2910
+ # @return [Types::AnomalySourceMetadata]
2911
+ #
2912
+ # @!attribute [rw] anomaly_resources
2913
+ # Information about a resource in which DevOps Guru detected anomalous
2914
+ # behavior.
2915
+ # @return [Array<Types::AnomalyResource>]
2916
+ #
2767
2917
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomalySummary AWS API Documentation
2768
2918
  #
2769
2919
  class ProactiveAnomalySummary < Struct.new(
@@ -2777,7 +2927,9 @@ module Aws::DevOpsGuru
2777
2927
  :source_details,
2778
2928
  :associated_insight_id,
2779
2929
  :resource_collection,
2780
- :limit)
2930
+ :limit,
2931
+ :source_metadata,
2932
+ :anomaly_resources)
2781
2933
  SENSITIVE = []
2782
2934
  include Aws::Structure
2783
2935
  end
@@ -2834,6 +2986,10 @@ module Aws::DevOpsGuru
2834
2986
  # before they are created for each insight.
2835
2987
  # @return [String]
2836
2988
  #
2989
+ # @!attribute [rw] description
2990
+ # Describes the proactive insight.
2991
+ # @return [String]
2992
+ #
2837
2993
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsight AWS API Documentation
2838
2994
  #
2839
2995
  class ProactiveInsight < Struct.new(
@@ -2844,7 +3000,8 @@ module Aws::DevOpsGuru
2844
3000
  :insight_time_range,
2845
3001
  :prediction_time_range,
2846
3002
  :resource_collection,
2847
- :ssm_ops_item_id)
3003
+ :ssm_ops_item_id,
3004
+ :description)
2848
3005
  SENSITIVE = []
2849
3006
  include Aws::Structure
2850
3007
  end
@@ -3277,6 +3434,10 @@ module Aws::DevOpsGuru
3277
3434
  # before they are created for each insight.
3278
3435
  # @return [String]
3279
3436
  #
3437
+ # @!attribute [rw] description
3438
+ # Describes the reactive insight.
3439
+ # @return [String]
3440
+ #
3280
3441
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsight AWS API Documentation
3281
3442
  #
3282
3443
  class ReactiveInsight < Struct.new(
@@ -3286,7 +3447,8 @@ module Aws::DevOpsGuru
3286
3447
  :status,
3287
3448
  :insight_time_range,
3288
3449
  :resource_collection,
3289
- :ssm_ops_item_id)
3450
+ :ssm_ops_item_id,
3451
+ :description)
3290
3452
  SENSITIVE = []
3291
3453
  include Aws::Structure
3292
3454
  end
@@ -3454,6 +3616,10 @@ module Aws::DevOpsGuru
3454
3616
  # learn more about what's happening and to help address the issue.
3455
3617
  # @return [Array<Types::RecommendationRelatedAnomaly>]
3456
3618
  #
3619
+ # @!attribute [rw] category
3620
+ # The category type of the recommendation.
3621
+ # @return [String]
3622
+ #
3457
3623
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/Recommendation AWS API Documentation
3458
3624
  #
3459
3625
  class Recommendation < Struct.new(
@@ -3462,7 +3628,8 @@ module Aws::DevOpsGuru
3462
3628
  :name,
3463
3629
  :reason,
3464
3630
  :related_events,
3465
- :related_anomalies)
3631
+ :related_anomalies,
3632
+ :category)
3466
3633
  SENSITIVE = []
3467
3634
  include Aws::Structure
3468
3635
  end
@@ -4262,8 +4429,15 @@ module Aws::DevOpsGuru
4262
4429
  # If you use an Amazon SNS topic in another account, you must attach a
4263
4430
  # policy to it that grants DevOps Guru permission to it notifications.
4264
4431
  # DevOps Guru adds the required policy on your behalf to send
4432
+ # notifications using Amazon SNS in your account. DevOps Guru only
4433
+ # supports standard SNS topics. For more information, see [Permissions
4434
+ # for cross account Amazon SNS topics][1].
4435
+ #
4436
+ # If you use an Amazon SNS topic in another account, you must attach a
4437
+ # policy to it that grants DevOps Guru permission to it notifications.
4438
+ # DevOps Guru adds the required policy on your behalf to send
4265
4439
  # notifications using Amazon SNS in your account. For more information,
4266
- # see [Permissions for cross account Amazon SNS topics][1].
4440
+ # see Permissions for cross account Amazon SNS topics.
4267
4441
  #
4268
4442
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
4269
4443
  # Services Key Management Service customer-managed key (CMK), then you
@@ -4669,6 +4843,34 @@ module Aws::DevOpsGuru
4669
4843
  include Aws::Structure
4670
4844
  end
4671
4845
 
4846
+ # @note When making an API call, you may pass UpdateEventSourcesConfigRequest
4847
+ # data as a hash:
4848
+ #
4849
+ # {
4850
+ # event_sources: {
4851
+ # amazon_code_guru_profiler: {
4852
+ # status: "ENABLED", # accepts ENABLED, DISABLED
4853
+ # },
4854
+ # },
4855
+ # }
4856
+ #
4857
+ # @!attribute [rw] event_sources
4858
+ # Configuration information about the integration of DevOps Guru as
4859
+ # the Consumer via EventBridge with another AWS Service.
4860
+ # @return [Types::EventSourcesConfig]
4861
+ #
4862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfigRequest AWS API Documentation
4863
+ #
4864
+ class UpdateEventSourcesConfigRequest < Struct.new(
4865
+ :event_sources)
4866
+ SENSITIVE = []
4867
+ include Aws::Structure
4868
+ end
4869
+
4870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfigResponse AWS API Documentation
4871
+ #
4872
+ class UpdateEventSourcesConfigResponse < Aws::EmptyStructure; end
4873
+
4672
4874
  # Contains information used to update a collection of Amazon Web
4673
4875
  # Services resources.
4674
4876
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-devopsguru/customizations'
48
48
  # @!group service
49
49
  module Aws::DevOpsGuru
50
50
 
51
- GEM_VERSION = '1.20.0'
51
+ GEM_VERSION = '1.23.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-devopsguru
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-03 00:00:00.000000000 Z
11
+ date: 2022-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.126.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.126.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement