aws-sdk-devopsguru 1.1.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-devopsguru.rb +2 -2
- data/lib/aws-sdk-devopsguru/client.rb +155 -9
- data/lib/aws-sdk-devopsguru/client_api.rb +137 -1
- data/lib/aws-sdk-devopsguru/errors.rb +1 -1
- data/lib/aws-sdk-devopsguru/resource.rb +1 -1
- data/lib/aws-sdk-devopsguru/types.rb +429 -41
- metadata +11 -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/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -23,8 +23,10 @@ module Aws::DevOpsGuru
|
|
23
23
|
AnomalyStatus = Shapes::StringShape.new(name: 'AnomalyStatus')
|
24
24
|
AnomalyTimeRange = Shapes::StructureShape.new(name: 'AnomalyTimeRange')
|
25
25
|
Channels = Shapes::ListShape.new(name: 'Channels')
|
26
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
26
27
|
CloudFormationCollection = Shapes::StructureShape.new(name: 'CloudFormationCollection')
|
27
28
|
CloudFormationCollectionFilter = Shapes::StructureShape.new(name: 'CloudFormationCollectionFilter')
|
29
|
+
CloudFormationCostEstimationResourceCollectionFilter = Shapes::StructureShape.new(name: 'CloudFormationCostEstimationResourceCollectionFilter')
|
28
30
|
CloudFormationHealth = Shapes::StructureShape.new(name: 'CloudFormationHealth')
|
29
31
|
CloudFormationHealths = Shapes::ListShape.new(name: 'CloudFormationHealths')
|
30
32
|
CloudWatchMetricsDetail = Shapes::StructureShape.new(name: 'CloudWatchMetricsDetail')
|
@@ -39,12 +41,21 @@ module Aws::DevOpsGuru
|
|
39
41
|
CloudWatchMetricsStat = Shapes::StringShape.new(name: 'CloudWatchMetricsStat')
|
40
42
|
CloudWatchMetricsUnit = Shapes::StringShape.new(name: 'CloudWatchMetricsUnit')
|
41
43
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
44
|
+
Cost = Shapes::FloatShape.new(name: 'Cost')
|
45
|
+
CostEstimationResourceCollectionFilter = Shapes::StructureShape.new(name: 'CostEstimationResourceCollectionFilter')
|
46
|
+
CostEstimationServiceResourceCount = Shapes::IntegerShape.new(name: 'CostEstimationServiceResourceCount')
|
47
|
+
CostEstimationServiceResourceState = Shapes::StringShape.new(name: 'CostEstimationServiceResourceState')
|
48
|
+
CostEstimationStackNames = Shapes::ListShape.new(name: 'CostEstimationStackNames')
|
49
|
+
CostEstimationStatus = Shapes::StringShape.new(name: 'CostEstimationStatus')
|
50
|
+
CostEstimationTimeRange = Shapes::StructureShape.new(name: 'CostEstimationTimeRange')
|
42
51
|
DescribeAccountHealthRequest = Shapes::StructureShape.new(name: 'DescribeAccountHealthRequest')
|
43
52
|
DescribeAccountHealthResponse = Shapes::StructureShape.new(name: 'DescribeAccountHealthResponse')
|
44
53
|
DescribeAccountOverviewRequest = Shapes::StructureShape.new(name: 'DescribeAccountOverviewRequest')
|
45
54
|
DescribeAccountOverviewResponse = Shapes::StructureShape.new(name: 'DescribeAccountOverviewResponse')
|
46
55
|
DescribeAnomalyRequest = Shapes::StructureShape.new(name: 'DescribeAnomalyRequest')
|
47
56
|
DescribeAnomalyResponse = Shapes::StructureShape.new(name: 'DescribeAnomalyResponse')
|
57
|
+
DescribeFeedbackRequest = Shapes::StructureShape.new(name: 'DescribeFeedbackRequest')
|
58
|
+
DescribeFeedbackResponse = Shapes::StructureShape.new(name: 'DescribeFeedbackResponse')
|
48
59
|
DescribeInsightRequest = Shapes::StructureShape.new(name: 'DescribeInsightRequest')
|
49
60
|
DescribeInsightResponse = Shapes::StructureShape.new(name: 'DescribeInsightResponse')
|
50
61
|
DescribeResourceCollectionHealthRequest = Shapes::StructureShape.new(name: 'DescribeResourceCollectionHealthRequest')
|
@@ -69,6 +80,8 @@ module Aws::DevOpsGuru
|
|
69
80
|
EventSource = Shapes::StringShape.new(name: 'EventSource')
|
70
81
|
EventTimeRange = Shapes::StructureShape.new(name: 'EventTimeRange')
|
71
82
|
Events = Shapes::ListShape.new(name: 'Events')
|
83
|
+
GetCostEstimationRequest = Shapes::StructureShape.new(name: 'GetCostEstimationRequest')
|
84
|
+
GetCostEstimationResponse = Shapes::StructureShape.new(name: 'GetCostEstimationResponse')
|
72
85
|
GetResourceCollectionRequest = Shapes::StructureShape.new(name: 'GetResourceCollectionRequest')
|
73
86
|
GetResourceCollectionResponse = Shapes::StructureShape.new(name: 'GetResourceCollectionResponse')
|
74
87
|
InsightFeedback = Shapes::StructureShape.new(name: 'InsightFeedback')
|
@@ -101,6 +114,7 @@ module Aws::DevOpsGuru
|
|
101
114
|
ListNotificationChannelsResponse = Shapes::StructureShape.new(name: 'ListNotificationChannelsResponse')
|
102
115
|
ListRecommendationsRequest = Shapes::StructureShape.new(name: 'ListRecommendationsRequest')
|
103
116
|
ListRecommendationsResponse = Shapes::StructureShape.new(name: 'ListRecommendationsResponse')
|
117
|
+
Locale = Shapes::StringShape.new(name: 'Locale')
|
104
118
|
MeanTimeToRecoverInMilliseconds = Shapes::IntegerShape.new(name: 'MeanTimeToRecoverInMilliseconds')
|
105
119
|
NotificationChannel = Shapes::StructureShape.new(name: 'NotificationChannel')
|
106
120
|
NotificationChannelConfig = Shapes::StructureShape.new(name: 'NotificationChannelConfig')
|
@@ -158,20 +172,32 @@ module Aws::DevOpsGuru
|
|
158
172
|
ResourceCollection = Shapes::StructureShape.new(name: 'ResourceCollection')
|
159
173
|
ResourceCollectionFilter = Shapes::StructureShape.new(name: 'ResourceCollectionFilter')
|
160
174
|
ResourceCollectionType = Shapes::StringShape.new(name: 'ResourceCollectionType')
|
175
|
+
ResourceHours = Shapes::IntegerShape.new(name: 'ResourceHours')
|
161
176
|
ResourceIdString = Shapes::StringShape.new(name: 'ResourceIdString')
|
162
177
|
ResourceIdType = Shapes::StringShape.new(name: 'ResourceIdType')
|
163
178
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
179
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
164
180
|
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
165
181
|
SearchInsightsFilters = Shapes::StructureShape.new(name: 'SearchInsightsFilters')
|
166
182
|
SearchInsightsMaxResults = Shapes::IntegerShape.new(name: 'SearchInsightsMaxResults')
|
167
183
|
SearchInsightsRequest = Shapes::StructureShape.new(name: 'SearchInsightsRequest')
|
168
184
|
SearchInsightsResponse = Shapes::StructureShape.new(name: 'SearchInsightsResponse')
|
185
|
+
ServiceCollection = Shapes::StructureShape.new(name: 'ServiceCollection')
|
186
|
+
ServiceHealth = Shapes::StructureShape.new(name: 'ServiceHealth')
|
187
|
+
ServiceHealths = Shapes::ListShape.new(name: 'ServiceHealths')
|
188
|
+
ServiceInsightHealth = Shapes::StructureShape.new(name: 'ServiceInsightHealth')
|
169
189
|
ServiceIntegrationConfig = Shapes::StructureShape.new(name: 'ServiceIntegrationConfig')
|
190
|
+
ServiceName = Shapes::StringShape.new(name: 'ServiceName')
|
191
|
+
ServiceNames = Shapes::ListShape.new(name: 'ServiceNames')
|
170
192
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
193
|
+
ServiceResourceCost = Shapes::StructureShape.new(name: 'ServiceResourceCost')
|
194
|
+
ServiceResourceCosts = Shapes::ListShape.new(name: 'ServiceResourceCosts')
|
171
195
|
SnsChannelConfig = Shapes::StructureShape.new(name: 'SnsChannelConfig')
|
172
196
|
SsmOpsItemId = Shapes::StringShape.new(name: 'SsmOpsItemId')
|
173
197
|
StackName = Shapes::StringShape.new(name: 'StackName')
|
174
198
|
StackNames = Shapes::ListShape.new(name: 'StackNames')
|
199
|
+
StartCostEstimationRequest = Shapes::StructureShape.new(name: 'StartCostEstimationRequest')
|
200
|
+
StartCostEstimationResponse = Shapes::StructureShape.new(name: 'StartCostEstimationResponse')
|
175
201
|
StartTimeRange = Shapes::StructureShape.new(name: 'StartTimeRange')
|
176
202
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
177
203
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
@@ -215,6 +241,9 @@ module Aws::DevOpsGuru
|
|
215
241
|
CloudFormationCollectionFilter.add_member(:stack_names, Shapes::ShapeRef.new(shape: StackNames, location_name: "StackNames"))
|
216
242
|
CloudFormationCollectionFilter.struct_class = Types::CloudFormationCollectionFilter
|
217
243
|
|
244
|
+
CloudFormationCostEstimationResourceCollectionFilter.add_member(:stack_names, Shapes::ShapeRef.new(shape: CostEstimationStackNames, location_name: "StackNames"))
|
245
|
+
CloudFormationCostEstimationResourceCollectionFilter.struct_class = Types::CloudFormationCostEstimationResourceCollectionFilter
|
246
|
+
|
218
247
|
CloudFormationHealth.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName"))
|
219
248
|
CloudFormationHealth.add_member(:insight, Shapes::ShapeRef.new(shape: InsightHealth, location_name: "Insight"))
|
220
249
|
CloudFormationHealth.struct_class = Types::CloudFormationHealth
|
@@ -242,11 +271,21 @@ module Aws::DevOpsGuru
|
|
242
271
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ResourceType"))
|
243
272
|
ConflictException.struct_class = Types::ConflictException
|
244
273
|
|
274
|
+
CostEstimationResourceCollectionFilter.add_member(:cloud_formation, Shapes::ShapeRef.new(shape: CloudFormationCostEstimationResourceCollectionFilter, location_name: "CloudFormation"))
|
275
|
+
CostEstimationResourceCollectionFilter.struct_class = Types::CostEstimationResourceCollectionFilter
|
276
|
+
|
277
|
+
CostEstimationStackNames.member = Shapes::ShapeRef.new(shape: StackName)
|
278
|
+
|
279
|
+
CostEstimationTimeRange.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
280
|
+
CostEstimationTimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
281
|
+
CostEstimationTimeRange.struct_class = Types::CostEstimationTimeRange
|
282
|
+
|
245
283
|
DescribeAccountHealthRequest.struct_class = Types::DescribeAccountHealthRequest
|
246
284
|
|
247
285
|
DescribeAccountHealthResponse.add_member(:open_reactive_insights, Shapes::ShapeRef.new(shape: NumOpenReactiveInsights, required: true, location_name: "OpenReactiveInsights"))
|
248
286
|
DescribeAccountHealthResponse.add_member(:open_proactive_insights, Shapes::ShapeRef.new(shape: NumOpenProactiveInsights, required: true, location_name: "OpenProactiveInsights"))
|
249
287
|
DescribeAccountHealthResponse.add_member(:metrics_analyzed, Shapes::ShapeRef.new(shape: NumMetricsAnalyzed, required: true, location_name: "MetricsAnalyzed"))
|
288
|
+
DescribeAccountHealthResponse.add_member(:resource_hours, Shapes::ShapeRef.new(shape: ResourceHours, required: true, location_name: "ResourceHours"))
|
250
289
|
DescribeAccountHealthResponse.struct_class = Types::DescribeAccountHealthResponse
|
251
290
|
|
252
291
|
DescribeAccountOverviewRequest.add_member(:from_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "FromTime"))
|
@@ -265,6 +304,12 @@ module Aws::DevOpsGuru
|
|
265
304
|
DescribeAnomalyResponse.add_member(:reactive_anomaly, Shapes::ShapeRef.new(shape: ReactiveAnomaly, location_name: "ReactiveAnomaly"))
|
266
305
|
DescribeAnomalyResponse.struct_class = Types::DescribeAnomalyResponse
|
267
306
|
|
307
|
+
DescribeFeedbackRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
|
308
|
+
DescribeFeedbackRequest.struct_class = Types::DescribeFeedbackRequest
|
309
|
+
|
310
|
+
DescribeFeedbackResponse.add_member(:insight_feedback, Shapes::ShapeRef.new(shape: InsightFeedback, location_name: "InsightFeedback"))
|
311
|
+
DescribeFeedbackResponse.struct_class = Types::DescribeFeedbackResponse
|
312
|
+
|
268
313
|
DescribeInsightRequest.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, required: true, location: "uri", location_name: "Id"))
|
269
314
|
DescribeInsightRequest.struct_class = Types::DescribeInsightRequest
|
270
315
|
|
@@ -277,6 +322,7 @@ module Aws::DevOpsGuru
|
|
277
322
|
DescribeResourceCollectionHealthRequest.struct_class = Types::DescribeResourceCollectionHealthRequest
|
278
323
|
|
279
324
|
DescribeResourceCollectionHealthResponse.add_member(:cloud_formation, Shapes::ShapeRef.new(shape: CloudFormationHealths, required: true, location_name: "CloudFormation"))
|
325
|
+
DescribeResourceCollectionHealthResponse.add_member(:service, Shapes::ShapeRef.new(shape: ServiceHealths, location_name: "Service"))
|
280
326
|
DescribeResourceCollectionHealthResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
281
327
|
DescribeResourceCollectionHealthResponse.struct_class = Types::DescribeResourceCollectionHealthResponse
|
282
328
|
|
@@ -312,6 +358,17 @@ module Aws::DevOpsGuru
|
|
312
358
|
|
313
359
|
Events.member = Shapes::ShapeRef.new(shape: Event)
|
314
360
|
|
361
|
+
GetCostEstimationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location: "querystring", location_name: "NextToken"))
|
362
|
+
GetCostEstimationRequest.struct_class = Types::GetCostEstimationRequest
|
363
|
+
|
364
|
+
GetCostEstimationResponse.add_member(:resource_collection, Shapes::ShapeRef.new(shape: CostEstimationResourceCollectionFilter, location_name: "ResourceCollection"))
|
365
|
+
GetCostEstimationResponse.add_member(:status, Shapes::ShapeRef.new(shape: CostEstimationStatus, location_name: "Status"))
|
366
|
+
GetCostEstimationResponse.add_member(:costs, Shapes::ShapeRef.new(shape: ServiceResourceCosts, location_name: "Costs"))
|
367
|
+
GetCostEstimationResponse.add_member(:time_range, Shapes::ShapeRef.new(shape: CostEstimationTimeRange, location_name: "TimeRange"))
|
368
|
+
GetCostEstimationResponse.add_member(:total_cost, Shapes::ShapeRef.new(shape: Cost, location_name: "TotalCost"))
|
369
|
+
GetCostEstimationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
370
|
+
GetCostEstimationResponse.struct_class = Types::GetCostEstimationResponse
|
371
|
+
|
315
372
|
GetResourceCollectionRequest.add_member(:resource_collection_type, Shapes::ShapeRef.new(shape: ResourceCollectionType, required: true, location: "uri", location_name: "ResourceCollectionType"))
|
316
373
|
GetResourceCollectionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location: "querystring", location_name: "NextToken"))
|
317
374
|
GetResourceCollectionRequest.struct_class = Types::GetResourceCollectionRequest
|
@@ -404,6 +461,7 @@ module Aws::DevOpsGuru
|
|
404
461
|
|
405
462
|
ListRecommendationsRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
|
406
463
|
ListRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
464
|
+
ListRecommendationsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "Locale"))
|
407
465
|
ListRecommendationsRequest.struct_class = Types::ListRecommendationsRequest
|
408
466
|
|
409
467
|
ListRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: Recommendations, location_name: "Recommendations"))
|
@@ -470,6 +528,7 @@ module Aws::DevOpsGuru
|
|
470
528
|
ProactiveInsightSummary.add_member(:insight_time_range, Shapes::ShapeRef.new(shape: InsightTimeRange, location_name: "InsightTimeRange"))
|
471
529
|
ProactiveInsightSummary.add_member(:prediction_time_range, Shapes::ShapeRef.new(shape: PredictionTimeRange, location_name: "PredictionTimeRange"))
|
472
530
|
ProactiveInsightSummary.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
|
531
|
+
ProactiveInsightSummary.add_member(:service_collection, Shapes::ShapeRef.new(shape: ServiceCollection, location_name: "ServiceCollection"))
|
473
532
|
ProactiveInsightSummary.struct_class = Types::ProactiveInsightSummary
|
474
533
|
|
475
534
|
ProactiveInsights.member = Shapes::ShapeRef.new(shape: ProactiveInsightSummary)
|
@@ -514,6 +573,7 @@ module Aws::DevOpsGuru
|
|
514
573
|
ReactiveInsightSummary.add_member(:status, Shapes::ShapeRef.new(shape: InsightStatus, location_name: "Status"))
|
515
574
|
ReactiveInsightSummary.add_member(:insight_time_range, Shapes::ShapeRef.new(shape: InsightTimeRange, location_name: "InsightTimeRange"))
|
516
575
|
ReactiveInsightSummary.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
|
576
|
+
ReactiveInsightSummary.add_member(:service_collection, Shapes::ShapeRef.new(shape: ServiceCollection, location_name: "ServiceCollection"))
|
517
577
|
ReactiveInsightSummary.struct_class = Types::ReactiveInsightSummary
|
518
578
|
|
519
579
|
ReactiveInsights.member = Shapes::ShapeRef.new(shape: ReactiveInsightSummary)
|
@@ -582,6 +642,7 @@ module Aws::DevOpsGuru
|
|
582
642
|
SearchInsightsFilters.add_member(:severities, Shapes::ShapeRef.new(shape: InsightSeverities, location_name: "Severities"))
|
583
643
|
SearchInsightsFilters.add_member(:statuses, Shapes::ShapeRef.new(shape: InsightStatuses, location_name: "Statuses"))
|
584
644
|
SearchInsightsFilters.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
|
645
|
+
SearchInsightsFilters.add_member(:service_collection, Shapes::ShapeRef.new(shape: ServiceCollection, location_name: "ServiceCollection"))
|
585
646
|
SearchInsightsFilters.struct_class = Types::SearchInsightsFilters
|
586
647
|
|
587
648
|
SearchInsightsRequest.add_member(:start_time_range, Shapes::ShapeRef.new(shape: StartTimeRange, required: true, location_name: "StartTimeRange"))
|
@@ -596,17 +657,47 @@ module Aws::DevOpsGuru
|
|
596
657
|
SearchInsightsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
597
658
|
SearchInsightsResponse.struct_class = Types::SearchInsightsResponse
|
598
659
|
|
660
|
+
ServiceCollection.add_member(:service_names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "ServiceNames"))
|
661
|
+
ServiceCollection.struct_class = Types::ServiceCollection
|
662
|
+
|
663
|
+
ServiceHealth.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "ServiceName"))
|
664
|
+
ServiceHealth.add_member(:insight, Shapes::ShapeRef.new(shape: ServiceInsightHealth, location_name: "Insight"))
|
665
|
+
ServiceHealth.struct_class = Types::ServiceHealth
|
666
|
+
|
667
|
+
ServiceHealths.member = Shapes::ShapeRef.new(shape: ServiceHealth)
|
668
|
+
|
669
|
+
ServiceInsightHealth.add_member(:open_proactive_insights, Shapes::ShapeRef.new(shape: NumOpenProactiveInsights, location_name: "OpenProactiveInsights"))
|
670
|
+
ServiceInsightHealth.add_member(:open_reactive_insights, Shapes::ShapeRef.new(shape: NumOpenReactiveInsights, location_name: "OpenReactiveInsights"))
|
671
|
+
ServiceInsightHealth.struct_class = Types::ServiceInsightHealth
|
672
|
+
|
599
673
|
ServiceIntegrationConfig.add_member(:ops_center, Shapes::ShapeRef.new(shape: OpsCenterIntegration, location_name: "OpsCenter"))
|
600
674
|
ServiceIntegrationConfig.struct_class = Types::ServiceIntegrationConfig
|
601
675
|
|
676
|
+
ServiceNames.member = Shapes::ShapeRef.new(shape: ServiceName)
|
677
|
+
|
602
678
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageString, location_name: "Message"))
|
603
679
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
604
680
|
|
681
|
+
ServiceResourceCost.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "Type"))
|
682
|
+
ServiceResourceCost.add_member(:state, Shapes::ShapeRef.new(shape: CostEstimationServiceResourceState, location_name: "State"))
|
683
|
+
ServiceResourceCost.add_member(:count, Shapes::ShapeRef.new(shape: CostEstimationServiceResourceCount, location_name: "Count"))
|
684
|
+
ServiceResourceCost.add_member(:unit_cost, Shapes::ShapeRef.new(shape: Cost, location_name: "UnitCost"))
|
685
|
+
ServiceResourceCost.add_member(:cost, Shapes::ShapeRef.new(shape: Cost, location_name: "Cost"))
|
686
|
+
ServiceResourceCost.struct_class = Types::ServiceResourceCost
|
687
|
+
|
688
|
+
ServiceResourceCosts.member = Shapes::ShapeRef.new(shape: ServiceResourceCost)
|
689
|
+
|
605
690
|
SnsChannelConfig.add_member(:topic_arn, Shapes::ShapeRef.new(shape: TopicArn, location_name: "TopicArn"))
|
606
691
|
SnsChannelConfig.struct_class = Types::SnsChannelConfig
|
607
692
|
|
608
693
|
StackNames.member = Shapes::ShapeRef.new(shape: StackName)
|
609
694
|
|
695
|
+
StartCostEstimationRequest.add_member(:resource_collection, Shapes::ShapeRef.new(shape: CostEstimationResourceCollectionFilter, required: true, location_name: "ResourceCollection"))
|
696
|
+
StartCostEstimationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
697
|
+
StartCostEstimationRequest.struct_class = Types::StartCostEstimationRequest
|
698
|
+
|
699
|
+
StartCostEstimationResponse.struct_class = Types::StartCostEstimationResponse
|
700
|
+
|
610
701
|
StartTimeRange.add_member(:from_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "FromTime"))
|
611
702
|
StartTimeRange.add_member(:to_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ToTime"))
|
612
703
|
StartTimeRange.struct_class = Types::StartTimeRange
|
@@ -720,6 +811,19 @@ module Aws::DevOpsGuru
|
|
720
811
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
721
812
|
end)
|
722
813
|
|
814
|
+
api.add_operation(:describe_feedback, Seahorse::Model::Operation.new.tap do |o|
|
815
|
+
o.name = "DescribeFeedback"
|
816
|
+
o.http_method = "POST"
|
817
|
+
o.http_request_uri = "/feedback"
|
818
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFeedbackRequest)
|
819
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFeedbackResponse)
|
820
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
825
|
+
end)
|
826
|
+
|
723
827
|
api.add_operation(:describe_insight, Seahorse::Model::Operation.new.tap do |o|
|
724
828
|
o.name = "DescribeInsight"
|
725
829
|
o.http_method = "GET"
|
@@ -762,6 +866,24 @@ module Aws::DevOpsGuru
|
|
762
866
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
763
867
|
end)
|
764
868
|
|
869
|
+
api.add_operation(:get_cost_estimation, Seahorse::Model::Operation.new.tap do |o|
|
870
|
+
o.name = "GetCostEstimation"
|
871
|
+
o.http_method = "GET"
|
872
|
+
o.http_request_uri = "/cost-estimation"
|
873
|
+
o.input = Shapes::ShapeRef.new(shape: GetCostEstimationRequest)
|
874
|
+
o.output = Shapes::ShapeRef.new(shape: GetCostEstimationResponse)
|
875
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
876
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
878
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
879
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
880
|
+
o[:pager] = Aws::Pager.new(
|
881
|
+
tokens: {
|
882
|
+
"next_token" => "next_token"
|
883
|
+
}
|
884
|
+
)
|
885
|
+
end)
|
886
|
+
|
765
887
|
api.add_operation(:get_resource_collection, Seahorse::Model::Operation.new.tap do |o|
|
766
888
|
o.name = "GetResourceCollection"
|
767
889
|
o.http_method = "GET"
|
@@ -917,6 +1039,20 @@ module Aws::DevOpsGuru
|
|
917
1039
|
)
|
918
1040
|
end)
|
919
1041
|
|
1042
|
+
api.add_operation(:start_cost_estimation, Seahorse::Model::Operation.new.tap do |o|
|
1043
|
+
o.name = "StartCostEstimation"
|
1044
|
+
o.http_method = "PUT"
|
1045
|
+
o.http_request_uri = "/cost-estimation"
|
1046
|
+
o.input = Shapes::ShapeRef.new(shape: StartCostEstimationRequest)
|
1047
|
+
o.output = Shapes::ShapeRef.new(shape: StartCostEstimationResponse)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1049
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1050
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1052
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1053
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1054
|
+
end)
|
1055
|
+
|
920
1056
|
api.add_operation(:update_resource_collection, Seahorse::Model::Operation.new.tap do |o|
|
921
1057
|
o.name = "UpdateResourceCollection"
|
922
1058
|
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/
|
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/
|
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/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -105,9 +105,10 @@ module Aws::DevOpsGuru
|
|
105
105
|
include Aws::Structure
|
106
106
|
end
|
107
107
|
|
108
|
-
# Information about AWS CloudFormation stacks. You can use
|
109
|
-
# specify which AWS resources in your account to analyze. For
|
110
|
-
# information, see [Stacks][1] in the *AWS CloudFormation User
|
108
|
+
# Information about AWS CloudFormation stacks. You can use up to 500
|
109
|
+
# stacks to specify which AWS resources in your account to analyze. For
|
110
|
+
# more information, see [Stacks][1] in the *AWS CloudFormation User
|
111
|
+
# Guide*.
|
111
112
|
#
|
112
113
|
#
|
113
114
|
#
|
@@ -132,9 +133,10 @@ module Aws::DevOpsGuru
|
|
132
133
|
include Aws::Structure
|
133
134
|
end
|
134
135
|
|
135
|
-
# Information about AWS CloudFormation stacks. You can use
|
136
|
-
# specify which AWS resources in your account to analyze. For
|
137
|
-
# information, see [Stacks][1] in the *AWS CloudFormation User
|
136
|
+
# Information about AWS CloudFormation stacks. You can use up to 500
|
137
|
+
# stacks to specify which AWS resources in your account to analyze. For
|
138
|
+
# more information, see [Stacks][1] in the *AWS CloudFormation User
|
139
|
+
# Guide*.
|
138
140
|
#
|
139
141
|
#
|
140
142
|
#
|
@@ -152,6 +154,36 @@ module Aws::DevOpsGuru
|
|
152
154
|
include Aws::Structure
|
153
155
|
end
|
154
156
|
|
157
|
+
# Information about an AWS CloudFormation stack used to create a monthly
|
158
|
+
# cost estimate for DevOps Guru to analyze AWS resources. The maximum
|
159
|
+
# number of stacks you can specify for a cost estimate is one. The
|
160
|
+
# estimate created is for the cost to analyze the AWS resources defined
|
161
|
+
# by the stack. For more information, see [Stacks][1] in the *AWS
|
162
|
+
# CloudFormation User Guide*.
|
163
|
+
#
|
164
|
+
#
|
165
|
+
#
|
166
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
|
167
|
+
#
|
168
|
+
# @note When making an API call, you may pass CloudFormationCostEstimationResourceCollectionFilter
|
169
|
+
# data as a hash:
|
170
|
+
#
|
171
|
+
# {
|
172
|
+
# stack_names: ["StackName"],
|
173
|
+
# }
|
174
|
+
#
|
175
|
+
# @!attribute [rw] stack_names
|
176
|
+
# An array of CloudFormation stack names. Its size is fixed at 1 item.
|
177
|
+
# @return [Array<String>]
|
178
|
+
#
|
179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudFormationCostEstimationResourceCollectionFilter AWS API Documentation
|
180
|
+
#
|
181
|
+
class CloudFormationCostEstimationResourceCollectionFilter < Struct.new(
|
182
|
+
:stack_names)
|
183
|
+
SENSITIVE = []
|
184
|
+
include Aws::Structure
|
185
|
+
end
|
186
|
+
|
155
187
|
# Information about the health of AWS resources in your account that are
|
156
188
|
# specified by an AWS CloudFormation stack.
|
157
189
|
#
|
@@ -225,7 +257,7 @@ module Aws::DevOpsGuru
|
|
225
257
|
|
226
258
|
# The dimension of a Amazon CloudWatch metric that is used when DevOps
|
227
259
|
# Guru analyzes the resources in your account for operational problems
|
228
|
-
# and anomalous
|
260
|
+
# and anomalous behavior. A dimension is a name/value pair that is part
|
229
261
|
# of the identity of a metric. A metric can have up to 10 dimensions.
|
230
262
|
# For more information, see [Dimensions][1] in the *Amazon CloudWatch
|
231
263
|
# User Guide*.
|
@@ -274,6 +306,57 @@ module Aws::DevOpsGuru
|
|
274
306
|
include Aws::Structure
|
275
307
|
end
|
276
308
|
|
309
|
+
# Information about a filter used to specify which AWS resources are
|
310
|
+
# analyzed to create a monthly DevOps Guru cost estimate. For more
|
311
|
+
# information, see [Estimate your Amazon DevOps Guru costs][1] and
|
312
|
+
# [Amazon DevOps Guru pricing][2].
|
313
|
+
#
|
314
|
+
#
|
315
|
+
#
|
316
|
+
# [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
|
317
|
+
# [2]: http://aws.amazon.com/devops-guru/pricing/
|
318
|
+
#
|
319
|
+
# @note When making an API call, you may pass CostEstimationResourceCollectionFilter
|
320
|
+
# data as a hash:
|
321
|
+
#
|
322
|
+
# {
|
323
|
+
# cloud_formation: {
|
324
|
+
# stack_names: ["StackName"],
|
325
|
+
# },
|
326
|
+
# }
|
327
|
+
#
|
328
|
+
# @!attribute [rw] cloud_formation
|
329
|
+
# An object that specifies the CloudFormation stack that defines the
|
330
|
+
# AWS resources used to create a monthly estimate for DevOps Guru.
|
331
|
+
# @return [Types::CloudFormationCostEstimationResourceCollectionFilter]
|
332
|
+
#
|
333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CostEstimationResourceCollectionFilter AWS API Documentation
|
334
|
+
#
|
335
|
+
class CostEstimationResourceCollectionFilter < Struct.new(
|
336
|
+
:cloud_formation)
|
337
|
+
SENSITIVE = []
|
338
|
+
include Aws::Structure
|
339
|
+
end
|
340
|
+
|
341
|
+
# The time range of a cost estimation.
|
342
|
+
#
|
343
|
+
# @!attribute [rw] start_time
|
344
|
+
# The start time of the cost estimation.
|
345
|
+
# @return [Time]
|
346
|
+
#
|
347
|
+
# @!attribute [rw] end_time
|
348
|
+
# The end time of the cost estimation.
|
349
|
+
# @return [Time]
|
350
|
+
#
|
351
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CostEstimationTimeRange AWS API Documentation
|
352
|
+
#
|
353
|
+
class CostEstimationTimeRange < Struct.new(
|
354
|
+
:start_time,
|
355
|
+
:end_time)
|
356
|
+
SENSITIVE = []
|
357
|
+
include Aws::Structure
|
358
|
+
end
|
359
|
+
|
277
360
|
# @api private
|
278
361
|
#
|
279
362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthRequest AWS API Documentation
|
@@ -295,12 +378,18 @@ module Aws::DevOpsGuru
|
|
295
378
|
# analyzed in your AWS account.
|
296
379
|
# @return [Integer]
|
297
380
|
#
|
381
|
+
# @!attribute [rw] resource_hours
|
382
|
+
# The number of Amazon DevOps Guru resource analysis hours billed to
|
383
|
+
# the current AWS account in the last hour.
|
384
|
+
# @return [Integer]
|
385
|
+
#
|
298
386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthResponse AWS API Documentation
|
299
387
|
#
|
300
388
|
class DescribeAccountHealthResponse < Struct.new(
|
301
389
|
:open_reactive_insights,
|
302
390
|
:open_proactive_insights,
|
303
|
-
:metrics_analyzed
|
391
|
+
:metrics_analyzed,
|
392
|
+
:resource_hours)
|
304
393
|
SENSITIVE = []
|
305
394
|
include Aws::Structure
|
306
395
|
end
|
@@ -380,11 +469,11 @@ module Aws::DevOpsGuru
|
|
380
469
|
end
|
381
470
|
|
382
471
|
# @!attribute [rw] proactive_anomaly
|
383
|
-
#
|
472
|
+
# A `ReactiveAnomaly` object that represents the requested anomaly.
|
384
473
|
# @return [Types::ProactiveAnomaly]
|
385
474
|
#
|
386
475
|
# @!attribute [rw] reactive_anomaly
|
387
|
-
#
|
476
|
+
# A `ProactiveAnomaly` object that represents the requested anomaly.
|
388
477
|
# @return [Types::ReactiveAnomaly]
|
389
478
|
#
|
390
479
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomalyResponse AWS API Documentation
|
@@ -396,6 +485,37 @@ module Aws::DevOpsGuru
|
|
396
485
|
include Aws::Structure
|
397
486
|
end
|
398
487
|
|
488
|
+
# @note When making an API call, you may pass DescribeFeedbackRequest
|
489
|
+
# data as a hash:
|
490
|
+
#
|
491
|
+
# {
|
492
|
+
# insight_id: "InsightId",
|
493
|
+
# }
|
494
|
+
#
|
495
|
+
# @!attribute [rw] insight_id
|
496
|
+
# The ID of the insight for which the feedback was provided.
|
497
|
+
# @return [String]
|
498
|
+
#
|
499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedbackRequest AWS API Documentation
|
500
|
+
#
|
501
|
+
class DescribeFeedbackRequest < Struct.new(
|
502
|
+
:insight_id)
|
503
|
+
SENSITIVE = []
|
504
|
+
include Aws::Structure
|
505
|
+
end
|
506
|
+
|
507
|
+
# @!attribute [rw] insight_feedback
|
508
|
+
# Information about insight feedback received from a customer.
|
509
|
+
# @return [Types::InsightFeedback]
|
510
|
+
#
|
511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedbackResponse AWS API Documentation
|
512
|
+
#
|
513
|
+
class DescribeFeedbackResponse < Struct.new(
|
514
|
+
:insight_feedback)
|
515
|
+
SENSITIVE = []
|
516
|
+
include Aws::Structure
|
517
|
+
end
|
518
|
+
|
399
519
|
# @note When making an API call, you may pass DescribeInsightRequest
|
400
520
|
# data as a hash:
|
401
521
|
#
|
@@ -416,11 +536,11 @@ module Aws::DevOpsGuru
|
|
416
536
|
end
|
417
537
|
|
418
538
|
# @!attribute [rw] proactive_insight
|
419
|
-
#
|
539
|
+
# A `ProactiveInsight` object that represents the requested insight.
|
420
540
|
# @return [Types::ProactiveInsight]
|
421
541
|
#
|
422
542
|
# @!attribute [rw] reactive_insight
|
423
|
-
#
|
543
|
+
# A `ReactiveInsight` object that represents the requested insight.
|
424
544
|
# @return [Types::ReactiveInsight]
|
425
545
|
#
|
426
546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsightResponse AWS API Documentation
|
@@ -436,7 +556,7 @@ module Aws::DevOpsGuru
|
|
436
556
|
# data as a hash:
|
437
557
|
#
|
438
558
|
# {
|
439
|
-
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
|
559
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
|
440
560
|
# next_token: "UuidNextToken",
|
441
561
|
# }
|
442
562
|
#
|
@@ -445,7 +565,7 @@ module Aws::DevOpsGuru
|
|
445
565
|
# AWS resources are defined. The one type of AWS resource collection
|
446
566
|
# supported is AWS CloudFormation stacks. DevOps Guru can be
|
447
567
|
# configured to analyze only the AWS resources that are defined in the
|
448
|
-
# stacks.
|
568
|
+
# stacks. You can specify up to 500 AWS CloudFormation stacks.
|
449
569
|
# @return [String]
|
450
570
|
#
|
451
571
|
# @!attribute [rw] next_token
|
@@ -468,6 +588,11 @@ module Aws::DevOpsGuru
|
|
468
588
|
# information.
|
469
589
|
# @return [Array<Types::CloudFormationHealth>]
|
470
590
|
#
|
591
|
+
# @!attribute [rw] service
|
592
|
+
# An array of `ServiceHealth` objects that describes the health of the
|
593
|
+
# AWS services associated with the resources in the collection.
|
594
|
+
# @return [Array<Types::ServiceHealth>]
|
595
|
+
#
|
471
596
|
# @!attribute [rw] next_token
|
472
597
|
# The pagination token to use to retrieve the next page of results for
|
473
598
|
# this operation. If there are no more pages, this value is null.
|
@@ -477,6 +602,7 @@ module Aws::DevOpsGuru
|
|
477
602
|
#
|
478
603
|
class DescribeResourceCollectionHealthResponse < Struct.new(
|
479
604
|
:cloud_formation,
|
605
|
+
:service,
|
480
606
|
:next_token)
|
481
607
|
SENSITIVE = []
|
482
608
|
include Aws::Structure
|
@@ -537,7 +663,8 @@ module Aws::DevOpsGuru
|
|
537
663
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
538
664
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
539
665
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
540
|
-
# are defined in the stacks.
|
666
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
667
|
+
# CloudFormation stacks.
|
541
668
|
# @return [Types::ResourceCollection]
|
542
669
|
#
|
543
670
|
# @!attribute [rw] id
|
@@ -643,11 +770,75 @@ module Aws::DevOpsGuru
|
|
643
770
|
include Aws::Structure
|
644
771
|
end
|
645
772
|
|
773
|
+
# @note When making an API call, you may pass GetCostEstimationRequest
|
774
|
+
# data as a hash:
|
775
|
+
#
|
776
|
+
# {
|
777
|
+
# next_token: "UuidNextToken",
|
778
|
+
# }
|
779
|
+
#
|
780
|
+
# @!attribute [rw] next_token
|
781
|
+
# The pagination token to use to retrieve the next page of results for
|
782
|
+
# this operation. If this value is null, it retrieves the first page.
|
783
|
+
# @return [String]
|
784
|
+
#
|
785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimationRequest AWS API Documentation
|
786
|
+
#
|
787
|
+
class GetCostEstimationRequest < Struct.new(
|
788
|
+
:next_token)
|
789
|
+
SENSITIVE = []
|
790
|
+
include Aws::Structure
|
791
|
+
end
|
792
|
+
|
793
|
+
# @!attribute [rw] resource_collection
|
794
|
+
# The collection of the AWS resources used to create your monthly
|
795
|
+
# DevOps Guru cost estimate.
|
796
|
+
# @return [Types::CostEstimationResourceCollectionFilter]
|
797
|
+
#
|
798
|
+
# @!attribute [rw] status
|
799
|
+
# The status of creating this cost estimate. If it's still in
|
800
|
+
# progress, the status `ONGOING` is returned. If it is finished, the
|
801
|
+
# status `COMPLETED` is returned.
|
802
|
+
# @return [String]
|
803
|
+
#
|
804
|
+
# @!attribute [rw] costs
|
805
|
+
# An array of `ResourceCost` objects that each contains details about
|
806
|
+
# the monthly cost estimate to analyze one of your AWS resources.
|
807
|
+
# @return [Array<Types::ServiceResourceCost>]
|
808
|
+
#
|
809
|
+
# @!attribute [rw] time_range
|
810
|
+
# The start and end time of the cost estimation.
|
811
|
+
# @return [Types::CostEstimationTimeRange]
|
812
|
+
#
|
813
|
+
# @!attribute [rw] total_cost
|
814
|
+
# The estimated monthly cost to analyze the AWS resources. This value
|
815
|
+
# is the sum of the estimated costs to analyze each resource in the
|
816
|
+
# `Costs` object in this response.
|
817
|
+
# @return [Float]
|
818
|
+
#
|
819
|
+
# @!attribute [rw] next_token
|
820
|
+
# The pagination token to use to retrieve the next page of results for
|
821
|
+
# this operation. If there are no more pages, this value is null.
|
822
|
+
# @return [String]
|
823
|
+
#
|
824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimationResponse AWS API Documentation
|
825
|
+
#
|
826
|
+
class GetCostEstimationResponse < Struct.new(
|
827
|
+
:resource_collection,
|
828
|
+
:status,
|
829
|
+
:costs,
|
830
|
+
:time_range,
|
831
|
+
:total_cost,
|
832
|
+
:next_token)
|
833
|
+
SENSITIVE = []
|
834
|
+
include Aws::Structure
|
835
|
+
end
|
836
|
+
|
646
837
|
# @note When making an API call, you may pass GetResourceCollectionRequest
|
647
838
|
# data as a hash:
|
648
839
|
#
|
649
840
|
# {
|
650
|
-
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
|
841
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
|
651
842
|
# next_token: "UuidNextToken",
|
652
843
|
# }
|
653
844
|
#
|
@@ -674,7 +865,8 @@ module Aws::DevOpsGuru
|
|
674
865
|
# The requested list of AWS resource collections. The one type of AWS
|
675
866
|
# resource collection supported is AWS CloudFormation stacks. DevOps
|
676
867
|
# Guru can be configured to analyze only the AWS resources that are
|
677
|
-
# defined in the stacks.
|
868
|
+
# defined in the stacks. You can specify up to 500 AWS CloudFormation
|
869
|
+
# stacks.
|
678
870
|
# @return [Types::ResourceCollectionFilter]
|
679
871
|
#
|
680
872
|
# @!attribute [rw] next_token
|
@@ -902,7 +1094,8 @@ module Aws::DevOpsGuru
|
|
902
1094
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
903
1095
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
904
1096
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
905
|
-
# are defined in the stacks.
|
1097
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1098
|
+
# CloudFormation stacks.
|
906
1099
|
# @return [Types::ResourceCollection]
|
907
1100
|
#
|
908
1101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEventsFilters AWS API Documentation
|
@@ -1237,6 +1430,7 @@ module Aws::DevOpsGuru
|
|
1237
1430
|
# {
|
1238
1431
|
# insight_id: "InsightId", # required
|
1239
1432
|
# next_token: "UuidNextToken",
|
1433
|
+
# 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
|
1240
1434
|
# }
|
1241
1435
|
#
|
1242
1436
|
# @!attribute [rw] insight_id
|
@@ -1248,11 +1442,16 @@ module Aws::DevOpsGuru
|
|
1248
1442
|
# this operation. If this value is null, it retrieves the first page.
|
1249
1443
|
# @return [String]
|
1250
1444
|
#
|
1445
|
+
# @!attribute [rw] locale
|
1446
|
+
# A locale that specifies the language to use for recommendations.
|
1447
|
+
# @return [String]
|
1448
|
+
#
|
1251
1449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendationsRequest AWS API Documentation
|
1252
1450
|
#
|
1253
1451
|
class ListRecommendationsRequest < Struct.new(
|
1254
1452
|
:insight_id,
|
1255
|
-
:next_token
|
1453
|
+
:next_token,
|
1454
|
+
:locale)
|
1256
1455
|
SENSITIVE = []
|
1257
1456
|
include Aws::Structure
|
1258
1457
|
end
|
@@ -1462,7 +1661,8 @@ module Aws::DevOpsGuru
|
|
1462
1661
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1463
1662
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1464
1663
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1465
|
-
# are defined in the stacks.
|
1664
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1665
|
+
# CloudFormation stacks.
|
1466
1666
|
# @return [Types::ResourceCollection]
|
1467
1667
|
#
|
1468
1668
|
# @!attribute [rw] limit
|
@@ -1532,7 +1732,8 @@ module Aws::DevOpsGuru
|
|
1532
1732
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1533
1733
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1534
1734
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1535
|
-
# are defined in the stacks.
|
1735
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1736
|
+
# CloudFormation stacks.
|
1536
1737
|
# @return [Types::ResourceCollection]
|
1537
1738
|
#
|
1538
1739
|
# @!attribute [rw] limit
|
@@ -1591,7 +1792,8 @@ module Aws::DevOpsGuru
|
|
1591
1792
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1592
1793
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1593
1794
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1594
|
-
# are defined in the stacks.
|
1795
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1796
|
+
# CloudFormation stacks.
|
1595
1797
|
# @return [Types::ResourceCollection]
|
1596
1798
|
#
|
1597
1799
|
# @!attribute [rw] ssm_ops_item_id
|
@@ -1648,9 +1850,14 @@ module Aws::DevOpsGuru
|
|
1648
1850
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1649
1851
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1650
1852
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1651
|
-
# are defined in the stacks.
|
1853
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1854
|
+
# CloudFormation stacks.
|
1652
1855
|
# @return [Types::ResourceCollection]
|
1653
1856
|
#
|
1857
|
+
# @!attribute [rw] service_collection
|
1858
|
+
# A collection of the names of AWS services.
|
1859
|
+
# @return [Types::ServiceCollection]
|
1860
|
+
#
|
1654
1861
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsightSummary AWS API Documentation
|
1655
1862
|
#
|
1656
1863
|
class ProactiveInsightSummary < Struct.new(
|
@@ -1660,7 +1867,8 @@ module Aws::DevOpsGuru
|
|
1660
1867
|
:status,
|
1661
1868
|
:insight_time_range,
|
1662
1869
|
:prediction_time_range,
|
1663
|
-
:resource_collection
|
1870
|
+
:resource_collection,
|
1871
|
+
:service_collection)
|
1664
1872
|
SENSITIVE = []
|
1665
1873
|
include Aws::Structure
|
1666
1874
|
end
|
@@ -1727,7 +1935,8 @@ module Aws::DevOpsGuru
|
|
1727
1935
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1728
1936
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1729
1937
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1730
|
-
# are defined in the stacks.
|
1938
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1939
|
+
# CloudFormation stacks.
|
1731
1940
|
# @return [Types::ResourceCollection]
|
1732
1941
|
#
|
1733
1942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomaly AWS API Documentation
|
@@ -1779,7 +1988,8 @@ module Aws::DevOpsGuru
|
|
1779
1988
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1780
1989
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1781
1990
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1782
|
-
# are defined in the stacks.
|
1991
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1992
|
+
# CloudFormation stacks.
|
1783
1993
|
# @return [Types::ResourceCollection]
|
1784
1994
|
#
|
1785
1995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomalySummary AWS API Documentation
|
@@ -1824,7 +2034,8 @@ module Aws::DevOpsGuru
|
|
1824
2034
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1825
2035
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1826
2036
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1827
|
-
# are defined in the stacks.
|
2037
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2038
|
+
# CloudFormation stacks.
|
1828
2039
|
# @return [Types::ResourceCollection]
|
1829
2040
|
#
|
1830
2041
|
# @!attribute [rw] ssm_ops_item_id
|
@@ -1875,9 +2086,14 @@ module Aws::DevOpsGuru
|
|
1875
2086
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1876
2087
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1877
2088
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1878
|
-
# are defined in the stacks.
|
2089
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2090
|
+
# CloudFormation stacks.
|
1879
2091
|
# @return [Types::ResourceCollection]
|
1880
2092
|
#
|
2093
|
+
# @!attribute [rw] service_collection
|
2094
|
+
# A collection of the names of AWS services.
|
2095
|
+
# @return [Types::ServiceCollection]
|
2096
|
+
#
|
1881
2097
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsightSummary AWS API Documentation
|
1882
2098
|
#
|
1883
2099
|
class ReactiveInsightSummary < Struct.new(
|
@@ -1886,7 +2102,8 @@ module Aws::DevOpsGuru
|
|
1886
2102
|
:severity,
|
1887
2103
|
:status,
|
1888
2104
|
:insight_time_range,
|
1889
|
-
:resource_collection
|
2105
|
+
:resource_collection,
|
2106
|
+
:service_collection)
|
1890
2107
|
SENSITIVE = []
|
1891
2108
|
include Aws::Structure
|
1892
2109
|
end
|
@@ -2025,7 +2242,8 @@ module Aws::DevOpsGuru
|
|
2025
2242
|
#
|
2026
2243
|
# @!attribute [rw] resources
|
2027
2244
|
# A `ResourceCollection` object that contains arrays of the names of
|
2028
|
-
# AWS CloudFormation stacks.
|
2245
|
+
# AWS CloudFormation stacks. You can specify up to 500 AWS
|
2246
|
+
# CloudFormation stacks.
|
2029
2247
|
# @return [Array<Types::RecommendationRelatedEventResource>]
|
2030
2248
|
#
|
2031
2249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedEvent AWS API Documentation
|
@@ -2085,7 +2303,8 @@ module Aws::DevOpsGuru
|
|
2085
2303
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
2086
2304
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
2087
2305
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
2088
|
-
# are defined in the stacks.
|
2306
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2307
|
+
# CloudFormation stacks.
|
2089
2308
|
#
|
2090
2309
|
# @note When making an API call, you may pass ResourceCollection
|
2091
2310
|
# data as a hash:
|
@@ -2098,7 +2317,8 @@ module Aws::DevOpsGuru
|
|
2098
2317
|
#
|
2099
2318
|
# @!attribute [rw] cloud_formation
|
2100
2319
|
# An array of the names of AWS CloudFormation stacks. The stacks
|
2101
|
-
# define AWS resources that DevOps Guru analyzes.
|
2320
|
+
# define AWS resources that DevOps Guru analyzes. You can specify up
|
2321
|
+
# to 500 AWS CloudFormation stacks.
|
2102
2322
|
# @return [Types::CloudFormationCollection]
|
2103
2323
|
#
|
2104
2324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollection AWS API Documentation
|
@@ -2113,9 +2333,10 @@ module Aws::DevOpsGuru
|
|
2113
2333
|
# analyzed for anomalous behavior by DevOps Guru.
|
2114
2334
|
#
|
2115
2335
|
# @!attribute [rw] cloud_formation
|
2116
|
-
# Information about AWS CloudFormation stacks. You can use
|
2117
|
-
# specify which AWS resources in your account to analyze.
|
2118
|
-
# information, see [Stacks][1] in the *AWS CloudFormation
|
2336
|
+
# Information about AWS CloudFormation stacks. You can use up to 500
|
2337
|
+
# stacks to specify which AWS resources in your account to analyze.
|
2338
|
+
# For more information, see [Stacks][1] in the *AWS CloudFormation
|
2339
|
+
# User Guide*.
|
2119
2340
|
#
|
2120
2341
|
#
|
2121
2342
|
#
|
@@ -2167,6 +2388,9 @@ module Aws::DevOpsGuru
|
|
2167
2388
|
# stack_names: ["StackName"],
|
2168
2389
|
# },
|
2169
2390
|
# },
|
2391
|
+
# service_collection: {
|
2392
|
+
# 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
|
2393
|
+
# },
|
2170
2394
|
# }
|
2171
2395
|
#
|
2172
2396
|
# @!attribute [rw] severities
|
@@ -2181,15 +2405,21 @@ module Aws::DevOpsGuru
|
|
2181
2405
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
2182
2406
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
2183
2407
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
2184
|
-
# are defined in the stacks.
|
2408
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2409
|
+
# CloudFormation stacks.
|
2185
2410
|
# @return [Types::ResourceCollection]
|
2186
2411
|
#
|
2412
|
+
# @!attribute [rw] service_collection
|
2413
|
+
# A collection of the names of AWS services.
|
2414
|
+
# @return [Types::ServiceCollection]
|
2415
|
+
#
|
2187
2416
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsightsFilters AWS API Documentation
|
2188
2417
|
#
|
2189
2418
|
class SearchInsightsFilters < Struct.new(
|
2190
2419
|
:severities,
|
2191
2420
|
:statuses,
|
2192
|
-
:resource_collection
|
2421
|
+
:resource_collection,
|
2422
|
+
:service_collection)
|
2193
2423
|
SENSITIVE = []
|
2194
2424
|
include Aws::Structure
|
2195
2425
|
end
|
@@ -2210,6 +2440,9 @@ module Aws::DevOpsGuru
|
|
2210
2440
|
# stack_names: ["StackName"],
|
2211
2441
|
# },
|
2212
2442
|
# },
|
2443
|
+
# service_collection: {
|
2444
|
+
# 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
|
2445
|
+
# },
|
2213
2446
|
# },
|
2214
2447
|
# max_results: 1,
|
2215
2448
|
# next_token: "UuidNextToken",
|
@@ -2277,6 +2510,68 @@ module Aws::DevOpsGuru
|
|
2277
2510
|
include Aws::Structure
|
2278
2511
|
end
|
2279
2512
|
|
2513
|
+
# A collection of the names of AWS services.
|
2514
|
+
#
|
2515
|
+
# @note When making an API call, you may pass ServiceCollection
|
2516
|
+
# data as a hash:
|
2517
|
+
#
|
2518
|
+
# {
|
2519
|
+
# 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
|
2520
|
+
# }
|
2521
|
+
#
|
2522
|
+
# @!attribute [rw] service_names
|
2523
|
+
# An array of strings that each specifies the name of an AWS service.
|
2524
|
+
# @return [Array<String>]
|
2525
|
+
#
|
2526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceCollection AWS API Documentation
|
2527
|
+
#
|
2528
|
+
class ServiceCollection < Struct.new(
|
2529
|
+
:service_names)
|
2530
|
+
SENSITIVE = []
|
2531
|
+
include Aws::Structure
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
# Represents the health of an AWS service.
|
2535
|
+
#
|
2536
|
+
# @!attribute [rw] service_name
|
2537
|
+
# The name of the AWS service.
|
2538
|
+
# @return [String]
|
2539
|
+
#
|
2540
|
+
# @!attribute [rw] insight
|
2541
|
+
# Represents the health of an AWS service. This is a
|
2542
|
+
# `ServiceInsightHealth` that contains the number of open proactive
|
2543
|
+
# and reactive insights for this service.
|
2544
|
+
# @return [Types::ServiceInsightHealth]
|
2545
|
+
#
|
2546
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceHealth AWS API Documentation
|
2547
|
+
#
|
2548
|
+
class ServiceHealth < Struct.new(
|
2549
|
+
:service_name,
|
2550
|
+
:insight)
|
2551
|
+
SENSITIVE = []
|
2552
|
+
include Aws::Structure
|
2553
|
+
end
|
2554
|
+
|
2555
|
+
# Contains the number of open proactive and reactive insights in an
|
2556
|
+
# analyzed AWS service.
|
2557
|
+
#
|
2558
|
+
# @!attribute [rw] open_proactive_insights
|
2559
|
+
# The number of open proactive insights in the AWS service
|
2560
|
+
# @return [Integer]
|
2561
|
+
#
|
2562
|
+
# @!attribute [rw] open_reactive_insights
|
2563
|
+
# The number of open reactive insights in the AWS service
|
2564
|
+
# @return [Integer]
|
2565
|
+
#
|
2566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceInsightHealth AWS API Documentation
|
2567
|
+
#
|
2568
|
+
class ServiceInsightHealth < Struct.new(
|
2569
|
+
:open_proactive_insights,
|
2570
|
+
:open_reactive_insights)
|
2571
|
+
SENSITIVE = []
|
2572
|
+
include Aws::Structure
|
2573
|
+
end
|
2574
|
+
|
2280
2575
|
# Information about the integration of DevOps Guru with another AWS
|
2281
2576
|
# service, such as AWS Systems Manager.
|
2282
2577
|
#
|
@@ -2306,6 +2601,59 @@ module Aws::DevOpsGuru
|
|
2306
2601
|
include Aws::Structure
|
2307
2602
|
end
|
2308
2603
|
|
2604
|
+
# An object that contains information about the estimated monthly cost
|
2605
|
+
# to analyze an AWS resource. For more information, see [Estimate your
|
2606
|
+
# Amazon DevOps Guru costs][1] and [Amazon DevOps Guru pricing][2].
|
2607
|
+
#
|
2608
|
+
#
|
2609
|
+
#
|
2610
|
+
# [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
|
2611
|
+
# [2]: http://aws.amazon.com/devops-guru/pricing/
|
2612
|
+
#
|
2613
|
+
# @!attribute [rw] type
|
2614
|
+
# The type of the AWS resource.
|
2615
|
+
# @return [String]
|
2616
|
+
#
|
2617
|
+
# @!attribute [rw] state
|
2618
|
+
# The state of the resource. The resource is `ACTIVE` if it produces
|
2619
|
+
# metrics, events, or logs within an hour, otherwise it is `INACTIVE`.
|
2620
|
+
# You pay for the number of active AWS resource hours analyzed for
|
2621
|
+
# each resource. Inactive resources are not charged.
|
2622
|
+
# @return [String]
|
2623
|
+
#
|
2624
|
+
# @!attribute [rw] count
|
2625
|
+
# The number of active resources analyzed for this service to create a
|
2626
|
+
# monthly cost estimate.
|
2627
|
+
# @return [Integer]
|
2628
|
+
#
|
2629
|
+
# @!attribute [rw] unit_cost
|
2630
|
+
# The price per hour to analyze the resources in the service. For more
|
2631
|
+
# information, see [Estimate your Amazon DevOps Guru costs][1] and
|
2632
|
+
# [Amazon DevOps Guru pricing][2].
|
2633
|
+
#
|
2634
|
+
#
|
2635
|
+
#
|
2636
|
+
# [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
|
2637
|
+
# [2]: http://aws.amazon.com/devops-guru/pricing/
|
2638
|
+
# @return [Float]
|
2639
|
+
#
|
2640
|
+
# @!attribute [rw] cost
|
2641
|
+
# The total estimated monthly cost to analyze the active resources for
|
2642
|
+
# this resource.
|
2643
|
+
# @return [Float]
|
2644
|
+
#
|
2645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceResourceCost AWS API Documentation
|
2646
|
+
#
|
2647
|
+
class ServiceResourceCost < Struct.new(
|
2648
|
+
:type,
|
2649
|
+
:state,
|
2650
|
+
:count,
|
2651
|
+
:unit_cost,
|
2652
|
+
:cost)
|
2653
|
+
SENSITIVE = []
|
2654
|
+
include Aws::Structure
|
2655
|
+
end
|
2656
|
+
|
2309
2657
|
# Contains the Amazon Resource Name (ARN) of an Amazon Simple
|
2310
2658
|
# Notification Service topic.
|
2311
2659
|
#
|
@@ -2345,6 +2693,43 @@ module Aws::DevOpsGuru
|
|
2345
2693
|
include Aws::Structure
|
2346
2694
|
end
|
2347
2695
|
|
2696
|
+
# @note When making an API call, you may pass StartCostEstimationRequest
|
2697
|
+
# data as a hash:
|
2698
|
+
#
|
2699
|
+
# {
|
2700
|
+
# resource_collection: { # required
|
2701
|
+
# cloud_formation: {
|
2702
|
+
# stack_names: ["StackName"],
|
2703
|
+
# },
|
2704
|
+
# },
|
2705
|
+
# client_token: "ClientToken",
|
2706
|
+
# }
|
2707
|
+
#
|
2708
|
+
# @!attribute [rw] resource_collection
|
2709
|
+
# The collection of AWS resources used to create a monthly DevOps Guru
|
2710
|
+
# cost estimate.
|
2711
|
+
# @return [Types::CostEstimationResourceCollectionFilter]
|
2712
|
+
#
|
2713
|
+
# @!attribute [rw] client_token
|
2714
|
+
# The idempotency token used to identify each cost estimate request.
|
2715
|
+
#
|
2716
|
+
# **A suitable default value is auto-generated.** You should normally
|
2717
|
+
# not need to pass this option.
|
2718
|
+
# @return [String]
|
2719
|
+
#
|
2720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimationRequest AWS API Documentation
|
2721
|
+
#
|
2722
|
+
class StartCostEstimationRequest < Struct.new(
|
2723
|
+
:resource_collection,
|
2724
|
+
:client_token)
|
2725
|
+
SENSITIVE = []
|
2726
|
+
include Aws::Structure
|
2727
|
+
end
|
2728
|
+
|
2729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimationResponse AWS API Documentation
|
2730
|
+
#
|
2731
|
+
class StartCostEstimationResponse < Aws::EmptyStructure; end
|
2732
|
+
|
2348
2733
|
# A time range used to specify when the behavior of an insight or
|
2349
2734
|
# anomaly started.
|
2350
2735
|
#
|
@@ -2404,7 +2789,8 @@ module Aws::DevOpsGuru
|
|
2404
2789
|
end
|
2405
2790
|
|
2406
2791
|
# Contains the names of AWS CloudFormation stacks used to update a
|
2407
|
-
# collection of stacks.
|
2792
|
+
# collection of stacks. You can specify up to 500 AWS CloudFormation
|
2793
|
+
# stacks.
|
2408
2794
|
#
|
2409
2795
|
# @note When making an API call, you may pass UpdateCloudFormationCollectionFilter
|
2410
2796
|
# data as a hash:
|
@@ -2414,7 +2800,8 @@ module Aws::DevOpsGuru
|
|
2414
2800
|
# }
|
2415
2801
|
#
|
2416
2802
|
# @!attribute [rw] stack_names
|
2417
|
-
# An array of the
|
2803
|
+
# An array of the names of the AWS CloudFormation stacks to update.
|
2804
|
+
# You can specify up to 500 AWS CloudFormation stacks.
|
2418
2805
|
# @return [Array<String>]
|
2419
2806
|
#
|
2420
2807
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateCloudFormationCollectionFilter AWS API Documentation
|
@@ -2437,7 +2824,8 @@ module Aws::DevOpsGuru
|
|
2437
2824
|
# }
|
2438
2825
|
#
|
2439
2826
|
# @!attribute [rw] cloud_formation
|
2440
|
-
# An collection of AWS CloudFormation stacks.
|
2827
|
+
# An collection of AWS CloudFormation stacks. You can specify up to
|
2828
|
+
# 500 AWS CloudFormation stacks.
|
2441
2829
|
# @return [Types::UpdateCloudFormationCollectionFilter]
|
2442
2830
|
#
|
2443
2831
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollectionFilter AWS API Documentation
|