aws-sdk-costoptimizationhub 1.26.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costoptimizationhub/client.rb +31 -5
- data/lib/aws-sdk-costoptimizationhub/client_api.rb +11 -0
- data/lib/aws-sdk-costoptimizationhub/types.rb +40 -0
- data/lib/aws-sdk-costoptimizationhub.rb +1 -1
- data/sig/client.rbs +4 -4
- data/sig/types.rbs +17 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 392ee4d85bd1438132924dd50acf240f14c6a04f861b3587a2cc09d4c8bdc1af
|
4
|
+
data.tar.gz: cadf0cbd2cf410a6a49536f2125d0879644e728361bc80eb2e754067640906fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e9d613e07ca9d6bf2b93b033a6d7a07f653a6ae4ae94015ad4af56283dcaa71e41431a63929fa70bf6ff864198736138fce374f1b8966312ba2897be66f6fb5
|
7
|
+
data.tar.gz: 1a588409d815d73cf9f1a5fd83ded1369446c0a08bca7990482d48f57efae7d35f57888ac4507aba57b9cd4025cae2ea6ef897c78204b81c02244f3607589dc9
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.27.0
|
@@ -557,8 +557,8 @@ module Aws::CostOptimizationHub
|
|
557
557
|
# resp.cost_calculation_lookback_period_in_days #=> Integer
|
558
558
|
# resp.estimated_savings_percentage #=> Float
|
559
559
|
# resp.estimated_savings_over_cost_calculation_lookback_period #=> Float
|
560
|
-
# resp.current_resource_type #=> String, one of "Ec2Instance", "LambdaFunction", "EbsVolume", "EcsService", "Ec2AutoScalingGroup", "Ec2InstanceSavingsPlans", "ComputeSavingsPlans", "SageMakerSavingsPlans", "Ec2ReservedInstances", "RdsReservedInstances", "OpenSearchReservedInstances", "RedshiftReservedInstances", "ElastiCacheReservedInstances", "RdsDbInstanceStorage", "RdsDbInstance", "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", "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"
|
562
562
|
# resp.region #=> String
|
563
563
|
# resp.source #=> String, one of "ComputeOptimizer", "CostExplorer"
|
564
564
|
# resp.last_refresh_timestamp #=> Time
|
@@ -793,6 +793,19 @@ module Aws::CostOptimizationHub
|
|
793
793
|
# resp.current_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
|
794
794
|
# resp.current_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
|
795
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
|
796
809
|
# resp.current_resource_details.dynamo_db_reserved_capacity.configuration.account_scope #=> String
|
797
810
|
# resp.current_resource_details.dynamo_db_reserved_capacity.configuration.service #=> String
|
798
811
|
# resp.current_resource_details.dynamo_db_reserved_capacity.configuration.term #=> String
|
@@ -1048,6 +1061,19 @@ module Aws::CostOptimizationHub
|
|
1048
1061
|
# resp.recommended_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
|
1049
1062
|
# resp.recommended_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
|
1050
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
|
1051
1077
|
# resp.recommended_resource_details.dynamo_db_reserved_capacity.configuration.account_scope #=> String
|
1052
1078
|
# resp.recommended_resource_details.dynamo_db_reserved_capacity.configuration.service #=> String
|
1053
1079
|
# resp.recommended_resource_details.dynamo_db_reserved_capacity.configuration.term #=> String
|
@@ -1189,7 +1215,7 @@ module Aws::CostOptimizationHub
|
|
1189
1215
|
# implementation_efforts: ["VeryLow"], # accepts VeryLow, Low, Medium, High, VeryHigh
|
1190
1216
|
# account_ids: ["AccountId"],
|
1191
1217
|
# regions: ["String"],
|
1192
|
-
# 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
|
1193
1219
|
# action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton, Delete, ScaleIn
|
1194
1220
|
# tags: [
|
1195
1221
|
# {
|
@@ -1263,7 +1289,7 @@ module Aws::CostOptimizationHub
|
|
1263
1289
|
# implementation_efforts: ["VeryLow"], # accepts VeryLow, Low, Medium, High, VeryHigh
|
1264
1290
|
# account_ids: ["AccountId"],
|
1265
1291
|
# regions: ["String"],
|
1266
|
-
# 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
|
1267
1293
|
# action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton, Delete, ScaleIn
|
1268
1294
|
# tags: [
|
1269
1295
|
# {
|
@@ -1430,7 +1456,7 @@ module Aws::CostOptimizationHub
|
|
1430
1456
|
tracer: tracer
|
1431
1457
|
)
|
1432
1458
|
context[:gem_name] = 'aws-sdk-costoptimizationhub'
|
1433
|
-
context[:gem_version] = '1.
|
1459
|
+
context[:gem_version] = '1.27.0'
|
1434
1460
|
Seahorse::Client::Request.new(handlers, context)
|
1435
1461
|
end
|
1436
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')
|
@@ -148,6 +150,13 @@ module Aws::CostOptimizationHub
|
|
148
150
|
|
149
151
|
ActionTypeList.member = Shapes::ShapeRef.new(shape: ActionType)
|
150
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
|
+
|
151
160
|
BlockStoragePerformanceConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: Double, location_name: "iops"))
|
152
161
|
BlockStoragePerformanceConfiguration.add_member(:throughput, Shapes::ShapeRef.new(shape: Double, location_name: "throughput"))
|
153
162
|
BlockStoragePerformanceConfiguration.struct_class = Types::BlockStoragePerformanceConfiguration
|
@@ -552,6 +561,7 @@ module Aws::CostOptimizationHub
|
|
552
561
|
ResourceDetails.add_member(:sage_maker_savings_plans, Shapes::ShapeRef.new(shape: SageMakerSavingsPlans, location_name: "sageMakerSavingsPlans"))
|
553
562
|
ResourceDetails.add_member(:rds_db_instance, Shapes::ShapeRef.new(shape: RdsDbInstance, location_name: "rdsDbInstance"))
|
554
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"))
|
555
565
|
ResourceDetails.add_member(:dynamo_db_reserved_capacity, Shapes::ShapeRef.new(shape: DynamoDbReservedCapacity, location_name: "dynamoDbReservedCapacity"))
|
556
566
|
ResourceDetails.add_member(:memory_db_reserved_instances, Shapes::ShapeRef.new(shape: MemoryDbReservedInstances, location_name: "memoryDbReservedInstances"))
|
557
567
|
ResourceDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
@@ -570,6 +580,7 @@ module Aws::CostOptimizationHub
|
|
570
580
|
ResourceDetails.add_member_subclass(:sage_maker_savings_plans, Types::ResourceDetails::SageMakerSavingsPlans)
|
571
581
|
ResourceDetails.add_member_subclass(:rds_db_instance, Types::ResourceDetails::RdsDbInstance)
|
572
582
|
ResourceDetails.add_member_subclass(:rds_db_instance_storage, Types::ResourceDetails::RdsDbInstanceStorage)
|
583
|
+
ResourceDetails.add_member_subclass(:aurora_db_cluster_storage, Types::ResourceDetails::AuroraDbClusterStorage)
|
573
584
|
ResourceDetails.add_member_subclass(:dynamo_db_reserved_capacity, Types::ResourceDetails::DynamoDbReservedCapacity)
|
574
585
|
ResourceDetails.add_member_subclass(:memory_db_reserved_instances, Types::ResourceDetails::MemoryDbReservedInstances)
|
575
586
|
ResourceDetails.add_member_subclass(:unknown, Types::ResourceDetails::Unknown)
|
@@ -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.
|
@@ -2026,6 +2060,10 @@ module Aws::CostOptimizationHub
|
|
2026
2060
|
# The DB instance storage recommendation details.
|
2027
2061
|
# @return [Types::RdsDbInstanceStorage]
|
2028
2062
|
#
|
2063
|
+
# @!attribute [rw] aurora_db_cluster_storage
|
2064
|
+
# The Aurora DB cluster storage recommendation details.
|
2065
|
+
# @return [Types::AuroraDbClusterStorage]
|
2066
|
+
#
|
2029
2067
|
# @!attribute [rw] dynamo_db_reserved_capacity
|
2030
2068
|
# The DynamoDB reserved capacity recommendation details.
|
2031
2069
|
# @return [Types::DynamoDbReservedCapacity]
|
@@ -2052,6 +2090,7 @@ module Aws::CostOptimizationHub
|
|
2052
2090
|
:sage_maker_savings_plans,
|
2053
2091
|
:rds_db_instance,
|
2054
2092
|
:rds_db_instance_storage,
|
2093
|
+
:aurora_db_cluster_storage,
|
2055
2094
|
:dynamo_db_reserved_capacity,
|
2056
2095
|
:memory_db_reserved_instances,
|
2057
2096
|
:unknown)
|
@@ -2074,6 +2113,7 @@ module Aws::CostOptimizationHub
|
|
2074
2113
|
class SageMakerSavingsPlans < ResourceDetails; end
|
2075
2114
|
class RdsDbInstance < ResourceDetails; end
|
2076
2115
|
class RdsDbInstanceStorage < ResourceDetails; end
|
2116
|
+
class AuroraDbClusterStorage < ResourceDetails; end
|
2077
2117
|
class DynamoDbReservedCapacity < ResourceDetails; end
|
2078
2118
|
class MemoryDbReservedInstances < ResourceDetails; end
|
2079
2119
|
class Unknown < ResourceDetails; end
|
data/sig/client.rbs
CHANGED
@@ -100,8 +100,8 @@ module Aws
|
|
100
100
|
def cost_calculation_lookback_period_in_days: () -> ::Integer
|
101
101
|
def estimated_savings_percentage: () -> ::Float
|
102
102
|
def estimated_savings_over_cost_calculation_lookback_period: () -> ::Float
|
103
|
-
def current_resource_type: () -> ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
|
104
|
-
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")
|
105
105
|
def region: () -> ::String
|
106
106
|
def source: () -> ("ComputeOptimizer" | "CostExplorer")
|
107
107
|
def last_refresh_timestamp: () -> ::Time
|
@@ -153,7 +153,7 @@ module Aws
|
|
153
153
|
implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
|
154
154
|
account_ids: Array[::String]?,
|
155
155
|
regions: Array[::String]?,
|
156
|
-
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")]?,
|
157
157
|
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
|
158
158
|
tags: Array[
|
159
159
|
{
|
@@ -185,7 +185,7 @@ module Aws
|
|
185
185
|
implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
|
186
186
|
account_ids: Array[::String]?,
|
187
187
|
regions: Array[::String]?,
|
188
|
-
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")]?,
|
189
189
|
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
|
190
190
|
tags: Array[
|
191
191
|
{
|
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]
|
@@ -234,8 +245,8 @@ module Aws::CostOptimizationHub
|
|
234
245
|
attr_accessor cost_calculation_lookback_period_in_days: ::Integer
|
235
246
|
attr_accessor estimated_savings_percentage: ::Float
|
236
247
|
attr_accessor estimated_savings_over_cost_calculation_lookback_period: ::Float
|
237
|
-
attr_accessor current_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")
|
238
|
-
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")
|
239
250
|
attr_accessor region: ::String
|
240
251
|
attr_accessor source: ("ComputeOptimizer" | "CostExplorer")
|
241
252
|
attr_accessor last_refresh_timestamp: ::Time
|
@@ -525,6 +536,7 @@ module Aws::CostOptimizationHub
|
|
525
536
|
attr_accessor sage_maker_savings_plans: Types::SageMakerSavingsPlans
|
526
537
|
attr_accessor rds_db_instance: Types::RdsDbInstance
|
527
538
|
attr_accessor rds_db_instance_storage: Types::RdsDbInstanceStorage
|
539
|
+
attr_accessor aurora_db_cluster_storage: Types::AuroraDbClusterStorage
|
528
540
|
attr_accessor dynamo_db_reserved_capacity: Types::DynamoDbReservedCapacity
|
529
541
|
attr_accessor memory_db_reserved_instances: Types::MemoryDbReservedInstances
|
530
542
|
attr_accessor unknown: untyped
|
@@ -560,6 +572,8 @@ module Aws::CostOptimizationHub
|
|
560
572
|
end
|
561
573
|
class RdsDbInstanceStorage < ResourceDetails
|
562
574
|
end
|
575
|
+
class AuroraDbClusterStorage < ResourceDetails
|
576
|
+
end
|
563
577
|
class DynamoDbReservedCapacity < ResourceDetails
|
564
578
|
end
|
565
579
|
class MemoryDbReservedInstances < ResourceDetails
|
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.
|
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.
|
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.
|
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.
|
87
|
+
version: '2.7'
|
88
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
90
|
- - ">="
|