aws-sdk-costoptimizationhub 1.18.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costoptimizationhub/client.rb +27 -4
- data/lib/aws-sdk-costoptimizationhub.rb +1 -1
- data/sig/client.rbs +5 -3
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +2 -2
- 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: 986ce880c5bbad5e4e79d1ed8a319e9a0f01a4397383b92e2763696c2fc79f08
|
4
|
+
data.tar.gz: 59b96bbe67e7c5764623ba82b21023731c3573f13c2d02f2b2caba2e7a26d6fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9145ed3326c3252b8d4663a184b894f189cd3733f946465e5b8aeb26bf949422ced965e43d254a66f2dddd854940c93867b9157e5f683f53b6603814afc7ffc
|
7
|
+
data.tar.gz: 7b800050e6de5bdab155fcc8cac09b669a8ac4de2bbfe59453f5c745b9a7b8aaf6c735dbc4356f9f7e799de058b37dadad97f901a456fa7bc01f6923ca85f3f0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.20.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.19.0 (2024-11-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds action type "Delete" to the GetRecommendation, ListRecommendations and ListRecommendationSummaries APIs to support new EBS and ECS recommendations with action type "Delete".
|
13
|
+
|
4
14
|
1.18.0 (2024-10-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -257,11 +257,34 @@ module Aws::CostOptimizationHub
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -541,7 +564,7 @@ module Aws::CostOptimizationHub
|
|
541
564
|
# resp.estimated_monthly_cost #=> Float
|
542
565
|
# resp.implementation_effort #=> String, one of "VeryLow", "Low", "Medium", "High", "VeryHigh"
|
543
566
|
# resp.restart_needed #=> Boolean
|
544
|
-
# resp.action_type #=> String, one of "Rightsize", "Stop", "Upgrade", "PurchaseSavingsPlans", "PurchaseReservedInstances", "MigrateToGraviton"
|
567
|
+
# resp.action_type #=> String, one of "Rightsize", "Stop", "Upgrade", "PurchaseSavingsPlans", "PurchaseReservedInstances", "MigrateToGraviton", "Delete"
|
545
568
|
# resp.rollback_possible #=> Boolean
|
546
569
|
# resp.current_resource_details.lambda_function.configuration.compute.v_cpu #=> Float
|
547
570
|
# resp.current_resource_details.lambda_function.configuration.compute.memory_size_in_mb #=> Integer
|
@@ -1097,7 +1120,7 @@ module Aws::CostOptimizationHub
|
|
1097
1120
|
# account_ids: ["AccountId"],
|
1098
1121
|
# regions: ["String"],
|
1099
1122
|
# resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance
|
1100
|
-
# action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton
|
1123
|
+
# action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton, Delete
|
1101
1124
|
# tags: [
|
1102
1125
|
# {
|
1103
1126
|
# key: "String",
|
@@ -1171,7 +1194,7 @@ module Aws::CostOptimizationHub
|
|
1171
1194
|
# account_ids: ["AccountId"],
|
1172
1195
|
# regions: ["String"],
|
1173
1196
|
# resource_types: ["Ec2Instance"], # accepts Ec2Instance, LambdaFunction, EbsVolume, EcsService, Ec2AutoScalingGroup, Ec2InstanceSavingsPlans, ComputeSavingsPlans, SageMakerSavingsPlans, Ec2ReservedInstances, RdsReservedInstances, OpenSearchReservedInstances, RedshiftReservedInstances, ElastiCacheReservedInstances, RdsDbInstanceStorage, RdsDbInstance
|
1174
|
-
# action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton
|
1197
|
+
# action_types: ["Rightsize"], # accepts Rightsize, Stop, Upgrade, PurchaseSavingsPlans, PurchaseReservedInstances, MigrateToGraviton, Delete
|
1175
1198
|
# tags: [
|
1176
1199
|
# {
|
1177
1200
|
# key: "String",
|
@@ -1325,7 +1348,7 @@ module Aws::CostOptimizationHub
|
|
1325
1348
|
tracer: tracer
|
1326
1349
|
)
|
1327
1350
|
context[:gem_name] = 'aws-sdk-costoptimizationhub'
|
1328
|
-
context[:gem_version] = '1.
|
1351
|
+
context[:gem_version] = '1.20.0'
|
1329
1352
|
Seahorse::Client::Request.new(handlers, context)
|
1330
1353
|
end
|
1331
1354
|
|
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -106,7 +108,7 @@ module Aws
|
|
106
108
|
def estimated_monthly_cost: () -> ::Float
|
107
109
|
def implementation_effort: () -> ("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")
|
108
110
|
def restart_needed: () -> bool
|
109
|
-
def action_type: () -> ("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton")
|
111
|
+
def action_type: () -> ("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete")
|
110
112
|
def rollback_possible: () -> bool
|
111
113
|
def current_resource_details: () -> Types::ResourceDetails
|
112
114
|
def recommended_resource_details: () -> Types::ResourceDetails
|
@@ -151,7 +153,7 @@ module Aws
|
|
151
153
|
account_ids: Array[::String]?,
|
152
154
|
regions: Array[::String]?,
|
153
155
|
resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance")]?,
|
154
|
-
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton")]?,
|
156
|
+
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete")]?,
|
155
157
|
tags: Array[
|
156
158
|
{
|
157
159
|
key: ::String?,
|
@@ -183,7 +185,7 @@ module Aws
|
|
183
185
|
account_ids: Array[::String]?,
|
184
186
|
regions: Array[::String]?,
|
185
187
|
resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance")]?,
|
186
|
-
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton")]?,
|
188
|
+
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete")]?,
|
187
189
|
tags: Array[
|
188
190
|
{
|
189
191
|
key: ::String?,
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
data/sig/types.rbs
CHANGED
@@ -179,7 +179,7 @@ module Aws::CostOptimizationHub
|
|
179
179
|
attr_accessor account_ids: ::Array[::String]
|
180
180
|
attr_accessor regions: ::Array[::String]
|
181
181
|
attr_accessor resource_types: ::Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance")]
|
182
|
-
attr_accessor action_types: ::Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton")]
|
182
|
+
attr_accessor action_types: ::Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete")]
|
183
183
|
attr_accessor tags: ::Array[Types::Tag]
|
184
184
|
attr_accessor resource_ids: ::Array[::String]
|
185
185
|
attr_accessor resource_arns: ::Array[::String]
|
@@ -220,7 +220,7 @@ module Aws::CostOptimizationHub
|
|
220
220
|
attr_accessor estimated_monthly_cost: ::Float
|
221
221
|
attr_accessor implementation_effort: ("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")
|
222
222
|
attr_accessor restart_needed: bool
|
223
|
-
attr_accessor action_type: ("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton")
|
223
|
+
attr_accessor action_type: ("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete")
|
224
224
|
attr_accessor rollback_possible: bool
|
225
225
|
attr_accessor current_resource_details: Types::ResourceDetails
|
226
226
|
attr_accessor recommended_resource_details: Types::ResourceDetails
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|