aws-sdk-devopsguru 1.4.0 → 1.8.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 +48 -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 +131 -9
- data/lib/aws-sdk-devopsguru/client_api.rb +123 -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 +451 -44
- metadata +9 -7
@@ -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
|
|
@@ -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,6 +42,13 @@ 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')
|
@@ -71,6 +81,8 @@ module Aws::DevOpsGuru
|
|
71
81
|
EventSource = Shapes::StringShape.new(name: 'EventSource')
|
72
82
|
EventTimeRange = Shapes::StructureShape.new(name: 'EventTimeRange')
|
73
83
|
Events = Shapes::ListShape.new(name: 'Events')
|
84
|
+
GetCostEstimationRequest = Shapes::StructureShape.new(name: 'GetCostEstimationRequest')
|
85
|
+
GetCostEstimationResponse = Shapes::StructureShape.new(name: 'GetCostEstimationResponse')
|
74
86
|
GetResourceCollectionRequest = Shapes::StructureShape.new(name: 'GetResourceCollectionRequest')
|
75
87
|
GetResourceCollectionResponse = Shapes::StructureShape.new(name: 'GetResourceCollectionResponse')
|
76
88
|
InsightFeedback = Shapes::StructureShape.new(name: 'InsightFeedback')
|
@@ -103,6 +115,7 @@ module Aws::DevOpsGuru
|
|
103
115
|
ListNotificationChannelsResponse = Shapes::StructureShape.new(name: 'ListNotificationChannelsResponse')
|
104
116
|
ListRecommendationsRequest = Shapes::StructureShape.new(name: 'ListRecommendationsRequest')
|
105
117
|
ListRecommendationsResponse = Shapes::StructureShape.new(name: 'ListRecommendationsResponse')
|
118
|
+
Locale = Shapes::StringShape.new(name: 'Locale')
|
106
119
|
MeanTimeToRecoverInMilliseconds = Shapes::IntegerShape.new(name: 'MeanTimeToRecoverInMilliseconds')
|
107
120
|
NotificationChannel = Shapes::StructureShape.new(name: 'NotificationChannel')
|
108
121
|
NotificationChannelConfig = Shapes::StructureShape.new(name: 'NotificationChannelConfig')
|
@@ -164,17 +177,28 @@ module Aws::DevOpsGuru
|
|
164
177
|
ResourceIdString = Shapes::StringShape.new(name: 'ResourceIdString')
|
165
178
|
ResourceIdType = Shapes::StringShape.new(name: 'ResourceIdType')
|
166
179
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
180
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
167
181
|
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
168
182
|
SearchInsightsFilters = Shapes::StructureShape.new(name: 'SearchInsightsFilters')
|
169
183
|
SearchInsightsMaxResults = Shapes::IntegerShape.new(name: 'SearchInsightsMaxResults')
|
170
184
|
SearchInsightsRequest = Shapes::StructureShape.new(name: 'SearchInsightsRequest')
|
171
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')
|
172
190
|
ServiceIntegrationConfig = Shapes::StructureShape.new(name: 'ServiceIntegrationConfig')
|
191
|
+
ServiceName = Shapes::StringShape.new(name: 'ServiceName')
|
192
|
+
ServiceNames = Shapes::ListShape.new(name: 'ServiceNames')
|
173
193
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
194
|
+
ServiceResourceCost = Shapes::StructureShape.new(name: 'ServiceResourceCost')
|
195
|
+
ServiceResourceCosts = Shapes::ListShape.new(name: 'ServiceResourceCosts')
|
174
196
|
SnsChannelConfig = Shapes::StructureShape.new(name: 'SnsChannelConfig')
|
175
197
|
SsmOpsItemId = Shapes::StringShape.new(name: 'SsmOpsItemId')
|
176
198
|
StackName = Shapes::StringShape.new(name: 'StackName')
|
177
199
|
StackNames = Shapes::ListShape.new(name: 'StackNames')
|
200
|
+
StartCostEstimationRequest = Shapes::StructureShape.new(name: 'StartCostEstimationRequest')
|
201
|
+
StartCostEstimationResponse = Shapes::StructureShape.new(name: 'StartCostEstimationResponse')
|
178
202
|
StartTimeRange = Shapes::StructureShape.new(name: 'StartTimeRange')
|
179
203
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
180
204
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
@@ -203,6 +227,10 @@ module Aws::DevOpsGuru
|
|
203
227
|
AddNotificationChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: NotificationChannelId, required: true, location_name: "Id"))
|
204
228
|
AddNotificationChannelResponse.struct_class = Types::AddNotificationChannelResponse
|
205
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
|
+
|
206
234
|
AnomalySourceDetails.add_member(:cloud_watch_metrics, Shapes::ShapeRef.new(shape: CloudWatchMetricsDetails, location_name: "CloudWatchMetrics"))
|
207
235
|
AnomalySourceDetails.struct_class = Types::AnomalySourceDetails
|
208
236
|
|
@@ -218,6 +246,9 @@ module Aws::DevOpsGuru
|
|
218
246
|
CloudFormationCollectionFilter.add_member(:stack_names, Shapes::ShapeRef.new(shape: StackNames, location_name: "StackNames"))
|
219
247
|
CloudFormationCollectionFilter.struct_class = Types::CloudFormationCollectionFilter
|
220
248
|
|
249
|
+
CloudFormationCostEstimationResourceCollectionFilter.add_member(:stack_names, Shapes::ShapeRef.new(shape: CostEstimationStackNames, location_name: "StackNames"))
|
250
|
+
CloudFormationCostEstimationResourceCollectionFilter.struct_class = Types::CloudFormationCostEstimationResourceCollectionFilter
|
251
|
+
|
221
252
|
CloudFormationHealth.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName"))
|
222
253
|
CloudFormationHealth.add_member(:insight, Shapes::ShapeRef.new(shape: InsightHealth, location_name: "Insight"))
|
223
254
|
CloudFormationHealth.struct_class = Types::CloudFormationHealth
|
@@ -245,6 +276,15 @@ module Aws::DevOpsGuru
|
|
245
276
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ResourceType"))
|
246
277
|
ConflictException.struct_class = Types::ConflictException
|
247
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
|
+
|
248
288
|
DescribeAccountHealthRequest.struct_class = Types::DescribeAccountHealthRequest
|
249
289
|
|
250
290
|
DescribeAccountHealthResponse.add_member(:open_reactive_insights, Shapes::ShapeRef.new(shape: NumOpenReactiveInsights, required: true, location_name: "OpenReactiveInsights"))
|
@@ -287,6 +327,7 @@ module Aws::DevOpsGuru
|
|
287
327
|
DescribeResourceCollectionHealthRequest.struct_class = Types::DescribeResourceCollectionHealthRequest
|
288
328
|
|
289
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"))
|
290
331
|
DescribeResourceCollectionHealthResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
291
332
|
DescribeResourceCollectionHealthResponse.struct_class = Types::DescribeResourceCollectionHealthResponse
|
292
333
|
|
@@ -322,6 +363,17 @@ module Aws::DevOpsGuru
|
|
322
363
|
|
323
364
|
Events.member = Shapes::ShapeRef.new(shape: Event)
|
324
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
|
+
|
325
377
|
GetResourceCollectionRequest.add_member(:resource_collection_type, Shapes::ShapeRef.new(shape: ResourceCollectionType, required: true, location: "uri", location_name: "ResourceCollectionType"))
|
326
378
|
GetResourceCollectionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location: "querystring", location_name: "NextToken"))
|
327
379
|
GetResourceCollectionRequest.struct_class = Types::GetResourceCollectionRequest
|
@@ -414,6 +466,7 @@ module Aws::DevOpsGuru
|
|
414
466
|
|
415
467
|
ListRecommendationsRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
|
416
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"))
|
417
470
|
ListRecommendationsRequest.struct_class = Types::ListRecommendationsRequest
|
418
471
|
|
419
472
|
ListRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: Recommendations, location_name: "Recommendations"))
|
@@ -444,6 +497,7 @@ module Aws::DevOpsGuru
|
|
444
497
|
ProactiveAnomaly.add_member(:status, Shapes::ShapeRef.new(shape: AnomalyStatus, location_name: "Status"))
|
445
498
|
ProactiveAnomaly.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdateTime"))
|
446
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"))
|
447
501
|
ProactiveAnomaly.add_member(:prediction_time_range, Shapes::ShapeRef.new(shape: PredictionTimeRange, location_name: "PredictionTimeRange"))
|
448
502
|
ProactiveAnomaly.add_member(:source_details, Shapes::ShapeRef.new(shape: AnomalySourceDetails, location_name: "SourceDetails"))
|
449
503
|
ProactiveAnomaly.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
|
@@ -456,6 +510,7 @@ module Aws::DevOpsGuru
|
|
456
510
|
ProactiveAnomalySummary.add_member(:status, Shapes::ShapeRef.new(shape: AnomalyStatus, location_name: "Status"))
|
457
511
|
ProactiveAnomalySummary.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdateTime"))
|
458
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"))
|
459
514
|
ProactiveAnomalySummary.add_member(:prediction_time_range, Shapes::ShapeRef.new(shape: PredictionTimeRange, location_name: "PredictionTimeRange"))
|
460
515
|
ProactiveAnomalySummary.add_member(:source_details, Shapes::ShapeRef.new(shape: AnomalySourceDetails, location_name: "SourceDetails"))
|
461
516
|
ProactiveAnomalySummary.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
|
@@ -480,6 +535,7 @@ module Aws::DevOpsGuru
|
|
480
535
|
ProactiveInsightSummary.add_member(:insight_time_range, Shapes::ShapeRef.new(shape: InsightTimeRange, location_name: "InsightTimeRange"))
|
481
536
|
ProactiveInsightSummary.add_member(:prediction_time_range, Shapes::ShapeRef.new(shape: PredictionTimeRange, location_name: "PredictionTimeRange"))
|
482
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"))
|
483
539
|
ProactiveInsightSummary.struct_class = Types::ProactiveInsightSummary
|
484
540
|
|
485
541
|
ProactiveInsights.member = Shapes::ShapeRef.new(shape: ProactiveInsightSummary)
|
@@ -495,6 +551,7 @@ module Aws::DevOpsGuru
|
|
495
551
|
ReactiveAnomaly.add_member(:severity, Shapes::ShapeRef.new(shape: AnomalySeverity, location_name: "Severity"))
|
496
552
|
ReactiveAnomaly.add_member(:status, Shapes::ShapeRef.new(shape: AnomalyStatus, location_name: "Status"))
|
497
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"))
|
498
555
|
ReactiveAnomaly.add_member(:source_details, Shapes::ShapeRef.new(shape: AnomalySourceDetails, location_name: "SourceDetails"))
|
499
556
|
ReactiveAnomaly.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
|
500
557
|
ReactiveAnomaly.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
|
@@ -504,6 +561,7 @@ module Aws::DevOpsGuru
|
|
504
561
|
ReactiveAnomalySummary.add_member(:severity, Shapes::ShapeRef.new(shape: AnomalySeverity, location_name: "Severity"))
|
505
562
|
ReactiveAnomalySummary.add_member(:status, Shapes::ShapeRef.new(shape: AnomalyStatus, location_name: "Status"))
|
506
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"))
|
507
565
|
ReactiveAnomalySummary.add_member(:source_details, Shapes::ShapeRef.new(shape: AnomalySourceDetails, location_name: "SourceDetails"))
|
508
566
|
ReactiveAnomalySummary.add_member(:associated_insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "AssociatedInsightId"))
|
509
567
|
ReactiveAnomalySummary.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
|
@@ -524,6 +582,7 @@ module Aws::DevOpsGuru
|
|
524
582
|
ReactiveInsightSummary.add_member(:status, Shapes::ShapeRef.new(shape: InsightStatus, location_name: "Status"))
|
525
583
|
ReactiveInsightSummary.add_member(:insight_time_range, Shapes::ShapeRef.new(shape: InsightTimeRange, location_name: "InsightTimeRange"))
|
526
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"))
|
527
586
|
ReactiveInsightSummary.struct_class = Types::ReactiveInsightSummary
|
528
587
|
|
529
588
|
ReactiveInsights.member = Shapes::ShapeRef.new(shape: ReactiveInsightSummary)
|
@@ -592,6 +651,7 @@ module Aws::DevOpsGuru
|
|
592
651
|
SearchInsightsFilters.add_member(:severities, Shapes::ShapeRef.new(shape: InsightSeverities, location_name: "Severities"))
|
593
652
|
SearchInsightsFilters.add_member(:statuses, Shapes::ShapeRef.new(shape: InsightStatuses, location_name: "Statuses"))
|
594
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"))
|
595
655
|
SearchInsightsFilters.struct_class = Types::SearchInsightsFilters
|
596
656
|
|
597
657
|
SearchInsightsRequest.add_member(:start_time_range, Shapes::ShapeRef.new(shape: StartTimeRange, required: true, location_name: "StartTimeRange"))
|
@@ -606,17 +666,47 @@ module Aws::DevOpsGuru
|
|
606
666
|
SearchInsightsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
607
667
|
SearchInsightsResponse.struct_class = Types::SearchInsightsResponse
|
608
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
|
+
|
609
682
|
ServiceIntegrationConfig.add_member(:ops_center, Shapes::ShapeRef.new(shape: OpsCenterIntegration, location_name: "OpsCenter"))
|
610
683
|
ServiceIntegrationConfig.struct_class = Types::ServiceIntegrationConfig
|
611
684
|
|
685
|
+
ServiceNames.member = Shapes::ShapeRef.new(shape: ServiceName)
|
686
|
+
|
612
687
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageString, location_name: "Message"))
|
613
688
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
614
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
|
+
|
615
699
|
SnsChannelConfig.add_member(:topic_arn, Shapes::ShapeRef.new(shape: TopicArn, location_name: "TopicArn"))
|
616
700
|
SnsChannelConfig.struct_class = Types::SnsChannelConfig
|
617
701
|
|
618
702
|
StackNames.member = Shapes::ShapeRef.new(shape: StackName)
|
619
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
|
+
|
620
710
|
StartTimeRange.add_member(:from_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "FromTime"))
|
621
711
|
StartTimeRange.add_member(:to_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ToTime"))
|
622
712
|
StartTimeRange.struct_class = Types::StartTimeRange
|
@@ -785,6 +875,24 @@ module Aws::DevOpsGuru
|
|
785
875
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
786
876
|
end)
|
787
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
|
+
|
788
896
|
api.add_operation(:get_resource_collection, Seahorse::Model::Operation.new.tap do |o|
|
789
897
|
o.name = "GetResourceCollection"
|
790
898
|
o.http_method = "GET"
|
@@ -940,6 +1048,20 @@ module Aws::DevOpsGuru
|
|
940
1048
|
)
|
941
1049
|
end)
|
942
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
|
+
|
943
1065
|
api.add_operation(:update_resource_collection, Seahorse::Model::Operation.new.tap do |o|
|
944
1066
|
o.name = "UpdateResourceCollection"
|
945
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/
|
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
|
|
@@ -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
|
109
|
-
# specify which AWS resources in your account to analyze. For
|
110
|
-
# information, see [Stacks][1] in the *AWS CloudFormation User
|
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
|
136
|
-
# specify which AWS resources in your account to analyze. For
|
137
|
-
# information, see [Stacks][1] in the *AWS CloudFormation User
|
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
|
-
#
|
496
|
+
# A `ReactiveAnomaly` object that represents the requested anomaly.
|
390
497
|
# @return [Types::ProactiveAnomaly]
|
391
498
|
#
|
392
499
|
# @!attribute [rw] reactive_anomaly
|
393
|
-
#
|
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
|
@@ -453,11 +560,11 @@ module Aws::DevOpsGuru
|
|
453
560
|
end
|
454
561
|
|
455
562
|
# @!attribute [rw] proactive_insight
|
456
|
-
#
|
563
|
+
# A `ProactiveInsight` object that represents the requested insight.
|
457
564
|
# @return [Types::ProactiveInsight]
|
458
565
|
#
|
459
566
|
# @!attribute [rw] reactive_insight
|
460
|
-
#
|
567
|
+
# A `ReactiveInsight` object that represents the requested insight.
|
461
568
|
# @return [Types::ReactiveInsight]
|
462
569
|
#
|
463
570
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsightResponse AWS API Documentation
|
@@ -473,7 +580,7 @@ module Aws::DevOpsGuru
|
|
473
580
|
# data as a hash:
|
474
581
|
#
|
475
582
|
# {
|
476
|
-
# 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
|
477
584
|
# next_token: "UuidNextToken",
|
478
585
|
# }
|
479
586
|
#
|
@@ -482,7 +589,7 @@ module Aws::DevOpsGuru
|
|
482
589
|
# AWS resources are defined. The one type of AWS resource collection
|
483
590
|
# supported is AWS CloudFormation stacks. DevOps Guru can be
|
484
591
|
# configured to analyze only the AWS resources that are defined in the
|
485
|
-
# stacks.
|
592
|
+
# stacks. You can specify up to 500 AWS CloudFormation stacks.
|
486
593
|
# @return [String]
|
487
594
|
#
|
488
595
|
# @!attribute [rw] next_token
|
@@ -505,6 +612,11 @@ module Aws::DevOpsGuru
|
|
505
612
|
# information.
|
506
613
|
# @return [Array<Types::CloudFormationHealth>]
|
507
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
|
+
#
|
508
620
|
# @!attribute [rw] next_token
|
509
621
|
# The pagination token to use to retrieve the next page of results for
|
510
622
|
# this operation. If there are no more pages, this value is null.
|
@@ -514,6 +626,7 @@ module Aws::DevOpsGuru
|
|
514
626
|
#
|
515
627
|
class DescribeResourceCollectionHealthResponse < Struct.new(
|
516
628
|
:cloud_formation,
|
629
|
+
:service,
|
517
630
|
:next_token)
|
518
631
|
SENSITIVE = []
|
519
632
|
include Aws::Structure
|
@@ -574,7 +687,8 @@ module Aws::DevOpsGuru
|
|
574
687
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
575
688
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
576
689
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
577
|
-
# are defined in the stacks.
|
690
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
691
|
+
# CloudFormation stacks.
|
578
692
|
# @return [Types::ResourceCollection]
|
579
693
|
#
|
580
694
|
# @!attribute [rw] id
|
@@ -680,11 +794,75 @@ module Aws::DevOpsGuru
|
|
680
794
|
include Aws::Structure
|
681
795
|
end
|
682
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
|
+
|
683
861
|
# @note When making an API call, you may pass GetResourceCollectionRequest
|
684
862
|
# data as a hash:
|
685
863
|
#
|
686
864
|
# {
|
687
|
-
# 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
|
688
866
|
# next_token: "UuidNextToken",
|
689
867
|
# }
|
690
868
|
#
|
@@ -711,7 +889,8 @@ module Aws::DevOpsGuru
|
|
711
889
|
# The requested list of AWS resource collections. The one type of AWS
|
712
890
|
# resource collection supported is AWS CloudFormation stacks. DevOps
|
713
891
|
# Guru can be configured to analyze only the AWS resources that are
|
714
|
-
# defined in the stacks.
|
892
|
+
# defined in the stacks. You can specify up to 500 AWS CloudFormation
|
893
|
+
# stacks.
|
715
894
|
# @return [Types::ResourceCollectionFilter]
|
716
895
|
#
|
717
896
|
# @!attribute [rw] next_token
|
@@ -939,7 +1118,8 @@ module Aws::DevOpsGuru
|
|
939
1118
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
940
1119
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
941
1120
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
942
|
-
# are defined in the stacks.
|
1121
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1122
|
+
# CloudFormation stacks.
|
943
1123
|
# @return [Types::ResourceCollection]
|
944
1124
|
#
|
945
1125
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEventsFilters AWS API Documentation
|
@@ -1274,6 +1454,7 @@ module Aws::DevOpsGuru
|
|
1274
1454
|
# {
|
1275
1455
|
# insight_id: "InsightId", # required
|
1276
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
|
1277
1458
|
# }
|
1278
1459
|
#
|
1279
1460
|
# @!attribute [rw] insight_id
|
@@ -1285,11 +1466,16 @@ module Aws::DevOpsGuru
|
|
1285
1466
|
# this operation. If this value is null, it retrieves the first page.
|
1286
1467
|
# @return [String]
|
1287
1468
|
#
|
1469
|
+
# @!attribute [rw] locale
|
1470
|
+
# A locale that specifies the language to use for recommendations.
|
1471
|
+
# @return [String]
|
1472
|
+
#
|
1288
1473
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendationsRequest AWS API Documentation
|
1289
1474
|
#
|
1290
1475
|
class ListRecommendationsRequest < Struct.new(
|
1291
1476
|
:insight_id,
|
1292
|
-
:next_token
|
1477
|
+
:next_token,
|
1478
|
+
:locale)
|
1293
1479
|
SENSITIVE = []
|
1294
1480
|
include Aws::Structure
|
1295
1481
|
end
|
@@ -1476,9 +1662,16 @@ module Aws::DevOpsGuru
|
|
1476
1662
|
#
|
1477
1663
|
# @!attribute [rw] anomaly_time_range
|
1478
1664
|
# A time range that specifies when the observed unusual behavior in an
|
1479
|
-
# 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.
|
1480
1668
|
# @return [Types::AnomalyTimeRange]
|
1481
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
|
+
#
|
1482
1675
|
# @!attribute [rw] prediction_time_range
|
1483
1676
|
# The time range during which anomalous behavior in a proactive
|
1484
1677
|
# anomaly or an insight is expected to occur.
|
@@ -1499,7 +1692,8 @@ module Aws::DevOpsGuru
|
|
1499
1692
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1500
1693
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1501
1694
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1502
|
-
# are defined in the stacks.
|
1695
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1696
|
+
# CloudFormation stacks.
|
1503
1697
|
# @return [Types::ResourceCollection]
|
1504
1698
|
#
|
1505
1699
|
# @!attribute [rw] limit
|
@@ -1516,6 +1710,7 @@ module Aws::DevOpsGuru
|
|
1516
1710
|
:status,
|
1517
1711
|
:update_time,
|
1518
1712
|
:anomaly_time_range,
|
1713
|
+
:anomaly_reported_time_range,
|
1519
1714
|
:prediction_time_range,
|
1520
1715
|
:source_details,
|
1521
1716
|
:associated_insight_id,
|
@@ -1546,9 +1741,16 @@ module Aws::DevOpsGuru
|
|
1546
1741
|
#
|
1547
1742
|
# @!attribute [rw] anomaly_time_range
|
1548
1743
|
# A time range that specifies when the observed unusual behavior in an
|
1549
|
-
# 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.
|
1550
1747
|
# @return [Types::AnomalyTimeRange]
|
1551
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
|
+
#
|
1552
1754
|
# @!attribute [rw] prediction_time_range
|
1553
1755
|
# The time range during which anomalous behavior in a proactive
|
1554
1756
|
# anomaly or an insight is expected to occur.
|
@@ -1569,7 +1771,8 @@ module Aws::DevOpsGuru
|
|
1569
1771
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1570
1772
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1571
1773
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1572
|
-
# are defined in the stacks.
|
1774
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1775
|
+
# CloudFormation stacks.
|
1573
1776
|
# @return [Types::ResourceCollection]
|
1574
1777
|
#
|
1575
1778
|
# @!attribute [rw] limit
|
@@ -1586,6 +1789,7 @@ module Aws::DevOpsGuru
|
|
1586
1789
|
:status,
|
1587
1790
|
:update_time,
|
1588
1791
|
:anomaly_time_range,
|
1792
|
+
:anomaly_reported_time_range,
|
1589
1793
|
:prediction_time_range,
|
1590
1794
|
:source_details,
|
1591
1795
|
:associated_insight_id,
|
@@ -1628,7 +1832,8 @@ module Aws::DevOpsGuru
|
|
1628
1832
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1629
1833
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1630
1834
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1631
|
-
# are defined in the stacks.
|
1835
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1836
|
+
# CloudFormation stacks.
|
1632
1837
|
# @return [Types::ResourceCollection]
|
1633
1838
|
#
|
1634
1839
|
# @!attribute [rw] ssm_ops_item_id
|
@@ -1685,9 +1890,14 @@ module Aws::DevOpsGuru
|
|
1685
1890
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1686
1891
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1687
1892
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1688
|
-
# are defined in the stacks.
|
1893
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1894
|
+
# CloudFormation stacks.
|
1689
1895
|
# @return [Types::ResourceCollection]
|
1690
1896
|
#
|
1897
|
+
# @!attribute [rw] service_collection
|
1898
|
+
# A collection of the names of AWS services.
|
1899
|
+
# @return [Types::ServiceCollection]
|
1900
|
+
#
|
1691
1901
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsightSummary AWS API Documentation
|
1692
1902
|
#
|
1693
1903
|
class ProactiveInsightSummary < Struct.new(
|
@@ -1697,7 +1907,8 @@ module Aws::DevOpsGuru
|
|
1697
1907
|
:status,
|
1698
1908
|
:insight_time_range,
|
1699
1909
|
:prediction_time_range,
|
1700
|
-
:resource_collection
|
1910
|
+
:resource_collection,
|
1911
|
+
:service_collection)
|
1701
1912
|
SENSITIVE = []
|
1702
1913
|
include Aws::Structure
|
1703
1914
|
end
|
@@ -1746,9 +1957,16 @@ module Aws::DevOpsGuru
|
|
1746
1957
|
#
|
1747
1958
|
# @!attribute [rw] anomaly_time_range
|
1748
1959
|
# A time range that specifies when the observed unusual behavior in an
|
1749
|
-
# 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.
|
1750
1963
|
# @return [Types::AnomalyTimeRange]
|
1751
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
|
+
#
|
1752
1970
|
# @!attribute [rw] source_details
|
1753
1971
|
# Details about the source of the analyzed operational data that
|
1754
1972
|
# triggered the anomaly. The one supported source is Amazon CloudWatch
|
@@ -1764,7 +1982,8 @@ module Aws::DevOpsGuru
|
|
1764
1982
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1765
1983
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1766
1984
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1767
|
-
# are defined in the stacks.
|
1985
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1986
|
+
# CloudFormation stacks.
|
1768
1987
|
# @return [Types::ResourceCollection]
|
1769
1988
|
#
|
1770
1989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomaly AWS API Documentation
|
@@ -1774,6 +1993,7 @@ module Aws::DevOpsGuru
|
|
1774
1993
|
:severity,
|
1775
1994
|
:status,
|
1776
1995
|
:anomaly_time_range,
|
1996
|
+
:anomaly_reported_time_range,
|
1777
1997
|
:source_details,
|
1778
1998
|
:associated_insight_id,
|
1779
1999
|
:resource_collection)
|
@@ -1798,9 +2018,16 @@ module Aws::DevOpsGuru
|
|
1798
2018
|
#
|
1799
2019
|
# @!attribute [rw] anomaly_time_range
|
1800
2020
|
# A time range that specifies when the observed unusual behavior in an
|
1801
|
-
# 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.
|
1802
2024
|
# @return [Types::AnomalyTimeRange]
|
1803
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
|
+
#
|
1804
2031
|
# @!attribute [rw] source_details
|
1805
2032
|
# Details about the source of the analyzed operational data that
|
1806
2033
|
# triggered the anomaly. The one supported source is Amazon CloudWatch
|
@@ -1816,7 +2043,8 @@ module Aws::DevOpsGuru
|
|
1816
2043
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1817
2044
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1818
2045
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1819
|
-
# are defined in the stacks.
|
2046
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2047
|
+
# CloudFormation stacks.
|
1820
2048
|
# @return [Types::ResourceCollection]
|
1821
2049
|
#
|
1822
2050
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomalySummary AWS API Documentation
|
@@ -1826,6 +2054,7 @@ module Aws::DevOpsGuru
|
|
1826
2054
|
:severity,
|
1827
2055
|
:status,
|
1828
2056
|
:anomaly_time_range,
|
2057
|
+
:anomaly_reported_time_range,
|
1829
2058
|
:source_details,
|
1830
2059
|
:associated_insight_id,
|
1831
2060
|
:resource_collection)
|
@@ -1861,7 +2090,8 @@ module Aws::DevOpsGuru
|
|
1861
2090
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1862
2091
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1863
2092
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1864
|
-
# are defined in the stacks.
|
2093
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2094
|
+
# CloudFormation stacks.
|
1865
2095
|
# @return [Types::ResourceCollection]
|
1866
2096
|
#
|
1867
2097
|
# @!attribute [rw] ssm_ops_item_id
|
@@ -1912,9 +2142,14 @@ module Aws::DevOpsGuru
|
|
1912
2142
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1913
2143
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1914
2144
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1915
|
-
# are defined in the stacks.
|
2145
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2146
|
+
# CloudFormation stacks.
|
1916
2147
|
# @return [Types::ResourceCollection]
|
1917
2148
|
#
|
2149
|
+
# @!attribute [rw] service_collection
|
2150
|
+
# A collection of the names of AWS services.
|
2151
|
+
# @return [Types::ServiceCollection]
|
2152
|
+
#
|
1918
2153
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsightSummary AWS API Documentation
|
1919
2154
|
#
|
1920
2155
|
class ReactiveInsightSummary < Struct.new(
|
@@ -1923,7 +2158,8 @@ module Aws::DevOpsGuru
|
|
1923
2158
|
:severity,
|
1924
2159
|
:status,
|
1925
2160
|
:insight_time_range,
|
1926
|
-
:resource_collection
|
2161
|
+
:resource_collection,
|
2162
|
+
:service_collection)
|
1927
2163
|
SENSITIVE = []
|
1928
2164
|
include Aws::Structure
|
1929
2165
|
end
|
@@ -2062,7 +2298,8 @@ module Aws::DevOpsGuru
|
|
2062
2298
|
#
|
2063
2299
|
# @!attribute [rw] resources
|
2064
2300
|
# A `ResourceCollection` object that contains arrays of the names of
|
2065
|
-
# AWS CloudFormation stacks.
|
2301
|
+
# AWS CloudFormation stacks. You can specify up to 500 AWS
|
2302
|
+
# CloudFormation stacks.
|
2066
2303
|
# @return [Array<Types::RecommendationRelatedEventResource>]
|
2067
2304
|
#
|
2068
2305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedEvent AWS API Documentation
|
@@ -2122,7 +2359,8 @@ module Aws::DevOpsGuru
|
|
2122
2359
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
2123
2360
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
2124
2361
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
2125
|
-
# are defined in the stacks.
|
2362
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2363
|
+
# CloudFormation stacks.
|
2126
2364
|
#
|
2127
2365
|
# @note When making an API call, you may pass ResourceCollection
|
2128
2366
|
# data as a hash:
|
@@ -2135,7 +2373,8 @@ module Aws::DevOpsGuru
|
|
2135
2373
|
#
|
2136
2374
|
# @!attribute [rw] cloud_formation
|
2137
2375
|
# An array of the names of AWS CloudFormation stacks. The stacks
|
2138
|
-
# 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.
|
2139
2378
|
# @return [Types::CloudFormationCollection]
|
2140
2379
|
#
|
2141
2380
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollection AWS API Documentation
|
@@ -2150,9 +2389,10 @@ module Aws::DevOpsGuru
|
|
2150
2389
|
# analyzed for anomalous behavior by DevOps Guru.
|
2151
2390
|
#
|
2152
2391
|
# @!attribute [rw] cloud_formation
|
2153
|
-
# Information about AWS CloudFormation stacks. You can use
|
2154
|
-
# specify which AWS resources in your account to analyze.
|
2155
|
-
# information, see [Stacks][1] in the *AWS CloudFormation
|
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*.
|
2156
2396
|
#
|
2157
2397
|
#
|
2158
2398
|
#
|
@@ -2204,6 +2444,9 @@ module Aws::DevOpsGuru
|
|
2204
2444
|
# stack_names: ["StackName"],
|
2205
2445
|
# },
|
2206
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
|
+
# },
|
2207
2450
|
# }
|
2208
2451
|
#
|
2209
2452
|
# @!attribute [rw] severities
|
@@ -2218,15 +2461,21 @@ module Aws::DevOpsGuru
|
|
2218
2461
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
2219
2462
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
2220
2463
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
2221
|
-
# are defined in the stacks.
|
2464
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2465
|
+
# CloudFormation stacks.
|
2222
2466
|
# @return [Types::ResourceCollection]
|
2223
2467
|
#
|
2468
|
+
# @!attribute [rw] service_collection
|
2469
|
+
# A collection of the names of AWS services.
|
2470
|
+
# @return [Types::ServiceCollection]
|
2471
|
+
#
|
2224
2472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsightsFilters AWS API Documentation
|
2225
2473
|
#
|
2226
2474
|
class SearchInsightsFilters < Struct.new(
|
2227
2475
|
:severities,
|
2228
2476
|
:statuses,
|
2229
|
-
:resource_collection
|
2477
|
+
:resource_collection,
|
2478
|
+
:service_collection)
|
2230
2479
|
SENSITIVE = []
|
2231
2480
|
include Aws::Structure
|
2232
2481
|
end
|
@@ -2247,6 +2496,9 @@ module Aws::DevOpsGuru
|
|
2247
2496
|
# stack_names: ["StackName"],
|
2248
2497
|
# },
|
2249
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
|
+
# },
|
2250
2502
|
# },
|
2251
2503
|
# max_results: 1,
|
2252
2504
|
# next_token: "UuidNextToken",
|
@@ -2314,6 +2566,68 @@ module Aws::DevOpsGuru
|
|
2314
2566
|
include Aws::Structure
|
2315
2567
|
end
|
2316
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
|
+
|
2317
2631
|
# Information about the integration of DevOps Guru with another AWS
|
2318
2632
|
# service, such as AWS Systems Manager.
|
2319
2633
|
#
|
@@ -2343,6 +2657,59 @@ module Aws::DevOpsGuru
|
|
2343
2657
|
include Aws::Structure
|
2344
2658
|
end
|
2345
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
|
+
|
2346
2713
|
# Contains the Amazon Resource Name (ARN) of an Amazon Simple
|
2347
2714
|
# Notification Service topic.
|
2348
2715
|
#
|
@@ -2382,6 +2749,43 @@ module Aws::DevOpsGuru
|
|
2382
2749
|
include Aws::Structure
|
2383
2750
|
end
|
2384
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
|
+
|
2385
2789
|
# A time range used to specify when the behavior of an insight or
|
2386
2790
|
# anomaly started.
|
2387
2791
|
#
|
@@ -2441,7 +2845,8 @@ module Aws::DevOpsGuru
|
|
2441
2845
|
end
|
2442
2846
|
|
2443
2847
|
# Contains the names of AWS CloudFormation stacks used to update a
|
2444
|
-
# collection of stacks.
|
2848
|
+
# collection of stacks. You can specify up to 500 AWS CloudFormation
|
2849
|
+
# stacks.
|
2445
2850
|
#
|
2446
2851
|
# @note When making an API call, you may pass UpdateCloudFormationCollectionFilter
|
2447
2852
|
# data as a hash:
|
@@ -2451,7 +2856,8 @@ module Aws::DevOpsGuru
|
|
2451
2856
|
# }
|
2452
2857
|
#
|
2453
2858
|
# @!attribute [rw] stack_names
|
2454
|
-
# An array of the
|
2859
|
+
# An array of the names of the AWS CloudFormation stacks to update.
|
2860
|
+
# You can specify up to 500 AWS CloudFormation stacks.
|
2455
2861
|
# @return [Array<String>]
|
2456
2862
|
#
|
2457
2863
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateCloudFormationCollectionFilter AWS API Documentation
|
@@ -2474,7 +2880,8 @@ module Aws::DevOpsGuru
|
|
2474
2880
|
# }
|
2475
2881
|
#
|
2476
2882
|
# @!attribute [rw] cloud_formation
|
2477
|
-
# An collection of AWS CloudFormation stacks.
|
2883
|
+
# An collection of AWS CloudFormation stacks. You can specify up to
|
2884
|
+
# 500 AWS CloudFormation stacks.
|
2478
2885
|
# @return [Types::UpdateCloudFormationCollectionFilter]
|
2479
2886
|
#
|
2480
2887
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollectionFilter AWS API Documentation
|