aws-sdk-costoptimizationhub 1.25.0 → 1.27.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e14ce6643769c97b35fbf2ad9efbb4cf6217b55b27eca57c9358d277e2d1277
4
- data.tar.gz: a9b53d25d16b4aec4cd914817da004efdec34660466dfc8b16208f79a3601f41
3
+ metadata.gz: 392ee4d85bd1438132924dd50acf240f14c6a04f861b3587a2cc09d4c8bdc1af
4
+ data.tar.gz: cadf0cbd2cf410a6a49536f2125d0879644e728361bc80eb2e754067640906fe
5
5
  SHA512:
6
- metadata.gz: 4be7e21dada302e5fefdd5e9e9a4f9957ff44ac442e7cda567e7d2416f79dae75ac5ca0cc5385352fff1a358b434d69fc937d7a40ade56935eb179890db8d0aa
7
- data.tar.gz: b8e03bc50a809105274a70d1473899a62900a65163fe8347651d49ca6c300db7d69809f54c7b231bfb4da07abc41b9e8bc40095aff490fd5ae9e16123edff88f
6
+ metadata.gz: 9e9d613e07ca9d6bf2b93b033a6d7a07f653a6ae4ae94015ad4af56283dcaa71e41431a63929fa70bf6ff864198736138fce374f1b8966312ba2897be66f6fb5
7
+ data.tar.gz: 1a588409d815d73cf9f1a5fd83ded1369446c0a08bca7990482d48f57efae7d35f57888ac4507aba57b9cd4025cae2ea6ef897c78204b81c02244f3607589dc9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.27.0 (2025-06-02)
5
+ ------------------
6
+
7
+ * Feature - Support recommendations for Aurora instance and Aurora cluster storage.
8
+
9
+ 1.26.0 (2025-05-28)
10
+ ------------------
11
+
12
+ * Feature - This release allows customers to modify their preferred commitment term and payment options.
13
+
4
14
  1.25.0 (2025-05-12)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.27.0
@@ -486,11 +486,14 @@ module Aws::CostOptimizationHub
486
486
  #
487
487
  # * {Types::GetPreferencesResponse#savings_estimation_mode #savings_estimation_mode} => String
488
488
  # * {Types::GetPreferencesResponse#member_account_discount_visibility #member_account_discount_visibility} => String
489
+ # * {Types::GetPreferencesResponse#preferred_commitment #preferred_commitment} => Types::PreferredCommitment
489
490
  #
490
491
  # @example Response structure
491
492
  #
492
493
  # resp.savings_estimation_mode #=> String, one of "BeforeDiscounts", "AfterDiscounts"
493
494
  # resp.member_account_discount_visibility #=> String, one of "All", "None"
495
+ # resp.preferred_commitment.term #=> String, one of "OneYear", "ThreeYears"
496
+ # resp.preferred_commitment.payment_option #=> String, one of "AllUpfront", "PartialUpfront", "NoUpfront"
494
497
  #
495
498
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/GetPreferences AWS API Documentation
496
499
  #
@@ -554,8 +557,8 @@ module Aws::CostOptimizationHub
554
557
  # resp.cost_calculation_lookback_period_in_days #=> Integer
555
558
  # resp.estimated_savings_percentage #=> Float
556
559
  # resp.estimated_savings_over_cost_calculation_lookback_period #=> Float
557
- # resp.current_resource_type #=> String, one of "Ec2Instance", "LambdaFunction", "EbsVolume", "EcsService", "Ec2AutoScalingGroup", "Ec2InstanceSavingsPlans", "ComputeSavingsPlans", "SageMakerSavingsPlans", "Ec2ReservedInstances", "RdsReservedInstances", "OpenSearchReservedInstances", "RedshiftReservedInstances", "ElastiCacheReservedInstances", "RdsDbInstanceStorage", "RdsDbInstance", "DynamoDbReservedCapacity", "MemoryDbReservedInstances"
558
- # resp.recommended_resource_type #=> String, one of "Ec2Instance", "LambdaFunction", "EbsVolume", "EcsService", "Ec2AutoScalingGroup", "Ec2InstanceSavingsPlans", "ComputeSavingsPlans", "SageMakerSavingsPlans", "Ec2ReservedInstances", "RdsReservedInstances", "OpenSearchReservedInstances", "RedshiftReservedInstances", "ElastiCacheReservedInstances", "RdsDbInstanceStorage", "RdsDbInstance", "DynamoDbReservedCapacity", "MemoryDbReservedInstances"
560
+ # resp.current_resource_type #=> String, one of "Ec2Instance", "LambdaFunction", "EbsVolume", "EcsService", "Ec2AutoScalingGroup", "Ec2InstanceSavingsPlans", "ComputeSavingsPlans", "SageMakerSavingsPlans", "Ec2ReservedInstances", "RdsReservedInstances", "OpenSearchReservedInstances", "RedshiftReservedInstances", "ElastiCacheReservedInstances", "RdsDbInstanceStorage", "RdsDbInstance", "AuroraDbClusterStorage", "DynamoDbReservedCapacity", "MemoryDbReservedInstances"
561
+ # resp.recommended_resource_type #=> String, one of "Ec2Instance", "LambdaFunction", "EbsVolume", "EcsService", "Ec2AutoScalingGroup", "Ec2InstanceSavingsPlans", "ComputeSavingsPlans", "SageMakerSavingsPlans", "Ec2ReservedInstances", "RdsReservedInstances", "OpenSearchReservedInstances", "RedshiftReservedInstances", "ElastiCacheReservedInstances", "RdsDbInstanceStorage", "RdsDbInstance", "AuroraDbClusterStorage", "DynamoDbReservedCapacity", "MemoryDbReservedInstances"
559
562
  # resp.region #=> String
