aws-sdk-costoptimizationhub 1.6.0 → 1.8.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.
@@ -31,25 +31,25 @@ module Aws::CostOptimizationHub
31
31
  # The Amazon Web Services account ID.
32
32
  # @return [String]
33
33
  #
34
- # @!attribute [rw] created_timestamp
35
- # The time when the account enrollment status was created.
36
- # @return [Time]
34
+ # @!attribute [rw] status
35
+ # The account enrollment status.
36
+ # @return [String]
37
37
  #
38
38
  # @!attribute [rw] last_updated_timestamp
39
39
  # The time when the account enrollment status was last updated.
40
40
  # @return [Time]
41
41
  #
42
- # @!attribute [rw] status
43
- # The account enrollment status.
44
- # @return [String]
42
+ # @!attribute [rw] created_timestamp
43
+ # The time when the account enrollment status was created.
44
+ # @return [Time]
45
45
  #
46
46
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/AccountEnrollmentStatus AWS API Documentation
47
47
  #
48
48
  class AccountEnrollmentStatus < Struct.new(
49
49
  :account_id,
50
- :created_timestamp,
50
+ :status,
51
51
  :last_updated_timestamp,
52
- :status)
52
+ :created_timestamp)
53
53
  SENSITIVE = []
54
54
  include Aws::Structure
55
55
  end
@@ -78,31 +78,31 @@ module Aws::CostOptimizationHub
78
78
  # Describes the performance configuration for compute services such as
79
79
  # Amazon EC2, Lambda, and ECS.
80
80
  #
81
- # @!attribute [rw] architecture
82
- # The architecture of the resource.
83
- # @return [String]
81
+ # @!attribute [rw] v_cpu
82
+ # The number of vCPU cores in the resource.
83
+ # @return [Float]
84
84
  #
85
85
  # @!attribute [rw] memory_size_in_mb
86
86
  # The memory size of the resource.
87
87
  # @return [Integer]
88
88
  #
89
+ # @!attribute [rw] architecture
90
+ # The architecture of the resource.
91
+ # @return [String]
92
+ #
89
93
  # @!attribute [rw] platform
90
94
  # The platform of the resource. The platform is the specific
91
95
  # combination of operating system, license model, and software on an
92
96
  # instance.
93
97
  # @return [String]
94
98
  #
95
- # @!attribute [rw] v_cpu
96
- # The number of vCPU cores in the resource.
97
- # @return [Float]
98
- #
99
99
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ComputeConfiguration AWS API Documentation
100
100
  #
101
101
  class ComputeConfiguration < Struct.new(
102
- :architecture,
102
+ :v_cpu,
103
103
  :memory_size_in_mb,
104
- :platform,
105
- :v_cpu)
104
+ :architecture,
105
+ :platform)
106
106
  SENSITIVE = []
107
107
  include Aws::Structure
108
108
  end
@@ -136,25 +136,39 @@ module Aws::CostOptimizationHub
136
136
  # accounts only.
137
137
  # @return [String]
138
138
  #
139
- # @!attribute [rw] hourly_commitment
140
- # The hourly commitment for the Savings Plans type.
139
+ # @!attribute [rw] term
140
+ # The Savings Plans recommendation term in years.
141
141
  # @return [String]
142
142
  #
143
143
  # @!attribute [rw] payment_option
144
144
  # The payment option for the commitment.
145
145
  # @return [String]
146
146
  #
147
- # @!attribute [rw] term
148
- # The Savings Plans recommendation term in years.
147
+ # @!attribute [rw] hourly_commitment
148
+ # The hourly commitment for the Savings Plans type.
149
149
  # @return [String]
150
150
  #
151
151
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ComputeSavingsPlansConfiguration AWS API Documentation
152
152
  #
153
153
  class ComputeSavingsPlansConfiguration < Struct.new(
154
154
  :account_scope,
155
- :hourly_commitment,
155
+ :term,
156
156
  :payment_option,
157
- :term)
157
+ :hourly_commitment)
158
+ SENSITIVE = []
159
+ include Aws::Structure
160
+ end
161
+
162
+ # The DB instance configuration used for recommendations.
163
+ #
164
+ # @!attribute [rw] db_instance_class
165
+ # The DB instance class of the DB instance.
166
+ # @return [String]
167
+ #
168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/DbInstanceConfiguration AWS API Documentation
169
+ #
170
+ class DbInstanceConfiguration < Struct.new(
171
+ :db_instance_class)
158
172
  SENSITIVE = []
159
173
  include Aws::Structure
160
174
  end
@@ -183,24 +197,24 @@ module Aws::CostOptimizationHub
183
197
  # The Amazon Elastic Block Store volume configuration used for
184
198
  # recommendations.
185
199
  #
186
- # @!attribute [rw] attachment_state
187
- # The Amazon Elastic Block Store attachment state.
188
- # @return [String]
200
+ # @!attribute [rw] storage
201
+ # The disk storage of the Amazon Elastic Block Store volume.
202
+ # @return [Types::StorageConfiguration]
189
203
  #
190
204
  # @!attribute [rw] performance
191
205
  # The Amazon Elastic Block Store performance configuration.
192
206
  # @return [Types::BlockStoragePerformanceConfiguration]
193
207
  #
194
- # @!attribute [rw] storage
195
- # The disk storage of the Amazon Elastic Block Store volume.
196
- # @return [Types::StorageConfiguration]
208
+ # @!attribute [rw] attachment_state
209
+ # The Amazon Elastic Block Store attachment state.
210
+ # @return [String]
197
211
  #
198
212
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/EbsVolumeConfiguration AWS API Documentation
199
213
  #
200
214
  class EbsVolumeConfiguration < Struct.new(
201
- :attachment_state,
215
+ :storage,
202
216
  :performance,
203
- :storage)
217
+ :attachment_state)
204
218
  SENSITIVE = []
205
219
  include Aws::Structure
206
220
  end
@@ -298,6 +312,14 @@ module Aws::CostOptimizationHub
298
312
  # The account scope that you want your recommendations for.
299
313
  # @return [String]
300
314
  #
315
+ # @!attribute [rw] term
316
+ # The Savings Plans recommendation term in years.
317
+ # @return [String]
318
+ #
319
+ # @!attribute [rw] payment_option
320
+ # The payment option for the commitment.
321
+ # @return [String]
322
+ #
301
323
  # @!attribute [rw] hourly_commitment
302
324
  # The hourly commitment for the Savings Plans type.
303
325
  # @return [String]
@@ -306,27 +328,19 @@ module Aws::CostOptimizationHub
306
328
  # The instance family of the recommended Savings Plan.
307
329
  # @return [String]
308
330
  #
309
- # @!attribute [rw] payment_option
310
- # The payment option for the commitment.
311
- # @return [String]
312
- #
313
331
  # @!attribute [rw] savings_plans_region
314
332
  # The Amazon Web Services Region of the commitment.
315
333
  # @return [String]
316
334
  #
317
- # @!attribute [rw] term
318
- # The Savings Plans recommendation term in years.
319
- # @return [String]
320
- #
321
335
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/Ec2InstanceSavingsPlansConfiguration AWS API Documentation
322
336
  #
323
337
  class Ec2InstanceSavingsPlansConfiguration < Struct.new(
324
338
  :account_scope,
339
+ :term,
340
+ :payment_option,
325
341
  :hourly_commitment,
326
342
  :instance_family,
327
- :payment_option,
328
- :savings_plans_region,
329
- :term)
343
+ :savings_plans_region)
330
344
  SENSITIVE = []
331
345
  include Aws::Structure
332
346
  end
@@ -356,26 +370,21 @@ module Aws::CostOptimizationHub
356
370
  # The account scope that you want your recommendations for.
357
371
  # @return [String]
358
372
  #
359
- # @!attribute [rw] current_generation
360
- # Determines whether the recommendation is for a current generation
361
- # instance.
362
- # @return [String]
363
- #
364
- # @!attribute [rw] instance_family
365
- # The instance family of the recommended reservation.
373
+ # @!attribute [rw] service
374
+ # The service that you want your recommendations for.
366
375
  # @return [String]
367
376
  #
368
- # @!attribute [rw] instance_type
369
- # The type of instance that Amazon Web Services recommends.
377
+ # @!attribute [rw] normalized_units_to_purchase
378
+ # The number of normalized units that Amazon Web Services recommends
379
+ # that you purchase.
370
380
  # @return [String]
371
381
  #
372
- # @!attribute [rw] monthly_recurring_cost
373
- # How much purchasing reserved instances costs you on a monthly basis.
382
+ # @!attribute [rw] term
383
+ # The reserved instances recommendation term in years.
374
384
  # @return [String]
375
385
  #
376
- # @!attribute [rw] normalized_units_to_purchase
377
- # The number of normalized units that Amazon Web Services recommends
378
- # that you purchase.
386
+ # @!attribute [rw] payment_option
387
+ # The payment option for the commitment.
379
388
  # @return [String]
380
389
  #
381
390
  # @!attribute [rw] number_of_instances_to_purchase
@@ -388,60 +397,65 @@ module Aws::CostOptimizationHub
388
397
  # reservations.
389
398
  # @return [String]
390
399
  #
391
- # @!attribute [rw] payment_option
392
- # The payment option for the commitment.
400
+ # @!attribute [rw] instance_family
401
+ # The instance family of the recommended reservation.
393
402
  # @return [String]
394
403
  #
395
- # @!attribute [rw] platform
396
- # The platform of the recommended reservation. The platform is the
397
- # specific combination of operating system, license model, and
398
- # software on an instance.
404
+ # @!attribute [rw] instance_type
405
+ # The type of instance that Amazon Web Services recommends.
399
406
  # @return [String]
400
407
  #
401
408
  # @!attribute [rw] reserved_instances_region
402
409
  # The Amazon Web Services Region of the commitment.
403
410
  # @return [String]
404
411
  #
405
- # @!attribute [rw] service
406
- # The service that you want your recommendations for.
412
+ # @!attribute [rw] current_generation
413
+ # Determines whether the recommendation is for a current generation
414
+ # instance.
407
415
  # @return [String]
408
416
  #
409
- # @!attribute [rw] size_flex_eligible
410
- # Determines whether the recommendation is size flexible.
411
- # @return [Boolean]
417
+ # @!attribute [rw] platform
418
+ # The platform of the recommended reservation. The platform is the
419
+ # specific combination of operating system, license model, and
420
+ # software on an instance.
421
+ # @return [String]
412
422
  #
