aws-sdk-devopsguru 1.2.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -18,13 +18,16 @@ module Aws::DevOpsGuru
18
18
  AddNotificationChannelResponse = Shapes::StructureShape.new(name: 'AddNotificationChannelResponse')
19
19
  AnomalyId = Shapes::StringShape.new(name: 'AnomalyId')
20
20
  AnomalyLimit = Shapes::FloatShape.new(name: 'AnomalyLimit')
21
+ AnomalyReportedTimeRange = Shapes::StructureShape.new(name: 'AnomalyReportedTimeRange')
21
22
  AnomalySeverity = Shapes::StringShape.new(name: 'AnomalySeverity')
22
23
  AnomalySourceDetails = Shapes::StructureShape.new(name: 'AnomalySourceDetails')
23
24
  AnomalyStatus = Shapes::StringShape.new(name: 'AnomalyStatus')
24
25
  AnomalyTimeRange = Shapes::StructureShape.new(name: 'AnomalyTimeRange')
25
26
  Channels = Shapes::ListShape.new(name: 'Channels')
27
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
26
28
  CloudFormationCollection = Shapes::StructureShape.new(name: 'CloudFormationCollection')
27
29
  CloudFormationCollectionFilter = Shapes::StructureShape.new(name: 'CloudFormationCollectionFilter')
30
+ CloudFormationCostEstimationResourceCollectionFilter = Shapes::StructureShape.new(name: 'CloudFormationCostEstimationResourceCollectionFilter')
28
31
  CloudFormationHealth = Shapes::StructureShape.new(name: 'CloudFormationHealth')
29
32
  CloudFormationHealths = Shapes::ListShape.new(name: 'CloudFormationHealths')
30
33
  CloudWatchMetricsDetail = Shapes::StructureShape.new(name: 'CloudWatchMetricsDetail')
@@ -39,12 +42,21 @@ module Aws::DevOpsGuru
39
42
  CloudWatchMetricsStat = Shapes::StringShape.new(name: 'CloudWatchMetricsStat')
40
43
  CloudWatchMetricsUnit = Shapes::StringShape.new(name: 'CloudWatchMetricsUnit')
41
44
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
45
+ Cost = Shapes::FloatShape.new(name: 'Cost')
46
+ CostEstimationResourceCollectionFilter = Shapes::StructureShape.new(name: 'CostEstimationResourceCollectionFilter')
47
+ CostEstimationServiceResourceCount = Shapes::IntegerShape.new(name: 'CostEstimationServiceResourceCount')
48
+ CostEstimationServiceResourceState = Shapes::StringShape.new(name: 'CostEstimationServiceResourceState')
49
+ CostEstimationStackNames = Shapes::ListShape.new(name: 'CostEstimationStackNames')
50
+ CostEstimationStatus = Shapes::StringShape.new(name: 'CostEstimationStatus')
51
+ CostEstimationTimeRange = Shapes::StructureShape.new(name: 'CostEstimationTimeRange')
42
52
  DescribeAccountHealthRequest = Shapes::StructureShape.new(name: 'DescribeAccountHealthRequest')
43
53
  DescribeAccountHealthResponse = Shapes::StructureShape.new(name: 'DescribeAccountHealthResponse')
44
54
  DescribeAccountOverviewRequest = Shapes::StructureShape.new(name: 'DescribeAccountOverviewRequest')
45
55
  DescribeAccountOverviewResponse = Shapes::StructureShape.new(name: 'DescribeAccountOverviewResponse')
46
56
  DescribeAnomalyRequest = Shapes::StructureShape.new(name: 'DescribeAnomalyRequest')
47
57
  DescribeAnomalyResponse = Shapes::StructureShape.new(name: 'DescribeAnomalyResponse')
58
+ DescribeFeedbackRequest = Shapes::StructureShape.new(name: 'DescribeFeedbackRequest')
59
+ DescribeFeedbackResponse = Shapes::StructureShape.new(name: 'DescribeFeedbackResponse')
48
60
  DescribeInsightRequest = Shapes::StructureShape.new(name: 'DescribeInsightRequest')
49
61
  DescribeInsightResponse = Shapes::StructureShape.new(name: 'DescribeInsightResponse')
50
62
  DescribeResourceCollectionHealthRequest = Shapes::StructureShape.new(name: 'DescribeResourceCollectionHealthRequest')
@@ -69,6 +81,8 @@ module Aws::DevOpsGuru
69
81
  EventSource = Shapes::StringShape.new(name: 'EventSource')
70
82
  EventTimeRange = Shapes::StructureShape.new(name: 'EventTimeRange')
71
83
  Events = Shapes::ListShape.new(name: 'Events')
84
+ GetCostEstimationRequest = Shapes::StructureShape.new(name: 'GetCostEstimationRequest')
85
+ GetCostEstimationResponse = Shapes::StructureShape.new(name: 'GetCostEstimationResponse')
72
86
  GetResourceCollectionRequest = Shapes::StructureShape.new(name: 'GetResourceCollectionRequest')
73
87
  GetResourceCollectionResponse = Shapes::StructureShape.new(name: 'GetResourceCollectionResponse')
74
88
  InsightFeedback = Shapes::StructureShape.new(name: 'InsightFeedback')
@@ -101,6 +115,7 @@ module Aws::DevOpsGuru
101
115
  ListNotificationChannelsResponse = Shapes::StructureShape.new(name: 'ListNotificationChannelsResponse')
102
116
  ListRecommendationsRequest = Shapes::StructureShape.new(name: 'ListRecommendationsRequest')
103
117
  ListRecommendationsResponse = Shapes::StructureShape.new(name: 'ListRecommendationsResponse')
118
+ Locale = Shapes::StringShape.new(name: 'Locale')
104
119
  MeanTimeToRecoverInMilliseconds = Shapes::IntegerShape.new(name: 'MeanTimeToRecoverInMilliseconds')
105
120
  NotificationChannel = Shapes::StructureShape.new(name: 'NotificationChannel')
106
121
  NotificationChannelConfig = Shapes::StructureShape.new(name: 'NotificationChannelConfig')
@@ -162,17 +177,28 @@ module Aws::DevOpsGuru
162
177
  ResourceIdString = Shapes::StringShape.new(name: 'ResourceIdString')
163
178
  ResourceIdType = Shapes::StringShape.new(name: 'ResourceIdType')
164
179
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
180
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
165
181
  RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
166
182
  SearchInsightsFilters = Shapes::StructureShape.new(name: 'SearchInsightsFilters')
167
183
  SearchInsightsMaxResults = Shapes::IntegerShape.new(name: 'SearchInsightsMaxResults')
168
184
  SearchInsightsRequest = Shapes::StructureShape.new(name: 'SearchInsightsRequest')
169
185
  SearchInsightsResponse = Shapes::StructureShape.new(name: 'SearchInsightsResponse')
186
+ ServiceCollection = Shapes::StructureShape.new(name: 'ServiceCollection')
187
+ ServiceHealth = Shapes::StructureShape.new(name: 'ServiceHealth')
188
+ ServiceHealths = Shapes::ListShape.new(name: 'ServiceHealths')
189
+ ServiceInsightHealth = Shapes::StructureShape.new(name: 'ServiceInsightHealth')
170
190
  ServiceIntegrationConfig = Shapes::StructureShape.new(name: 'ServiceIntegrationConfig')
191
+ ServiceName = Shapes::StringShape.new(name: 'ServiceName')
192
+ ServiceNames = Shapes::ListShape.new(name: 'ServiceNames')
171
193
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
194
+ ServiceResourceCost = Shapes::StructureShape.new(name: 'ServiceResourceCost')
195
+ ServiceResourceCosts = Shapes::ListShape.new(name: 'ServiceResourceCosts')
172
196
  SnsChannelConfig = Shapes::StructureShape.new(name: 'SnsChannelConfig')
173
197
  SsmOpsItemId = Shapes::StringShape.new(name: 'SsmOpsItemId')
174
198
  StackName = Shapes::StringShape.new(name: 'StackName')
175
199
  StackNames = Shapes::ListShape.new(name: 'StackNames')
200
+ StartCostEstimationRequest = Shapes::StructureShape.new(name: 'StartCostEstimationRequest')
201
+ StartCostEstimationResponse = Shapes::StructureShape.new(name: 'StartCostEstimationResponse')
176
202
  StartTimeRange = Shapes::StructureShape.new(name: 'StartTimeRange')
177
203
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
178
204
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -201,6 +227,10 @@ module Aws::DevOpsGuru
201
227
  AddNotificationChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: NotificationChannelId, required: true, location_name: "Id"))