560
563
  # resp.source #=> String, one of "ComputeOptimizer", "CostExplorer"
561
564
  # resp.last_refresh_timestamp #=> Time
@@ -790,6 +793,19 @@ module Aws::CostOptimizationHub
790
793
  # resp.current_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
791
794
  # resp.current_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
792
795
  # resp.current_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_cost_after_discounts #=> Float
796
+ # resp.current_resource_details.aurora_db_cluster_storage.configuration.storage_type #=> String
797
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages #=> Array
798
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].usage_type #=> String
799
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].usage_amount #=> Float
800
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].operation #=> String
801
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].product_code #=> String
802
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].unit #=> String
803
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_cost_before_discounts #=> Float
804
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_net_unused_amortized_commitments #=> Float
805
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.savings_plans_discount #=> Float
806
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
807
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
808
+ # resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_cost_after_discounts #=> Float
793
809
  # resp.current_resource_details.dynamo_db_reserved_capacity.configuration.account_scope #=> String
794
810
  # resp.current_resource_details.dynamo_db_reserved_capacity.configuration.service #=> String
795
811
  # resp.current_resource_details.dynamo_db_reserved_capacity.configuration.term #=> String
@@ -1045,6 +1061,19 @@ module Aws::CostOptimizationHub
1045
1061
  # resp.recommended_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
1046
1062
  # resp.recommended_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
1047
1063
  # resp.recommended_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_cost_after_discounts #=> Float
1064
+ # resp.recommended_resource_details.aurora_db_cluster_storage.configuration.storage_type #=> String
1065
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages #=> Array
1066
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].usage_type #=> String
1067
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].usage_amount #=> Float
1068
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].operation #=> String
1069
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].product_code #=> String
1070
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].unit #=> String
1071
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_cost_before_discounts #=> Float
1072
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_net_unused_amortized_commitments #=> Float
1073
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.savings_plans_discount #=> Float
1074
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
1075
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
1076
+ # resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_cost_after_discounts #=> Float
1048
1077
  # resp.recommended_resource_details.dynamo_db_reserved_capacity.configuration.account_scope #=> String
1049
1078
  # resp.recommended_resource_details.dynamo_db_reserved_capacity.configuration.service #=> String
1050
1079
  # resp.recommended_resource_details.dynamo_db_reserved_capacity.configuration.term #=> String
@@ -1186,7 +1215,7 @@ module Aws::CostOptimizationHub
1186
1215
  # implementation_efforts: ["VeryLow"], # accepts VeryLow, Low, Medium, High, VeryHigh
1187
1216
  # account_ids: ["AccountId"],
1188
1217
  # regions: ["String"],
1189
- # resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, DynamoDbReservedCapacity, MemoryDbReservedInstances
1218
+ # resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, AuroraDbClusterStorage, DynamoDbReservedCapacity, MemoryDbReservedInstances
1190
1219
  # action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton, Delete, ScaleIn
1191
1220
  # tags: [
1192
1221
  # {
@@ -1260,7 +1289,7 @@ module Aws::CostOptimizationHub
1260
1289
  # implementation_efforts: ["VeryLow"], # accepts VeryLow, Low, Medium, High, VeryHigh
1261
1290
  # account_ids: ["AccountId"],
1262
1291
  # regions: ["String"],
1263
- # resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, DynamoDbReservedCapacity, MemoryDbReservedInstances
1292
+ # resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, AuroraDbClusterStorage, DynamoDbReservedCapacity, MemoryDbReservedInstances
1264
1293
  # action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton, Delete, ScaleIn
1265
1294
  # tags: [
1266
1295
  # {
@@ -1371,22 +1400,34 @@ module Aws::CostOptimizationHub
1371
1400
  # @option params [String] :member_account_discount_visibility
