aws-sdk-devopsguru 1.21.0 → 1.22.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: 8974dd3c40c565e4631f3abc014fc4be811d04695f90815b958fff7a811f7a93
4
- data.tar.gz: de666c1fa3a1ccc4a8030500bef14279441839018302bb7023c705219b170b29
3
+ metadata.gz: a438548b64db73351f1ba1bf8c8d31f6e4ec8d7ddb5900e981b50634b30709bc
4
+ data.tar.gz: 2fb42fc6deb6994009bc70a5767269c25b4fa24eb0de525255400e21e59b7690
5
5
  SHA512:
6
- metadata.gz: 47d4bec4ed9200ad3f2d6ba25fbcb3e18b62604ec304330ad583999499b818b664a0215877f3f7dee2dd670d7587947afc84ef4f14eccd3758a6a5213306814c
7
- data.tar.gz: d4739711efb60ae6fa6dda637b82d45ad0c67fb20dce5cd1a67976df818358f69400e39ca48d57ad33e480131c17f95ef76698f0972d1329f91bbd3757d65cd4
6
+ metadata.gz: 3e201d8d8fcc3cacc4f8430fbc16d2a59bbaf55c8f047ef5a38b483f1dace50da73ae2a1d023f024160e3ac88d32d1521cc071fff66d57118bd48d3f11781030
7
+ data.tar.gz: eed370330e3d6dc5176ddcf6a2dc5b970894c1568885bc3b4d85660f59069bcac3096f171865138b7d9c49bbd700937fedb88a66b0bfc4256bc2db868d597a9f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.22.0 (2022-03-04)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.21.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.22.0
@@ -555,6 +555,12 @@ module Aws::DevOpsGuru
555
555
  # resp.proactive_anomaly.resource_collection.tags[0].tag_values #=> Array
556
556
  # resp.proactive_anomaly.resource_collection.tags[0].tag_values[0] #=> String
557
557
  # resp.proactive_anomaly.limit #=> Float
558
+ # resp.proactive_anomaly.source_metadata.source #=> String
559
+ # resp.proactive_anomaly.source_metadata.source_resource_name #=> String
560
+ # resp.proactive_anomaly.source_metadata.source_resource_type #=> String
561
+ # resp.proactive_anomaly.anomaly_resources #=> Array
562
+ # resp.proactive_anomaly.anomaly_resources[0].name #=> String
563
+ # resp.proactive_anomaly.anomaly_resources[0].type #=> String
558
564
  # resp.reactive_anomaly.id #=> String
559
565
  # resp.reactive_anomaly.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
560
566
  # resp.reactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
@@ -625,6 +631,26 @@ module Aws::DevOpsGuru
625
631
  req.send_request(options)
626
632
  end
627
633
 
634
+ # This operation lists details about a DevOps Guru event source that is
635
+ # shared with your
 account.
636
+ #
637
+ # @return [Types::DescribeEventSourcesConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
638
+ #
639
+ # * {Types::DescribeEventSourcesConfigResponse#event_sources #event_sources} => Types::EventSourcesConfig
640
+ #
641
+ # @example Response structure
642
+ #
643
+ # resp.event_sources.amazon_code_guru_profiler.status #=> String, one of "ENABLED", "DISABLED"
644
+ #
645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfig AWS API Documentation
646
+ #
647
+ # @overload describe_event_sources_config(params = {})
648
+ # @param [Hash] params ({})
649
+ def describe_event_sources_config(params = {}, options = {})
650
+ req = build_request(:describe_event_sources_config, params)
651
+ req.send_request(options)
652
+ end
653
+
628
654
  # Returns the most recent feedback submitted in the current Amazon Web
629
655
  # Services account and Region.
630
656
  #
@@ -692,6 +718,7 @@ module Aws::DevOpsGuru
692
718
  # resp.proactive_insight.resource_collection.tags[0].tag_values #=> Array
693
719
  # resp.proactive_insight.resource_collection.tags[0].tag_values[0] #=> String
694
720
  # resp.proactive_insight.ssm_ops_item_id #=> String
721
+ # resp.proactive_insight.description #=> String
695
722
  # resp.reactive_insight.id #=> String
696
723
  # resp.reactive_insight.name #=> String
697
724
  # resp.reactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