202
228
  AddNotificationChannelResponse.struct_class = Types::AddNotificationChannelResponse
203
229
 
230
+ AnomalyReportedTimeRange.add_member(:open_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "OpenTime"))
231
+ AnomalyReportedTimeRange.add_member(:close_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CloseTime"))
232
+ AnomalyReportedTimeRange.struct_class = Types::AnomalyReportedTimeRange
233
+
204
234
  AnomalySourceDetails.add_member(:cloud_watch_metrics, Shapes::ShapeRef.new(shape: CloudWatchMetricsDetails, location_name: "CloudWatchMetrics"))
205
235
  AnomalySourceDetails.struct_class = Types::AnomalySourceDetails
206
236
 
@@ -216,6 +246,9 @@ module Aws::DevOpsGuru
216
246
  CloudFormationCollectionFilter.add_member(:stack_names, Shapes::ShapeRef.new(shape: StackNames, location_name: "StackNames"))
217
247
  CloudFormationCollectionFilter.struct_class = Types::CloudFormationCollectionFilter
218
248
 
249
+ CloudFormationCostEstimationResourceCollectionFilter.add_member(:stack_names, Shapes::ShapeRef.new(shape: CostEstimationStackNames, location_name: "StackNames"))
250
+ CloudFormationCostEstimationResourceCollectionFilter.struct_class = Types::CloudFormationCostEstimationResourceCollectionFilter
251
+
219
252
  CloudFormationHealth.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName"))
220
253
  CloudFormationHealth.add_member(:insight, Shapes::ShapeRef.new(shape: InsightHealth, location_name: "Insight"))
221
254
  CloudFormationHealth.struct_class = Types::CloudFormationHealth
@@ -243,6 +276,15 @@ module Aws::DevOpsGuru
243
276
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ResourceType"))
244
277
  ConflictException.struct_class = Types::ConflictException
245
278
 
279
+ CostEstimationResourceCollectionFilter.add_member(:cloud_formation, Shapes::ShapeRef.new(shape: CloudFormationCostEstimationResourceCollectionFilter, location_name: "CloudFormation"))
280
+ CostEstimationResourceCollectionFilter.struct_class = Types::CostEstimationResourceCollectionFilter
281
+
282
+ CostEstimationStackNames.member = Shapes::ShapeRef.new(shape: StackName)
283
+
284
+ CostEstimationTimeRange.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
285
+ CostEstimationTimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
286
+ CostEstimationTimeRange.struct_class = Types::CostEstimationTimeRange
287
+
246
288
  DescribeAccountHealthRequest.struct_class = Types::DescribeAccountHealthRequest
247
289
 
248
290
  DescribeAccountHealthResponse.add_member(:open_reactive_insights, Shapes::ShapeRef.new(shape: NumOpenReactiveInsights, required: true, location_name: "OpenReactiveInsights"))
@@ -267,6 +309,12 @@ module Aws::DevOpsGuru
267
309
  DescribeAnomalyResponse.add_member(:reactive_anomaly, Shapes::ShapeRef.new(shape: ReactiveAnomaly, location_name: "ReactiveAnomaly"))
268
310
  DescribeAnomalyResponse.struct_class = Types::DescribeAnomalyResponse
269
311
 
312
+ DescribeFeedbackRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
313
+ DescribeFeedbackRequest.struct_class = Types::DescribeFeedbackRequest
314
+
315
+ DescribeFeedbackResponse.add_member(:insight_feedback, Shapes::ShapeRef.new(shape: InsightFeedback, location_name: "InsightFeedback"))
316
+ DescribeFeedbackResponse.struct_class = Types::DescribeFeedbackResponse
317
+
270
318
  DescribeInsightRequest.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, required: true, location: "uri", location_name: "Id"))
271
319
  DescribeInsightRequest.struct_class = Types::DescribeInsightRequest
272
320
 
@@ -279,6 +327,7 @@ module Aws::DevOpsGuru
279
327
  DescribeResourceCollectionHealthRequest.struct_class = Types::DescribeResourceCollectionHealthRequest
280
328
 
281
329
  DescribeResourceCollectionHealthResponse.add_member(:cloud_formation, Shapes::ShapeRef.new(shape: CloudFormationHealths, required: true, location_name: "CloudFormation"))
330
+ DescribeResourceCollectionHealthResponse.add_member(:service, Shapes::ShapeRef.new(shape: ServiceHealths, location_name: "Service"))
282
331
  DescribeResourceCollectionHealthResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
283
332
  DescribeResourceCollectionHealthResponse.struct_class = Types::DescribeResourceCollectionHealthResponse
284
333
 
@@ -314,6 +363,17 @@ module Aws::DevOpsGuru
314
363
 
315
364
  Events.member = Shapes::ShapeRef.new(shape: Event)
316
365
 
366
+ GetCostEstimationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location: "querystring", location_name: "NextToken"))
367
+ GetCostEstimationRequest.struct_class = Types::GetCostEstimationRequest
368
+
369
+ GetCostEstimationResponse.add_member(:resource_collection, Shapes::ShapeRef.new(shape: CostEstimationResourceCollectionFilter, location_name: "ResourceCollection"))
370
+ GetCostEstimationResponse.add_member(:status, Shapes::ShapeRef.new(shape: CostEstimationStatus, location_name: "Status"))
371
+ GetCostEstimationResponse.add_member(:costs, Shapes::ShapeRef.new(shape: ServiceResourceCosts, location_name: "Costs"))
372
+ GetCostEstimationResponse.add_member(:time_range, Shapes::ShapeRef.new(shape: CostEstimationTimeRange, location_name: "TimeRange"))
373
+ GetCostEstimationResponse.add_member(:total_cost, Shapes::ShapeRef.new(shape: Cost, location_name: "TotalCost"))
374
+ GetCostEstimationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
375
+ GetCostEstimationResponse.struct_class = Types::GetCostEstimationResponse
376
+
317
377
  GetResourceCollectionRequest.add_member(:resource_collection_type, Shapes::ShapeRef.new(shape: ResourceCollectionType, required: true, location: "uri", location_name: "ResourceCollectionType"))
318
378
  GetResourceCollectionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location: "querystring", location_name: "NextToken"))
319
379
  GetResourceCollectionRequest.struct_class = Types::GetResourceCollectionRequest
@@ -406,6 +466,7 @@ module Aws::DevOpsGuru
406
466
 
407
467
  ListRecommendationsRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
408
468
  ListRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
469
+ ListRecommendationsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "Locale"))
409
470
  ListRecommendationsRequest.struct_class = Types::ListRecommendationsRequest
410
471
 
411
472
  ListRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: Recommendations, location_name: "Recommendations"))
@@ -436,6 +497,7 @@ module Aws::DevOpsGuru
436
497
  ProactiveAnomaly.add_member(:status, Shapes::ShapeRef.new(shape: AnomalyStatus, location_name: "Status"))
437
498
  ProactiveAnomaly.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdateTime"))
438
499
  ProactiveAnomaly.add_member(:anomaly_time_range, Shapes::ShapeRef.new(shape: AnomalyTimeRange, location_name: "AnomalyTimeRange"))
500
+ ProactiveAnomaly.add_member(:anomaly_reported_time_range, Shapes::ShapeRef.new(shape: AnomalyReportedTimeRange, location_name: "AnomalyReportedTimeRange"))
439
501
  ProactiveAnomaly.add_member(:prediction_time_range, Shapes::ShapeRef.new(shape: PredictionTimeRange, location_name: "PredictionTimeRange"))
440
502
  ProactiveAnomaly.add_member(:source_details, Shapes::ShapeRef.new(shape: AnomalySourceDetails, location_name: "SourceDetails"))
441
503
  ProactiveAnomaly.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
@@ -448,6 +510,7 @@ module Aws::DevOpsGuru
448
510
  ProactiveAnomalySummary.add_member(:status, Shapes::ShapeRef.new(shape: AnomalyStatus, location_name: "Status"))
449
511
  ProactiveAnomalySummary.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdateTime"))
450
512
  ProactiveAnomalySummary.add_member(:anomaly_time_range, Shapes::ShapeRef.new(shape: AnomalyTimeRange, location_name: "AnomalyTimeRange"))
513
+ ProactiveAnomalySummary.add_member(:anomaly_reported_time_range, Shapes::ShapeRef.new(shape: AnomalyReportedTimeRange, location_name: "AnomalyReportedTimeRange"))
451
514
  ProactiveAnomalySummary.add_member(:prediction_time_range, Shapes::ShapeRef.new(shape: PredictionTimeRange, location_name: "PredictionTimeRange"))