1372
1401
  # Sets the "member account discount visibility" preference.
1373
1402
  #
1403
+ # @option params [Types::PreferredCommitment] :preferred_commitment
1404
+ # Sets the preferences for how Reserved Instances and Savings Plans
1405
+ # cost-saving opportunities are prioritized in terms of payment option
1406
+ # and term length.
1407
+ #
1374
1408
  # @return [Types::UpdatePreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1375
1409
  #
1376
1410
  # * {Types::UpdatePreferencesResponse#savings_estimation_mode #savings_estimation_mode} => String
1377
1411
  # * {Types::UpdatePreferencesResponse#member_account_discount_visibility #member_account_discount_visibility} => String
1412
+ # * {Types::UpdatePreferencesResponse#preferred_commitment #preferred_commitment} => Types::PreferredCommitment
1378
1413
  #
1379
1414
  # @example Request syntax with placeholder values
1380
1415
  #
1381
1416
  # resp = client.update_preferences({
1382
1417
  # savings_estimation_mode: "BeforeDiscounts", # accepts BeforeDiscounts, AfterDiscounts
1383
1418
  # member_account_discount_visibility: "All", # accepts All, None
1419
+ # preferred_commitment: {
1420
+ # term: "OneYear", # accepts OneYear, ThreeYears
1421
+ # payment_option: "AllUpfront", # accepts AllUpfront, PartialUpfront, NoUpfront
1422
+ # },
1384
1423
  # })
1385
1424
  #
1386
1425
  # @example Response structure
1387
1426
  #
1388
1427
  # resp.savings_estimation_mode #=> String, one of "BeforeDiscounts", "AfterDiscounts"
1389
1428
  # resp.member_account_discount_visibility #=> String, one of "All", "None"
1429
+ # resp.preferred_commitment.term #=> String, one of "OneYear", "ThreeYears"
1430
+ # resp.preferred_commitment.payment_option #=> String, one of "AllUpfront", "PartialUpfront", "NoUpfront"
1390
1431
  #
1391
1432
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/UpdatePreferences AWS API Documentation
1392
1433
  #
@@ -1415,7 +1456,7 @@ module Aws::CostOptimizationHub
1415
1456
  tracer: tracer
1416
1457
  )
1417
1458
  context[:gem_name] = 'aws-sdk-costoptimizationhub'
1418
- context[:gem_version] = '1.25.0'
1459
+ context[:gem_version] = '1.27.0'
1419
1460
  Seahorse::Client::Request.new(handlers, context)
1420
1461
  end
1421
1462
 
@@ -22,6 +22,8 @@ module Aws::CostOptimizationHub
22
22
  ActionType = Shapes::StringShape.new(name: 'ActionType')
23
23
  ActionTypeList = Shapes::ListShape.new(name: 'ActionTypeList')
24
24
  AllocationStrategy = Shapes::StringShape.new(name: 'AllocationStrategy')
25
+ AuroraDbClusterStorage = Shapes::StructureShape.new(name: 'AuroraDbClusterStorage')
26
+ AuroraDbClusterStorageConfiguration = Shapes::StructureShape.new(name: 'AuroraDbClusterStorageConfiguration')
25
27
  BlockStoragePerformanceConfiguration = Shapes::StructureShape.new(name: 'BlockStoragePerformanceConfiguration')
26
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
27
29
  ComputeConfiguration = Shapes::StructureShape.new(name: 'ComputeConfiguration')
@@ -79,6 +81,8 @@ module Aws::CostOptimizationHub
79
81
  OpenSearchReservedInstancesConfiguration = Shapes::StructureShape.new(name: 'OpenSearchReservedInstancesConfiguration')
80
82
  Order = Shapes::StringShape.new(name: 'Order')
81
83
  OrderBy = Shapes::StructureShape.new(name: 'OrderBy')
84
+ PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
85
+ PreferredCommitment = Shapes::StructureShape.new(name: 'PreferredCommitment')
82
86
  PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
83
87
  RdsDbInstance = Shapes::StructureShape.new(name: 'RdsDbInstance')
84
88
  RdsDbInstanceConfiguration = Shapes::StructureShape.new(name: 'RdsDbInstanceConfiguration')
@@ -117,6 +121,7 @@ module Aws::CostOptimizationHub
117
121
  SummaryMetricsResult = Shapes::StructureShape.new(name: 'SummaryMetricsResult')
118
122
  Tag = Shapes::StructureShape.new(name: 'Tag')
119
123
  TagList = Shapes::ListShape.new(name: 'TagList')
124
+ Term = Shapes::StringShape.new(name: 'Term')
120
125
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
121
126
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
122
127
  UpdateEnrollmentStatusRequest = Shapes::StructureShape.new(name: 'UpdateEnrollmentStatusRequest')