413
423
  # @!attribute [rw] tenancy
414
424
  # Determines whether the recommended reservation is dedicated or
415
425
  # shared.
416
426
  # @return [String]
417
427
  #
418
- # @!attribute [rw] term
419
- # The reserved instances recommendation term in years.
420
- # @return [String]
428
+ # @!attribute [rw] size_flex_eligible
429
+ # Determines whether the recommendation is size flexible.
430
+ # @return [Boolean]
421
431
  #
422
432
  # @!attribute [rw] upfront_cost
423
433
  # How much purchasing this instance costs you upfront.
424
434
  # @return [String]
425
435
  #
436
+ # @!attribute [rw] monthly_recurring_cost
437
+ # How much purchasing reserved instances costs you on a monthly basis.
438
+ # @return [String]
439
+ #
426
440
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/Ec2ReservedInstancesConfiguration AWS API Documentation
427
441
  #
428
442
  class Ec2ReservedInstancesConfiguration < Struct.new(
429
443
  :account_scope,
430
- :current_generation,
431
- :instance_family,
432
- :instance_type,
433
- :monthly_recurring_cost,
444
+ :service,
434
445
  :normalized_units_to_purchase,
446
+ :term,
447
+ :payment_option,
435
448
  :number_of_instances_to_purchase,
436
449
  :offering_class,
437
- :payment_option,
438
- :platform,
450
+ :instance_family,
451
+ :instance_type,
439
452
  :reserved_instances_region,
440
- :service,
441
- :size_flex_eligible,
453
+ :current_generation,
454
+ :platform,
442
455
  :tenancy,
443
- :term,
444
- :upfront_cost)
456
+ :size_flex_eligible,
457
+ :upfront_cost,
458
+ :monthly_recurring_cost)
445
459
  SENSITIVE = []
446
460
  include Aws::Structure
447
461
  end
@@ -506,26 +520,21 @@ module Aws::CostOptimizationHub
506
520
  # The account scope that you want your recommendations for.
507
521
  # @return [String]
508
522
  #
509
- # @!attribute [rw] current_generation
510
- # Determines whether the recommendation is for a current generation
511
- # instance.
512
- # @return [String]
513
- #
514
- # @!attribute [rw] instance_family
515
- # The instance family of the recommended reservation.
523
+ # @!attribute [rw] service
524
+ # The service that you want your recommendations for.
516
525
  # @return [String]
517
526
  #
518
- # @!attribute [rw] instance_type
519
- # The type of instance that Amazon Web Services recommends.
527
+ # @!attribute [rw] normalized_units_to_purchase
528
+ # The number of normalized units that Amazon Web Services recommends
529
+ # that you purchase.
520
530
  # @return [String]
521
531
  #
522
- # @!attribute [rw] monthly_recurring_cost
523
- # How much purchasing reserved instances costs you on a monthly basis.
532
+ # @!attribute [rw] term
533
+ # The reserved instances recommendation term in years.
524
534
  # @return [String]
525
535
  #
526
- # @!attribute [rw] normalized_units_to_purchase
527
- # The number of normalized units that Amazon Web Services recommends
528
- # that you purchase.
536
+ # @!attribute [rw] payment_option
537
+ # The payment option for the commitment.
529
538
  # @return [String]
530
539
  #
531
540
  # @!attribute [rw] number_of_instances_to_purchase
@@ -533,46 +542,51 @@ module Aws::CostOptimizationHub
533
542
  # purchase.
534
543
  # @return [String]
535
544
  #
536
- # @!attribute [rw] payment_option
537
- # The payment option for the commitment.
545
+ # @!attribute [rw] instance_family
546
+ # The instance family of the recommended reservation.
547
+ # @return [String]
548
+ #
549
+ # @!attribute [rw] instance_type
550
+ # The type of instance that Amazon Web Services recommends.
538
551
  # @return [String]
539
552
  #
540
553
  # @!attribute [rw] reserved_instances_region
541
554
  # The Amazon Web Services Region of the commitment.
542
555
  # @return [String]
543
556
  #
544
- # @!attribute [rw] service
545
- # The service that you want your recommendations for.
557
+ # @!attribute [rw] current_generation
558
+ # Determines whether the recommendation is for a current generation
559
+ # instance.
546
560
  # @return [String]
547
561
  #
548
562
  # @!attribute [rw] size_flex_eligible
549
563
  # Determines whether the recommendation is size flexible.
550
564
  # @return [Boolean]
551
565
  #
552
- # @!attribute [rw] term
553
- # The reserved instances recommendation term in years.
554
- # @return [String]
555
- #
556
566
  # @!attribute [rw] upfront_cost
557
567
  # How much purchasing this instance costs you upfront.
558
568
  # @return [String]
559
569
  #
570
+ # @!attribute [rw] monthly_recurring_cost
571
+ # How much purchasing reserved instances costs you on a monthly basis.
572
+ # @return [String]
573
+ #
560
574
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ElastiCacheReservedInstancesConfiguration AWS API Documentation
561
575
  #
562
576
  class ElastiCacheReservedInstancesConfiguration < Struct.new(
563
577
  :account_scope,
564
- :current_generation,
565
- :instance_family,
566
- :instance_type,
567
- :monthly_recurring_cost,
578
+ :service,
568
579
  :normalized_units_to_purchase,
569
- :number_of_instances_to_purchase,
580
+ :term,
570
581
  :payment_option,
582
+ :number_of_instances_to_purchase,
583
+ :instance_family,
584
+ :instance_type,
571
585
  :reserved_instances_region,
572
- :service,
586
+ :current_generation,
573
587
  :size_flex_eligible,
574
- :term,
575
- :upfront_cost)
588
+ :upfront_cost,
589
+ :monthly_recurring_cost)
576
590
  SENSITIVE = []
577
591
  include Aws::Structure
578
592
  end
@@ -580,26 +594,26 @@ module Aws::CostOptimizationHub
580
594
  # Estimated discount details of the current and recommended resource
581
595
  # configuration for a recommendation.
582
596
  #
583
- # @!attribute [rw] other_discount
584
- # Estimated other discounts include all discounts that are not
585
- # itemized. Itemized discounts include `reservedInstanceDiscount` and
586
- # `savingsPlansDiscount`.
597
+ # @!attribute [rw] savings_plans_discount
598
+ # Estimated Savings Plans discounts.
587
599
  # @return [Float]
588
600
  #
589
601
  # @!attribute [rw] reserved_instances_discount
590
602
  # Estimated reserved instance discounts.
591
603
  # @return [Float]
592
604
  #
593
- # @!attribute [rw] savings_plans_discount
594
- # Estimated Savings Plans discounts.
605
+ # @!attribute [rw] other_discount
606
+ # Estimated other discounts include all discounts that are not
607
+ # itemized. Itemized discounts include `reservedInstanceDiscount` and
608
+ # `savingsPlansDiscount`.
595
609
  # @return [Float]
596
610
  #
597
611
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/EstimatedDiscounts AWS API Documentation
598
612
  #
599
613
  class EstimatedDiscounts < Struct.new(
600
- :other_discount,
614
+ :savings_plans_discount,
601
615
  :reserved_instances_discount,
602
- :savings_plans_discount)
616
+ :other_discount)
603
617
  SENSITIVE = []
604
618
  include Aws::Structure
605
619
  end
@@ -607,64 +621,64 @@ module Aws::CostOptimizationHub
607
621
  # Describes a filter that returns a more specific list of
608
622
  # recommendations. Filters recommendations by different dimensions.
609
623
  #
610
- # @!attribute [rw] account_ids
611
- # The account that the recommendation is for.
612
- # @return [Array<String>]
624
+ # @!attribute [rw] restart_needed
625
+ # Whether or not implementing the recommendation requires a restart.
626
+ # @return [Boolean]
613
627
  #
614
- # @!attribute [rw] action_types
615
- # The type of action you can take by adopting the recommendation.
616
- # @return [Array<String>]
628
+ # @!attribute [rw] rollback_possible
629
+ # Whether or not implementing the recommendation can be rolled back.
630
+ # @return [Boolean]
617
631
  #
618
632
  # @!attribute [rw] implementation_efforts
619
633
  # The effort required to implement the recommendation.
620
634
  # @return [Array<String>]
621
635
  #
622
- # @!attribute [rw] recommendation_ids
623
- # The IDs for the recommendations.
636
+ # @!attribute [rw] account_ids
637
+ # The account that the recommendation is for.
624
638
  # @return [Array<String>]
625
639
  #
626
640
  # @!attribute [rw] regions
627
641
  # The Amazon Web Services Region of the resource.
628
642
  # @return [Array<String>]
629
643
  #
630
- # @!attribute [rw] resource_arns
631
- # The Amazon Resource Name (ARN) of the recommendation.
632
- # @return [Array<String>]
633
- #
634
- # @!attribute [rw] resource_ids
635
- # The resource ID of the recommendation.
636
- # @return [Array<String>]
637
- #
638
644
  # @!attribute [rw] resource_types
639
645
  # The resource type of the recommendation.
640
646
  # @return [Array<String>]
641
647
  #
642
- # @!attribute [rw] restart_needed
643
- # Whether or not implementing the recommendation requires a restart.
644
- # @return [Boolean]
645
- #
646
- # @!attribute [rw] rollback_possible
647
- # Whether or not implementing the recommendation can be rolled back.
648
- # @return [Boolean]
648
+ # @!attribute [rw] action_types
649
+ # The type of action you can take by adopting the recommendation.
650
+ # @return [Array<String>]
649
651
  #
650
652
  # @!attribute [rw] tags
651
653
  # A list of tags assigned to the recommendation.
652
654
  # @return [Array<Types::Tag>]
653
655
  #
654
- # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/Filter AWS API Documentation
656
+ # @!attribute [rw] resource_ids
657
+ # The resource ID of the recommendation.
658
+ # @return [Array<String>]
659
+ #
660
+ # @!attribute [rw] resource_arns
661
+ # The Amazon Resource Name (ARN) of the recommendation.
662
+ # @return [Array<String>]
663
+ #
664
+ # @!attribute [rw] recommendation_ids
665
+ # The IDs for the recommendations.
666
+ # @return [Array<String>]
667
+ #
668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/Filter AWS API Documentation
655
669
  #