452
515
  ProactiveAnomalySummary.add_member(:source_details, Shapes::ShapeRef.new(shape: AnomalySourceDetails, location_name: "SourceDetails"))
453
516
  ProactiveAnomalySummary.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
@@ -472,6 +535,7 @@ module Aws::DevOpsGuru
472
535
  ProactiveInsightSummary.add_member(:insight_time_range, Shapes::ShapeRef.new(shape: InsightTimeRange, location_name: "InsightTimeRange"))
473
536
  ProactiveInsightSummary.add_member(:prediction_time_range, Shapes::ShapeRef.new(shape: PredictionTimeRange, location_name: "PredictionTimeRange"))
474
537
  ProactiveInsightSummary.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
538
+ ProactiveInsightSummary.add_member(:service_collection, Shapes::ShapeRef.new(shape: ServiceCollection, location_name: "ServiceCollection"))
475
539
  ProactiveInsightSummary.struct_class = Types::ProactiveInsightSummary
476
540
 
477
541
  ProactiveInsights.member = Shapes::ShapeRef.new(shape: ProactiveInsightSummary)
@@ -487,6 +551,7 @@ module Aws::DevOpsGuru
487
551
  ReactiveAnomaly.add_member(:severity, Shapes::ShapeRef.new(shape: AnomalySeverity, location_name: "Severity"))
488
552
  ReactiveAnomaly.add_member(:status, Shapes::ShapeRef.new(shape: AnomalyStatus, location_name: "Status"))
489
553
  ReactiveAnomaly.add_member(:anomaly_time_range, Shapes::ShapeRef.new(shape: AnomalyTimeRange, location_name: "AnomalyTimeRange"))
554
+ ReactiveAnomaly.add_member(:anomaly_reported_time_range, Shapes::ShapeRef.new(shape: AnomalyReportedTimeRange, location_name: "AnomalyReportedTimeRange"))
490
555
  ReactiveAnomaly.add_member(:source_details, Shapes::ShapeRef.new(shape: AnomalySourceDetails, location_name: "SourceDetails"))
491
556
  ReactiveAnomaly.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
492
557
  ReactiveAnomaly.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
@@ -496,6 +561,7 @@ module Aws::DevOpsGuru
496
561
  ReactiveAnomalySummary.add_member(:severity, Shapes::ShapeRef.new(shape: AnomalySeverity, location_name: "Severity"))
497
562
  ReactiveAnomalySummary.add_member(:status, Shapes::ShapeRef.new(shape: AnomalyStatus, location_name: "Status"))
498
563
  ReactiveAnomalySummary.add_member(:anomaly_time_range, Shapes::ShapeRef.new(shape: AnomalyTimeRange, location_name: "AnomalyTimeRange"))
564
+ ReactiveAnomalySummary.add_member(:anomaly_reported_time_range, Shapes::ShapeRef.new(shape: AnomalyReportedTimeRange, location_name: "AnomalyReportedTimeRange"))
499
565
  ReactiveAnomalySummary.add_member(:source_details, Shapes::ShapeRef.new(shape: AnomalySourceDetails, location_name: "SourceDetails"))
500
566
  ReactiveAnomalySummary.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
501
567
  ReactiveAnomalySummary.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
@@ -516,6 +582,7 @@ module Aws::DevOpsGuru
516
582
  ReactiveInsightSummary.add_member(:status, Shapes::ShapeRef.new(shape: InsightStatus, location_name: "Status"))
517
583
  ReactiveInsightSummary.add_member(:insight_time_range, Shapes::ShapeRef.new(shape: InsightTimeRange, location_name: "InsightTimeRange"))
518
584
  ReactiveInsightSummary.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
585
+ ReactiveInsightSummary.add_member(:service_collection, Shapes::ShapeRef.new(shape: ServiceCollection, location_name: "ServiceCollection"))
519
586
  ReactiveInsightSummary.struct_class = Types::ReactiveInsightSummary
520
587
 
521
588
  ReactiveInsights.member = Shapes::ShapeRef.new(shape: ReactiveInsightSummary)
@@ -584,6 +651,7 @@ module Aws::DevOpsGuru
584
651
  SearchInsightsFilters.add_member(:severities, Shapes::ShapeRef.new(shape: InsightSeverities, location_name: "Severities"))
585
652
  SearchInsightsFilters.add_member(:statuses, Shapes::ShapeRef.new(shape: InsightStatuses, location_name: "Statuses"))
586
653
  SearchInsightsFilters.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
654
+ SearchInsightsFilters.add_member(:service_collection, Shapes::ShapeRef.new(shape: ServiceCollection, location_name: "ServiceCollection"))
587
655
  SearchInsightsFilters.struct_class = Types::SearchInsightsFilters
588
656
 
589
657
  SearchInsightsRequest.add_member(:start_time_range, Shapes::ShapeRef.new(shape: StartTimeRange, required: true, location_name: "StartTimeRange"))
@@ -598,17 +666,47 @@ module Aws::DevOpsGuru
598
666
  SearchInsightsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
599
667
  SearchInsightsResponse.struct_class = Types::SearchInsightsResponse
600
668
 
669
+ ServiceCollection.add_member(:service_names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "ServiceNames"))
670
+ ServiceCollection.struct_class = Types::ServiceCollection
671
+
672
+ ServiceHealth.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "ServiceName"))
673
+ ServiceHealth.add_member(:insight, Shapes::ShapeRef.new(shape: ServiceInsightHealth, location_name: "Insight"))
674
+ ServiceHealth.struct_class = Types::ServiceHealth
675
+
676
+ ServiceHealths.member = Shapes::ShapeRef.new(shape: ServiceHealth)
677
+
678
+ ServiceInsightHealth.add_member(:open_proactive_insights, Shapes::ShapeRef.new(shape: NumOpenProactiveInsights, location_name: "OpenProactiveInsights"))
679
+ ServiceInsightHealth.add_member(:open_reactive_insights, Shapes::ShapeRef.new(shape: NumOpenReactiveInsights, location_name: "OpenReactiveInsights"))
680
+ ServiceInsightHealth.struct_class = Types::ServiceInsightHealth
681
+
601
682
  ServiceIntegrationConfig.add_member(:ops_center, Shapes::ShapeRef.new(shape: OpsCenterIntegration, location_name: "OpsCenter"))
602
683
  ServiceIntegrationConfig.struct_class = Types::ServiceIntegrationConfig
603
684
 
685
+ ServiceNames.member = Shapes::ShapeRef.new(shape: ServiceName)
686
+
604
687
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageString, location_name: "Message"))
605
688
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
606
689
 
690
+ ServiceResourceCost.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "Type"))
691
+ ServiceResourceCost.add_member(:state, Shapes::ShapeRef.new(shape: CostEstimationServiceResourceState, location_name: "State"))
692
+ ServiceResourceCost.add_member(:count, Shapes::ShapeRef.new(shape: CostEstimationServiceResourceCount, location_name: "Count"))
693
+ ServiceResourceCost.add_member(:unit_cost, Shapes::ShapeRef.new(shape: Cost, location_name: "UnitCost"))
694
+ ServiceResourceCost.add_member(:cost, Shapes::ShapeRef.new(shape: Cost, location_name: "Cost"))
695
+ ServiceResourceCost.struct_class = Types::ServiceResourceCost
696
+
697
+ ServiceResourceCosts.member = Shapes::ShapeRef.new(shape: ServiceResourceCost)
698
+
607
699
  SnsChannelConfig.add_member(:topic_arn, Shapes::ShapeRef.new(shape: TopicArn, location_name: "TopicArn"))
608
700
  SnsChannelConfig.struct_class = Types::SnsChannelConfig
609
701
 
610
702
  StackNames.member = Shapes::ShapeRef.new(shape: StackName)
611
703
 
704
+ StartCostEstimationRequest.add_member(:resource_collection, Shapes::ShapeRef.new(shape: CostEstimationResourceCollectionFilter, required: true, location_name: "ResourceCollection"))
705
+ StartCostEstimationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
706
+ StartCostEstimationRequest.struct_class = Types::StartCostEstimationRequest
707
+
708
+ StartCostEstimationResponse.struct_class = Types::StartCostEstimationResponse
709
+
612
710
  StartTimeRange.add_member(:from_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "FromTime"))
613
711
  StartTimeRange.add_member(:to_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ToTime"))
614
712
  StartTimeRange.struct_class = Types::StartTimeRange
@@ -722,6 +820,19 @@ module Aws::DevOpsGuru
722
820
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
723
821
  end)
724
822
 