@@ -145,6 +150,13 @@ module Aws::CostOptimizationHub
145
150
 
146
151
  ActionTypeList.member = Shapes::ShapeRef.new(shape: ActionType)
147
152
 
153
+ AuroraDbClusterStorage.add_member(:configuration, Shapes::ShapeRef.new(shape: AuroraDbClusterStorageConfiguration, location_name: "configuration"))
154
+ AuroraDbClusterStorage.add_member(:cost_calculation, Shapes::ShapeRef.new(shape: ResourceCostCalculation, location_name: "costCalculation"))
155
+ AuroraDbClusterStorage.struct_class = Types::AuroraDbClusterStorage
156
+
157
+ AuroraDbClusterStorageConfiguration.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "storageType"))
158
+ AuroraDbClusterStorageConfiguration.struct_class = Types::AuroraDbClusterStorageConfiguration
159
+
148
160
  BlockStoragePerformanceConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: Double, location_name: "iops"))
149
161
  BlockStoragePerformanceConfiguration.add_member(:throughput, Shapes::ShapeRef.new(shape: Double, location_name: "throughput"))
150
162
  BlockStoragePerformanceConfiguration.struct_class = Types::BlockStoragePerformanceConfiguration
@@ -291,6 +303,7 @@ module Aws::CostOptimizationHub
291
303
 
292
304
  GetPreferencesResponse.add_member(:savings_estimation_mode, Shapes::ShapeRef.new(shape: SavingsEstimationMode, location_name: "savingsEstimationMode"))
293
305
  GetPreferencesResponse.add_member(:member_account_discount_visibility, Shapes::ShapeRef.new(shape: MemberAccountDiscountVisibility, location_name: "memberAccountDiscountVisibility"))
306
+ GetPreferencesResponse.add_member(:preferred_commitment, Shapes::ShapeRef.new(shape: PreferredCommitment, location_name: "preferredCommitment"))
294
307
  GetPreferencesResponse.struct_class = Types::GetPreferencesResponse
295
308
 
296
309
  GetRecommendationRequest.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "recommendationId"))
@@ -419,6 +432,10 @@ module Aws::CostOptimizationHub
419
432
  OrderBy.add_member(:order, Shapes::ShapeRef.new(shape: Order, location_name: "order"))
420
433
  OrderBy.struct_class = Types::OrderBy
421
434
 
435
+ PreferredCommitment.add_member(:term, Shapes::ShapeRef.new(shape: Term, location_name: "term"))
436
+ PreferredCommitment.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "paymentOption"))
437
+ PreferredCommitment.struct_class = Types::PreferredCommitment
438
+
422
439
  RdsDbInstance.add_member(:configuration, Shapes::ShapeRef.new(shape: RdsDbInstanceConfiguration, location_name: "configuration"))
423
440
  RdsDbInstance.add_member(:cost_calculation, Shapes::ShapeRef.new(shape: ResourceCostCalculation, location_name: "costCalculation"))
424
441
  RdsDbInstance.struct_class = Types::RdsDbInstance
@@ -544,6 +561,7 @@ module Aws::CostOptimizationHub
544
561
  ResourceDetails.add_member(:sage_maker_savings_plans, Shapes::ShapeRef.new(shape: SageMakerSavingsPlans, location_name: "sageMakerSavingsPlans"))
545
562
  ResourceDetails.add_member(:rds_db_instance, Shapes::ShapeRef.new(shape: RdsDbInstance, location_name: "rdsDbInstance"))
546
563
  ResourceDetails.add_member(:rds_db_instance_storage, Shapes::ShapeRef.new(shape: RdsDbInstanceStorage, location_name: "rdsDbInstanceStorage"))
564
+ ResourceDetails.add_member(:aurora_db_cluster_storage, Shapes::ShapeRef.new(shape: AuroraDbClusterStorage, location_name: "auroraDbClusterStorage"))
547
565
  ResourceDetails.add_member(:dynamo_db_reserved_capacity, Shapes::ShapeRef.new(shape: DynamoDbReservedCapacity, location_name: "dynamoDbReservedCapacity"))
548
566
  ResourceDetails.add_member(:memory_db_reserved_instances, Shapes::ShapeRef.new(shape: MemoryDbReservedInstances, location_name: "memoryDbReservedInstances"))
549
567
  ResourceDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -562,6 +580,7 @@ module Aws::CostOptimizationHub
562
580
  ResourceDetails.add_member_subclass(:sage_maker_savings_plans, Types::ResourceDetails::SageMakerSavingsPlans)
563
581
  ResourceDetails.add_member_subclass(:rds_db_instance, Types::ResourceDetails::RdsDbInstance)
564
582
  ResourceDetails.add_member_subclass(:rds_db_instance_storage, Types::ResourceDetails::RdsDbInstanceStorage)