@@ -705,6 +732,7 @@ module Aws::DevOpsGuru
705
732
  # resp.reactive_insight.resource_collection.tags[0].tag_values #=> Array
706
733
  # resp.reactive_insight.resource_collection.tags[0].tag_values[0] #=> String
707
734
  # resp.reactive_insight.ssm_ops_item_id #=> String
735
+ # resp.reactive_insight.description #=> String
708
736
  #
709
737
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight AWS API Documentation
710
738
  #
@@ -1189,6 +1217,12 @@ module Aws::DevOpsGuru
1189
1217
  # resp.proactive_anomalies[0].resource_collection.tags[0].tag_values #=> Array
1190
1218
  # resp.proactive_anomalies[0].resource_collection.tags[0].tag_values[0] #=> String
1191
1219
  # resp.proactive_anomalies[0].limit #=> Float
1220
+ # resp.proactive_anomalies[0].source_metadata.source #=> String
1221
+ # resp.proactive_anomalies[0].source_metadata.source_resource_name #=> String
1222
+ # resp.proactive_anomalies[0].source_metadata.source_resource_type #=> String
1223
+ # resp.proactive_anomalies[0].anomaly_resources #=> Array
1224
+ # resp.proactive_anomalies[0].anomaly_resources[0].name #=> String
1225
+ # resp.proactive_anomalies[0].anomaly_resources[0].type #=> String
1192
1226
  # resp.reactive_anomalies #=> Array
1193
1227
  # resp.reactive_anomalies[0].id #=> String
1194
1228
  # resp.reactive_anomalies[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
@@ -1644,6 +1678,7 @@ module Aws::DevOpsGuru
1644
1678
  # resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].metric_name #=> String
1645
1679
  # resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].namespace #=> String
1646
1680
  # resp.recommendations[0].related_anomalies[0].anomaly_id #=> String
1681
+ # resp.recommendations[0].category #=> String
1647
1682
  # resp.next_token #=> String
1648
1683
  #
1649
1684
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations AWS API Documentation
@@ -1985,6 +2020,32 @@ module Aws::DevOpsGuru
1985
2020
  req.send_request(options)
1986
2021
  end
1987
2022
 
2023
+ # Updates the event source configuration.
2024
+ #
2025
+ # @option params [Types::EventSourcesConfig] :event_sources
2026
+ # The name of the event source.
2027
+ #
2028
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2029
+ #
2030
+ # @example Request syntax with placeholder values
2031
+ #
2032
+ # resp = client.update_event_sources_config({
2033
+ # event_sources: {
2034
+ # amazon_code_guru_profiler: {
2035
+ # status: "ENABLED", # accepts ENABLED, DISABLED
2036
+ # },
2037
+ # },
2038
+ # })
2039
+ #
2040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfig AWS API Documentation
2041
+ #
2042
+ # @overload update_event_sources_config(params = {})
2043
+ # @param [Hash] params ({})
2044
+ def update_event_sources_config(params = {}, options = {})
2045
+ req = build_request(:update_event_sources_config, params)
2046
+ req.send_request(options)
2047
+ end
2048
+
1988
2049
  # Updates the collection of resources that DevOps Guru analyzes. The two
1989
2050
  # types of Amazon Web Services resource collections supported are Amazon
1990
2051
  # Web Services CloudFormation stacks and Amazon Web Services resources
@@ -2074,7 +2135,7 @@ module Aws::DevOpsGuru
2074
2135
  params: params,
2075
2136
  config: config)
2076
2137
  context[:gem_name] = 'aws-sdk-devopsguru'
2077
- context[:gem_version] = '1.21.0'
2138
+ context[:gem_version] = '1.22.0'
2078
2139
  Seahorse::Client::Request.new(handlers, context)
2079
2140
  end
2080
2141
 
@@ -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')
@@ -70,6 +73,8 @@ module Aws::DevOpsGuru
70
73
  DescribeAccountOverviewResponse = Shapes::StructureShape.new(name: 'DescribeAccountOverviewResponse')
71
74
  DescribeAnomalyRequest = Shapes::StructureShape.new(name: 'DescribeAnomalyRequest')
72
75
  DescribeAnomalyResponse = Shapes::StructureShape.new(name: 'DescribeAnomalyResponse')