656
670
  class Filter < Struct.new(
657
- :account_ids,
658
- :action_types,
671
+ :restart_needed,
672
+ :rollback_possible,
659
673
  :implementation_efforts,
660
- :recommendation_ids,
674
+ :account_ids,
661
675
  :regions,
662
- :resource_arns,
663
- :resource_ids,
664
676
  :resource_types,
665
- :restart_needed,
666
- :rollback_possible,
667
- :tags)
677
+ :action_types,
678
+ :tags,
679
+ :resource_ids,
680
+ :resource_arns,
681
+ :recommendation_ids)
668
682
  SENSITIVE = []
669
683
  include Aws::Structure
670
684
  end
@@ -675,20 +689,20 @@ module Aws::CostOptimizationHub
675
689
  #
676
690
  class GetPreferencesRequest < Aws::EmptyStructure; end
677
691
 
692
+ # @!attribute [rw] savings_estimation_mode
693
+ # Retrieves the status of the "savings estimation mode" preference.
694
+ # @return [String]
695
+ #
678
696
  # @!attribute [rw] member_account_discount_visibility
679
697
  # Retrieves the status of the "member account discount visibility"
680
698
  # preference.
681
699
  # @return [String]
682
700
  #
683
- # @!attribute [rw] savings_estimation_mode
684
- # Retrieves the status of the "savings estimation mode" preference.
685
- # @return [String]
686
- #
687
701
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/GetPreferencesResponse AWS API Documentation
688
702
  #
689
703
  class GetPreferencesResponse < Struct.new(
690
- :member_account_discount_visibility,
691
- :savings_estimation_mode)
704
+ :savings_estimation_mode,
705
+ :member_account_discount_visibility)
692
706
  SENSITIVE = []
693
707
  include Aws::Structure
694
708
  end
@@ -705,37 +719,39 @@ module Aws::CostOptimizationHub
705
719
  include Aws::Structure
706
720
  end
707
721
 
708
- # @!attribute [rw] account_id
709
- # The account that the recommendation is for.
722
+ # @!attribute [rw] recommendation_id
723
+ # The ID for the recommendation.
710
724
  # @return [String]
711
725
  #
712
- # @!attribute [rw] action_type
713
- # The type of action you can take by adopting the recommendation.
726
+ # @!attribute [rw] resource_id
727
+ # The unique identifier for the resource. This is the same as the
728
+ # Amazon Resource Name (ARN), if available.
714
729
  # @return [String]
715
730
  #
716
- # @!attribute [rw] cost_calculation_lookback_period_in_days
717
- # The lookback period used to calculate cost impact for a
718
- # recommendation.
719
- # @return [Integer]
731
+ # @!attribute [rw] resource_arn
732
+ # The Amazon Resource Name (ARN) of the resource.
733
+ # @return [String]
734
+ #
735
+ # @!attribute [rw] account_id
736
+ # The account that the recommendation is for.
737
+ # @return [String]
720
738
  #
721
739
  # @!attribute [rw] currency_code
722
740
  # The currency code used for the recommendation.
723
741
  # @return [String]
724
742
  #
725
- # @!attribute [rw] current_resource_details
726
- # The details for the resource.
727
- # @return [Types::ResourceDetails]
728
- #
729
- # @!attribute [rw] current_resource_type
730
- # The type of resource.
731
- # @return [String]
743
+ # @!attribute [rw] recommendation_lookback_period_in_days
744
+ # The lookback period that's used to generate the recommendation.
745
+ # @return [Integer]
732
746
  #
733
- # @!attribute [rw] estimated_monthly_cost
734
- # The estimated monthly cost of the recommendation.
735
- # @return [Float]
747
+ # @!attribute [rw] cost_calculation_lookback_period_in_days
748
+ # The lookback period used to calculate cost impact for a
749
+ # recommendation.
750
+ # @return [Integer]
736
751
  #
737
- # @!attribute [rw] estimated_monthly_savings
738
- # The estimated monthly savings amount for the recommendation.
752
+ # @!attribute [rw] estimated_savings_percentage
753
+ # The estimated savings percentage relative to the total cost over the
754
+ # cost calculation lookback period.
739
755
  # @return [Float]
740
756
  #
741
757
  # @!attribute [rw] estimated_savings_over_cost_calculation_lookback_period
@@ -743,31 +759,10 @@ module Aws::CostOptimizationHub
743
759
  # calculate cost impact for a recommendation.
744
760
  # @return [Float]
745
761
  #
746
- # @!attribute [rw] estimated_savings_percentage
747
- # The estimated savings percentage relative to the total cost over the
748
- # cost calculation lookback period.
749
- # @return [Float]
750
- #
751
- # @!attribute [rw] implementation_effort
752
- # The effort required to implement the recommendation.
753
- # @return [String]
754
- #
755
- # @!attribute [rw] last_refresh_timestamp
756
- # The time when the recommendation was last generated.
757
- # @return [Time]
758
- #
759
- # @!attribute [rw] recommendation_id
760
- # The ID for the recommendation.
762
+ # @!attribute [rw] current_resource_type
763
+ # The type of resource.
761
764
  # @return [String]
762
765
  #
763
- # @!attribute [rw] recommendation_lookback_period_in_days
764
- # The lookback period that's used to generate the recommendation.
765
- # @return [Integer]
766
- #
767
- # @!attribute [rw] recommended_resource_details
768
- # The details about the recommended resource.
769
- # @return [Types::ResourceDetails]
770
- #
771
766
  # @!attribute [rw] recommended_resource_type
772
767
  # The resource type of the recommendation.
773
768
  # @return [String]
@@ -776,26 +771,47 @@ module Aws::CostOptimizationHub
776
771
  # The Amazon Web Services Region of the resource.
777
772
  # @return [String]
778
773
  #
779
- # @!attribute [rw] resource_arn
780
- # The Amazon Resource Name (ARN) of the resource.
774
+ # @!attribute [rw] source
775
+ # The source of the recommendation.
781
776
  # @return [String]
782
777
  #
783
- # @!attribute [rw] resource_id
784
- # The unique identifier for the resource. This is the same as the
785
- # Amazon Resource Name (ARN), if available.
778
+ # @!attribute [rw] last_refresh_timestamp
779
+ # The time when the recommendation was last generated.
780
+ # @return [Time]
781
+ #
782
+ # @!attribute [rw] estimated_monthly_savings
783
+ # The estimated monthly savings amount for the recommendation.
784
+ # @return [Float]
785
+ #
786
+ # @!attribute [rw] estimated_monthly_cost
787
+ # The estimated monthly cost of the current resource. For Reserved
788
+ # Instances and Savings Plans, it refers to the cost for eligible
789
+ # usage.
790
+ # @return [Float]
791
+ #
792
+ # @!attribute [rw] implementation_effort
793
+ # The effort required to implement the recommendation.
786
794
  # @return [String]
787
795
  #
788
796
  # @!attribute [rw] restart_needed
789
797
  # Whether or not implementing the recommendation requires a restart.
790
798
  # @return [Boolean]
791
799
  #
800
+ # @!attribute [rw] action_type
801
+ # The type of action you can take by adopting the recommendation.
802
+ # @return [String]
803
+ #
792
804
  # @!attribute [rw] rollback_possible
793
805
  # Whether or not implementing the recommendation can be rolled back.
794
806
  # @return [Boolean]
795
807
  #
796
- # @!attribute [rw] source
797
- # The source of the recommendation.
798
- # @return [String]
808
+ # @!attribute [rw] current_resource_details
809
+ # The details for the resource.
810
+ # @return [Types::ResourceDetails]
811
+ #
812
+ # @!attribute [rw] recommended_resource_details
813
+ # The details about the recommended resource.
814
+ # @return [Types::ResourceDetails]
799
815
  #
800
816
  # @!attribute [rw] tags
801
817
  # A list of tags associated with the resource for which the
@@ -805,28 +821,28 @@ module Aws::CostOptimizationHub
805
821
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/GetRecommendationResponse AWS API Documentation
806
822
  #
807
823
  class GetRecommendationResponse < Struct.new(
824
+ :recommendation_id,
825
+ :resource_id,
826
+ :resource_arn,
808
827
  :account_id,
809
- :action_type,
810
- :cost_calculation_lookback_period_in_days,
811
828
  :currency_code,
812
- :current_resource_details,
813
- :current_resource_type,
814
- :estimated_monthly_cost,
815
- :estimated_monthly_savings,
816
- :estimated_savings_over_cost_calculation_lookback_period,
817
- :estimated_savings_percentage,
818
- :implementation_effort,
819
- :last_refresh_timestamp,
820
- :recommendation_id,
821
829
  :recommendation_lookback_period_in_days,
822
- :recommended_resource_details,
830
+ :cost_calculation_lookback_period_in_days,
831
+ :estimated_savings_percentage,
832
+ :estimated_savings_over_cost_calculation_lookback_period,
833
+ :current_resource_type,
823
834
  :recommended_resource_type,
824
835
  :region,
825
- :resource_arn,
826
- :resource_id,
836
+ :source,
837
+ :last_refresh_timestamp,
838
+ :estimated_monthly_savings,
839
+ :estimated_monthly_cost,
840
+ :implementation_effort,
827
841
  :restart_needed,
842
+ :action_type,
828
843
  :rollback_possible,
829
- :source,
844
+ :current_resource_details,
845
+ :recommended_resource_details,
830
846
  :tags)
831
847
  SENSITIVE = []
832
848
  include Aws::Structure
@@ -893,44 +909,44 @@ module Aws::CostOptimizationHub
893
909
  include Aws::Structure
894
910
  end
895
911
 
896
- # @!attribute [rw] account_id
897
- # The account ID of a member account in the organization.
898
- # @return [String]
899
- #
900
912
  # @!attribute [rw] include_organization_info
901
913
  # Indicates whether to return the enrollment status for the
902
914
  # organization.
903
915
  # @return [Boolean]
904
916
  #
905
- # @!attribute [rw] max_results
906
- # The maximum number of objects that are returned for the request.
907
- # @return [Integer]
917
+ # @!attribute [rw] account_id
918
+ # The account ID of a member account in the organization.
919
+ # @return [String]
908
920
  #
909
921
  # @!attribute [rw] next_token
910
922
  # The token to retrieve the next set of results.
911
923
  # @return [String]
912
924
  #
925
+ # @!attribute [rw] max_results
926
+ # The maximum number of objects that are returned for the request.
927
+ # @return [Integer]
928
+ #
913
929
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ListEnrollmentStatusesRequest AWS API Documentation
914
930
  #
