aws-sdk-computeoptimizer 1.61.0 → 1.63.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-computeoptimizer/client.rb +26 -3
- data/lib/aws-sdk-computeoptimizer/types.rb +8 -2
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- 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: 36aa170534b71ffc406cfac6e81a4a4663644c5ab63a9e3511feb0cd9f89fc0f
|
4
|
+
data.tar.gz: 8b87fbcb9ad4e6f1f94d376ad035556fa5c3b8770609601319e4bab954dc4486
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76b89d9d769d8278a1f4f2bb055b6071b6a8aae677b6130040bb18ca2eaf9b80eadfcfbc9ed877ccd66d8282068ed7c60b7c7307a3bf1b1de18124e55c7561d5
|
7
|
+
data.tar.gz: 0aa3fd42f86d195477300df2424bc9ff71fba8ddf4e6243f66d9f365ad313ae302a52e707502eb6bc4cb6927980a0c1b7bacb305d35d5135925cd1d3b4872a26
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.63.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.62.0 (2024-08-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Doc only update for Compute Optimizer that fixes several customer-reported issues relating to ECS finding classifications
|
13
|
+
|
4
14
|
1.61.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.63.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::ComputeOptimizer
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
88
90
|
add_plugin(Aws::ComputeOptimizer::Plugins::Endpoints)
|
@@ -337,6 +339,16 @@ module Aws::ComputeOptimizer
|
|
337
339
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
338
340
|
# requests are made, and retries are disabled.
|
339
341
|
#
|
342
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
343
|
+
# Allows you to provide a telemetry provider, which is used to
|
344
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
345
|
+
# will not record or emit any telemetry data. The SDK supports the
|
346
|
+
# following telemetry providers:
|
347
|
+
#
|
348
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
349
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
350
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
351
|
+
#
|
340
352
|
# @option options [Aws::TokenProvider] :token_provider
|
341
353
|
# A Bearer Token Provider. This can be an instance of any one of the
|
342
354
|
# following classes:
|
@@ -3049,9 +3061,15 @@ module Aws::ComputeOptimizer
|
|
3049
3061
|
# of the Amazon Web Services resource are analyzed. When this preference
|
3050
3062
|
# isn't specified, we use the default value `DAYS_14`.
|
3051
3063
|
#
|
3052
|
-
#
|
3064
|
+
# You can only set this preference for the Amazon EC2 instance and Auto
|
3053
3065
|
# Scaling group resource types.
|
3054
3066
|
#
|
3067
|
+
# <note markdown="1"> * Amazon EC2 instance lookback preferences can be set at the
|
3068
|
+
# organization, account, and resource levels.
|
3069
|
+
#
|
3070
|
+
# * Auto Scaling group lookback preferences can only be set at the
|
3071
|
+
# resource level.
|
3072
|
+
#
|
3055
3073
|
# </note>
|
3056
3074
|
#
|
3057
3075
|
# @option params [Array<Types::UtilizationPreference>] :utilization_preferences
|
@@ -3233,14 +3251,19 @@ module Aws::ComputeOptimizer
|
|
3233
3251
|
# @api private
|
3234
3252
|
def build_request(operation_name, params = {})
|
3235
3253
|
handlers = @handlers.for(operation_name)
|
3254
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
3255
|
+
Aws::Telemetry.module_to_tracer_name('Aws::ComputeOptimizer')
|
3256
|
+
)
|
3236
3257
|
context = Seahorse::Client::RequestContext.new(
|
3237
3258
|
operation_name: operation_name,
|
3238
3259
|
operation: config.api.operation(operation_name),
|
3239
3260
|
client: self,
|
3240
3261
|
params: params,
|
3241
|
-
config: config
|
3262
|
+
config: config,
|
3263
|
+
tracer: tracer
|
3264
|
+
)
|
3242
3265
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
3243
|
-
context[:gem_version] = '1.
|
3266
|
+
context[:gem_version] = '1.63.0'
|
3244
3267
|
Seahorse::Client::Request.new(handlers, context)
|
3245
3268
|
end
|
3246
3269
|
|
@@ -1160,7 +1160,7 @@ module Aws::ComputeOptimizer
|
|
1160
1160
|
# The valid values for this parameter are as follows:
|
1161
1161
|
#
|
1162
1162
|
# * If you specify the `name` parameter as `Finding`, specify
|
1163
|
-
# `Optimized`, `
|
1163
|
+
# `Optimized`, `Underprovisioned`, or `Overprovisioned`.
|
1164
1164
|
#
|
1165
1165
|
# * If you specify the `name` parameter as `FindingReasonCode`,
|
1166
1166
|
# specify `CPUUnderprovisioned`, `CPUOverprovisioned`,
|
@@ -5320,9 +5320,15 @@ module Aws::ComputeOptimizer
|
|
5320
5320
|
# of the Amazon Web Services resource are analyzed. When this
|
5321
5321
|
# preference isn't specified, we use the default value `DAYS_14`.
|
5322
5322
|
#
|
5323
|
-
#
|
5323
|
+
# You can only set this preference for the Amazon EC2 instance and
|
5324
5324
|
# Auto Scaling group resource types.
|
5325
5325
|
#
|
5326
|
+
# <note markdown="1"> * Amazon EC2 instance lookback preferences can be set at the
|
5327
|
+
# organization, account, and resource levels.
|
5328
|
+
#
|
5329
|
+
# * Auto Scaling group lookback preferences can only be set at the
|
5330
|
+
# resource level.
|
5331
|
+
#
|
5326
5332
|
# </note>
|
5327
5333
|
# @return [String]
|
5328
5334
|
#
|
data/sig/client.rbs
CHANGED
@@ -51,6 +51,7 @@ module Aws
|
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?simple_json: bool,
|
53
53
|
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
55
|
?token_provider: untyped,
|
55
56
|
?use_dualstack_endpoint: bool,
|
56
57
|
?use_fips_endpoint: bool,
|
data/sig/resource.rbs
CHANGED
@@ -51,6 +51,7 @@ module Aws
|
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?simple_json: bool,
|
53
53
|
?stub_responses: untyped,
|
54
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
55
|
?token_provider: untyped,
|
55
56
|
?use_dualstack_endpoint: bool,
|
56
57
|
?use_fips_endpoint: bool,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-computeoptimizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.63.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: 2024-
|
11
|
+
date: 2024-09-03 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.203.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.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|