aws-sdk-autoscaling 1.54.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 +375 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-autoscaling.rb +2 -2
- data/lib/aws-sdk-autoscaling/activity.rb +14 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +27 -9
- data/lib/aws-sdk-autoscaling/client.rb +66 -23
- data/lib/aws-sdk-autoscaling/client_api.rb +16 -1
- data/lib/aws-sdk-autoscaling/errors.rb +1 -1
- data/lib/aws-sdk-autoscaling/instance.rb +1 -1
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +1 -1
- data/lib/aws-sdk-autoscaling/lifecycle_hook.rb +1 -1
- data/lib/aws-sdk-autoscaling/load_balancer.rb +1 -1
- data/lib/aws-sdk-autoscaling/notification_configuration.rb +1 -1
- data/lib/aws-sdk-autoscaling/resource.rb +8 -4
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +1 -1
- data/lib/aws-sdk-autoscaling/scheduled_action.rb +7 -1
- data/lib/aws-sdk-autoscaling/tag.rb +1 -1
- data/lib/aws-sdk-autoscaling/types.rb +131 -38
- data/lib/aws-sdk-autoscaling/waiters.rb +1 -1
- metadata +6 -3
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.59.0
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -59,6 +59,6 @@ require_relative 'aws-sdk-autoscaling/customizations'
|
|
59
59
|
# @!group service
|
60
60
|
module Aws::AutoScaling
|
61
61
|
|
62
|
-
GEM_VERSION = '1.
|
62
|
+
GEM_VERSION = '1.59.0'
|
63
63
|
|
64
64
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -89,6 +89,19 @@ module Aws::AutoScaling
|
|
89
89
|
data[:details]
|
90
90
|
end
|
91
91
|
|
92
|
+
# The state of the Auto Scaling group, which is either `InService` or
|
93
|
+
# `Deleted`.
|
94
|
+
# @return [String]
|
95
|
+
def auto_scaling_group_state
|
96
|
+
data[:auto_scaling_group_state]
|
97
|
+
end
|
98
|
+
|
99
|
+
# The Amazon Resource Name (ARN) of the Auto Scaling group.
|
100
|
+
# @return [String]
|
101
|
+
def auto_scaling_group_arn
|
102
|
+
data[:auto_scaling_group_arn]
|
103
|
+
end
|
104
|
+
|
92
105
|
# @!endgroup
|
93
106
|
|
94
107
|
# @return [Client]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -730,6 +730,7 @@ module Aws::AutoScaling
|
|
730
730
|
# min_size: 1,
|
731
731
|
# max_size: 1,
|
732
732
|
# desired_capacity: 1,
|
733
|
+
# time_zone: "XmlStringMaxLen255",
|
733
734
|
# })
|
734
735
|
# @param [Hash] options ({})
|
735
736
|
# @option options [required, String] :scheduled_action_name
|
@@ -748,18 +749,19 @@ module Aws::AutoScaling
|
|
748
749
|
# If you try to schedule your action in the past, Amazon EC2 Auto
|
749
750
|
# Scaling returns an error message.
|
750
751
|
# @option options [Time,DateTime,Date,Integer,String] :end_time
|
751
|
-
# The date and time for the recurring schedule to end
|
752
|
-
# Scaling does not perform the action after this time.
|
752
|
+
# The date and time for the recurring schedule to end, in UTC.
|
753
753
|
# @option options [String] :recurrence
|
754
|
-
# The recurring schedule for this action
|
755
|
-
#
|
756
|
-
# \[
|
757
|
-
#
|
758
|
-
#
|
754
|
+
# The recurring schedule for this action. This format consists of five
|
755
|
+
# fields separated by white spaces: \[Minute\] \[Hour\]
|
756
|
+
# \[Day\_of\_Month\] \[Month\_of\_Year\] \[Day\_of\_Week\]. The value
|
757
|
+
# must be in quotes (for example, `"30 0 1 1,6,12 *"`). For more
|
758
|
+
# information about this format, see [Crontab][1].
|
759
759
|
#
|
760
760
|
# When `StartTime` and `EndTime` are specified with `Recurrence`, they
|
761
761
|
# form the boundaries of when the recurring action starts and stops.
|
762
762
|
#
|
763
|
+
# Cron expressions use Universal Coordinated Time (UTC) by default.
|
764
|
+
#
|
763
765
|
#
|
764
766
|
#
|
765
767
|
# [1]: http://crontab.org
|
@@ -772,6 +774,18 @@ module Aws::AutoScaling
|
|
772
774
|
# after the scheduled action runs and the capacity it attempts to
|
773
775
|
# maintain. It can scale beyond this capacity if you add more scaling
|
774
776
|
# conditions.
|
777
|
+
# @option options [String] :time_zone
|
778
|
+
# Specifies the time zone for a cron expression. If a time zone is not
|
779
|
+
# provided, UTC is used by default.
|
780
|
+
#
|
781
|
+
# Valid values are the canonical names of the IANA time zones, derived
|
782
|
+
# from the IANA Time Zone Database (such as `Etc/GMT+9` or
|
783
|
+
# `Pacific/Tahiti`). For more information, see
|
784
|
+
# [https://en.wikipedia.org/wiki/List\_of\_tz\_database\_time\_zones][1].
|
785
|
+
#
|
786
|
+
#
|
787
|
+
#
|
788
|
+
# [1]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
775
789
|
# @return [ScheduledAction]
|
776
790
|
def put_scheduled_update_group_action(options = {})
|
777
791
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -939,7 +953,7 @@ module Aws::AutoScaling
|
|
939
953
|
# `LaunchConfigurationName` or `MixedInstancesPolicy`.
|
940
954
|
# @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
|
941
955
|
# An embedded object that specifies a mixed instances policy. When you
|
942
|
-
# make changes to an existing policy, all optional
|
956
|
+
# make changes to an existing policy, all optional properties are left
|
943
957
|
# unchanged if not specified. For more information, see [Auto Scaling
|
944
958
|
# groups with multiple instance types and purchase options][1] in the
|
945
959
|
# *Amazon EC2 Auto Scaling User Guide*.
|
@@ -1076,6 +1090,7 @@ module Aws::AutoScaling
|
|
1076
1090
|
#
|
1077
1091
|
# activities = auto_scaling_group.activities({
|
1078
1092
|
# activity_ids: ["XmlString"],
|
1093
|
+
# include_deleted_groups: false,
|
1079
1094
|
# })
|
1080
1095
|
# @param [Hash] options ({})
|
1081
1096
|
# @option options [Array<String>] :activity_ids
|
@@ -1084,6 +1099,9 @@ module Aws::AutoScaling
|
|
1084
1099
|
# weeks are described. If unknown activities are requested, they are
|
1085
1100
|
# ignored with no error. If you specify an Auto Scaling group, the
|
1086
1101
|
# results are limited to that group.
|
1102
|
+
# @option options [Boolean] :include_deleted_groups
|
1103
|
+
# Indicates whether to include scaling activity from deleted Auto
|
1104
|
+
# Scaling groups.
|
1087
1105
|
# @return [Activity::Collection]
|
1088
1106
|
def activities(options = {})
|
1089
1107
|
batches = Enumerator.new do |y|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -546,8 +546,7 @@ module Aws::AutoScaling
|
|
546
546
|
end
|
547
547
|
|
548
548
|
# Creates or updates one or more scheduled scaling actions for an Auto
|
549
|
-
# Scaling group.
|
550
|
-
# scheduled scaling action, the corresponding value remains unchanged.
|
549
|
+
# Scaling group.
|
551
550
|
#
|
552
551
|
# @option params [required, String] :auto_scaling_group_name
|
553
552
|
# The name of the Auto Scaling group.
|
@@ -572,6 +571,7 @@ module Aws::AutoScaling
|
|
572
571
|
# min_size: 1,
|
573
572
|
# max_size: 1,
|
574
573
|
# desired_capacity: 1,
|
574
|
+
# time_zone: "XmlStringMaxLen255",
|
575
575
|
# },
|
576
576
|
# ],
|
577
577
|
# })
|
@@ -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
|
#
|
@@ -790,14 +790,14 @@ module Aws::AutoScaling
|
|
790
790
|
#
|
791
791
|
# @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
|
792
792
|
# An embedded object that specifies a mixed instances policy. The
|
793
|
-
# required
|
793
|
+
# required properties must be specified. If optional properties are
|
794
794
|
# unspecified, their default values are used.
|
795
795
|
#
|
796
|
-
# The policy includes
|
796
|
+
# The policy includes properties that not only define the distribution
|
797
797
|
# of On-Demand Instances and Spot Instances, the maximum price to pay
|
798
798
|
# for Spot Instances, and how the Auto Scaling group allocates instance
|
799
799
|
# types to fulfill On-Demand and Spot capacities, but also the
|
800
|
-
#
|
800
|
+
# properties that specify the instance configuration information—the
|
801
801
|
# launch template and instance types. The policy can also include a
|
802
802
|
# weight for each instance type and different launch templates for
|
803
803
|
# individual instance types. For more information, see [Auto Scaling
|
@@ -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
|
#
|
@@ -2969,6 +2969,17 @@ module Aws::AutoScaling
|
|
2969
2969
|
# Describes one or more scaling activities for the specified Auto
|
2970
2970
|
# Scaling group.
|
2971
2971
|
#
|
2972
|
+
# To view the scaling activities from the Amazon EC2 Auto Scaling
|
2973
|
+
# console, choose the **Activity** tab of the Auto Scaling group. When
|
2974
|
+
# scaling events occur, you see scaling activity messages in the
|
2975
|
+
# **Activity history**. For more information, see [Verifying a scaling
|
2976
|
+
# activity for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
2977
|
+
# User Guide*.
|
2978
|
+
#
|
2979
|
+
#
|
2980
|
+
#
|
2981
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html
|
2982
|
+
#
|
2972
2983
|
# @option params [Array<String>] :activity_ids
|
2973
2984
|
# The activity IDs of the desired scaling activities. You can specify up
|
2974
2985
|
# to 50 IDs. If you omit this parameter, all activities for the past six
|
@@ -2979,6 +2990,10 @@ module Aws::AutoScaling
|
|
2979
2990
|
# @option params [String] :auto_scaling_group_name
|
2980
2991
|
# The name of the Auto Scaling group.
|
2981
2992
|
#
|
2993
|
+
# @option params [Boolean] :include_deleted_groups
|
2994
|
+
# Indicates whether to include scaling activity from deleted Auto
|
2995
|
+
# Scaling groups.
|
2996
|
+
#
|
2982
2997
|
# @option params [Integer] :max_records
|
2983
2998
|
# The maximum number of items to return with this call. The default
|
2984
2999
|
# value is `100` and the maximum value is `100`.
|
@@ -3025,6 +3040,7 @@ module Aws::AutoScaling
|
|
3025
3040
|
# resp = client.describe_scaling_activities({
|
3026
3041
|
# activity_ids: ["XmlString"],
|
3027
3042
|
# auto_scaling_group_name: "XmlStringMaxLen255",
|
3043
|
+
# include_deleted_groups: false,
|
3028
3044
|
# max_records: 1,
|
3029
3045
|
# next_token: "XmlString",
|
3030
3046
|
# })
|
@@ -3042,6 +3058,8 @@ module Aws::AutoScaling
|
|
3042
3058
|
# resp.activities[0].status_message #=> String
|
3043
3059
|
# resp.activities[0].progress #=> Integer
|
3044
3060
|
# resp.activities[0].details #=> String
|
3061
|
+
# resp.activities[0].auto_scaling_group_state #=> String
|
3062
|
+
# resp.activities[0].auto_scaling_group_arn #=> String
|
3045
3063
|
# resp.next_token #=> String
|
3046
3064
|
#
|
3047
3065
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivities AWS API Documentation
|
@@ -3198,6 +3216,7 @@ module Aws::AutoScaling
|
|
3198
3216
|
# resp.scheduled_update_group_actions[0].min_size #=> Integer
|
3199
3217
|
# resp.scheduled_update_group_actions[0].max_size #=> Integer
|
3200
3218
|
# resp.scheduled_update_group_actions[0].desired_capacity #=> Integer
|
3219
|
+
# resp.scheduled_update_group_actions[0].time_zone #=> String
|
3201
3220
|
# resp.next_token #=> String
|
3202
3221
|
#
|
3203
3222
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActions AWS API Documentation
|
@@ -3447,6 +3466,8 @@ module Aws::AutoScaling
|
|
3447
3466
|
# resp.activities[0].status_message #=> String
|
3448
3467
|
# resp.activities[0].progress #=> Integer
|
3449
3468
|
# resp.activities[0].details #=> String
|
3469
|
+
# resp.activities[0].auto_scaling_group_state #=> String
|
3470
|
+
# resp.activities[0].auto_scaling_group_arn #=> String
|
3450
3471
|
#
|
3451
3472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstances AWS API Documentation
|
3452
3473
|
#
|
@@ -3773,6 +3794,8 @@ module Aws::AutoScaling
|
|
3773
3794
|
# resp.activities[0].status_message #=> String
|
3774
3795
|
# resp.activities[0].progress #=> Integer
|
3775
3796
|
# resp.activities[0].details #=> String
|
3797
|
+
# resp.activities[0].auto_scaling_group_state #=> String
|
3798
|
+
# resp.activities[0].auto_scaling_group_arn #=> String
|
3776
3799
|
#
|
3777
3800
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandby AWS API Documentation
|
3778
3801
|
#
|
@@ -3926,6 +3949,8 @@ module Aws::AutoScaling
|
|
3926
3949
|
# resp.activities[0].status_message #=> String
|
3927
3950
|
# resp.activities[0].progress #=> Integer
|
3928
3951
|
# resp.activities[0].details #=> String
|
3952
|
+
# resp.activities[0].auto_scaling_group_state #=> String
|
3953
|
+
# resp.activities[0].auto_scaling_group_arn #=> String
|
3929
3954
|
#
|
3930
3955
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandby AWS API Documentation
|
3931
3956
|
#
|
@@ -4387,8 +4412,7 @@ module Aws::AutoScaling
|
|
4387
4412
|
end
|
4388
4413
|
|
4389
4414
|
# Creates or updates a scheduled scaling action for an Auto Scaling
|
4390
|
-
# group.
|
4391
|
-
# scaling action, the corresponding value remains unchanged.
|
4415
|
+
# group.
|
4392
4416
|
#
|
4393
4417
|
# For more information, see [Scheduled scaling][1] in the *Amazon EC2
|
4394
4418
|
# Auto Scaling User Guide*.
|
@@ -4419,19 +4443,20 @@ module Aws::AutoScaling
|
|
4419
4443
|
# Scaling returns an error message.
|
4420
4444
|
#
|
4421
4445
|
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
4422
|
-
# The date and time for the recurring schedule to end
|
4423
|
-
# Scaling does not perform the action after this time.
|
4446
|
+
# The date and time for the recurring schedule to end, in UTC.
|
4424
4447
|
#
|
4425
4448
|
# @option params [String] :recurrence
|
4426
|
-
# The recurring schedule for this action
|
4427
|
-
#
|
4428
|
-
# \[
|
4429
|
-
#
|
4430
|
-
#
|
4449
|
+
# The recurring schedule for this action. This format consists of five
|
4450
|
+
# fields separated by white spaces: \[Minute\] \[Hour\]
|
4451
|
+
# \[Day\_of\_Month\] \[Month\_of\_Year\] \[Day\_of\_Week\]. The value
|
4452
|
+
# must be in quotes (for example, `"30 0 1 1,6,12 *"`). For more
|
4453
|
+
# information about this format, see [Crontab][1].
|
4431
4454
|
#
|
4432
4455
|
# When `StartTime` and `EndTime` are specified with `Recurrence`, they
|
4433
4456
|
# form the boundaries of when the recurring action starts and stops.
|
4434
4457
|
#
|
4458
|
+
# Cron expressions use Universal Coordinated Time (UTC) by default.
|
4459
|
+
#
|
4435
4460
|
#
|
4436
4461
|
#
|
4437
4462
|
# [1]: http://crontab.org
|
@@ -4448,6 +4473,19 @@ module Aws::AutoScaling
|
|
4448
4473
|
# maintain. It can scale beyond this capacity if you add more scaling
|
4449
4474
|
# conditions.
|
4450
4475
|
#
|
4476
|
+
# @option params [String] :time_zone
|
4477
|
+
# Specifies the time zone for a cron expression. If a time zone is not
|
4478
|
+
# provided, UTC is used by default.
|
4479
|
+
#
|
4480
|
+
# Valid values are the canonical names of the IANA time zones, derived
|
4481
|
+
# from the IANA Time Zone Database (such as `Etc/GMT+9` or
|
4482
|
+
# `Pacific/Tahiti`). For more information, see
|
4483
|
+
# [https://en.wikipedia.org/wiki/List\_of\_tz\_database\_time\_zones][1].
|
4484
|
+
#
|
4485
|
+
#
|
4486
|
+
#
|
4487
|
+
# [1]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
4488
|
+
#
|
4451
4489
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4452
4490
|
#
|
4453
4491
|
#
|
@@ -4477,6 +4515,7 @@ module Aws::AutoScaling
|
|
4477
4515
|
# min_size: 1,
|
4478
4516
|
# max_size: 1,
|
4479
4517
|
# desired_capacity: 1,
|
4518
|
+
# time_zone: "XmlStringMaxLen255",
|
4480
4519
|
# })
|
4481
4520
|
#
|
4482
4521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupAction AWS API Documentation
|
@@ -4830,8 +4869,8 @@ module Aws::AutoScaling
|
|
4830
4869
|
# API. To cancel an instance refresh operation in progress, use the
|
4831
4870
|
# CancelInstanceRefresh API.
|
4832
4871
|
#
|
4833
|
-
# For more information, see [Replacing Auto Scaling
|
4834
|
-
# 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*.
|
4835
4874
|
#
|
4836
4875
|
#
|
4837
4876
|
#
|
@@ -4896,6 +4935,8 @@ module Aws::AutoScaling
|
|
4896
4935
|
# preferences: {
|
4897
4936
|
# min_healthy_percentage: 1,
|
4898
4937
|
# instance_warmup: 1,
|
4938
|
+
# checkpoint_percentages: [1],
|
4939
|
+
# checkpoint_delay: 1,
|
4899
4940
|
# },
|
4900
4941
|
# })
|
4901
4942
|
#
|
@@ -5048,6 +5089,8 @@ module Aws::AutoScaling
|
|
5048
5089
|
# resp.activity.status_message #=> String
|
5049
5090
|
# resp.activity.progress #=> Integer
|
5050
5091
|
# resp.activity.details #=> String
|
5092
|
+
# resp.activity.auto_scaling_group_state #=> String
|
5093
|
+
# resp.activity.auto_scaling_group_arn #=> String
|
5051
5094
|
#
|
5052
5095
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroup AWS API Documentation
|
5053
5096
|
#
|
@@ -5122,7 +5165,7 @@ module Aws::AutoScaling
|
|
5122
5165
|
#
|
5123
5166
|
# @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
|
5124
5167
|
# An embedded object that specifies a mixed instances policy. When you
|
5125
|
-
# make changes to an existing policy, all optional
|
5168
|
+
# make changes to an existing policy, all optional properties are left
|
5126
5169
|
# unchanged if not specified. For more information, see [Auto Scaling
|
5127
5170
|
# groups with multiple instance types and purchase options][1] in the
|
5128
5171
|
# *Amazon EC2 Auto Scaling User Guide*.
|
@@ -5365,7 +5408,7 @@ module Aws::AutoScaling
|
|
5365
5408
|
params: params,
|
5366
5409
|
config: config)
|
5367
5410
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
5368
|
-
context[:gem_version] = '1.
|
5411
|
+
context[:gem_version] = '1.59.0'
|
5369
5412
|
Seahorse::Client::Request.new(handlers, context)
|
5370
5413
|
end
|
5371
5414
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -37,6 +37,7 @@ module Aws::AutoScaling
|
|
37
37
|
AutoScalingGroupMinSize = Shapes::IntegerShape.new(name: 'AutoScalingGroupMinSize')
|
38
38
|
AutoScalingGroupNames = Shapes::ListShape.new(name: 'AutoScalingGroupNames')
|
39
39
|
AutoScalingGroupNamesType = Shapes::StructureShape.new(name: 'AutoScalingGroupNamesType')
|
40
|
+
AutoScalingGroupState = Shapes::StringShape.new(name: 'AutoScalingGroupState')
|
40
41
|
AutoScalingGroups = Shapes::ListShape.new(name: 'AutoScalingGroups')
|
41
42
|
AutoScalingGroupsType = Shapes::StructureShape.new(name: 'AutoScalingGroupsType')
|
42
43
|
AutoScalingInstanceDetails = Shapes::StructureShape.new(name: 'AutoScalingInstanceDetails')
|
@@ -58,6 +59,8 @@ module Aws::AutoScaling
|
|
58
59
|
CancelInstanceRefreshAnswer = Shapes::StructureShape.new(name: 'CancelInstanceRefreshAnswer')
|
59
60
|
CancelInstanceRefreshType = Shapes::StructureShape.new(name: 'CancelInstanceRefreshType')
|
60
61
|
CapacityRebalanceEnabled = Shapes::BooleanShape.new(name: 'CapacityRebalanceEnabled')
|
62
|
+
CheckpointDelay = Shapes::IntegerShape.new(name: 'CheckpointDelay')
|
63
|
+
CheckpointPercentages = Shapes::ListShape.new(name: 'CheckpointPercentages')
|
61
64
|
ClassicLinkVPCSecurityGroups = Shapes::ListShape.new(name: 'ClassicLinkVPCSecurityGroups')
|
62
65
|
CompleteLifecycleActionAnswer = Shapes::StructureShape.new(name: 'CompleteLifecycleActionAnswer')
|
63
66
|
CompleteLifecycleActionType = Shapes::StructureShape.new(name: 'CompleteLifecycleActionType')
|
@@ -122,6 +125,7 @@ module Aws::AutoScaling
|
|
122
125
|
HealthCheckGracePeriod = Shapes::IntegerShape.new(name: 'HealthCheckGracePeriod')
|
123
126
|
HeartbeatTimeout = Shapes::IntegerShape.new(name: 'HeartbeatTimeout')
|
124
127
|
HonorCooldown = Shapes::BooleanShape.new(name: 'HonorCooldown')
|
128
|
+
IncludeDeletedGroups = Shapes::BooleanShape.new(name: 'IncludeDeletedGroups')
|
125
129
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
126
130
|
InstanceIds = Shapes::ListShape.new(name: 'InstanceIds')
|
127
131
|
InstanceMetadataEndpointState = Shapes::StringShape.new(name: 'InstanceMetadataEndpointState')
|
@@ -190,6 +194,7 @@ module Aws::AutoScaling
|
|
190
194
|
MixedInstancesPolicy = Shapes::StructureShape.new(name: 'MixedInstancesPolicy')
|
191
195
|
MonitoringEnabled = Shapes::BooleanShape.new(name: 'MonitoringEnabled')
|
192
196
|
NoDevice = Shapes::BooleanShape.new(name: 'NoDevice')
|
197
|
+
NonZeroIntPercent = Shapes::IntegerShape.new(name: 'NonZeroIntPercent')
|
193
198
|
NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
|
194
199
|
NotificationConfigurations = Shapes::ListShape.new(name: 'NotificationConfigurations')
|
195
200
|
NotificationTargetResourceName = Shapes::StringShape.new(name: 'NotificationTargetResourceName')
|
@@ -296,6 +301,8 @@ module Aws::AutoScaling
|
|
296
301
|
Activity.add_member(:status_message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "StatusMessage"))
|
297
302
|
Activity.add_member(:progress, Shapes::ShapeRef.new(shape: Progress, location_name: "Progress"))
|
298
303
|
Activity.add_member(:details, Shapes::ShapeRef.new(shape: XmlString, location_name: "Details"))
|
304
|
+
Activity.add_member(:auto_scaling_group_state, Shapes::ShapeRef.new(shape: AutoScalingGroupState, location_name: "AutoScalingGroupState"))
|
305
|
+
Activity.add_member(:auto_scaling_group_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "AutoScalingGroupARN"))
|
299
306
|
Activity.struct_class = Types::Activity
|
300
307
|
|
301
308
|
ActivityIds.member = Shapes::ShapeRef.new(shape: XmlString)
|
@@ -425,6 +432,8 @@ module Aws::AutoScaling
|
|
425
432
|
CancelInstanceRefreshType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
426
433
|
CancelInstanceRefreshType.struct_class = Types::CancelInstanceRefreshType
|
427
434
|
|
435
|
+
CheckpointPercentages.member = Shapes::ShapeRef.new(shape: NonZeroIntPercent)
|
436
|
+
|
428
437
|
ClassicLinkVPCSecurityGroups.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
429
438
|
|
430
439
|
CompleteLifecycleActionAnswer.struct_class = Types::CompleteLifecycleActionAnswer
|
@@ -594,6 +603,7 @@ module Aws::AutoScaling
|
|
594
603
|
|
595
604
|
DescribeScalingActivitiesType.add_member(:activity_ids, Shapes::ShapeRef.new(shape: ActivityIds, location_name: "ActivityIds"))
|
596
605
|
DescribeScalingActivitiesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
606
|
+
DescribeScalingActivitiesType.add_member(:include_deleted_groups, Shapes::ShapeRef.new(shape: IncludeDeletedGroups, location_name: "IncludeDeletedGroups"))
|
597
607
|
DescribeScalingActivitiesType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
598
608
|
DescribeScalingActivitiesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
599
609
|
DescribeScalingActivitiesType.struct_class = Types::DescribeScalingActivitiesType
|
@@ -936,6 +946,7 @@ module Aws::AutoScaling
|
|
936
946
|
PutScheduledUpdateGroupActionType.add_member(:min_size, Shapes::ShapeRef.new(shape: AutoScalingGroupMinSize, location_name: "MinSize"))
|
937
947
|
PutScheduledUpdateGroupActionType.add_member(:max_size, Shapes::ShapeRef.new(shape: AutoScalingGroupMaxSize, location_name: "MaxSize"))
|
938
948
|
PutScheduledUpdateGroupActionType.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: AutoScalingGroupDesiredCapacity, location_name: "DesiredCapacity"))
|
949
|
+
PutScheduledUpdateGroupActionType.add_member(:time_zone, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "TimeZone"))
|
939
950
|
PutScheduledUpdateGroupActionType.struct_class = Types::PutScheduledUpdateGroupActionType
|
940
951
|
|
941
952
|
RecordLifecycleActionHeartbeatAnswer.struct_class = Types::RecordLifecycleActionHeartbeatAnswer
|
@@ -948,6 +959,8 @@ module Aws::AutoScaling
|
|
948
959
|
|
949
960
|
RefreshPreferences.add_member(:min_healthy_percentage, Shapes::ShapeRef.new(shape: IntPercent, location_name: "MinHealthyPercentage"))
|
950
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"))
|
951
964
|
RefreshPreferences.struct_class = Types::RefreshPreferences
|
952
965
|
|
953
966
|
ResourceContentionFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
@@ -998,6 +1011,7 @@ module Aws::AutoScaling
|
|
998
1011
|
ScheduledUpdateGroupAction.add_member(:min_size, Shapes::ShapeRef.new(shape: AutoScalingGroupMinSize, location_name: "MinSize"))
|
999
1012
|
ScheduledUpdateGroupAction.add_member(:max_size, Shapes::ShapeRef.new(shape: AutoScalingGroupMaxSize, location_name: "MaxSize"))
|
1000
1013
|
ScheduledUpdateGroupAction.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: AutoScalingGroupDesiredCapacity, location_name: "DesiredCapacity"))
|
1014
|
+
ScheduledUpdateGroupAction.add_member(:time_zone, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "TimeZone"))
|
1001
1015
|
ScheduledUpdateGroupAction.struct_class = Types::ScheduledUpdateGroupAction
|
1002
1016
|
|
1003
1017
|
ScheduledUpdateGroupActionRequest.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "ScheduledActionName"))
|
@@ -1007,6 +1021,7 @@ module Aws::AutoScaling
|
|
1007
1021
|
ScheduledUpdateGroupActionRequest.add_member(:min_size, Shapes::ShapeRef.new(shape: AutoScalingGroupMinSize, location_name: "MinSize"))
|
1008
1022
|
ScheduledUpdateGroupActionRequest.add_member(:max_size, Shapes::ShapeRef.new(shape: AutoScalingGroupMaxSize, location_name: "MaxSize"))
|
1009
1023
|
ScheduledUpdateGroupActionRequest.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: AutoScalingGroupDesiredCapacity, location_name: "DesiredCapacity"))
|
1024
|
+
ScheduledUpdateGroupActionRequest.add_member(:time_zone, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "TimeZone"))
|
1010
1025
|
ScheduledUpdateGroupActionRequest.struct_class = Types::ScheduledUpdateGroupActionRequest
|
1011
1026
|
|
1012
1027
|
ScheduledUpdateGroupActionRequests.member = Shapes::ShapeRef.new(shape: ScheduledUpdateGroupActionRequest)
|