915
931
  class ListEnrollmentStatusesRequest < Struct.new(
916
- :account_id,
917
932
  :include_organization_info,
918
- :max_results,
919
- :next_token)
933
+ :account_id,
934
+ :next_token,
935
+ :max_results)
920
936
  SENSITIVE = []
921
937
  include Aws::Structure
922
938
  end
923
939
 
924
- # @!attribute [rw] include_member_accounts
925
- # The enrollment status of all member accounts in the organization if
926
- # the account is the management account.
927
- # @return [Boolean]
928
- #
929
940
  # @!attribute [rw] items
930
941
  # The enrollment status of a specific account ID, including creation
931
942
  # and last updated timestamps.
932
943
  # @return [Array<Types::AccountEnrollmentStatus>]
933
944
  #
945
+ # @!attribute [rw] include_member_accounts
946
+ # The enrollment status of all member accounts in the organization if
947
+ # the account is the management account.
948
+ # @return [Boolean]
949
+ #
934
950
  # @!attribute [rw] next_token
935
951
  # The token to retrieve the next set of results.
936
952
  # @return [String]
@@ -938,8 +954,8 @@ module Aws::CostOptimizationHub
938
954
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ListEnrollmentStatusesResponse AWS API Documentation
939
955
  #
940
956
  class ListEnrollmentStatusesResponse < Struct.new(
941
- :include_member_accounts,
942
957
  :items,
958
+ :include_member_accounts,
943
959
  :next_token)
944
960
  SENSITIVE = []
945
961
  include Aws::Structure
@@ -974,21 +990,21 @@ module Aws::CostOptimizationHub
974
990
  include Aws::Structure
975
991
  end
976
992
 
977
- # @!attribute [rw] currency_code
978
- # The currency code used for the recommendation.
979
- # @return [String]
980
- #
981
993
  # @!attribute [rw] estimated_total_deduped_savings
982
994
  # The total overall savings for the aggregated view.
983
995
  # @return [Float]
984
996
  #
997
+ # @!attribute [rw] items
998
+ # List of all savings recommendations.
999
+ # @return [Array<Types::RecommendationSummary>]
1000
+ #
985
1001
  # @!attribute [rw] group_by
986
1002
  # The dimension used to group the recommendations by.
987
1003
  # @return [String]
988
1004
  #
989
- # @!attribute [rw] items
990
- # List of all savings recommendations.
991
- # @return [Array<Types::RecommendationSummary>]
1005
+ # @!attribute [rw] currency_code
1006
+ # The currency code used for the recommendation.
1007
+ # @return [String]
992
1008
  #
993
1009
  # @!attribute [rw] next_token
994
1010
  # The token to retrieve the next set of results.
@@ -997,10 +1013,10 @@ module Aws::CostOptimizationHub
997
1013
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ListRecommendationSummariesResponse AWS API Documentation
998
1014
  #
999
1015
  class ListRecommendationSummariesResponse < Struct.new(
1000
- :currency_code,
1001
1016
  :estimated_total_deduped_savings,
1002
- :group_by,
1003
1017
  :items,
1018
+ :group_by,
1019
+ :currency_code,
1004
1020
  :next_token)
1005
1021
  SENSITIVE = []
1006
1022
  include Aws::Structure
@@ -1010,6 +1026,10 @@ module Aws::CostOptimizationHub
1010
1026
  # The constraints that you want all returned recommendations to match.
1011
1027
  # @return [Types::Filter]
1012
1028
  #
1029
+ # @!attribute [rw] order_by
1030
+ # The ordering of recommendations by a dimension.
1031
+ # @return [Types::OrderBy]
1032
+ #
1013
1033
  # @!attribute [rw] include_all_recommendations
1014
1034
  # List of all recommendations for a resource, or a single
1015
1035
  # recommendation if de-duped by `resourceId`.
@@ -1024,18 +1044,14 @@ module Aws::CostOptimizationHub
1024
1044
  # The token to retrieve the next set of results.
1025
1045
  # @return [String]
1026
1046
  #
1027
- # @!attribute [rw] order_by
1028
- # The ordering of recommendations by a dimension.
1029
- # @return [Types::OrderBy]
1030
- #
1031
1047
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ListRecommendationsRequest AWS API Documentation
1032
1048
  #
1033
1049
  class ListRecommendationsRequest < Struct.new(
1034
1050
  :filter,
1051
+ :order_by,
1035
1052
  :include_all_recommendations,
1036
1053
  :max_results,
1037
- :next_token,
1038
- :order_by)
1054
+ :next_token)
1039
1055
  SENSITIVE = []
1040
1056
  include Aws::Structure
1041
1057
  end
@@ -1084,22 +1100,21 @@ module Aws::CostOptimizationHub
1084
1100
  # The account scope that you want your recommendations for.
1085
1101
  # @return [String]
1086
1102
  #
1087
- # @!attribute [rw] current_generation
1088
- # Determines whether the recommendation is for a current generation
1089
- # instance.
1103
+ # @!attribute [rw] service
1104
+ # The service that you want your recommendations for.
1090
1105
  # @return [String]
1091
1106
  #
1092
- # @!attribute [rw] instance_type
1093
- # The type of instance that Amazon Web Services recommends.
1107
+ # @!attribute [rw] normalized_units_to_purchase
1108
+ # The number of normalized units that Amazon Web Services recommends
1109
+ # that you purchase.
1094
1110
  # @return [String]
1095
1111
  #
1096
- # @!attribute [rw] monthly_recurring_cost
1097
- # How much purchasing reserved instances costs you on a monthly basis.
1112
+ # @!attribute [rw] term
1113
+ # The reserved instances recommendation term in years.
1098
1114
  # @return [String]
1099
1115
  #
1100
- # @!attribute [rw] normalized_units_to_purchase
1101
- # The number of normalized units that Amazon Web Services recommends
1102
- # that you purchase.
1116
+ # @!attribute [rw] payment_option
1117
+ # The payment option for the commitment.
1103
1118
  # @return [String]
1104
1119
  #
1105
1120
  # @!attribute [rw] number_of_instances_to_purchase
@@ -1107,45 +1122,46 @@ module Aws::CostOptimizationHub
1107
1122
  # purchase.
1108
1123
  # @return [String]
1109
1124
  #
1110
- # @!attribute [rw] payment_option
1111
- # The payment option for the commitment.
1125
+ # @!attribute [rw] instance_type
1126
+ # The type of instance that Amazon Web Services recommends.
1112
1127
  # @return [String]
1113
1128
  #
1114
1129
  # @!attribute [rw] reserved_instances_region
1115
1130
  # The Amazon Web Services Region of the commitment.
1116
1131
  # @return [String]
1117
1132
  #
1118
- # @!attribute [rw] service
1119
- # The service that you want your recommendations for.
1133
+ # @!attribute [rw] current_generation
1134
+ # Determines whether the recommendation is for a current generation
1135
+ # instance.
1120
1136
  # @return [String]
1121
1137
  #
1122
1138
  # @!attribute [rw] size_flex_eligible
1123
1139
  # Determines whether the recommendation is size flexible.
1124
1140
  # @return [Boolean]
1125
1141
  #
1126
- # @!attribute [rw] term
1127
- # The reserved instances recommendation term in years.
1128
- # @return [String]
1129
- #
1130
1142
  # @!attribute [rw] upfront_cost
1131
1143
  # How much purchasing this instance costs you upfront.
1132
1144
  # @return [String]
1133
1145
  #
1134
- # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/OpenSearchReservedInstancesConfiguration AWS API Documentation
1146
+ # @!attribute [rw] monthly_recurring_cost
1147
+ # How much purchasing reserved instances costs you on a monthly basis.
1148
+ # @return [String]
1149
+ #
1150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/OpenSearchReservedInstancesConfiguration AWS API Documentation
1135
1151
  #
1136
1152
  class OpenSearchReservedInstancesConfiguration < Struct.new(
1137
1153
  :account_scope,
1138
- :current_generation,
1139
- :instance_type,
1140
- :monthly_recurring_cost,
1154
+ :service,
1141
1155
  :normalized_units_to_purchase,
1142
- :number_of_instances_to_purchase,
1156
+ :term,
1143
1157
  :payment_option,
1158
+ :number_of_instances_to_purchase,
1159
+ :instance_type,
1144
1160
  :reserved_instances_region,
1145
- :service,
1161
+ :current_generation,
1146
1162
  :size_flex_eligible,
1147
- :term,
1148
- :upfront_cost)
1163
+ :upfront_cost,
1164
+ :monthly_recurring_cost)
1149
1165
  SENSITIVE = []
1150
1166
  include Aws::Structure
1151
1167
  end
@@ -1169,6 +1185,90 @@ module Aws::CostOptimizationHub
1169
1185
  include Aws::Structure
1170
1186
  end
1171
1187
 