823
+ api.add_operation(:describe_feedback, Seahorse::Model::Operation.new.tap do |o|
824
+ o.name = "DescribeFeedback"
825
+ o.http_method = "POST"
826
+ o.http_request_uri = "/feedback"
827
+ o.input = Shapes::ShapeRef.new(shape: DescribeFeedbackRequest)
828
+ o.output = Shapes::ShapeRef.new(shape: DescribeFeedbackResponse)
829
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
830
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
831
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
832
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
833
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
834
+ end)
835
+
725
836
  api.add_operation(:describe_insight, Seahorse::Model::Operation.new.tap do |o|
726
837
  o.name = "DescribeInsight"
727
838
  o.http_method = "GET"
@@ -764,6 +875,24 @@ module Aws::DevOpsGuru
764
875
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
765
876
  end)
766
877
 
878
+ api.add_operation(:get_cost_estimation, Seahorse::Model::Operation.new.tap do |o|
879
+ o.name = "GetCostEstimation"
880
+ o.http_method = "GET"
881
+ o.http_request_uri = "/cost-estimation"
882
+ o.input = Shapes::ShapeRef.new(shape: GetCostEstimationRequest)
883
+ o.output = Shapes::ShapeRef.new(shape: GetCostEstimationResponse)
884
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
885
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
886
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
887
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
888
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
889
+ o[:pager] = Aws::Pager.new(
890
+ tokens: {
891
+ "next_token" => "next_token"
892
+ }
893
+ )
894
+ end)
895
+
767
896
  api.add_operation(:get_resource_collection, Seahorse::Model::Operation.new.tap do |o|
768
897
  o.name = "GetResourceCollection"
769
898
  o.http_method = "GET"
@@ -919,6 +1048,20 @@ module Aws::DevOpsGuru
919
1048
  )
920
1049
  end)
921
1050
 
