aws-sdk-costexplorer 1.94.0 → 1.96.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/types.rbs ADDED
@@ -0,0 +1,1388 @@
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 GetApproximateUsageRecordsRequest
449
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
450
+ attr_accessor services: ::Array[::String]
451
+ attr_accessor approximation_dimension: ("SERVICE" | "RESOURCE")
452
+ SENSITIVE: []
453
+ end
454
+
455
+ class GetApproximateUsageRecordsResponse
456
+ attr_accessor services: ::Hash[::String, ::Integer]
457
+ attr_accessor total_records: ::Integer
458
+ attr_accessor lookback_period: Types::DateInterval
459
+ SENSITIVE: []
460
+ end
461
+
462
+ class GetCostAndUsageRequest
463
+ attr_accessor time_period: Types::DateInterval
464
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
465
+ attr_accessor filter: Types::Expression
466
+ attr_accessor metrics: ::Array[::String]
467
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
468
+ attr_accessor next_page_token: ::String
469
+ SENSITIVE: []
470
+ end
471
+
472
+ class GetCostAndUsageResponse
473
+ attr_accessor next_page_token: ::String
474
+ attr_accessor group_definitions: ::Array[Types::GroupDefinition]
475
+ attr_accessor results_by_time: ::Array[Types::ResultByTime]
476
+ attr_accessor dimension_value_attributes: ::Array[Types::DimensionValuesWithAttributes]
477
+ SENSITIVE: []
478
+ end
479
+
480
+ class GetCostAndUsageWithResourcesRequest
481
+ attr_accessor time_period: Types::DateInterval
482
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
483
+ attr_accessor filter: Types::Expression
484
+ attr_accessor metrics: ::Array[::String]
485
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
486
+ attr_accessor next_page_token: ::String
487
+ SENSITIVE: []
488
+ end
489
+
490
+ class GetCostAndUsageWithResourcesResponse
491
+ attr_accessor next_page_token: ::String
492
+ attr_accessor group_definitions: ::Array[Types::GroupDefinition]
493
+ attr_accessor results_by_time: ::Array[Types::ResultByTime]
494
+ attr_accessor dimension_value_attributes: ::Array[Types::DimensionValuesWithAttributes]
495
+ SENSITIVE: []
496
+ end
497
+
498
+ class GetCostCategoriesRequest
499
+ attr_accessor search_string: ::String
500
+ attr_accessor time_period: Types::DateInterval
501
+ attr_accessor cost_category_name: ::String
502
+ attr_accessor filter: Types::Expression
503
+ attr_accessor sort_by: ::Array[Types::SortDefinition]
504
+ attr_accessor max_results: ::Integer
505
+ attr_accessor next_page_token: ::String
506
+ SENSITIVE: []
507
+ end
508
+
509
+ class GetCostCategoriesResponse
510
+ attr_accessor next_page_token: ::String
511
+ attr_accessor cost_category_names: ::Array[::String]
512
+ attr_accessor cost_category_values: ::Array[::String]
513
+ attr_accessor return_size: ::Integer
514
+ attr_accessor total_size: ::Integer
515
+ SENSITIVE: []
516
+ end
517
+
518
+ class GetCostForecastRequest
519
+ attr_accessor time_period: Types::DateInterval
520
+ attr_accessor metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT")
521
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
522
+ attr_accessor filter: Types::Expression
523
+ attr_accessor prediction_interval_level: ::Integer
524
+ SENSITIVE: []
525
+ end
526
+
527
+ class GetCostForecastResponse
528
+ attr_accessor total: Types::MetricValue
529
+ attr_accessor forecast_results_by_time: ::Array[Types::ForecastResult]
530
+ SENSITIVE: []
531
+ end
532
+
533
+ class GetDimensionValuesRequest
534
+ attr_accessor search_string: ::String
535
+ attr_accessor time_period: Types::DateInterval
536
+ 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")
537
+ attr_accessor context: ("COST_AND_USAGE" | "RESERVATIONS" | "SAVINGS_PLANS")
538
+ attr_accessor filter: Types::Expression
539
+ attr_accessor sort_by: ::Array[Types::SortDefinition]
540
+ attr_accessor max_results: ::Integer
541
+ attr_accessor next_page_token: ::String
542
+ SENSITIVE: []
543
+ end
544
+
545
+ class GetDimensionValuesResponse
546
+ attr_accessor dimension_values: ::Array[Types::DimensionValuesWithAttributes]
547
+ attr_accessor return_size: ::Integer
548
+ attr_accessor total_size: ::Integer
549
+ attr_accessor next_page_token: ::String
550
+ SENSITIVE: []
551
+ end
552
+
553
+ class GetReservationCoverageRequest
554
+ attr_accessor time_period: Types::DateInterval
555
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
556
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
557
+ attr_accessor filter: Types::Expression
558
+ attr_accessor metrics: ::Array[::String]
559
+ attr_accessor next_page_token: ::String
560
+ attr_accessor sort_by: Types::SortDefinition
561
+ attr_accessor max_results: ::Integer
562
+ SENSITIVE: []
563
+ end
564
+
565
+ class GetReservationCoverageResponse
566
+ attr_accessor coverages_by_time: ::Array[Types::CoverageByTime]
567
+ attr_accessor total: Types::Coverage
568
+ attr_accessor next_page_token: ::String
569
+ SENSITIVE: []
570
+ end
571
+
572
+ class GetReservationPurchaseRecommendationRequest
573
+ attr_accessor account_id: ::String
574
+ attr_accessor service: ::String
575
+ attr_accessor filter: Types::Expression
576
+ attr_accessor account_scope: ("PAYER" | "LINKED")
577
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
578
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
579
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
580
+ attr_accessor service_specification: Types::ServiceSpecification
581
+ attr_accessor page_size: ::Integer
582
+ attr_accessor next_page_token: ::String
583
+ SENSITIVE: []
584
+ end
585
+
586
+ class GetReservationPurchaseRecommendationResponse
587
+ attr_accessor metadata: Types::ReservationPurchaseRecommendationMetadata
588
+ attr_accessor recommendations: ::Array[Types::ReservationPurchaseRecommendation]
589
+ attr_accessor next_page_token: ::String
590
+ SENSITIVE: []
591
+ end
592
+
593
+ class GetReservationUtilizationRequest
594
+ attr_accessor time_period: Types::DateInterval
595
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
596
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
597
+ attr_accessor filter: Types::Expression
598
+ attr_accessor sort_by: Types::SortDefinition
599
+ attr_accessor next_page_token: ::String
600
+ attr_accessor max_results: ::Integer
601
+ SENSITIVE: []
602
+ end
603
+
604
+ class GetReservationUtilizationResponse
605
+ attr_accessor utilizations_by_time: ::Array[Types::UtilizationByTime]
606
+ attr_accessor total: Types::ReservationAggregates
607
+ attr_accessor next_page_token: ::String
608
+ SENSITIVE: []
609
+ end
610
+
611
+ class GetRightsizingRecommendationRequest
612
+ attr_accessor filter: Types::Expression
613
+ attr_accessor configuration: Types::RightsizingRecommendationConfiguration
614
+ attr_accessor service: ::String
615
+ attr_accessor page_size: ::Integer
616
+ attr_accessor next_page_token: ::String
617
+ SENSITIVE: []
618
+ end
619
+
620
+ class GetRightsizingRecommendationResponse
621
+ attr_accessor metadata: Types::RightsizingRecommendationMetadata
622
+ attr_accessor summary: Types::RightsizingRecommendationSummary
623
+ attr_accessor rightsizing_recommendations: ::Array[Types::RightsizingRecommendation]
624
+ attr_accessor next_page_token: ::String
625
+ attr_accessor configuration: Types::RightsizingRecommendationConfiguration
626
+ SENSITIVE: []
627
+ end
628
+
629
+ class GetSavingsPlanPurchaseRecommendationDetailsRequest
630
+ attr_accessor recommendation_detail_id: ::String
631
+ SENSITIVE: []
632
+ end
633
+
634
+ class GetSavingsPlanPurchaseRecommendationDetailsResponse
635
+ attr_accessor recommendation_detail_id: ::String
636
+ attr_accessor recommendation_detail_data: Types::RecommendationDetailData
637
+ SENSITIVE: []
638
+ end
639
+
640
+ class GetSavingsPlansCoverageRequest
641
+ attr_accessor time_period: Types::DateInterval
642
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
643
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
644
+ attr_accessor filter: Types::Expression
645
+ attr_accessor metrics: ::Array[::String]
646
+ attr_accessor next_token: ::String
647
+ attr_accessor max_results: ::Integer
648
+ attr_accessor sort_by: Types::SortDefinition
649
+ SENSITIVE: []
650
+ end
651
+
652
+ class GetSavingsPlansCoverageResponse
653
+ attr_accessor savings_plans_coverages: ::Array[Types::SavingsPlansCoverage]
654
+ attr_accessor next_token: ::String
655
+ SENSITIVE: []
656
+ end
657
+
658
+ class GetSavingsPlansPurchaseRecommendationRequest
659
+ attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
660
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
661
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
662
+ attr_accessor account_scope: ("PAYER" | "LINKED")
663
+ attr_accessor next_page_token: ::String
664
+ attr_accessor page_size: ::Integer
665
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
666
+ attr_accessor filter: Types::Expression
667
+ SENSITIVE: []
668
+ end
669
+
670
+ class GetSavingsPlansPurchaseRecommendationResponse
671
+ attr_accessor metadata: Types::SavingsPlansPurchaseRecommendationMetadata
672
+ attr_accessor savings_plans_purchase_recommendation: Types::SavingsPlansPurchaseRecommendation
673
+ attr_accessor next_page_token: ::String
674
+ SENSITIVE: []
675
+ end
676
+
677
+ class GetSavingsPlansUtilizationDetailsRequest
678
+ attr_accessor time_period: Types::DateInterval
679
+ attr_accessor filter: Types::Expression
680
+ attr_accessor data_type: ::Array[("ATTRIBUTES" | "UTILIZATION" | "AMORTIZED_COMMITMENT" | "SAVINGS")]
681
+ attr_accessor next_token: ::String
682
+ attr_accessor max_results: ::Integer
683
+ attr_accessor sort_by: Types::SortDefinition
684
+ SENSITIVE: []
685
+ end
686
+
687
+ class GetSavingsPlansUtilizationDetailsResponse
688
+ attr_accessor savings_plans_utilization_details: ::Array[Types::SavingsPlansUtilizationDetail]
689
+ attr_accessor total: Types::SavingsPlansUtilizationAggregates
690
+ attr_accessor time_period: Types::DateInterval
691
+ attr_accessor next_token: ::String
692
+ SENSITIVE: []
693
+ end
694
+
695
+ class GetSavingsPlansUtilizationRequest
696
+ attr_accessor time_period: Types::DateInterval
697
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
698
+ attr_accessor filter: Types::Expression
699
+ attr_accessor sort_by: Types::SortDefinition
700
+ SENSITIVE: []
701
+ end
702
+
703
+ class GetSavingsPlansUtilizationResponse
704
+ attr_accessor savings_plans_utilizations_by_time: ::Array[Types::SavingsPlansUtilizationByTime]
705
+ attr_accessor total: Types::SavingsPlansUtilizationAggregates
706
+ SENSITIVE: []
707
+ end
708
+
709
+ class GetTagsRequest
710
+ attr_accessor search_string: ::String
711
+ attr_accessor time_period: Types::DateInterval
712
+ attr_accessor tag_key: ::String
713
+ attr_accessor filter: Types::Expression
714
+ attr_accessor sort_by: ::Array[Types::SortDefinition]
715
+ attr_accessor max_results: ::Integer
716
+ attr_accessor next_page_token: ::String
717
+ SENSITIVE: []
718
+ end
719
+
720
+ class GetTagsResponse
721
+ attr_accessor next_page_token: ::String
722
+ attr_accessor tags: ::Array[::String]
723
+ attr_accessor return_size: ::Integer
724
+ attr_accessor total_size: ::Integer
725
+ SENSITIVE: []
726
+ end
727
+
728
+ class GetUsageForecastRequest
729
+ attr_accessor time_period: Types::DateInterval
730
+ attr_accessor metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT")
731
+ attr_accessor granularity: ("DAILY" | "MONTHLY" | "HOURLY")
732
+ attr_accessor filter: Types::Expression
733
+ attr_accessor prediction_interval_level: ::Integer
734
+ SENSITIVE: []
735
+ end
736
+
737
+ class GetUsageForecastResponse
738
+ attr_accessor total: Types::MetricValue
739
+ attr_accessor forecast_results_by_time: ::Array[Types::ForecastResult]
740
+ SENSITIVE: []
741
+ end
742
+
743
+ class Group
744
+ attr_accessor keys: ::Array[::String]
745
+ attr_accessor metrics: ::Hash[::String, Types::MetricValue]
746
+ SENSITIVE: []
747
+ end
748
+
749
+ class GroupDefinition
750
+ attr_accessor type: ("DIMENSION" | "TAG" | "COST_CATEGORY")
751
+ attr_accessor key: ::String
752
+ SENSITIVE: []
753
+ end
754
+
755
+ class Impact
756
+ attr_accessor max_impact: ::Float
757
+ attr_accessor total_impact: ::Float
758
+ attr_accessor total_actual_spend: ::Float
759
+ attr_accessor total_expected_spend: ::Float
760
+ attr_accessor total_impact_percentage: ::Float
761
+ SENSITIVE: []
762
+ end
763
+
764
+ class InstanceDetails
765
+ attr_accessor ec2_instance_details: Types::EC2InstanceDetails
766
+ attr_accessor rds_instance_details: Types::RDSInstanceDetails
767
+ attr_accessor redshift_instance_details: Types::RedshiftInstanceDetails
768
+ attr_accessor elasticache_instance_details: Types::ElastiCacheInstanceDetails
769
+ attr_accessor es_instance_details: Types::ESInstanceDetails
770
+ attr_accessor memory_db_instance_details: Types::MemoryDBInstanceDetails
771
+ SENSITIVE: []
772
+ end
773
+
774
+ class InvalidNextTokenException
775
+ attr_accessor message: ::String
776
+ SENSITIVE: []
777
+ end
778
+
779
+ class LimitExceededException
780
+ attr_accessor message: ::String
781
+ SENSITIVE: []
782
+ end
783
+
784
+ class ListCostAllocationTagsRequest
785
+ attr_accessor status: ("Active" | "Inactive")
786
+ attr_accessor tag_keys: ::Array[::String]
787
+ attr_accessor type: ("AWSGenerated" | "UserDefined")
788
+ attr_accessor next_token: ::String
789
+ attr_accessor max_results: ::Integer
790
+ SENSITIVE: []
791
+ end
792
+
793
+ class ListCostAllocationTagsResponse
794
+ attr_accessor cost_allocation_tags: ::Array[Types::CostAllocationTag]
795
+ attr_accessor next_token: ::String
796
+ SENSITIVE: []
797
+ end
798
+
799
+ class ListCostCategoryDefinitionsRequest
800
+ attr_accessor effective_on: ::String
801
+ attr_accessor next_token: ::String
802
+ attr_accessor max_results: ::Integer
803
+ SENSITIVE: []
804
+ end
805
+
806
+ class ListCostCategoryDefinitionsResponse
807
+ attr_accessor cost_category_references: ::Array[Types::CostCategoryReference]
808
+ attr_accessor next_token: ::String
809
+ SENSITIVE: []
810
+ end
811
+
812
+ class ListSavingsPlansPurchaseRecommendationGenerationRequest
813
+ attr_accessor generation_status: ("SUCCEEDED" | "PROCESSING" | "FAILED")
814
+ attr_accessor recommendation_ids: ::Array[::String]
815
+ attr_accessor page_size: ::Integer
816
+ attr_accessor next_page_token: ::String
817
+ SENSITIVE: []
818
+ end
819
+
820
+ class ListSavingsPlansPurchaseRecommendationGenerationResponse
821
+ attr_accessor generation_summary_list: ::Array[Types::GenerationSummary]
822
+ attr_accessor next_page_token: ::String
823
+ SENSITIVE: []
824
+ end
825
+
826
+ class ListTagsForResourceRequest
827
+ attr_accessor resource_arn: ::String
828
+ SENSITIVE: []
829
+ end
830
+
831
+ class ListTagsForResourceResponse
832
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
833
+ SENSITIVE: []
834
+ end
835
+
836
+ class MemoryDBInstanceDetails
837
+ attr_accessor family: ::String
838
+ attr_accessor node_type: ::String
839
+ attr_accessor region: ::String
840
+ attr_accessor current_generation: bool
841
+ attr_accessor size_flex_eligible: bool
842
+ SENSITIVE: []
843
+ end
844
+
845
+ class MetricValue
846
+ attr_accessor amount: ::String
847
+ attr_accessor unit: ::String
848
+ SENSITIVE: []
849
+ end
850
+
851
+ class ModifyRecommendationDetail
852
+ attr_accessor target_instances: ::Array[Types::TargetInstance]
853
+ SENSITIVE: []
854
+ end
855
+
856
+ class NetworkResourceUtilization
857
+ attr_accessor network_in_bytes_per_second: ::String
858
+ attr_accessor network_out_bytes_per_second: ::String
859
+ attr_accessor network_packets_in_per_second: ::String
860
+ attr_accessor network_packets_out_per_second: ::String
861
+ SENSITIVE: []
862
+ end
863
+
864
+ class ProvideAnomalyFeedbackRequest
865
+ attr_accessor anomaly_id: ::String
866
+ attr_accessor feedback: ("YES" | "NO" | "PLANNED_ACTIVITY")
867
+ SENSITIVE: []
868
+ end
869
+
870
+ class ProvideAnomalyFeedbackResponse
871
+ attr_accessor anomaly_id: ::String
872
+ SENSITIVE: []
873
+ end
874
+
875
+ class RDSInstanceDetails
876
+ attr_accessor family: ::String
877
+ attr_accessor instance_type: ::String
878
+ attr_accessor region: ::String
879
+ attr_accessor database_engine: ::String
880
+ attr_accessor database_edition: ::String
881
+ attr_accessor deployment_option: ::String
882
+ attr_accessor license_model: ::String
883
+ attr_accessor current_generation: bool
884
+ attr_accessor size_flex_eligible: bool
885
+ SENSITIVE: []
886
+ end
887
+
888
+ class RecommendationDetailData
889
+ attr_accessor account_scope: ("PAYER" | "LINKED")
890
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
891
+ attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
892
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
893
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
894
+ attr_accessor account_id: ::String
895
+ attr_accessor currency_code: ::String
896
+ attr_accessor instance_family: ::String
897
+ attr_accessor region: ::String
898
+ attr_accessor offering_id: ::String
899
+ attr_accessor generation_timestamp: ::String
900
+ attr_accessor latest_usage_timestamp: ::String
901
+ attr_accessor current_average_hourly_on_demand_spend: ::String
902
+ attr_accessor current_maximum_hourly_on_demand_spend: ::String
903
+ attr_accessor current_minimum_hourly_on_demand_spend: ::String
904
+ attr_accessor estimated_average_utilization: ::String
905
+ attr_accessor estimated_monthly_savings_amount: ::String
906
+ attr_accessor estimated_on_demand_cost: ::String
907
+ attr_accessor estimated_on_demand_cost_with_current_commitment: ::String
908
+ attr_accessor estimated_roi: ::String
909
+ attr_accessor estimated_sp_cost: ::String
910
+ attr_accessor estimated_savings_amount: ::String
911
+ attr_accessor estimated_savings_percentage: ::String
912
+ attr_accessor existing_hourly_commitment: ::String
913
+ attr_accessor hourly_commitment_to_purchase: ::String
914
+ attr_accessor upfront_cost: ::String
915
+ attr_accessor current_average_coverage: ::String
916
+ attr_accessor estimated_average_coverage: ::String
917
+ attr_accessor metrics_over_lookback_period: ::Array[Types::RecommendationDetailHourlyMetrics]
918
+ SENSITIVE: []
919
+ end
920
+
921
+ class RecommendationDetailHourlyMetrics
922
+ attr_accessor start_time: ::String
923
+ attr_accessor estimated_on_demand_cost: ::String
924
+ attr_accessor current_coverage: ::String
925
+ attr_accessor estimated_coverage: ::String
926
+ attr_accessor estimated_new_commitment_utilization: ::String
927
+ SENSITIVE: []
928
+ end
929
+
930
+ class RedshiftInstanceDetails
931
+ attr_accessor family: ::String
932
+ attr_accessor node_type: ::String
933
+ attr_accessor region: ::String
934
+ attr_accessor current_generation: bool
935
+ attr_accessor size_flex_eligible: bool
936
+ SENSITIVE: []
937
+ end
938
+
939
+ class RequestChangedException
940
+ attr_accessor message: ::String
941
+ SENSITIVE: []
942
+ end
943
+
944
+ class ReservationAggregates
945
+ attr_accessor utilization_percentage: ::String
946
+ attr_accessor utilization_percentage_in_units: ::String
947
+ attr_accessor purchased_hours: ::String
948
+ attr_accessor purchased_units: ::String
949
+ attr_accessor total_actual_hours: ::String
950
+ attr_accessor total_actual_units: ::String
951
+ attr_accessor unused_hours: ::String
952
+ attr_accessor unused_units: ::String
953
+ attr_accessor on_demand_cost_of_ri_hours_used: ::String
954
+ attr_accessor net_ri_savings: ::String
955
+ attr_accessor total_potential_ri_savings: ::String
956
+ attr_accessor amortized_upfront_fee: ::String
957
+ attr_accessor amortized_recurring_fee: ::String
958
+ attr_accessor total_amortized_fee: ::String
959
+ attr_accessor ri_cost_for_unused_hours: ::String
960
+ attr_accessor realized_savings: ::String
961
+ attr_accessor unrealized_savings: ::String
962
+ SENSITIVE: []
963
+ end
964
+
965
+ class ReservationCoverageGroup
966
+ attr_accessor attributes: ::Hash[::String, ::String]
967
+ attr_accessor coverage: Types::Coverage
968
+ SENSITIVE: []
969
+ end
970
+
971
+ class ReservationPurchaseRecommendation
972
+ attr_accessor account_scope: ("PAYER" | "LINKED")
973
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
974
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
975
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
976
+ attr_accessor service_specification: Types::ServiceSpecification
977
+ attr_accessor recommendation_details: ::Array[Types::ReservationPurchaseRecommendationDetail]
978
+ attr_accessor recommendation_summary: Types::ReservationPurchaseRecommendationSummary
979
+ SENSITIVE: []
980
+ end
981
+
982
+ class ReservationPurchaseRecommendationDetail
983
+ attr_accessor account_id: ::String
984
+ attr_accessor instance_details: Types::InstanceDetails
985
+ attr_accessor recommended_number_of_instances_to_purchase: ::String
986
+ attr_accessor recommended_normalized_units_to_purchase: ::String
987
+ attr_accessor minimum_number_of_instances_used_per_hour: ::String
988
+ attr_accessor minimum_normalized_units_used_per_hour: ::String
989
+ attr_accessor maximum_number_of_instances_used_per_hour: ::String
990
+ attr_accessor maximum_normalized_units_used_per_hour: ::String
991
+ attr_accessor average_number_of_instances_used_per_hour: ::String
992
+ attr_accessor average_normalized_units_used_per_hour: ::String
993
+ attr_accessor average_utilization: ::String
994
+ attr_accessor estimated_break_even_in_months: ::String
995
+ attr_accessor currency_code: ::String
996
+ attr_accessor estimated_monthly_savings_amount: ::String
997
+ attr_accessor estimated_monthly_savings_percentage: ::String
998
+ attr_accessor estimated_monthly_on_demand_cost: ::String
999
+ attr_accessor estimated_reservation_cost_for_lookback_period: ::String
1000
+ attr_accessor upfront_cost: ::String
1001
+ attr_accessor recurring_standard_monthly_cost: ::String
1002
+ SENSITIVE: []
1003
+ end
1004
+
1005
+ class ReservationPurchaseRecommendationMetadata
1006
+ attr_accessor recommendation_id: ::String
1007
+ attr_accessor generation_timestamp: ::String
1008
+ SENSITIVE: []
1009
+ end
1010
+
1011
+ class ReservationPurchaseRecommendationSummary
1012
+ attr_accessor total_estimated_monthly_savings_amount: ::String
1013
+ attr_accessor total_estimated_monthly_savings_percentage: ::String
1014
+ attr_accessor currency_code: ::String
1015
+ SENSITIVE: []
1016
+ end
1017
+
1018
+ class ReservationUtilizationGroup
1019
+ attr_accessor key: ::String
1020
+ attr_accessor value: ::String
1021
+ attr_accessor attributes: ::Hash[::String, ::String]
1022
+ attr_accessor utilization: Types::ReservationAggregates
1023
+ SENSITIVE: []
1024
+ end
1025
+
1026
+ class ResourceDetails
1027
+ attr_accessor ec2_resource_details: Types::EC2ResourceDetails
1028
+ SENSITIVE: []
1029
+ end
1030
+
1031
+ class ResourceNotFoundException
1032
+ attr_accessor message: ::String
1033
+ attr_accessor resource_name: ::String
1034
+ SENSITIVE: []
1035
+ end
1036
+
1037
+ class ResourceTag
1038
+ attr_accessor key: ::String
1039
+ attr_accessor value: ::String
1040
+ SENSITIVE: []
1041
+ end
1042
+
1043
+ class ResourceUtilization
1044
+ attr_accessor ec2_resource_utilization: Types::EC2ResourceUtilization
1045
+ SENSITIVE: []
1046
+ end
1047
+
1048
+ class ResultByTime
1049
+ attr_accessor time_period: Types::DateInterval
1050
+ attr_accessor total: ::Hash[::String, Types::MetricValue]
1051
+ attr_accessor groups: ::Array[Types::Group]
1052
+ attr_accessor estimated: bool
1053
+ SENSITIVE: []
1054
+ end
1055
+
1056
+ class RightsizingRecommendation
1057
+ attr_accessor account_id: ::String
1058
+ attr_accessor current_instance: Types::CurrentInstance
1059
+ attr_accessor rightsizing_type: ("TERMINATE" | "MODIFY")
1060
+ attr_accessor modify_recommendation_detail: Types::ModifyRecommendationDetail
1061
+ attr_accessor terminate_recommendation_detail: Types::TerminateRecommendationDetail
1062
+ 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")]
1063
+ SENSITIVE: []
1064
+ end
1065
+
1066
+ class RightsizingRecommendationConfiguration
1067
+ attr_accessor recommendation_target: ("SAME_INSTANCE_FAMILY" | "CROSS_INSTANCE_FAMILY")
1068
+ attr_accessor benefits_considered: bool
1069
+ SENSITIVE: []
1070
+ end
1071
+
1072
+ class RightsizingRecommendationMetadata
1073
+ attr_accessor recommendation_id: ::String
1074
+ attr_accessor generation_timestamp: ::String
1075
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
1076
+ attr_accessor additional_metadata: ::String
1077
+ SENSITIVE: []
1078
+ end
1079
+
1080
+ class RightsizingRecommendationSummary
1081
+ attr_accessor total_recommendation_count: ::String
1082
+ attr_accessor estimated_total_monthly_savings_amount: ::String
1083
+ attr_accessor savings_currency_code: ::String
1084
+ attr_accessor savings_percentage: ::String
1085
+ SENSITIVE: []
1086
+ end
1087
+
1088
+ class RootCause
1089
+ attr_accessor service: ::String
1090
+ attr_accessor region: ::String
1091
+ attr_accessor linked_account: ::String
1092
+ attr_accessor usage_type: ::String
1093
+ attr_accessor linked_account_name: ::String
1094
+ SENSITIVE: []
1095
+ end
1096
+
1097
+ class SavingsPlansAmortizedCommitment
1098
+ attr_accessor amortized_recurring_commitment: ::String
1099
+ attr_accessor amortized_upfront_commitment: ::String
1100
+ attr_accessor total_amortized_commitment: ::String
1101
+ SENSITIVE: []
1102
+ end
1103
+
1104
+ class SavingsPlansCoverage
1105
+ attr_accessor attributes: ::Hash[::String, ::String]
1106
+ attr_accessor coverage: Types::SavingsPlansCoverageData
1107
+ attr_accessor time_period: Types::DateInterval
1108
+ SENSITIVE: []
1109
+ end
1110
+
1111
+ class SavingsPlansCoverageData
1112
+ attr_accessor spend_covered_by_savings_plans: ::String
1113
+ attr_accessor on_demand_cost: ::String
1114
+ attr_accessor total_cost: ::String
1115
+ attr_accessor coverage_percentage: ::String
1116
+ SENSITIVE: []
1117
+ end
1118
+
1119
+ class SavingsPlansDetails
1120
+ attr_accessor region: ::String
1121
+ attr_accessor instance_family: ::String
1122
+ attr_accessor offering_id: ::String
1123
+ SENSITIVE: []
1124
+ end
1125
+
1126
+ class SavingsPlansPurchaseRecommendation
1127
+ attr_accessor account_scope: ("PAYER" | "LINKED")
1128
+ attr_accessor savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP")
1129
+ attr_accessor term_in_years: ("ONE_YEAR" | "THREE_YEARS")
1130
+ attr_accessor payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION")
1131
+ attr_accessor lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS")
1132
+ attr_accessor savings_plans_purchase_recommendation_details: ::Array[Types::SavingsPlansPurchaseRecommendationDetail]
1133
+ attr_accessor savings_plans_purchase_recommendation_summary: Types::SavingsPlansPurchaseRecommendationSummary
1134
+ SENSITIVE: []
1135
+ end
1136
+
1137
+ class SavingsPlansPurchaseRecommendationDetail
1138
+ attr_accessor savings_plans_details: Types::SavingsPlansDetails
1139
+ attr_accessor account_id: ::String
1140
+ attr_accessor upfront_cost: ::String
1141
+ attr_accessor estimated_roi: ::String
1142
+ attr_accessor currency_code: ::String
1143
+ attr_accessor estimated_sp_cost: ::String
1144
+ attr_accessor estimated_on_demand_cost: ::String
1145
+ attr_accessor estimated_on_demand_cost_with_current_commitment: ::String
1146
+ attr_accessor estimated_savings_amount: ::String
1147
+ attr_accessor estimated_savings_percentage: ::String
1148
+ attr_accessor hourly_commitment_to_purchase: ::String
1149
+ attr_accessor estimated_average_utilization: ::String
1150
+ attr_accessor estimated_monthly_savings_amount: ::String
1151
+ attr_accessor current_minimum_hourly_on_demand_spend: ::String
1152
+ attr_accessor current_maximum_hourly_on_demand_spend: ::String
1153
+ attr_accessor current_average_hourly_on_demand_spend: ::String
1154
+ attr_accessor recommendation_detail_id: ::String
1155
+ SENSITIVE: []
1156
+ end
1157
+
1158
+ class SavingsPlansPurchaseRecommendationMetadata
1159
+ attr_accessor recommendation_id: ::String
1160
+ attr_accessor generation_timestamp: ::String
1161
+ attr_accessor additional_metadata: ::String
1162
+ SENSITIVE: []
1163
+ end
1164
+
1165
+ class SavingsPlansPurchaseRecommendationSummary
1166
+ attr_accessor estimated_roi: ::String
1167
+ attr_accessor currency_code: ::String
1168
+ attr_accessor estimated_total_cost: ::String
1169
+ attr_accessor current_on_demand_spend: ::String
1170
+ attr_accessor estimated_savings_amount: ::String
1171
+ attr_accessor total_recommendation_count: ::String
1172
+ attr_accessor daily_commitment_to_purchase: ::String
1173
+ attr_accessor hourly_commitment_to_purchase: ::String
1174
+ attr_accessor estimated_savings_percentage: ::String
1175
+ attr_accessor estimated_monthly_savings_amount: ::String
1176
+ attr_accessor estimated_on_demand_cost_with_current_commitment: ::String
1177
+ SENSITIVE: []
1178
+ end
1179
+
1180
+ class SavingsPlansSavings
1181
+ attr_accessor net_savings: ::String
1182
+ attr_accessor on_demand_cost_equivalent: ::String
1183
+ SENSITIVE: []
1184
+ end
1185
+
1186
+ class SavingsPlansUtilization
1187
+ attr_accessor total_commitment: ::String
1188
+ attr_accessor used_commitment: ::String
1189
+ attr_accessor unused_commitment: ::String
1190
+ attr_accessor utilization_percentage: ::String
1191
+ SENSITIVE: []
1192
+ end
1193
+
1194
+ class SavingsPlansUtilizationAggregates
1195
+ attr_accessor utilization: Types::SavingsPlansUtilization
1196
+ attr_accessor savings: Types::SavingsPlansSavings
1197
+ attr_accessor amortized_commitment: Types::SavingsPlansAmortizedCommitment
1198
+ SENSITIVE: []
1199
+ end
1200
+
1201
+ class SavingsPlansUtilizationByTime
1202
+ attr_accessor time_period: Types::DateInterval
1203
+ attr_accessor utilization: Types::SavingsPlansUtilization
1204
+ attr_accessor savings: Types::SavingsPlansSavings
1205
+ attr_accessor amortized_commitment: Types::SavingsPlansAmortizedCommitment
1206
+ SENSITIVE: []
1207
+ end
1208
+
1209
+ class SavingsPlansUtilizationDetail
1210
+ attr_accessor savings_plan_arn: ::String
1211
+ attr_accessor attributes: ::Hash[::String, ::String]
1212
+ attr_accessor utilization: Types::SavingsPlansUtilization
1213
+ attr_accessor savings: Types::SavingsPlansSavings
1214
+ attr_accessor amortized_commitment: Types::SavingsPlansAmortizedCommitment
1215
+ SENSITIVE: []
1216
+ end
1217
+
1218
+ class ServiceQuotaExceededException
1219
+ attr_accessor message: ::String
1220
+ SENSITIVE: []
1221
+ end
1222
+
1223
+ class ServiceSpecification
1224
+ attr_accessor ec2_specification: Types::EC2Specification
1225
+ SENSITIVE: []
1226
+ end
1227
+
1228
+ class SortDefinition
1229
+ attr_accessor key: ::String
1230
+ attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
1231
+ SENSITIVE: []
1232
+ end
1233
+
1234
+ class StartSavingsPlansPurchaseRecommendationGenerationRequest < Aws::EmptyStructure
1235
+ end
1236
+
1237
+ class StartSavingsPlansPurchaseRecommendationGenerationResponse
1238
+ attr_accessor recommendation_id: ::String
1239
+ attr_accessor generation_started_time: ::String
1240
+ attr_accessor estimated_completion_time: ::String
1241
+ SENSITIVE: []
1242
+ end
1243
+
1244
+ class Subscriber
1245
+ attr_accessor address: ::String
1246
+ attr_accessor type: ("EMAIL" | "SNS")
1247
+ attr_accessor status: ("CONFIRMED" | "DECLINED")
1248
+ SENSITIVE: []
1249
+ end
1250
+
1251
+ class TagResourceRequest
1252
+ attr_accessor resource_arn: ::String
1253
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
1254
+ SENSITIVE: []
1255
+ end
1256
+
1257
+ class TagResourceResponse < Aws::EmptyStructure
1258
+ end
1259
+
1260
+ class TagValues
1261
+ attr_accessor key: ::String
1262
+ attr_accessor values: ::Array[::String]
1263
+ attr_accessor match_options: ::Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]
1264
+ SENSITIVE: []
1265
+ end
1266
+
1267
+ class TargetInstance
1268
+ attr_accessor estimated_monthly_cost: ::String
1269
+ attr_accessor estimated_monthly_savings: ::String
1270
+ attr_accessor currency_code: ::String
1271
+ attr_accessor default_target_instance: bool
1272
+ attr_accessor resource_details: Types::ResourceDetails
1273
+ attr_accessor expected_resource_utilization: Types::ResourceUtilization
1274
+ attr_accessor platform_differences: ::Array[("HYPERVISOR" | "NETWORK_INTERFACE" | "STORAGE_INTERFACE" | "INSTANCE_STORE_AVAILABILITY" | "VIRTUALIZATION_TYPE")]
1275
+ SENSITIVE: []
1276
+ end
1277
+
1278
+ class TerminateRecommendationDetail
1279
+ attr_accessor estimated_monthly_savings: ::String
1280
+ attr_accessor currency_code: ::String
1281
+ SENSITIVE: []
1282
+ end
1283
+
1284
+ class TooManyTagsException
1285
+ attr_accessor message: ::String
1286
+ attr_accessor resource_name: ::String
1287
+ SENSITIVE: []
1288
+ end
1289
+
1290
+ class TotalImpactFilter
1291
+ attr_accessor numeric_operator: ("EQUAL" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "BETWEEN")
1292
+ attr_accessor start_value: ::Float
1293
+ attr_accessor end_value: ::Float
1294
+ SENSITIVE: []
1295
+ end
1296
+
1297
+ class UnknownMonitorException
1298
+ attr_accessor message: ::String
1299
+ SENSITIVE: []
1300
+ end
1301
+
1302
+ class UnknownSubscriptionException
1303
+ attr_accessor message: ::String
1304
+ SENSITIVE: []
1305
+ end
1306
+
1307
+ class UnresolvableUsageUnitException
1308
+ attr_accessor message: ::String
1309
+ SENSITIVE: []
1310
+ end
1311
+
1312
+ class UntagResourceRequest
1313
+ attr_accessor resource_arn: ::String
1314
+ attr_accessor resource_tag_keys: ::Array[::String]
1315
+ SENSITIVE: []
1316
+ end
1317
+
1318
+ class UntagResourceResponse < Aws::EmptyStructure
1319
+ end
1320
+
1321
+ class UpdateAnomalyMonitorRequest
1322
+ attr_accessor monitor_arn: ::String
1323
+ attr_accessor monitor_name: ::String
1324
+ SENSITIVE: []
1325
+ end
1326
+
1327
+ class UpdateAnomalyMonitorResponse
1328
+ attr_accessor monitor_arn: ::String
1329
+ SENSITIVE: []
1330
+ end
1331
+
1332
+ class UpdateAnomalySubscriptionRequest
1333
+ attr_accessor subscription_arn: ::String
1334
+ attr_accessor threshold: ::Float
1335
+ attr_accessor frequency: ("DAILY" | "IMMEDIATE" | "WEEKLY")
1336
+ attr_accessor monitor_arn_list: ::Array[::String]
1337
+ attr_accessor subscribers: ::Array[Types::Subscriber]
1338
+ attr_accessor subscription_name: ::String
1339
+ attr_accessor threshold_expression: Types::Expression
1340
+ SENSITIVE: []
1341
+ end
1342
+
1343
+ class UpdateAnomalySubscriptionResponse
1344
+ attr_accessor subscription_arn: ::String
1345
+ SENSITIVE: []
1346
+ end
1347
+
1348
+ class UpdateCostAllocationTagsStatusError
1349
+ attr_accessor tag_key: ::String
1350
+ attr_accessor code: ::String
1351
+ attr_accessor message: ::String
1352
+ SENSITIVE: []
1353
+ end
1354
+
1355
+ class UpdateCostAllocationTagsStatusRequest
1356
+ attr_accessor cost_allocation_tags_status: ::Array[Types::CostAllocationTagStatusEntry]
1357
+ SENSITIVE: []
1358
+ end
1359
+
1360
+ class UpdateCostAllocationTagsStatusResponse
1361
+ attr_accessor errors: ::Array[Types::UpdateCostAllocationTagsStatusError]
1362
+ SENSITIVE: []
1363
+ end
1364
+
1365
+ class UpdateCostCategoryDefinitionRequest
1366
+ attr_accessor cost_category_arn: ::String
1367
+ attr_accessor effective_start: ::String
1368
+ attr_accessor rule_version: ("CostCategoryExpression.v1")
1369
+ attr_accessor rules: ::Array[Types::CostCategoryRule]
1370
+ attr_accessor default_value: ::String
1371
+ attr_accessor split_charge_rules: ::Array[Types::CostCategorySplitChargeRule]
1372
+ SENSITIVE: []
1373
+ end
1374
+
1375
+ class UpdateCostCategoryDefinitionResponse
1376
+ attr_accessor cost_category_arn: ::String
1377
+ attr_accessor effective_start: ::String
1378
+ SENSITIVE: []
1379
+ end
1380
+
1381
+ class UtilizationByTime
1382
+ attr_accessor time_period: Types::DateInterval
1383
+ attr_accessor groups: ::Array[Types::ReservationUtilizationGroup]
1384
+ attr_accessor total: Types::ReservationAggregates
1385
+ SENSITIVE: []
1386
+ end
1387
+ end
1388
+ end