aws-sdk-costoptimizationhub 1.35.0 → 1.37.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: ede5c1c6502491a0b9ce395faff4c101b135083f20607368a1425520b54b0e90
4
- data.tar.gz: 6939651877ccb6815920b923e298159cb82e8c05c2ee529b51c4f9b93950c2ae
3
+ metadata.gz: 1957fc274f3b664bf7d25df347b25b080cbb6dfabcb187688f50a16a69630444
4
+ data.tar.gz: ea232b1f7eafe7d3930838be4bf376b8b0c2ea46fd9732ee6a95276ba1090729
5
5
  SHA512:
6
- metadata.gz: 721696b6e0b199e5a38a94e327053b71f9e550833b26a17430ac693e6de92dd7cd435da61dbae3414da4902482b09ee39cfe02ca77cff4dd5d1e17e863b1432c
7
- data.tar.gz: 51f97a055d51f30d3e9a65c5a517477d977e89d1b35e14d6483b80bb7dba956b0585888e801f871e2f0916bb429e43b33f0256b93c6240e9128cfe32f3f39ddd
6
+ metadata.gz: 343cfebcc4848f1feba1ec380d8bc87d9ae3a48a5da3040dd7c28eed0bd65177649c57b0b40af7c9e4a4a8429d1bcce82da10298fe79b5c18bed9a073f1fb5a7
7
+ data.tar.gz: ff51c574c5bc7c034697f052415898c74cb107fa517ec414d06e57ae95dc38bdab5816a87aec29d4d8529e488e1614c055827f2fd0c1af684151389be9e7013a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2025-11-26)
5
+ ------------------
6
+
7
+ * Feature - This release enables AWS Cost Optimization Hub to show cost optimization recommendations for NAT Gateway.
8
+
9
+ 1.36.0 (2025-11-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.35.0 (2025-11-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.37.0
@@ -564,8 +564,8 @@ module Aws::CostOptimizationHub
564
564
  # resp.cost_calculation_lookback_period_in_days #=> Integer
565
565
  # resp.estimated_savings_percentage #=> Float
566
566
  # resp.estimated_savings_over_cost_calculation_lookback_period #=> Float
567
- # 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"
568
- # 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"
567
+ # 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", "NatGateway"
568
+ # 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", "NatGateway"
569
569
  # resp.region #=> String
570
570
  # resp.source #=> String, one of "ComputeOptimizer", "CostExplorer"
571
571
  # resp.last_refresh_timestamp #=> Time
@@ -843,6 +843,21 @@ module Aws::CostOptimizationHub
843
843
  # resp.current_resource_details.memory_db_reserved_instances.cost_calculation.pricing.monthly_reservation_eligible_cost #=> Float
844
844
  # resp.current_resource_details.memory_db_reserved_instances.cost_calculation.pricing.savings_percentage #=> Float
845
845
  # resp.current_resource_details.memory_db_reserved_instances.cost_calculation.pricing.estimated_monthly_amortized_reservation_cost #=> Float
846
+ # resp.current_resource_details.nat_gateway.configuration.active_connection_count #=> Integer
847
+ # resp.current_resource_details.nat_gateway.configuration.packets_in_from_source #=> Integer
848
+ # resp.current_resource_details.nat_gateway.configuration.packets_in_from_destination #=> Integer
849
+ # resp.current_resource_details.nat_gateway.cost_calculation.usages #=> Array
850
+ # resp.current_resource_details.nat_gateway.cost_calculation.usages[0].usage_type #=> String
851
+ # resp.current_resource_details.nat_gateway.cost_calculation.usages[0].usage_amount #=> Float
852
+ # resp.current_resource_details.nat_gateway.cost_calculation.usages[0].operation #=> String
853
+ # resp.current_resource_details.nat_gateway.cost_calculation.usages[0].product_code #=> String
854
+ # resp.current_resource_details.nat_gateway.cost_calculation.usages[0].unit #=> String
855
+ # resp.current_resource_details.nat_gateway.cost_calculation.pricing.estimated_cost_before_discounts #=> Float
856
+ # resp.current_resource_details.nat_gateway.cost_calculation.pricing.estimated_net_unused_amortized_commitments #=> Float
857
+ # resp.current_resource_details.nat_gateway.cost_calculation.pricing.estimated_discounts.savings_plans_discount #=> Float
858
+ # resp.current_resource_details.nat_gateway.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
859
+ # resp.current_resource_details.nat_gateway.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
860
+ # resp.current_resource_details.nat_gateway.cost_calculation.pricing.estimated_cost_after_discounts #=> Float
846
861
  # resp.recommended_resource_details.lambda_function.configuration.compute.v_cpu #=> Float
847
862
  # resp.recommended_resource_details.lambda_function.configuration.compute.memory_size_in_mb #=> Integer
848
863
  # resp.recommended_resource_details.lambda_function.configuration.compute.architecture #=> String
@@ -1111,6 +1126,21 @@ module Aws::CostOptimizationHub
1111
1126
  # resp.recommended_resource_details.memory_db_reserved_instances.cost_calculation.pricing.monthly_reservation_eligible_cost #=> Float
1112
1127
  # resp.recommended_resource_details.memory_db_reserved_instances.cost_calculation.pricing.savings_percentage #=> Float
1113
1128
  # resp.recommended_resource_details.memory_db_reserved_instances.cost_calculation.pricing.estimated_monthly_amortized_reservation_cost #=> Float
1129
+ # resp.recommended_resource_details.nat_gateway.configuration.active_connection_count #=> Integer
1130
+ # resp.recommended_resource_details.nat_gateway.configuration.packets_in_from_source #=> Integer
1131
+ # resp.recommended_resource_details.nat_gateway.configuration.packets_in_from_destination #=> Integer
1132
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.usages #=> Array
1133
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.usages[0].usage_type #=> String
1134
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.usages[0].usage_amount #=> Float
1135
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.usages[0].operation #=> String
1136
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.usages[0].product_code #=> String
1137
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.usages[0].unit #=> String
1138
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.pricing.estimated_cost_before_discounts #=> Float
1139
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.pricing.estimated_net_unused_amortized_commitments #=> Float
1140
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.pricing.estimated_discounts.savings_plans_discount #=> Float
1141
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
1142
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
1143
+ # resp.recommended_resource_details.nat_gateway.cost_calculation.pricing.estimated_cost_after_discounts #=> Float
1114
1144
  # resp.tags #=> Array
1115
1145
  # resp.tags[0].key #=> String
1116
1146
  # resp.tags[0].value #=> String
@@ -1310,7 +1340,7 @@ module Aws::CostOptimizationHub
1310
1340
  # implementation_efforts: ["VeryLow"], # accepts VeryLow, Low, Medium, High, VeryHigh
1311
1341
  # account_ids: ["AccountId"],
1312
1342
  # regions: ["String"],
1313
- # resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, AuroraDbClusterStorage, DynamoDbReservedCapacity, MemoryDbReservedInstances
1343
+ # resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, AuroraDbClusterStorage, DynamoDbReservedCapacity, MemoryDbReservedInstances, NatGateway
1314
1344
  # action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton, Delete, ScaleIn
1315
1345
  # tags: [
1316
1346
  # {
@@ -1384,7 +1414,7 @@ module Aws::CostOptimizationHub
1384
1414
  # implementation_efforts: ["VeryLow"], # accepts VeryLow, Low, Medium, High, VeryHigh
1385
1415
  # account_ids: ["AccountId"],
1386
1416
  # regions: ["String"],
1387
- # resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, AuroraDbClusterStorage, DynamoDbReservedCapacity, MemoryDbReservedInstances
1417
+ # resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, AuroraDbClusterStorage, DynamoDbReservedCapacity, MemoryDbReservedInstances, NatGateway
1388
1418
  # action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton, Delete, ScaleIn
1389
1419
  # tags: [
1390
1420
  # {
@@ -1550,7 +1580,7 @@ module Aws::CostOptimizationHub
1550
1580
  tracer: tracer
1551
1581
  )
1552
1582
  context[:gem_name] = 'aws-sdk-costoptimizationhub'
1553
- context[:gem_version] = '1.35.0'
1583
+ context[:gem_version] = '1.37.0'
1554
1584
  Seahorse::Client::Request.new(handlers, context)
1555
1585
  end
1556
1586
 
@@ -77,6 +77,7 @@ module Aws::CostOptimizationHub
77
77
  ListRecommendationsRequest = Shapes::StructureShape.new(name: 'ListRecommendationsRequest')
78
78
  ListRecommendationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRecommendationsRequestMaxResultsInteger')
79
79
  ListRecommendationsResponse = Shapes::StructureShape.new(name: 'ListRecommendationsResponse')
80
+ Long = Shapes::IntegerShape.new(name: 'Long')
80
81
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
81
82
  MemberAccountDiscountVisibility = Shapes::StringShape.new(name: 'MemberAccountDiscountVisibility')
82
83
  MemoryDbReservedInstances = Shapes::StructureShape.new(name: 'MemoryDbReservedInstances')
@@ -85,6 +86,8 @@ module Aws::CostOptimizationHub
85
86
  MetricsByTimeList = Shapes::ListShape.new(name: 'MetricsByTimeList')
86
87
  MixedInstanceConfiguration = Shapes::StructureShape.new(name: 'MixedInstanceConfiguration')
87
88
  MixedInstanceConfigurationList = Shapes::ListShape.new(name: 'MixedInstanceConfigurationList')
89
+ NatGateway = Shapes::StructureShape.new(name: 'NatGateway')
90
+ NatGatewayConfiguration = Shapes::StructureShape.new(name: 'NatGatewayConfiguration')
88
91
  OpenSearchReservedInstances = Shapes::StructureShape.new(name: 'OpenSearchReservedInstances')
89
92
  OpenSearchReservedInstancesConfiguration = Shapes::StructureShape.new(name: 'OpenSearchReservedInstancesConfiguration')
90
93
  Order = Shapes::StringShape.new(name: 'Order')
@@ -446,6 +449,15 @@ module Aws::CostOptimizationHub
446
449
 
447
450
  MixedInstanceConfigurationList.member = Shapes::ShapeRef.new(shape: MixedInstanceConfiguration)
448
451
 
452
+ NatGateway.add_member(:configuration, Shapes::ShapeRef.new(shape: NatGatewayConfiguration, location_name: "configuration"))
453
+ NatGateway.add_member(:cost_calculation, Shapes::ShapeRef.new(shape: ResourceCostCalculation, location_name: "costCalculation"))
454
+ NatGateway.struct_class = Types::NatGateway
455
+
456
+ NatGatewayConfiguration.add_member(:active_connection_count, Shapes::ShapeRef.new(shape: Long, location_name: "activeConnectionCount"))
457
+ NatGatewayConfiguration.add_member(:packets_in_from_source, Shapes::ShapeRef.new(shape: Long, location_name: "packetsInFromSource"))
458
+ NatGatewayConfiguration.add_member(:packets_in_from_destination, Shapes::ShapeRef.new(shape: Long, location_name: "packetsInFromDestination"))
459
+ NatGatewayConfiguration.struct_class = Types::NatGatewayConfiguration
460
+
449
461
  OpenSearchReservedInstances.add_member(:configuration, Shapes::ShapeRef.new(shape: OpenSearchReservedInstancesConfiguration, location_name: "configuration"))
450
462
  OpenSearchReservedInstances.add_member(:cost_calculation, Shapes::ShapeRef.new(shape: ReservedInstancesCostCalculation, location_name: "costCalculation"))
451
463
  OpenSearchReservedInstances.struct_class = Types::OpenSearchReservedInstances
@@ -600,6 +612,7 @@ module Aws::CostOptimizationHub
600
612
  ResourceDetails.add_member(:aurora_db_cluster_storage, Shapes::ShapeRef.new(shape: AuroraDbClusterStorage, location_name: "auroraDbClusterStorage"))
601
613
  ResourceDetails.add_member(:dynamo_db_reserved_capacity, Shapes::ShapeRef.new(shape: DynamoDbReservedCapacity, location_name: "dynamoDbReservedCapacity"))
602
614
  ResourceDetails.add_member(:memory_db_reserved_instances, Shapes::ShapeRef.new(shape: MemoryDbReservedInstances, location_name: "memoryDbReservedInstances"))
615
+ ResourceDetails.add_member(:nat_gateway, Shapes::ShapeRef.new(shape: NatGateway, location_name: "natGateway"))
603
616
  ResourceDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
604
617
  ResourceDetails.add_member_subclass(:lambda_function, Types::ResourceDetails::LambdaFunction)
605
618
  ResourceDetails.add_member_subclass(:ecs_service, Types::ResourceDetails::EcsService)
@@ -619,6 +632,7 @@ module Aws::CostOptimizationHub
619
632
  ResourceDetails.add_member_subclass(:aurora_db_cluster_storage, Types::ResourceDetails::AuroraDbClusterStorage)
620
633
  ResourceDetails.add_member_subclass(:dynamo_db_reserved_capacity, Types::ResourceDetails::DynamoDbReservedCapacity)
621
634
  ResourceDetails.add_member_subclass(:memory_db_reserved_instances, Types::ResourceDetails::MemoryDbReservedInstances)
635
+ ResourceDetails.add_member_subclass(:nat_gateway, Types::ResourceDetails::NatGateway)
622
636
  ResourceDetails.add_member_subclass(:unknown, Types::ResourceDetails::Unknown)
623
637
  ResourceDetails.struct_class = Types::ResourceDetails
624
638
 
@@ -1496,6 +1496,51 @@ module Aws::CostOptimizationHub
1496
1496
  include Aws::Structure
1497
1497
  end
1498
1498
 
1499
+ # The NAT Gateway recommendation details.
1500
+ #
1501
+ # @!attribute [rw] configuration
1502
+ # The NAT Gateway configuration used for recommendations.
1503
+ # @return [Types::NatGatewayConfiguration]
1504
+ #
1505
+ # @!attribute [rw] cost_calculation
1506
+ # Cost impact of the resource recommendation.
1507
+ # @return [Types::ResourceCostCalculation]
1508
+ #
1509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/NatGateway AWS API Documentation
1510
+ #
1511
+ class NatGateway < Struct.new(
1512
+ :configuration,
1513
+ :cost_calculation)
1514
+ SENSITIVE = []
1515
+ include Aws::Structure
1516
+ end
1517
+
1518
+ # The NAT Gateway configuration used for recommendations.
1519
+ #
1520
+ # @!attribute [rw] active_connection_count
1521
+ # The number of active connections through the NAT Gateway.
1522
+ # @return [Integer]
1523
+ #
1524
+ # @!attribute [rw] packets_in_from_source
1525
+ # The number of packets received from the source through the NAT
1526
+ # Gateway.
1527
+ # @return [Integer]
1528
+ #
1529
+ # @!attribute [rw] packets_in_from_destination
1530
+ # The number of packets received from the destination through the NAT
1531
+ # Gateway.
1532
+ # @return [Integer]
1533
+ #
1534
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/NatGatewayConfiguration AWS API Documentation
1535
+ #
1536
+ class NatGatewayConfiguration < Struct.new(
1537
+ :active_connection_count,
1538
+ :packets_in_from_source,
1539
+ :packets_in_from_destination)
1540
+ SENSITIVE = []
1541
+ include Aws::Structure
1542
+ end
1543
+
1499
1544
  # The OpenSearch reserved instances recommendation details.
1500
1545
  #
1501
1546
  # @!attribute [rw] configuration
@@ -2219,6 +2264,10 @@ module Aws::CostOptimizationHub
2219
2264
  # The MemoryDB reserved instances recommendation details.
2220
2265
  # @return [Types::MemoryDbReservedInstances]
2221
2266
  #
2267
+ # @!attribute [rw] nat_gateway
2268
+ # The NAT Gateway recommendation details.
2269
+ # @return [Types::NatGateway]
2270
+ #
2222
2271
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ResourceDetails AWS API Documentation
2223
2272
  #
2224
2273
  class ResourceDetails < Struct.new(
@@ -2240,6 +2289,7 @@ module Aws::CostOptimizationHub
2240
2289
  :aurora_db_cluster_storage,
2241
2290
  :dynamo_db_reserved_capacity,
2242
2291
  :memory_db_reserved_instances,
2292
+ :nat_gateway,
2243
2293
  :unknown)
2244
2294
  SENSITIVE = []
2245
2295
  include Aws::Structure
@@ -2263,6 +2313,7 @@ module Aws::CostOptimizationHub
2263
2313
  class AuroraDbClusterStorage < ResourceDetails; end
2264
2314
  class DynamoDbReservedCapacity < ResourceDetails; end
2265
2315
  class MemoryDbReservedInstances < ResourceDetails; end
2316
+ class NatGateway < ResourceDetails; end
2266
2317
  class Unknown < ResourceDetails; end
2267
2318
  end
2268
2319
 
@@ -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.35.0'
58
+ GEM_VERSION = '1.37.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -101,8 +101,8 @@ module Aws
101
101
  def cost_calculation_lookback_period_in_days: () -> ::Integer
102
102
  def estimated_savings_percentage: () -> ::Float
103
103
  def estimated_savings_over_cost_calculation_lookback_period: () -> ::Float
104
- def current_resource_type: () -> ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
105
- def recommended_resource_type: () -> ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
104
+ def current_resource_type: () -> ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances" | "NatGateway")
105
+ def recommended_resource_type: () -> ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances" | "NatGateway")
106
106
  def region: () -> ::String
107
107
  def source: () -> ("ComputeOptimizer" | "CostExplorer")
108
108
  def last_refresh_timestamp: () -> ::Time
@@ -176,7 +176,7 @@ module Aws
176
176
  implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
177
177
  account_ids: Array[::String]?,
178
178
  regions: Array[::String]?,
179
- resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]?,
179
+ resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances" | "NatGateway")]?,
180
180
  action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
