aws-sdk-autoscaling 1.47.0 → 1.52.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a65e5422a6b8d2367aec636f3c3c801ebaa8f900fcfd47a63de0fd5d946935f
4
- data.tar.gz: f8c8e3382708ac781260a9d331aac5b394d2f171350eba53428a3b9a8097f986
3
+ metadata.gz: f7002bb853457ccee4bd930d8639e9ca84a2a5a6d7e056f96b073e67c6c90354
4
+ data.tar.gz: 18915c700de93450799079962cf76a064d4570a122eb4162c02c4658f151c5a8
5
5
  SHA512:
6
- metadata.gz: 3c109c5ff215ef16c6f413010ce0f98bb5a7a41d2d7a4a6ccdcb202333d968b11f836924552ba55714b602937cc01a5d57d93254a747c07fe3acd525a0f6c4c9
7
- data.tar.gz: 656f6dff7ace5caca842c1799190b2782a787f7435405250e76f24e283b633f637af39eb28747c1bd3637d67e8cb1722eb49638e8c9db75d796204932d576c5b
6
+ metadata.gz: 426b08b5849622e9b874f2affbe1ef80119fc0e3ea07644caef2705c481e4638382855190fc0715c013c9d20a4502030cf10044cf95b6b6777beecaa3913a536
7
+ data.tar.gz: 5d81736ff01ff371a5ba9c53b9b40c17658e9f1bf023c19cbc26ac4a4d108d9c5dea8a332e76134859e9dd4753e2a9c108ed4d7d924b2756082cea8d9b9cdb17
@@ -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.47.0'
62
+ GEM_VERSION = '1.52.0'
63
63
 
64
64
  end
@@ -186,6 +186,12 @@ module Aws::AutoScaling
186
186
  data[:max_instance_lifetime]
187
187
  end
188
188
 
189
+ # Indicates whether Capacity Rebalancing is enabled.
190
+ # @return [Boolean]
191
+ def capacity_rebalance
192
+ data[:capacity_rebalance]
193
+ end
194
+
189
195
  # @!endgroup
190
196
 
191
197
  # @return [Client]
@@ -597,7 +603,7 @@ module Aws::AutoScaling
597
603
  # `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
598
604
  #
599
605
  # Required if the policy type is `StepScaling` or `SimpleScaling`. For
600
- # more information, see [Scaling Adjustment Types][1] in the *Amazon EC2
606
+ # more information, see [Scaling adjustment types][1] in the *Amazon EC2
601
607
  # Auto Scaling User Guide*.
602
608
  #
603
609
  #
@@ -616,7 +622,7 @@ module Aws::AutoScaling
616
622
  # EC2 Auto Scaling scales out the group by 2 instances.
617
623
  #
618
624
  # Valid only if the policy type is `StepScaling` or `SimpleScaling`. For
619
- # more information, see [Scaling Adjustment Types][1] in the *Amazon EC2
625
+ # more information, see [Scaling adjustment types][1] in the *Amazon EC2
620
626
  # Auto Scaling User Guide*.
621
627
  #
622
628
  # <note markdown="1"> Some Auto Scaling groups use instance weights. In this case, set the
@@ -642,7 +648,7 @@ module Aws::AutoScaling
642
648
  # period defined for the Auto Scaling group.
643
649
  #
644
650
  # Valid only if the policy type is `SimpleScaling`. For more
645
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1] in
651
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1] in
646
652
  # the *Amazon EC2 Auto Scaling User Guide*.
647
653
  #
648
654
  #
@@ -696,8 +702,8 @@ module Aws::AutoScaling
696
702
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_TargetTrackingConfiguration.html
697
703
  # @option options [Boolean] :enabled
698
704
  # Indicates whether the scaling policy is enabled or disabled. The
699
- # default is enabled. For more information, see [Disabling a Scaling
700
- # Policy for an Auto Scaling Group][1] in the *Amazon EC2 Auto Scaling
705
+ # default is enabled. For more information, see [Disabling a scaling
706
+ # policy for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
701
707
  # User Guide*.
702
708
  #
703
709
  #
@@ -873,7 +879,7 @@ module Aws::AutoScaling
873
879
  # @example Request syntax with placeholder values
874
880
  #
875
881
  # autoscalinggroup = auto_scaling_group.update({
876
- # launch_configuration_name: "ResourceName",
882
+ # launch_configuration_name: "XmlStringMaxLen255",
877
883
  # launch_template: {
878
884
  # launch_template_id: "XmlStringMaxLen255",
879
885
  # launch_template_name: "LaunchTemplateName",
@@ -890,6 +896,11 @@ module Aws::AutoScaling
890
896
  # {
891
897
  # instance_type: "XmlStringMaxLen255",
892
898
  # weighted_capacity: "XmlStringMaxLen32",
899
+ # launch_template_specification: {
900
+ # launch_template_id: "XmlStringMaxLen255",
901
+ # launch_template_name: "LaunchTemplateName",
902
+ # version: "XmlStringMaxLen255",
903
+ # },
893
904
  # },
894
905
  # ],
895
906
  # },
@@ -915,6 +926,7 @@ module Aws::AutoScaling
915
926
  # new_instances_protected_from_scale_in: false,
916
927
  # service_linked_role_arn: "ResourceName",
917
928
  # max_instance_lifetime: 1,
929
+ # capacity_rebalance: false,
918
930
  # })
919
931
  # @param [Hash] options ({})
920
932
  # @option options [String] :launch_configuration_name
@@ -925,29 +937,16 @@ module Aws::AutoScaling
925
937
  # The launch template and version to use to specify the updates. If you
926
938
  # specify `LaunchTemplate` in your update request, you can't specify
927
939
  # `LaunchConfigurationName` or `MixedInstancesPolicy`.
928
- #
929
- # For more information, see [LaunchTemplateSpecification][1] in the
930
- # *Amazon EC2 Auto Scaling API Reference*.
931
- #
932
- #
933
- #
934
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_LaunchTemplateSpecification.html
935
940
  # @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
936
- # An embedded object that specifies a mixed instances policy.
937
- #
938
- # In your call to `UpdateAutoScalingGroup`, you can make changes to the
939
- # policy that is specified. All optional parameters are left unchanged
940
- # if not specified.
941
- #
942
- # For more information, see [MixedInstancesPolicy][1] in the *Amazon EC2
943
- # Auto Scaling API Reference* and [Auto Scaling Groups with Multiple
944
- # Instance Types and Purchase Options][2] in the *Amazon EC2 Auto
945
- # Scaling User Guide*.
941
+ # An embedded object that specifies a mixed instances policy. When you
942
+ # make changes to an existing policy, all optional parameters are left
943
+ # unchanged if not specified. For more information, see [Auto Scaling
944
+ # groups with multiple instance types and purchase options][1] in the
945
+ # *Amazon EC2 Auto Scaling User Guide*.
946
946
  #
947
947
  #
948
948
  #
949
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_MixedInstancesPolicy.html
950
- # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
949
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
951
950
  # @option options [Integer] :min_size
952
951
  # The minimum size of the Auto Scaling group.
953
952
  # @option options [Integer] :max_size
@@ -964,17 +963,15 @@ module Aws::AutoScaling
964
963
  # @option options [Integer] :desired_capacity
965
964
  # The desired capacity is the initial capacity of the Auto Scaling group
966
965
  # after this operation completes and the capacity it attempts to
967
- # maintain.
968
- #
969
- # This number must be greater than or equal to the minimum size of the
970
- # group and less than or equal to the maximum size of the group.
966
+ # maintain. This number must be greater than or equal to the minimum
967
+ # size of the group and less than or equal to the maximum size of the
968
+ # group.
971
969
  # @option options [Integer] :default_cooldown
972
970
  # The amount of time, in seconds, after a scaling activity completes
973
971
  # before another scaling activity can start. The default value is `300`.
974
- #
975
972
  # This setting applies when using simple scaling policies, but not when
976
973
  # using other scaling policies or scheduled scaling. For more
977
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1] in
974
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1] in
978
975
  # the *Amazon EC2 Auto Scaling User Guide*.
979
976
  #
980
977
  #
@@ -990,50 +987,46 @@ module Aws::AutoScaling
990
987
  # @option options [Integer] :health_check_grace_period
991
988
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
992
989
  # before checking the health status of an EC2 instance that has come
993
- # into service. The default value is `0`.
994
- #
995
- # For more information, see [Health Check Grace Period][1] in the
996
- # *Amazon EC2 Auto Scaling User Guide*.
990
+ # into service. The default value is `0`. For more information, see
991
+ # [Health check grace period][1] in the *Amazon EC2 Auto Scaling User
992
+ # Guide*.
997
993
  #
998
- # Required if you are adding an `ELB` health check.
994
+ # Conditional: Required if you are adding an `ELB` health check.
999
995
  #
1000
996
  #
1001
997
  #
1002
998
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period
1003
999
  # @option options [String] :placement_group
1004
- # The name of the placement group into which to launch your instances,
1005
- # if any. A placement group is a logical grouping of instances within a
1006
- # single Availability Zone. You cannot specify multiple Availability
1007
- # Zones and a placement group. For more information, see [Placement
1008
- # Groups][1] in the *Amazon EC2 User Guide for Linux Instances*.
1000
+ # The name of an existing placement group into which to launch your
1001
+ # instances, if any. A placement group is a logical grouping of
1002
+ # instances within a single Availability Zone. You cannot specify
1003
+ # multiple Availability Zones and a placement group. For more
1004
+ # information, see [Placement Groups][1] in the *Amazon EC2 User Guide
1005
+ # for Linux Instances*.
1009
1006
  #
1010
1007
  #
1011
1008
  #
1012
1009
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
1013
1010
  # @option options [String] :vpc_zone_identifier
1014
- # A comma-separated list of subnet IDs for virtual private cloud (VPC).
1015
- #
1016
- # If you specify `VPCZoneIdentifier` with `AvailabilityZones`, the
1017
- # subnets that you specify for this parameter must reside in those
1011
+ # A comma-separated list of subnet IDs for a virtual private cloud
1012
+ # (VPC). If you specify `VPCZoneIdentifier` with `AvailabilityZones`,
1013
+ # the subnets that you specify for this parameter must reside in those
1018
1014
  # Availability Zones.
1019
1015
  # @option options [Array<String>] :termination_policies
1020
- # A standalone termination policy or a list of termination policies used
1021
- # to select the instance to terminate. The policies are executed in the
1022
- # order that they are listed.
1023
- #
1024
- # For more information, see [Controlling Which Instances Auto Scaling
1025
- # Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
1026
- # Guide*.
1016
+ # A policy or a list of policies that are used to select the instances
1017
+ # to terminate. The policies are executed in the order that you list
1018
+ # them. For more information, see [Controlling which Auto Scaling
1019
+ # instances terminate during scale in][1] in the *Amazon EC2 Auto
1020
+ # Scaling User Guide*.
1027
1021
  #
1028
1022
  #
1029
1023
  #