583
+ ResourceDetails.add_member_subclass(:aurora_db_cluster_storage, Types::ResourceDetails::AuroraDbClusterStorage)
565
584
  ResourceDetails.add_member_subclass(:dynamo_db_reserved_capacity, Types::ResourceDetails::DynamoDbReservedCapacity)
566
585
  ResourceDetails.add_member_subclass(:memory_db_reserved_instances, Types::ResourceDetails::MemoryDbReservedInstances)
567
586
  ResourceDetails.add_member_subclass(:unknown, Types::ResourceDetails::Unknown)
@@ -627,10 +646,12 @@ module Aws::CostOptimizationHub
627
646
 
628
647
  UpdatePreferencesRequest.add_member(:savings_estimation_mode, Shapes::ShapeRef.new(shape: SavingsEstimationMode, location_name: "savingsEstimationMode"))
629
648
  UpdatePreferencesRequest.add_member(:member_account_discount_visibility, Shapes::ShapeRef.new(shape: MemberAccountDiscountVisibility, location_name: "memberAccountDiscountVisibility"))
649
+ UpdatePreferencesRequest.add_member(:preferred_commitment, Shapes::ShapeRef.new(shape: PreferredCommitment, location_name: "preferredCommitment"))
630
650
  UpdatePreferencesRequest.struct_class = Types::UpdatePreferencesRequest
631
651
 
632
652
  UpdatePreferencesResponse.add_member(:savings_estimation_mode, Shapes::ShapeRef.new(shape: SavingsEstimationMode, location_name: "savingsEstimationMode"))
633
653
  UpdatePreferencesResponse.add_member(:member_account_discount_visibility, Shapes::ShapeRef.new(shape: MemberAccountDiscountVisibility, location_name: "memberAccountDiscountVisibility"))
654
+ UpdatePreferencesResponse.add_member(:preferred_commitment, Shapes::ShapeRef.new(shape: PreferredCommitment, location_name: "preferredCommitment"))
634
655
  UpdatePreferencesResponse.struct_class = Types::UpdatePreferencesResponse
635
656
 
636
657
  Usage.add_member(:usage_type, Shapes::ShapeRef.new(shape: String, location_name: "usageType"))
@@ -54,6 +54,40 @@ module Aws::CostOptimizationHub
54
54
  include Aws::Structure
55
55
  end
56
56
 
57
+ # Contains the details of an Aurora DB cluster storage.
58
+ #
59
+ # @!attribute [rw] configuration
60
+ # The Aurora DB cluster storage configuration used for
61
+ # recommendations.
62
+ # @return [Types::AuroraDbClusterStorageConfiguration]
63
+ #
64
+ # @!attribute [rw] cost_calculation
65
+ # Cost impact of the resource recommendation.
66
+ # @return [Types::ResourceCostCalculation]
67
+ #
68
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/AuroraDbClusterStorage AWS API Documentation
69
+ #
70
+ class AuroraDbClusterStorage < Struct.new(
71
+ :configuration,
72
+ :cost_calculation)
73
+ SENSITIVE = []
74
+ include Aws::Structure
75
+ end
76
+
77
+ # The Aurora DB cluster storage configuration used for recommendations.
78
+ #
79
+ # @!attribute [rw] storage_type
80
+ # The storage type to associate with the Aurora DB cluster.
81
+ # @return [String]
82
+ #
83
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/AuroraDbClusterStorageConfiguration AWS API Documentation
84
+ #
85
+ class AuroraDbClusterStorageConfiguration < Struct.new(
86
+ :storage_type)
87
+ SENSITIVE = []
88
+ include Aws::Structure
89
+ end
90
+
57
91
  # Describes the Amazon Elastic Block Store performance configuration of
58
92
  # the current and recommended resource configuration for a
59
93
  # recommendation.
@@ -795,11 +829,18 @@ module Aws::CostOptimizationHub
795
829
  # preference.
796
830
  # @return [String]
797
831
  #
832
+ # @!attribute [rw] preferred_commitment
833
+ # Retrieves the current preferences for how Reserved Instances and
834
+ # Savings Plans cost-saving opportunities are prioritized in terms of
835
+ # payment option and term length.
836
+ # @return [Types::PreferredCommitment]
837
+ #
798
838
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/GetPreferencesResponse AWS API Documentation
799
839
  #
800
840
  class GetPreferencesResponse < Struct.new(
801
841
  :savings_estimation_mode,
802
- :member_account_discount_visibility)
842
+ :member_account_discount_visibility,
843
+ :preferred_commitment)
803
844
  SENSITIVE = []
804
845
  include Aws::Structure
805
846
  end
@@ -1184,8 +1225,9 @@ module Aws::CostOptimizationHub
1184
1225
 