1188
+ # Contains the details of an Amazon RDS DB instance.
1189
+ #
1190
+ # @!attribute [rw] configuration
1191
+ # The Amazon RDS DB instance configuration used for recommendations.
1192
+ # @return [Types::RdsDbInstanceConfiguration]
1193
+ #
1194
+ # @!attribute [rw] cost_calculation
1195
+ # Cost impact of the resource recommendation.
1196
+ # @return [Types::ResourceCostCalculation]
1197
+ #
1198
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/RdsDbInstance AWS API Documentation
1199
+ #
1200
+ class RdsDbInstance < Struct.new(
1201
+ :configuration,
1202
+ :cost_calculation)
1203
+ SENSITIVE = []
1204
+ include Aws::Structure
1205
+ end
1206
+
1207
+ # The Amazon RDS DB instance configuration used for recommendations.
1208
+ #
1209
+ # @!attribute [rw] instance
1210
+ # Details about the instance configuration.
1211
+ # @return [Types::DbInstanceConfiguration]
1212
+ #
1213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/RdsDbInstanceConfiguration AWS API Documentation
1214
+ #
1215
+ class RdsDbInstanceConfiguration < Struct.new(
1216
+ :instance)
1217
+ SENSITIVE = []
1218
+ include Aws::Structure
1219
+ end
1220
+
1221
+ # Contains the details of an Amazon RDS DB instance storage.
1222
+ #
1223
+ # @!attribute [rw] configuration
1224
+ # The Amazon RDS DB instance storage configuration used for
1225
+ # recommendations.
1226
+ # @return [Types::RdsDbInstanceStorageConfiguration]
1227
+ #
1228
+ # @!attribute [rw] cost_calculation
1229
+ # Cost impact of the resource recommendation.
1230
+ # @return [Types::ResourceCostCalculation]
1231
+ #
1232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/RdsDbInstanceStorage AWS API Documentation
1233
+ #
1234
+ class RdsDbInstanceStorage < Struct.new(
1235
+ :configuration,
1236
+ :cost_calculation)
1237
+ SENSITIVE = []
1238
+ include Aws::Structure
1239
+ end
1240
+
1241
+ # The Amazon RDS DB instance storage configuration used for
1242
+ # recommendations.
1243
+ #
1244
+ # @!attribute [rw] storage_type
1245
+ # The storage type to associate with the DB instance.
1246
+ # @return [String]
1247
+ #
1248
+ # @!attribute [rw] allocated_storage_in_gb
1249
+ # The new amount of storage in GB to allocate for the DB instance.
1250
+ # @return [Float]
1251
+ #
1252
+ # @!attribute [rw] iops
1253
+ # The amount of Provisioned IOPS (input/output operations per second)
1254
+ # to be initially allocated for the DB instance.
1255
+ # @return [Float]
1256
+ #
1257
+ # @!attribute [rw] storage_throughput
1258
+ # The storage throughput for the DB instance.
1259
+ # @return [Float]
1260
+ #
1261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/RdsDbInstanceStorageConfiguration AWS API Documentation
1262
+ #
1263
+ class RdsDbInstanceStorageConfiguration < Struct.new(
1264
+ :storage_type,
1265
+ :allocated_storage_in_gb,
1266
+ :iops,
1267
+ :storage_throughput)
1268
+ SENSITIVE = []
1269
+ include Aws::Structure
1270
+ end
1271
+
1172
1272
  # The RDS reserved instances recommendation details.
1173
1273
  #
1174
1274
  # @!attribute [rw] configuration
@@ -1194,23 +1294,26 @@ module Aws::CostOptimizationHub
1194
1294
  # The account scope that you want your recommendations for.
1195
1295
  # @return [String]
1196
1296
  #
1197
- # @!attribute [rw] current_generation
1198
- # Determines whether the recommendation is for a current generation
1199
- # instance.
1297
+ # @!attribute [rw] service
1298
+ # The service that you want your recommendations for.
1200
1299
  # @return [String]
1201
1300
  #
1202
- # @!attribute [rw] database_edition
1203
- # The database edition that the recommended reservation supports.
1301
+ # @!attribute [rw] normalized_units_to_purchase
1302
+ # The number of normalized units that Amazon Web Services recommends
1303
+ # that you purchase.
1204
1304
  # @return [String]
1205
1305
  #
1206
- # @!attribute [rw] database_engine
1207
- # The database engine that the recommended reservation supports.
1306
+ # @!attribute [rw] term
1307
+ # The reserved instances recommendation term in years.
1208
1308
  # @return [String]
1209
1309
  #
1210
- # @!attribute [rw] deployment_option
1211
- # Determines whether the recommendation is for a reservation in a
1212
- # single Availability Zone or a reservation with a backup in a second
1213
- # Availability Zone.
1310
+ # @!attribute [rw] payment_option
1311
+ # The payment option for the commitment.
1312
+ # @return [String]
1313
+ #
1314
+ # @!attribute [rw] number_of_instances_to_purchase
1315
+ # The number of instances that Amazon Web Services recommends that you
1316
+ # purchase.
1214
1317
  # @return [String]
1215
1318
  #
1216
1319
  # @!attribute [rw] instance_family
@@ -1221,97 +1324,98 @@ module Aws::CostOptimizationHub
1221
1324
  # The type of instance that Amazon Web Services recommends.
1222
1325
  # @return [String]
1223
1326
  #
1224
- # @!attribute [rw] license_model
1225
- # The license model that the recommended reservation supports.
1327
+ # @!attribute [rw] reserved_instances_region
1328
+ # The Amazon Web Services Region of the commitment.
1226
1329
  # @return [String]
1227
1330
  #
1228
- # @!attribute [rw] monthly_recurring_cost
1229
- # How much purchasing this instance costs you on a monthly basis.
1230
- # @return [String]
1331
+ # @!attribute [rw] size_flex_eligible
1332
+ # Determines whether the recommendation is size flexible.
1333
+ # @return [Boolean]
1231
1334
  #
1232
- # @!attribute [rw] normalized_units_to_purchase
1233
- # The number of normalized units that Amazon Web Services recommends
1234
- # that you purchase.
1335
+ # @!attribute [rw] current_generation
1336
+ # Determines whether the recommendation is for a current generation
1337
+ # instance.
1235
1338
  # @return [String]
1236
1339
  #
1237
- # @!attribute [rw] number_of_instances_to_purchase
1238
- # The number of instances that Amazon Web Services recommends that you
1239
- # purchase.
1340
+ # @!attribute [rw] upfront_cost
1341
+ # How much purchasing this instance costs you upfront.
1240
1342
  # @return [String]
1241
1343
  #
1242
- # @!attribute [rw] payment_option
1243
- # The payment option for the commitment.
1344
+ # @!attribute [rw] monthly_recurring_cost
1345
+ # How much purchasing this instance costs you on a monthly basis.
1244
1346
  # @return [String]
1245
1347
  #
1246
- # @!attribute [rw] reserved_instances_region
1247
- # The Amazon Web Services Region of the commitment.
1348
+ # @!attribute [rw] license_model
1349
+ # The license model that the recommended reservation supports.
1248
1350
  # @return [String]
1249
1351
  #
1250
- # @!attribute [rw] service
1251
- # The service that you want your recommendations for.
1352
+ # @!attribute [rw] database_edition
1353
+ # The database edition that the recommended reservation supports.
1252
1354
  # @return [String]
1253
1355
  #
1254
- # @!attribute [rw] size_flex_eligible
1255
- # Determines whether the recommendation is size flexible.
1256
- # @return [Boolean]
1257
- #
1258
- # @!attribute [rw] term
1259
- # The reserved instances recommendation term in years.
1356
+ # @!attribute [rw] database_engine
1357
+ # The database engine that the recommended reservation supports.
1260
1358
  # @return [String]
1261
1359
  #
1262
- # @!attribute [rw] upfront_cost
1263
- # How much purchasing this instance costs you upfront.
1360
+ # @!attribute [rw] deployment_option
1361
+ # Determines whether the recommendation is for a reservation in a
1362
+ # single Availability Zone or a reservation with a backup in a second
1363
+ # Availability Zone.
1264
1364
  # @return [String]
1265
1365
  #
1266
1366
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/RdsReservedInstancesConfiguration AWS API Documentation
1267
1367
  #
1268
1368
  class RdsReservedInstancesConfiguration < Struct.new(
1269
1369
  :account_scope,
1270
- :current_generation,
1271
- :database_edition,
1272
- :database_engine,
1273
- :deployment_option,
1274
- :instance_family,
1275
- :instance_type,
1276
- :license_model,
1277
- :monthly_recurring_cost,
1370
+ :service,
1278
1371
  :normalized_units_to_purchase,
1279
- :number_of_instances_to_purchase,
1372
+ :term,
1280
1373
  :payment_option,
1374
+ :number_of_instances_to_purchase,
1375
+ :instance_family,
1376
+ :instance_type,
1281
1377
  :reserved_instances_region,
1282
- :service,
1283
1378
  :size_flex_eligible,
1284
- :term,
1285
- :upfront_cost)
1379
+ :current_generation,
1380
+ :upfront_cost,
1381
+ :monthly_recurring_cost,
1382
+ :license_model,
1383
+ :database_edition,
1384
+ :database_engine,
1385
+ :deployment_option)
1286
1386
  SENSITIVE = []
1287
1387
  include Aws::Structure
1288
1388
  end
1289
1389
 
1290
1390
  # Describes a recommendation.
1291
1391
  #
1392
+ # @!attribute [rw] recommendation_id
1393
+ # The ID for the recommendation.
1394
+ # @return [String]
1395
+ #
1292
1396
  # @!attribute [rw] account_id
1293
1397
  # The account that the recommendation is for.
1294
1398
  # @return [String]
1295
1399
  #
1296
- # @!attribute [rw] action_type
1297
- # The type of tasks that can be carried out by this action.
1400
+ # @!attribute [rw] region
1401
+ # The Amazon Web Services Region of the resource.
1298
1402
  # @return [String]
1299
1403
  #
1300
- # @!attribute [rw] currency_code
1301
- # The currency code used for the recommendation.
1404
+ # @!attribute [rw] resource_id
1405
+ # The resource ID for the recommendation.
1302
1406
  # @return [String]
1303
1407
  #
1304
- # @!attribute [rw] current_resource_summary
1305
- # Describes the current resource.
1408
+ # @!attribute [rw] resource_arn
1409
+ # The Amazon Resource Name (ARN) for the recommendation.
1306
1410
  # @return [String]
1307
1411
  #
1308
1412
  # @!attribute [rw] current_resource_type
1309
1413
  # The current resource type.
1310
1414
  # @return [String]
1311
1415
  #
1312
- # @!attribute [rw] estimated_monthly_cost
1313
- # The estimated monthly cost for the recommendation.
1314
- # @return [Float]
1416
+ # @!attribute [rw] recommended_resource_type
1417
+ # The recommended resource type.
1418
+ # @return [String]
1315
1419
  #
1316
1420
  # @!attribute [rw] estimated_monthly_savings
1317
1421
  # The estimated monthly savings amount for the recommendation.
@@ -1322,49 +1426,47 @@ module Aws::CostOptimizationHub
1322
1426
  # cost calculation lookback period.
1323
1427
  # @return [Float]
1324
1428
  #
1325
- # @!attribute [rw] implementation_effort
1326
- # The effort required to implement the recommendation.
1327
- # @return [String]
1328
- #
1329
- # @!attribute [rw] last_refresh_timestamp
1330
- # The time when the recommendation was last generated.
1331
- # @return [Time]
1429
+ # @!attribute [rw] estimated_monthly_cost
1430
+ # The estimated monthly cost of the current resource. For Reserved
1431
+ # Instances and Savings Plans, it refers to the cost for eligible
1432
+ # usage.
1433
+ # @return [Float]
1332
1434
  #