1051
+ api.add_operation(:start_cost_estimation, Seahorse::Model::Operation.new.tap do |o|
1052
+ o.name = "StartCostEstimation"
1053
+ o.http_method = "PUT"
1054
+ o.http_request_uri = "/cost-estimation"
1055
+ o.input = Shapes::ShapeRef.new(shape: StartCostEstimationRequest)
1056
+ o.output = Shapes::ShapeRef.new(shape: StartCostEstimationResponse)
1057
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1058
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1059
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1060
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1061
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1063
+ end)
1064
+
922
1065
  api.add_operation(:update_resource_collection, Seahorse::Model::Operation.new.tap do |o|
923
1066
  o.name = "UpdateResourceCollection"
924
1067
  o.http_method = "PUT"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -67,6 +67,28 @@ module Aws::DevOpsGuru
67
67
  include Aws::Structure
68
68
  end
69
69
 
70
+ # A time range that specifies when DevOps Guru opens and then closes an
71
+ # anomaly. This is different from `AnomalyTimeRange`, which specifies
72
+ # the time range when DevOps Guru actually observes the anomalous
73
+ # behavior.
74
+ #
75
+ # @!attribute [rw] open_time
76
+ # The time when an anomaly is opened.
77
+ # @return [Time]
78
+ #
79
+ # @!attribute [rw] close_time
80
+ # The time when an anomaly is closed.
81
+ # @return [Time]
82
+ #
83
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AnomalyReportedTimeRange AWS API Documentation
84
+ #
85
+ class AnomalyReportedTimeRange < Struct.new(
86
+ :open_time,
87
+ :close_time)
88
+ SENSITIVE = []
89
+ include Aws::Structure
90
+ end
91
+
70
92
  # Details about the source of the anomalous operational data that
71
93
  # triggered the anomaly. The one supported source is Amazon CloudWatch
72
94
  # metrics.
@@ -86,7 +108,9 @@ module Aws::DevOpsGuru
86
108
  end
87
109
 
88
110
  # A time range that specifies when the observed unusual behavior in an
89
- # anomaly started and ended.
111
+ # anomaly started and ended. This is different from
112
+ # `AnomalyReportedTimeRange`, which specifies the time range when DevOps
113
+ # Guru opens and then closes an anomaly.
90
114
  #
91
115
  # @!attribute [rw] start_time
92
116
  # The time when the anomalous behavior started.
@@ -105,9 +129,10 @@ module Aws::DevOpsGuru
105
129
  include Aws::Structure
106
130
  end
107
131
 
108
- # Information about AWS CloudFormation stacks. You can use stacks to
109
- # specify which AWS resources in your account to analyze. For more
110
- # information, see [Stacks][1] in the *AWS CloudFormation User Guide*.
132
+ # Information about AWS CloudFormation stacks. You can use up to 500
133
+ # stacks to specify which AWS resources in your account to analyze. For
134
+ # more information, see [Stacks][1] in the *AWS CloudFormation User
135
+ # Guide*.
111
136
  #
112
137
  #
113
138
  #
@@ -132,9 +157,10 @@ module Aws::DevOpsGuru
132
157
  include Aws::Structure
133
158
  end
134
159
 
135
- # Information about AWS CloudFormation stacks. You can use stacks to
136
- # specify which AWS resources in your account to analyze. For more
137
- # information, see [Stacks][1] in the *AWS CloudFormation User Guide*.
160
+ # Information about AWS CloudFormation stacks. You can use up to 500
161
+ # stacks to specify which AWS resources in your account to analyze. For
162
+ # more information, see [Stacks][1] in the *AWS CloudFormation User
163
+ # Guide*.
138
164
  #
139
165
  #
140
166
  #
@@ -152,6 +178,36 @@ module Aws::DevOpsGuru
152
178
  include Aws::Structure
153
179
  end
154
180
 
181
+ # Information about an AWS CloudFormation stack used to create a monthly
182
+ # cost estimate for DevOps Guru to analyze AWS resources. The maximum
183
+ # number of stacks you can specify for a cost estimate is one. The
184
+ # estimate created is for the cost to analyze the AWS resources defined
185
+ # by the stack. For more information, see [Stacks][1] in the *AWS
186
+ # CloudFormation User Guide*.
187
+ #
188
+ #
189
+ #
190
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
191
+ #
192
+ # @note When making an API call, you may pass CloudFormationCostEstimationResourceCollectionFilter
193
+ # data as a hash:
194
+ #
195
+ # {
196
+ # stack_names: ["StackName"],
197
+ # }
198
+ #
199
+ # @!attribute [rw] stack_names
200
+ # An array of CloudFormation stack names. Its size is fixed at 1 item.
201
+ # @return [Array<String>]
202
+ #
203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudFormationCostEstimationResourceCollectionFilter AWS API Documentation
204
+ #
205
+ class CloudFormationCostEstimationResourceCollectionFilter < Struct.new(
206
+ :stack_names)
207
+ SENSITIVE = []
208
+ include Aws::Structure
209
+ end
210
+
155
211
  # Information about the health of AWS resources in your account that are
156
212
  # specified by an AWS CloudFormation stack.
157
213
  #
@@ -274,6 +330,57 @@ module Aws::DevOpsGuru
274
330
  include Aws::Structure
275
331
  end
276
332
 
333
+ # Information about a filter used to specify which AWS resources are
334
+ # analyzed to create a monthly DevOps Guru cost estimate. For more
335
+ # information, see [Estimate your Amazon DevOps Guru costs][1] and
336
+ # [Amazon DevOps Guru pricing][2].
337
+ #
338
+ #
339
+ #
340
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
341
+ # [2]: http://aws.amazon.com/devops-guru/pricing/
342
+ #
343
+ # @note When making an API call, you may pass CostEstimationResourceCollectionFilter
344
+ # data as a hash:
345
+ #
346
+ # {
347
+ # cloud_formation: {
348
+ # stack_names: ["StackName"],
349
+ # },
350
+ # }
351
+ #
352
+ # @!attribute [rw] cloud_formation
353
+ # An object that specifies the CloudFormation stack that defines the
354
+ # AWS resources used to create a monthly estimate for DevOps Guru.
355
+ # @return [Types::CloudFormationCostEstimationResourceCollectionFilter]
356
+ #
357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CostEstimationResourceCollectionFilter AWS API Documentation
358
+ #
359
+ class CostEstimationResourceCollectionFilter < Struct.new(
360
+ :cloud_formation)
361
+ SENSITIVE = []
362
+ include Aws::Structure
363
+ end
364
+
365
+ # The time range of a cost estimation.
366
+ #
367
+ # @!attribute [rw] start_time
368
+ # The start time of the cost estimation.
369
+ # @return [Time]
370
+ #
371
+ # @!attribute [rw] end_time
372
+ # The end time of the cost estimation.
373
+ # @return [Time]
374
+ #
375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CostEstimationTimeRange AWS API Documentation
376
+ #
377
+ class CostEstimationTimeRange < Struct.new(
378
+ :start_time,
379
+ :end_time)
380
+ SENSITIVE = []
381
+ include Aws::Structure
382
+ end
383
+
277
384
  # @api private
278
385
  #
279
386
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthRequest AWS API Documentation
@@ -386,11 +493,11 @@ module Aws::DevOpsGuru
386
493
  end
387
494
 
388
495
  # @!attribute [rw] proactive_anomaly
389
- # An `ReactiveAnomaly` object that represents the requested anomaly.
496
+ # A `ReactiveAnomaly` object that represents the requested anomaly.
390
497
  # @return [Types::ProactiveAnomaly]
391
498
  #
392
499
  # @!attribute [rw] reactive_anomaly
393
- # An `ProactiveAnomaly` object that represents the requested anomaly.
500
+ # A `ProactiveAnomaly` object that represents the requested anomaly.
394
501
  # @return [Types::ReactiveAnomaly]
395
502
  #
396
503
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomalyResponse AWS API Documentation
@@ -402,6 +509,37 @@ module Aws::DevOpsGuru
402
509
  include Aws::Structure
403
510
  end
404
511
 
512
+ # @note When making an API call, you may pass DescribeFeedbackRequest
513
+ # data as a hash:
514
+ #
515
+ # {
516
+ # insight_id: "InsightId",
517
+ # }
518
+ #
519
+ # @!attribute [rw] insight_id
520
+ # The ID of the insight for which the feedback was provided.
521
+ # @return [String]
522
+ #
523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedbackRequest AWS API Documentation
524
+ #
525
+ class DescribeFeedbackRequest < Struct.new(
526
+ :insight_id)
527
+ SENSITIVE = []
528
+ include Aws::Structure
529
+ end
530
+
531
+ # @!attribute [rw] insight_feedback
532
+ # Information about insight feedback received from a customer.
533
+ # @return [Types::InsightFeedback]
534
+ #
535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedbackResponse AWS API Documentation
536
+ #
537
+ class DescribeFeedbackResponse < Struct.new(
538
+ :insight_feedback)
539
+ SENSITIVE = []
540
+ include Aws::Structure
541
+ end
542
+
405
543
  # @note When making an API call, you may pass DescribeInsightRequest
406
544
  # data as a hash:
407
545
  #
@@ -422,11 +560,11 @@ module Aws::DevOpsGuru
422
560
  end
423
561
 
424
562
  # @!attribute [rw] proactive_insight
425
- # An `ProactiveInsight` object that represents the requested insight.
563
+ # A `ProactiveInsight` object that represents the requested insight.
426
564
  # @return [Types::ProactiveInsight]
427
565
  #
428
566
  # @!attribute [rw] reactive_insight
429
- # An `ReactiveInsight` object that represents the requested insight.
567
+ # A `ReactiveInsight` object that represents the requested insight.
430
568
  # @return [Types::ReactiveInsight]
431
569
  #
432
570
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsightResponse AWS API Documentation
@@ -442,7 +580,7 @@ module Aws::DevOpsGuru
442
580
  # data as a hash:
443
581
  #
444
582
  # {
445
- # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
583
+ # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
446
584
  # next_token: "UuidNextToken",
447
585
  # }
448
586
  #
@@ -451,7 +589,7 @@ module Aws::DevOpsGuru
451
589
  # AWS resources are defined. The one type of AWS resource collection
452
590
  # supported is AWS CloudFormation stacks. DevOps Guru can be
453
591
  # configured to analyze only the AWS resources that are defined in the
454
- # stacks.
592
+ # stacks. You can specify up to 500 AWS CloudFormation stacks.
455
593
  # @return [String]
456
594
  #
457
595
  # @!attribute [rw] next_token
@@ -474,6 +612,11 @@ module Aws::DevOpsGuru
474
612
  # information.
475
613
  # @return [Array<Types::CloudFormationHealth>]
476
614
  #
615
+ # @!attribute [rw] service
616
+ # An array of `ServiceHealth` objects that describes the health of the
617
+ # AWS services associated with the resources in the collection.
618
+ # @return [Array<Types::ServiceHealth>]
619
+ #
477
620
  # @!attribute [rw] next_token
478
621
  # The pagination token to use to retrieve the next page of results for
479
622
  # this operation. If there are no more pages, this value is null.
@@ -483,6 +626,7 @@ module Aws::DevOpsGuru
483
626
  #
484
627
  class DescribeResourceCollectionHealthResponse < Struct.new(
485
628
  :cloud_formation,
629
+ :service,
486
630
  :next_token)
487
631
  SENSITIVE = []
488
632
  include Aws::Structure
@@ -543,7 +687,8 @@ module Aws::DevOpsGuru
543
687
  # A collection of AWS resources supported by DevOps Guru. The one type
544
688
  # of AWS resource collection supported is AWS CloudFormation stacks.
545
689
  # DevOps Guru can be configured to analyze only the AWS resources that
546
- # are defined in the stacks.
690
+ # are defined in the stacks. You can specify up to 500 AWS
691
+ # CloudFormation stacks.
547
692
  # @return [Types::ResourceCollection]
548
693
  #
549
694
  # @!attribute [rw] id
@@ -649,11 +794,75 @@ module Aws::DevOpsGuru
649
794
  include Aws::Structure
650
795
  end
651
796
 
797
+ # @note When making an API call, you may pass GetCostEstimationRequest
798
+ # data as a hash:
799
+ #
800
+ # {
801
+ # next_token: "UuidNextToken",
802
+ # }
803
+ #
804
+ # @!attribute [rw] next_token
805
+ # The pagination token to use to retrieve the next page of results for
806
+ # this operation. If this value is null, it retrieves the first page.
807
+ # @return [String]
808
+ #
809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimationRequest AWS API Documentation
810
+ #
811
+ class GetCostEstimationRequest < Struct.new(
812
+ :next_token)
813
+ SENSITIVE = []
814
+ include Aws::Structure
815
+ end
816
+
817
+ # @!attribute [rw] resource_collection
818
+ # The collection of the AWS resources used to create your monthly
819
+ # DevOps Guru cost estimate.
820
+ # @return [Types::CostEstimationResourceCollectionFilter]
821
+ #
822
+ # @!attribute [rw] status
823
+ # The status of creating this cost estimate. If it's still in
824
+ # progress, the status `ONGOING` is returned. If it is finished, the
825
+ # status `COMPLETED` is returned.
826
+ # @return [String]
827
+ #
828
+ # @!attribute [rw] costs
829
+ # An array of `ResourceCost` objects that each contains details about
830
+ # the monthly cost estimate to analyze one of your AWS resources.
831
+ # @return [Array<Types::ServiceResourceCost>]
832
+ #
833
+ # @!attribute [rw] time_range
834
+ # The start and end time of the cost estimation.
835
+ # @return [Types::CostEstimationTimeRange]
836
+ #
837
+ # @!attribute [rw] total_cost
838
+ # The estimated monthly cost to analyze the AWS resources. This value
839
+ # is the sum of the estimated costs to analyze each resource in the
840
+ # `Costs` object in this response.
841
+ # @return [Float]
842
+ #
843
+ # @!attribute [rw] next_token
844
+ # The pagination token to use to retrieve the next page of results for
845
+ # this operation. If there are no more pages, this value is null.
846
+ # @return [String]
847
+ #
848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimationResponse AWS API Documentation
849
+ #
850
+ class GetCostEstimationResponse < Struct.new(
851
+ :resource_collection,
852
+ :status,
853
+ :costs,
854
+ :time_range,
855
+ :total_cost,
856
+ :next_token)
857
+ SENSITIVE = []
858
+ include Aws::Structure
859
+ end
860
+
652
861
  # @note When making an API call, you may pass GetResourceCollectionRequest
653
862
  # data as a hash:
654
863
  #
655
864
  # {
656
- # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
865
+ # resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
657
866
  # next_token: "UuidNextToken",
658
867
  # }
659
868
  #
@@ -680,7 +889,8 @@ module Aws::DevOpsGuru
680
889
  # The requested list of AWS resource collections. The one type of AWS
681
890
  # resource collection supported is AWS CloudFormation stacks. DevOps
682
891
  # Guru can be configured to analyze only the AWS resources that are
683
- # defined in the stacks.
892
+ # defined in the stacks. You can specify up to 500 AWS CloudFormation
893
+ # stacks.
684
894
  # @return [Types::ResourceCollectionFilter]
685
895
  #
686
896
  # @!attribute [rw] next_token
@@ -908,7 +1118,8 @@ module Aws::DevOpsGuru
908
1118
  # A collection of AWS resources supported by DevOps Guru. The one type
909
1119
  # of AWS resource collection supported is AWS CloudFormation stacks.
910
1120
  # DevOps Guru can be configured to analyze only the AWS resources that
911
- # are defined in the stacks.
1121
+ # are defined in the stacks. You can specify up to 500 AWS
1122
+ # CloudFormation stacks.
912
1123
  # @return [Types::ResourceCollection]
913
1124
  #
914
1125
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEventsFilters AWS API Documentation
@@ -1243,6 +1454,7 @@ module Aws::DevOpsGuru
1243
1454
  # {
1244
1455
  # insight_id: "InsightId", # required
1245
1456
  # next_token: "UuidNextToken",
1457
+ # locale: "DE_DE", # accepts DE_DE, EN_US, EN_GB, ES_ES, FR_FR, IT_IT, JA_JP, KO_KR, PT_BR, ZH_CN, ZH_TW
1246
1458
  # }
1247
1459
  #
1248
1460
  # @!attribute [rw] insight_id
@@ -1254,11 +1466,16 @@ module Aws::DevOpsGuru
1254
1466
  # this operation. If this value is null, it retrieves the first page.
1255
1467
  # @return [String]
1256
1468
  #
1469
+ # @!attribute [rw] locale
1470
+ # A locale that specifies the language to use for recommendations.
1471
+ # @return [String]
1472
+ #
1257
1473
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendationsRequest AWS API Documentation
1258
1474
  #
1259
1475
  class ListRecommendationsRequest < Struct.new(
1260
1476
  :insight_id,
1261
- :next_token)
1477
+ :next_token,
1478
+ :locale)
1262
1479
  SENSITIVE = []