1185
1226
  # The MemoryDB reserved instances recommendation details.
1186
1227
  #
1187
- # <note markdown="1"> MemoryDB reserved instances are referred to as "MemoryDB reserved
1188
- # nodes" in customer-facing documentation.
1228
+ # <note markdown="1"> While the API reference uses "MemoryDB reserved instances", the user
1229
+ # guide and other documentation refer to them as "MemoryDB reserved
1230
+ # nodes", as the terms are used interchangeably.
1189
1231
  #
1190
1232
  # </note>
1191
1233
  #
@@ -1210,8 +1252,9 @@ module Aws::CostOptimizationHub
1210
1252
  # The MemoryDB reserved instances configuration used for
1211
1253
  # recommendations.
1212
1254
  #
1213
- # <note markdown="1"> MemoryDB reserved instances are referred to as "MemoryDB reserved
1214
- # nodes" in customer-facing documentation.
1255
+ # <note markdown="1"> While the API reference uses "MemoryDB reserved instances", the user
1256
+ # guide and other documentation refer to them as "MemoryDB reserved
1257
+ # nodes", as the terms are used interchangeably.
1215
1258
  #
1216
1259
  # </note>
1217
1260
  #
@@ -1419,6 +1462,30 @@ module Aws::CostOptimizationHub
1419
1462
  include Aws::Structure
1420
1463
  end
1421
1464
 
1465
+ # The preferred configuration for Reserved Instances and Savings Plans
1466
+ # commitment-based discounts, consisting of a payment option and a
1467
+ # commitment duration.
1468
+ #
1469
+ # @!attribute [rw] term
1470
+ # The preferred length of the commitment period. If the value is null,
1471
+ # it will default to `ThreeYears` (highest savings) where applicable.
1472
+ # @return [String]
1473
+ #
1474
+ # @!attribute [rw] payment_option
1475
+ # The preferred upfront payment structure for commitments. If the
1476
+ # value is null, it will default to `AllUpfront` (highest savings)
1477
+ # where applicable.
1478
+ # @return [String]
1479
+ #
1480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/PreferredCommitment AWS API Documentation
1481
+ #
1482
+ class PreferredCommitment < Struct.new(
1483
+ :term,
1484
+ :payment_option)
1485
+ SENSITIVE = []
1486
+ include Aws::Structure
1487
+ end
1488
+
1422
1489
  # Contains the details of an Amazon RDS DB instance.
1423
1490
  #
1424
1491
  # @!attribute [rw] configuration
@@ -1993,6 +2060,10 @@ module Aws::CostOptimizationHub
1993
2060
  # The DB instance storage recommendation details.
1994
2061
  # @return [Types::RdsDbInstanceStorage]
1995
2062
  #
2063
+ # @!attribute [rw] aurora_db_cluster_storage
2064
+ # The Aurora DB cluster storage recommendation details.
2065
+ # @return [Types::AuroraDbClusterStorage]
2066
+ #
1996
2067
  # @!attribute [rw] dynamo_db_reserved_capacity
1997
2068
  # The DynamoDB reserved capacity recommendation details.
1998
2069
  # @return [Types::DynamoDbReservedCapacity]
@@ -2019,6 +2090,7 @@ module Aws::CostOptimizationHub
2019
2090
  :sage_maker_savings_plans,
2020
2091
  :rds_db_instance,
2021
2092
  :rds_db_instance_storage,
2093
+ :aurora_db_cluster_storage,
2022
2094
  :dynamo_db_reserved_capacity,
2023
2095
  :memory_db_reserved_instances,
2024
2096
  :unknown)
@@ -2041,6 +2113,7 @@ module Aws::CostOptimizationHub
2041
2113
  class SageMakerSavingsPlans < ResourceDetails; end
2042
2114
  class RdsDbInstance < ResourceDetails; end
2043
2115
  class RdsDbInstanceStorage < ResourceDetails; end
2116
+ class AuroraDbClusterStorage < ResourceDetails; end
2044
2117
  class DynamoDbReservedCapacity < ResourceDetails; end
2045
2118
  class MemoryDbReservedInstances < ResourceDetails; end
2046
2119
  class Unknown < ResourceDetails; end
@@ -2299,11 +2372,18 @@ module Aws::CostOptimizationHub
2299
2372
  # Sets the "member account discount visibility" preference.
2300
2373
  # @return [String]
2301
2374
  #
2375
+ # @!attribute [rw] preferred_commitment
2376
+ # Sets the preferences for how Reserved Instances and Savings Plans
2377
+ # cost-saving opportunities are prioritized in terms of payment option
2378
+ # and term length.
2379
+ # @return [Types::PreferredCommitment]
2380
+ #
2302
2381
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/UpdatePreferencesRequest AWS API Documentation
2303
2382
  #