181
181
  tags: Array[
182
182
  {
@@ -208,7 +208,7 @@ module Aws
208
208
  implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
209
209
  account_ids: Array[::String]?,
210
210
  regions: Array[::String]?,
211
- resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]?,
211
+ resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances" | "NatGateway")]?,
212
212
  action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
213
213
  tags: Array[
214
214
  {
data/sig/types.rbs CHANGED
@@ -218,7 +218,7 @@ module Aws::CostOptimizationHub
218
218
  attr_accessor implementation_efforts: ::Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]
219
219
  attr_accessor account_ids: ::Array[::String]
220
220
  attr_accessor regions: ::Array[::String]
221
- attr_accessor resource_types: ::Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]
221
+ attr_accessor resource_types: ::Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances" | "NatGateway")]
222
222
  attr_accessor action_types: ::Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]
223
223
  attr_accessor tags: ::Array[Types::Tag]
224
224
  attr_accessor resource_ids: ::Array[::String]
@@ -252,8 +252,8 @@ module Aws::CostOptimizationHub
252
252
  attr_accessor cost_calculation_lookback_period_in_days: ::Integer
253
253
  attr_accessor estimated_savings_percentage: ::Float
254
254
  attr_accessor estimated_savings_over_cost_calculation_lookback_period: ::Float
