aws-sdk-autoscaling 1.93.0 → 1.95.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-autoscaling/auto_scaling_group.rb +1 -1
- data/lib/aws-sdk-autoscaling/client.rb +65 -23
- data/lib/aws-sdk-autoscaling/client_api.rb +7 -1
- data/lib/aws-sdk-autoscaling/types.rb +3 -8
- data/lib/aws-sdk-autoscaling.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f7101c25795cc4d44eebcd18de78dbf0958d49e159ee41ceafe2b70420cac63
|
4
|
+
data.tar.gz: 87c91e27553e07ee18b76df846fc514a487d0d205a043987aa940f77008a132d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b126edf79b138b29a29dcf25f15bbc30613307aed1e98efa3309f942df8d302481f377dae780bf7dce8079dc641ea3cbe72b9f3f6e83457625312ff222917a8
|
7
|
+
data.tar.gz: 3675ba45cc4c825e86b96fa23347252450c866c744217b107b06051c4664e542212254e1c4fb3d146a7de6083fe1a69f401bb9dbba3d0348ab28221b611bf397
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.95.0 (2023-07-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release updates validation for instance types used in the AllowedInstanceTypes and ExcludedInstanceTypes parameters of the InstanceRequirements property of a MixedInstancesPolicy.
|
8
|
+
|
9
|
+
1.94.0 (2023-07-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.93.0 (2023-07-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.95.0
|
@@ -861,7 +861,7 @@ module Aws::AutoScaling
|
|
861
861
|
# The amount by which to scale, based on the specified adjustment type.
|
862
862
|
# A positive value adds to the current capacity while a negative number
|
863
863
|
# removes from the current capacity. For exact capacity, you must
|
864
|
-
# specify a
|
864
|
+
# specify a non-negative value.
|
865
865
|
#
|
866
866
|
# Required if the policy type is `SimpleScaling`. (Not used with any
|
867
867
|
# other policy type.)
|
@@ -216,6 +216,10 @@ module Aws::AutoScaling
|
|
216
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
217
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
218
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
219
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
220
224
|
# The log formatter.
|
221
225
|
#
|
@@ -825,12 +829,12 @@ module Aws::AutoScaling
|
|
825
829
|
# 6. **If you finish before the timeout period ends, send a callback by
|
826
830
|
# using the CompleteLifecycleAction API call.**
|
827
831
|
#
|
828
|
-
# For more information, see [
|
829
|
-
#
|
832
|
+
# For more information, see [Complete a lifecycle action][1] in the
|
833
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
830
834
|
#
|
831
835
|
#
|
832
836
|
#
|
833
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
|
837
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/completing-lifecycle-hooks.html
|
834
838
|
#
|
835
839
|
# @option params [required, String] :lifecycle_hook_name
|
836
840
|
# The name of the lifecycle hook.
|
@@ -2348,14 +2352,16 @@ module Aws::AutoScaling
|
|
2348
2352
|
# {
|
2349
2353
|
# auto_scaling_groups: [
|
2350
2354
|
# {
|
2351
|
-
# auto_scaling_group_arn: "arn:aws:autoscaling:us-west-
|
2355
|
+
# auto_scaling_group_arn: "arn:aws:autoscaling:us-west-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
|
2352
2356
|
# auto_scaling_group_name: "my-auto-scaling-group",
|
2353
2357
|
# availability_zones: [
|
2358
|
+
# "us-west-2a",
|
2359
|
+
# "us-west-2b",
|
2354
2360
|
# "us-west-2c",
|
2355
2361
|
# ],
|
2356
|
-
# created_time: Time.parse("
|
2362
|
+
# created_time: Time.parse("2023-03-09T22:15:11.611Z"),
|
2357
2363
|
# default_cooldown: 300,
|
2358
|
-
# desired_capacity:
|
2364
|
+
# desired_capacity: 2,
|
2359
2365
|
# enabled_metrics: [
|
2360
2366
|
# ],
|
2361
2367
|
# health_check_grace_period: 300,
|
@@ -2364,7 +2370,17 @@ module Aws::AutoScaling
|
|
2364
2370
|
# {
|
2365
2371
|
# availability_zone: "us-west-2c",
|
2366
2372
|
# health_status: "Healthy",
|
2367
|
-
# instance_id: "i-
|
2373
|
+
# instance_id: "i-05b4f7d5be44822a6",
|
2374
|
+
# instance_type: "t3.micro",
|
2375
|
+
# launch_configuration_name: "my-launch-config",
|
2376
|
+
# lifecycle_state: "InService",
|
2377
|
+
# protected_from_scale_in: false,
|
2378
|
+
# },
|
2379
|
+
# {
|
2380
|
+
# availability_zone: "us-west-2b",
|
2381
|
+
# health_status: "Healthy",
|
2382
|
+
# instance_id: "i-0c20ac468fa3049e8",
|
2383
|
+
# instance_type: "t3.micro",
|
2368
2384
|
# launch_configuration_name: "my-launch-config",
|
2369
2385
|
# lifecycle_state: "InService",
|
2370
2386
|
# protected_from_scale_in: false,
|
@@ -2373,17 +2389,22 @@ module Aws::AutoScaling
|
|
2373
2389
|
# launch_configuration_name: "my-launch-config",
|
2374
2390
|
# load_balancer_names: [
|
2375
2391
|
# ],
|
2376
|
-
# max_size:
|
2377
|
-
# min_size:
|
2392
|
+
# max_size: 5,
|
2393
|
+
# min_size: 1,
|
2378
2394
|
# new_instances_protected_from_scale_in: false,
|
2395
|
+
# service_linked_role_arn: "arn:aws:iam::123456789012:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling",
|
2379
2396
|
# suspended_processes: [
|
2380
2397
|
# ],
|
2381
2398
|
# tags: [
|
2382
2399
|
# ],
|
2400
|
+
# target_group_arns: [
|
2401
|
+
# ],
|
2383
2402
|
# termination_policies: [
|
2384
2403
|
# "Default",
|
2385
2404
|
# ],
|
2386
|
-
#
|
2405
|
+
# traffic_sources: [
|
2406
|
+
# ],
|
2407
|
+
# vpc_zone_identifier: "subnet-5ea0c127,subnet-6194ea3b,subnet-c934b782",
|
2387
2408
|
# },
|
2388
2409
|
# ],
|
2389
2410
|
# }
|
@@ -2575,7 +2596,7 @@ module Aws::AutoScaling
|
|
2575
2596
|
#
|
2576
2597
|
# resp = client.describe_auto_scaling_instances({
|
2577
2598
|
# instance_ids: [
|
2578
|
-
# "i-
|
2599
|
+
# "i-05b4f7d5be44822a6",
|
2579
2600
|
# ],
|
2580
2601
|
# })
|
2581
2602
|
#
|
@@ -2586,7 +2607,8 @@ module Aws::AutoScaling
|
|
2586
2607
|
# auto_scaling_group_name: "my-auto-scaling-group",
|
2587
2608
|
# availability_zone: "us-west-2c",
|
2588
2609
|
# health_status: "HEALTHY",
|
2589
|
-
# instance_id: "i-
|
2610
|
+
# instance_id: "i-05b4f7d5be44822a6",
|
2611
|
+
# instance_type: "t3.micro",
|
2590
2612
|
# launch_configuration_name: "my-launch-config",
|
2591
2613
|
# lifecycle_state: "InService",
|
2592
2614
|
# protected_from_scale_in: false,
|
@@ -2722,18 +2744,35 @@ module Aws::AutoScaling
|
|
2722
2744
|
# {
|
2723
2745
|
# auto_scaling_group_name: "my-auto-scaling-group",
|
2724
2746
|
# instance_refresh_id: "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b",
|
2725
|
-
# instances_to_update:
|
2726
|
-
# percentage_complete:
|
2727
|
-
#
|
2747
|
+
# instances_to_update: 0,
|
2748
|
+
# percentage_complete: 50,
|
2749
|
+
# preferences: {
|
2750
|
+
# auto_rollback: true,
|
2751
|
+
# instance_warmup: 60,
|
2752
|
+
# min_healthy_percentage: 90,
|
2753
|
+
# scale_in_protected_instances: "Ignore",
|
2754
|
+
# skip_matching: false,
|
2755
|
+
# standby_instances: "Ignore",
|
2756
|
+
# },
|
2757
|
+
# start_time: Time.parse("2023-06-13T16:46:52+00:00"),
|
2728
2758
|
# status: "InProgress",
|
2759
|
+
# status_reason: "Waiting for instances to warm up before continuing. For example: i-0645704820a8e83ff is warming up.",
|
2729
2760
|
# },
|
2730
2761
|
# {
|
2731
2762
|
# auto_scaling_group_name: "my-auto-scaling-group",
|
2732
|
-
# end_time: Time.parse("
|
2733
|
-
# instance_refresh_id: "
|
2763
|
+
# end_time: Time.parse("2023-06-02T13:59:45+00:00"),
|
2764
|
+
# instance_refresh_id: "0e151305-1e57-4a32-a256-1fd14157c5ec",
|
2734
2765
|
# instances_to_update: 0,
|
2735
2766
|
# percentage_complete: 100,
|
2736
|
-
#
|
2767
|
+
# preferences: {
|
2768
|
+
# auto_rollback: true,
|
2769
|
+
# instance_warmup: 60,
|
2770
|
+
# min_healthy_percentage: 90,
|
2771
|
+
# scale_in_protected_instances: "Ignore",
|
2772
|
+
# skip_matching: false,
|
2773
|
+
# standby_instances: "Ignore",
|
2774
|
+
# },
|
2775
|
+
# start_time: Time.parse("2023-06-02T13:53:37+00:00"),
|
2737
2776
|
# status: "Successful",
|
2738
2777
|
# },
|
2739
2778
|
# ],
|
@@ -3670,6 +3709,7 @@ module Aws::AutoScaling
|
|
3670
3709
|
# activities: [
|
3671
3710
|
# {
|
3672
3711
|
# activity_id: "f9f2d65b-f1f2-43e7-b46d-d86756459699",
|
3712
|
+
# auto_scaling_group_arn: "arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
|
3673
3713
|
# auto_scaling_group_name: "my-auto-scaling-group",
|
3674
3714
|
# cause: "At 2013-08-19T20:53:25Z a user request created an AutoScalingGroup changing the desired capacity from 0 to 1. At 2013-08-19T20:53:29Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.",
|
3675
3715
|
# description: "Launching a new EC2 instance: i-4ba0837f",
|
@@ -4144,6 +4184,8 @@ module Aws::AutoScaling
|
|
4144
4184
|
# * {Types::DescribeWarmPoolAnswer#instances #instances} => Array<Types::Instance>
|
4145
4185
|
# * {Types::DescribeWarmPoolAnswer#next_token #next_token} => String
|
4146
4186
|
#
|
4187
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4188
|
+
#
|
4147
4189
|
# @example Request syntax with placeholder values
|
4148
4190
|
#
|
4149
4191
|
# resp = client.describe_warm_pool({
|
@@ -4401,7 +4443,7 @@ module Aws::AutoScaling
|
|
4401
4443
|
# Detaches one or more traffic sources from the specified Auto Scaling
|
4402
4444
|
# group.
|
4403
4445
|
#
|
4404
|
-
# When you detach a
|
4446
|
+
# When you detach a traffic source, it enters the `Removing` state while
|
4405
4447
|
# deregistering the instances in the group. When all instances are
|
4406
4448
|
# deregistered, then you can no longer describe the traffic source using
|
4407
4449
|
# the DescribeTrafficSources API call. The instances continue to run.
|
@@ -5305,7 +5347,7 @@ module Aws::AutoScaling
|
|
5305
5347
|
# The amount by which to scale, based on the specified adjustment type.
|
5306
5348
|
# A positive value adds to the current capacity while a negative number
|
5307
5349
|
# removes from the current capacity. For exact capacity, you must
|
5308
|
-
# specify a
|
5350
|
+
# specify a non-negative value.
|
5309
5351
|
#
|
5310
5352
|
# Required if the policy type is `SimpleScaling`. (Not used with any
|
5311
5353
|
# other policy type.)
|
@@ -6029,7 +6071,7 @@ module Aws::AutoScaling
|
|
6029
6071
|
#
|
6030
6072
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html
|
6031
6073
|
#
|
6032
|
-
# @option params [String] :auto_scaling_group_name
|
6074
|
+
# @option params [required, String] :auto_scaling_group_name
|
6033
6075
|
# The name of the Auto Scaling group.
|
6034
6076
|
#
|
6035
6077
|
# @return [Types::RollbackInstanceRefreshAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -6039,7 +6081,7 @@ module Aws::AutoScaling
|
|
6039
6081
|
# @example Request syntax with placeholder values
|
6040
6082
|
#
|
6041
6083
|
# resp = client.rollback_instance_refresh({
|
6042
|
-
# auto_scaling_group_name: "XmlStringMaxLen255",
|
6084
|
+
# auto_scaling_group_name: "XmlStringMaxLen255", # required
|
6043
6085
|
# })
|
6044
6086
|
#
|
6045
6087
|
# @example Response structure
|
@@ -7021,7 +7063,7 @@ module Aws::AutoScaling
|
|
7021
7063
|
params: params,
|
7022
7064
|
config: config)
|
7023
7065
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
7024
|
-
context[:gem_version] = '1.
|
7066
|
+
context[:gem_version] = '1.95.0'
|
7025
7067
|
Seahorse::Client::Request.new(handlers, context)
|
7026
7068
|
end
|
7027
7069
|
|
@@ -1330,7 +1330,7 @@ module Aws::AutoScaling
|
|
1330
1330
|
RollbackInstanceRefreshAnswer.add_member(:instance_refresh_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "InstanceRefreshId"))
|
1331
1331
|
RollbackInstanceRefreshAnswer.struct_class = Types::RollbackInstanceRefreshAnswer
|
1332
1332
|
|
1333
|
-
RollbackInstanceRefreshType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
1333
|
+
RollbackInstanceRefreshType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
1334
1334
|
RollbackInstanceRefreshType.struct_class = Types::RollbackInstanceRefreshType
|
1335
1335
|
|
1336
1336
|
ScalingActivityInProgressFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
@@ -2009,6 +2009,12 @@ module Aws::AutoScaling
|
|
2009
2009
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
2010
2010
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
|
2011
2011
|
o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
|
2012
|
+
o[:pager] = Aws::Pager.new(
|
2013
|
+
limit_key: "max_records",
|
2014
|
+
tokens: {
|
2015
|
+
"next_token" => "next_token"
|
2016
|
+
}
|
2017
|
+
)
|
2012
2018
|
end)
|
2013
2019
|
|
2014
2020
|
api.add_operation(:detach_instances, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5842,7 +5842,7 @@ module Aws::AutoScaling
|
|
5842
5842
|
# The amount by which to scale, based on the specified adjustment
|
5843
5843
|
# type. A positive value adds to the current capacity while a negative
|
5844
5844
|
# number removes from the current capacity. For exact capacity, you
|
5845
|
-
# must specify a
|
5845
|
+
# must specify a non-negative value.
|
5846
5846
|
#
|
5847
5847
|
# Required if the policy type is `SimpleScaling`. (Not used with any
|
5848
5848
|
# other policy type.)
|
@@ -6986,13 +6986,8 @@ module Aws::AutoScaling
|
|
6986
6986
|
# @!attribute [rw] scaling_adjustment
|
6987
6987
|
# The amount by which to scale, based on the specified adjustment
|
6988
6988
|
# type. A positive value adds to the current capacity while a negative
|
6989
|
-
# number removes from the current capacity.
|
6990
|
-
#
|
6991
|
-
# The amount by which to scale. The adjustment is based on the value
|
6992
|
-
# that you specified in the `AdjustmentType` property (either an
|
6993
|
-
# absolute number or a percentage). A positive value adds to the
|
6994
|
-
# current capacity and a negative number subtracts from the current
|
6995
|
-
# capacity.
|
6989
|
+
# number removes from the current capacity. For exact capacity, you
|
6990
|
+
# must specify a non-negative value.
|
6996
6991
|
# @return [Integer]
|
6997
6992
|
#
|
6998
6993
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StepAdjustment AWS API Documentation
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-autoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.95.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: 2023-07-
|
11
|
+
date: 2023-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|