1030
1024
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
1031
1025
  # @option options [Boolean] :new_instances_protected_from_scale_in
1032
1026
  # Indicates whether newly launched instances are protected from
1033
- # termination by Amazon EC2 Auto Scaling when scaling in.
1034
- #
1035
- # For more information about preventing instances from terminating on
1036
- # scale in, see [Instance Protection][1] in the *Amazon EC2 Auto Scaling
1027
+ # termination by Amazon EC2 Auto Scaling when scaling in. For more
1028
+ # information about preventing instances from terminating on scale in,
1029
+ # see [Instance scale-in protection][1] in the *Amazon EC2 Auto Scaling
1037
1030
  # User Guide*.
1038
1031
  #
1039
1032
  #
@@ -1042,7 +1035,7 @@ module Aws::AutoScaling
1042
1035
  # @option options [String] :service_linked_role_arn
1043
1036
  # The Amazon Resource Name (ARN) of the service-linked role that the
1044
1037
  # Auto Scaling group uses to call other AWS services on your behalf. For
1045
- # more information, see [Service-Linked Roles][1] in the *Amazon EC2
1038
+ # more information, see [Service-linked roles][1] in the *Amazon EC2
1046
1039
  # Auto Scaling User Guide*.
1047
1040
  #
1048
1041
  #
@@ -1050,21 +1043,23 @@ module Aws::AutoScaling
1050
1043
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html
1051
1044
  # @option options [Integer] :max_instance_lifetime
1052
1045
  # The maximum amount of time, in seconds, that an instance can be in
1053
- # service. The default is null.
1046
+ # service. The default is null. If specified, the value must be either 0
1047
+ # or a number equal to or greater than 86,400 seconds (1 day). To clear
1048
+ # a previously set value, specify a new value of 0. For more
1049
+ # information, see [Replacing Auto Scaling instances based on maximum
1050
+ # instance lifetime][1] in the *Amazon EC2 Auto Scaling User Guide*.
1054
1051
  #
1055
- # This parameter is optional, but if you specify a value for it, you
1056
- # must specify a value of at least 604,800 seconds (7 days). To clear a
1057
- # previously set value, specify a new value of 0.
1058
1052
  #
1059
- # For more information, see [Replacing Auto Scaling Instances Based on
1060
- # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
1061
- # Guide*.
1062
1053
  #
1063
- # Valid Range: Minimum value of 0.
1054
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
1055
+ # @option options [Boolean] :capacity_rebalance
1056
+ # Enables or disables Capacity Rebalancing. For more information, see
1057
+ # [Amazon EC2 Auto Scaling Capacity Rebalancing][1] in the *Amazon EC2
1058
+ # Auto Scaling User Guide*.
1064
1059
  #
1065
1060
  #
1066
1061
  #
1067
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
1062
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
1068
1063
  # @return [AutoScalingGroup]
1069
1064
  def update(options = {})
1070
1065
  options = options.merge(auto_scaling_group_name: @name)
@@ -1279,7 +1274,7 @@ module Aws::AutoScaling
1279
1274
  # @example Request syntax with placeholder values
1280
1275
  #
1281
1276
  # scheduled_actions = auto_scaling_group.scheduled_actions({
1282
- # scheduled_action_names: ["ResourceName"],
1277
+ # scheduled_action_names: ["XmlStringMaxLen255"],
1283
1278
  # start_time: Time.now,
1284
1279
  # end_time: Time.now,
1285
1280
  # })
@@ -341,8 +341,8 @@ module Aws::AutoScaling
341
341
  # there are target groups attached to your Auto Scaling group, the
342
342
  # instances are also registered with the target groups.
343
343
  #
344
- # For more information, see [Attach EC2 Instances to Your Auto Scaling
345
- # Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
344
+ # For more information, see [Attach EC2 instances to your Auto Scaling
345
+ # group][1] in the *Amazon EC2 Auto Scaling User Guide*.
346
346
  #
347
347
  #
348
348
  #
@@ -372,7 +372,7 @@ module Aws::AutoScaling
372
372
  #
373
373
  # resp = client.attach_instances({
374
374
  # instance_ids: ["XmlStringMaxLen19"],
375
- # auto_scaling_group_name: "ResourceName", # required
375
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
376
376
  # })
377
377
  #
378
378
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstances AWS API Documentation
@@ -387,26 +387,38 @@ module Aws::AutoScaling
387
387
  # Attaches one or more target groups to the specified Auto Scaling
388
388
  # group.
389
389
  #
390
+ # This operation is used with the following load balancer types:
391
+ #
392
+ # * Application Load Balancer - Operates at the application layer (layer
393
+ # 7) and supports HTTP and HTTPS.
394
+ #
395
+ # * Network Load Balancer - Operates at the transport layer (layer 4)
396
+ # and supports TCP, TLS, and UDP.
397
+ #
398
+ # * Gateway Load Balancer - Operates at the network layer (layer 3).
399
+ #
390
400
  # To describe the target groups for an Auto Scaling group, call the
391
401
  # DescribeLoadBalancerTargetGroups API. To detach the target group from
392
402
  # the Auto Scaling group, call the DetachLoadBalancerTargetGroups API.
393
403
  #
394
- # With Application Load Balancers and Network Load Balancers, instances
395
- # are registered as targets with a target group. With Classic Load
396
- # Balancers, instances are registered with the load balancer. For more
397
- # information, see [Attaching a Load Balancer to Your Auto Scaling
398
- # Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
404
+ # For more information, see [Elastic Load Balancing and Amazon EC2 Auto
405
+ # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
399
406
  #
400
407
  #
401
408
  #
402
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-load-balancer-asg.html
409
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
403
410
  #
404
411
  # @option params [required, String] :auto_scaling_group_name
405
412
  # The name of the Auto Scaling group.
406
413
  #
407
414
  # @option params [required, Array<String>] :target_group_arns
408
415
  # The Amazon Resource Names (ARN) of the target groups. You can specify
409
- # up to 10 target groups.
416
+ # up to 10 target groups. To get the ARN of a target group, use the
417
+ # Elastic Load Balancing [DescribeTargetGroups][1] API operation.
418
+ #
419
+ #
420
+ #
421
+ # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html
410
422
  #
411
423
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
412
424
  #
@@ -425,7 +437,7 @@ module Aws::AutoScaling
425
437
  # @example Request syntax with placeholder values
426
438
  #
427
439
  # resp = client.attach_load_balancer_target_groups({
428
- # auto_scaling_group_name: "ResourceName", # required
440
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
429
441
  # target_group_arns: ["XmlStringMaxLen511"], # required
430
442
  # })
431
443
  #
@@ -438,8 +450,9 @@ module Aws::AutoScaling
438
450
  req.send_request(options)
439
451
  end
440
452
 
441
- # <note markdown="1"> To attach an Application Load Balancer or a Network Load Balancer, use
442
- # the AttachLoadBalancerTargetGroups API operation instead.
453
+ # <note markdown="1"> To attach an Application Load Balancer, Network Load Balancer, or
454
+ # Gateway Load Balancer, use the AttachLoadBalancerTargetGroups API
455
+ # operation instead.
443
456
  #
444
457
  # </note>
445
458
  #
@@ -451,12 +464,12 @@ module Aws::AutoScaling
451
464
  # DescribeLoadBalancers API. To detach the load balancer from the Auto
452
465
  # Scaling group, call the DetachLoadBalancers API.
453
466
  #
454
- # For more information, see [Attaching a Load Balancer to Your Auto
455
- # Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
467
+ # For more information, see [Elastic Load Balancing and Amazon EC2 Auto
468
+ # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
456
469
  #
457
470
  #
458
471
  #
459
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-load-balancer-asg.html
472
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
460
473
  #
461
474
  # @option params [required, String] :auto_scaling_group_name
462
475
  # The name of the Auto Scaling group.
@@ -482,7 +495,7 @@ module Aws::AutoScaling
482
495
  # @example Request syntax with placeholder values
483
496
  #
484
497
  # resp = client.attach_load_balancers({
485
- # auto_scaling_group_name: "ResourceName", # required
498
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
486
499
  # load_balancer_names: ["XmlStringMaxLen255"], # required
487
500
  # })
488
501
  #
@@ -512,8 +525,8 @@ module Aws::AutoScaling
512
525
  # @example Request syntax with placeholder values
513
526
  #
514
527
  # resp = client.batch_delete_scheduled_action({
515
- # auto_scaling_group_name: "ResourceName", # required
516
- # scheduled_action_names: ["ResourceName"], # required
528
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
529
+ # scheduled_action_names: ["XmlStringMaxLen255"], # required
517
530
  # })
518
531
  #
519
532
  # @example Response structure
@@ -549,7 +562,7 @@ module Aws::AutoScaling
549
562
  # @example Request syntax with placeholder values
550
563
  #
551
564
  # resp = client.batch_put_scheduled_update_group_action({
552
- # auto_scaling_group_name: "ResourceName", # required
565
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
553
566
  # scheduled_update_group_actions: [ # required
554
567
  # {
555
568
  # scheduled_action_name: "XmlStringMaxLen255", # required
@@ -654,7 +667,7 @@ module Aws::AutoScaling
654
667
  # 5. **If you finish before the timeout period ends, complete the
655
668
  # lifecycle action.**
656
669
  #
657
- # For more information, see [Amazon EC2 Auto Scaling Lifecycle Hooks][1]
670
+ # For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
658
671
  # in the *Amazon EC2 Auto Scaling User Guide*.
659
672
  #
660
673
  #
@@ -719,13 +732,13 @@ module Aws::AutoScaling
719
732
  # If you exceed your maximum limit of Auto Scaling groups, the call
720
733
  # fails. To query this limit, call the DescribeAccountLimits API. For
721
734
  # information about updating this limit, see [Amazon EC2 Auto Scaling
722
- # Service Quotas][1] in the *Amazon EC2 Auto Scaling User Guide*.
735
+ # service quotas][1] in the *Amazon EC2 Auto Scaling User Guide*.
723
736
  #
724
737
  # For introductory exercises for creating an Auto Scaling group, see
725
- # [Getting Started with Amazon EC2 Auto Scaling][2] and [Tutorial: Set
726
- # Up a Scaled and Load-Balanced Application][3] in the *Amazon EC2 Auto
738
+ # [Getting started with Amazon EC2 Auto Scaling][2] and [Tutorial: Set
739
+ # up a scaled and load-balanced application][3] in the *Amazon EC2 Auto
727
740
  # Scaling User Guide*. For more information, see [Auto Scaling
728
- # Groups][4] in the *Amazon EC2 Auto Scaling User Guide*.
741
+ # groups][4] in the *Amazon EC2 Auto Scaling User Guide*.
729
742
  #
730
743
  # Every Auto Scaling group has three size parameters (`DesiredCapacity`,
731
744
  # `MaxSize`, and `MinSize`). Usually, you set these sizes based on a
@@ -746,32 +759,31 @@ module Aws::AutoScaling
746
759
  # Region per account.
747
760
  #