1333
- # @!attribute [rw] recommendation_id
1334
- # The ID for the recommendation.
1435
+ # @!attribute [rw] currency_code
1436
+ # The currency code used for the recommendation.
1335
1437
  # @return [String]
1336
1438
  #
1337
- # @!attribute [rw] recommendation_lookback_period_in_days
1338
- # The lookback period that's used to generate the recommendation.
1339
- # @return [Integer]
1340
- #
1341
- # @!attribute [rw] recommended_resource_summary
1342
- # Describes the recommended resource.
1439
+ # @!attribute [rw] implementation_effort
1440
+ # The effort required to implement the recommendation.
1343
1441
  # @return [String]
1344
1442
  #
1345
- # @!attribute [rw] recommended_resource_type
1346
- # The recommended resource type.
1347
- # @return [String]
1443
+ # @!attribute [rw] restart_needed
1444
+ # Whether or not implementing the recommendation requires a restart.
1445
+ # @return [Boolean]
1348
1446
  #
1349
- # @!attribute [rw] region
1350
- # The Amazon Web Services Region of the resource.
1447
+ # @!attribute [rw] action_type
1448
+ # The type of tasks that can be carried out by this action.
1351
1449
  # @return [String]
1352
1450
  #
1353
- # @!attribute [rw] resource_arn
1354
- # The Amazon Resource Name (ARN) for the recommendation.
1451
+ # @!attribute [rw] rollback_possible
1452
+ # Whether or not implementing the recommendation can be rolled back.
1453
+ # @return [Boolean]
1454
+ #
1455
+ # @!attribute [rw] current_resource_summary
1456
+ # Describes the current resource.
1355
1457
  # @return [String]
1356
1458
  #
1357
- # @!attribute [rw] resource_id
1358
- # The resource ID for the recommendation.
1459
+ # @!attribute [rw] recommended_resource_summary
1460
+ # Describes the recommended resource.
1359
1461
  # @return [String]
1360
1462
  #
1361
- # @!attribute [rw] restart_needed
1362
- # Whether or not implementing the recommendation requires a restart.
1363
- # @return [Boolean]
1463
+ # @!attribute [rw] last_refresh_timestamp
1464
+ # The time when the recommendation was last generated.
1465
+ # @return [Time]
1364
1466
  #
1365
- # @!attribute [rw] rollback_possible
1366
- # Whether or not implementing the recommendation can be rolled back.
1367
- # @return [Boolean]
1467
+ # @!attribute [rw] recommendation_lookback_period_in_days
1468
+ # The lookback period that's used to generate the recommendation.
1469
+ # @return [Integer]
1368
1470
  #
1369
1471
  # @!attribute [rw] source
1370
1472
  # The source of the recommendation.
@@ -1377,25 +1479,25 @@ module Aws::CostOptimizationHub
1377
1479
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/Recommendation AWS API Documentation
1378
1480
  #
1379
1481
  class Recommendation < Struct.new(
1482
+ :recommendation_id,
1380
1483
  :account_id,
1381
- :action_type,
1382
- :currency_code,
1383
- :current_resource_summary,
1484
+ :region,
1485
+ :resource_id,
1486
+ :resource_arn,
1384
1487
  :current_resource_type,
1385
- :estimated_monthly_cost,
1488
+ :recommended_resource_type,
1386
1489
  :estimated_monthly_savings,
1387
1490
  :estimated_savings_percentage,
1491
+ :estimated_monthly_cost,
1492
+ :currency_code,
1388
1493
  :implementation_effort,
1389
- :last_refresh_timestamp,
1390
- :recommendation_id,
1391
- :recommendation_lookback_period_in_days,
1392
- :recommended_resource_summary,
1393
- :recommended_resource_type,
1394
- :region,
1395
- :resource_arn,
1396
- :resource_id,
1397
1494
  :restart_needed,
1495
+ :action_type,
1398
1496
  :rollback_possible,
1497
+ :current_resource_summary,
1498
+ :recommended_resource_summary,
1499
+ :last_refresh_timestamp,
1500
+ :recommendation_lookback_period_in_days,
1399
1501
  :source,
1400
1502
  :tags)
1401
1503
  SENSITIVE = []
@@ -1405,15 +1507,15 @@ module Aws::CostOptimizationHub
1405
1507
  # The summary of rightsizing recommendations, including de-duped savings
1406
1508
  # from all types of recommendations.
1407
1509
  #
1408
- # @!attribute [rw] estimated_monthly_savings
1409
- # The estimated total savings resulting from modifications, on a
1410
- # monthly basis.
1411
- # @return [Float]
1412
- #
1413
1510
  # @!attribute [rw] group
1414
1511
  # The grouping of recommendations.
1415
1512
  # @return [String]
1416
1513
  #
1514
+ # @!attribute [rw] estimated_monthly_savings
1515
+ # The estimated total savings resulting from modifications, on a
1516
+ # monthly basis.
1517
+ # @return [Float]
1518
+ #
1417
1519
  # @!attribute [rw] recommendation_count
1418
1520
  # The total number of instance recommendations.
1419
1521
  # @return [Integer]
@@ -1421,8 +1523,8 @@ module Aws::CostOptimizationHub
1421
1523
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/RecommendationSummary AWS API Documentation
1422
1524
  #
1423
1525
  class RecommendationSummary < Struct.new(
1424
- :estimated_monthly_savings,
1425
1526
  :group,
1527
+ :estimated_monthly_savings,
1426
1528
  :recommendation_count)
1427
1529
  SENSITIVE = []
1428
1530
  include Aws::Structure
@@ -1455,26 +1557,21 @@ module Aws::CostOptimizationHub
1455
1557
  # The account scope that you want your recommendations for.
1456
1558
  # @return [String]
1457
1559
  #
1458
- # @!attribute [rw] current_generation
1459
- # Determines whether the recommendation is for a current generation
1460
- # instance.
1461
- # @return [String]
1462
- #
1463
- # @!attribute [rw] instance_family
1464
- # The instance family of the recommended reservation.
1560
+ # @!attribute [rw] service
1561
+ # The service that you want your recommendations for.
1465
1562
  # @return [String]
1466
1563
  #
1467
- # @!attribute [rw] instance_type
1468
- # The type of instance that Amazon Web Services recommends.
1564
+ # @!attribute [rw] normalized_units_to_purchase
1565
+ # The number of normalized units that Amazon Web Services recommends
1566
+ # that you purchase.
1469
1567
  # @return [String]
1470
1568
  #
1471
- # @!attribute [rw] monthly_recurring_cost
1472
- # How much purchasing reserved instances costs you on a monthly basis.
1569
+ # @!attribute [rw] term
1570
+ # The reserved instances recommendation term in years.
1473
1571
  # @return [String]
1474
1572
  #
1475
- # @!attribute [rw] normalized_units_to_purchase
1476
- # The number of normalized units that Amazon Web Services recommends
1477
- # that you purchase.
1573
+ # @!attribute [rw] payment_option
1574
+ # The payment option for the commitment.
1478
1575
  # @return [String]
1479
1576
  #
1480
1577
  # @!attribute [rw] number_of_instances_to_purchase
@@ -1482,46 +1579,51 @@ module Aws::CostOptimizationHub
1482
1579
  # purchase.
1483
1580
  # @return [String]
1484
1581
  #
1485
- # @!attribute [rw] payment_option
1486
- # The payment option for the commitment.
1582
+ # @!attribute [rw] instance_family
1583
+ # The instance family of the recommended reservation.
1487
1584
  # @return [String]
1488
1585
  #
1489
- # @!attribute [rw] reserved_instances_region
1490
- # The Amazon Web Services Region of the commitment.
1586
+ # @!attribute [rw] instance_type
1587
+ # The type of instance that Amazon Web Services recommends.
1491
1588
  # @return [String]
1492
1589
  #
1493
- # @!attribute [rw] service
1494
- # The service that you want your recommendations for.
1590
+ # @!attribute [rw] reserved_instances_region
1591
+ # The Amazon Web Services Region of the commitment.
1495
1592
  # @return [String]
1496
1593
  #
1497
1594
  # @!attribute [rw] size_flex_eligible
1498
1595
  # Determines whether the recommendation is size flexible.
1499
1596
  # @return [Boolean]
1500
1597
  #
1501
- # @!attribute [rw] term
1502
- # The reserved instances recommendation term in years.
1598
+ # @!attribute [rw] current_generation
1599
+ # Determines whether the recommendation is for a current generation
1600
+ # instance.
1503
1601
  # @return [String]
1504
1602
  #
1505
1603
  # @!attribute [rw] upfront_cost
1506
1604
  # How much purchasing this instance costs you upfront.
1507
1605
  # @return [String]
1508
1606
  #
1607
+ # @!attribute [rw] monthly_recurring_cost
1608
+ # How much purchasing reserved instances costs you on a monthly basis.
1609
+ # @return [String]
1610
+ #
1509
1611
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/RedshiftReservedInstancesConfiguration AWS API Documentation
1510
1612
  #
1511
1613
  class RedshiftReservedInstancesConfiguration < Struct.new(
1512
1614
  :account_scope,
1513
- :current_generation,
1514
- :instance_family,
1515
- :instance_type,
1516
- :monthly_recurring_cost,
1615
+ :service,
1517
1616
  :normalized_units_to_purchase,
1518
- :number_of_instances_to_purchase,
1617
+ :term,
1519
1618
  :payment_option,
1619
+ :number_of_instances_to_purchase,
1620
+ :instance_family,
1621
+ :instance_type,
1520
1622
  :reserved_instances_region,
1521
- :service,
1522
1623
  :size_flex_eligible,
1523
- :term,
1524
- :upfront_cost)
1624
+ :current_generation,
1625
+ :upfront_cost,
1626
+ :monthly_recurring_cost)
1525
1627
  SENSITIVE = []
1526
1628
  include Aws::Structure
1527
1629
  end
@@ -1542,11 +1644,6 @@ module Aws::CostOptimizationHub
1542
1644
 
1543
1645
  # Pricing details for your recommended reserved instance.
1544
1646
  #
1545
- # @!attribute [rw] estimated_monthly_amortized_reservation_cost
1546
- # The estimated cost of your recurring monthly fees for the
1547
- # recommended reserved instance across the month.
1548
- # @return [Float]
1549
- #
1550
1647
  # @!attribute [rw] estimated_on_demand_cost
1551
1648
  # The remaining On-Demand cost estimated to not be covered by the
1552
1649
  # recommended reserved instance, over the length of the lookback