76
+ DescribeEventSourcesConfigRequest = Shapes::StructureShape.new(name: 'DescribeEventSourcesConfigRequest')
77
+ DescribeEventSourcesConfigResponse = Shapes::StructureShape.new(name: 'DescribeEventSourcesConfigResponse')
73
78
  DescribeFeedbackRequest = Shapes::StructureShape.new(name: 'DescribeFeedbackRequest')
74
79
  DescribeFeedbackResponse = Shapes::StructureShape.new(name: 'DescribeFeedbackResponse')
75
80
  DescribeInsightRequest = Shapes::StructureShape.new(name: 'DescribeInsightRequest')
@@ -100,12 +105,15 @@ module Aws::DevOpsGuru
100
105
  EventResourceType = Shapes::StringShape.new(name: 'EventResourceType')
101
106
  EventResources = Shapes::ListShape.new(name: 'EventResources')
102
107
  EventSource = Shapes::StringShape.new(name: 'EventSource')
108
+ EventSourceOptInStatus = Shapes::StringShape.new(name: 'EventSourceOptInStatus')
109
+ EventSourcesConfig = Shapes::StructureShape.new(name: 'EventSourcesConfig')
103
110
  EventTimeRange = Shapes::StructureShape.new(name: 'EventTimeRange')
104
111
  Events = Shapes::ListShape.new(name: 'Events')
105
112
  GetCostEstimationRequest = Shapes::StructureShape.new(name: 'GetCostEstimationRequest')
106
113
  GetCostEstimationResponse = Shapes::StructureShape.new(name: 'GetCostEstimationResponse')
107
114
  GetResourceCollectionRequest = Shapes::StructureShape.new(name: 'GetResourceCollectionRequest')
108
115
  GetResourceCollectionResponse = Shapes::StructureShape.new(name: 'GetResourceCollectionResponse')
116
+ InsightDescription = Shapes::StringShape.new(name: 'InsightDescription')
109
117
  InsightFeedback = Shapes::StructureShape.new(name: 'InsightFeedback')
110
118
  InsightFeedbackOption = Shapes::StringShape.new(name: 'InsightFeedbackOption')
111
119
  InsightHealth = Shapes::StructureShape.new(name: 'InsightHealth')
@@ -202,6 +210,7 @@ module Aws::DevOpsGuru
202
210
  ReactiveOrganizationInsightSummary = Shapes::StructureShape.new(name: 'ReactiveOrganizationInsightSummary')
203
211
  ReactiveOrganizationInsights = Shapes::ListShape.new(name: 'ReactiveOrganizationInsights')
204
212
  Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
213
+ RecommendationCategory = Shapes::StringShape.new(name: 'RecommendationCategory')
205
214
  RecommendationDescription = Shapes::StringShape.new(name: 'RecommendationDescription')
206
215
  RecommendationLink = Shapes::StringShape.new(name: 'RecommendationLink')
207
216
  RecommendationName = Shapes::StringShape.new(name: 'RecommendationName')
@@ -281,6 +290,8 @@ module Aws::DevOpsGuru
281
290
  TimestampMetricValuePairList = Shapes::ListShape.new(name: 'TimestampMetricValuePairList')
282
291
  TopicArn = Shapes::StringShape.new(name: 'TopicArn')
283
292
  UpdateCloudFormationCollectionFilter = Shapes::StructureShape.new(name: 'UpdateCloudFormationCollectionFilter')
293
+ UpdateEventSourcesConfigRequest = Shapes::StructureShape.new(name: 'UpdateEventSourcesConfigRequest')
294
+ UpdateEventSourcesConfigResponse = Shapes::StructureShape.new(name: 'UpdateEventSourcesConfigResponse')
284
295
  UpdateResourceCollectionAction = Shapes::StringShape.new(name: 'UpdateResourceCollectionAction')
285
296
  UpdateResourceCollectionFilter = Shapes::StructureShape.new(name: 'UpdateResourceCollectionFilter')
286
297
  UpdateResourceCollectionRequest = Shapes::StructureShape.new(name: 'UpdateResourceCollectionRequest')
@@ -319,6 +330,9 @@ module Aws::DevOpsGuru
319
330
  AddNotificationChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: NotificationChannelId, required: true, location_name: "Id"))
320
331
  AddNotificationChannelResponse.struct_class = Types::AddNotificationChannelResponse
