aws-sdk-autoscaling 1.114.0 → 1.121.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 +35 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +3 -3
- data/lib/aws-sdk-autoscaling/client.rb +43 -16
- data/lib/aws-sdk-autoscaling/client_api.rb +1 -0
- data/lib/aws-sdk-autoscaling/endpoints.rb +65 -260
- data/lib/aws-sdk-autoscaling/plugins/endpoints.rb +18 -6
- data/lib/aws-sdk-autoscaling/resource.rb +3 -3
- data/lib/aws-sdk-autoscaling/types.rb +9 -8
- data/lib/aws-sdk-autoscaling.rb +26 -22
- data/sig/client.rbs +2 -0
- data/sig/resource.rbs +2 -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: 5cf12fbb932a652cf60fc621cda2b41621b8bc4998bb2b4ce54394fbc1b8bf47
|
4
|
+
data.tar.gz: bcaa69a442a918e010a4007a34715b15dff29336444782c302c2b5b1c8c1bbe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad7325aecbfabb7e3856b32eb0349b396863f5249615ad3dafd39b7e9a1fe561eb74dcf6239b97b3748450a4f0836f95c7310de9d4ce5f75cf9178c514f4f221
|
7
|
+
data.tar.gz: ca51032f42680672b179e53277e58d61720a950ad031bf722e9bec69702fa12c05e29197cddc2ba60f06c6a411605af37d2dfa690ed5f7a0f6b4f74eeaee81f9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,41 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.121.0 (2024-09-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.120.0 (2024-09-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.119.0 (2024-09-20)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.118.0 (2024-09-11)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.117.0 (2024-09-10)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.116.0 (2024-09-03)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.115.0 (2024-08-22)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Amazon EC2 Auto Scaling now provides EBS health check to manage EC2 instance replacement
|
38
|
+
|
4
39
|
1.114.0 (2024-07-30)
|
5
40
|
------------------
|
6
41
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.121.0
|
@@ -1322,9 +1322,9 @@ module Aws::AutoScaling
|
|
1322
1322
|
# @option options [String] :health_check_type
|
1323
1323
|
# A comma-separated value string of one or more health check types.
|
1324
1324
|
#
|
1325
|
-
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is
|
1326
|
-
# default health check and cannot be disabled. For more information,
|
1327
|
-
# [Health checks for instances in an Auto Scaling group][1] in the
|
1325
|
+
# The valid values are `EC2`, `EBS`, `ELB`, and `VPC_LATTICE`. `EC2` is
|
1326
|
+
# the default health check and cannot be disabled. For more information,
|
1327
|
+
# see [Health checks for instances in an Auto Scaling group][1] in the
|
1328
1328
|
# *Amazon EC2 Auto Scaling User Guide*.
|
1329
1329
|
#
|
1330
1330
|
# Only specify `EC2` if you must clear a value that was previously set.
|
@@ -32,11 +32,10 @@ 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/query.rb'
|
37
38
|
|
38
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:autoscaling)
|
39
|
-
|
40
39
|
module Aws::AutoScaling
|
41
40
|
# An API client for AutoScaling. To construct a client, you need to configure a `:region` and `:credentials`.
|
42
41
|
#
|
@@ -83,6 +82,7 @@ module Aws::AutoScaling
|
|
83
82
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
83
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
84
|
add_plugin(Aws::Plugins::RecursionDetection)
|
85
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
86
|
add_plugin(Aws::Plugins::Sign)
|
87
87
|
add_plugin(Aws::Plugins::Protocols::Query)
|
88
88
|
add_plugin(Aws::AutoScaling::Plugins::Endpoints)
|
@@ -128,13 +128,15 @@ module Aws::AutoScaling
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
132
|
-
#
|
131
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
|
+
# `:account_id` options.
|
133
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
134
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
133
135
|
# * `~/.aws/credentials`
|
134
136
|
# * `~/.aws/config`
|
135
137
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
136
138
|
# are very aggressive. Construct and pass an instance of
|
137
|
-
# `Aws::
|
139
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
138
140
|
# enable retries and extended timeouts. Instance profile credential
|
139
141
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
140
142
|
# to true.
|
@@ -153,6 +155,8 @@ module Aws::AutoScaling
|
|
153
155
|
#
|
154
156
|
# @option options [String] :access_key_id
|
155
157
|
#
|
158
|
+
# @option options [String] :account_id
|
159
|
+
#
|
156
160
|
# @option options [Boolean] :active_endpoint_cache (false)
|
157
161
|
# When set to `true`, a thread polling for endpoints will be running in
|
158
162
|
# the background every 60 secs (default). Defaults to `false`.
|
@@ -330,6 +334,16 @@ module Aws::AutoScaling
|
|
330
334
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
335
|
# requests are made, and retries are disabled.
|
332
336
|
#
|
337
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
338
|
+
# Allows you to provide a telemetry provider, which is used to
|
339
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
340
|
+
# will not record or emit any telemetry data. The SDK supports the
|
341
|
+
# following telemetry providers:
|
342
|
+
#
|
343
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
344
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
345
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
346
|
+
#
|
333
347
|
# @option options [Aws::TokenProvider] :token_provider
|
334
348
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
349
|
# following classes:
|
@@ -357,7 +371,9 @@ module Aws::AutoScaling
|
|
357
371
|
# sending the request.
|
358
372
|
#
|
359
373
|
# @option options [Aws::AutoScaling::EndpointProvider] :endpoint_provider
|
360
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
374
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
375
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
376
|
+
# `Aws::AutoScaling::EndpointParameters`.
|
361
377
|
#
|
362
378
|
# @option options [Float] :http_continue_timeout (1)
|
363
379
|
# The number of seconds to wait for a 100-continue response before sending the
|
@@ -413,6 +429,12 @@ module Aws::AutoScaling
|
|
413
429
|
# @option options [String] :ssl_ca_store
|
414
430
|
# Sets the X509::Store to verify peer certificate.
|
415
431
|
#
|
432
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
433
|
+
# Sets a client certificate when creating http connections.
|
434
|
+
#
|
435
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
436
|
+
# Sets a client key when creating http connections.
|
437
|
+
#
|
416
438
|
# @option options [Float] :ssl_timeout
|
417
439
|
# Sets the SSL timeout in seconds
|
418
440
|
#
|
@@ -1080,9 +1102,9 @@ module Aws::AutoScaling
|
|
1080
1102
|
# @option params [String] :health_check_type
|
1081
1103
|
# A comma-separated value string of one or more health check types.
|
1082
1104
|
#
|
1083
|
-
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is
|
1084
|
-
# default health check and cannot be disabled. For more information,
|
1085
|
-
# [Health checks for instances in an Auto Scaling group][1] in the
|
1105
|
+
# The valid values are `EC2`, `EBS`, `ELB`, and `VPC_LATTICE`. `EC2` is
|
1106
|
+
# the default health check and cannot be disabled. For more information,
|
1107
|
+
# see [Health checks for instances in an Auto Scaling group][1] in the
|
1086
1108
|
# *Amazon EC2 Auto Scaling User Guide*.
|
1087
1109
|
#
|
1088
1110
|
# Only specify `EC2` if you must clear a value that was previously set.
|
@@ -6268,12 +6290,12 @@ module Aws::AutoScaling
|
|
6268
6290
|
|
6269
6291
|
# Sets the health status of the specified instance.
|
6270
6292
|
#
|
6271
|
-
# For more information, see [
|
6293
|
+
# For more information, see [Set up a custom health check for your Auto
|
6272
6294
|
# Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6273
6295
|
#
|
6274
6296
|
#
|
6275
6297
|
#
|
6276
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6298
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/set-up-a-custom-health-check.html
|
6277
6299
|
#
|
6278
6300
|
# @option params [required, String] :instance_id
|
6279
6301
|
# The ID of the instance.
|
@@ -6886,9 +6908,9 @@ module Aws::AutoScaling
|
|
6886
6908
|
# @option params [String] :health_check_type
|
6887
6909
|
# A comma-separated value string of one or more health check types.
|
6888
6910
|
#
|
6889
|
-
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is
|
6890
|
-
# default health check and cannot be disabled. For more information,
|
6891
|
-
# [Health checks for instances in an Auto Scaling group][1] in the
|
6911
|
+
# The valid values are `EC2`, `EBS`, `ELB`, and `VPC_LATTICE`. `EC2` is
|
6912
|
+
# the default health check and cannot be disabled. For more information,
|
6913
|
+
# see [Health checks for instances in an Auto Scaling group][1] in the
|
6892
6914
|
# *Amazon EC2 Auto Scaling User Guide*.
|
6893
6915
|
#
|
6894
6916
|
# Only specify `EC2` if you must clear a value that was previously set.
|
@@ -7188,14 +7210,19 @@ module Aws::AutoScaling
|
|
7188
7210
|
# @api private
|
7189
7211
|
def build_request(operation_name, params = {})
|
7190
7212
|
handlers = @handlers.for(operation_name)
|
7213
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
7214
|
+
Aws::Telemetry.module_to_tracer_name('Aws::AutoScaling')
|
7215
|
+
)
|
7191
7216
|
context = Seahorse::Client::RequestContext.new(
|
7192
7217
|
operation_name: operation_name,
|
7193
7218
|
operation: config.api.operation(operation_name),
|
7194
7219
|
client: self,
|
7195
7220
|
params: params,
|
7196
|
-
config: config
|
7221
|
+
config: config,
|
7222
|
+
tracer: tracer
|
7223
|
+
)
|
7197
7224
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
7198
|
-
context[:gem_version] = '1.
|
7225
|
+
context[:gem_version] = '1.121.0'
|
7199
7226
|
Seahorse::Client::Request.new(handlers, context)
|
7200
7227
|
end
|
7201
7228
|
|