aws-sdk-costexplorer 1.94.0 → 1.95.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,1374 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::CostExplorer
9
+ module Types
10
+
11
+ class Anomaly
12
+ attr_accessor anomaly_id: ::String
13
+ attr_accessor anomaly_start_date: ::String
14
+ attr_accessor anomaly_end_date: ::String
15
+ attr_accessor dimension_value: ::String
16
+ attr_accessor root_causes: ::Array[Types::RootCause]
17
+ attr_accessor anomaly_score: Types::AnomalyScore
18
+ attr_accessor impact: Types::Impact
19
+ attr_accessor monitor_arn: ::String
20
+ attr_accessor feedback: ("YES" | "NO" | "PLANNED_ACTIVITY")
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class AnomalyDateInterval
25
+ attr_accessor start_date: ::String
26
+ attr_accessor end_date: ::String
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class AnomalyMonitor
31
+ attr_accessor monitor_arn: ::String
32
+ attr_accessor monitor_name: ::String
33
+ attr_accessor creation_date: ::String
34
+ attr_accessor last_updated_date: ::String
35
+ attr_accessor last_evaluated_date: ::String
36
+ attr_accessor monitor_type: ("DIMENSIONAL" | "CUSTOM")
37
+ attr_accessor monitor_dimension: ("SERVICE")
38
+ attr_accessor monitor_specification: Types::Expression
39
+ attr_accessor dimensional_value_count: ::Integer
40
+ SENSITIVE: []
41
+ end
42
+
43
+ class AnomalyScore
44
+ attr_accessor max_score: ::Float
45
+ attr_accessor current_score: ::Float
46
+ SENSITIVE: []
47
+ end
48
+
49
+ class AnomalySubscription
50
+ attr_accessor subscription_arn: ::String
51
+ attr_accessor account_id: ::String
52
+ attr_accessor monitor_arn_list: ::Array[::String]
53
+ attr_accessor subscribers: ::Array[Types::Subscriber]
54
+ attr_accessor threshold: ::Float
55
+ attr_accessor frequency: ("DAILY" | "IMMEDIATE" | "WEEKLY")
56
+ attr_accessor subscription_name: ::String
57
+ attr_accessor threshold_expression: Types::Expression
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class BillExpirationException
62
+ attr_accessor message: ::String
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class CostAllocationTag
67
+ attr_accessor tag_key: ::String
68
+ attr_accessor type: ("AWSGenerated" | "UserDefined")
69
+ attr_accessor status: ("Active" | "Inactive")
70
+ attr_accessor last_updated_date: ::String
71
+ attr_accessor last_used_date: ::String
72
+ SENSITIVE: []
73
+ end
74
+
75
+ class CostAllocationTagStatusEntry
76
+ attr_accessor tag_key: ::String
77
+ attr_accessor status: ("Active" | "Inactive")
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class CostCategory
82
+ attr_accessor cost_category_arn: ::String
83
+ attr_accessor effective_start: ::String
84
+ attr_accessor effective_end: ::String
85
+ attr_accessor name: ::String
86
+ attr_accessor rule_version: ("CostCategoryExpression.v1")
87
+ attr_accessor rules: ::Array[Types::CostCategoryRule]
88
+ attr_accessor split_charge_rules: ::Array[Types::CostCategorySplitChargeRule]
89
+ attr_accessor processing_status: ::Array[Types::CostCategoryProcessingStatus]
90
+ attr_accessor default_value: ::String
91
+ SENSITIVE: []
92
+ end
93
+
94
+ class CostCategoryInheritedValueDimension
95
+ attr_accessor dimension_name: ("LINKED_ACCOUNT_NAME" | "TAG")
96
+ attr_accessor dimension_key: ::String
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class CostCategoryProcessingStatus
101
+ attr_accessor component: ("COST_EXPLORER")
102
+ attr_accessor status: ("PROCESSING" | "APPLIED")
103
+ SENSITIVE: []
104
+ end
105
+
106
+ class CostCategoryReference
107
+ attr_accessor cost_category_arn: ::String
108
+ attr_accessor name: ::String
109
+ attr_accessor effective_start: ::String
110
+ attr_accessor effective_end: ::String
111
+ attr_accessor number_of_rules: ::Integer
112
+ attr_accessor processing_status: ::Array[Types::CostCategoryProcessingStatus]
113
+ attr_accessor values: ::Array[::String]
114
+ attr_accessor default_value: ::String
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class CostCategoryRule
119
+ attr_accessor value: ::String
120
+ attr_accessor rule: Types::Expression
121
+ attr_accessor inherited_value: Types::CostCategoryInheritedValueDimension
122
+ attr_accessor type: ("REGULAR" | "INHERITED_VALUE")
123
+ SENSITIVE: []
124
+ end
125
+
126
+ class CostCategorySplitChargeRule
127
+ attr_accessor source: ::String
128
+ attr_accessor targets: ::Array[::String]
129
+ attr_accessor method: ("FIXED" | "PROPORTIONAL" | "EVEN")
130
+ attr_accessor parameters: ::Array[Types::CostCategorySplitChargeRuleParameter]
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class CostCategorySplitChargeRuleParameter
135
+ attr_accessor type: ("ALLOCATION_PERCENTAGES")
136
+ attr_accessor values: ::Array[::String]
137
+ SENSITIVE: []
138
+ end
139
+
140
+ class CostCategoryValues
141
+ attr_accessor key: ::String
142
+ attr_accessor values: ::Array[::String]
143
+ attr_accessor match_options: ::Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]
144
+ SENSITIVE: []
145
+ end
146
+
147
+ class Coverage
148
+ attr_accessor coverage_hours: Types::CoverageHours
149
+ attr_accessor coverage_normalized_units: Types::CoverageNormalizedUnits
150
+ attr_accessor coverage_cost: Types::CoverageCost
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class CoverageByTime
155
+ attr_accessor time_period: Types::DateInterval
156
+ attr_accessor groups: ::Array[Types::ReservationCoverageGroup]
157
+ attr_accessor total: Types::Coverage
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class CoverageCost
162
+ attr_accessor on_demand_cost: ::String
163
+ SENSITIVE: []
164
+ end
165
+
166
+ class CoverageHours
167
+ attr_accessor on_demand_hours: ::String
168
+ attr_accessor reserved_hours: ::String
169
+ attr_accessor total_running_hours: ::String
170
+ attr_accessor coverage_hours_percentage: ::String
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class CoverageNormalizedUnits
175
+ attr_accessor on_demand_normalized_units: ::String
176
+ attr_accessor reserved_normalized_units: ::String
177
+ attr_accessor total_running_normalized_units: ::String
178
+ attr_accessor coverage_normalized_units_percentage: ::String
179
+ SENSITIVE: []
180
+ end
181
+
182
+ class CreateAnomalyMonitorRequest
183
+ attr_accessor anomaly_monitor: Types::AnomalyMonitor
184
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
185
+ SENSITIVE: []
186
+ end
187
+
188
+ class CreateAnomalyMonitorResponse
189
+ attr_accessor monitor_arn: ::String
190
+ SENSITIVE: []
191
+ end
192
+
193
+ class CreateAnomalySubscriptionRequest
194
+ attr_accessor anomaly_subscription: Types::AnomalySubscription
195
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
196
+ SENSITIVE: []
197
+ end
198
+
199
+ class CreateAnomalySubscriptionResponse
200
+ attr_accessor subscription_arn: ::String
201
+ SENSITIVE: []
202
+ end
203
+
204
+ class CreateCostCategoryDefinitionRequest
205
+ attr_accessor name: ::String
206
+ attr_accessor effective_start: ::String
207
+ attr_accessor rule_version: ("CostCategoryExpression.v1")
208
+ attr_accessor rules: ::Array[Types::CostCategoryRule]
209
+ attr_accessor default_value: ::String
210
+ attr_accessor split_charge_rules: ::Array[Types::CostCategorySplitChargeRule]
211
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
212
+ SENSITIVE: []
213
+ end
214
+
215
+ class CreateCostCategoryDefinitionResponse
216
+ attr_accessor cost_category_arn: ::String
217
+ attr_accessor effective_start: ::String
218
+ SENSITIVE: []
219
+ end
220
+
221
+ class CurrentInstance
222
+ attr_accessor resource_id: ::String
223
+ attr_accessor instance_name: ::String
224
+ attr_accessor tags: ::Array[Types::TagValues]
225
+ attr_accessor resource_details: Types::ResourceDetails
226
+ attr_accessor resource_utilization: Types::ResourceUtilization
227
+ attr_accessor reservation_covered_hours_in_lookback_period: ::String
228
+ attr_accessor savings_plans_covered_hours_in_lookback_period: ::String
229
+ attr_accessor on_demand_hours_in_lookback_period: ::String
230
+ attr_accessor total_running_hours_in_lookback_period: ::String
231
+ attr_accessor monthly_cost: ::String
232
+ attr_accessor currency_code: ::String
233
+ SENSITIVE: []
234
+ end
235
+
236
+ class DataUnavailableException
237
+ attr_accessor message: ::String
238
+ SENSITIVE: []
239
+ end
240
+
241
+ class DateInterval
242
+ attr_accessor start: ::String
243
+ attr_accessor end: ::String
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class DeleteAnomalyMonitorRequest
248
+ attr_accessor monitor_arn: ::String
249
+ SENSITIVE: []
250
+ end
251
+
252
+ class DeleteAnomalyMonitorResponse < Aws::EmptyStructure
253
+ end
254
+
255
+ class DeleteAnomalySubscriptionRequest
256
+ attr_accessor subscription_arn: ::String
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class DeleteAnomalySubscriptionResponse < Aws::EmptyStructure
261
+ end
262
+
263
+ class DeleteCostCategoryDefinitionRequest
264
+ attr_accessor cost_category_arn: ::String
265
+ SENSITIVE: []
266
+ end
267
+
268
+ class DeleteCostCategoryDefinitionResponse
269
+ attr_accessor cost_category_arn: ::String
270
+ attr_accessor effective_end: ::String
271
+ SENSITIVE: []
272
+ end
273
+
274
+ class DescribeCostCategoryDefinitionRequest
275
+ attr_accessor cost_category_arn: ::String
276
+ attr_accessor effective_on: ::String
277
+ SENSITIVE: []
278
+ end
279
+
280
+ class DescribeCostCategoryDefinitionResponse
281
+ attr_accessor cost_category: Types::CostCategory
282
+ SENSITIVE: []
283
+ end
284
+
285
+ class DimensionValues
286
+ attr_accessor key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")
287
+ attr_accessor values: ::Array[::String]
288
+ attr_accessor match_options: ::Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]
289
+ SENSITIVE: []
290
+ end
291
+
292
+ class DimensionValuesWithAttributes
293
+ attr_accessor value: ::String
294
+ attr_accessor attributes: ::Hash[::String, ::String]
295
+ SENSITIVE: []
296
+ end
297
+
298
+ class DiskResourceUtilization
299
+ attr_accessor disk_read_ops_per_second: ::String
300
+ attr_accessor disk_write_ops_per_second: ::String
301
+ attr_accessor disk_read_bytes_per_second: ::String
302
+ attr_accessor disk_write_bytes_per_second: ::String
303
+ SENSITIVE: []
304
+ end
305
+
306
+ class EBSResourceUtilization
307
+ attr_accessor ebs_read_ops_per_second: ::String
308
+ attr_accessor ebs_write_ops_per_second: ::String
309
+ attr_accessor ebs_read_bytes_per_second: ::String
310
+ attr_accessor ebs_write_bytes_per_second: ::String
311
+ SENSITIVE: []
312
+ end
313
+
314
+ class EC2InstanceDetails
315
+ attr_accessor family: ::String
316
+ attr_accessor instance_type: ::String
317
+ attr_accessor region: ::String
318
+ attr_accessor availability_zone: ::String
319
+ attr_accessor platform: ::String
320
+ attr_accessor tenancy: ::String
321
+ attr_accessor current_generation: bool
322
+ attr_accessor size_flex_eligible: bool
323
+ SENSITIVE: []
324
+ end
325
+
326
+ class EC2ResourceDetails
327
+ attr_accessor hourly_on_demand_rate: ::String
328
+ attr_accessor instance_type: ::String
329
+ attr_accessor platform: ::String
330
+ attr_accessor region: ::String
331
+ attr_accessor sku: ::String
332
+ attr_accessor memory: ::String
333
+ attr_accessor network_performance: ::String
334
+ attr_accessor storage: ::String
335
+ attr_accessor vcpu: ::String
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class EC2ResourceUtilization
340
+ attr_accessor max_cpu_utilization_percentage: ::String
341
+ attr_accessor max_memory_utilization_percentage: ::String
342
+ attr_accessor max_storage_utilization_percentage: ::String
343
+ attr_accessor ebs_resource_utilization: Types::EBSResourceUtilization
344
+ attr_accessor disk_resource_utilization: Types::DiskResourceUtilization
345
+ attr_accessor network_resource_utilization: Types::NetworkResourceUtilization
346
+ SENSITIVE: []
347
+ end
348
+
349
+ class EC2Specification
350
+ attr_accessor offering_class: ("STANDARD" | "CONVERTIBLE")
351
+ SENSITIVE: []
352
+ end
353
+
354
+ class ESInstanceDetails
355
+ attr_accessor instance_class: ::String
356
+ attr_accessor instance_size: ::String
357
+ attr_accessor region: ::String
358
+ attr_accessor current_generation: bool
359
+ attr_accessor size_flex_eligible: bool
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class ElastiCacheInstanceDetails
364
+ attr_accessor family: ::String
365
+ attr_accessor node_type: ::String
366
+ attr_accessor region: ::String
367
+ attr_accessor product_description: ::String
368
+ attr_accessor current_generation: bool
369
+ attr_accessor size_flex_eligible: bool
370
+ SENSITIVE: []
371
+ end
372
+
373
+ class Expression
374
+ attr_accessor or: ::Array[Types::Expression]
375
+ attr_accessor and: ::Array[Types::Expression]
376
+ attr_accessor not: Types::Expression
377
+ attr_accessor dimensions: Types::DimensionValues
378
+ attr_accessor tags: Types::TagValues
379
+ attr_accessor cost_categories: Types::CostCategoryValues
380
+ SENSITIVE: []
381
+ end
382
+
383
+ class ForecastResult
384
+ attr_accessor time_period: Types::DateInterval
385
+ attr_accessor mean_value: ::String
386
+ attr_accessor prediction_interval_lower_bound: ::String
387
+ attr_accessor prediction_interval_upper_bound: ::String
388
+ SENSITIVE: []
389
+ end
390
+
391
+ class GenerationExistsException
392
+ attr_accessor message: ::String
393
+ SENSITIVE: []
394
+ end
395
+
396
+ class GenerationSummary
397
+ attr_accessor recommendation_id: ::String
398
+ attr_accessor generation_status: ("SUCCEEDED" | "PROCESSING" | "FAILED")
399
+ attr_accessor generation_started_time: ::String
400
+ attr_accessor generation_completion_time: ::String
401
+ attr_accessor estimated_completion_time: ::String
402
+ SENSITIVE: []
403
+ end
404
+
405
+ class GetAnomaliesRequest
406
+ attr_accessor monitor_arn: ::String
407
+ attr_accessor date_interval: Types::AnomalyDateInterval
408
+ attr_accessor feedback: ("YES" | "NO" | "PLANNED_ACTIVITY")
409
+ attr_accessor total_impact: Types::TotalImpactFilter
410
+ attr_accessor next_page_token: ::String
411
+ attr_accessor max_results: ::Integer
412
+ SENSITIVE: []
413
+ end
414
+
415
+ class GetAnomaliesResponse
416
+ attr_accessor anomalies: ::Array[Types::Anomaly]
417
+ attr_accessor next_page_token: ::String
418
+ SENSITIVE: []
419
+ end
420
+
421
+ class GetAnomalyMonitorsRequest
422
+ attr_accessor monitor_arn_list: ::Array[::String]
423
+ attr_accessor next_page_token: ::String
424
+ attr_accessor max_results: ::Integer
425
+ SENSITIVE: []
426
+ end
427
+
428
+ class GetAnomalyMonitorsResponse
429
+ attr_accessor anomaly_monitors: ::Array[Types::AnomalyMonitor]
430
+ attr_accessor next_page_token: ::String
431
+ SENSITIVE: []
432
+ end
433
+
434
+ class GetAnomalySubscriptionsRequest
435
+ attr_accessor subscription_arn_list: ::Array[::String]
436
+ attr_accessor monitor_arn: ::String
437
+ attr_accessor next_page_token: ::String
438
+ attr_accessor max_results: ::Integer
439
+ SENSITIVE: []
440
+ end
441
+
442
+ class GetAnomalySubscriptionsResponse
443
+ attr_accessor anomaly_subscriptions: ::Array[Types::AnomalySubscription]
444
+ attr_accessor next_page_token: ::String
445
+ SENSITIVE: []
446
+ end
447
+
448
+ class GetCostAndUsageRequest
449
+ attr_accessor time_period: Types::DateInterval
450
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
451
+ attr_accessor filter: Types::Expression
452
+ attr_accessor metrics: ::Array[::String]
453
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
454
+ attr_accessor next_page_token: ::String
455
+ SENSITIVE: []
456
+ end
457
+
458
+ class GetCostAndUsageResponse
459
+ attr_accessor next_page_token: ::String
460
+ attr_accessor group_definitions: ::Array[Types::GroupDefinition]
461
+ attr_accessor results_by_time: ::Array[Types::ResultByTime]
462
+ attr_accessor dimension_value_attributes: ::Array[Types::DimensionValuesWithAttributes]
463
+ SENSITIVE: []
464
+ end
465
+
466
+ class GetCostAndUsageWithResourcesRequest
467
+ attr_accessor time_period: Types::DateInterval
468
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
469
+ attr_accessor filter: Types::Expression
470
+ attr_accessor metrics: ::Array[::String]
471
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
472
+ attr_accessor next_page_token: ::String
473
+ SENSITIVE: []
474
+ end
475
+
476
+ class GetCostAndUsageWithResourcesResponse
477
+ attr_accessor next_page_token: ::String
478
+ attr_accessor group_definitions: ::Array[Types::GroupDefinition]
479
+ attr_accessor results_by_time: ::Array[Types::ResultByTime]
480
+ attr_accessor dimension_value_attributes: ::Array[Types::DimensionValuesWithAttributes]
481
+ SENSITIVE: []
482
+ end
483
+
484
+ class GetCostCategoriesRequest
485
+ attr_accessor search_string: ::String
486
+ attr_accessor time_period: Types::DateInterval
487
+ attr_accessor cost_category_name: ::String
488
+ attr_accessor filter: Types::Expression
489
+ attr_accessor sort_by: ::Array[Types::SortDefinition]
490
+ attr_accessor max_results: ::Integer
491
+ attr_accessor next_page_token: ::String
492
+ SENSITIVE: []
493
+ end
494
+
495
+ class GetCostCategoriesResponse
496
+ attr_accessor next_page_token: ::String
497
+ attr_accessor cost_category_names: ::Array[::String]
498
+ attr_accessor cost_category_values: ::Array[::String]
499
+ attr_accessor return_size: ::Integer
500
+ attr_accessor total_size: ::Integer
501
+ SENSITIVE: []
502
+ end
503
+
504
+ class GetCostForecastRequest
505
+ attr_accessor time_period: Types::DateInterval
506
+ attr_accessor metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT")
507
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
508
+ attr_accessor filter: Types::Expression
509
+ attr_accessor prediction_interval_level: ::Integer
510
+ SENSITIVE: []
511
+ end
512
+
513
+ class GetCostForecastResponse
514
+ attr_accessor total: Types::MetricValue
515
+ attr_accessor forecast_results_by_time: ::Array[Types::ForecastResult]
516
+ SENSITIVE: []
517
+ end
518
+
519
+ class GetDimensionValuesRequest
520
+ attr_accessor search_string: ::String
521
+ attr_accessor time_period: Types::DateInterval
522
+ attr_accessor dimension: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")
523
+ attr_accessor context: ("COST_AND_USAGE" | "RESERVATIONS" | "SAVINGS_PLANS")
524
+ attr_accessor filter: Types::Expression
525
+ attr_accessor sort_by: ::Array[Types::SortDefinition]
526
+ attr_accessor max_results: ::Integer
527
+ attr_accessor next_page_token: ::String
528
+ SENSITIVE: []
529
+ end
530
+
531
+ class GetDimensionValuesResponse
532
+ attr_accessor dimension_values: ::Array[Types::DimensionValuesWithAttributes]
533
+ attr_accessor return_size: ::Integer
534
+ attr_accessor total_size: ::Integer
535
+ attr_accessor next_page_token: ::String
536
+ SENSITIVE: []
537
+ end
538
+
539
+ class GetReservationCoverageRequest
540
+ attr_accessor time_period: Types::DateInterval
541
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
542
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
543
+ attr_accessor filter: Types::Expression
544
+ attr_accessor metrics: ::Array[::String]
545
+ attr_accessor next_page_token: ::String
546
+ attr_accessor sort_by: Types::SortDefinition
547
+ attr_accessor max_results: ::Integer
548
+ SENSITIVE: []
549
+ end
550
+
551
+ class GetReservationCoverageResponse
552
+ attr_accessor coverages_by_time: ::Array[Types::CoverageByTime]
553
+ attr_accessor total: Types::Coverage
554
+ attr_accessor next_page_token: ::String
555
+ SENSITIVE: []
556
+ end
557
+
558
+ class GetReservationPurchaseRecommendationRequest
559
+ attr_accessor account_id: ::String
560
+ attr_accessor service: ::String
561
+ attr_accessor filter: Types::Expression
562
+ attr_accessor account_scope: ("PAYER" | "LINKED")
563
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
564
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
565
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
566
+ attr_accessor service_specification: Types::ServiceSpecification
567
+ attr_accessor page_size: ::Integer
568
+ attr_accessor next_page_token: ::String
569
+ SENSITIVE: []
570
+ end
571
+
572
+ class GetReservationPurchaseRecommendationResponse
573
+ attr_accessor metadata: Types::ReservationPurchaseRecommendationMetadata
574
+ attr_accessor recommendations: ::Array[Types::ReservationPurchaseRecommendation]
575
+ attr_accessor next_page_token: ::String
576
+ SENSITIVE: []
577
+ end
578
+
579
+ class GetReservationUtilizationRequest
580
+ attr_accessor time_period: Types::DateInterval
581
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
582
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
583
+ attr_accessor filter: Types::Expression
584
+ attr_accessor sort_by: Types::SortDefinition
585
+ attr_accessor next_page_token: ::String
586
+ attr_accessor max_results: ::Integer
587
+ SENSITIVE: []
588
+ end
589
+
590
+ class GetReservationUtilizationResponse
591
+ attr_accessor utilizations_by_time: ::Array[Types::UtilizationByTime]
592
+ attr_accessor total: Types::ReservationAggregates
593
+ attr_accessor next_page_token: ::String
594
+ SENSITIVE: []
595
+ end
596
+
597
+ class GetRightsizingRecommendationRequest
598
+ attr_accessor filter: Types::Expression
599
+ attr_accessor configuration: Types::RightsizingRecommendationConfiguration
600
+ attr_accessor service: ::String
601
+ attr_accessor page_size: ::Integer
602
+ attr_accessor next_page_token: ::String
603
+ SENSITIVE: []
604
+ end
605
+
606
+ class GetRightsizingRecommendationResponse
607
+ attr_accessor metadata: Types::RightsizingRecommendationMetadata
608
+ attr_accessor summary: Types::RightsizingRecommendationSummary
609
+ attr_accessor rightsizing_recommendations: ::Array[Types::RightsizingRecommendation]
610
+ attr_accessor next_page_token: ::String
611
+ attr_accessor configuration: Types::RightsizingRecommendationConfiguration
612
+ SENSITIVE: []
613
+ end
614
+
615
+ class GetSavingsPlanPurchaseRecommendationDetailsRequest
616
+ attr_accessor recommendation_detail_id: ::String
617
+ SENSITIVE: []
618
+ end
619
+
620
+ class GetSavingsPlanPurchaseRecommendationDetailsResponse
621
+ attr_accessor recommendation_detail_id: ::String
622
+ attr_accessor recommendation_detail_data: Types::RecommendationDetailData
623
+ SENSITIVE: []
624
+ end
625
+
626
+ class GetSavingsPlansCoverageRequest
627
+ attr_accessor time_period: Types::DateInterval
628
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
629
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
630
+ attr_accessor filter: Types::Expression
631
+ attr_accessor metrics: ::Array[::String]
632
+ attr_accessor next_token: ::String
633
+ attr_accessor max_results: ::Integer
634
+ attr_accessor sort_by: Types::SortDefinition
635
+ SENSITIVE: []
636
+ end
637
+
638
+ class GetSavingsPlansCoverageResponse
639
+ attr_accessor savings_plans_coverages: ::Array[Types::SavingsPlansCoverage]
640
+ attr_accessor next_token: ::String
641
+ SENSITIVE: []
642
+ end
643
+
644
+ class GetSavingsPlansPurchaseRecommendationRequest
645
+ attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
646
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
647
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
648
+ attr_accessor account_scope: ("PAYER" | "LINKED")
649
+ attr_accessor next_page_token: ::String
650
+ attr_accessor page_size: ::Integer
651
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
652
+ attr_accessor filter: Types::Expression
653
+ SENSITIVE: []
654
+ end
655
+
656
+ class GetSavingsPlansPurchaseRecommendationResponse
657
+ attr_accessor metadata: Types::SavingsPlansPurchaseRecommendationMetadata
658
+ attr_accessor savings_plans_purchase_recommendation: Types::SavingsPlansPurchaseRecommendation
659
+ attr_accessor next_page_token: ::String
660
+ SENSITIVE: []
661
+ end
662
+
663
+ class GetSavingsPlansUtilizationDetailsRequest
664
+ attr_accessor time_period: Types::DateInterval
665
+ attr_accessor filter: Types::Expression
666
+ attr_accessor data_type: ::Array[("ATTRIBUTES" | "UTILIZATION" | "AMORTIZED_COMMITMENT" | "SAVINGS")]
667
+ attr_accessor next_token: ::String
668
+ attr_accessor max_results: ::Integer
669
+ attr_accessor sort_by: Types::SortDefinition
670
+ SENSITIVE: []
671
+ end
672
+
673
+ class GetSavingsPlansUtilizationDetailsResponse
674
+ attr_accessor savings_plans_utilization_details: ::Array[Types::SavingsPlansUtilizationDetail]
675
+ attr_accessor total: Types::SavingsPlansUtilizationAggregates
676
+ attr_accessor time_period: Types::DateInterval
677
+ attr_accessor next_token: ::String
678
+ SENSITIVE: []
679
+ end
680
+
681
+ class GetSavingsPlansUtilizationRequest
682
+ attr_accessor time_period: Types::DateInterval
683
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
684
+ attr_accessor filter: Types::Expression
685
+ attr_accessor sort_by: Types::SortDefinition
686
+ SENSITIVE: []
687
+ end
688
+
689
+ class GetSavingsPlansUtilizationResponse
690
+ attr_accessor savings_plans_utilizations_by_time: ::Array[Types::SavingsPlansUtilizationByTime]
691
+ attr_accessor total: Types::SavingsPlansUtilizationAggregates
692
+ SENSITIVE: []
693
+ end
694
+
695
+ class GetTagsRequest
696
+ attr_accessor search_string: ::String
697
+ attr_accessor time_period: Types::DateInterval
698
+ attr_accessor tag_key: ::String
699
+ attr_accessor filter: Types::Expression
700
+ attr_accessor sort_by: ::Array[Types::SortDefinition]
701
+ attr_accessor max_results: ::Integer
702
+ attr_accessor next_page_token: ::String
703
+ SENSITIVE: []
704
+ end
705
+
706
+ class GetTagsResponse
707
+ attr_accessor next_page_token: ::String
708
+ attr_accessor tags: ::Array[::String]
709
+ attr_accessor return_size: ::Integer
710
+ attr_accessor total_size: ::Integer
711
+ SENSITIVE: []
712
+ end
713
+
714
+ class GetUsageForecastRequest
715
+ attr_accessor time_period: Types::DateInterval
716
+ attr_accessor metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT")
717
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
718
+ attr_accessor filter: Types::Expression
719
+ attr_accessor prediction_interval_level: ::Integer
720
+ SENSITIVE: []
721
+ end
722
+
723
+ class GetUsageForecastResponse
724
+ attr_accessor total: Types::MetricValue
725
+ attr_accessor forecast_results_by_time: ::Array[Types::ForecastResult]
726
+ SENSITIVE: []
727
+ end
728
+
729
+ class Group
730
+ attr_accessor keys: ::Array[::String]
731
+ attr_accessor metrics: ::Hash[::String, Types::MetricValue]
732
+ SENSITIVE: []
733
+ end
734
+
735
+ class GroupDefinition
736
+ attr_accessor type: ("DIMENSION" | "TAG" | "COST_CATEGORY")
737
+ attr_accessor key: ::String
738
+ SENSITIVE: []
739
+ end
740
+
741
+ class Impact
742
+ attr_accessor max_impact: ::Float
743
+ attr_accessor total_impact: ::Float
744
+ attr_accessor total_actual_spend: ::Float
745
+ attr_accessor total_expected_spend: ::Float
746
+ attr_accessor total_impact_percentage: ::Float
747
+ SENSITIVE: []
748
+ end
749
+
750
+ class InstanceDetails
751
+ attr_accessor ec2_instance_details: Types::EC2InstanceDetails
752
+ attr_accessor rds_instance_details: Types::RDSInstanceDetails
753
+ attr_accessor redshift_instance_details: Types::RedshiftInstanceDetails
754
+ attr_accessor elasticache_instance_details: Types::ElastiCacheInstanceDetails
755
+ attr_accessor es_instance_details: Types::ESInstanceDetails
756
+ attr_accessor memory_db_instance_details: Types::MemoryDBInstanceDetails
757
+ SENSITIVE: []
758
+ end
759
+
760
+ class InvalidNextTokenException
761
+ attr_accessor message: ::String
762
+ SENSITIVE: []
763
+ end
764
+
765
+ class LimitExceededException
766
+ attr_accessor message: ::String
767
+ SENSITIVE: []
768
+ end
769
+
770
+ class ListCostAllocationTagsRequest
771
+ attr_accessor status: ("Active" | "Inactive")
772
+ attr_accessor tag_keys: ::Array[::String]
773
+ attr_accessor type: ("AWSGenerated" | "UserDefined")
774
+ attr_accessor next_token: ::String
775
+ attr_accessor max_results: ::Integer
776
+ SENSITIVE: []
777
+ end
778
+
779
+ class ListCostAllocationTagsResponse
780
+ attr_accessor cost_allocation_tags: ::Array[Types::CostAllocationTag]
781
+ attr_accessor next_token: ::String
782
+ SENSITIVE: []
783
+ end
784
+
785
+ class ListCostCategoryDefinitionsRequest
786
+ attr_accessor effective_on: ::String
787
+ attr_accessor next_token: ::String
788
+ attr_accessor max_results: ::Integer
789
+ SENSITIVE: []
790
+ end
791
+
792
+ class ListCostCategoryDefinitionsResponse
793
+ attr_accessor cost_category_references: ::Array[Types::CostCategoryReference]
794
+ attr_accessor next_token: ::String
795
+ SENSITIVE: []
796
+ end
797
+
798
+ class ListSavingsPlansPurchaseRecommendationGenerationRequest
799
+ attr_accessor generation_status: ("SUCCEEDED" | "PROCESSING" | "FAILED")
800
+ attr_accessor recommendation_ids: ::Array[::String]
801
+ attr_accessor page_size: ::Integer
802
+ attr_accessor next_page_token: ::String
803
+ SENSITIVE: []
804
+ end
805
+
806
+ class ListSavingsPlansPurchaseRecommendationGenerationResponse
807
+ attr_accessor generation_summary_list: ::Array[Types::GenerationSummary]
808
+ attr_accessor next_page_token: ::String
809
+ SENSITIVE: []
810
+ end
811
+
812
+ class ListTagsForResourceRequest
813
+ attr_accessor resource_arn: ::String
814
+ SENSITIVE: []
815
+ end
816
+
817
+ class ListTagsForResourceResponse
818
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
819
+ SENSITIVE: []
820
+ end
821
+
822
+ class MemoryDBInstanceDetails
823
+ attr_accessor family: ::String
824
+ attr_accessor node_type: ::String
825
+ attr_accessor region: ::String
826
+ attr_accessor current_generation: bool
827
+ attr_accessor size_flex_eligible: bool
828
+ SENSITIVE: []
829
+ end
830
+
831
+ class MetricValue
832
+ attr_accessor amount: ::String
833
+ attr_accessor unit: ::String
834
+ SENSITIVE: []
835
+ end
836
+
837
+ class ModifyRecommendationDetail
838
+ attr_accessor target_instances: ::Array[Types::TargetInstance]
839
+ SENSITIVE: []
840
+ end
841
+
842
+ class NetworkResourceUtilization
843
+ attr_accessor network_in_bytes_per_second: ::String
844
+ attr_accessor network_out_bytes_per_second: ::String
845
+ attr_accessor network_packets_in_per_second: ::String
846
+ attr_accessor network_packets_out_per_second: ::String
847
+ SENSITIVE: []
848
+ end
849
+
850
+ class ProvideAnomalyFeedbackRequest
851
+ attr_accessor anomaly_id: ::String
852
+ attr_accessor feedback: ("YES" | "NO" | "PLANNED_ACTIVITY")
853
+ SENSITIVE: []
854
+ end
855
+
856
+ class ProvideAnomalyFeedbackResponse
857
+ attr_accessor anomaly_id: ::String
858
+ SENSITIVE: []
859
+ end
860
+
861
+ class RDSInstanceDetails
862
+ attr_accessor family: ::String
863
+ attr_accessor instance_type: ::String
864
+ attr_accessor region: ::String
865
+ attr_accessor database_engine: ::String
866
+ attr_accessor database_edition: ::String
867
+ attr_accessor deployment_option: ::String
868
+ attr_accessor license_model: ::String
869
+ attr_accessor current_generation: bool
870
+ attr_accessor size_flex_eligible: bool
871
+ SENSITIVE: []
872
+ end
873
+
874
+ class RecommendationDetailData
875
+ attr_accessor account_scope: ("PAYER" | "LINKED")
876
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
877
+ attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
878
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
879
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
880
+ attr_accessor account_id: ::String
881
+ attr_accessor currency_code: ::String
882
+ attr_accessor instance_family: ::String
883
+ attr_accessor region: ::String
884
+ attr_accessor offering_id: ::String
885
+ attr_accessor generation_timestamp: ::String
886
+ attr_accessor latest_usage_timestamp: ::String
887
+ attr_accessor current_average_hourly_on_demand_spend: ::String
888
+ attr_accessor current_maximum_hourly_on_demand_spend: ::String
889
+ attr_accessor current_minimum_hourly_on_demand_spend: ::String
890
+ attr_accessor estimated_average_utilization: ::String
891
+ attr_accessor estimated_monthly_savings_amount: ::String
892
+ attr_accessor estimated_on_demand_cost: ::String
893
+ attr_accessor estimated_on_demand_cost_with_current_commitment: ::String
894
+ attr_accessor estimated_roi: ::String
895
+ attr_accessor estimated_sp_cost: ::String
896
+ attr_accessor estimated_savings_amount: ::String
897
+ attr_accessor estimated_savings_percentage: ::String
898
+ attr_accessor existing_hourly_commitment: ::String
899
+ attr_accessor hourly_commitment_to_purchase: ::String
900
+ attr_accessor upfront_cost: ::String
901
+ attr_accessor current_average_coverage: ::String
902
+ attr_accessor estimated_average_coverage: ::String
903
+ attr_accessor metrics_over_lookback_period: ::Array[Types::RecommendationDetailHourlyMetrics]
904
+ SENSITIVE: []
905
+ end
906
+
907
+ class RecommendationDetailHourlyMetrics
908
+ attr_accessor start_time: ::String
909
+ attr_accessor estimated_on_demand_cost: ::String
910
+ attr_accessor current_coverage: ::String
911
+ attr_accessor estimated_coverage: ::String
912
+ attr_accessor estimated_new_commitment_utilization: ::String
913
+ SENSITIVE: []
914
+ end
915
+
916
+ class RedshiftInstanceDetails
917
+ attr_accessor family: ::String
918
+ attr_accessor node_type: ::String
919
+ attr_accessor region: ::String
920
+ attr_accessor current_generation: bool
921
+ attr_accessor size_flex_eligible: bool
922
+ SENSITIVE: []
923
+ end
924
+
925
+ class RequestChangedException
926
+ attr_accessor message: ::String
927
+ SENSITIVE: []
928
+ end
929
+
930
+ class ReservationAggregates
931
+ attr_accessor utilization_percentage: ::String
932
+ attr_accessor utilization_percentage_in_units: ::String
933
+ attr_accessor purchased_hours: ::String
934
+ attr_accessor purchased_units: ::String
935
+ attr_accessor total_actual_hours: ::String
936
+ attr_accessor total_actual_units: ::String
937
+ attr_accessor unused_hours: ::String
938
+ attr_accessor unused_units: ::String
939
+ attr_accessor on_demand_cost_of_ri_hours_used: ::String
940
+ attr_accessor net_ri_savings: ::String
941
+ attr_accessor total_potential_ri_savings: ::String
942
+ attr_accessor amortized_upfront_fee: ::String
943
+ attr_accessor amortized_recurring_fee: ::String
944
+ attr_accessor total_amortized_fee: ::String
945
+ attr_accessor ri_cost_for_unused_hours: ::String
946
+ attr_accessor realized_savings: ::String
947
+ attr_accessor unrealized_savings: ::String
948
+ SENSITIVE: []
949
+ end
950
+
951
+ class ReservationCoverageGroup
952
+ attr_accessor attributes: ::Hash[::String, ::String]
953
+ attr_accessor coverage: Types::Coverage
954
+ SENSITIVE: []
955
+ end
956
+
957
+ class ReservationPurchaseRecommendation
958
+ attr_accessor account_scope: ("PAYER" | "LINKED")
959
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
960
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
961
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
962
+ attr_accessor service_specification: Types::ServiceSpecification
963
+ attr_accessor recommendation_details: ::Array[Types::ReservationPurchaseRecommendationDetail]
964
+ attr_accessor recommendation_summary: Types::ReservationPurchaseRecommendationSummary
965
+ SENSITIVE: []
966
+ end
967
+
968
+ class ReservationPurchaseRecommendationDetail
969
+ attr_accessor account_id: ::String
970
+ attr_accessor instance_details: Types::InstanceDetails
971
+ attr_accessor recommended_number_of_instances_to_purchase: ::String
972
+ attr_accessor recommended_normalized_units_to_purchase: ::String
973
+ attr_accessor minimum_number_of_instances_used_per_hour: ::String
974
+ attr_accessor minimum_normalized_units_used_per_hour: ::String
975
+ attr_accessor maximum_number_of_instances_used_per_hour: ::String
976
+ attr_accessor maximum_normalized_units_used_per_hour: ::String
977
+ attr_accessor average_number_of_instances_used_per_hour: ::String
978
+ attr_accessor average_normalized_units_used_per_hour: ::String
979
+ attr_accessor average_utilization: ::String
980
+ attr_accessor estimated_break_even_in_months: ::String
981
+ attr_accessor currency_code: ::String
982
+ attr_accessor estimated_monthly_savings_amount: ::String
983
+ attr_accessor estimated_monthly_savings_percentage: ::String
984
+ attr_accessor estimated_monthly_on_demand_cost: ::String
985
+ attr_accessor estimated_reservation_cost_for_lookback_period: ::String
986
+ attr_accessor upfront_cost: ::String
987
+ attr_accessor recurring_standard_monthly_cost: ::String
988
+ SENSITIVE: []
989
+ end
990
+
991
+ class ReservationPurchaseRecommendationMetadata
992
+ attr_accessor recommendation_id: ::String
993
+ attr_accessor generation_timestamp: ::String
994
+ SENSITIVE: []
995
+ end
996
+
997
+ class ReservationPurchaseRecommendationSummary
998
+ attr_accessor total_estimated_monthly_savings_amount: ::String
999
+ attr_accessor total_estimated_monthly_savings_percentage: ::String
1000
+ attr_accessor currency_code: ::String
1001
+ SENSITIVE: []
1002
+ end
1003
+
1004
+ class ReservationUtilizationGroup
1005
+ attr_accessor key: ::String
1006
+ attr_accessor value: ::String
1007
+ attr_accessor attributes: ::Hash[::String, ::String]
1008
+ attr_accessor utilization: Types::ReservationAggregates
1009
+ SENSITIVE: []
1010
+ end
1011
+
1012
+ class ResourceDetails
1013
+ attr_accessor ec2_resource_details: Types::EC2ResourceDetails
1014
+ SENSITIVE: []
1015
+ end
1016
+
1017
+ class ResourceNotFoundException
1018
+ attr_accessor message: ::String
1019
+ attr_accessor resource_name: ::String
1020
+ SENSITIVE: []
1021
+ end
1022
+
1023
+ class ResourceTag
1024
+ attr_accessor key: ::String
1025
+ attr_accessor value: ::String
1026
+ SENSITIVE: []
1027
+ end
1028
+
1029
+ class ResourceUtilization
1030
+ attr_accessor ec2_resource_utilization: Types::EC2ResourceUtilization
1031
+ SENSITIVE: []
1032
+ end
1033
+
1034
+ class ResultByTime
1035
+ attr_accessor time_period: Types::DateInterval
1036
+ attr_accessor total: ::Hash[::String, Types::MetricValue]
1037
+ attr_accessor groups: ::Array[Types::Group]
1038
+ attr_accessor estimated: bool
1039
+ SENSITIVE: []
1040
+ end
1041
+
1042
+ class RightsizingRecommendation
1043
+ attr_accessor account_id: ::String
1044
+ attr_accessor current_instance: Types::CurrentInstance
1045
+ attr_accessor rightsizing_type: ("TERMINATE" | "MODIFY")
1046
+ attr_accessor modify_recommendation_detail: Types::ModifyRecommendationDetail
1047
+ attr_accessor terminate_recommendation_detail: Types::TerminateRecommendationDetail
1048
+ attr_accessor finding_reason_codes: ::Array[("CPU_OVER_PROVISIONED" | "CPU_UNDER_PROVISIONED" | "MEMORY_OVER_PROVISIONED" | "MEMORY_UNDER_PROVISIONED" | "EBS_THROUGHPUT_OVER_PROVISIONED" | "EBS_THROUGHPUT_UNDER_PROVISIONED" | "EBS_IOPS_OVER_PROVISIONED" | "EBS_IOPS_UNDER_PROVISIONED" | "NETWORK_BANDWIDTH_OVER_PROVISIONED" | "NETWORK_BANDWIDTH_UNDER_PROVISIONED" | "NETWORK_PPS_OVER_PROVISIONED" | "NETWORK_PPS_UNDER_PROVISIONED" | "DISK_IOPS_OVER_PROVISIONED" | "DISK_IOPS_UNDER_PROVISIONED" | "DISK_THROUGHPUT_OVER_PROVISIONED" | "DISK_THROUGHPUT_UNDER_PROVISIONED")]
1049
+ SENSITIVE: []
1050
+ end
1051
+
1052
+ class RightsizingRecommendationConfiguration
1053
+ attr_accessor recommendation_target: ("SAME_INSTANCE_FAMILY" | "CROSS_INSTANCE_FAMILY")
1054
+ attr_accessor benefits_considered: bool
1055
+ SENSITIVE: []
1056
+ end
1057
+
1058
+ class RightsizingRecommendationMetadata
1059
+ attr_accessor recommendation_id: ::String
1060
+ attr_accessor generation_timestamp: ::String
1061
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
1062
+ attr_accessor additional_metadata: ::String
1063
+ SENSITIVE: []
1064
+ end
1065
+
1066
+ class RightsizingRecommendationSummary
1067
+ attr_accessor total_recommendation_count: ::String
1068
+ attr_accessor estimated_total_monthly_savings_amount: ::String
1069
+ attr_accessor savings_currency_code: ::String
1070
+ attr_accessor savings_percentage: ::String
1071
+ SENSITIVE: []
1072
+ end
1073
+
1074
+ class RootCause
1075
+ attr_accessor service: ::String
1076
+ attr_accessor region: ::String
1077
+ attr_accessor linked_account: ::String
1078
+ attr_accessor usage_type: ::String
1079
+ attr_accessor linked_account_name: ::String
1080
+ SENSITIVE: []
1081
+ end
1082
+
1083
+ class SavingsPlansAmortizedCommitment
1084
+ attr_accessor amortized_recurring_commitment: ::String
1085
+ attr_accessor amortized_upfront_commitment: ::String
1086
+ attr_accessor total_amortized_commitment: ::String
1087
+ SENSITIVE: []
1088
+ end
1089
+
1090
+ class SavingsPlansCoverage
1091
+ attr_accessor attributes: ::Hash[::String, ::String]
1092
+ attr_accessor coverage: Types::SavingsPlansCoverageData
1093
+ attr_accessor time_period: Types::DateInterval
1094
+ SENSITIVE: []
1095
+ end
1096
+
1097
+ class SavingsPlansCoverageData
1098
+ attr_accessor spend_covered_by_savings_plans: ::String
1099
+ attr_accessor on_demand_cost: ::String
1100
+ attr_accessor total_cost: ::String
1101
+ attr_accessor coverage_percentage: ::String
1102
+ SENSITIVE: []
1103
+ end
1104
+
1105
+ class SavingsPlansDetails
1106
+ attr_accessor region: ::String
1107
+ attr_accessor instance_family: ::String
1108
+ attr_accessor offering_id: ::String
1109
+ SENSITIVE: []
1110
+ end
1111
+
1112
+ class SavingsPlansPurchaseRecommendation
1113
+ attr_accessor account_scope: ("PAYER" | "LINKED")
1114
+ attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
1115
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
1116
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
1117
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
1118
+ attr_accessor savings_plans_purchase_recommendation_details: ::Array[Types::SavingsPlansPurchaseRecommendationDetail]
1119
+ attr_accessor savings_plans_purchase_recommendation_summary: Types::SavingsPlansPurchaseRecommendationSummary
1120
+ SENSITIVE: []
1121
+ end
1122
+
1123
+ class SavingsPlansPurchaseRecommendationDetail
1124
+ attr_accessor savings_plans_details: Types::SavingsPlansDetails
1125
+ attr_accessor account_id: ::String
1126
+ attr_accessor upfront_cost: ::String
1127
+ attr_accessor estimated_roi: ::String
1128
+ attr_accessor currency_code: ::String
1129
+ attr_accessor estimated_sp_cost: ::String
1130
+ attr_accessor estimated_on_demand_cost: ::String
1131
+ attr_accessor estimated_on_demand_cost_with_current_commitment: ::String
1132
+ attr_accessor estimated_savings_amount: ::String
1133
+ attr_accessor estimated_savings_percentage: ::String
1134
+ attr_accessor hourly_commitment_to_purchase: ::String
1135
+ attr_accessor estimated_average_utilization: ::String
1136
+ attr_accessor estimated_monthly_savings_amount: ::String
1137
+ attr_accessor current_minimum_hourly_on_demand_spend: ::String
1138
+ attr_accessor current_maximum_hourly_on_demand_spend: ::String
1139
+ attr_accessor current_average_hourly_on_demand_spend: ::String
1140
+ attr_accessor recommendation_detail_id: ::String
1141
+ SENSITIVE: []
1142
+ end
1143
+
1144
+ class SavingsPlansPurchaseRecommendationMetadata
1145
+ attr_accessor recommendation_id: ::String
1146
+ attr_accessor generation_timestamp: ::String
1147
+ attr_accessor additional_metadata: ::String
1148
+ SENSITIVE: []
1149
+ end
1150
+
1151
+ class SavingsPlansPurchaseRecommendationSummary
1152
+ attr_accessor estimated_roi: ::String
1153
+ attr_accessor currency_code: ::String
1154
+ attr_accessor estimated_total_cost: ::String
1155
+ attr_accessor current_on_demand_spend: ::String
1156
+ attr_accessor estimated_savings_amount: ::String
1157
+ attr_accessor total_recommendation_count: ::String
1158
+ attr_accessor daily_commitment_to_purchase: ::String
1159
+ attr_accessor hourly_commitment_to_purchase: ::String
1160
+ attr_accessor estimated_savings_percentage: ::String
1161
+ attr_accessor estimated_monthly_savings_amount: ::String
1162
+ attr_accessor estimated_on_demand_cost_with_current_commitment: ::String
1163
+ SENSITIVE: []
1164
+ end
1165
+
1166
+ class SavingsPlansSavings
1167
+ attr_accessor net_savings: ::String
1168
+ attr_accessor on_demand_cost_equivalent: ::String
1169
+ SENSITIVE: []
1170
+ end
1171
+
1172
+ class SavingsPlansUtilization
1173
+ attr_accessor total_commitment: ::String
1174
+ attr_accessor used_commitment: ::String
1175
+ attr_accessor unused_commitment: ::String
1176
+ attr_accessor utilization_percentage: ::String
1177
+ SENSITIVE: []
1178
+ end
1179
+
1180
+ class SavingsPlansUtilizationAggregates
1181
+ attr_accessor utilization: Types::SavingsPlansUtilization
1182
+ attr_accessor savings: Types::SavingsPlansSavings
1183
+ attr_accessor amortized_commitment: Types::SavingsPlansAmortizedCommitment
1184
+ SENSITIVE: []
1185
+ end
1186
+
1187
+ class SavingsPlansUtilizationByTime
1188
+ attr_accessor time_period: Types::DateInterval
1189
+ attr_accessor utilization: Types::SavingsPlansUtilization
1190
+ attr_accessor savings: Types::SavingsPlansSavings
1191
+ attr_accessor amortized_commitment: Types::SavingsPlansAmortizedCommitment
1192
+ SENSITIVE: []
1193
+ end
1194
+
1195
+ class SavingsPlansUtilizationDetail
1196
+ attr_accessor savings_plan_arn: ::String
1197
+ attr_accessor attributes: ::Hash[::String, ::String]
1198
+ attr_accessor utilization: Types::SavingsPlansUtilization
1199
+ attr_accessor savings: Types::SavingsPlansSavings
1200
+ attr_accessor amortized_commitment: Types::SavingsPlansAmortizedCommitment
1201
+ SENSITIVE: []
1202
+ end
1203
+
1204
+ class ServiceQuotaExceededException
1205
+ attr_accessor message: ::String
1206
+ SENSITIVE: []
1207
+ end
1208
+
1209
+ class ServiceSpecification
1210
+ attr_accessor ec2_specification: Types::EC2Specification
1211
+ SENSITIVE: []
1212
+ end
1213
+
1214
+ class SortDefinition
1215
+ attr_accessor key: ::String
1216
+ attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
1217
+ SENSITIVE: []
1218
+ end
1219
+
1220
+ class StartSavingsPlansPurchaseRecommendationGenerationRequest < Aws::EmptyStructure
1221
+ end
1222
+
1223
+ class StartSavingsPlansPurchaseRecommendationGenerationResponse
1224
+ attr_accessor recommendation_id: ::String
1225
+ attr_accessor generation_started_time: ::String
1226
+ attr_accessor estimated_completion_time: ::String
1227
+ SENSITIVE: []
1228
+ end
1229
+
1230
+ class Subscriber
1231
+ attr_accessor address: ::String
1232
+ attr_accessor type: ("EMAIL" | "SNS")
1233
+ attr_accessor status: ("CONFIRMED" | "DECLINED")
1234
+ SENSITIVE: []
1235
+ end
1236
+
1237
+ class TagResourceRequest
1238
+ attr_accessor resource_arn: ::String
1239
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
1240
+ SENSITIVE: []
1241
+ end
1242
+
1243
+ class TagResourceResponse < Aws::EmptyStructure
1244
+ end
1245
+
1246
+ class TagValues
1247
+ attr_accessor key: ::String
1248
+ attr_accessor values: ::Array[::String]
1249
+ attr_accessor match_options: ::Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]
1250
+ SENSITIVE: []
1251
+ end
1252
+
1253
+ class TargetInstance
1254
+ attr_accessor estimated_monthly_cost: ::String
1255
+ attr_accessor estimated_monthly_savings: ::String
1256
+ attr_accessor currency_code: ::String
1257
+ attr_accessor default_target_instance: bool
1258
+ attr_accessor resource_details: Types::ResourceDetails
1259
+ attr_accessor expected_resource_utilization: Types::ResourceUtilization
1260
+ attr_accessor platform_differences: ::Array[("HYPERVISOR" | "NETWORK_INTERFACE" | "STORAGE_INTERFACE" | "INSTANCE_STORE_AVAILABILITY" | "VIRTUALIZATION_TYPE")]
1261
+ SENSITIVE: []
1262
+ end
1263
+
1264
+ class TerminateRecommendationDetail
1265
+ attr_accessor estimated_monthly_savings: ::String
1266
+ attr_accessor currency_code: ::String
1267
+ SENSITIVE: []
1268
+ end
1269
+
1270
+ class TooManyTagsException
1271
+ attr_accessor message: ::String
1272
+ attr_accessor resource_name: ::String
1273
+ SENSITIVE: []
1274
+ end
1275
+
1276
+ class TotalImpactFilter
1277
+ attr_accessor numeric_operator: ("EQUAL" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "BETWEEN")
1278
+ attr_accessor start_value: ::Float
1279
+ attr_accessor end_value: ::Float
1280
+ SENSITIVE: []
1281
+ end
1282
+
1283
+ class UnknownMonitorException
1284
+ attr_accessor message: ::String
1285
+ SENSITIVE: []
1286
+ end
1287
+
1288
+ class UnknownSubscriptionException
1289
+ attr_accessor message: ::String
1290
+ SENSITIVE: []
1291
+ end
1292
+
1293
+ class UnresolvableUsageUnitException
1294
+ attr_accessor message: ::String
1295
+ SENSITIVE: []
1296
+ end
1297
+
1298
+ class UntagResourceRequest
1299
+ attr_accessor resource_arn: ::String
1300
+ attr_accessor resource_tag_keys: ::Array[::String]
1301
+ SENSITIVE: []
1302
+ end
1303
+
1304
+ class UntagResourceResponse < Aws::EmptyStructure
1305
+ end
1306
+
1307
+ class UpdateAnomalyMonitorRequest
1308
+ attr_accessor monitor_arn: ::String
1309
+ attr_accessor monitor_name: ::String
1310
+ SENSITIVE: []
1311
+ end
1312
+
1313
+ class UpdateAnomalyMonitorResponse
1314
+ attr_accessor monitor_arn: ::String
1315
+ SENSITIVE: []
1316
+ end
1317
+
1318
+ class UpdateAnomalySubscriptionRequest
1319
+ attr_accessor subscription_arn: ::String
1320
+ attr_accessor threshold: ::Float
1321
+ attr_accessor frequency: ("DAILY" | "IMMEDIATE" | "WEEKLY")
1322
+ attr_accessor monitor_arn_list: ::Array[::String]
1323
+ attr_accessor subscribers: ::Array[Types::Subscriber]
1324
+ attr_accessor subscription_name: ::String
1325
+ attr_accessor threshold_expression: Types::Expression
1326
+ SENSITIVE: []
1327
+ end
1328
+
1329
+ class UpdateAnomalySubscriptionResponse
1330
+ attr_accessor subscription_arn: ::String
1331
+ SENSITIVE: []
1332
+ end
1333
+
1334
+ class UpdateCostAllocationTagsStatusError
1335
+ attr_accessor tag_key: ::String
1336
+ attr_accessor code: ::String
1337
+ attr_accessor message: ::String
1338
+ SENSITIVE: []
1339
+ end
1340
+
1341
+ class UpdateCostAllocationTagsStatusRequest
1342
+ attr_accessor cost_allocation_tags_status: ::Array[Types::CostAllocationTagStatusEntry]
1343
+ SENSITIVE: []
1344
+ end
1345
+
1346
+ class UpdateCostAllocationTagsStatusResponse
1347
+ attr_accessor errors: ::Array[Types::UpdateCostAllocationTagsStatusError]
1348
+ SENSITIVE: []
1349
+ end
1350
+
1351
+ class UpdateCostCategoryDefinitionRequest
1352
+ attr_accessor cost_category_arn: ::String
1353
+ attr_accessor effective_start: ::String
1354
+ attr_accessor rule_version: ("CostCategoryExpression.v1")
1355
+ attr_accessor rules: ::Array[Types::CostCategoryRule]
1356
+ attr_accessor default_value: ::String
1357
+ attr_accessor split_charge_rules: ::Array[Types::CostCategorySplitChargeRule]
1358
+ SENSITIVE: []
1359
+ end
1360
+
1361
+ class UpdateCostCategoryDefinitionResponse
1362
+ attr_accessor cost_category_arn: ::String
1363
+ attr_accessor effective_start: ::String
1364
+ SENSITIVE: []
1365
+ end
1366
+
1367
+ class UtilizationByTime
1368
+ attr_accessor time_period: Types::DateInterval
1369
+ attr_accessor groups: ::Array[Types::ReservationUtilizationGroup]
1370
+ attr_accessor total: Types::ReservationAggregates
1371
+ SENSITIVE: []
1372
+ end
1373
+ end
1374
+ end