321
332
 
333
+ AmazonCodeGuruProfilerIntegration.add_member(:status, Shapes::ShapeRef.new(shape: EventSourceOptInStatus, location_name: "Status"))
334
+ AmazonCodeGuruProfilerIntegration.struct_class = Types::AmazonCodeGuruProfilerIntegration
335
+
322
336
  AnomalyReportedTimeRange.add_member(:open_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "OpenTime"))
323
337
  AnomalyReportedTimeRange.add_member(:close_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CloseTime"))
324
338
  AnomalyReportedTimeRange.struct_class = Types::AnomalyReportedTimeRange
@@ -333,6 +347,11 @@ module Aws::DevOpsGuru
333
347
  AnomalySourceDetails.add_member(:performance_insights_metrics, Shapes::ShapeRef.new(shape: PerformanceInsightsMetricsDetails, location_name: "PerformanceInsightsMetrics"))
334
348
  AnomalySourceDetails.struct_class = Types::AnomalySourceDetails
335
349
 
350
+ AnomalySourceMetadata.add_member(:source, Shapes::ShapeRef.new(shape: AnomalySource, location_name: "Source"))
351
+ AnomalySourceMetadata.add_member(:source_resource_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "SourceResourceName"))
352
+ AnomalySourceMetadata.add_member(:source_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "SourceResourceType"))
353
+ AnomalySourceMetadata.struct_class = Types::AnomalySourceMetadata
354
+
336
355
  AnomalyTimeRange.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
337
356
  AnomalyTimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
338
357
  AnomalyTimeRange.struct_class = Types::AnomalyTimeRange
@@ -419,6 +438,11 @@ module Aws::DevOpsGuru
419
438
  DescribeAnomalyResponse.add_member(:reactive_anomaly, Shapes::ShapeRef.new(shape: ReactiveAnomaly, location_name: "ReactiveAnomaly"))
420
439
  DescribeAnomalyResponse.struct_class = Types::DescribeAnomalyResponse
421
440
 
441
+ DescribeEventSourcesConfigRequest.struct_class = Types::DescribeEventSourcesConfigRequest
442
+
443
+ DescribeEventSourcesConfigResponse.add_member(:event_sources, Shapes::ShapeRef.new(shape: EventSourcesConfig, location_name: "EventSources"))
444
+ DescribeEventSourcesConfigResponse.struct_class = Types::DescribeEventSourcesConfigResponse
445
+
422
446
  DescribeFeedbackRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
423
447
  DescribeFeedbackRequest.struct_class = Types::DescribeFeedbackRequest
424
448
 
@@ -503,6 +527,9 @@ module Aws::DevOpsGuru
503
527
 
504
528
  EventResources.member = Shapes::ShapeRef.new(shape: EventResource)
505
529
 
530
+ EventSourcesConfig.add_member(:amazon_code_guru_profiler, Shapes::ShapeRef.new(shape: AmazonCodeGuruProfilerIntegration, location_name: "AmazonCodeGuruProfiler"))
531
+ EventSourcesConfig.struct_class = Types::EventSourcesConfig
532
+
506
533
  EventTimeRange.add_member(:from_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "FromTime"))
507
534
  EventTimeRange.add_member(:to_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ToTime"))
508
535
  EventTimeRange.struct_class = Types::EventTimeRange
@@ -717,6 +744,8 @@ module Aws::DevOpsGuru
717
744
  ProactiveAnomaly.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
718
745
  ProactiveAnomaly.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
719
746
  ProactiveAnomaly.add_member(:limit, Shapes::ShapeRef.new(shape: AnomalyLimit, location_name: "Limit"))
747
+ ProactiveAnomaly.add_member(:source_metadata, Shapes::ShapeRef.new(shape: AnomalySourceMetadata, location_name: "SourceMetadata"))
748
+ ProactiveAnomaly.add_member(:anomaly_resources, Shapes::ShapeRef.new(shape: AnomalyResources, location_name: "AnomalyResources"))
720
749
  ProactiveAnomaly.struct_class = Types::ProactiveAnomaly
721
750
 
722
751
  ProactiveAnomalySummary.add_member(:id, Shapes::ShapeRef.new(shape: AnomalyId, location_name: "Id"))
@@ -730,6 +759,8 @@ module Aws::DevOpsGuru
730
759
  ProactiveAnomalySummary.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
731
760
  ProactiveAnomalySummary.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
732
761
  ProactiveAnomalySummary.add_member(:limit, Shapes::ShapeRef.new(shape: AnomalyLimit, location_name: "Limit"))
762
+ ProactiveAnomalySummary.add_member(:source_metadata, Shapes::ShapeRef.new(shape: AnomalySourceMetadata, location_name: "SourceMetadata"))
763
+ ProactiveAnomalySummary.add_member(:anomaly_resources, Shapes::ShapeRef.new(shape: AnomalyResources, location_name: "AnomalyResources"))
733
764
  ProactiveAnomalySummary.struct_class = Types::ProactiveAnomalySummary
734
765
 
735
766
  ProactiveInsight.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, location_name: "Id"))