748
761
  # @option params [String] :launch_configuration_name
749
- # The name of the launch configuration to use when an instance is
750
- # launched. To get the launch configuration name, use the
751
- # DescribeLaunchConfigurations API operation. New launch configurations
752
- # can be created with the CreateLaunchConfiguration API.
762
+ # The name of the launch configuration to use to launch instances.
753
763
  #
754
- # You must specify one of the following parameters in your request:
755
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
756
- # `MixedInstancesPolicy`.
764
+ # Conditional: You must specify either a launch template
765
+ # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
766
+ # (`LaunchConfigurationName` or `InstanceId`).
757
767
  #
758
768
  # @option params [Types::LaunchTemplateSpecification] :launch_template
759
- # Parameters used to specify the launch template and version to use when
760
- # an instance is launched.
769
+ # Parameters used to specify the [launch template][1] and version to use
770
+ # to launch instances.
761
771
  #
762
- # For more information, see [LaunchTemplateSpecification][1] in the
763
- # *Amazon EC2 Auto Scaling API Reference*.
772
+ # Conditional: You must specify either a launch template
773
+ # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
774
+ # (`LaunchConfigurationName` or `InstanceId`).
764
775
  #
765
- # You can alternatively associate a launch template to the Auto Scaling
766
- # group by using the `MixedInstancesPolicy` parameter.
776
+ # <note markdown="1"> The launch template that is specified must be configured for use with
777
+ # an Auto Scaling group. For more information, see [Creating a launch
778
+ # template for an Auto Scaling group][2] in the *Amazon EC2 Auto Scaling
779
+ # User Guide*.
767
780
  #
768
- # You must specify one of the following parameters in your request:
769
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
770
- # `MixedInstancesPolicy`.
781
+ # </note>
771
782
  #
772
783
  #
773
784
  #
774
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_LaunchTemplateSpecification.html
785
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html
786
+ # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
775
787
  #
776
788
  # @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
777
789
  # An embedded object that specifies a mixed instances policy. The
@@ -781,41 +793,30 @@ module Aws::AutoScaling
781
793
  # The policy includes parameters that not only define the distribution
782
794
  # of On-Demand Instances and Spot Instances, the maximum price to pay
783
795
  # for Spot Instances, and how the Auto Scaling group allocates instance
784
- # types to fulfill On-Demand and Spot capacity, but also the parameters
785
- # that specify the instance configuration information—the launch
786
- # template and instance types.
787
- #
788
- # For more information, see [MixedInstancesPolicy][1] in the *Amazon EC2
789
- # Auto Scaling API Reference* and [Auto Scaling Groups with Multiple
790
- # Instance Types and Purchase Options][2] in the *Amazon EC2 Auto
791
- # Scaling User Guide*.
792
- #
793
- # You must specify one of the following parameters in your request:
794
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
795
- # `MixedInstancesPolicy`.
796
+ # types to fulfill On-Demand and Spot capacities, but also the
797
+ # parameters that specify the instance configuration information—the
798
+ # launch template and instance types. The policy can also include a
799
+ # weight for each instance type and different launch templates for
800
+ # individual instance types. For more information, see [Auto Scaling
801
+ # groups with multiple instance types and purchase options][1] in the
802
+ # *Amazon EC2 Auto Scaling User Guide*.
796
803
  #
797
804
  #
798
805
  #
799
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_MixedInstancesPolicy.html
800
- # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
806
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
801
807
  #
802
808
  # @option params [String] :instance_id
803
- # The ID of the instance used to create a launch configuration for the
804
- # group. To get the instance ID, use the Amazon EC2
805
- # [DescribeInstances][1] API operation.
806
- #
807
- # When you specify an ID of an instance, Amazon EC2 Auto Scaling creates
808
- # a new launch configuration and associates it with the group. This
809
- # launch configuration derives its attributes from the specified
810
- # instance, except for the block device mapping.
811
- #
812
- # You must specify one of the following parameters in your request:
813
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
814
- # `MixedInstancesPolicy`.
809
+ # The ID of the instance used to base the launch configuration on. If
810
+ # specified, Amazon EC2 Auto Scaling uses the configuration values from
811
+ # the specified instance to create a new launch configuration. To get
812
+ # the instance ID, use the Amazon EC2 [DescribeInstances][1] API
813
+ # operation. For more information, see [Creating an Auto Scaling group
814
+ # using an EC2 instance][2] in the *Amazon EC2 Auto Scaling User Guide*.
815
815
  #
816
816
  #
817
817
  #
818
818
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
819
+ # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
819
820
  #
820
821
  # @option params [required, Integer] :min_size
821
822
  # The minimum size of the group.
@@ -835,20 +836,18 @@ module Aws::AutoScaling
835
836
  # @option params [Integer] :desired_capacity
836
837
  # The desired capacity is the initial capacity of the Auto Scaling group
837
838
  # at the time of its creation and the capacity it attempts to maintain.
838
- # It can scale beyond this capacity if you configure automatic scaling.
839
- #
840
- # This number must be greater than or equal to the minimum size of the
841
- # group and less than or equal to the maximum size of the group. If you
842
- # do not specify a desired capacity, the default is the minimum size of
843
- # the group.
839
+ # It can scale beyond this capacity if you configure auto scaling. This
840
+ # number must be greater than or equal to the minimum size of the group
841
+ # and less than or equal to the maximum size of the group. If you do not
842
+ # specify a desired capacity, the default is the minimum size of the
843
+ # group.
844
844
  #
845
845
  # @option params [Integer] :default_cooldown
846
846
  # The amount of time, in seconds, after a scaling activity completes
847
847
  # before another scaling activity can start. The default value is `300`.
848
- #
849
848
  # This setting applies when using simple scaling policies, but not when
850
849
  # using other scaling policies or scheduled scaling. For more
851
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1] in
850
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1] in
852
851
  # the *Amazon EC2 Auto Scaling User Guide*.
853
852
  #
854
853
  #
@@ -856,32 +855,25 @@ module Aws::AutoScaling
856
855
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
857
856
  #
858
857
  # @option params [Array<String>] :availability_zones
859
- # One or more Availability Zones for the group. This parameter is
860
- # optional if you specify one or more subnets for `VPCZoneIdentifier`.
858
+ # A list of Availability Zones where instances in the Auto Scaling group
859
+ # can be created. This parameter is optional if you specify one or more
860
+ # subnets for `VPCZoneIdentifier`.
861
861
  #
862
862
  # Conditional: If your account supports EC2-Classic and VPC, this
863
863
  # parameter is required to launch instances into EC2-Classic.
864
864
  #
865
865
  # @option params [Array<String>] :load_balancer_names
866
866
  # A list of Classic Load Balancers associated with this Auto Scaling
867
- # group. For Application Load Balancers and Network Load Balancers,
868
- # specify a list of target groups using the `TargetGroupARNs` property
867
+ # group. For Application Load Balancers, Network Load Balancers, and
868
+ # Gateway Load Balancers, specify the `TargetGroupARNs` property
869
869
  # instead.
870
870
  #
871
- # For more information, see [Using a Load Balancer with an Auto Scaling
872
- # Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
873
- #
874
- #
875
- #
876
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
877
- #
878
871
  # @option params [Array<String>] :target_group_arns
879
872
  # The Amazon Resource Names (ARN) of the target groups to associate with
880
873
  # the Auto Scaling group. Instances are registered as targets in a
881
- # target group, and traffic is routed to the target group.
882
- #
883
- # For more information, see [Using a Load Balancer with an Auto Scaling
884
- # Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
874
+ # target group, and traffic is routed to the target group. For more
875
+ # information, see [Elastic Load Balancing and Amazon EC2 Auto
876
+ # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
885
877
  #
886
878
  #
887
879
  #
@@ -889,13 +881,11 @@ module Aws::AutoScaling
889
881
  #
890
882
  # @option params [String] :health_check_type
891
883
  # The service to use for the health checks. The valid values are `EC2`
892
- # and `ELB`. The default value is `EC2`. If you configure an Auto
893
- # Scaling group to use ELB health checks, it considers the instance
894
- # unhealthy if it fails either the EC2 status checks or the load
895
- # balancer health checks.
896
- #
897
- # For more information, see [Health Checks for Auto Scaling
898
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
884
+ # (default) and `ELB`. If you configure an Auto Scaling group to use
885
+ # load balancer (ELB) health checks, it considers the instance unhealthy
886
+ # if it fails either the EC2 status checks or the load balancer health
887
+ # checks. For more information, see [Health checks for Auto Scaling
888
+ # instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
899
889
  #
900
890
  #
901
891
  #
@@ -905,47 +895,44 @@ module Aws::AutoScaling
905
895
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
906
896
  # before checking the health status of an EC2 instance that has come
907
897
  # into service. During this time, any health check failures for the
908
- # instance are ignored. The default value is `0`.
909
- #
910
- # For more information, see [Health Check Grace Period][1] in the
911
- # *Amazon EC2 Auto Scaling User Guide*.
898
+ # instance are ignored. The default value is `0`. For more information,
899
+ # see [Health check grace period][1] in the *Amazon EC2 Auto Scaling
900
+ # User Guide*.
912
901
  #
913
- # Required if you are adding an `ELB` health check.
902
+ # Conditional: Required if you are adding an `ELB` health check.
914
903
  #
915
904
  #
916
905
  #
917
906
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period
918
907
  #
919
908
  # @option params [String] :placement_group
920
- # The name of the placement group into which to launch your instances,
921
- # if any. A placement group is a logical grouping of instances within a
922
- # single Availability Zone. You cannot specify multiple Availability
923
- # Zones and a placement group. For more information, see [Placement
924
- # Groups][1] in the *Amazon EC2 User Guide for Linux Instances*.
909
+ # The name of an existing placement group into which to launch your
910
+ # instances, if any. A placement group is a logical grouping of
911
+ # instances within a single Availability Zone. You cannot specify
912
+ # multiple Availability Zones and a placement group. For more
913
+ # information, see [Placement Groups][1] in the *Amazon EC2 User Guide
914
+ # for Linux Instances*.
925
915
  #
926
916
  #
927
917
  #
928
918
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
929
919
  #
930
920
  # @option params [String] :vpc_zone_identifier
931
- # A comma-separated list of subnet IDs for your virtual private cloud
932
- # (VPC).
933
- #
934
- # If you specify `VPCZoneIdentifier` with `AvailabilityZones`, the
935
- # subnets that you specify for this parameter must reside in those
936
- # Availability Zones.
921
+ # A comma-separated list of subnet IDs for a virtual private cloud (VPC)
922
+ # where instances in the Auto Scaling group can be created. If you
923
+ # specify `VPCZoneIdentifier` with `AvailabilityZones`, the subnets that
924
+ # you specify for this parameter must reside in those Availability
925
+ # Zones.
937
926
  #
938
927
  # Conditional: If your account supports EC2-Classic and VPC, this
939
928
  # parameter is required to launch instances into a VPC.
940
929
  #
941
930
  # @option params [Array<String>] :termination_policies
942
- # One or more termination policies used to select the instance to
943
- # terminate. These policies are executed in the order that they are
944
- # listed.
945
- #
946
- # For more information, see [Controlling Which Instances Auto Scaling
947
- # Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
948
- # Guide*.
931
+ # A policy or a list of policies that are used to select the instance to
932
+ # terminate. These policies are executed in the order that you list
933
+ # them. For more information, see [Controlling which Auto Scaling
934
+ # instances terminate during scale in][1] in the *Amazon EC2 Auto
935
+ # Scaling User Guide*.
949
936
  #
950
937
  #
951
938
  #
@@ -953,32 +940,42 @@ module Aws::AutoScaling
953
940
  #
954
941
  # @option params [Boolean] :new_instances_protected_from_scale_in
955
942
  # Indicates whether newly launched instances are protected from
956
- # termination by Amazon EC2 Auto Scaling when scaling in.
957
- #
958
- # For more information about preventing instances from terminating on
959
- # scale in, see [Instance Protection][1] in the *Amazon EC2 Auto Scaling
943
+ # termination by Amazon EC2 Auto Scaling when scaling in. For more
944
+ # information about preventing instances from terminating on scale in,
945
+ # see [Instance scale-in protection][1] in the *Amazon EC2 Auto Scaling
960
946
  # User Guide*.
961
947
  #
962
948
  #
963
949
  #
964
950
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
965
951
  #
952
+ # @option params [Boolean] :capacity_rebalance
953
+ # Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity
954
+ # Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon
955
+ # EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon
956
+ # EC2 notifies that a Spot Instance is at an elevated risk of
957
+ # interruption. After launching a new instance, it then terminates an
958
+ # old instance. For more information, see [Amazon EC2 Auto Scaling
959
+ # Capacity Rebalancing][1] in the *Amazon EC2 Auto Scaling User Guide*.
960
+ #
961
+ #
962
+ #
963
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
964
+ #
966
965
  # @option params [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
967
- # One or more lifecycle hooks.
966
+ # One or more lifecycle hooks for the group, which specify actions to
967
+ # perform when Amazon EC2 Auto Scaling launches or terminates instances.
968
968
  #
969
969
  # @option params [Array<Types::Tag>] :tags
970
970
  # One or more tags. You can tag your Auto Scaling group and propagate
971
- # the tags to the Amazon EC2 instances it launches.
972
- #
973
- # Tags are not propagated to Amazon EBS volumes. To add tags to Amazon
974
- # EBS volumes, specify the tags in a launch template but use caution. If
975
- # the launch template specifies an instance tag with a key that is also
976
- # specified for the Auto Scaling group, Amazon EC2 Auto Scaling
977
- # overrides the value of that instance tag with the value specified by
978
- # the Auto Scaling group.
979
- #
980
- # For more information, see [Tagging Auto Scaling Groups and
981
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
971
+ # the tags to the Amazon EC2 instances it launches. Tags are not
972
+ # propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes,
973
+ # specify the tags in a launch template but use caution. If the launch
974
+ # template specifies an instance tag with a key that is also specified
975
+ # for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the
976
+ # value of that instance tag with the value specified by the Auto
977
+ # Scaling group. For more information, see [Tagging Auto Scaling groups
978
+ # and instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
982
979
  #
983
980
  #
984
981
  #
@@ -989,7 +986,7 @@ module Aws::AutoScaling
989
986
  # Auto Scaling group uses to call other AWS services on your behalf. By
990
987
  # default, Amazon EC2 Auto Scaling uses a service-linked role named
991
988
  # AWSServiceRoleForAutoScaling, which it creates if it does not exist.
992
- # For more information, see [Service-Linked Roles][1] in the *Amazon EC2
989
+ # For more information, see [Service-linked roles][1] in the *Amazon EC2
993
990
  # Auto Scaling User Guide*.
994
991
  #
995
992
  #
@@ -998,17 +995,10 @@ module Aws::AutoScaling
998
995
  #
999
996
  # @option params [Integer] :max_instance_lifetime
1000
997
  # The maximum amount of time, in seconds, that an instance can be in
1001
- # service. The default is null.
1002
- #
1003
- # This parameter is optional, but if you specify a value for it, you
1004
- # must specify a value of at least 604,800 seconds (7 days). To clear a
1005
- # previously set value, specify a new value of 0.
1006
- #
1007
- # For more information, see [Replacing Auto Scaling Instances Based on
1008
- # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
1009
- # Guide*.
1010
- #
1011
- # Valid Range: Minimum value of 0.
998
+ # service. The default is null. If specified, the value must be either 0
999
+ # or a number equal to or greater than 86,400 seconds (1 day). For more
1000
+ # information, see [Replacing Auto Scaling instances based on maximum
1001
+ # instance lifetime][1] in the *Amazon EC2 Auto Scaling User Guide*.
1012
1002
  #
1013
1003
  #
1014
1004
  #
@@ -1073,7 +1063,7 @@ module Aws::AutoScaling
1073
1063
  #
1074
1064
  # resp = client.create_auto_scaling_group({
1075
1065
  # auto_scaling_group_name: "XmlStringMaxLen255", # required
1076
- # launch_configuration_name: "ResourceName",
1066
+ # launch_configuration_name: "XmlStringMaxLen255",
1077
1067
  # launch_template: {
1078
1068
  # launch_template_id: "XmlStringMaxLen255",
1079
1069
  # launch_template_name: "LaunchTemplateName",
@@ -1090,6 +1080,11 @@ module Aws::AutoScaling
1090
1080
  # {
1091
1081
  # instance_type: "XmlStringMaxLen255",
1092
1082
  # weighted_capacity: "XmlStringMaxLen32",
1083
+ # launch_template_specification: {
1084
+ # launch_template_id: "XmlStringMaxLen255",
1085
+ # launch_template_name: "LaunchTemplateName",
1086
+ # version: "XmlStringMaxLen255",
1087
+ # },
1093
1088
  # },
1094
1089
  # ],
1095
1090
  # },
@@ -1116,6 +1111,7 @@ module Aws::AutoScaling
1116
1111
  # vpc_zone_identifier: "XmlStringMaxLen2047",
1117
1112
  # termination_policies: ["XmlStringMaxLen1600"],
1118
1113
  # new_instances_protected_from_scale_in: false,
1114
+ # capacity_rebalance: false,
1119
1115
  # lifecycle_hook_specification_list: [
1120
1116
  # {
1121
1117
  # lifecycle_hook_name: "AsciiStringMaxLen255", # required
@@ -1124,7 +1120,7 @@ module Aws::AutoScaling
1124
1120
  # heartbeat_timeout: 1,
1125
1121
  # default_result: "LifecycleActionResult",
1126
1122
  # notification_target_arn: "NotificationTargetResourceName",
1127
- # role_arn: "ResourceName",
1123
+ # role_arn: "XmlStringMaxLen255",
1128
1124
  # },
1129
1125
  # ],
1130
1126
  # tags: [
@@ -1154,9 +1150,9 @@ module Aws::AutoScaling
1154
1150
  # If you exceed your maximum limit of launch configurations, the call
1155
1151
  # fails. To query this limit, call the DescribeAccountLimits API. For
1156
1152
  # information about updating this limit, see [Amazon EC2 Auto Scaling
1157
- # Service Quotas][1] in the *Amazon EC2 Auto Scaling User Guide*.
1153
+ # service quotas][1] in the *Amazon EC2 Auto Scaling User Guide*.
1158
1154
  #
1159
- # For more information, see [Launch Configurations][2] in the *Amazon
1155
+ # For more information, see [Launch configurations][2] in the *Amazon
1160
1156
  # EC2 Auto Scaling User Guide*.
1161
1157
  #
1162
1158
  #
@@ -1207,7 +1203,7 @@ module Aws::AutoScaling
1207
1203
  # @option params [String] :classic_link_vpc_id
1208
1204
  # The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
1209
1205
  # to. For more information, see [ClassicLink][1] in the *Amazon EC2 User
1210
- # Guide for Linux Instances* and [Linking EC2-Classic Instances to a
1206
+ # Guide for Linux Instances* and [Linking EC2-Classic instances to a
1211
1207
  # VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
1212
1208
  #
1213
1209
  # This parameter can only be used if you are launching EC2-Classic
@@ -1222,7 +1218,7 @@ module Aws::AutoScaling
1222
1218
  # The IDs of one or more security groups for the specified
1223
1219
  # ClassicLink-enabled VPC. For more information, see [ClassicLink][1] in
1224
1220
  # the *Amazon EC2 User Guide for Linux Instances* and [Linking
1225
- # EC2-Classic Instances to a VPC][2] in the *Amazon EC2 Auto Scaling
1221
+ # EC2-Classic instances to a VPC][2] in the *Amazon EC2 Auto Scaling
1226
1222
  # User Guide*.
1227
1223
  #
1228
1224
  # If you specify the `ClassicLinkVPCId` parameter, you must specify this
@@ -1235,8 +1231,8 @@ module Aws::AutoScaling
1235
1231
  #
1236
1232
  # @option params [String] :user_data
1237
1233
  # The Base64-encoded user data to make available to the launched EC2
1238
- # instances. For more information, see [Instance Metadata and User
1239
- # Data][1] in the *Amazon EC2 User Guide for Linux Instances*.
1234
+ # instances. For more information, see [Instance metadata and user
1235
+ # data][1] in the *Amazon EC2 User Guide for Linux Instances*.
1240
1236
  #
1241
1237
  #
1242
1238
  #
@@ -1251,8 +1247,8 @@ module Aws::AutoScaling
1251
1247
  # override any other instance attributes, specify them as part of the
1252
1248
  # same request.
1253
1249
  #
1254
- # For more information, see [Create a Launch Configuration Using an EC2
1255
- # Instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
1250
+ # For more information, see [Creating a launch configuration using an
1251
+ # EC2 instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
1256
1252
  #
1257
1253
  # If you do not specify `InstanceId`, you must specify both `ImageId`
1258
1254
  # and `InstanceType`.
@@ -1303,14 +1299,14 @@ module Aws::AutoScaling
1303
1299
  #
1304
1300
  #
1305
1301
  #
1306
- # [1]: https://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-monitoring.html#enable-as-instance-metrics
1302
+ # [1]: https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html
1307
1303
  #
1308
1304
  # @option params [String] :spot_price
1309
1305
  # The maximum hourly price to be paid for any Spot Instance launched to
1310
1306
  # fulfill the request. Spot Instances are launched when the price you
1311
1307
  # specify exceeds the current Spot price. For more information, see
1312
- # [Launching Spot Instances in Your Auto Scaling Group][1] in the
1313
- # *Amazon EC2 Auto Scaling User Guide*.
1308
+ # [Requesting Spot Instances][1] in the *Amazon EC2 Auto Scaling User
1309
+ # Guide*.
1314
1310
  #
1315
1311
  # <note markdown="1"> When you change your maximum price by creating a new launch
1316
1312
  # configuration, running instances will continue to run as long as the
@@ -1328,8 +1324,8 @@ module Aws::AutoScaling
1328
1324
  # associated with the IAM role for the instance. The instance profile
1329
1325
  # contains the IAM role.
1330
1326
  #
1331
- # For more information, see [IAM Role for Applications That Run on
1332
- # Amazon EC2 Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
1327
+ # For more information, see [IAM role for applications that run on
1328
+ # Amazon EC2 instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
1333
1329
  #
1334
1330
  #
1335
1331
  #
@@ -1356,7 +1352,7 @@ module Aws::AutoScaling
1356
1352
  # (VPC), specifies whether to assign a public IP address to the group's
1357
1353
  # instances. If you specify `true`, each instance in the Auto Scaling
1358
1354
  # group receives a unique public IP address. For more information, see
1359
- # [Launching Auto Scaling Instances in a VPC][1] in the *Amazon EC2 Auto
1355
+ # [Launching Auto Scaling instances in a VPC][1] in the *Amazon EC2 Auto
1360
1356
  # Scaling User Guide*.
1361
1357
  #
1362
1358
  # If you specify this parameter, you must specify at least one subnet
@@ -1387,23 +1383,23 @@ module Aws::AutoScaling
1387
1383
  # If you specify `PlacementTenancy`, you must specify at least one
1388
1384
  # subnet for `VPCZoneIdentifier` when you create your group.
1389
1385
  #
1390
- # For more information, see [Instance Placement Tenancy][1] in the
1391
- # *Amazon EC2 Auto Scaling User Guide*.
1386
+ # For more information, see [Configuring instance tenancy with Amazon
1387
+ # EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
1392
1388
  #
1393
1389
  # Valid Values: `default` \| `dedicated`
1394
1390
  #
1395
1391
  #
1396
1392
  #
1397
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-vpc-tenancy
1393
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
1398
1394
  #
1399
1395
  # @option params [Types::InstanceMetadataOptions] :metadata_options
1400
1396
  # The metadata options for the instances. For more information, see
1401
- # [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide for
1402
- # Linux Instances*.
1397
+ # [Configuring the Instance Metadata Options][1] in the *Amazon EC2 Auto
1398
+ # Scaling User Guide*.
1403
1399
  #
1404
1400
  #
1405
1401
  #
1406
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
1402
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds
1407
1403
  #
1408
1404
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1409
1405
  #
@@ -1481,8 +1477,8 @@ module Aws::AutoScaling
1481
1477
  # overwrites the previous tag definition, and you do not get an error
1482
1478
  # message.
1483
1479
  #
1484
- # For more information, see [Tagging Auto Scaling Groups and
1485
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
1480
+ # For more information, see [Tagging Auto Scaling groups and
1481
+ # instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
1486
1482
  #
1487
1483
  #
1488
1484
  #
@@ -1590,7 +1586,7 @@ module Aws::AutoScaling
1590
1586
  # @example Request syntax with placeholder values
1591
1587
  #
1592
1588
  # resp = client.delete_auto_scaling_group({
1593
- # auto_scaling_group_name: "ResourceName", # required
1589
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
1594
1590
  # force_delete: false,
1595
1591
  # })
1596
1592
  #
@@ -1626,7 +1622,7 @@ module Aws::AutoScaling
1626
1622
  # @example Request syntax with placeholder values
1627
1623
  #
1628
1624
  # resp = client.delete_launch_configuration({
1629
- # launch_configuration_name: "ResourceName", # required
1625
+ # launch_configuration_name: "XmlStringMaxLen255", # required
1630
1626
  # })
1631
1627
  #
1632
1628
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfiguration AWS API Documentation
@@ -1666,7 +1662,7 @@ module Aws::AutoScaling
1666
1662
  #
1667
1663
  # resp = client.delete_lifecycle_hook({
1668
1664
  # lifecycle_hook_name: "AsciiStringMaxLen255", # required
1669
- # auto_scaling_group_name: "ResourceName", # required
1665
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
1670
1666
  # })
1671
1667
  #
1672
1668
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHook AWS API Documentation
@@ -1702,8 +1698,8 @@ module Aws::AutoScaling
1702
1698
  # @example Request syntax with placeholder values
1703
1699
  #
1704
1700
  # resp = client.delete_notification_configuration({
1705
- # auto_scaling_group_name: "ResourceName", # required
1706
- # topic_arn: "ResourceName", # required
1701
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
1702
+ # topic_arn: "XmlStringMaxLen255", # required
1707
1703
  # })
1708
1704
  #
1709
1705
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfiguration AWS API Documentation
@@ -1721,7 +1717,7 @@ module Aws::AutoScaling
1721
1717
  # deletes the underlying alarm action, but does not delete the alarm,
1722
1718
  # even if it no longer has an associated action.
1723
1719
  #
1724
- # For more information, see [Deleting a Scaling Policy][1] in the
1720
+ # For more information, see [Deleting a scaling policy][1] in the
1725
1721
  # *Amazon EC2 Auto Scaling User Guide*.
1726
1722
  #
1727
1723
  #
@@ -1749,7 +1745,7 @@ module Aws::AutoScaling
1749
1745
  # @example Request syntax with placeholder values
1750
1746
  #
1751
1747
  # resp = client.delete_policy({
1752
- # auto_scaling_group_name: "ResourceName",
1748
+ # auto_scaling_group_name: "XmlStringMaxLen255",
1753
1749
  # policy_name: "ResourceName", # required
1754
1750
  # })
1755
1751
  #
@@ -1785,8 +1781,8 @@ module Aws::AutoScaling
1785
1781
  # @example Request syntax with placeholder values
1786
1782
  #
1787
1783
  # resp = client.delete_scheduled_action({
1788
- # auto_scaling_group_name: "ResourceName", # required
1789
- # scheduled_action_name: "ResourceName", # required
1784
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
1785
+ # scheduled_action_name: "XmlStringMaxLen255", # required
1790
1786
  # })
1791
1787
  #
1792
1788
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledAction AWS API Documentation
@@ -1848,7 +1844,7 @@ module Aws::AutoScaling
1848
1844
  # AWS account.
1849
1845
  #
1850
1846
  # For information about requesting an increase, see [Amazon EC2 Auto
1851
- # Scaling Service Quotas][1] in the *Amazon EC2 Auto Scaling User
1847
+ # Scaling service quotas][1] in the *Amazon EC2 Auto Scaling User
1852
1848
  # Guide*.
1853
1849
  #
1854
1850
  #
@@ -1951,9 +1947,9 @@ module Aws::AutoScaling
1951
1947
  # Describes one or more Auto Scaling groups.
1952
1948
  #
1953
1949
  # @option params [Array<String>] :auto_scaling_group_names
1954
- # The names of the Auto Scaling groups. Each name can be a maximum of
1955
- # 1600 characters. By default, you can only specify up to 50 names. You
1956
- # can optionally increase this limit using the `MaxRecords` parameter.
1950
+ # The names of the Auto Scaling groups. By default, you can only specify
1951
+ # up to 50 names. You can optionally increase this limit using the
1952
+ # `MaxRecords` parameter.
1957
1953
  #
1958
1954
  # If you omit this parameter, all Auto Scaling groups are described.
1959
1955
  #
@@ -2030,7 +2026,7 @@ module Aws::AutoScaling
2030
2026
  # @example Request syntax with placeholder values
2031
2027
  #
2032
2028
  # resp = client.describe_auto_scaling_groups({
2033
- # auto_scaling_group_names: ["ResourceName"],
2029
+ # auto_scaling_group_names: ["XmlStringMaxLen255"],
2034
2030
  # next_token: "XmlString",
2035
2031
  # max_records: 1,
2036
2032
  # })
@@ -2050,6 +2046,9 @@ module Aws::AutoScaling
2050
2046
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides #=> Array
2051
2047
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_type #=> String
2052
2048
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].weighted_capacity #=> String
2049
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_id #=> String
2050
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_name #=> String
2051
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.version #=> String
2053
2052
  # resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
2054
2053
  # resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
2055
2054
  # resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
@@ -2101,6 +2100,7 @@ module Aws::AutoScaling
2101
2100
  # resp.auto_scaling_groups[0].new_instances_protected_from_scale_in #=> Boolean
2102
2101
  # resp.auto_scaling_groups[0].service_linked_role_arn #=> String
2103
2102
  # resp.auto_scaling_groups[0].max_instance_lifetime #=> Integer
2103
+ # resp.auto_scaling_groups[0].capacity_rebalance #=> Boolean
2104
2104
  # resp.next_token #=> String
2105
2105
  #
2106
2106
  #
@@ -2409,7 +2409,7 @@ module Aws::AutoScaling
2409
2409
  # @example Request syntax with placeholder values
2410
2410
  #
2411
2411
  # resp = client.describe_launch_configurations({
2412
- # launch_configuration_names: ["ResourceName"],
2412
+ # launch_configuration_names: ["XmlStringMaxLen255"],
2413
2413
  # next_token: "XmlString",
2414
2414
  # max_records: 1,
2415
2415
  # })
@@ -2544,7 +2544,7 @@ module Aws::AutoScaling
2544
2544
  # @example Request syntax with placeholder values
2545
2545
  #
2546
2546
  # resp = client.describe_lifecycle_hooks({
2547
- # auto_scaling_group_name: "ResourceName", # required
2547
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
2548
2548
  # lifecycle_hook_names: ["AsciiStringMaxLen255"],
2549
2549
  # })
2550
2550
  #
@@ -2610,7 +2610,7 @@ module Aws::AutoScaling
2610
2610
  # @example Request syntax with placeholder values
2611
2611
  #
2612
2612
  # resp = client.describe_load_balancer_target_groups({
2613
- # auto_scaling_group_name: "ResourceName", # required
2613
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
2614
2614
  # next_token: "XmlString",
2615
2615
  # max_records: 1,
2616
2616
  # })
@@ -2634,8 +2634,8 @@ module Aws::AutoScaling
2634
2634
  # Describes the load balancers for the specified Auto Scaling group.
2635
2635
  #
2636
2636
  # This operation describes only Classic Load Balancers. If you have
2637
- # Application Load Balancers or Network Load Balancers, use the
2638
- # DescribeLoadBalancerTargetGroups API instead.
2637
+ # Application Load Balancers, Network Load Balancers, or Gateway Load
2638
+ # Balancers, use the DescribeLoadBalancerTargetGroups API instead.
2639
2639
  #
2640
2640
  # @option params [required, String] :auto_scaling_group_name
2641
2641
  # The name of the Auto Scaling group.
@@ -2675,7 +2675,7 @@ module Aws::AutoScaling
2675
2675
  # @example Request syntax with placeholder values
2676
2676
  #
2677
2677
  # resp = client.describe_load_balancers({
2678
- # auto_scaling_group_name: "ResourceName", # required
2678
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
2679
2679
  # next_token: "XmlString",
2680
2680
  # max_records: 1,
2681
2681
  # })
@@ -2818,7 +2818,7 @@ module Aws::AutoScaling
2818
2818
  # @example Request syntax with placeholder values
2819
2819
  #
2820
2820
  # resp = client.describe_notification_configurations({
2821
- # auto_scaling_group_names: ["ResourceName"],
2821
+ # auto_scaling_group_names: ["XmlStringMaxLen255"],
2822
2822
  # next_token: "XmlString",
2823
2823
  # max_records: 1,
2824
2824
  # })
@@ -2908,7 +2908,7 @@ module Aws::AutoScaling
2908
2908
  # @example Request syntax with placeholder values
2909
2909
  #
2910
2910
  # resp = client.describe_policies({
2911
- # auto_scaling_group_name: "ResourceName",
2911
+ # auto_scaling_group_name: "XmlStringMaxLen255",
2912
2912
  # policy_names: ["ResourceName"],
2913
2913
  # policy_types: ["XmlStringMaxLen64"],
2914
2914
  # next_token: "XmlString",
@@ -3017,7 +3017,7 @@ module Aws::AutoScaling
3017
3017
  #
3018
3018
  # resp = client.describe_scaling_activities({
3019
3019
  # activity_ids: ["XmlString"],
3020
- # auto_scaling_group_name: "ResourceName",
3020
+ # auto_scaling_group_name: "XmlStringMaxLen255",
3021
3021
  # max_records: 1,
3022
3022
  # next_token: "XmlString",
3023
3023
  # })
@@ -3170,8 +3170,8 @@ module Aws::AutoScaling
3170
3170
  # @example Request syntax with placeholder values
3171
3171
  #
3172
3172
  # resp = client.describe_scheduled_actions({
3173
- # auto_scaling_group_name: "ResourceName",
3174
- # scheduled_action_names: ["ResourceName"],
3173
+ # auto_scaling_group_name: "XmlStringMaxLen255",
3174
+ # scheduled_action_names: ["XmlStringMaxLen255"],
3175
3175
  # start_time: Time.now,
3176
3176
  # end_time: Time.now,
3177
3177
  # next_token: "XmlString",
@@ -3213,8 +3213,8 @@ module Aws::AutoScaling
3213
3213
  # for a particular tag only if it matches all the filters. If there's
3214
3214
  # no match, no special message is returned.
3215
3215
  #
3216
- # For more information, see [Tagging Auto Scaling Groups and
3217
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
3216
+ # For more information, see [Tagging Auto Scaling groups and
3217
+ # instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
3218
3218
  #
3219
3219
  #
3220
3220
  #
@@ -3310,8 +3310,8 @@ module Aws::AutoScaling
3310
3310
  # Describes the termination policies supported by Amazon EC2 Auto
3311
3311
  # Scaling.
3312
3312
  #
3313
- # For more information, see [Controlling Which Auto Scaling Instances
3314
- # Terminate During Scale In][1] in the *Amazon EC2 Auto Scaling User
3313
+ # For more information, see [Controlling which Auto Scaling instances
3314
+ # terminate during scale in][1] in the *Amazon EC2 Auto Scaling User
3315
3315
  # Guide*.
3316
3316
  #
3317
3317
  #
@@ -3369,8 +3369,8 @@ module Aws::AutoScaling
3369
3369
  # are target groups attached to the Auto Scaling group, the instances
3370
3370
  # are deregistered from the target groups.
3371
3371
  #
3372
- # For more information, see [Detach EC2 Instances from Your Auto Scaling
3373
- # Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
3372
+ # For more information, see [Detach EC2 instances from your Auto Scaling
3373
+ # group][1] in the *Amazon EC2 Auto Scaling User Guide*.
3374
3374
  #
3375
3375
  #
3376
3376
  #
@@ -3423,7 +3423,7 @@ module Aws::AutoScaling
3423
3423
  #
3424
3424
  # resp = client.detach_instances({
3425
3425
  # instance_ids: ["XmlStringMaxLen19"],
3426
- # auto_scaling_group_name: "ResourceName", # required
3426
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
3427
3427
  # should_decrement_desired_capacity: false, # required
3428
3428
  # })
3429
3429
  #
@@ -3477,7 +3477,7 @@ module Aws::AutoScaling
3477
3477
  # @example Request syntax with placeholder values
3478
3478
  #
3479
3479
  # resp = client.detach_load_balancer_target_groups({
3480
- # auto_scaling_group_name: "ResourceName", # required
3480
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
3481
3481
  # target_group_arns: ["XmlStringMaxLen511"], # required
3482
3482
  # })
3483
3483
  #
@@ -3494,8 +3494,8 @@ module Aws::AutoScaling
3494
3494
  # Scaling group.
3495
3495
  #
3496
3496
  # This operation detaches only Classic Load Balancers. If you have
3497
- # Application Load Balancers or Network Load Balancers, use the
3498
- # DetachLoadBalancerTargetGroups API instead.
3497
+ # Application Load Balancers, Network Load Balancers, or Gateway Load
3498
+ # Balancers, use the DetachLoadBalancerTargetGroups API instead.
3499
3499
  #
3500
3500
  # When you detach a load balancer, it enters the `Removing` state while
3501
3501
  # deregistering the instances in the group. When all instances are
@@ -3526,7 +3526,7 @@ module Aws::AutoScaling
3526
3526
  # @example Request syntax with placeholder values
3527
3527
  #
3528
3528
  # resp = client.detach_load_balancers({
3529
- # auto_scaling_group_name: "ResourceName", # required
3529
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
3530
3530
  # load_balancer_names: ["XmlStringMaxLen255"], # required
3531
3531
  # })
3532
3532
  #
@@ -3592,7 +3592,7 @@ module Aws::AutoScaling
3592
3592
  # @example Request syntax with placeholder values
3593
3593
  #
3594
3594
  # resp = client.disable_metrics_collection({
3595
- # auto_scaling_group_name: "ResourceName", # required
3595
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
3596
3596
  # metrics: ["XmlStringMaxLen255"],
3597
3597
  # })
3598
3598
  #
@@ -3606,8 +3606,8 @@ module Aws::AutoScaling
3606
3606
  end
3607
3607
 
3608
3608
  # Enables group metrics for the specified Auto Scaling group. For more
3609
- # information, see [Monitoring Your Auto Scaling Groups and
3610
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
3609
+ # information, see [Monitoring CloudWatch metrics for your Auto Scaling
3610
+ # groups and instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
3611
3611
  #
3612
3612
  #
3613
3613
  #
@@ -3670,7 +3670,7 @@ module Aws::AutoScaling
3670
3670
  # @example Request syntax with placeholder values
3671
3671
  #
3672
3672
  # resp = client.enable_metrics_collection({
3673
- # auto_scaling_group_name: "ResourceName", # required
3673
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
3674
3674
  # metrics: ["XmlStringMaxLen255"],
3675
3675
  # granularity: "XmlStringMaxLen255", # required
3676
3676
  # })
@@ -3695,8 +3695,8 @@ module Aws::AutoScaling
3695
3695
  # Scaling group, the Auto Scaling group launches new instances to
3696
3696
  # replace the instances on standby.
3697
3697
  #
3698
- # For more information, see [Temporarily Removing Instances from Your
3699
- # Auto Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
3698
+ # For more information, see [Temporarily removing instances from your
3699
+ # Auto Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
3700
3700
  #
3701
3701
  #
3702
3702
  #
@@ -3749,7 +3749,7 @@ module Aws::AutoScaling
3749
3749
  #
3750
3750
  # resp = client.enter_standby({
3751
3751
  # instance_ids: ["XmlStringMaxLen19"],
3752
- # auto_scaling_group_name: "ResourceName", # required
3752
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
3753
3753
  # should_decrement_desired_capacity: false, # required
3754
3754
  # })
3755
3755
  #
@@ -3790,7 +3790,7 @@ module Aws::AutoScaling
3790
3790
  # period to complete before executing the policy.
3791
3791
  #
3792
3792
  # Valid only if the policy type is `SimpleScaling`. For more
3793
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1] in
3793
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1] in
3794
3794
  # the *Amazon EC2 Auto Scaling User Guide*.
3795
3795
  #
3796
3796
  #
@@ -3833,7 +3833,7 @@ module Aws::AutoScaling
3833
3833
  # @example Request syntax with placeholder values
3834
3834
  #
3835
3835
  # resp = client.execute_policy({
3836
- # auto_scaling_group_name: "ResourceName",
3836
+ # auto_scaling_group_name: "XmlStringMaxLen255",
3837
3837
  # policy_name: "ResourceName", # required
3838
3838
  # honor_cooldown: false,
3839
3839
  # metric_value: 1.0,
@@ -3854,8 +3854,8 @@ module Aws::AutoScaling
3854
3854
  # After you put the instances back in service, the desired capacity is
3855
3855
  # incremented.
3856
3856
  #
3857
- # For more information, see [Temporarily Removing Instances from Your
3858
- # Auto Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
3857
+ # For more information, see [Temporarily removing instances from your
3858
+ # Auto Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
3859
3859
  #
3860
3860
  #
3861
3861
  #
@@ -3903,7 +3903,7 @@ module Aws::AutoScaling
3903
3903
  #
3904
3904
  # resp = client.exit_standby({
3905
3905
  # instance_ids: ["XmlStringMaxLen19"],
3906
- # auto_scaling_group_name: "ResourceName", # required
3906
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
3907
3907
  # })
3908
3908
  #
3909
3909
  # @example Response structure
@@ -3958,7 +3958,7 @@ module Aws::AutoScaling
3958
3958
  # 5. If you finish before the timeout period ends, complete the
3959
3959
  # lifecycle action using the CompleteLifecycleAction API call.
3960
3960
  #
3961
- # For more information, see [Amazon EC2 Auto Scaling Lifecycle Hooks][1]
3961
+ # For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
3962
3962
  # in the *Amazon EC2 Auto Scaling User Guide*.
3963
3963
  #
3964
3964
  # If you exceed your maximum limit of lifecycle hooks, which by default
@@ -4053,9 +4053,9 @@ module Aws::AutoScaling
4053
4053
  #
4054
4054
  # resp = client.put_lifecycle_hook({
4055
4055
  # lifecycle_hook_name: "AsciiStringMaxLen255", # required
4056
- # auto_scaling_group_name: "ResourceName", # required
4056
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
4057
4057
  # lifecycle_transition: "LifecycleTransition",
4058
- # role_arn: "ResourceName",
4058
+ # role_arn: "XmlStringMaxLen255",
4059
4059
  # notification_target_arn: "NotificationTargetResourceName",
4060
4060
  # notification_metadata: "XmlStringMaxLen1023",
4061
4061
  # heartbeat_timeout: 1,
@@ -4078,10 +4078,13 @@ module Aws::AutoScaling
4078
4078
  #
4079
4079
  # This configuration overwrites any existing configuration.
4080
4080
  #
4081
- # For more information, see [Getting Amazon SNS Notifications When Your
4082
- # Auto Scaling Group Scales][1] in the *Amazon EC2 Auto Scaling User
4081
+ # For more information, see [Getting Amazon SNS notifications when your
4082
+ # Auto Scaling group scales][1] in the *Amazon EC2 Auto Scaling User
4083
4083
  # Guide*.
4084
4084
  #
4085
+ # If you exceed your maximum limit of SNS topics, which is 10 per Auto
4086
+ # Scaling group, the call fails.
4087
+ #
4085
4088
  #
4086
4089
  #
4087
4090
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html
@@ -4116,8 +4119,8 @@ module Aws::AutoScaling
4116
4119
  # @example Request syntax with placeholder values
4117
4120
  #
4118
4121
  # resp = client.put_notification_configuration({
4119
- # auto_scaling_group_name: "ResourceName", # required
4120
- # topic_arn: "ResourceName", # required
4122
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
4123
+ # topic_arn: "XmlStringMaxLen255", # required
4121
4124
  # notification_types: ["XmlStringMaxLen255"], # required
4122
4125
  # })
4123
4126
  #
@@ -4133,8 +4136,8 @@ module Aws::AutoScaling
4133
4136
  # Creates or updates a scaling policy for an Auto Scaling group.
4134
4137
  #
4135
4138
  # For more information about using scaling policies to scale your Auto
4136
- # Scaling group, see [Target Tracking Scaling Policies][1] and [Step and
4137
- # Simple Scaling Policies][2] in the *Amazon EC2 Auto Scaling User
4139
+ # Scaling group, see [Target tracking scaling policies][1] and [Step and
4140
+ # simple scaling policies][2] in the *Amazon EC2 Auto Scaling User
4138
4141
  # Guide*.
4139
4142
  #
4140
4143
  #
@@ -4163,7 +4166,7 @@ module Aws::AutoScaling
4163
4166
  # `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
4164
4167
  #
4165
4168
  # Required if the policy type is `StepScaling` or `SimpleScaling`. For
4166
- # more information, see [Scaling Adjustment Types][1] in the *Amazon EC2
4169
+ # more information, see [Scaling adjustment types][1] in the *Amazon EC2
4167
4170
  # Auto Scaling User Guide*.
4168
4171
  #
4169
4172
  #
@@ -4184,7 +4187,7 @@ module Aws::AutoScaling
4184
4187
  # EC2 Auto Scaling scales out the group by 2 instances.
4185
4188
  #
4186
4189
  # Valid only if the policy type is `StepScaling` or `SimpleScaling`. For
4187
- # more information, see [Scaling Adjustment Types][1] in the *Amazon EC2
4190
+ # more information, see [Scaling adjustment types][1] in the *Amazon EC2
4188
4191
  # Auto Scaling User Guide*.
4189
4192
  #
4190
4193
  # <note markdown="1"> Some Auto Scaling groups use instance weights. In this case, set the
@@ -4212,7 +4215,7 @@ module Aws::AutoScaling
4212
4215
  # period defined for the Auto Scaling group.
4213
4216
  #
4214
4217
  # Valid only if the policy type is `SimpleScaling`. For more
4215
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1] in
4218
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1] in
4216
4219
  # the *Amazon EC2 Auto Scaling User Guide*.
4217
4220
  #
4218
4221
  #
@@ -4271,8 +4274,8 @@ module Aws::AutoScaling
4271
4274
  #
4272
4275
  # @option params [Boolean] :enabled
4273
4276
  # Indicates whether the scaling policy is enabled or disabled. The
4274
- # default is enabled. For more information, see [Disabling a Scaling
4275
- # Policy for an Auto Scaling Group][1] in the *Amazon EC2 Auto Scaling
4277
+ # default is enabled. For more information, see [Disabling a scaling
4278
+ # policy for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
4276
4279
  # User Guide*.
4277
4280
  #
4278
4281
  #
@@ -4320,7 +4323,7 @@ module Aws::AutoScaling
4320
4323
  # @example Request syntax with placeholder values
4321
4324
  #
4322
4325
  # resp = client.put_scaling_policy({
4323
- # auto_scaling_group_name: "ResourceName", # required
4326
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
4324
4327
  # policy_name: "XmlStringMaxLen255", # required
4325
4328
  # policy_type: "XmlStringMaxLen64",
4326
4329
  # adjustment_type: "XmlStringMaxLen255",
@@ -4380,7 +4383,7 @@ module Aws::AutoScaling
4380
4383
  # group. If you leave a parameter unspecified when updating a scheduled
4381
4384
  # scaling action, the corresponding value remains unchanged.
4382
4385
  #
4383
- # For more information, see [Scheduled Scaling][1] in the *Amazon EC2
4386
+ # For more information, see [Scheduled scaling][1] in the *Amazon EC2
4384
4387
  # Auto Scaling User Guide*.
4385
4388
  #
4386
4389
  #
@@ -4458,7 +4461,7 @@ module Aws::AutoScaling
4458
4461
  # @example Request syntax with placeholder values
4459
4462
  #
4460
4463
  # resp = client.put_scheduled_update_group_action({
4461
- # auto_scaling_group_name: "ResourceName", # required
4464
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
4462
4465
  # scheduled_action_name: "XmlStringMaxLen255", # required
4463
4466
  # time: Time.now,
4464
4467
  # start_time: Time.now,
@@ -4503,7 +4506,7 @@ module Aws::AutoScaling
4503
4506
  # 5. If you finish before the timeout period ends, complete the
4504
4507
  # lifecycle action.
4505
4508
  #
4506
- # For more information, see [Auto Scaling Lifecycle][1] in the *Amazon
4509
+ # For more information, see [Auto Scaling lifecycle][1] in the *Amazon
4507
4510
  # EC2 Auto Scaling User Guide*.
4508
4511
  #
4509
4512
  #
@@ -4556,11 +4559,11 @@ module Aws::AutoScaling
4556
4559
  req.send_request(options)
4557
4560
  end
4558
4561
 
4559
- # Resumes the specified suspended automatic scaling processes, or all
4562
+ # Resumes the specified suspended auto scaling processes, or all
4560
4563
  # suspended process, for the specified Auto Scaling group.
4561
4564
  #
4562
- # For more information, see [Suspending and Resuming Scaling
4563
- # Processes][1] in the *Amazon EC2 Auto Scaling User Guide*.
4565
+ # For more information, see [Suspending and resuming scaling
4566
+ # processes][1] in the *Amazon EC2 Auto Scaling User Guide*.
4564
4567
  #
4565
4568
  #
4566
4569
  #
@@ -4609,7 +4612,7 @@ module Aws::AutoScaling
4609
4612
  # @example Request syntax with placeholder values
4610
4613
  #
4611
4614
  # resp = client.resume_processes({
4612
- # auto_scaling_group_name: "ResourceName", # required
4615
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
4613
4616
  # scaling_processes: ["XmlStringMaxLen255"],
4614
4617
  # })
4615
4618
  #
@@ -4629,7 +4632,7 @@ module Aws::AutoScaling
4629
4632
  # Scaling group uses its termination policy to determine which instances
4630
4633
  # to terminate.
4631
4634
  #
4632
- # For more information, see [Manual Scaling][1] in the *Amazon EC2 Auto
4635
+ # For more information, see [Manual scaling][1] in the *Amazon EC2 Auto
4633
4636
  # Scaling User Guide*.
4634
4637
  #
4635
4638
  #
@@ -4667,7 +4670,7 @@ module Aws::AutoScaling
4667
4670
  # @example Request syntax with placeholder values
4668
4671
  #
4669
4672
  # resp = client.set_desired_capacity({
4670
- # auto_scaling_group_name: "ResourceName", # required
4673
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
4671
4674
  # desired_capacity: 1, # required
4672
4675
  # honor_cooldown: false,
4673
4676
  # })
@@ -4683,8 +4686,8 @@ module Aws::AutoScaling
4683
4686
 
4684
4687
  # Sets the health status of the specified instance.
4685
4688
  #
4686
- # For more information, see [Health Checks for Auto Scaling
4687
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
4689
+ # For more information, see [Health checks for Auto Scaling
4690
+ # instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
4688
4691
  #
4689
4692
  #
4690
4693
  #
@@ -4746,14 +4749,17 @@ module Aws::AutoScaling
4746
4749
  #
4747
4750
  # For more information about preventing instances that are part of an
4748
4751
  # Auto Scaling group from terminating on scale in, see [Instance
4749
- # Protection][1] in the *Amazon EC2 Auto Scaling User Guide*.
4752
+ # scale-in protection][1] in the *Amazon EC2 Auto Scaling User Guide*.
4753
+ #
4754
+ # If you exceed your maximum limit of instance IDs, which is 50 per Auto
4755
+ # Scaling group, the call fails.
4750
4756
  #
4751
4757
  #
4752
4758
  #
4753
4759
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
4754
4760
  #
4755
4761
  # @option params [required, Array<String>] :instance_ids
4756
- # One or more instance IDs.
4762
+ # One or more instance IDs. You can specify up to 50 instances.
4757
4763
  #
4758
4764
  # @option params [required, String] :auto_scaling_group_name
4759
4765
  # The name of the Auto Scaling group.
@@ -4793,7 +4799,7 @@ module Aws::AutoScaling
4793
4799
  #
4794
4800
  # resp = client.set_instance_protection({
4795
4801
  # instance_ids: ["XmlStringMaxLen19"], # required
4796
- # auto_scaling_group_name: "ResourceName", # required
4802
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
4797
4803
  # protected_from_scale_in: false, # required
4798
4804
  # })
4799
4805
  #
@@ -4899,12 +4905,12 @@ module Aws::AutoScaling
4899
4905
  req.send_request(options)
4900
4906
  end
4901
4907
 
4902
- # Suspends the specified automatic scaling processes, or all processes,
4903
- # for the specified Auto Scaling group.
4908
+ # Suspends the specified auto scaling processes, or all processes, for
4909
+ # the specified Auto Scaling group.
4904
4910
  #
4905
4911
  # If you suspend either the `Launch` or `Terminate` process types, it
4906
4912
  # can prevent other process types from functioning properly. For more
4907
- # information, see [Suspending and Resuming Scaling Processes][1] in the
4913
+ # information, see [Suspending and resuming scaling processes][1] in the
4908
4914
  # *Amazon EC2 Auto Scaling User Guide*.
4909
4915
  #
4910
4916
  # To resume processes that have been suspended, call the ResumeProcesses
@@ -4957,7 +4963,7 @@ module Aws::AutoScaling
4957
4963
  # @example Request syntax with placeholder values
4958
4964
  #
4959
4965
  # resp = client.suspend_processes({
4960
- # auto_scaling_group_name: "ResourceName", # required
4966
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
4961
4967
  # scaling_processes: ["XmlStringMaxLen255"],
4962
4968
  # })
4963
4969
  #
@@ -4987,7 +4993,7 @@ module Aws::AutoScaling
4987
4993
  # Scaling group can become unbalanced between Availability Zones. Amazon
4988
4994
  # EC2 Auto Scaling tries to rebalance the group, and rebalancing might
4989
4995
  # terminate instances in other zones. For more information, see
4990
- # [Rebalancing Activities][1] in the *Amazon EC2 Auto Scaling User
4996
+ # [Rebalancing activities][1] in the *Amazon EC2 Auto Scaling User
4991
4997
  # Guide*.
4992
4998
  #
4993
4999
  #
@@ -5103,29 +5109,16 @@ module Aws::AutoScaling
5103
5109
  # specify `LaunchTemplate` in your update request, you can't specify
5104
5110
  # `LaunchConfigurationName` or `MixedInstancesPolicy`.
5105
5111
  #
5106
- # For more information, see [LaunchTemplateSpecification][1] in the
5107
- # *Amazon EC2 Auto Scaling API Reference*.
5108
- #
5109
- #
5110
- #
5111
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_LaunchTemplateSpecification.html
5112
- #
5113
5112
  # @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
5114
- # An embedded object that specifies a mixed instances policy.
5115
- #
5116
- # In your call to `UpdateAutoScalingGroup`, you can make changes to the
5117
- # policy that is specified. All optional parameters are left unchanged
5118
- # if not specified.
5119
- #
5120
- # For more information, see [MixedInstancesPolicy][1] in the *Amazon EC2
5121
- # Auto Scaling API Reference* and [Auto Scaling Groups with Multiple
5122
- # Instance Types and Purchase Options][2] in the *Amazon EC2 Auto
5123
- # Scaling User Guide*.
5113
+ # An embedded object that specifies a mixed instances policy. When you
5114
+ # make changes to an existing policy, all optional parameters are left
5115
+ # unchanged if not specified. For more information, see [Auto Scaling
5116
+ # groups with multiple instance types and purchase options][1] in the
5117
+ # *Amazon EC2 Auto Scaling User Guide*.
5124
5118
  #
5125
5119
  #
5126
5120
  #
5127
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_MixedInstancesPolicy.html
5128
- # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
5121
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
5129
5122
  #
5130
5123
  # @option params [Integer] :min_size
5131
5124
  # The minimum size of the Auto Scaling group.
@@ -5145,18 +5138,16 @@ module Aws::AutoScaling
5145
5138
  # @option params [Integer] :desired_capacity
5146
5139
  # The desired capacity is the initial capacity of the Auto Scaling group
5147
5140
  # after this operation completes and the capacity it attempts to
5148
- # maintain.
5149
- #
5150
- # This number must be greater than or equal to the minimum size of the
5151
- # group and less than or equal to the maximum size of the group.
5141
+ # maintain. This number must be greater than or equal to the minimum
5142
+ # size of the group and less than or equal to the maximum size of the
5143
+ # group.
5152
5144
  #
5153
5145
  # @option params [Integer] :default_cooldown
5154
5146
  # The amount of time, in seconds, after a scaling activity completes
5155
5147
  # before another scaling activity can start. The default value is `300`.
5156
- #
5157
5148
  # This setting applies when using simple scaling policies, but not when
5158
5149
  # using other scaling policies or scheduled scaling. For more
5159
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1] in
5150
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1] in
5160
5151
  # the *Amazon EC2 Auto Scaling User Guide*.
5161
5152
  #
5162
5153
  #
@@ -5175,43 +5166,40 @@ module Aws::AutoScaling
5175
5166
  # @option params [Integer] :health_check_grace_period
5176
5167
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
5177
5168
  # before checking the health status of an EC2 instance that has come
5178
- # into service. The default value is `0`.
5179
- #
5180
- # For more information, see [Health Check Grace Period][1] in the
5181
- # *Amazon EC2 Auto Scaling User Guide*.
5169
+ # into service. The default value is `0`. For more information, see
5170
+ # [Health check grace period][1] in the *Amazon EC2 Auto Scaling User
5171
+ # Guide*.
5182
5172
  #
5183
- # Required if you are adding an `ELB` health check.
5173
+ # Conditional: Required if you are adding an `ELB` health check.
5184
5174
  #
5185
5175
  #
5186
5176
  #
5187
5177
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period
5188
5178
  #
5189
5179
  # @option params [String] :placement_group
5190
- # The name of the placement group into which to launch your instances,
5191
- # if any. A placement group is a logical grouping of instances within a
5192
- # single Availability Zone. You cannot specify multiple Availability
5193
- # Zones and a placement group. For more information, see [Placement
5194
- # Groups][1] in the *Amazon EC2 User Guide for Linux Instances*.
5180
+ # The name of an existing placement group into which to launch your
5181
+ # instances, if any. A placement group is a logical grouping of
5182
+ # instances within a single Availability Zone. You cannot specify
5183
+ # multiple Availability Zones and a placement group. For more
5184
+ # information, see [Placement Groups][1] in the *Amazon EC2 User Guide
5185
+ # for Linux Instances*.
5195
5186
  #
5196
5187
  #
5197
5188
  #
5198
5189
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
5199
5190
  #
5200
5191
  # @option params [String] :vpc_zone_identifier
5201
- # A comma-separated list of subnet IDs for virtual private cloud (VPC).
5202
- #
5203
- # If you specify `VPCZoneIdentifier` with `AvailabilityZones`, the
5204
- # subnets that you specify for this parameter must reside in those
5192
+ # A comma-separated list of subnet IDs for a virtual private cloud
5193
+ # (VPC). If you specify `VPCZoneIdentifier` with `AvailabilityZones`,
5194
+ # the subnets that you specify for this parameter must reside in those
5205
5195
  # Availability Zones.
5206
5196
  #
5207
5197
  # @option params [Array<String>] :termination_policies
5208
- # A standalone termination policy or a list of termination policies used
5209
- # to select the instance to terminate. The policies are executed in the
5210
- # order that they are listed.
5211
- #
5212
- # For more information, see [Controlling Which Instances Auto Scaling
5213
- # Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
5214
- # Guide*.
5198
+ # A policy or a list of policies that are used to select the instances
5199
+ # to terminate. The policies are executed in the order that you list
5200
+ # them. For more information, see [Controlling which Auto Scaling
5201
+ # instances terminate during scale in][1] in the *Amazon EC2 Auto
5202
+ # Scaling User Guide*.
5215
5203
  #
5216
5204
  #
5217
5205
  #
@@ -5219,10 +5207,9 @@ module Aws::AutoScaling
5219
5207
  #
5220
5208
  # @option params [Boolean] :new_instances_protected_from_scale_in
5221
5209
  # Indicates whether newly launched instances are protected from
5222
- # termination by Amazon EC2 Auto Scaling when scaling in.
5223
- #
5224
- # For more information about preventing instances from terminating on
5225
- # scale in, see [Instance Protection][1] in the *Amazon EC2 Auto Scaling
5210
+ # termination by Amazon EC2 Auto Scaling when scaling in. For more
5211
+ # information about preventing instances from terminating on scale in,
5212
+ # see [Instance scale-in protection][1] in the *Amazon EC2 Auto Scaling
5226
5213
  # User Guide*.
5227
5214
  #
5228
5215
  #
@@ -5232,7 +5219,7 @@ module Aws::AutoScaling
5232
5219
  # @option params [String] :service_linked_role_arn
5233
5220
  # The Amazon Resource Name (ARN) of the service-linked role that the
5234
5221
  # Auto Scaling group uses to call other AWS services on your behalf. For
5235
- # more information, see [Service-Linked Roles][1] in the *Amazon EC2
5222
+ # more information, see [Service-linked roles][1] in the *Amazon EC2
5236
5223
  # Auto Scaling User Guide*.
5237
5224
  #
5238
5225
  #
@@ -5241,21 +5228,24 @@ module Aws::AutoScaling
5241
5228
  #
5242
5229
  # @option params [Integer] :max_instance_lifetime
5243
5230
  # The maximum amount of time, in seconds, that an instance can be in
5244
- # service. The default is null.
5231
+ # service. The default is null. If specified, the value must be either 0
5232
+ # or a number equal to or greater than 86,400 seconds (1 day). To clear
5233
+ # a previously set value, specify a new value of 0. For more
5234
+ # information, see [Replacing Auto Scaling instances based on maximum
5235
+ # instance lifetime][1] in the *Amazon EC2 Auto Scaling User Guide*.
5245
5236
  #
5246
- # This parameter is optional, but if you specify a value for it, you
5247
- # must specify a value of at least 604,800 seconds (7 days). To clear a
5248
- # previously set value, specify a new value of 0.
5249
5237
  #
5250
- # For more information, see [Replacing Auto Scaling Instances Based on
5251
- # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
5252
- # Guide*.
5253
5238
  #
5254
- # Valid Range: Minimum value of 0.
5239
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
5240
+ #
5241
+ # @option params [Boolean] :capacity_rebalance
5242
+ # Enables or disables Capacity Rebalancing. For more information, see
5243
+ # [Amazon EC2 Auto Scaling Capacity Rebalancing][1] in the *Amazon EC2
5244
+ # Auto Scaling User Guide*.
5255
5245
  #
5256
5246
  #
5257
5247
  #
5258
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
5248
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
5259
5249
  #
5260
5250
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5261
5251
  #
@@ -5291,8 +5281,8 @@ module Aws::AutoScaling
5291
5281
  # @example Request syntax with placeholder values
5292
5282
  #
5293
5283
  # resp = client.update_auto_scaling_group({
5294
- # auto_scaling_group_name: "ResourceName", # required
5295
- # launch_configuration_name: "ResourceName",
5284
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
5285
+ # launch_configuration_name: "XmlStringMaxLen255",
5296
5286
  # launch_template: {
5297
5287
  # launch_template_id: "XmlStringMaxLen255",
5298
5288
  # launch_template_name: "LaunchTemplateName",
@@ -5309,6 +5299,11 @@ module Aws::AutoScaling
5309
5299
  # {
5310
5300
  # instance_type: "XmlStringMaxLen255",
5311
5301
  # weighted_capacity: "XmlStringMaxLen32",
5302
+ # launch_template_specification: {
5303
+ # launch_template_id: "XmlStringMaxLen255",
5304
+ # launch_template_name: "LaunchTemplateName",
5305
+ # version: "XmlStringMaxLen255",
5306
+ # },
5312
5307
  # },
5313
5308
  # ],
5314
5309
  # },
@@ -5334,6 +5329,7 @@ module Aws::AutoScaling
5334
5329
  # new_instances_protected_from_scale_in: false,
5335
5330
  # service_linked_role_arn: "ResourceName",
5336
5331
  # max_instance_lifetime: 1,
5332
+ # capacity_rebalance: false,
5337
5333
  # })
5338
5334
  #
5339
5335
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
@@ -5358,7 +5354,7 @@ module Aws::AutoScaling
5358
5354
  params: params,
5359
5355
  config: config)
5360
5356
  context[:gem_name] = 'aws-sdk-autoscaling'
5361
- context[:gem_version] = '1.47.0'
5357
+ context[:gem_version] = '1.52.0'
5362
5358
  Seahorse::Client::Request.new(handlers, context)
5363
5359
  end
5364
5360