1263
1480
  include Aws::Structure
1264
1481
  end
@@ -1445,9 +1662,16 @@ module Aws::DevOpsGuru
1445
1662
  #
1446
1663
  # @!attribute [rw] anomaly_time_range
1447
1664
  # A time range that specifies when the observed unusual behavior in an
1448
- # anomaly started and ended.
1665
+ # anomaly started and ended. This is different from
1666
+ # `AnomalyReportedTimeRange`, which specifies the time range when
1667
+ # DevOps Guru opens and then closes an anomaly.
1449
1668
  # @return [Types::AnomalyTimeRange]
1450
1669
  #
1670
+ # @!attribute [rw] anomaly_reported_time_range
1671
+ # A `AnomalyReportedTimeRange` object that specifies the time range
1672
+ # between when the anomaly is opened and the time when it is closed.
1673
+ # @return [Types::AnomalyReportedTimeRange]
1674
+ #
1451
1675
  # @!attribute [rw] prediction_time_range
1452
1676
  # The time range during which anomalous behavior in a proactive
1453
1677
  # anomaly or an insight is expected to occur.
@@ -1468,7 +1692,8 @@ module Aws::DevOpsGuru
1468
1692
  # A collection of AWS resources supported by DevOps Guru. The one type
1469
1693
  # of AWS resource collection supported is AWS CloudFormation stacks.
1470
1694
  # DevOps Guru can be configured to analyze only the AWS resources that
1471
- # are defined in the stacks.
1695
+ # are defined in the stacks. You can specify up to 500 AWS
1696
+ # CloudFormation stacks.
1472
1697
  # @return [Types::ResourceCollection]
1473
1698
  #
1474
1699
  # @!attribute [rw] limit
@@ -1485,6 +1710,7 @@ module Aws::DevOpsGuru
1485
1710
  :status,
1486
1711
  :update_time,
1487
1712
  :anomaly_time_range,
1713
+ :anomaly_reported_time_range,
1488
1714
  :prediction_time_range,
1489
1715
  :source_details,
1490
1716
  :associated_insight_id,
@@ -1515,9 +1741,16 @@ module Aws::DevOpsGuru
1515
1741
  #
1516
1742
  # @!attribute [rw] anomaly_time_range
1517
1743
  # A time range that specifies when the observed unusual behavior in an
1518
- # anomaly started and ended.
1744
+ # anomaly started and ended. This is different from
1745
+ # `AnomalyReportedTimeRange`, which specifies the time range when
1746
+ # DevOps Guru opens and then closes an anomaly.
1519
1747
  # @return [Types::AnomalyTimeRange]
1520
1748
  #
1749
+ # @!attribute [rw] anomaly_reported_time_range
1750
+ # A `AnomalyReportedTimeRange` object that specifies the time range
1751
+ # between when the anomaly is opened and the time when it is closed.
1752
+ # @return [Types::AnomalyReportedTimeRange]
1753
+ #
1521
1754
  # @!attribute [rw] prediction_time_range
1522
1755
  # The time range during which anomalous behavior in a proactive
1523
1756
  # anomaly or an insight is expected to occur.
@@ -1538,7 +1771,8 @@ module Aws::DevOpsGuru
1538
1771
  # A collection of AWS resources supported by DevOps Guru. The one type
1539
1772
  # of AWS resource collection supported is AWS CloudFormation stacks.
1540
1773
  # DevOps Guru can be configured to analyze only the AWS resources that
1541
- # are defined in the stacks.
1774
+ # are defined in the stacks. You can specify up to 500 AWS
1775
+ # CloudFormation stacks.
1542
1776
  # @return [Types::ResourceCollection]
1543
1777
  #
1544
1778
  # @!attribute [rw] limit
@@ -1555,6 +1789,7 @@ module Aws::DevOpsGuru
1555
1789
  :status,
1556
1790
  :update_time,
1557
1791
  :anomaly_time_range,
1792
+ :anomaly_reported_time_range,
1558
1793
  :prediction_time_range,
1559
1794
  :source_details,
1560
1795
  :associated_insight_id,
@@ -1597,7 +1832,8 @@ module Aws::DevOpsGuru
1597
1832
  # A collection of AWS resources supported by DevOps Guru. The one type
1598
1833
  # of AWS resource collection supported is AWS CloudFormation stacks.
1599
1834
  # DevOps Guru can be configured to analyze only the AWS resources that
1600
- # are defined in the stacks.
1835
+ # are defined in the stacks. You can specify up to 500 AWS
1836
+ # CloudFormation stacks.
1601
1837
  # @return [Types::ResourceCollection]
1602
1838
  #
1603
1839
  # @!attribute [rw] ssm_ops_item_id
@@ -1654,9 +1890,14 @@ module Aws::DevOpsGuru
1654
1890
  # A collection of AWS resources supported by DevOps Guru. The one type
1655
1891
  # of AWS resource collection supported is AWS CloudFormation stacks.
1656
1892
  # DevOps Guru can be configured to analyze only the AWS resources that
1657
- # are defined in the stacks.
1893
+ # are defined in the stacks. You can specify up to 500 AWS
1894
+ # CloudFormation stacks.
1658
1895
  # @return [Types::ResourceCollection]
1659
1896
  #
1897
+ # @!attribute [rw] service_collection
1898
+ # A collection of the names of AWS services.
1899
+ # @return [Types::ServiceCollection]
1900
+ #
1660
1901
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsightSummary AWS API Documentation
1661
1902
  #
1662
1903
  class ProactiveInsightSummary < Struct.new(
@@ -1666,7 +1907,8 @@ module Aws::DevOpsGuru
1666
1907
  :status,
1667
1908
  :insight_time_range,
1668
1909
  :prediction_time_range,
1669
- :resource_collection)
1910
+ :resource_collection,
1911
+ :service_collection)
1670
1912
  SENSITIVE = []
1671
1913
  include Aws::Structure
1672
1914
  end
@@ -1715,9 +1957,16 @@ module Aws::DevOpsGuru
1715
1957
  #
1716
1958
  # @!attribute [rw] anomaly_time_range
1717
1959
  # A time range that specifies when the observed unusual behavior in an
1718
- # anomaly started and ended.
1960
+ # anomaly started and ended. This is different from
1961
+ # `AnomalyReportedTimeRange`, which specifies the time range when
1962
+ # DevOps Guru opens and then closes an anomaly.
1719
1963
  # @return [Types::AnomalyTimeRange]
1720
1964
  #
1965
+ # @!attribute [rw] anomaly_reported_time_range
1966
+ # A `AnomalyReportedTimeRange` object that specifies the time range
1967
+ # between when the anomaly is opened and the time when it is closed.
1968
+ # @return [Types::AnomalyReportedTimeRange]
1969
+ #
1721
1970
  # @!attribute [rw] source_details
1722
1971
  # Details about the source of the analyzed operational data that
1723
1972
  # triggered the anomaly. The one supported source is Amazon CloudWatch