@@ -740,6 +771,7 @@ module Aws::DevOpsGuru
740
771
  ProactiveInsight.add_member(:prediction_time_range, Shapes::ShapeRef.new(shape: PredictionTimeRange, location_name: "PredictionTimeRange"))
741
772
  ProactiveInsight.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
742
773
  ProactiveInsight.add_member(:ssm_ops_item_id, Shapes::ShapeRef.new(shape: SsmOpsItemId, location_name: "SsmOpsItemId"))
774
+ ProactiveInsight.add_member(:description, Shapes::ShapeRef.new(shape: InsightDescription, location_name: "Description"))
743
775
  ProactiveInsight.struct_class = Types::ProactiveInsight
744
776
 
745
777
  ProactiveInsightSummary.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, location_name: "Id"))
@@ -813,6 +845,7 @@ module Aws::DevOpsGuru
813
845
  ReactiveInsight.add_member(:insight_time_range, Shapes::ShapeRef.new(shape: InsightTimeRange, location_name: "InsightTimeRange"))
814
846
  ReactiveInsight.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
815
847
  ReactiveInsight.add_member(:ssm_ops_item_id, Shapes::ShapeRef.new(shape: SsmOpsItemId, location_name: "SsmOpsItemId"))
848
+ ReactiveInsight.add_member(:description, Shapes::ShapeRef.new(shape: InsightDescription, location_name: "Description"))
816
849
  ReactiveInsight.struct_class = Types::ReactiveInsight
817
850
 
818
851
  ReactiveInsightSummary.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, location_name: "Id"))
@@ -846,6 +879,7 @@ module Aws::DevOpsGuru
846
879
  Recommendation.add_member(:reason, Shapes::ShapeRef.new(shape: RecommendationReason, location_name: "Reason"))
847
880
  Recommendation.add_member(:related_events, Shapes::ShapeRef.new(shape: RecommendationRelatedEvents, location_name: "RelatedEvents"))
848
881
  Recommendation.add_member(:related_anomalies, Shapes::ShapeRef.new(shape: RecommendationRelatedAnomalies, location_name: "RelatedAnomalies"))
882
+ Recommendation.add_member(:category, Shapes::ShapeRef.new(shape: RecommendationCategory, location_name: "Category"))
849
883
  Recommendation.struct_class = Types::Recommendation
850
884
 
851
885
  RecommendationRelatedAnomalies.member = Shapes::ShapeRef.new(shape: RecommendationRelatedAnomaly)
@@ -1030,6 +1064,11 @@ module Aws::DevOpsGuru
1030
1064
  UpdateCloudFormationCollectionFilter.add_member(:stack_names, Shapes::ShapeRef.new(shape: UpdateStackNames, location_name: "StackNames"))
1031
1065
  UpdateCloudFormationCollectionFilter.struct_class = Types::UpdateCloudFormationCollectionFilter
1032
1066
 
1067
+ UpdateEventSourcesConfigRequest.add_member(:event_sources, Shapes::ShapeRef.new(shape: EventSourcesConfig, location_name: "EventSources"))
1068
+ UpdateEventSourcesConfigRequest.struct_class = Types::UpdateEventSourcesConfigRequest
1069
+
1070
+ UpdateEventSourcesConfigResponse.struct_class = Types::UpdateEventSourcesConfigResponse
1071
+
1033
1072
  UpdateResourceCollectionFilter.add_member(:cloud_formation, Shapes::ShapeRef.new(shape: UpdateCloudFormationCollectionFilter, location_name: "CloudFormation"))