2304
2383
  class UpdatePreferencesRequest < Struct.new(
2305
2384
  :savings_estimation_mode,
2306
- :member_account_discount_visibility)
2385
+ :member_account_discount_visibility,
2386
+ :preferred_commitment)
2307
2387
  SENSITIVE = []
2308
2388
  include Aws::Structure
2309
2389
  end
@@ -2317,11 +2397,18 @@ module Aws::CostOptimizationHub
2317
2397
  # preference.
2318
2398
  # @return [String]
2319
2399
  #
2400
+ # @!attribute [rw] preferred_commitment
2401
+ # Shows the updated preferences for how Reserved Instances and Savings
2402
+ # Plans cost-saving opportunities are prioritized in terms of payment
2403
+ # option and term length.
2404
+ # @return [Types::PreferredCommitment]
2405
+ #
2320
2406
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/UpdatePreferencesResponse AWS API Documentation
2321
2407
  #
2322
2408
  class UpdatePreferencesResponse < Struct.new(
2323
2409
  :savings_estimation_mode,
2324
- :member_account_discount_visibility)
2410
+ :member_account_discount_visibility,
2411
+ :preferred_commitment)
2325
2412
  SENSITIVE = []
2326
2413
  include Aws::Structure
2327
2414
  end
@@ -55,7 +55,7 @@ module Aws::CostOptimizationHub
55
55
  autoload :EndpointProvider, 'aws-sdk-costoptimizationhub/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-costoptimizationhub/endpoints'
57
57
 
58
- GEM_VERSION = '1.25.0'
58
+ GEM_VERSION = '1.27.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -82,6 +82,7 @@ module Aws
82
82
  include ::Seahorse::Client::_ResponseSuccess[Types::GetPreferencesResponse]
83
83
  def savings_estimation_mode: () -> ("BeforeDiscounts" | "AfterDiscounts")
84
84
  def member_account_discount_visibility: () -> ("All" | "None")
85
+ def preferred_commitment: () -> Types::PreferredCommitment
85
86
  end
86
87
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostOptimizationHub/Client.html#get_preferences-instance_method
87
88
  def get_preferences: (
@@ -99,8 +100,8 @@ module Aws
99
100
  def cost_calculation_lookback_period_in_days: () -> ::Integer
100
101
  def estimated_savings_percentage: () -> ::Float
101
102
  def estimated_savings_over_cost_calculation_lookback_period: () -> ::Float
102
- def current_resource_type: () -> ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
103
- def recommended_resource_type: () -> ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
103
+ def current_resource_type: () -> ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
104
+ def recommended_resource_type: () -> ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
104
105
  def region: () -> ::String
105
106
  def source: () -> ("ComputeOptimizer" | "CostExplorer")
106
107
  def last_refresh_timestamp: () -> ::Time
@@ -152,7 +153,7 @@ module Aws
152
153
  implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
153
154
  account_ids: Array[::String]?,
154
155
  regions: Array[::String]?,
155
- resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]?,
156
+ resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]?,
156
157
  action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
157
158
  tags: Array[
158
159
  {
@@ -184,7 +185,7 @@ module Aws
184
185
  implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
185
186
  account_ids: Array[::String]?,
186
187
  regions: Array[::String]?,
187
- resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]?,
188
+ resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]?,
188
189
  action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
189
190
  tags: Array[
190
191
  {
@@ -221,11 +222,16 @@ module Aws
221
222
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePreferencesResponse]
222
223
  def savings_estimation_mode: () -> ("BeforeDiscounts" | "AfterDiscounts")
223
224
  def member_account_discount_visibility: () -> ("All" | "None")
225
+ def preferred_commitment: () -> Types::PreferredCommitment
224
226
  end
225
227
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostOptimizationHub/Client.html#update_preferences-instance_method
226
228
  def update_preferences: (
227
229
  ?savings_estimation_mode: ("BeforeDiscounts" | "AfterDiscounts"),
228
- ?member_account_discount_visibility: ("All" | "None")
230
+ ?member_account_discount_visibility: ("All" | "None"),
231
+ ?preferred_commitment: {
232
+ term: ("OneYear" | "ThreeYears")?,
233
+ payment_option: ("AllUpfront" | "PartialUpfront" | "NoUpfront")?
234
+ }
229
235
  ) -> _UpdatePreferencesResponseSuccess
230
236
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePreferencesResponseSuccess
231
237
  end
data/sig/types.rbs CHANGED
@@ -21,6 +21,17 @@ module Aws::CostOptimizationHub
21
21
  SENSITIVE: []
22
22
  end
23
23
 
24
+ class AuroraDbClusterStorage
25
+ attr_accessor configuration: Types::AuroraDbClusterStorageConfiguration
26
+ attr_accessor cost_calculation: Types::ResourceCostCalculation
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class AuroraDbClusterStorageConfiguration
31
+ attr_accessor storage_type: ::String
32
+ SENSITIVE: []
33
+ end
34
+
24
35
  class BlockStoragePerformanceConfiguration
25
36
  attr_accessor iops: ::Float
26
37
  attr_accessor throughput: ::Float
@@ -200,7 +211,7 @@ module Aws::CostOptimizationHub
200
211
  attr_accessor implementation_efforts: ::Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]