@@ -1733,7 +1982,8 @@ module Aws::DevOpsGuru
1733
1982
  # A collection of AWS resources supported by DevOps Guru. The one type
1734
1983
  # of AWS resource collection supported is AWS CloudFormation stacks.
1735
1984
  # DevOps Guru can be configured to analyze only the AWS resources that
1736
- # are defined in the stacks.
1985
+ # are defined in the stacks. You can specify up to 500 AWS
1986
+ # CloudFormation stacks.
1737
1987
  # @return [Types::ResourceCollection]
1738
1988
  #
1739
1989
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomaly AWS API Documentation
@@ -1743,6 +1993,7 @@ module Aws::DevOpsGuru
1743
1993
  :severity,
1744
1994
  :status,
1745
1995
  :anomaly_time_range,
1996
+ :anomaly_reported_time_range,
1746
1997
  :source_details,
1747
1998
  :associated_insight_id,
1748
1999
  :resource_collection)
@@ -1767,9 +2018,16 @@ module Aws::DevOpsGuru
1767
2018
  #
1768
2019
  # @!attribute [rw] anomaly_time_range
1769
2020
  # A time range that specifies when the observed unusual behavior in an
1770
- # anomaly started and ended.
2021
+ # anomaly started and ended. This is different from
2022
+ # `AnomalyReportedTimeRange`, which specifies the time range when
2023
+ # DevOps Guru opens and then closes an anomaly.
1771
2024
  # @return [Types::AnomalyTimeRange]
1772
2025
  #
2026
+ # @!attribute [rw] anomaly_reported_time_range
2027
+ # A `AnomalyReportedTimeRange` object that specifies the time range
2028
+ # between when the anomaly is opened and the time when it is closed.
2029
+ # @return [Types::AnomalyReportedTimeRange]
2030
+ #
1773
2031
  # @!attribute [rw] source_details
1774
2032
  # Details about the source of the analyzed operational data that
1775
2033
  # triggered the anomaly. The one supported source is Amazon CloudWatch
@@ -1785,7 +2043,8 @@ module Aws::DevOpsGuru
1785
2043
  # A collection of AWS resources supported by DevOps Guru. The one type
1786
2044
  # of AWS resource collection supported is AWS CloudFormation stacks.
1787
2045
  # DevOps Guru can be configured to analyze only the AWS resources that
1788
- # are defined in the stacks.
2046
+ # are defined in the stacks. You can specify up to 500 AWS
2047
+ # CloudFormation stacks.
1789
2048
  # @return [Types::ResourceCollection]
1790
2049
  #
1791
2050
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomalySummary AWS API Documentation
@@ -1795,6 +2054,7 @@ module Aws::DevOpsGuru
1795
2054
  :severity,
1796
2055
  :status,
1797
2056
  :anomaly_time_range,
2057
+ :anomaly_reported_time_range,
1798
2058
  :source_details,
1799
2059
  :associated_insight_id,
1800
2060
  :resource_collection)
@@ -1830,7 +2090,8 @@ module Aws::DevOpsGuru
1830
2090
  # A collection of AWS resources supported by DevOps Guru. The one type
1831
2091
  # of AWS resource collection supported is AWS CloudFormation stacks.
1832
2092
  # DevOps Guru can be configured to analyze only the AWS resources that
1833
- # are defined in the stacks.
2093
+ # are defined in the stacks. You can specify up to 500 AWS
2094
+ # CloudFormation stacks.
1834
2095
  # @return [Types::ResourceCollection]
1835
2096
  #
1836
2097
  # @!attribute [rw] ssm_ops_item_id
@@ -1881,9 +2142,14 @@ module Aws::DevOpsGuru
1881
2142
  # A collection of AWS resources supported by DevOps Guru. The one type
1882
2143
  # of AWS resource collection supported is AWS CloudFormation stacks.
1883
2144
  # DevOps Guru can be configured to analyze only the AWS resources that
1884
- # are defined in the stacks.
2145
+ # are defined in the stacks. You can specify up to 500 AWS
2146
+ # CloudFormation stacks.
1885
2147
  # @return [Types::ResourceCollection]
1886
2148
  #
2149
+ # @!attribute [rw] service_collection
2150
+ # A collection of the names of AWS services.
2151
+ # @return [Types::ServiceCollection]
2152
+ #
1887
2153
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsightSummary AWS API Documentation
1888
2154
  #
1889
2155
  class ReactiveInsightSummary < Struct.new(
@@ -1892,7 +2158,8 @@ module Aws::DevOpsGuru
1892
2158
  :severity,
1893
2159
  :status,
1894
2160
  :insight_time_range,
1895
- :resource_collection)
2161
+ :resource_collection,
2162
+ :service_collection)
1896
2163
  SENSITIVE = []
1897
2164
  include Aws::Structure
1898
2165
  end
@@ -2031,7 +2298,8 @@ module Aws::DevOpsGuru
2031
2298
  #
2032
2299
  # @!attribute [rw] resources
2033
2300
  # A `ResourceCollection` object that contains arrays of the names of
2034
- # AWS CloudFormation stacks.
2301
+ # AWS CloudFormation stacks. You can specify up to 500 AWS
2302
+ # CloudFormation stacks.
2035
2303
  # @return [Array<Types::RecommendationRelatedEventResource>]
2036
2304
  #
2037
2305
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedEvent AWS API Documentation
@@ -2091,7 +2359,8 @@ module Aws::DevOpsGuru
2091
2359
  # A collection of AWS resources supported by DevOps Guru. The one type
2092
2360
  # of AWS resource collection supported is AWS CloudFormation stacks.
2093
2361
  # DevOps Guru can be configured to analyze only the AWS resources that
2094
- # are defined in the stacks.
2362
+ # are defined in the stacks. You can specify up to 500 AWS
2363
+ # CloudFormation stacks.
2095
2364
  #
2096
2365
  # @note When making an API call, you may pass ResourceCollection
2097
2366
  # data as a hash:
@@ -2104,7 +2373,8 @@ module Aws::DevOpsGuru
2104
2373
  #
2105
2374
  # @!attribute [rw] cloud_formation
2106
2375
  # An array of the names of AWS CloudFormation stacks. The stacks
2107
- # define AWS resources that DevOps Guru analyzes.
2376
+ # define AWS resources that DevOps Guru analyzes. You can specify up
2377
+ # to 500 AWS CloudFormation stacks.
2108
2378
  # @return [Types::CloudFormationCollection]
2109
2379
  #
2110
2380
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollection AWS API Documentation
@@ -2119,9 +2389,10 @@ module Aws::DevOpsGuru
2119
2389
  # analyzed for anomalous behavior by DevOps Guru.
2120
2390
  #
2121
2391
  # @!attribute [rw] cloud_formation
2122
- # Information about AWS CloudFormation stacks. You can use stacks to
2123
- # specify which AWS resources in your account to analyze. For more
2124
- # information, see [Stacks][1] in the *AWS CloudFormation User Guide*.
2392
+ # Information about AWS CloudFormation stacks. You can use up to 500
2393
+ # stacks to specify which AWS resources in your account to analyze.
2394
+ # For more information, see [Stacks][1] in the *AWS CloudFormation
2395
+ # User Guide*.
2125
2396
  #
2126
2397
  #
2127
2398
  #
@@ -2173,6 +2444,9 @@ module Aws::DevOpsGuru
2173
2444
  # stack_names: ["StackName"],
2174
2445
  # },
2175
2446
  # },
2447
+ # service_collection: {
2448
+ # service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
2449
+ # },
2176
2450
  # }
2177
2451
  #
2178
2452
  # @!attribute [rw] severities
@@ -2187,15 +2461,21 @@ module Aws::DevOpsGuru
2187
2461
  # A collection of AWS resources supported by DevOps Guru. The one type
2188
2462
  # of AWS resource collection supported is AWS CloudFormation stacks.
2189
2463
  # DevOps Guru can be configured to analyze only the AWS resources that
2190
- # are defined in the stacks.
2464
+ # are defined in the stacks. You can specify up to 500 AWS
2465
+ # CloudFormation stacks.
2191
2466
  # @return [Types::ResourceCollection]
2192
2467
  #
2468
+ # @!attribute [rw] service_collection
2469
+ # A collection of the names of AWS services.
2470
+ # @return [Types::ServiceCollection]
2471
+ #
2193
2472
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsightsFilters AWS API Documentation
2194
2473
  #
2195
2474
  class SearchInsightsFilters < Struct.new(
2196
2475
  :severities,
2197
2476
  :statuses,
2198
- :resource_collection)
2477
+ :resource_collection,
2478
+ :service_collection)
2199
2479
  SENSITIVE = []