255
- attr_accessor current_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
256
- attr_accessor recommended_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
255
+ attr_accessor current_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances" | "NatGateway")
256
+ attr_accessor recommended_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances" | "NatGateway")
257
257
  attr_accessor region: ::String
258
258
  attr_accessor source: ("ComputeOptimizer" | "CostExplorer")
259
259
  attr_accessor last_refresh_timestamp: ::Time
@@ -391,6 +391,19 @@ module Aws::CostOptimizationHub
391
391
  SENSITIVE: []
392
392
  end
393
393
 
394
+ class NatGateway
395
+ attr_accessor configuration: Types::NatGatewayConfiguration
396
+ attr_accessor cost_calculation: Types::ResourceCostCalculation
397
+ SENSITIVE: []
398
+ end
399
+
400
+ class NatGatewayConfiguration
401
+ attr_accessor active_connection_count: ::Integer
402
+ attr_accessor packets_in_from_source: ::Integer
403
+ attr_accessor packets_in_from_destination: ::Integer
404
+ SENSITIVE: []
405
+ end
406
+
394
407
  class OpenSearchReservedInstances
395
408
  attr_accessor configuration: Types::OpenSearchReservedInstancesConfiguration
396
409
  attr_accessor cost_calculation: Types::ReservedInstancesCostCalculation
@@ -570,6 +583,7 @@ module Aws::CostOptimizationHub
570
583
  attr_accessor aurora_db_cluster_storage: Types::AuroraDbClusterStorage
571
584
  attr_accessor dynamo_db_reserved_capacity: Types::DynamoDbReservedCapacity
572
585
  attr_accessor memory_db_reserved_instances: Types::MemoryDbReservedInstances
586
+ attr_accessor nat_gateway: Types::NatGateway
573
587
  attr_accessor unknown: untyped
574
588
  SENSITIVE: []
575
589
 
@@ -609,6 +623,8 @@ module Aws::CostOptimizationHub
609
623
  end
610
624
  class MemoryDbReservedInstances < ResourceDetails
611
625
  end
626
+ class NatGateway < ResourceDetails
627
+ end
612
628
  class Unknown < ResourceDetails
613
629
  end
614
630
  end
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.35.0
4
+ version: 1.37.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.234.0
21
+ version: 3.239.1
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.234.0
31
+ version: 3.239.1
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement