aws-sdk-autoscaling 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +44 -46
- data/lib/aws-sdk-autoscaling/client.rb +298 -198
- data/lib/aws-sdk-autoscaling/client_api.rb +60 -0
- data/lib/aws-sdk-autoscaling/instance.rb +8 -8
- data/lib/aws-sdk-autoscaling/lifecycle_hook.rb +35 -27
- data/lib/aws-sdk-autoscaling/resource.rb +53 -55
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +5 -5
- data/lib/aws-sdk-autoscaling/types.rb +373 -178
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b185ddd07b1b46bb673801138d4bfb14fc4d7624
|
4
|
+
data.tar.gz: c77d181c27f1216c6469ceb5d75eeffeb20cda16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e68cfe0ea1ac18a23abc54b3d2a7eb0e6e40d8e569fbf036f592c003f0e886b7029190c33ca344920ae8571daafdcc8b7df79e9c041546ab74b7b6d2f9a1c4f0
|
7
|
+
data.tar.gz: 96985de9e4fd67fff505fec92425d3c47e5cd43103b5a3f8dab2477f33b895e5ac54936bb592e065a5a6694df258daca191b9da0d774d133dcdd519aa3138ce1
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -100,9 +100,9 @@ module Aws::AutoScaling
|
|
100
100
|
data[:health_check_type]
|
101
101
|
end
|
102
102
|
|
103
|
-
# The amount of time, in seconds, that Auto Scaling waits
|
104
|
-
# checking the health status of an EC2 instance that has come
|
105
|
-
# service.
|
103
|
+
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
104
|
+
# before checking the health status of an EC2 instance that has come
|
105
|
+
# into service.
|
106
106
|
# @return [Integer]
|
107
107
|
def health_check_grace_period
|
108
108
|
data[:health_check_grace_period]
|
@@ -554,12 +554,12 @@ module Aws::AutoScaling
|
|
554
554
|
# This parameter is supported if the policy type is `SimpleScaling` or
|
555
555
|
# `StepScaling`.
|
556
556
|
#
|
557
|
-
# For more information, see [Dynamic Scaling][1] in the *Auto
|
558
|
-
# User Guide*.
|
557
|
+
# For more information, see [Dynamic Scaling][1] in the *Amazon EC2 Auto
|
558
|
+
# Scaling User Guide*.
|
559
559
|
#
|
560
560
|
#
|
561
561
|
#
|
562
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
562
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scale-based-on-demand.html
|
563
563
|
# @option options [Integer] :min_adjustment_step
|
564
564
|
# Available for backward compatibility. Use `MinAdjustmentMagnitude`
|
565
565
|
# instead.
|
@@ -585,12 +585,12 @@ module Aws::AutoScaling
|
|
585
585
|
#
|
586
586
|
# This parameter is supported if the policy type is `SimpleScaling`.
|
587
587
|
#
|
588
|
-
# For more information, see [
|
589
|
-
# Scaling User Guide*.
|
588
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
589
|
+
# Auto Scaling User Guide*.
|
590
590
|
#
|
591
591
|
#
|
592
592
|
#
|
593
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
593
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
594
594
|
# @option options [String] :metric_aggregation_type
|
595
595
|
# The aggregation type for the CloudWatch metrics. The valid values are
|
596
596
|
# `Minimum`, `Maximum`, and `Average`. If the aggregation type is null,
|
@@ -646,22 +646,22 @@ module Aws::AutoScaling
|
|
646
646
|
# The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format
|
647
647
|
# in UTC/GMT only (for example, `2014-06-01T00:00:00Z`).
|
648
648
|
#
|
649
|
-
# If you specify `Recurrence` and `StartTime`, Auto Scaling
|
650
|
-
# action at this time, and then performs the action based
|
651
|
-
# specified recurrence.
|
649
|
+
# If you specify `Recurrence` and `StartTime`, Amazon EC2 Auto Scaling
|
650
|
+
# performs the action at this time, and then performs the action based
|
651
|
+
# on the specified recurrence.
|
652
652
|
#
|
653
|
-
# If you try to schedule your action in the past,
|
654
|
-
# an error message.
|
653
|
+
# If you try to schedule your action in the past, Amazon EC2 Auto
|
654
|
+
# Scaling returns an error message.
|
655
655
|
# @option options [Time,DateTime,Date,Integer,String] :end_time
|
656
|
-
# The time for the recurring schedule to end. Auto Scaling
|
657
|
-
# perform the action after this time.
|
656
|
+
# The time for the recurring schedule to end. Amazon EC2 Auto Scaling
|
657
|
+
# does not perform the action after this time.
|
658
658
|
# @option options [String] :recurrence
|
659
659
|
# The recurring schedule for this action, in Unix cron syntax format.
|
660
|
-
# For more information, see [
|
660
|
+
# For more information about this format, see [Crontab][1].
|
661
661
|
#
|
662
662
|
#
|
663
663
|
#
|
664
|
-
# [1]: http://
|
664
|
+
# [1]: http://crontab.org
|
665
665
|
# @option options [Integer] :min_size
|
666
666
|
# The minimum size for the Auto Scaling group.
|
667
667
|
# @option options [Integer] :max_size
|
@@ -721,10 +721,11 @@ module Aws::AutoScaling
|
|
721
721
|
# The number of EC2 instances that should be running in the Auto Scaling
|
722
722
|
# group.
|
723
723
|
# @option options [Boolean] :honor_cooldown
|
724
|
-
# Indicates whether Auto Scaling waits for the cooldown
|
725
|
-
# complete before initiating a scaling activity to set your
|
726
|
-
# group to its new capacity. By default,
|
727
|
-
# cooldown period during manual scaling
|
724
|
+
# Indicates whether Amazon EC2 Auto Scaling waits for the cooldown
|
725
|
+
# period to complete before initiating a scaling activity to set your
|
726
|
+
# Auto Scaling group to its new capacity. By default, Amazon EC2 Auto
|
727
|
+
# Scaling does not honor the cooldown period during manual scaling
|
728
|
+
# activities.
|
728
729
|
# @return [EmptyStructure]
|
729
730
|
def set_desired_capacity(options = {})
|
730
731
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -805,28 +806,28 @@ module Aws::AutoScaling
|
|
805
806
|
# The amount of time, in seconds, after a scaling activity completes
|
806
807
|
# before another scaling activity can start. The default is 300.
|
807
808
|
#
|
808
|
-
# For more information, see [
|
809
|
-
# Scaling User Guide*.
|
809
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
810
|
+
# Auto Scaling User Guide*.
|
810
811
|
#
|
811
812
|
#
|
812
813
|
#
|
813
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
814
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
814
815
|
# @option options [Array<String>] :availability_zones
|
815
816
|
# One or more Availability Zones for the group.
|
816
817
|
# @option options [String] :health_check_type
|
817
818
|
# The service to use for the health checks. The valid values are `EC2`
|
818
819
|
# and `ELB`.
|
819
820
|
# @option options [Integer] :health_check_grace_period
|
820
|
-
# The amount of time, in seconds, that Auto Scaling waits
|
821
|
-
# checking the health status of an EC2 instance that has come
|
822
|
-
# service. The default is 0.
|
821
|
+
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
822
|
+
# before checking the health status of an EC2 instance that has come
|
823
|
+
# into service. The default is 0.
|
823
824
|
#
|
824
|
-
# For more information, see [Health Checks][1] in the *
|
825
|
-
# Guide*.
|
825
|
+
# For more information, see [Health Checks][1] in the *Amazon EC2 Auto
|
826
|
+
# Scaling User Guide*.
|
826
827
|
#
|
827
828
|
#
|
828
829
|
#
|
829
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
830
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
830
831
|
# @option options [String] :placement_group
|
831
832
|
# The name of the placement group into which you'll launch your
|
832
833
|
# instances, if any. For more information, see [Placement Groups][1] in
|
@@ -844,11 +845,11 @@ module Aws::AutoScaling
|
|
844
845
|
# `AvailabilityZones`.
|
845
846
|
#
|
846
847
|
# For more information, see [Launching Auto Scaling Instances in a
|
847
|
-
# VPC][1] in the *Auto Scaling User Guide*.
|
848
|
+
# VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
848
849
|
#
|
849
850
|
#
|
850
851
|
#
|
851
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
852
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
|
852
853
|
# @option options [Array<String>] :termination_policies
|
853
854
|
# A standalone termination policy or a list of termination policies used
|
854
855
|
# to select the instance to terminate. The policies are executed in the
|
@@ -859,7 +860,7 @@ module Aws::AutoScaling
|
|
859
860
|
#
|
860
861
|
#
|
861
862
|
#
|
862
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
863
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
|
863
864
|
# @option options [Boolean] :new_instances_protected_from_scale_in
|
864
865
|
# Indicates whether newly launched instances are protected from
|
865
866
|
# termination by Auto Scaling when scaling in.
|
@@ -885,11 +886,11 @@ module Aws::AutoScaling
|
|
885
886
|
# })
|
886
887
|
# @param [Hash] options ({})
|
887
888
|
# @option options [Array<String>] :activity_ids
|
888
|
-
# The activity IDs of the desired scaling activities.
|
889
|
-
# parameter, all activities for the past six
|
890
|
-
#
|
891
|
-
#
|
892
|
-
#
|
889
|
+
# The activity IDs of the desired scaling activities. You can specify up
|
890
|
+
# to 50 IDs. If you omit this parameter, all activities for the past six
|
891
|
+
# weeks are described. If unknown activities are requested, they are
|
892
|
+
# ignored with no error. If you specify an Auto Scaling group, the
|
893
|
+
# results are limited to that group.
|
893
894
|
# @return [Activity::Collection]
|
894
895
|
def activities(options = {})
|
895
896
|
batches = Enumerator.new do |y|
|
@@ -1086,13 +1087,10 @@ module Aws::AutoScaling
|
|
1086
1087
|
# })
|
1087
1088
|
# @param [Hash] options ({})
|
1088
1089
|
# @option options [Array<String>] :scheduled_action_names
|
1089
|
-
#
|
1090
|
-
#
|
1091
|
-
# scheduled action, it is ignored
|
1092
|
-
#
|
1093
|
-
# You can describe up to a maximum of 50 instances with a single call.
|
1094
|
-
# If there are more items to return, the call returns a token. To get
|
1095
|
-
# the next set of items, repeat the call with the returned token.
|
1090
|
+
# The names of one or more scheduled actions. You can specify up to 50
|
1091
|
+
# actions. If you omit this parameter, all scheduled actions are
|
1092
|
+
# described. If you specify an unknown scheduled action, it is ignored
|
1093
|
+
# with no error.
|
1096
1094
|
# @option options [Time,DateTime,Date,Integer,String] :start_time
|
1097
1095
|
# The earliest scheduled start time to return. If scheduled action names
|
1098
1096
|
# are provided, this parameter is ignored.
|
@@ -159,10 +159,11 @@ module Aws::AutoScaling
|
|
159
159
|
# Attaches one or more EC2 instances to the specified Auto Scaling
|
160
160
|
# group.
|
161
161
|
#
|
162
|
-
# When you attach instances, Auto Scaling increases the
|
163
|
-
# of the group by the number of instances being
|
164
|
-
# of instances being attached plus the desired
|
165
|
-
# exceeds the maximum size of the group, the
|
162
|
+
# When you attach instances, Amazon EC2 Auto Scaling increases the
|
163
|
+
# desired capacity of the group by the number of instances being
|
164
|
+
# attached. If the number of instances being attached plus the desired
|
165
|
+
# capacity of the group exceeds the maximum size of the group, the
|
166
|
+
# operation fails.
|
166
167
|
#
|
167
168
|
# If there is a Classic Load Balancer attached to your Auto Scaling
|
168
169
|
# group, the instances are also registered with the load balancer. If
|
@@ -170,11 +171,11 @@ module Aws::AutoScaling
|
|
170
171
|
# instances are also registered with the target groups.
|
171
172
|
#
|
172
173
|
# For more information, see [Attach EC2 Instances to Your Auto Scaling
|
173
|
-
# Group][1] in the *Auto Scaling User Guide*.
|
174
|
+
# Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
174
175
|
#
|
175
176
|
#
|
176
177
|
#
|
177
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
178
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html
|
178
179
|
#
|
179
180
|
# @option params [Array<String>] :instance_ids
|
180
181
|
# The IDs of the instances. You can specify up to 20 instances.
|
@@ -220,11 +221,11 @@ module Aws::AutoScaling
|
|
220
221
|
# Auto Scaling group, use DetachLoadBalancerTargetGroups.
|
221
222
|
#
|
222
223
|
# For more information, see [Attach a Load Balancer to Your Auto Scaling
|
223
|
-
# Group][1] in the *Auto Scaling User Guide*.
|
224
|
+
# Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
224
225
|
#
|
225
226
|
#
|
226
227
|
#
|
227
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
228
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-load-balancer-asg.html
|
228
229
|
#
|
229
230
|
# @option params [required, String] :auto_scaling_group_name
|
230
231
|
# The name of the Auto Scaling group.
|
@@ -274,11 +275,11 @@ module Aws::AutoScaling
|
|
274
275
|
# Scaling group, use DetachLoadBalancers.
|
275
276
|
#
|
276
277
|
# For more information, see [Attach a Load Balancer to Your Auto Scaling
|
277
|
-
# Group][1] in the *Auto Scaling User Guide*.
|
278
|
+
# Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
278
279
|
#
|
279
280
|
#
|
280
281
|
#
|
281
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
282
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-load-balancer-asg.html
|
282
283
|
#
|
283
284
|
# @option params [required, String] :auto_scaling_group_name
|
284
285
|
# The name of the Auto Scaling group.
|
@@ -317,6 +318,90 @@ module Aws::AutoScaling
|
|
317
318
|
req.send_request(options)
|
318
319
|
end
|
319
320
|
|
321
|
+
# Deletes one or more scheduled actions for the specified Auto Scaling
|
322
|
+
# group.
|
323
|
+
#
|
324
|
+
# @option params [required, String] :auto_scaling_group_name
|
325
|
+
# The name of the Auto Scaling group.
|
326
|
+
#
|
327
|
+
# @option params [required, Array<String>] :scheduled_action_names
|
328
|
+
# The names of the scheduled actions to delete. The maximum number
|
329
|
+
# allowed is 50.
|
330
|
+
#
|
331
|
+
# @return [Types::BatchDeleteScheduledActionAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
332
|
+
#
|
333
|
+
# * {Types::BatchDeleteScheduledActionAnswer#failed_scheduled_actions #failed_scheduled_actions} => Array<Types::FailedScheduledUpdateGroupActionRequest>
|
334
|
+
#
|
335
|
+
# @example Request syntax with placeholder values
|
336
|
+
#
|
337
|
+
# resp = client.batch_delete_scheduled_action({
|
338
|
+
# auto_scaling_group_name: "ResourceName", # required
|
339
|
+
# scheduled_action_names: ["ResourceName"], # required
|
340
|
+
# })
|
341
|
+
#
|
342
|
+
# @example Response structure
|
343
|
+
#
|
344
|
+
# resp.failed_scheduled_actions #=> Array
|
345
|
+
# resp.failed_scheduled_actions[0].scheduled_action_name #=> String
|
346
|
+
# resp.failed_scheduled_actions[0].error_code #=> String
|
347
|
+
# resp.failed_scheduled_actions[0].error_message #=> String
|
348
|
+
#
|
349
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchDeleteScheduledAction AWS API Documentation
|
350
|
+
#
|
351
|
+
# @overload batch_delete_scheduled_action(params = {})
|
352
|
+
# @param [Hash] params ({})
|
353
|
+
def batch_delete_scheduled_action(params = {}, options = {})
|
354
|
+
req = build_request(:batch_delete_scheduled_action, params)
|
355
|
+
req.send_request(options)
|
356
|
+
end
|
357
|
+
|
358
|
+
# Creates or updates one or more scheduled scaling actions for an Auto
|
359
|
+
# Scaling group. When updating a scheduled scaling action, if you leave
|
360
|
+
# a parameter unspecified, the corresponding value remains unchanged.
|
361
|
+
#
|
362
|
+
# @option params [required, String] :auto_scaling_group_name
|
363
|
+
# The name of the Auto Scaling group.
|
364
|
+
#
|
365
|
+
# @option params [required, Array<Types::ScheduledUpdateGroupActionRequest>] :scheduled_update_group_actions
|
366
|
+
# One or more scheduled actions. The maximum number allowed is 50.
|
367
|
+
#
|
368
|
+
# @return [Types::BatchPutScheduledUpdateGroupActionAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
369
|
+
#
|
370
|
+
# * {Types::BatchPutScheduledUpdateGroupActionAnswer#failed_scheduled_update_group_actions #failed_scheduled_update_group_actions} => Array<Types::FailedScheduledUpdateGroupActionRequest>
|
371
|
+
#
|
372
|
+
# @example Request syntax with placeholder values
|
373
|
+
#
|
374
|
+
# resp = client.batch_put_scheduled_update_group_action({
|
375
|
+
# auto_scaling_group_name: "ResourceName", # required
|
376
|
+
# scheduled_update_group_actions: [ # required
|
377
|
+
# {
|
378
|
+
# scheduled_action_name: "XmlStringMaxLen255", # required
|
379
|
+
# start_time: Time.now,
|
380
|
+
# end_time: Time.now,
|
381
|
+
# recurrence: "XmlStringMaxLen255",
|
382
|
+
# min_size: 1,
|
383
|
+
# max_size: 1,
|
384
|
+
# desired_capacity: 1,
|
385
|
+
# },
|
386
|
+
# ],
|
387
|
+
# })
|
388
|
+
#
|
389
|
+
# @example Response structure
|
390
|
+
#
|
391
|
+
# resp.failed_scheduled_update_group_actions #=> Array
|
392
|
+
# resp.failed_scheduled_update_group_actions[0].scheduled_action_name #=> String
|
393
|
+
# resp.failed_scheduled_update_group_actions[0].error_code #=> String
|
394
|
+
# resp.failed_scheduled_update_group_actions[0].error_message #=> String
|
395
|
+
#
|
396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchPutScheduledUpdateGroupAction AWS API Documentation
|
397
|
+
#
|
398
|
+
# @overload batch_put_scheduled_update_group_action(params = {})
|
399
|
+
# @param [Hash] params ({})
|
400
|
+
def batch_put_scheduled_update_group_action(params = {}, options = {})
|
401
|
+
req = build_request(:batch_put_scheduled_update_group_action, params)
|
402
|
+
req.send_request(options)
|
403
|
+
end
|
404
|
+
|
320
405
|
# Completes the lifecycle action for the specified token or instance
|
321
406
|
# with the specified result.
|
322
407
|
#
|
@@ -324,13 +409,13 @@ module Aws::AutoScaling
|
|
324
409
|
# Auto Scaling group:
|
325
410
|
#
|
326
411
|
# 1. (Optional) Create a Lambda function and a rule that allows
|
327
|
-
# CloudWatch Events to invoke your Lambda function when
|
328
|
-
# launches or terminates instances.
|
412
|
+
# CloudWatch Events to invoke your Lambda function when Amazon EC2
|
413
|
+
# Auto Scaling launches or terminates instances.
|
329
414
|
#
|
330
415
|
# 2. (Optional) Create a notification target and an IAM role. The
|
331
416
|
# target can be either an Amazon SQS queue or an Amazon SNS topic.
|
332
|
-
# The role allows Auto Scaling to publish lifecycle
|
333
|
-
# the target.
|
417
|
+
# The role allows Amazon EC2 Auto Scaling to publish lifecycle
|
418
|
+
# notifications to the target.
|
334
419
|
#
|
335
420
|
# 3. Create the lifecycle hook. Specify whether the hook is used when
|
336
421
|
# the instances launch or terminate.
|
@@ -341,12 +426,12 @@ module Aws::AutoScaling
|
|
341
426
|
# 5. **If you finish before the timeout period ends, complete the
|
342
427
|
# lifecycle action.**
|
343
428
|
#
|
344
|
-
# For more information, see [Auto Scaling Lifecycle][1] in the *
|
345
|
-
# Scaling User Guide*.
|
429
|
+
# For more information, see [Auto Scaling Lifecycle][1] in the *Amazon
|
430
|
+
# EC2 Auto Scaling User Guide*.
|
346
431
|
#
|
347
432
|
#
|
348
433
|
#
|
349
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
434
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
|
350
435
|
#
|
351
436
|
# @option params [required, String] :lifecycle_hook_name
|
352
437
|
# The name of the lifecycle hook.
|
@@ -356,9 +441,9 @@ module Aws::AutoScaling
|
|
356
441
|
#
|
357
442
|
# @option params [String] :lifecycle_action_token
|
358
443
|
# A universally unique identifier (UUID) that identifies a specific
|
359
|
-
# lifecycle action associated with an instance. Auto Scaling
|
360
|
-
# token to the notification target you specified when you
|
361
|
-
# lifecycle hook.
|
444
|
+
# lifecycle action associated with an instance. Amazon EC2 Auto Scaling
|
445
|
+
# sends this token to the notification target you specified when you
|
446
|
+
# created the lifecycle hook.
|
362
447
|
#
|
363
448
|
# @option params [required, String] :lifecycle_action_result
|
364
449
|
# The action for the group to take. This parameter can be either
|
@@ -406,15 +491,15 @@ module Aws::AutoScaling
|
|
406
491
|
# If you exceed your maximum limit of Auto Scaling groups, the call
|
407
492
|
# fails. For information about viewing this limit, see
|
408
493
|
# DescribeAccountLimits. For information about updating this limit, see
|
409
|
-
# [Auto Scaling Limits][1] in the *Auto Scaling User Guide*.
|
494
|
+
# [Auto Scaling Limits][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
410
495
|
#
|
411
|
-
# For more information, see [Auto Scaling Groups][2] in the *
|
412
|
-
# Scaling User Guide*.
|
496
|
+
# For more information, see [Auto Scaling Groups][2] in the *Amazon EC2
|
497
|
+
# Auto Scaling User Guide*.
|
413
498
|
#
|
414
499
|
#
|
415
500
|
#
|
416
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
417
|
-
# [2]: http://docs.aws.amazon.com/autoscaling/
|
501
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html
|
502
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html
|
418
503
|
#
|
419
504
|
# @option params [required, String] :auto_scaling_group_name
|
420
505
|
# The name of the Auto Scaling group. This name must be unique within
|
@@ -435,17 +520,17 @@ module Aws::AutoScaling
|
|
435
520
|
# group. You must specify one of the following: an EC2 instance, a
|
436
521
|
# launch configuration, or a launch template.
|
437
522
|
#
|
438
|
-
# When you specify an ID of an instance, Auto Scaling creates
|
439
|
-
# launch configuration and associates it with the group. This
|
440
|
-
# configuration derives its attributes from the specified
|
441
|
-
# the exception of the block device mapping.
|
523
|
+
# When you specify an ID of an instance, Amazon EC2 Auto Scaling creates
|
524
|
+
# a new launch configuration and associates it with the group. This
|
525
|
+
# launch configuration derives its attributes from the specified
|
526
|
+
# instance, with the exception of the block device mapping.
|
442
527
|
#
|
443
528
|
# For more information, see [Create an Auto Scaling Group Using an EC2
|
444
|
-
# Instance][1] in the *Auto Scaling User Guide*.
|
529
|
+
# Instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
445
530
|
#
|
446
531
|
#
|
447
532
|
#
|
448
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
533
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
|
449
534
|
#
|
450
535
|
# @option params [required, Integer] :min_size
|
451
536
|
# The minimum size of the group.
|
@@ -464,12 +549,12 @@ module Aws::AutoScaling
|
|
464
549
|
# The amount of time, in seconds, after a scaling activity completes
|
465
550
|
# before another scaling activity can start. The default is 300.
|
466
551
|
#
|
467
|
-
# For more information, see [
|
468
|
-
# Scaling User Guide*.
|
552
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
553
|
+
# Auto Scaling User Guide*.
|
469
554
|
#
|
470
555
|
#
|
471
556
|
#
|
472
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
557
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
473
558
|
#
|
474
559
|
# @option params [Array<String>] :availability_zones
|
475
560
|
# One or more Availability Zones for the group. This parameter is
|
@@ -480,11 +565,11 @@ module Aws::AutoScaling
|
|
480
565
|
# Balancer, use `TargetGroupARNs` instead.
|
481
566
|
#
|
482
567
|
# For more information, see [Using a Load Balancer With an Auto Scaling
|
483
|
-
# Group][1] in the *Auto Scaling User Guide*.
|
568
|
+
# Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
484
569
|
#
|
485
570
|
#
|
486
571
|
#
|
487
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
572
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
|
488
573
|
#
|
489
574
|
# @option params [Array<String>] :target_group_arns
|
490
575
|
# The Amazon Resource Names (ARN) of the target groups.
|
@@ -495,26 +580,26 @@ module Aws::AutoScaling
|
|
495
580
|
#
|
496
581
|
# By default, health checks use Amazon EC2 instance status checks to
|
497
582
|
# determine the health of an instance. For more information, see [Health
|
498
|
-
# Checks][1] in the *Auto Scaling User Guide*.
|
583
|
+
# Checks][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
499
584
|
#
|
500
585
|
#
|
501
586
|
#
|
502
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
587
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
503
588
|
#
|
504
589
|
# @option params [Integer] :health_check_grace_period
|
505
|
-
# The amount of time, in seconds, that Auto Scaling waits
|
506
|
-
# checking the health status of an EC2 instance that has come
|
507
|
-
# service. During this time, any health check failures for the
|
508
|
-
# are ignored. The default is 0.
|
590
|
+
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
591
|
+
# before checking the health status of an EC2 instance that has come
|
592
|
+
# into service. During this time, any health check failures for the
|
593
|
+
# instance are ignored. The default is 0.
|
509
594
|
#
|
510
595
|
# This parameter is required if you are adding an `ELB` health check.
|
511
596
|
#
|
512
|
-
# For more information, see [Health Checks][1] in the *
|
513
|
-
# Guide*.
|
597
|
+
# For more information, see [Health Checks][1] in the *Amazon EC2 Auto
|
598
|
+
# Scaling User Guide*.
|
514
599
|
#
|
515
600
|
#
|
516
601
|
#
|
517
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
602
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
518
603
|
#
|
519
604
|
# @option params [String] :placement_group
|
520
605
|
# The name of the placement group into which you'll launch your
|
@@ -534,11 +619,11 @@ module Aws::AutoScaling
|
|
534
619
|
# specified.
|
535
620
|
#
|
536
621
|
# For more information, see [Launching Auto Scaling Instances in a
|
537
|
-
# VPC][1] in the *Auto Scaling User Guide*.
|
622
|
+
# VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
538
623
|
#
|
539
624
|
#
|
540
625
|
#
|
541
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
626
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
|
542
627
|
#
|
543
628
|
# @option params [Array<String>] :termination_policies
|
544
629
|
# One or more termination policies used to select the instance to
|
@@ -550,7 +635,7 @@ module Aws::AutoScaling
|
|
550
635
|
#
|
551
636
|
#
|
552
637
|
#
|
553
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
638
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
|
554
639
|
#
|
555
640
|
# @option params [Boolean] :new_instances_protected_from_scale_in
|
556
641
|
# Indicates whether newly launched instances are protected from
|
@@ -563,16 +648,16 @@ module Aws::AutoScaling
|
|
563
648
|
# One or more tags.
|
564
649
|
#
|
565
650
|
# For more information, see [Tagging Auto Scaling Groups and
|
566
|
-
# Instances][1] in the *Auto Scaling User Guide*.
|
651
|
+
# Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
567
652
|
#
|
568
653
|
#
|
569
654
|
#
|
570
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
655
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html
|
571
656
|
#
|
572
657
|
# @option params [String] :service_linked_role_arn
|
573
658
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
574
659
|
# Auto Scaling group uses to call other AWS services on your behalf. By
|
575
|
-
# default, Auto Scaling uses a service-linked role named
|
660
|
+
# default, Amazon EC2 Auto Scaling uses a service-linked role named
|
576
661
|
# AWSServiceRoleForAutoScaling, which it creates if it does not exist.
|
577
662
|
#
|
578
663
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -687,15 +772,15 @@ module Aws::AutoScaling
|
|
687
772
|
# If you exceed your maximum limit of launch configurations, the call
|
688
773
|
# fails. For information about viewing this limit, see
|
689
774
|
# DescribeAccountLimits. For information about updating this limit, see
|
690
|
-
# [Auto Scaling Limits][1] in the *Auto Scaling User Guide*.
|
775
|
+
# [Auto Scaling Limits][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
691
776
|
#
|
692
|
-
# For more information, see [Launch Configurations][2] in the *
|
693
|
-
# Scaling User Guide*.
|
777
|
+
# For more information, see [Launch Configurations][2] in the *Amazon
|
778
|
+
# EC2 Auto Scaling User Guide*.
|
694
779
|
#
|
695
780
|
#
|
696
781
|
#
|
697
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
698
|
-
# [2]: http://docs.aws.amazon.com/autoscaling/
|
782
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html
|
783
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html
|
699
784
|
#
|
700
785
|
# @option params [required, String] :launch_configuration_name
|
701
786
|
# The name of the launch configuration. This name must be unique within
|
@@ -782,11 +867,11 @@ module Aws::AutoScaling
|
|
782
867
|
# same request.
|
783
868
|
#
|
784
869
|
# For more information, see [Create a Launch Configuration Using an EC2
|
785
|
-
# Instance][1] in the *Auto Scaling User Guide*.
|
870
|
+
# Instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
786
871
|
#
|
787
872
|
#
|
788
873
|
#
|
789
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
874
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html
|
790
875
|
#
|
791
876
|
# @option params [String] :instance_type
|
792
877
|
# The instance type of the EC2 instance.
|
@@ -824,26 +909,26 @@ module Aws::AutoScaling
|
|
824
909
|
# fulfill the request. Spot Instances are launched when the price you
|
825
910
|
# specify exceeds the current Spot market price. For more information,
|
826
911
|
# see [Launching Spot Instances in Your Auto Scaling Group][1] in the
|
827
|
-
# *Auto Scaling User Guide*.
|
912
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
828
913
|
#
|
829
914
|
#
|
830
915
|
#
|
831
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
916
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html
|
832
917
|
#
|
833
918
|
# @option params [String] :iam_instance_profile
|
834
919
|
# The name or the Amazon Resource Name (ARN) of the instance profile
|
835
920
|
# associated with the IAM role for the instance.
|
836
921
|
#
|
837
922
|
# EC2 instances launched with an IAM role will automatically have AWS
|
838
|
-
# security credentials available. You can use IAM roles with
|
839
|
-
# Scaling to automatically enable applications running on your EC2
|
923
|
+
# security credentials available. You can use IAM roles with Amazon EC2
|
924
|
+
# Auto Scaling to automatically enable applications running on your EC2
|
840
925
|
# instances to securely access other AWS resources. For more
|
841
926
|
# information, see [Launch Auto Scaling Instances with an IAM Role][1]
|
842
|
-
# in the *Auto Scaling User Guide*.
|
927
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
843
928
|
#
|
844
929
|
#
|
845
930
|
#
|
846
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
931
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html
|
847
932
|
#
|
848
933
|
# @option params [Boolean] :ebs_optimized
|
849
934
|
# Indicates whether the instance is optimized for Amazon EBS I/O. By
|
@@ -862,7 +947,7 @@ module Aws::AutoScaling
|
|
862
947
|
# Used for groups that launch instances into a virtual private cloud
|
863
948
|
# (VPC). Specifies whether to assign a public IP address to each
|
864
949
|
# instance. For more information, see [Launching Auto Scaling Instances
|
865
|
-
# in a VPC][1] in the *Auto Scaling User Guide*.
|
950
|
+
# in a VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
866
951
|
#
|
867
952
|
# If you specify this parameter, be sure to specify at least one subnet
|
868
953
|
# when you create your group.
|
@@ -874,7 +959,7 @@ module Aws::AutoScaling
|
|
874
959
|
#
|
875
960
|
#
|
876
961
|
#
|
877
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
962
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
|
878
963
|
#
|
879
964
|
# @option params [String] :placement_tenancy
|
880
965
|
# The tenancy of the instance. An instance with a tenancy of `dedicated`
|
@@ -888,13 +973,13 @@ module Aws::AutoScaling
|
|
888
973
|
# when you create your group.
|
889
974
|
#
|
890
975
|
# For more information, see [Launching Auto Scaling Instances in a
|
891
|
-
# VPC][1] in the *Auto Scaling User Guide*.
|
976
|
+
# VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
892
977
|
#
|
893
978
|
# Valid values: `default` \| `dedicated`
|
894
979
|
#
|
895
980
|
#
|
896
981
|
#
|
897
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
982
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
|
898
983
|
#
|
899
984
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
900
985
|
#
|
@@ -968,11 +1053,11 @@ module Aws::AutoScaling
|
|
968
1053
|
# message.
|
969
1054
|
#
|
970
1055
|
# For more information, see [Tagging Auto Scaling Groups and
|
971
|
-
# Instances][1] in the *Auto Scaling User Guide*.
|
1056
|
+
# Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
972
1057
|
#
|
973
1058
|
#
|
974
1059
|
#
|
975
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
1060
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html
|
976
1061
|
#
|
977
1062
|
# @option params [required, Array<Types::Tag>] :tags
|
978
1063
|
# One or more tags.
|
@@ -1037,8 +1122,8 @@ module Aws::AutoScaling
|
|
1037
1122
|
#
|
1038
1123
|
# To remove instances from the Auto Scaling group before deleting it,
|
1039
1124
|
# call DetachInstances with the list of instances and the option to
|
1040
|
-
# decrement the desired capacity so that Auto Scaling does
|
1041
|
-
# replacement instances.
|
1125
|
+
# decrement the desired capacity so that Amazon EC2 Auto Scaling does
|
1126
|
+
# not launch replacement instances.
|
1042
1127
|
#
|
1043
1128
|
# To terminate all instances before deleting the Auto Scaling group,
|
1044
1129
|
# call UpdateAutoScalingGroup and set the minimum size and desired
|
@@ -1326,11 +1411,11 @@ module Aws::AutoScaling
|
|
1326
1411
|
# account.
|
1327
1412
|
#
|
1328
1413
|
# For information about requesting an increase in these limits, see
|
1329
|
-
# [Auto Scaling Limits][1] in the *Auto Scaling User Guide*.
|
1414
|
+
# [Auto Scaling Limits][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1330
1415
|
#
|
1331
1416
|
#
|
1332
1417
|
#
|
1333
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
1418
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html
|
1334
1419
|
#
|
1335
1420
|
# @return [Types::DescribeAccountLimitsAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1336
1421
|
#
|
@@ -1417,8 +1502,9 @@ module Aws::AutoScaling
|
|
1417
1502
|
# Describes one or more Auto Scaling groups.
|
1418
1503
|
#
|
1419
1504
|
# @option params [Array<String>] :auto_scaling_group_names
|
1420
|
-
# The names of the Auto Scaling groups.
|
1421
|
-
#
|
1505
|
+
# The names of the Auto Scaling groups. You can specify up to
|
1506
|
+
# `MaxRecords` names. If you omit this parameter, all Auto Scaling
|
1507
|
+
# groups are described.
|
1422
1508
|
#
|
1423
1509
|
# @option params [String] :next_token
|
1424
1510
|
# The token for the next set of items to return. (You received this
|
@@ -1561,9 +1647,9 @@ module Aws::AutoScaling
|
|
1561
1647
|
# Describes one or more Auto Scaling instances.
|
1562
1648
|
#
|
1563
1649
|
# @option params [Array<String>] :instance_ids
|
1564
|
-
# The instances
|
1565
|
-
# parameter, all Auto Scaling instances are described. If
|
1566
|
-
# ID that does not exist, it is ignored with no error.
|
1650
|
+
# The IDs of the instances. You can specify up to `MaxRecords` IDs. If
|
1651
|
+
# you omit this parameter, all Auto Scaling instances are described. If
|
1652
|
+
# you specify an ID that does not exist, it is ignored with no error.
|
1567
1653
|
#
|
1568
1654
|
# @option params [Integer] :max_records
|
1569
1655
|
# The maximum number of items to return with this call. The default
|
@@ -1636,7 +1722,8 @@ module Aws::AutoScaling
|
|
1636
1722
|
req.send_request(options)
|
1637
1723
|
end
|
1638
1724
|
|
1639
|
-
# Describes the notification types that are supported by Auto
|
1725
|
+
# Describes the notification types that are supported by Amazon EC2 Auto
|
1726
|
+
# Scaling.
|
1640
1727
|
#
|
1641
1728
|
# @return [Types::DescribeAutoScalingNotificationTypesAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1642
1729
|
#
|
@@ -1782,6 +1869,12 @@ module Aws::AutoScaling
|
|
1782
1869
|
|
1783
1870
|
# Describes the available types of lifecycle hooks.
|
1784
1871
|
#
|
1872
|
+
# The following hook types are supported:
|
1873
|
+
#
|
1874
|
+
# * autoscaling:EC2\_INSTANCE\_LAUNCHING
|
1875
|
+
#
|
1876
|
+
# * autoscaling:EC2\_INSTANCE\_TERMINATING
|
1877
|
+
#
|
1785
1878
|
# @return [Types::DescribeLifecycleHookTypesAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1786
1879
|
#
|
1787
1880
|
# * {Types::DescribeLifecycleHookTypesAnswer#lifecycle_hook_types #lifecycle_hook_types} => Array<String>
|
@@ -2009,7 +2102,8 @@ module Aws::AutoScaling
|
|
2009
2102
|
req.send_request(options)
|
2010
2103
|
end
|
2011
2104
|
|
2012
|
-
# Describes the available CloudWatch metrics for Auto
|
2105
|
+
# Describes the available CloudWatch metrics for Amazon EC2 Auto
|
2106
|
+
# Scaling.
|
2013
2107
|
#
|
2014
2108
|
# Note that the `GroupStandbyInstances` metric is not returned by
|
2015
2109
|
# default. You must explicitly request this metric when calling
|
@@ -2270,11 +2364,11 @@ module Aws::AutoScaling
|
|
2270
2364
|
# Scaling group.
|
2271
2365
|
#
|
2272
2366
|
# @option params [Array<String>] :activity_ids
|
2273
|
-
# The activity IDs of the desired scaling activities.
|
2274
|
-
# parameter, all activities for the past six
|
2275
|
-
#
|
2276
|
-
#
|
2277
|
-
#
|
2367
|
+
# The activity IDs of the desired scaling activities. You can specify up
|
2368
|
+
# to 50 IDs. If you omit this parameter, all activities for the past six
|
2369
|
+
# weeks are described. If unknown activities are requested, they are
|
2370
|
+
# ignored with no error. If you specify an Auto Scaling group, the
|
2371
|
+
# results are limited to that group.
|
2278
2372
|
#
|
2279
2373
|
# @option params [String] :auto_scaling_group_name
|
2280
2374
|
# The name of the Auto Scaling group.
|
@@ -2418,13 +2512,10 @@ module Aws::AutoScaling
|
|
2418
2512
|
# The name of the Auto Scaling group.
|
2419
2513
|
#
|
2420
2514
|
# @option params [Array<String>] :scheduled_action_names
|
2421
|
-
#
|
2422
|
-
#
|
2423
|
-
# scheduled action, it is ignored
|
2424
|
-
#
|
2425
|
-
# You can describe up to a maximum of 50 instances with a single call.
|
2426
|
-
# If there are more items to return, the call returns a token. To get
|
2427
|
-
# the next set of items, repeat the call with the returned token.
|
2515
|
+
# The names of one or more scheduled actions. You can specify up to 50
|
2516
|
+
# actions. If you omit this parameter, all scheduled actions are
|
2517
|
+
# described. If you specify an unknown scheduled action, it is ignored
|
2518
|
+
# with no error.
|
2428
2519
|
#
|
2429
2520
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
2430
2521
|
# The earliest scheduled start time to return. If scheduled action names
|
@@ -2603,7 +2694,8 @@ module Aws::AutoScaling
|
|
2603
2694
|
req.send_request(options)
|
2604
2695
|
end
|
2605
2696
|
|
2606
|
-
# Describes the termination policies supported by Auto
|
2697
|
+
# Describes the termination policies supported by Amazon EC2 Auto
|
2698
|
+
# Scaling.
|
2607
2699
|
#
|
2608
2700
|
# @return [Types::DescribeTerminationPolicyTypesAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2609
2701
|
#
|
@@ -2648,7 +2740,8 @@ module Aws::AutoScaling
|
|
2648
2740
|
# the Auto Scaling group.
|
2649
2741
|
#
|
2650
2742
|
# If you do not specify the option to decrement the desired capacity,
|
2651
|
-
# Auto Scaling launches instances to replace the ones that
|
2743
|
+
# Amazon EC2 Auto Scaling launches instances to replace the ones that
|
2744
|
+
# are detached.
|
2652
2745
|
#
|
2653
2746
|
# If there is a Classic Load Balancer attached to the Auto Scaling
|
2654
2747
|
# group, the instances are deregistered from the load balancer. If there
|
@@ -2656,11 +2749,11 @@ module Aws::AutoScaling
|
|
2656
2749
|
# are deregistered from the target groups.
|
2657
2750
|
#
|
2658
2751
|
# For more information, see [Detach EC2 Instances from Your Auto Scaling
|
2659
|
-
# Group][1] in the *Auto Scaling User Guide*.
|
2752
|
+
# Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
2660
2753
|
#
|
2661
2754
|
#
|
2662
2755
|
#
|
2663
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
2756
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html
|
2664
2757
|
#
|
2665
2758
|
# @option params [Array<String>] :instance_ids
|
2666
2759
|
# The IDs of the instances. You can specify up to 20 instances.
|
@@ -2882,11 +2975,11 @@ module Aws::AutoScaling
|
|
2882
2975
|
|
2883
2976
|
# Enables group metrics for the specified Auto Scaling group. For more
|
2884
2977
|
# information, see [Monitoring Your Auto Scaling Groups and
|
2885
|
-
# Instances][1] in the *Auto Scaling User Guide*.
|
2978
|
+
# Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
2886
2979
|
#
|
2887
2980
|
#
|
2888
2981
|
#
|
2889
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
2982
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html
|
2890
2983
|
#
|
2891
2984
|
# @option params [required, String] :auto_scaling_group_name
|
2892
2985
|
# The name of the Auto Scaling group.
|
@@ -2947,11 +3040,11 @@ module Aws::AutoScaling
|
|
2947
3040
|
# Moves the specified instances into the standby state.
|
2948
3041
|
#
|
2949
3042
|
# For more information, see [Temporarily Removing Instances from Your
|
2950
|
-
# Auto Scaling Group][1] in the *Auto Scaling User Guide*.
|
3043
|
+
# Auto Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
2951
3044
|
#
|
2952
3045
|
#
|
2953
3046
|
#
|
2954
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3047
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html
|
2955
3048
|
#
|
2956
3049
|
# @option params [Array<String>] :instance_ids
|
2957
3050
|
# The IDs of the instances. You can specify up to 20 instances.
|
@@ -3036,17 +3129,17 @@ module Aws::AutoScaling
|
|
3036
3129
|
# The name or ARN of the policy.
|
3037
3130
|
#
|
3038
3131
|
# @option params [Boolean] :honor_cooldown
|
3039
|
-
# Indicates whether Auto Scaling waits for the cooldown
|
3040
|
-
# complete before executing the policy.
|
3132
|
+
# Indicates whether Amazon EC2 Auto Scaling waits for the cooldown
|
3133
|
+
# period to complete before executing the policy.
|
3041
3134
|
#
|
3042
3135
|
# This parameter is not supported if the policy type is `StepScaling`.
|
3043
3136
|
#
|
3044
|
-
# For more information, see [
|
3045
|
-
# Scaling User Guide*.
|
3137
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
3138
|
+
# Auto Scaling User Guide*.
|
3046
3139
|
#
|
3047
3140
|
#
|
3048
3141
|
#
|
3049
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3142
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
3050
3143
|
#
|
3051
3144
|
# @option params [Float] :metric_value
|
3052
3145
|
# The metric value to compare to `BreachThreshold`. This enables you to
|
@@ -3102,11 +3195,11 @@ module Aws::AutoScaling
|
|
3102
3195
|
# Moves the specified instances out of the standby state.
|
3103
3196
|
#
|
3104
3197
|
# For more information, see [Temporarily Removing Instances from Your
|
3105
|
-
# Auto Scaling Group][1] in the *Auto Scaling User Guide*.
|
3198
|
+
# Auto Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
3106
3199
|
#
|
3107
3200
|
#
|
3108
3201
|
#
|
3109
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3202
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html
|
3110
3203
|
#
|
3111
3204
|
# @option params [Array<String>] :instance_ids
|
3112
3205
|
# The IDs of the instances. You can specify up to 20 instances.
|
@@ -3179,21 +3272,22 @@ module Aws::AutoScaling
|
|
3179
3272
|
# Creates or updates a lifecycle hook for the specified Auto Scaling
|
3180
3273
|
# Group.
|
3181
3274
|
#
|
3182
|
-
# A lifecycle hook tells Auto Scaling that you want to
|
3183
|
-
# on an instance that is not actively in service; for
|
3184
|
-
# when the instance launches or before the instance
|
3275
|
+
# A lifecycle hook tells Amazon EC2 Auto Scaling that you want to
|
3276
|
+
# perform an action on an instance that is not actively in service; for
|
3277
|
+
# example, either when the instance launches or before the instance
|
3278
|
+
# terminates.
|
3185
3279
|
#
|
3186
3280
|
# This step is a part of the procedure for adding a lifecycle hook to an
|
3187
3281
|
# Auto Scaling group:
|
3188
3282
|
#
|
3189
3283
|
# 1. (Optional) Create a Lambda function and a rule that allows
|
3190
|
-
# CloudWatch Events to invoke your Lambda function when
|
3191
|
-
# launches or terminates instances.
|
3284
|
+
# CloudWatch Events to invoke your Lambda function when Amazon EC2
|
3285
|
+
# Auto Scaling launches or terminates instances.
|
3192
3286
|
#
|
3193
3287
|
# 2. (Optional) Create a notification target and an IAM role. The
|
3194
3288
|
# target can be either an Amazon SQS queue or an Amazon SNS topic.
|
3195
|
-
# The role allows Auto Scaling to publish lifecycle
|
3196
|
-
# the target.
|
3289
|
+
# The role allows Amazon EC2 Auto Scaling to publish lifecycle
|
3290
|
+
# notifications to the target.
|
3197
3291
|
#
|
3198
3292
|
# 3. **Create the lifecycle hook. Specify whether the hook is used when
|
3199
3293
|
# the instances launch or terminate.**
|
@@ -3205,7 +3299,7 @@ module Aws::AutoScaling
|
|
3205
3299
|
# lifecycle action.
|
3206
3300
|
#
|
3207
3301
|
# For more information, see [Auto Scaling Lifecycle Hooks][1] in the
|
3208
|
-
# *Auto Scaling User Guide*.
|
3302
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
3209
3303
|
#
|
3210
3304
|
# If you exceed your maximum limit of lifecycle hooks, which by default
|
3211
3305
|
# is 50 per Auto Scaling group, the call fails. For information about
|
@@ -3214,7 +3308,7 @@ module Aws::AutoScaling
|
|
3214
3308
|
#
|
3215
3309
|
#
|
3216
3310
|
#
|
3217
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3311
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
|
3218
3312
|
# [2]: http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html
|
3219
3313
|
#
|
3220
3314
|
# @option params [required, String] :lifecycle_hook_name
|
@@ -3224,8 +3318,12 @@ module Aws::AutoScaling
|
|
3224
3318
|
# The name of the Auto Scaling group.
|
3225
3319
|
#
|
3226
3320
|
# @option params [String] :lifecycle_transition
|
3227
|
-
# The instance state to which you want to attach the lifecycle hook.
|
3228
|
-
#
|
3321
|
+
# The instance state to which you want to attach the lifecycle hook. The
|
3322
|
+
# possible values are:
|
3323
|
+
#
|
3324
|
+
# * autoscaling:EC2\_INSTANCE\_LAUNCHING
|
3325
|
+
#
|
3326
|
+
# * autoscaling:EC2\_INSTANCE\_TERMINATING
|
3229
3327
|
#
|
3230
3328
|
# This parameter is required for new lifecycle hooks, but optional when
|
3231
3329
|
# updating existing hooks.
|
@@ -3238,8 +3336,8 @@ module Aws::AutoScaling
|
|
3238
3336
|
# updating existing hooks.
|
3239
3337
|
#
|
3240
3338
|
# @option params [String] :notification_target_arn
|
3241
|
-
# The ARN of the notification target that Auto Scaling will
|
3242
|
-
# notify you when an instance is in the transition state for the
|
3339
|
+
# The ARN of the notification target that Amazon EC2 Auto Scaling will
|
3340
|
+
# use to notify you when an instance is in the transition state for the
|
3243
3341
|
# lifecycle hook. This target can be either an SQS queue or an SNS
|
3244
3342
|
# topic. If you specify an empty string, this overrides the current ARN.
|
3245
3343
|
#
|
@@ -3247,22 +3345,22 @@ module Aws::AutoScaling
|
|
3247
3345
|
# Amazon SQS queue, and an email key/value pair format when sending
|
3248
3346
|
# notifications to an Amazon SNS topic.
|
3249
3347
|
#
|
3250
|
-
# When you specify a notification target, Auto Scaling sends
|
3251
|
-
# message. Test messages contains the following additional
|
3252
|
-
# pair: `"Event": "autoscaling:TEST_NOTIFICATION"`.
|
3348
|
+
# When you specify a notification target, Amazon EC2 Auto Scaling sends
|
3349
|
+
# it a test message. Test messages contains the following additional
|
3350
|
+
# key/value pair: `"Event": "autoscaling:TEST_NOTIFICATION"`.
|
3253
3351
|
#
|
3254
3352
|
# @option params [String] :notification_metadata
|
3255
|
-
# Contains additional information that you want to include any time
|
3256
|
-
# Scaling sends a message to the notification target.
|
3353
|
+
# Contains additional information that you want to include any time
|
3354
|
+
# Amazon EC2 Auto Scaling sends a message to the notification target.
|
3257
3355
|
#
|
3258
3356
|
# @option params [Integer] :heartbeat_timeout
|
3259
3357
|
# The maximum time, in seconds, that can elapse before the lifecycle
|
3260
3358
|
# hook times out. The range is from 30 to 7200 seconds. The default is
|
3261
3359
|
# 3600 seconds (1 hour).
|
3262
3360
|
#
|
3263
|
-
# If the lifecycle hook times out, Auto Scaling performs the
|
3264
|
-
# action. You can prevent the lifecycle hook from timing out by
|
3265
|
-
# RecordLifecycleActionHeartbeat.
|
3361
|
+
# If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the
|
3362
|
+
# default action. You can prevent the lifecycle hook from timing out by
|
3363
|
+
# calling RecordLifecycleActionHeartbeat.
|
3266
3364
|
#
|
3267
3365
|
# @option params [String] :default_result
|
3268
3366
|
# Defines the action the Auto Scaling group should take when the
|
@@ -3319,7 +3417,7 @@ module Aws::AutoScaling
|
|
3319
3417
|
#
|
3320
3418
|
#
|
3321
3419
|
#
|
3322
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3420
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html
|
3323
3421
|
#
|
3324
3422
|
# @option params [required, String] :auto_scaling_group_name
|
3325
3423
|
# The name of the Auto Scaling group.
|
@@ -3330,8 +3428,8 @@ module Aws::AutoScaling
|
|
3330
3428
|
#
|
3331
3429
|
# @option params [required, Array<String>] :notification_types
|
3332
3430
|
# The type of event that will cause the notification to be sent. For
|
3333
|
-
# details about notification types supported by Auto Scaling,
|
3334
|
-
# DescribeAutoScalingNotificationTypes.
|
3431
|
+
# details about notification types supported by Amazon EC2 Auto Scaling,
|
3432
|
+
# see DescribeAutoScalingNotificationTypes.
|
3335
3433
|
#
|
3336
3434
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3337
3435
|
#
|
@@ -3397,12 +3495,12 @@ module Aws::AutoScaling
|
|
3397
3495
|
# This parameter is supported if the policy type is `SimpleScaling` or
|
3398
3496
|
# `StepScaling`.
|
3399
3497
|
#
|
3400
|
-
# For more information, see [Dynamic Scaling][1] in the *Auto
|
3401
|
-
# User Guide*.
|
3498
|
+
# For more information, see [Dynamic Scaling][1] in the *Amazon EC2 Auto
|
3499
|
+
# Scaling User Guide*.
|
3402
3500
|
#
|
3403
3501
|
#
|
3404
3502
|
#
|
3405
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3503
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scale-based-on-demand.html
|
3406
3504
|
#
|
3407
3505
|
# @option params [Integer] :min_adjustment_step
|
3408
3506
|
# Available for backward compatibility. Use `MinAdjustmentMagnitude`
|
@@ -3432,12 +3530,12 @@ module Aws::AutoScaling
|
|
3432
3530
|
#
|
3433
3531
|
# This parameter is supported if the policy type is `SimpleScaling`.
|
3434
3532
|
#
|
3435
|
-
# For more information, see [
|
3436
|
-
# Scaling User Guide*.
|
3533
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
3534
|
+
# Auto Scaling User Guide*.
|
3437
3535
|
#
|
3438
3536
|
#
|
3439
3537
|
#
|
3440
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3538
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
3441
3539
|
#
|
3442
3540
|
# @option params [String] :metric_aggregation_type
|
3443
3541
|
# The aggregation type for the CloudWatch metrics. The valid values are
|
@@ -3551,12 +3649,12 @@ module Aws::AutoScaling
|
|
3551
3649
|
# group. When updating a scheduled scaling action, if you leave a
|
3552
3650
|
# parameter unspecified, the corresponding value remains unchanged.
|
3553
3651
|
#
|
3554
|
-
# For more information, see [Scheduled Scaling][1] in the *
|
3555
|
-
# User Guide*.
|
3652
|
+
# For more information, see [Scheduled Scaling][1] in the *Amazon EC2
|
3653
|
+
# Auto Scaling User Guide*.
|
3556
3654
|
#
|
3557
3655
|
#
|
3558
3656
|
#
|
3559
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3657
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html
|
3560
3658
|
#
|
3561
3659
|
# @option params [required, String] :auto_scaling_group_name
|
3562
3660
|
# The name of the Auto Scaling group.
|
@@ -3571,24 +3669,24 @@ module Aws::AutoScaling
|
|
3571
3669
|
# The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format
|
3572
3670
|
# in UTC/GMT only (for example, `2014-06-01T00:00:00Z`).
|
3573
3671
|
#
|
3574
|
-
# If you specify `Recurrence` and `StartTime`, Auto Scaling
|
3575
|
-
# action at this time, and then performs the action based
|
3576
|
-
# specified recurrence.
|
3672
|
+
# If you specify `Recurrence` and `StartTime`, Amazon EC2 Auto Scaling
|
3673
|
+
# performs the action at this time, and then performs the action based
|
3674
|
+
# on the specified recurrence.
|
3577
3675
|
#
|
3578
|
-
# If you try to schedule your action in the past,
|
3579
|
-
# an error message.
|
3676
|
+
# If you try to schedule your action in the past, Amazon EC2 Auto
|
3677
|
+
# Scaling returns an error message.
|
3580
3678
|
#
|
3581
3679
|
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
3582
|
-
# The time for the recurring schedule to end. Auto Scaling
|
3583
|
-
# perform the action after this time.
|
3680
|
+
# The time for the recurring schedule to end. Amazon EC2 Auto Scaling
|
3681
|
+
# does not perform the action after this time.
|
3584
3682
|
#
|
3585
3683
|
# @option params [String] :recurrence
|
3586
3684
|
# The recurring schedule for this action, in Unix cron syntax format.
|
3587
|
-
# For more information, see [
|
3685
|
+
# For more information about this format, see [Crontab][1].
|
3588
3686
|
#
|
3589
3687
|
#
|
3590
3688
|
#
|
3591
|
-
# [1]: http://
|
3689
|
+
# [1]: http://crontab.org
|
3592
3690
|
#
|
3593
3691
|
# @option params [Integer] :min_size
|
3594
3692
|
# The minimum size for the Auto Scaling group.
|
@@ -3647,13 +3745,13 @@ module Aws::AutoScaling
|
|
3647
3745
|
# Auto Scaling group:
|
3648
3746
|
#
|
3649
3747
|
# 1. (Optional) Create a Lambda function and a rule that allows
|
3650
|
-
# CloudWatch Events to invoke your Lambda function when
|
3651
|
-
# launches or terminates instances.
|
3748
|
+
# CloudWatch Events to invoke your Lambda function when Amazon EC2
|
3749
|
+
# Auto Scaling launches or terminates instances.
|
3652
3750
|
#
|
3653
3751
|
# 2. (Optional) Create a notification target and an IAM role. The
|
3654
3752
|
# target can be either an Amazon SQS queue or an Amazon SNS topic.
|
3655
|
-
# The role allows Auto Scaling to publish lifecycle
|
3656
|
-
# the target.
|
3753
|
+
# The role allows Amazon EC2 Auto Scaling to publish lifecycle
|
3754
|
+
# notifications to the target.
|
3657
3755
|
#
|
3658
3756
|
# 3. Create the lifecycle hook. Specify whether the hook is used when
|
3659
3757
|
# the instances launch or terminate.
|
@@ -3664,12 +3762,12 @@ module Aws::AutoScaling
|
|
3664
3762
|
# 5. If you finish before the timeout period ends, complete the
|
3665
3763
|
# lifecycle action.
|
3666
3764
|
#
|
3667
|
-
# For more information, see [Auto Scaling Lifecycle][1] in the *
|
3668
|
-
# Scaling User Guide*.
|
3765
|
+
# For more information, see [Auto Scaling Lifecycle][1] in the *Amazon
|
3766
|
+
# EC2 Auto Scaling User Guide*.
|
3669
3767
|
#
|
3670
3768
|
#
|
3671
3769
|
#
|
3672
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3770
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
|
3673
3771
|
#
|
3674
3772
|
# @option params [required, String] :lifecycle_hook_name
|
3675
3773
|
# The name of the lifecycle hook.
|
@@ -3679,8 +3777,9 @@ module Aws::AutoScaling
|
|
3679
3777
|
#
|
3680
3778
|
# @option params [String] :lifecycle_action_token
|
3681
3779
|
# A token that uniquely identifies a specific lifecycle action
|
3682
|
-
# associated with an instance. Auto Scaling sends this token
|
3683
|
-
# notification target you specified when you created the
|
3780
|
+
# associated with an instance. Amazon EC2 Auto Scaling sends this token
|
3781
|
+
# to the notification target you specified when you created the
|
3782
|
+
# lifecycle hook.
|
3684
3783
|
#
|
3685
3784
|
# @option params [String] :instance_id
|
3686
3785
|
# The ID of the instance.
|
@@ -3716,15 +3815,15 @@ module Aws::AutoScaling
|
|
3716
3815
|
req.send_request(options)
|
3717
3816
|
end
|
3718
3817
|
|
3719
|
-
# Resumes the specified suspended
|
3818
|
+
# Resumes the specified suspended automatic scaling processes, or all
|
3720
3819
|
# suspended process, for the specified Auto Scaling group.
|
3721
3820
|
#
|
3722
|
-
# For more information, see [Suspending and Resuming
|
3723
|
-
# Processes][1] in the *Auto Scaling User Guide*.
|
3821
|
+
# For more information, see [Suspending and Resuming Scaling
|
3822
|
+
# Processes][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
3724
3823
|
#
|
3725
3824
|
#
|
3726
3825
|
#
|
3727
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3826
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html
|
3728
3827
|
#
|
3729
3828
|
# @option params [required, String] :auto_scaling_group_name
|
3730
3829
|
# The name of the Auto Scaling group.
|
@@ -3781,12 +3880,12 @@ module Aws::AutoScaling
|
|
3781
3880
|
|
3782
3881
|
# Sets the size of the specified Auto Scaling group.
|
3783
3882
|
#
|
3784
|
-
# For more information about desired capacity, see [What Is
|
3785
|
-
# Scaling?][1] in the *Auto Scaling User Guide*.
|
3883
|
+
# For more information about desired capacity, see [What Is Amazon EC2
|
3884
|
+
# Auto Scaling?][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
3786
3885
|
#
|
3787
3886
|
#
|
3788
3887
|
#
|
3789
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3888
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/WhatIsAutoScaling.html
|
3790
3889
|
#
|
3791
3890
|
# @option params [required, String] :auto_scaling_group_name
|
3792
3891
|
# The name of the Auto Scaling group.
|
@@ -3796,10 +3895,11 @@ module Aws::AutoScaling
|
|
3796
3895
|
# group.
|
3797
3896
|
#
|
3798
3897
|
# @option params [Boolean] :honor_cooldown
|
3799
|
-
# Indicates whether Auto Scaling waits for the cooldown
|
3800
|
-
# complete before initiating a scaling activity to set your
|
3801
|
-
# group to its new capacity. By default,
|
3802
|
-
# cooldown period during manual scaling
|
3898
|
+
# Indicates whether Amazon EC2 Auto Scaling waits for the cooldown
|
3899
|
+
# period to complete before initiating a scaling activity to set your
|
3900
|
+
# Auto Scaling group to its new capacity. By default, Amazon EC2 Auto
|
3901
|
+
# Scaling does not honor the cooldown period during manual scaling
|
3902
|
+
# activities.
|
3803
3903
|
#
|
3804
3904
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3805
3905
|
#
|
@@ -3833,12 +3933,12 @@ module Aws::AutoScaling
|
|
3833
3933
|
|
3834
3934
|
# Sets the health status of the specified instance.
|
3835
3935
|
#
|
3836
|
-
# For more information, see [Health Checks][1] in the *
|
3837
|
-
# Guide*.
|
3936
|
+
# For more information, see [Health Checks][1] in the *Amazon EC2 Auto
|
3937
|
+
# Scaling User Guide*.
|
3838
3938
|
#
|
3839
3939
|
#
|
3840
3940
|
#
|
3841
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3941
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
3842
3942
|
#
|
3843
3943
|
# @option params [required, String] :instance_id
|
3844
3944
|
# The ID of the instance.
|
@@ -3846,8 +3946,8 @@ module Aws::AutoScaling
|
|
3846
3946
|
# @option params [required, String] :health_status
|
3847
3947
|
# The health status of the instance. Set to `Healthy` if you want the
|
3848
3948
|
# instance to remain in service. Set to `Unhealthy` if you want the
|
3849
|
-
# instance to be out of service. Auto Scaling will terminate
|
3850
|
-
# the unhealthy instance.
|
3949
|
+
# instance to be out of service. Amazon EC2 Auto Scaling will terminate
|
3950
|
+
# and replace the unhealthy instance.
|
3851
3951
|
#
|
3852
3952
|
# @option params [Boolean] :should_respect_grace_period
|
3853
3953
|
# If the Auto Scaling group of the specified instance has a
|
@@ -3889,12 +3989,12 @@ module Aws::AutoScaling
|
|
3889
3989
|
|
3890
3990
|
# Updates the instance protection settings of the specified instances.
|
3891
3991
|
#
|
3892
|
-
# For more information, see [Instance Protection][1] in the *
|
3893
|
-
# Scaling User Guide*.
|
3992
|
+
# For more information, see [Instance Protection][1] in the *Amazon EC2
|
3993
|
+
# Auto Scaling User Guide*.
|
3894
3994
|
#
|
3895
3995
|
#
|
3896
3996
|
#
|
3897
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3997
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
3898
3998
|
#
|
3899
3999
|
# @option params [required, Array<String>] :instance_ids
|
3900
4000
|
# One or more instance IDs.
|
@@ -3903,8 +4003,8 @@ module Aws::AutoScaling
|
|
3903
4003
|
# The name of the Auto Scaling group.
|
3904
4004
|
#
|
3905
4005
|
# @option params [required, Boolean] :protected_from_scale_in
|
3906
|
-
# Indicates whether the instance is protected from termination by
|
3907
|
-
# Scaling when scaling in.
|
4006
|
+
# Indicates whether the instance is protected from termination by Amazon
|
4007
|
+
# EC2 Auto Scaling when scaling in.
|
3908
4008
|
#
|
3909
4009
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3910
4010
|
#
|
@@ -3950,20 +4050,20 @@ module Aws::AutoScaling
|
|
3950
4050
|
req.send_request(options)
|
3951
4051
|
end
|
3952
4052
|
|
3953
|
-
# Suspends the specified
|
3954
|
-
# the specified Auto Scaling group.
|
4053
|
+
# Suspends the specified automatic scaling processes, or all processes,
|
4054
|
+
# for the specified Auto Scaling group.
|
3955
4055
|
#
|
3956
4056
|
# Note that if you suspend either the `Launch` or `Terminate` process
|
3957
4057
|
# types, it can prevent other process types from functioning properly.
|
3958
4058
|
#
|
3959
4059
|
# To resume processes that have been suspended, use ResumeProcesses.
|
3960
4060
|
#
|
3961
|
-
# For more information, see [Suspending and Resuming
|
3962
|
-
# Processes][1] in the *Auto Scaling User Guide*.
|
4061
|
+
# For more information, see [Suspending and Resuming Scaling
|
4062
|
+
# Processes][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
3963
4063
|
#
|
3964
4064
|
#
|
3965
4065
|
#
|
3966
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
4066
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html
|
3967
4067
|
#
|
3968
4068
|
# @option params [required, String] :auto_scaling_group_name
|
3969
4069
|
# The name of the Auto Scaling group.
|
@@ -4127,12 +4227,12 @@ module Aws::AutoScaling
|
|
4127
4227
|
# The amount of time, in seconds, after a scaling activity completes
|
4128
4228
|
# before another scaling activity can start. The default is 300.
|
4129
4229
|
#
|
4130
|
-
# For more information, see [
|
4131
|
-
# Scaling User Guide*.
|
4230
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
4231
|
+
# Auto Scaling User Guide*.
|
4132
4232
|
#
|
4133
4233
|
#
|
4134
4234
|
#
|
4135
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
4235
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
4136
4236
|
#
|
4137
4237
|
# @option params [Array<String>] :availability_zones
|
4138
4238
|
# One or more Availability Zones for the group.
|
@@ -4142,16 +4242,16 @@ module Aws::AutoScaling
|
|
4142
4242
|
# and `ELB`.
|
4143
4243
|
#
|
4144
4244
|
# @option params [Integer] :health_check_grace_period
|
4145
|
-
# The amount of time, in seconds, that Auto Scaling waits
|
4146
|
-
# checking the health status of an EC2 instance that has come
|
4147
|
-
# service. The default is 0.
|
4245
|
+
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
4246
|
+
# before checking the health status of an EC2 instance that has come
|
4247
|
+
# into service. The default is 0.
|
4148
4248
|
#
|
4149
|
-
# For more information, see [Health Checks][1] in the *
|
4150
|
-
# Guide*.
|
4249
|
+
# For more information, see [Health Checks][1] in the *Amazon EC2 Auto
|
4250
|
+
# Scaling User Guide*.
|
4151
4251
|
#
|
4152
4252
|
#
|
4153
4253
|
#
|
4154
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
4254
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
4155
4255
|
#
|
4156
4256
|
# @option params [String] :placement_group
|
4157
4257
|
# The name of the placement group into which you'll launch your
|
@@ -4171,11 +4271,11 @@ module Aws::AutoScaling
|
|
4171
4271
|
# `AvailabilityZones`.
|
4172
4272
|
#
|
4173
4273
|
# For more information, see [Launching Auto Scaling Instances in a
|
4174
|
-
# VPC][1] in the *Auto Scaling User Guide*.
|
4274
|
+
# VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4175
4275
|
#
|
4176
4276
|
#
|
4177
4277
|
#
|
4178
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
4278
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
|
4179
4279
|
#
|
4180
4280
|
# @option params [Array<String>] :termination_policies
|
4181
4281
|
# A standalone termination policy or a list of termination policies used
|
@@ -4187,7 +4287,7 @@ module Aws::AutoScaling
|
|
4187
4287
|
#
|
4188
4288
|
#
|
4189
4289
|
#
|
4190
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
4290
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
|
4191
4291
|
#
|
4192
4292
|
# @option params [Boolean] :new_instances_protected_from_scale_in
|
4193
4293
|
# Indicates whether newly launched instances are protected from
|
@@ -4274,7 +4374,7 @@ module Aws::AutoScaling
|
|
4274
4374
|
params: params,
|
4275
4375
|
config: config)
|
4276
4376
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
4277
|
-
context[:gem_version] = '1.
|
4377
|
+
context[:gem_version] = '1.7.0'
|
4278
4378
|
Seahorse::Client::Request.new(handlers, context)
|
4279
4379
|
end
|
4280
4380
|
|