1034
1073
  UpdateResourceCollectionFilter.add_member(:tags, Shapes::ShapeRef.new(shape: UpdateTagCollectionFilters, location_name: "Tags"))
1035
1074
  UpdateResourceCollectionFilter.struct_class = Types::UpdateResourceCollectionFilter
@@ -1139,6 +1178,18 @@ module Aws::DevOpsGuru
1139
1178
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1140
1179
  end)
1141
1180
 
1181
+ api.add_operation(:describe_event_sources_config, Seahorse::Model::Operation.new.tap do |o|
1182
+ o.name = "DescribeEventSourcesConfig"
1183
+ o.http_method = "POST"
1184
+ o.http_request_uri = "/event-sources"
1185
+ o.input = Shapes::ShapeRef.new(shape: DescribeEventSourcesConfigRequest)
1186
+ o.output = Shapes::ShapeRef.new(shape: DescribeEventSourcesConfigResponse)
1187
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1188
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1189
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1190
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1191
+ end)
1192
+
1142
1193
  api.add_operation(:describe_feedback, Seahorse::Model::Operation.new.tap do |o|
1143
1194
  o.name = "DescribeFeedback"
1144
1195
  o.http_method = "POST"
@@ -1458,6 +1509,18 @@ module Aws::DevOpsGuru
1458
1509
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1459
1510
  end)
1460
1511
 