@@ -1562,32 +1659,37 @@ module Aws::CostOptimizationHub
1562
1659
  # are associated with this instance.
1563
1660
  # @return [Float]
1564
1661
  #
1662
+ # @!attribute [rw] estimated_monthly_amortized_reservation_cost
1663
+ # The estimated cost of your recurring monthly fees for the
1664
+ # recommended reserved instance across the month.
1665
+ # @return [Float]
1666
+ #
1565
1667
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ReservedInstancesPricing AWS API Documentation
1566
1668
  #
1567
1669
  class ReservedInstancesPricing < Struct.new(
1568
- :estimated_monthly_amortized_reservation_cost,
1569
1670
  :estimated_on_demand_cost,
1570
1671
  :monthly_reservation_eligible_cost,
1571
- :savings_percentage)
1672
+ :savings_percentage,
1673
+ :estimated_monthly_amortized_reservation_cost)
1572
1674
  SENSITIVE = []
1573
1675
  include Aws::Structure
1574
1676
  end
1575
1677
 
1576
1678
  # Cost impact of the resource recommendation.
1577
1679
  #
1578
- # @!attribute [rw] pricing
1579
- # Pricing details of the resource recommendation.
1580
- # @return [Types::ResourcePricing]
1581
- #
1582
1680
  # @!attribute [rw] usages
1583
1681
  # Usage details of the resource recommendation.
1584
1682
  # @return [Array<Types::Usage>]
1585
1683
  #
1684
+ # @!attribute [rw] pricing
1685
+ # Pricing details of the resource recommendation.
1686
+ # @return [Types::ResourcePricing]
1687
+ #
1586
1688
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ResourceCostCalculation AWS API Documentation
1587
1689
  #
1588
1690
  class ResourceCostCalculation < Struct.new(
1589
- :pricing,
1590
- :usages)
1691
+ :usages,
1692
+ :pricing)
1591
1693
  SENSITIVE = []
1592
1694
  include Aws::Structure
1593
1695
  end
@@ -1596,9 +1698,17 @@ module Aws::CostOptimizationHub
1596
1698
  #
1597
1699
  # @note ResourceDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ResourceDetails corresponding to the set member.
1598
1700
  #
1599
- # @!attribute [rw] compute_savings_plans
1600
- # The Compute Savings Plans recommendation details.
1601
- # @return [Types::ComputeSavingsPlans]
1701
+ # @!attribute [rw] lambda_function
1702
+ # The Lambda function recommendation details.
1703
+ # @return [Types::LambdaFunction]
1704
+ #
1705
+ # @!attribute [rw] ecs_service
1706
+ # The ECS service recommendation details.
1707
+ # @return [Types::EcsService]
1708
+ #
1709
+ # @!attribute [rw] ec2_instance
1710
+ # The EC2 instance recommendation details.
1711
+ # @return [Types::Ec2Instance]
1602
1712
  #
1603
1713
  # @!attribute [rw] ebs_volume
1604
1714
  # The Amazon Elastic Block Store volume recommendation details.
@@ -1608,80 +1718,84 @@ module Aws::CostOptimizationHub
1608
1718
  # The EC2 Auto Scaling group recommendation details.
1609
1719
  # @return [Types::Ec2AutoScalingGroup]
1610
1720
  #
1611
- # @!attribute [rw] ec2_instance
1612
- # The EC2 instance recommendation details.
1613
- # @return [Types::Ec2Instance]
1614
- #
1615
- # @!attribute [rw] ec2_instance_savings_plans
1616
- # The EC2 instance Savings Plans recommendation details.
1617
- # @return [Types::Ec2InstanceSavingsPlans]
1618
- #
1619
1721
  # @!attribute [rw] ec2_reserved_instances
1620
1722
  # The EC2 reserved instances recommendation details.
1621
1723
  # @return [Types::Ec2ReservedInstances]
1622
1724
  #
1623
- # @!attribute [rw] ecs_service
1624
- # The ECS service recommendation details.
1625
- # @return [Types::EcsService]
1725
+ # @!attribute [rw] rds_reserved_instances
1726
+ # The RDS reserved instances recommendation details.
1727
+ # @return [Types::RdsReservedInstances]
1626
1728
  #
1627
1729
  # @!attribute [rw] elasti_cache_reserved_instances
1628
1730
  # The ElastiCache reserved instances recommendation details.
1629
1731
  # @return [Types::ElastiCacheReservedInstances]
1630
1732
  #
1631
- # @!attribute [rw] lambda_function
1632
- # The Lambda function recommendation details.
1633
- # @return [Types::LambdaFunction]
1634
- #
1635
1733
  # @!attribute [rw] open_search_reserved_instances
1636
1734
  # The OpenSearch reserved instances recommendation details.
1637
1735
  # @return [Types::OpenSearchReservedInstances]
1638
1736
  #
1639
- # @!attribute [rw] rds_reserved_instances
1640
- # The RDS reserved instances recommendation details.
1641
- # @return [Types::RdsReservedInstances]
1642
- #
1643
1737
  # @!attribute [rw] redshift_reserved_instances
1644
1738
  # The Redshift reserved instances recommendation details.
1645
1739
  # @return [Types::RedshiftReservedInstances]
1646
1740
  #
1741
+ # @!attribute [rw] ec2_instance_savings_plans
1742
+ # The EC2 instance Savings Plans recommendation details.
1743
+ # @return [Types::Ec2InstanceSavingsPlans]
1744
+ #
1745
+ # @!attribute [rw] compute_savings_plans
1746
+ # The Compute Savings Plans recommendation details.
1747
+ # @return [Types::ComputeSavingsPlans]
1748
+ #
1647
1749
  # @!attribute [rw] sage_maker_savings_plans
1648
1750
  # The SageMaker Savings Plans recommendation details.
1649
1751
  # @return [Types::SageMakerSavingsPlans]
1650
1752
  #
1753
+ # @!attribute [rw] rds_db_instance
1754
+ # The DB instance recommendation details.
1755
+ # @return [Types::RdsDbInstance]
1756
+ #
1757
+ # @!attribute [rw] rds_db_instance_storage
1758
+ # The DB instance storage recommendation details.
1759
+ # @return [Types::RdsDbInstanceStorage]
1760
+ #
1651
1761
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ResourceDetails AWS API Documentation
1652
1762
  #
1653
1763
  class ResourceDetails < Struct.new(
1654
- :compute_savings_plans,
1764
+ :lambda_function,
1765
+ :ecs_service,
1766
+ :ec2_instance,
1655
1767
  :ebs_volume,
1656
1768
  :ec2_auto_scaling_group,
1657
- :ec2_instance,
1658
- :ec2_instance_savings_plans,
1659
1769
  :ec2_reserved_instances,
1660
- :ecs_service,
1770
+ :rds_reserved_instances,
1661
1771
  :elasti_cache_reserved_instances,
1662
- :lambda_function,
1663
1772
  :open_search_reserved_instances,
1664
- :rds_reserved_instances,
1665
1773
  :redshift_reserved_instances,
1774
+ :ec2_instance_savings_plans,
1775
+ :compute_savings_plans,
1666
1776
  :sage_maker_savings_plans,
1777
+ :rds_db_instance,
1778
+ :rds_db_instance_storage,
1667
1779
  :unknown)
1668
1780
  SENSITIVE = []
1669
1781
  include Aws::Structure
1670
1782
  include Aws::Structure::Union
1671
1783
 
1672
- class ComputeSavingsPlans < ResourceDetails; end
1784
+ class LambdaFunction < ResourceDetails; end
1785
+ class EcsService < ResourceDetails; end
1786
+ class Ec2Instance < ResourceDetails; end
1673
1787
  class EbsVolume < ResourceDetails; end
1674
1788
  class Ec2AutoScalingGroup < ResourceDetails; end
1675
- class Ec2Instance < ResourceDetails; end
1676
- class Ec2InstanceSavingsPlans < ResourceDetails; end
1677
1789
  class Ec2ReservedInstances < ResourceDetails; end
1678
- class EcsService < ResourceDetails; end
1790
+ class RdsReservedInstances < ResourceDetails; end
1679
1791
  class ElastiCacheReservedInstances < ResourceDetails; end
1680
- class LambdaFunction < ResourceDetails; end
1681
1792
  class OpenSearchReservedInstances < ResourceDetails; end
1682
- class RdsReservedInstances < ResourceDetails; end
1683
1793
  class RedshiftReservedInstances < ResourceDetails; end
1794
+ class Ec2InstanceSavingsPlans < ResourceDetails; end
1795
+ class ComputeSavingsPlans < ResourceDetails; end
1684
1796
  class SageMakerSavingsPlans < ResourceDetails; end
1797
+ class RdsDbInstance < ResourceDetails; end
1798
+ class RdsDbInstanceStorage < ResourceDetails; end
1685
1799
  class Unknown < ResourceDetails; end
1686
1800
  end
1687
1801
 
@@ -1706,32 +1820,32 @@ module Aws::CostOptimizationHub
1706
1820
 
1707
1821
  # Contains pricing information about the specified resource.
1708
1822
  #
1709
- # @!attribute [rw] estimated_cost_after_discounts
1710
- # The savings estimate incorporating all discounts with Amazon Web
1711
- # Services, such as Reserved Instances and Savings Plans.
1712
- # @return [Float]
1713
- #
1714
1823
  # @!attribute [rw] estimated_cost_before_discounts
1715
1824
  # The savings estimate using Amazon Web Services public pricing
1716
1825
  # without incorporating any discounts.
1717
1826
  # @return [Float]
1718
1827
  #
1828
+ # @!attribute [rw] estimated_net_unused_amortized_commitments
1829
+ # The estimated net unused amortized commitment for the
1830
+ # recommendation.
1831
+ # @return [Float]
1832
+ #
1719
1833
  # @!attribute [rw] estimated_discounts
1720
1834
  # The estimated discounts for a recommendation.
1721
1835
  # @return [Types::EstimatedDiscounts]
1722
1836
  #
1723
- # @!attribute [rw] estimated_net_unused_amortized_commitments
1724
- # The estimated net unused amortized commitment for the
1725
- # recommendation.
1837
+ # @!attribute [rw] estimated_cost_after_discounts
1838
+ # The savings estimate incorporating all discounts with Amazon Web
1839
+ # Services, such as Reserved Instances and Savings Plans.
1726
1840
  # @return [Float]