2200
2480
  include Aws::Structure
2201
2481
  end
@@ -2216,6 +2496,9 @@ module Aws::DevOpsGuru
2216
2496
  # stack_names: ["StackName"],
2217
2497
  # },
2218
2498
  # },
2499
+ # service_collection: {
2500
+ # service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
2501
+ # },
2219
2502
  # },
2220
2503
  # max_results: 1,
2221
2504
  # next_token: "UuidNextToken",
@@ -2283,6 +2566,68 @@ module Aws::DevOpsGuru
2283
2566
  include Aws::Structure
2284
2567
  end
2285
2568
 
2569
+ # A collection of the names of AWS services.
2570
+ #
2571
+ # @note When making an API call, you may pass ServiceCollection
2572
+ # data as a hash:
2573
+ #
2574
+ # {
2575
+ # service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
2576
+ # }
2577
+ #
2578
+ # @!attribute [rw] service_names
2579
+ # An array of strings that each specifies the name of an AWS service.
2580
+ # @return [Array<String>]
2581
+ #
2582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceCollection AWS API Documentation
2583
+ #
2584
+ class ServiceCollection < Struct.new(
2585
+ :service_names)
2586
+ SENSITIVE = []
2587
+ include Aws::Structure
2588
+ end
2589
+
2590
+ # Represents the health of an AWS service.
2591
+ #
2592
+ # @!attribute [rw] service_name
2593
+ # The name of the AWS service.
2594
+ # @return [String]
2595
+ #
2596
+ # @!attribute [rw] insight
2597
+ # Represents the health of an AWS service. This is a
2598
+ # `ServiceInsightHealth` that contains the number of open proactive
2599
+ # and reactive insights for this service.
2600
+ # @return [Types::ServiceInsightHealth]
2601
+ #
2602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceHealth AWS API Documentation
2603
+ #
2604
+ class ServiceHealth < Struct.new(
2605
+ :service_name,
2606
+ :insight)
2607
+ SENSITIVE = []
2608
+ include Aws::Structure
2609
+ end
2610
+
2611
+ # Contains the number of open proactive and reactive insights in an
2612
+ # analyzed AWS service.
2613
+ #
2614
+ # @!attribute [rw] open_proactive_insights
2615
+ # The number of open proactive insights in the AWS service
2616
+ # @return [Integer]
2617
+ #
2618
+ # @!attribute [rw] open_reactive_insights
2619
+ # The number of open reactive insights in the AWS service
2620
+ # @return [Integer]
2621
+ #
2622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceInsightHealth AWS API Documentation
2623
+ #
2624
+ class ServiceInsightHealth < Struct.new(
2625
+ :open_proactive_insights,
2626
+ :open_reactive_insights)
2627
+ SENSITIVE = []
2628
+ include Aws::Structure
2629
+ end
2630
+
2286
2631
  # Information about the integration of DevOps Guru with another AWS
2287
2632
  # service, such as AWS Systems Manager.
2288
2633
  #
@@ -2312,6 +2657,59 @@ module Aws::DevOpsGuru
2312
2657
  include Aws::Structure
2313
2658
  end
2314
2659
 
2660
+ # An object that contains information about the estimated monthly cost
2661
+ # to analyze an AWS resource. For more information, see [Estimate your
2662
+ # Amazon DevOps Guru costs][1] and [Amazon DevOps Guru pricing][2].
2663
+ #
2664
+ #
2665
+ #
2666
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
2667
+ # [2]: http://aws.amazon.com/devops-guru/pricing/
2668
+ #
2669
+ # @!attribute [rw] type
2670
+ # The type of the AWS resource.
2671
+ # @return [String]
2672
+ #
2673
+ # @!attribute [rw] state
2674
+ # The state of the resource. The resource is `ACTIVE` if it produces
2675
+ # metrics, events, or logs within an hour, otherwise it is `INACTIVE`.
2676
+ # You pay for the number of active AWS resource hours analyzed for
2677
+ # each resource. Inactive resources are not charged.
2678
+ # @return [String]
2679
+ #
2680
+ # @!attribute [rw] count
2681
+ # The number of active resources analyzed for this service to create a
2682
+ # monthly cost estimate.
2683
+ # @return [Integer]
2684
+ #
2685
+ # @!attribute [rw] unit_cost
2686
+ # The price per hour to analyze the resources in the service. For more
2687
+ # information, see [Estimate your Amazon DevOps Guru costs][1] and
2688
+ # [Amazon DevOps Guru pricing][2].
2689
+ #
2690
+ #
2691
+ #
2692
+ # [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
2693
+ # [2]: http://aws.amazon.com/devops-guru/pricing/
2694
+ # @return [Float]
2695
+ #
2696
+ # @!attribute [rw] cost
2697
+ # The total estimated monthly cost to analyze the active resources for
2698
+ # this resource.
2699
+ # @return [Float]
2700
+ #
2701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceResourceCost AWS API Documentation
2702
+ #
2703
+ class ServiceResourceCost < Struct.new(
2704
+ :type,
2705
+ :state,
2706
+ :count,
2707
+ :unit_cost,
2708
+ :cost)
2709
+ SENSITIVE = []
2710
+ include Aws::Structure
2711
+ end
2712
+
2315
2713
  # Contains the Amazon Resource Name (ARN) of an Amazon Simple
2316
2714
  # Notification Service topic.
2317
2715
  #
@@ -2351,6 +2749,43 @@ module Aws::DevOpsGuru
2351
2749
  include Aws::Structure
2352
2750
  end
2353
2751
 
2752
+ # @note When making an API call, you may pass StartCostEstimationRequest
2753
+ # data as a hash:
2754
+ #
2755
+ # {
2756
+ # resource_collection: { # required
2757
+ # cloud_formation: {
2758
+ # stack_names: ["StackName"],
2759
+ # },
2760
+ # },
2761
+ # client_token: "ClientToken",
2762
+ # }
2763
+ #
2764
+ # @!attribute [rw] resource_collection
2765
+ # The collection of AWS resources used to create a monthly DevOps Guru
2766
+ # cost estimate.
2767
+ # @return [Types::CostEstimationResourceCollectionFilter]
2768
+ #
2769
+ # @!attribute [rw] client_token
2770
+ # The idempotency token used to identify each cost estimate request.
2771
+ #
2772
+ # **A suitable default value is auto-generated.** You should normally
2773
+ # not need to pass this option.
2774
+ # @return [String]
2775
+ #
2776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimationRequest AWS API Documentation
2777
+ #
2778
+ class StartCostEstimationRequest < Struct.new(
2779
+ :resource_collection,
2780
+ :client_token)
2781
+ SENSITIVE = []
2782
+ include Aws::Structure
2783
+ end
2784
+
2785
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimationResponse AWS API Documentation
2786
+ #
2787
+ class StartCostEstimationResponse < Aws::EmptyStructure; end
2788
+
2354
2789
  # A time range used to specify when the behavior of an insight or
2355
2790
  # anomaly started.
2356
2791
  #
@@ -2410,7 +2845,8 @@ module Aws::DevOpsGuru
2410
2845
  end
2411
2846
 
2412
2847
  # Contains the names of AWS CloudFormation stacks used to update a
2413
- # collection of stacks.
2848
+ # collection of stacks. You can specify up to 500 AWS CloudFormation
2849
+ # stacks.
2414
2850
  #
2415
2851
  # @note When making an API call, you may pass UpdateCloudFormationCollectionFilter
2416
2852
  # data as a hash:
@@ -2420,7 +2856,8 @@ module Aws::DevOpsGuru
2420
2856
  # }
2421
2857
  #
2422
2858
  # @!attribute [rw] stack_names
2423
- # An array of the name of stacks to update.
2859
+ # An array of the names of the AWS CloudFormation stacks to update.
2860
+ # You can specify up to 500 AWS CloudFormation stacks.
2424
2861
  # @return [Array<String>]
2425
2862
  #
2426
2863
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateCloudFormationCollectionFilter AWS API Documentation
@@ -2443,7 +2880,8 @@ module Aws::DevOpsGuru
2443
2880
  # }
2444
2881
  #
2445
2882
  # @!attribute [rw] cloud_formation
2446
- # An collection of AWS CloudFormation stacks.
2883
+ # An collection of AWS CloudFormation stacks. You can specify up to
2884
+ # 500 AWS CloudFormation stacks.
2447
2885
  # @return [Types::UpdateCloudFormationCollectionFilter]
2448
2886
  #
2449
2887
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollectionFilter AWS API Documentation