1512
+ api.add_operation(:update_event_sources_config, Seahorse::Model::Operation.new.tap do |o|
1513
+ o.name = "UpdateEventSourcesConfig"
1514
+ o.http_method = "PUT"
1515
+ o.http_request_uri = "/event-sources"
1516
+ o.input = Shapes::ShapeRef.new(shape: UpdateEventSourcesConfigRequest)
1517
+ o.output = Shapes::ShapeRef.new(shape: UpdateEventSourcesConfigResponse)
1518
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1519
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1520
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1521
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1522
+ end)
1523
+
1461
1524
  api.add_operation(:update_resource_collection, Seahorse::Model::Operation.new.tap do |o|
1462
1525
  o.name = "UpdateResourceCollection"
1463
1526
  o.http_method = "PUT"
@@ -113,6 +113,28 @@ 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.
118
+ #
119
+ # @note When making an API call, you may pass AmazonCodeGuruProfilerIntegration
120
+ # data as a hash:
121
+ #
122
+ # {
123
+ # status: "ENABLED", # accepts ENABLED, DISABLED
124
+ # }
125
+ #
126
+ # @!attribute [rw] status
127
+ # The status of the CodeGuru Profiler integration.
128
+ # @return [String]
129
+ #
130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AmazonCodeGuruProfilerIntegration AWS API Documentation
131
+ #
132
+ class AmazonCodeGuruProfilerIntegration < Struct.new(
133
+ :status)
134
+ SENSITIVE = []
135
+ include Aws::Structure
136
+ end
137
+
116
138
  # A time range that specifies when DevOps Guru opens and then closes an
117
139
  # anomaly. This is different from `AnomalyTimeRange`, which specifies
118
140
  # the time range when DevOps Guru actually observes the anomalous
@@ -182,6 +204,31 @@ module Aws::DevOpsGuru
182
204
  include Aws::Structure
183
205
  end
184
206
 
207
+ # Metadata about an anomaly. The anomaly is detected using analysis of
208
+ # the metric data
 over a period of time
209
+ #
210
+ # @!attribute [rw] source
211
+ # The source of the anomaly.
212
+ # @return [String]
213
+ #
214
+ # @!attribute [rw] source_resource_name
215
+ # The name of the anomaly's resource.
216
+ # @return [String]
217
+ #
218
+ # @!attribute [rw] source_resource_type
219
+ # The anomaly's resource type.
220
+ # @return [String]
221
+ #
222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalySourceMetadata AWS API Documentation
223
+ #
224
+ class AnomalySourceMetadata < Struct.new(
225
+ :source,
226
+ :source_resource_name,
227
+ :source_resource_type)
228
+ SENSITIVE = []
229
+ include Aws::Structure
230
+ end
231
+
185
232
  # A time range that specifies when the observed unusual behavior in an
186
233
  # anomaly started and ended. This is different from
187
234
  # `AnomalyReportedTimeRange`, which specifies the time range when DevOps
@@ -671,6 +718,24 @@ module Aws::DevOpsGuru
671
718
  include Aws::Structure
672
719
  end
673
720
 
721
+ # @api private
722
+ #
723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfigRequest AWS API Documentation
724
+ #
725
+ class DescribeEventSourcesConfigRequest < Aws::EmptyStructure; end
726
+
727
+ # @!attribute [rw] event_sources
728
+ # The name of the event source.
729
+ # @return [Types::EventSourcesConfig]
730
+ #
731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfigResponse AWS API Documentation
732
+ #
733
+ class DescribeEventSourcesConfigResponse < Struct.new(
734
+ :event_sources)
735
+ SENSITIVE = []
736
+ include Aws::Structure
737
+ end
738
+
674
739
  # @note When making an API call, you may pass DescribeFeedbackRequest
675
740
  # data as a hash:
676
741
  #
@@ -1223,6 +1288,28 @@ module Aws::DevOpsGuru
1223
1288
  include Aws::Structure
1224
1289
  end
1225
1290
 
1291
+ # Describes the event sources.
1292
+ #
1293
+ # @note When making an API call, you may pass EventSourcesConfig
1294
+ # data as a hash:
1295
+ #
1296
+ # {
1297
+ # amazon_code_guru_profiler: {
1298
+ # status: "ENABLED", # accepts ENABLED, DISABLED
1299
+ # },
1300
+ # }
1301
+ #
1302
+ # @!attribute [rw] amazon_code_guru_profiler
1303
+ # @return [Types::AmazonCodeGuruProfilerIntegration]
1304
+ #
1305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/EventSourcesConfig AWS API Documentation
1306
+ #
1307
+ class EventSourcesConfig < Struct.new(
1308
+ :amazon_code_guru_profiler)
1309
+ SENSITIVE = []
1310
+ include Aws::Structure
1311
+ end
1312
+
1226
1313
  # The time range during which an Amazon Web Services event occurred.
1227
1314
  # Amazon Web Services resource events and metrics are analyzed by DevOps
1228
1315
  # Guru to find anomalous behavior and provide recommendations to improve
@@ -2675,6 +2762,15 @@ module Aws::DevOpsGuru
2675
2762
  # generated this anomaly.
2676
2763
  # @return [Float]
2677
2764
  #
2765
+ # @!attribute [rw] source_metadata
2766
+ # The metadata for the anomaly.
2767
+ # @return [Types::AnomalySourceMetadata]
2768
+ #
2769
+ # @!attribute [rw] anomaly_resources
2770
+ # Information about a resource in which DevOps Guru detected anomalous
2771
+ # behavior.
2772
+ # @return [Array<Types::AnomalyResource>]
2773
+ #
2678
2774
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomaly AWS API Documentation
2679
2775
  #
2680
2776
  class ProactiveAnomaly < Struct.new(
@@ -2688,7 +2784,9 @@ module Aws::DevOpsGuru
2688
2784
  :source_details,
2689
2785
  :associated_insight_id,
2690
2786
  :resource_collection,
2691
- :limit)
2787
+ :limit,
2788
+ :source_metadata,
2789
+ :anomaly_resources)
2692
2790
  SENSITIVE = []
2693
2791
  include Aws::Structure
2694
2792
  end
@@ -2764,6 +2862,15 @@ module Aws::DevOpsGuru
2764
2862
  # generated this anomaly.
2765
2863
  # @return [Float]
2766
2864
  #
2865
+ # @!attribute [rw] source_metadata
2866
+ # Returns the metadata of the source.
2867
+ # @return [Types::AnomalySourceMetadata]
2868
+ #
2869
+ # @!attribute [rw] anomaly_resources
2870
+ # Information about a resource in which DevOps Guru detected anomalous
2871
+ # behavior.
2872
+ # @return [Array<Types::AnomalyResource>]
2873
+ #
2767
2874
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomalySummary AWS API Documentation
2768
2875
  #
2769
2876
  class ProactiveAnomalySummary < Struct.new(
@@ -2777,7 +2884,9 @@ module Aws::DevOpsGuru
2777
2884
  :source_details,
2778
2885
  :associated_insight_id,
2779
2886
  :resource_collection,
2780
- :limit)
2887
+ :limit,
2888
+ :source_metadata,
2889
+ :anomaly_resources)
2781
2890
  SENSITIVE = []