1727
1841
  #
1728
1842
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ResourcePricing AWS API Documentation
1729
1843
  #
1730
1844
  class ResourcePricing < Struct.new(
1731
- :estimated_cost_after_discounts,
1732
1845
  :estimated_cost_before_discounts,
1846
+ :estimated_net_unused_amortized_commitments,
1733
1847
  :estimated_discounts,
1734
- :estimated_net_unused_amortized_commitments)
1848
+ :estimated_cost_after_discounts)
1735
1849
  SENSITIVE = []
1736
1850
  include Aws::Structure
1737
1851
  end
@@ -1761,25 +1875,25 @@ module Aws::CostOptimizationHub
1761
1875
  # The account scope that you want your recommendations for.
1762
1876
  # @return [String]
1763
1877
  #
1764
- # @!attribute [rw] hourly_commitment
1765
- # The hourly commitment for the Savings Plans type.
1878
+ # @!attribute [rw] term
1879
+ # The Savings Plans recommendation term in years.
1766
1880
  # @return [String]
1767
1881
  #
1768
1882
  # @!attribute [rw] payment_option
1769
1883
  # The payment option for the commitment.
1770
1884
  # @return [String]
1771
1885
  #
1772
- # @!attribute [rw] term
1773
- # The Savings Plans recommendation term in years.
1886
+ # @!attribute [rw] hourly_commitment
1887
+ # The hourly commitment for the Savings Plans type.
1774
1888
  # @return [String]
1775
1889
  #
1776
1890
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/SageMakerSavingsPlansConfiguration AWS API Documentation
1777
1891
  #
1778
1892
  class SageMakerSavingsPlansConfiguration < Struct.new(
1779
1893
  :account_scope,
1780
- :hourly_commitment,
1894
+ :term,
1781
1895
  :payment_option,
1782
- :term)
1896
+ :hourly_commitment)
1783
1897
  SENSITIVE = []
1784
1898
  include Aws::Structure
1785
1899
  end
@@ -1800,49 +1914,49 @@ module Aws::CostOptimizationHub
1800
1914
 
1801
1915
  # Pricing information about a Savings Plan.
1802
1916
  #
1803
- # @!attribute [rw] estimated_monthly_commitment
1804
- # Estimated monthly commitment for the Savings Plan.
1805
- # @return [Float]
1806
- #
1807
- # @!attribute [rw] estimated_on_demand_cost
1808
- # Estimated On-Demand cost you will pay after buying the Savings Plan.
1809
- # @return [Float]
1810
- #
1811
1917
  # @!attribute [rw] monthly_savings_plans_eligible_cost
1812
1918
  # The cost of paying for the recommended Savings Plan monthly.
1813
1919
  # @return [Float]
1814
1920
  #
1921
+ # @!attribute [rw] estimated_monthly_commitment
1922
+ # Estimated monthly commitment for the Savings Plan.
1923
+ # @return [Float]
1924
+ #
1815
1925
  # @!attribute [rw] savings_percentage
1816
1926
  # Estimated savings as a percentage of your overall costs after buying
1817
1927
  # the Savings Plan.
1818
1928
  # @return [Float]
1819
1929
  #
1930
+ # @!attribute [rw] estimated_on_demand_cost
1931
+ # Estimated On-Demand cost you will pay after buying the Savings Plan.
1932
+ # @return [Float]
1933
+ #
1820
1934
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/SavingsPlansPricing AWS API Documentation
1821
1935
  #
1822
1936
  class SavingsPlansPricing < Struct.new(
1823
- :estimated_monthly_commitment,
1824
- :estimated_on_demand_cost,
1825
1937
  :monthly_savings_plans_eligible_cost,
1826
- :savings_percentage)
1938
+ :estimated_monthly_commitment,
1939
+ :savings_percentage,
1940
+ :estimated_on_demand_cost)
1827
1941
  SENSITIVE = []
1828
1942
  include Aws::Structure
1829
1943
  end
1830
1944
 
1831
1945
  # The storage configuration used for recommendations.
1832
1946
  #
1833
- # @!attribute [rw] size_in_gb
1834
- # The storage volume.
1835
- # @return [Float]
1836
- #
1837
1947
  # @!attribute [rw] type
1838
1948
  # The storage type.
1839
1949
  # @return [String]
1840
1950
  #
1951
+ # @!attribute [rw] size_in_gb
1952
+ # The storage volume.
1953
+ # @return [Float]
1954
+ #
1841
1955
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/StorageConfiguration AWS API Documentation
1842
1956
  #
1843
1957
  class StorageConfiguration < Struct.new(
1844
- :size_in_gb,
1845
- :type)
1958
+ :type,
1959
+ :size_in_gb)
1846
1960
  SENSITIVE = []
1847
1961
  include Aws::Structure
1848
1962
  end
@@ -1879,20 +1993,20 @@ module Aws::CostOptimizationHub
1879
1993
  include Aws::Structure
1880
1994
  end
1881
1995
 
1996
+ # @!attribute [rw] status
1997
+ # Sets the account status.
1998
+ # @return [String]
1999
+ #
1882
2000
  # @!attribute [rw] include_member_accounts
1883
2001
  # Indicates whether to enroll member accounts of the organization if
1884
2002
  # the account is the management account.
1885
2003
  # @return [Boolean]
1886
2004
  #
1887
- # @!attribute [rw] status
1888
- # Sets the account status.
1889
- # @return [String]
1890
- #
1891
2005
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/UpdateEnrollmentStatusRequest AWS API Documentation
1892
2006
  #
1893
2007
  class UpdateEnrollmentStatusRequest < Struct.new(
1894
- :include_member_accounts,
1895
- :status)
2008
+ :status,
2009
+ :include_member_accounts)
1896
2010
  SENSITIVE = []
1897
2011
  include Aws::Structure
1898
2012
  end
@@ -1909,43 +2023,51 @@ module Aws::CostOptimizationHub
1909
2023
  include Aws::Structure
1910
2024
  end
1911
2025
 
1912
- # @!attribute [rw] member_account_discount_visibility
1913
- # Sets the "member account discount visibility" preference.
1914
- # @return [String]
1915
- #
1916
2026
  # @!attribute [rw] savings_estimation_mode
1917
2027
  # Sets the "savings estimation mode" preference.
1918
2028
  # @return [String]
1919
2029
  #
2030
+ # @!attribute [rw] member_account_discount_visibility
2031
+ # Sets the "member account discount visibility" preference.
2032
+ # @return [String]
2033
+ #
1920
2034
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/UpdatePreferencesRequest AWS API Documentation
1921
2035
  #
1922
2036
  class UpdatePreferencesRequest < Struct.new(
1923
- :member_account_discount_visibility,
1924
- :savings_estimation_mode)
2037
+ :savings_estimation_mode,
2038
+ :member_account_discount_visibility)
1925
2039
  SENSITIVE = []
1926
2040
  include Aws::Structure
1927
2041
  end
1928
2042
 
2043
+ # @!attribute [rw] savings_estimation_mode
2044
+ # Shows the status of the "savings estimation mode" preference.
2045
+ # @return [String]
2046
+ #
1929
2047
  # @!attribute [rw] member_account_discount_visibility
1930
2048
  # Shows the status of the "member account discount visibility"
1931
2049
  # preference.
1932
2050
  # @return [String]
1933
2051
  #
1934
- # @!attribute [rw] savings_estimation_mode
1935
- # Shows the status of the "savings estimation mode" preference.
1936
- # @return [String]
1937
- #
1938
2052
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/UpdatePreferencesResponse AWS API Documentation
1939
2053
  #
1940
2054
  class UpdatePreferencesResponse < Struct.new(
1941
- :member_account_discount_visibility,
1942
- :savings_estimation_mode)
2055
+ :savings_estimation_mode,
2056
+ :member_account_discount_visibility)
1943
2057
  SENSITIVE = []
1944
2058
  include Aws::Structure
1945
2059
  end
1946
2060
 
1947
2061
  # Details about the usage.
1948
2062
  #
2063
+ # @!attribute [rw] usage_type
2064
+ # The usage type.
2065
+ # @return [String]
2066
+ #
2067
+ # @!attribute [rw] usage_amount
2068
+ # The usage amount.
2069
+ # @return [Float]
2070
+ #
1949
2071
  # @!attribute [rw] operation
1950
2072
  # The operation value.
1951
2073
  # @return [String]
@@ -1958,22 +2080,14 @@ module Aws::CostOptimizationHub
1958
2080
  # The usage unit.
1959
2081
  # @return [String]
1960
2082
  #
1961
- # @!attribute [rw] usage_amount
1962
- # The usage amount.
1963
- # @return [Float]
1964
- #
1965
- # @!attribute [rw] usage_type
1966
- # The usage type.
1967
- # @return [String]
1968
- #
1969
2083
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/Usage AWS API Documentation
1970
2084
  #
1971
2085
  class Usage < Struct.new(
2086
+ :usage_type,
2087
+ :usage_amount,
1972
2088
  :operation,
1973
2089
  :product_code,
1974
- :unit,
1975
- :usage_amount,
1976
- :usage_type)
2090
+ :unit)
1977
2091
  SENSITIVE = []
1978
2092
  include Aws::Structure
1979
2093
  end
@@ -1981,10 +2095,6 @@ module Aws::CostOptimizationHub
1981
2095
  # The input fails to satisfy the constraints specified by an Amazon Web
1982
2096
  # Services service.
1983
2097
  #
1984
- # @!attribute [rw] fields
1985
- # The list of fields that are invalid.
1986
- # @return [Array<Types::ValidationExceptionDetail>]
1987
- #
1988
2098
  # @!attribute [rw] message
1989
2099
  # @return [String]
1990
2100
  #
@@ -1992,12 +2102,16 @@ module Aws::CostOptimizationHub
1992
2102
  # The reason for the validation exception.
1993
2103
  # @return [String]
1994
2104
  #
2105
+ # @!attribute [rw] fields
2106
+ # The list of fields that are invalid.
2107
+ # @return [Array<Types::ValidationExceptionDetail>]
2108
+ #
1995
2109
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ValidationException AWS API Documentation
1996
2110
  #
1997
2111
  class ValidationException < Struct.new(
1998
- :fields,
1999
2112
  :message,
2000
- :reason)
2113
+ :reason,
2114
+ :fields)
2001
2115
  SENSITIVE = []
2002
2116
  include Aws::Structure
2003
2117
  end