aws-sdk-autoscaling 1.58.0 → 1.59.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/client.rb +9 -7
- data/lib/aws-sdk-autoscaling/client_api.rb +7 -0
- data/lib/aws-sdk-autoscaling/types.rb +33 -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: dc3a48080fe94ce366f5e6dd885e82c1cd9aea11b564a1e815e78c7a9b55d950
|
4
|
+
data.tar.gz: b8042019d03bcdefb45d5f72f6cf1c6b3e79c44bf0a043d92af4d7206ab49b7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a04ba3cf7efb82abbdc81368bcb7caffad96f69b1f959a5116834f3e8b537e3ad8e2fb8f47c44c877ca66be7373e664544ba298e996e02afa205e74831c88560
|
7
|
+
data.tar.gz: 502ab35c2e6b91621375a287e65686004457a38d838810e2ecd6a849a51dc5724479bad4f7c138eb1b9710909b868b20a70ad43c124a9a2005b675d80162278e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.59.0
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -596,8 +596,8 @@ module Aws::AutoScaling
|
|
596
596
|
# not roll back any replacements that have already been completed, but
|
597
597
|
# it prevents new replacements from being started.
|
598
598
|
#
|
599
|
-
# For more information, see [Replacing Auto Scaling
|
600
|
-
# an
|
599
|
+
# For more information, see [Replacing Auto Scaling instances based on
|
600
|
+
# an instance refresh][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
601
601
|
#
|
602
602
|
#
|
603
603
|
#
|
@@ -2269,8 +2269,8 @@ module Aws::AutoScaling
|
|
2269
2269
|
#
|
2270
2270
|
# * `Cancelled` - The operation is cancelled.
|
2271
2271
|
#
|
2272
|
-
# For more information, see [Replacing Auto Scaling
|
2273
|
-
# an
|
2272
|
+
# For more information, see [Replacing Auto Scaling instances based on
|
2273
|
+
# an instance refresh][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
2274
2274
|
#
|
2275
2275
|
#
|
2276
2276
|
#
|
@@ -4869,8 +4869,8 @@ module Aws::AutoScaling
|
|
4869
4869
|
# API. To cancel an instance refresh operation in progress, use the
|
4870
4870
|
# CancelInstanceRefresh API.
|
4871
4871
|
#
|
4872
|
-
# For more information, see [Replacing Auto Scaling
|
4873
|
-
# an
|
4872
|
+
# For more information, see [Replacing Auto Scaling instances based on
|
4873
|
+
# an instance refresh][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4874
4874
|
#
|
4875
4875
|
#
|
4876
4876
|
#
|
@@ -4935,6 +4935,8 @@ module Aws::AutoScaling
|
|
4935
4935
|
# preferences: {
|
4936
4936
|
# min_healthy_percentage: 1,
|
4937
4937
|
# instance_warmup: 1,
|
4938
|
+
# checkpoint_percentages: [1],
|
4939
|
+
# checkpoint_delay: 1,
|
4938
4940
|
# },
|
4939
4941
|
# })
|
4940
4942
|
#
|
@@ -5406,7 +5408,7 @@ module Aws::AutoScaling
|
|
5406
5408
|
params: params,
|
5407
5409
|
config: config)
|
5408
5410
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
5409
|
-
context[:gem_version] = '1.
|
5411
|
+
context[:gem_version] = '1.59.0'
|
5410
5412
|
Seahorse::Client::Request.new(handlers, context)
|
5411
5413
|
end
|
5412
5414
|
|
@@ -59,6 +59,8 @@ module Aws::AutoScaling
|
|
59
59
|
CancelInstanceRefreshAnswer = Shapes::StructureShape.new(name: 'CancelInstanceRefreshAnswer')
|
60
60
|
CancelInstanceRefreshType = Shapes::StructureShape.new(name: 'CancelInstanceRefreshType')
|
61
61
|
CapacityRebalanceEnabled = Shapes::BooleanShape.new(name: 'CapacityRebalanceEnabled')
|
62
|
+
CheckpointDelay = Shapes::IntegerShape.new(name: 'CheckpointDelay')
|
63
|
+
CheckpointPercentages = Shapes::ListShape.new(name: 'CheckpointPercentages')
|
62
64
|
ClassicLinkVPCSecurityGroups = Shapes::ListShape.new(name: 'ClassicLinkVPCSecurityGroups')
|
63
65
|
CompleteLifecycleActionAnswer = Shapes::StructureShape.new(name: 'CompleteLifecycleActionAnswer')
|
64
66
|
CompleteLifecycleActionType = Shapes::StructureShape.new(name: 'CompleteLifecycleActionType')
|
@@ -192,6 +194,7 @@ module Aws::AutoScaling
|
|
192
194
|
MixedInstancesPolicy = Shapes::StructureShape.new(name: 'MixedInstancesPolicy')
|
193
195
|
MonitoringEnabled = Shapes::BooleanShape.new(name: 'MonitoringEnabled')
|
194
196
|
NoDevice = Shapes::BooleanShape.new(name: 'NoDevice')
|
197
|
+
NonZeroIntPercent = Shapes::IntegerShape.new(name: 'NonZeroIntPercent')
|
195
198
|
NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
|
196
199
|
NotificationConfigurations = Shapes::ListShape.new(name: 'NotificationConfigurations')
|
197
200
|
NotificationTargetResourceName = Shapes::StringShape.new(name: 'NotificationTargetResourceName')
|
@@ -429,6 +432,8 @@ module Aws::AutoScaling
|
|
429
432
|
CancelInstanceRefreshType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
430
433
|
CancelInstanceRefreshType.struct_class = Types::CancelInstanceRefreshType
|
431
434
|
|
435
|
+
CheckpointPercentages.member = Shapes::ShapeRef.new(shape: NonZeroIntPercent)
|
436
|
+
|
432
437
|
ClassicLinkVPCSecurityGroups.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
433
438
|
|
434
439
|
CompleteLifecycleActionAnswer.struct_class = Types::CompleteLifecycleActionAnswer
|
@@ -954,6 +959,8 @@ module Aws::AutoScaling
|
|
954
959
|
|
955
960
|
RefreshPreferences.add_member(:min_healthy_percentage, Shapes::ShapeRef.new(shape: IntPercent, location_name: "MinHealthyPercentage"))
|
956
961
|
RefreshPreferences.add_member(:instance_warmup, Shapes::ShapeRef.new(shape: RefreshInstanceWarmup, location_name: "InstanceWarmup"))
|
962
|
+
RefreshPreferences.add_member(:checkpoint_percentages, Shapes::ShapeRef.new(shape: CheckpointPercentages, location_name: "CheckpointPercentages"))
|
963
|
+
RefreshPreferences.add_member(:checkpoint_delay, Shapes::ShapeRef.new(shape: CheckpointDelay, location_name: "CheckpointDelay"))
|
957
964
|
RefreshPreferences.struct_class = Types::RefreshPreferences
|
958
965
|
|
959
966
|
ResourceContentionFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
@@ -4997,12 +4997,18 @@ module Aws::AutoScaling
|
|
4997
4997
|
|
4998
4998
|
# Describes information used to start an instance refresh.
|
4999
4999
|
#
|
5000
|
+
# All properties are optional. However, if you specify a value for
|
5001
|
+
# `CheckpointDelay`, you must also provide a value for
|
5002
|
+
# `CheckpointPercentages`.
|
5003
|
+
#
|
5000
5004
|
# @note When making an API call, you may pass RefreshPreferences
|
5001
5005
|
# data as a hash:
|
5002
5006
|
#
|
5003
5007
|
# {
|
5004
5008
|
# min_healthy_percentage: 1,
|
5005
5009
|
# instance_warmup: 1,
|
5010
|
+
# checkpoint_percentages: [1],
|
5011
|
+
# checkpoint_delay: 1,
|
5006
5012
|
# }
|
5007
5013
|
#
|
5008
5014
|
# @!attribute [rw] min_healthy_percentage
|
@@ -5020,11 +5026,35 @@ module Aws::AutoScaling
|
|
5020
5026
|
# the value for the health check grace period defined for the group.
|
5021
5027
|
# @return [Integer]
|
5022
5028
|
#
|
5029
|
+
# @!attribute [rw] checkpoint_percentages
|
5030
|
+
# Threshold values for each checkpoint in ascending order. Each number
|
5031
|
+
# must be unique. To replace all instances in the Auto Scaling group,
|
5032
|
+
# the last number in the array must be `100`.
|
5033
|
+
#
|
5034
|
+
# For usage examples, see [Adding checkpoints to an instance
|
5035
|
+
# refresh][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
5036
|
+
#
|
5037
|
+
#
|
5038
|
+
#
|
5039
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html
|
5040
|
+
# @return [Array<Integer>]
|
5041
|
+
#
|
5042
|
+
# @!attribute [rw] checkpoint_delay
|
5043
|
+
# The amount of time, in seconds, to wait after a checkpoint before
|
5044
|
+
# continuing. This property is optional, but if you specify a value
|
5045
|
+
# for it, you must also specify a value for `CheckpointPercentages`.
|
5046
|
+
# If you specify a value for `CheckpointPercentages` and not for
|
5047
|
+
# `CheckpointDelay`, the `CheckpointDelay` defaults to `3600` (1
|
5048
|
+
# hour).
|
5049
|
+
# @return [Integer]
|
5050
|
+
#
|
5023
5051
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RefreshPreferences AWS API Documentation
|
5024
5052
|
#
|
5025
5053
|
class RefreshPreferences < Struct.new(
|
5026
5054
|
:min_healthy_percentage,
|
5027
|
-
:instance_warmup
|
5055
|
+
:instance_warmup,
|
5056
|
+
:checkpoint_percentages,
|
5057
|
+
:checkpoint_delay)
|
5028
5058
|
SENSITIVE = []
|
5029
5059
|
include Aws::Structure
|
5030
5060
|
end
|
@@ -5568,6 +5598,8 @@ module Aws::AutoScaling
|
|
5568
5598
|
# preferences: {
|
5569
5599
|
# min_healthy_percentage: 1,
|
5570
5600
|
# instance_warmup: 1,
|
5601
|
+
# checkpoint_percentages: [1],
|
5602
|
+
# checkpoint_delay: 1,
|
5571
5603
|
# },
|
5572
5604
|
# }
|
5573
5605
|
#
|
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.59.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: 2021-03-
|
11
|
+
date: 2021-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|