2782
2891
  include Aws::Structure
2783
2892
  end
@@ -2834,6 +2943,10 @@ module Aws::DevOpsGuru
2834
2943
  # before they are created for each insight.
2835
2944
  # @return [String]
2836
2945
  #
2946
+ # @!attribute [rw] description
2947
+ # Describes the proactive insight.
2948
+ # @return [String]
2949
+ #
2837
2950
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsight AWS API Documentation
2838
2951
  #
2839
2952
  class ProactiveInsight < Struct.new(
@@ -2844,7 +2957,8 @@ module Aws::DevOpsGuru
2844
2957
  :insight_time_range,
2845
2958
  :prediction_time_range,
2846
2959
  :resource_collection,
2847
- :ssm_ops_item_id)
2960
+ :ssm_ops_item_id,
2961
+ :description)
2848
2962
  SENSITIVE = []
2849
2963
  include Aws::Structure
2850
2964
  end
@@ -3277,6 +3391,10 @@ module Aws::DevOpsGuru
3277
3391
  # before they are created for each insight.
3278
3392
  # @return [String]
3279
3393
  #
3394
+ # @!attribute [rw] description
3395
+ # Describes the reactive insight.
3396
+ # @return [String]
3397
+ #
3280
3398
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsight AWS API Documentation
3281
3399
  #
3282
3400
  class ReactiveInsight < Struct.new(
@@ -3286,7 +3404,8 @@ module Aws::DevOpsGuru
3286
3404
  :status,
3287
3405
  :insight_time_range,
3288
3406
  :resource_collection,
3289
- :ssm_ops_item_id)
3407
+ :ssm_ops_item_id,
3408
+ :description)
3290
3409
  SENSITIVE = []
3291
3410
  include Aws::Structure
3292
3411
  end
@@ -3454,6 +3573,10 @@ module Aws::DevOpsGuru
3454
3573
  # learn more about what's happening and to help address the issue.
3455
3574
  # @return [Array<Types::RecommendationRelatedAnomaly>]
3456
3575
  #
3576
+ # @!attribute [rw] category
3577
+ # The category type of the recommendation.
3578
+ # @return [String]
3579
+ #
3457
3580
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/Recommendation AWS API Documentation
3458
3581
  #
3459
3582
  class Recommendation < Struct.new(
@@ -3462,7 +3585,8 @@ module Aws::DevOpsGuru
3462
3585
  :name,
3463
3586
  :reason,
3464
3587
  :related_events,
3465
- :related_anomalies)
3588
+ :related_anomalies,
3589
+ :category)
3466
3590
  SENSITIVE = []
3467
3591
  include Aws::Structure
3468
3592
  end
@@ -4669,6 +4793,33 @@ module Aws::DevOpsGuru
4669
4793
  include Aws::Structure
4670
4794
  end
4671
4795
 
4796
+ # @note When making an API call, you may pass UpdateEventSourcesConfigRequest
4797
+ # data as a hash:
4798
+ #
4799
+ # {
4800
+ # event_sources: {
4801
+ # amazon_code_guru_profiler: {
4802
+ # status: "ENABLED", # accepts ENABLED, DISABLED
4803
+ # },
4804
+ # },
4805
+ # }
4806
+ #
4807
+ # @!attribute [rw] event_sources
4808
+ # The name of the event source.
4809
+ # @return [Types::EventSourcesConfig]
4810
+ #
4811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfigRequest AWS API Documentation
4812
+ #
4813
+ class UpdateEventSourcesConfigRequest < Struct.new(
4814
+ :event_sources)
4815
+ SENSITIVE = []
4816
+ include Aws::Structure
4817
+ end
4818
+
4819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfigResponse AWS API Documentation
4820
+ #
4821
+ class UpdateEventSourcesConfigResponse < Aws::EmptyStructure; end
4822
+
4672
4823
  # Contains information used to update a collection of Amazon Web
4673
4824
  # Services resources.
4674
4825
  #
@@ -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.21.0'
51
+ GEM_VERSION = '1.22.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.21.0
4
+ version: 1.22.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-24 00:00:00.000000000 Z
11
+ date: 2022-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core