201
212
  attr_accessor account_ids: ::Array[::String]
202
213
  attr_accessor regions: ::Array[::String]
203
- attr_accessor resource_types: ::Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]
214
+ attr_accessor resource_types: ::Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]
204
215
  attr_accessor action_types: ::Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]
205
216
  attr_accessor tags: ::Array[Types::Tag]
206
217
  attr_accessor resource_ids: ::Array[::String]
@@ -215,6 +226,7 @@ module Aws::CostOptimizationHub
215
226
  class GetPreferencesResponse
216
227
  attr_accessor savings_estimation_mode: ("BeforeDiscounts" | "AfterDiscounts")
217
228
  attr_accessor member_account_discount_visibility: ("All" | "None")
229
+ attr_accessor preferred_commitment: Types::PreferredCommitment
218
230
  SENSITIVE: []
219
231
  end
220
232
 
@@ -233,8 +245,8 @@ module Aws::CostOptimizationHub
233
245
  attr_accessor cost_calculation_lookback_period_in_days: ::Integer
234
246
  attr_accessor estimated_savings_percentage: ::Float
235
247
  attr_accessor estimated_savings_over_cost_calculation_lookback_period: ::Float
236
- attr_accessor current_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
237
- attr_accessor recommended_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
248
+ attr_accessor current_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
249
+ attr_accessor recommended_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
238
250
  attr_accessor region: ::String
239
251
  attr_accessor source: ("ComputeOptimizer" | "CostExplorer")
240
252
  attr_accessor last_refresh_timestamp: ::Time
@@ -376,6 +388,12 @@ module Aws::CostOptimizationHub
376
388
  SENSITIVE: []
377
389
  end
378
390
 
391
+ class PreferredCommitment
392
+ attr_accessor term: ("OneYear" | "ThreeYears")
393
+ attr_accessor payment_option: ("AllUpfront" | "PartialUpfront" | "NoUpfront")
394
+ SENSITIVE: []
395
+ end
396
+
379
397
  class RdsDbInstance
380
398
  attr_accessor configuration: Types::RdsDbInstanceConfiguration
381
399
  attr_accessor cost_calculation: Types::ResourceCostCalculation
@@ -518,6 +536,7 @@ module Aws::CostOptimizationHub
518
536
  attr_accessor sage_maker_savings_plans: Types::SageMakerSavingsPlans
519
537
  attr_accessor rds_db_instance: Types::RdsDbInstance
520
538
  attr_accessor rds_db_instance_storage: Types::RdsDbInstanceStorage
539
+ attr_accessor aurora_db_cluster_storage: Types::AuroraDbClusterStorage
521
540
  attr_accessor dynamo_db_reserved_capacity: Types::DynamoDbReservedCapacity
522
541
  attr_accessor memory_db_reserved_instances: Types::MemoryDbReservedInstances
523
542
  attr_accessor unknown: untyped
@@ -553,6 +572,8 @@ module Aws::CostOptimizationHub
553
572
  end
554
573
  class RdsDbInstanceStorage < ResourceDetails
555
574
  end
575
+ class AuroraDbClusterStorage < ResourceDetails
576
+ end
556
577
  class DynamoDbReservedCapacity < ResourceDetails
557
578
  end
558
579
  class MemoryDbReservedInstances < ResourceDetails
@@ -638,12 +659,14 @@ module Aws::CostOptimizationHub
638
659
  class UpdatePreferencesRequest
639
660
  attr_accessor savings_estimation_mode: ("BeforeDiscounts" | "AfterDiscounts")
640
661
  attr_accessor member_account_discount_visibility: ("All" | "None")
662
+ attr_accessor preferred_commitment: Types::PreferredCommitment
641
663
  SENSITIVE: []
642
664
  end
643
665
 
644
666
  class UpdatePreferencesResponse
645
667
  attr_accessor savings_estimation_mode: ("BeforeDiscounts" | "AfterDiscounts")
646
668
  attr_accessor member_account_discount_visibility: ("All" | "None")
669
+ attr_accessor preferred_commitment: Types::PreferredCommitment
647
670
  SENSITIVE: []
648
671
  end
649
672
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-costoptimizationhub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.216.0
21
+ version: 3.225.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.216.0
31
+ version: 3.225.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: '2.5'
87
+ version: '2.7'
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - ">="