aws-sdk-costoptimizationhub 1.26.0 → 1.28.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costoptimizationhub/client.rb +49 -13
- 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 +5 -4
- data/sig/resource.rbs +1 -0
- 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: 21446a9637e809c6485cda1f0753276f9bd6b29c0729279280c70dbdc982b801
|
4
|
+
data.tar.gz: 9b6a9a373dd056a354a9ffc2e13be4167f6ad1cf277ff37f944ef99112289737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43ad3b5a69f146293feb582194e3aab51daf2518c0c35fef6ad3c3b63ba8bcc383c860e2caf29e5728522fa03a279673d3fbe56c41d4f0f2894c4e793a8a365b
|
7
|
+
data.tar.gz: 8a005bdbc816e0ece269a5f57673605cb7c3f0967f3f5327b6c18f1f70a74ed5bc3e2bc1927da450d9b43634abfeec0cfb755d01e6feceb39f47f321bea1a0d8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2025-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.27.0 (2025-06-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Support recommendations for Aurora instance and Aurora cluster storage.
|
13
|
+
|
4
14
|
1.26.0 (2025-05-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -95,7 +95,7 @@ module Aws::CostOptimizationHub
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::CostOptimizationHub
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::CostOptimizationHub
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::CostOptimizationHub
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -374,7 +384,7 @@ module Aws::CostOptimizationHub
|
|
374
384
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
375
385
|
#
|
376
386
|
# @option options [Aws::TokenProvider] :token_provider
|
377
|
-
#
|
387
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
378
388
|
# following classes:
|
379
389
|
#
|
380
390
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -557,8 +567,8 @@ module Aws::CostOptimizationHub
|
|
557
567
|
# resp.cost_calculation_lookback_period_in_days #=> Integer
|
558
568
|
# resp.estimated_savings_percentage #=> Float
|
559
569
|
# 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"
|
570
|
+
# 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"
|
571
|
+
# 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
572
|
# resp.region #=> String
|
563
573
|
# resp.source #=> String, one of "ComputeOptimizer", "CostExplorer"
|
564
574
|
# resp.last_refresh_timestamp #=> Time
|
@@ -793,6 +803,19 @@ module Aws::CostOptimizationHub
|
|
793
803
|
# resp.current_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
|
794
804
|
# resp.current_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
|
795
805
|
# resp.current_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_cost_after_discounts #=> Float
|
806
|
+
# resp.current_resource_details.aurora_db_cluster_storage.configuration.storage_type #=> String
|
807
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages #=> Array
|
808
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].usage_type #=> String
|
809
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].usage_amount #=> Float
|
810
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].operation #=> String
|
811
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].product_code #=> String
|
812
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].unit #=> String
|
813
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_cost_before_discounts #=> Float
|
814
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_net_unused_amortized_commitments #=> Float
|
815
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.savings_plans_discount #=> Float
|
816
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
|
817
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
|
818
|
+
# resp.current_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_cost_after_discounts #=> Float
|
796
819
|
# resp.current_resource_details.dynamo_db_reserved_capacity.configuration.account_scope #=> String
|
797
820
|
# resp.current_resource_details.dynamo_db_reserved_capacity.configuration.service #=> String
|
798
821
|
# resp.current_resource_details.dynamo_db_reserved_capacity.configuration.term #=> String
|
@@ -1048,6 +1071,19 @@ module Aws::CostOptimizationHub
|
|
1048
1071
|
# resp.recommended_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
|
1049
1072
|
# resp.recommended_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
|
1050
1073
|
# resp.recommended_resource_details.rds_db_instance_storage.cost_calculation.pricing.estimated_cost_after_discounts #=> Float
|
1074
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.configuration.storage_type #=> String
|
1075
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages #=> Array
|
1076
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].usage_type #=> String
|
1077
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].usage_amount #=> Float
|
1078
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].operation #=> String
|
1079
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].product_code #=> String
|
1080
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.usages[0].unit #=> String
|
1081
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_cost_before_discounts #=> Float
|
1082
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_net_unused_amortized_commitments #=> Float
|
1083
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.savings_plans_discount #=> Float
|
1084
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.reserved_instances_discount #=> Float
|
1085
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_discounts.other_discount #=> Float
|
1086
|
+
# resp.recommended_resource_details.aurora_db_cluster_storage.cost_calculation.pricing.estimated_cost_after_discounts #=> Float
|
1051
1087
|
# resp.recommended_resource_details.dynamo_db_reserved_capacity.configuration.account_scope #=> String
|
1052
1088
|
# resp.recommended_resource_details.dynamo_db_reserved_capacity.configuration.service #=> String
|
1053
1089
|
# resp.recommended_resource_details.dynamo_db_reserved_capacity.configuration.term #=> String
|
@@ -1189,7 +1225,7 @@ module Aws::CostOptimizationHub
|
|
1189
1225
|
# implementation_efforts: ["VeryLow"], # accepts VeryLow, Low, Medium, High, VeryHigh
|
1190
1226
|
# account_ids: ["AccountId"],
|
1191
1227
|
# regions: ["String"],
|
1192
|
-
# resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, DynamoDbReservedCapacity, MemoryDbReservedInstances
|
1228
|
+
# resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, AuroraDbClusterStorage, DynamoDbReservedCapacity, MemoryDbReservedInstances
|
1193
1229
|
# action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton, Delete, ScaleIn
|
1194
1230
|
# tags: [
|
1195
1231
|
# {
|
@@ -1263,7 +1299,7 @@ module Aws::CostOptimizationHub
|
|
1263
1299
|
# implementation_efforts: ["VeryLow"], # accepts VeryLow, Low, Medium, High, VeryHigh
|
1264
1300
|
# account_ids: ["AccountId"],
|
1265
1301
|
# regions: ["String"],
|
1266
|
-
# resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, DynamoDbReservedCapacity, MemoryDbReservedInstances
|
1302
|
+
# resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance, AuroraDbClusterStorage, DynamoDbReservedCapacity, MemoryDbReservedInstances
|
1267
1303
|
# action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton, Delete, ScaleIn
|
1268
1304
|
# tags: [
|
1269
1305
|
# {
|
@@ -1430,7 +1466,7 @@ module Aws::CostOptimizationHub
|
|
1430
1466
|
tracer: tracer
|
1431
1467
|
)
|
1432
1468
|
context[:gem_name] = 'aws-sdk-costoptimizationhub'
|
1433
|
-
context[:gem_version] = '1.
|
1469
|
+
context[:gem_version] = '1.28.0'
|
1434
1470
|
Seahorse::Client::Request.new(handlers, context)
|
1435
1471
|
end
|
1436
1472
|
|
@@ -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
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -100,8 +101,8 @@ module Aws
|
|
100
101
|
def cost_calculation_lookback_period_in_days: () -> ::Integer
|
101
102
|
def estimated_savings_percentage: () -> ::Float
|
102
103
|
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")
|
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")
|
105
106
|
def region: () -> ::String
|
106
107
|
def source: () -> ("ComputeOptimizer" | "CostExplorer")
|
107
108
|
def last_refresh_timestamp: () -> ::Time
|
@@ -153,7 +154,7 @@ module Aws
|
|
153
154
|
implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
|
154
155
|
account_ids: Array[::String]?,
|
155
156
|
regions: Array[::String]?,
|
156
|
-
resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]?,
|
157
|
+
resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]?,
|
157
158
|
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
|
158
159
|
tags: Array[
|
159
160
|
{
|
@@ -185,7 +186,7 @@ module Aws
|
|
185
186
|
implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
|
186
187
|
account_ids: Array[::String]?,
|
187
188
|
regions: Array[::String]?,
|
188
|
-
resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]?,
|
189
|
+
resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances")]?,
|
189
190
|
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
|
190
191
|
tags: Array[
|
191
192
|
{
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
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.28.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.227.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.227.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
|
- - ">="
|