aws-sdk-autoscaling 1.4.0 → 1.5.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
  SHA1:
3
- metadata.gz: 4881896af25970a4421222a4c333b8dc95b496e0
4
- data.tar.gz: dfe8c32c1bdcb4da9ec51153bfca268bebdf7621
3
+ metadata.gz: ea28167d8bf80098b4d267569f93086fd1c2394a
4
+ data.tar.gz: 47b5253abeb12c1fca192a6ad88f9baf8bf71ca9
5
5
  SHA512:
6
- metadata.gz: 72b751498810b3f12f52fafe213e7e391c2b6daaa2fee0a10cd921b2d865241eeafb661a0639c234d8a4c23299d9ddb0cdf4b89d508e8d678e8615b121f9333d
7
- data.tar.gz: 2e9f0aefcea69cf37b81bc238e9e3cf37471a669ca19de640b168edc8eea2d1a315878b1acb6169b362ff26cf016cdc8507cfb25db47f4ee278de37d6722c839
6
+ metadata.gz: b2b766d0c2fe7b61227ad3234600ac9eaa786dcce4e58aa4fd1b0685f2730e2491aa2041bee158055ac7e663cad143dd9ce6301cfc5e9c6d71bcaa067cd9d6f6
7
+ data.tar.gz: ec2f1d78df0856dd339300efc4812158facd96629617e3486112235f73da39743ec366e2e4e3ef5dc677b06463aefe8be5e6163cd30d8196eaa0910b295062c5
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-autoscaling/customizations'
53
53
  # @service
54
54
  module Aws::AutoScaling
55
55
 
56
- GEM_VERSION = '1.4.0'
56
+ GEM_VERSION = '1.5.0'
57
57
 
58
58
  end
@@ -168,6 +168,13 @@ module Aws::AutoScaling
168
168
  data[:new_instances_protected_from_scale_in]
169
169
  end
170
170
 
171
+ # The Amazon Resource Name (ARN) of the service-linked role that the
172
+ # Auto Scaling group uses to call other AWS services on your behalf.
173
+ # @return [String]
174
+ def service_linked_role_arn
175
+ data[:service_linked_role_arn]
176
+ end
177
+
171
178
  # @!endgroup
172
179
 
173
180
  # @return [Client]
@@ -372,7 +379,7 @@ module Aws::AutoScaling
372
379
  # })
373
380
  # @param [Hash] options ({})
374
381
  # @option options [Array<String>] :instance_ids
375
- # One or more instance IDs.
382
+ # The IDs of the instances. You can specify up to 20 instances.
376
383
  # @return [EmptyStructure]
377
384
  def attach_instances(options = {})
378
385
  options = options.merge(auto_scaling_group_name: @name)
@@ -406,10 +413,10 @@ module Aws::AutoScaling
406
413
  # })
407
414
  # @param [Hash] options ({})
408
415
  # @option options [Array<String>] :instance_ids
409
- # One or more instance IDs.
416
+ # The IDs of the instances. You can specify up to 20 instances.
410
417
  # @option options [required, Boolean] :should_decrement_desired_capacity
411
- # If `True`, the Auto Scaling group decrements the desired capacity
412
- # value by the number of instances detached.
418
+ # Indicates whether the Auto Scaling group decrements the desired
419
+ # capacity value by the number of instances detached.
413
420
  # @return [Activity::Collection]
414
421
  def detach_instances(options = {})
415
422
  batch = []
@@ -714,11 +721,10 @@ module Aws::AutoScaling
714
721
  # The number of EC2 instances that should be running in the Auto Scaling
715
722
  # group.
716
723
  # @option options [Boolean] :honor_cooldown
717
- # By default, `SetDesiredCapacity` overrides any cooldown period
718
- # associated with the Auto Scaling group. Specify `True` to make Auto
719
- # Scaling to wait for the cool-down period associated with the Auto
720
- # Scaling group to complete before initiating a scaling activity to set
721
- # your Auto Scaling group to its new capacity.
724
+ # Indicates whether Auto Scaling waits for the cooldown period to
725
+ # complete before initiating a scaling activity to set your Auto Scaling
726
+ # group to its new capacity. By default, Auto Scaling does not honor the
727
+ # cooldown period during manual scaling activities.
722
728
  # @return [EmptyStructure]
723
729
  def set_desired_capacity(options = {})
724
730
  options = options.merge(auto_scaling_group_name: @name)
@@ -778,14 +784,15 @@ module Aws::AutoScaling
778
784
  # vpc_zone_identifier: "XmlStringMaxLen2047",
779
785
  # termination_policies: ["XmlStringMaxLen1600"],
780
786
  # new_instances_protected_from_scale_in: false,
787
+ # service_linked_role_arn: "ResourceName",
781
788
  # })
782
789
  # @param [Hash] options ({})
783
790
  # @option options [String] :launch_configuration_name
784
- # The name of the launch configuration. You must specify either a launch
785
- # configuration or a launch template.
791
+ # The name of the launch configuration. If you specify a launch
792
+ # configuration, you can't specify a launch template.
786
793
  # @option options [Types::LaunchTemplateSpecification] :launch_template
787
- # The launch template to use to specify the updates. You must specify a
788
- # launch configuration or a launch template.
794
+ # The launch template to use to specify the updates. If you specify a
795
+ # launch template, you can't specify a launch configuration.
789
796
  # @option options [Integer] :min_size
790
797
  # The minimum size of the Auto Scaling group.
791
798
  # @option options [Integer] :max_size
@@ -856,6 +863,9 @@ module Aws::AutoScaling
856
863
  # @option options [Boolean] :new_instances_protected_from_scale_in
857
864
  # Indicates whether newly launched instances are protected from
858
865
  # termination by Auto Scaling when scaling in.
866
+ # @option options [String] :service_linked_role_arn
867
+ # The Amazon Resource Name (ARN) of the service-linked role that the
868
+ # Auto Scaling group uses to call other AWS services on your behalf.
859
869
  # @return [AutoScalingGroup]
860
870
  def update(options = {})
861
871
  options = options.merge(auto_scaling_group_name: @name)
@@ -986,7 +996,7 @@ module Aws::AutoScaling
986
996
  # token from a previous call.)
987
997
  # @option options [Integer] :max_records
988
998
  # The maximum number of items to return with this call. The default
989
- # value is 50 and the maximum value is 100.
999
+ # value is 100 and the maximum value is 100.
990
1000
  # @return [LoadBalancer::Collection]
991
1001
  def load_balancers(options = {})
992
1002
  batches = Enumerator.new do |y|
@@ -166,7 +166,7 @@ module Aws::AutoScaling
166
166
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/attach-instance-asg.html
167
167
  #
168
168
  # @option params [Array<String>] :instance_ids
169
- # One or more instance IDs.
169
+ # The IDs of the instances. You can specify up to 20 instances.
170
170
  #
171
171
  # @option params [required, String] :auto_scaling_group_name
172
172
  # The name of the Auto Scaling group.
@@ -219,7 +219,8 @@ module Aws::AutoScaling
219
219
  # The name of the Auto Scaling group.
220
220
  #
221
221
  # @option params [required, Array<String>] :target_group_arns
222
- # The Amazon Resource Names (ARN) of the target groups.
222
+ # The Amazon Resource Names (ARN) of the target groups. You can specify
223
+ # up to 10 target groups.
223
224
  #
224
225
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
225
226
  #
@@ -272,7 +273,8 @@ module Aws::AutoScaling
272
273
  # The name of the Auto Scaling group.
273
274
  #
274
275
  # @option params [required, Array<String>] :load_balancer_names
275
- # One or more load balancer names.
276
+ # The names of the load balancers. You can specify up to 10 load
277
+ # balancers.
276
278
  #
277
279
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
278
280
  #
@@ -390,16 +392,18 @@ module Aws::AutoScaling
390
392
 
391
393
  # Creates an Auto Scaling group with the specified name and attributes.
392
394
  #
393
- # If you exceed your maximum limit of Auto Scaling groups, which by
394
- # default is 20 per region, the call fails. For information about
395
- # viewing and updating this limit, see DescribeAccountLimits.
395
+ # If you exceed your maximum limit of Auto Scaling groups, the call
396
+ # fails. For information about viewing this limit, see
397
+ # DescribeAccountLimits. For information about updating this limit, see
398
+ # [Auto Scaling Limits][1] in the *Auto Scaling User Guide*.
396
399
  #
397
- # For more information, see [Auto Scaling Groups][1] in the *Auto
400
+ # For more information, see [Auto Scaling Groups][2] in the *Auto
398
401
  # Scaling User Guide*.
399
402
  #
400
403
  #
401
404
  #
402
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroup.html
405
+ # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-account-limits.html
406
+ # [2]: http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroup.html
403
407
  #
404
408
  # @option params [required, String] :auto_scaling_group_name
405
409
  # The name of the Auto Scaling group. This name must be unique within
@@ -554,6 +558,12 @@ module Aws::AutoScaling
554
558
  #
555
559
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/autoscaling-tagging.html
556
560
  #
561
+ # @option params [String] :service_linked_role_arn
562
+ # The Amazon Resource Name (ARN) of the service-linked role that the
563
+ # Auto Scaling group uses to call other AWS services on your behalf. By
564
+ # default, Auto Scaling uses a service-linked role named
565
+ # AWSServiceRoleForAutoScaling, which it creates if it does not exist.
566
+ #
557
567
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
558
568
  #
559
569
  #
@@ -649,6 +659,7 @@ module Aws::AutoScaling
649
659
  # propagate_at_launch: false,
650
660
  # },
651
661
  # ],
662
+ # service_linked_role_arn: "ResourceName",
652
663
  # })
653
664
  #
654
665
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
@@ -662,16 +673,18 @@ module Aws::AutoScaling
662
673
 
663
674
  # Creates a launch configuration.
664
675
  #
665
- # If you exceed your maximum limit of launch configurations, which by
666
- # default is 100 per region, the call fails. For information about
667
- # viewing and updating this limit, see DescribeAccountLimits.
676
+ # If you exceed your maximum limit of launch configurations, the call
677
+ # fails. For information about viewing this limit, see
678
+ # DescribeAccountLimits. For information about updating this limit, see
679
+ # [Auto Scaling Limits][1] in the *Auto Scaling User Guide*.
668
680
  #
669
- # For more information, see [Launch Configurations][1] in the *Auto
681
+ # For more information, see [Launch Configurations][2] in the *Auto
670
682
  # Scaling User Guide*.
671
683
  #
672
684
  #
673
685
  #
674
- # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/LaunchConfiguration.html
686
+ # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-account-limits.html
687
+ # [2]: http://docs.aws.amazon.com/autoscaling/latest/userguide/LaunchConfiguration.html
675
688
  #
676
689
  # @option params [required, String] :launch_configuration_name
677
690
  # The name of the launch configuration. This name must be unique within
@@ -844,14 +857,13 @@ module Aws::AutoScaling
844
857
  # when you create your group.
845
858
  #
846
859
  # Default: If the instance is launched into a default subnet, the
847
- # default is `true`. If the instance is launched into a nondefault
848
- # subnet, the default is `false`. For more information, see [Supported
849
- # Platforms][2] in the *Amazon Elastic Compute Cloud User Guide*.
860
+ # default is to assign a public IP address. If the instance is launched
861
+ # into a nondefault subnet, the default is not to assign a public IP
862
+ # address.
850
863
  #
851
864
  #
852
865
  #
853
866
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html
854
- # [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html
855
867
  #
856
868
  # @option params [String] :placement_tenancy
857
869
  # The tenancy of the instance. An instance with a tenancy of `dedicated`
@@ -1302,12 +1314,12 @@ module Aws::AutoScaling
1302
1314
  # Describes the current Auto Scaling resource limits for your AWS
1303
1315
  # account.
1304
1316
  #
1305
- # For information about requesting an increase in these limits, see [AWS
1306
- # Service Limits][1] in the *Amazon Web Services General Reference*.
1317
+ # For information about requesting an increase in these limits, see
1318
+ # [Auto Scaling Limits][1] in the *Auto Scaling User Guide*.
1307
1319
  #
1308
1320
  #
1309
1321
  #
1310
- # [1]: http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html
1322
+ # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-account-limits.html
1311
1323
  #
1312
1324
  # @return [Types::DescribeAccountLimitsAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1313
1325
  #
@@ -1523,6 +1535,7 @@ module Aws::AutoScaling
1523
1535
  # resp.auto_scaling_groups[0].termination_policies #=> Array
1524
1536
  # resp.auto_scaling_groups[0].termination_policies[0] #=> String
1525
1537
  # resp.auto_scaling_groups[0].new_instances_protected_from_scale_in #=> Boolean
1538
+ # resp.auto_scaling_groups[0].service_linked_role_arn #=> String
1526
1539
  # resp.next_token #=> String
1527
1540
  #
1528
1541
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingGroups AWS API Documentation
@@ -1543,7 +1556,7 @@ module Aws::AutoScaling
1543
1556
  #
1544
1557
  # @option params [Integer] :max_records
1545
1558
  # The maximum number of items to return with this call. The default
1546
- # value is 50 and the maximum value is 100.
1559
+ # value is 50 and the maximum value is 50.
1547
1560
  #
1548
1561
  # @option params [String] :next_token
1549
1562
  # The token for the next set of items to return. (You received this
@@ -1870,7 +1883,7 @@ module Aws::AutoScaling
1870
1883
  #
1871
1884
  # @option params [Integer] :max_records
1872
1885
  # The maximum number of items to return with this call. The default
1873
- # value is 50 and the maximum value is 100.
1886
+ # value is 100 and the maximum value is 100.
1874
1887
  #
1875
1888
  # @return [Types::DescribeLoadBalancerTargetGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1876
1889
  #
@@ -1935,7 +1948,7 @@ module Aws::AutoScaling
1935
1948
  #
1936
1949
  # @option params [Integer] :max_records
1937
1950
  # The maximum number of items to return with this call. The default
1938
- # value is 50 and the maximum value is 100.
1951
+ # value is 100 and the maximum value is 100.
1939
1952
  #
1940
1953
  # @return [Types::DescribeLoadBalancersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1941
1954
  #
@@ -2257,7 +2270,7 @@ module Aws::AutoScaling
2257
2270
  #
2258
2271
  # @option params [Integer] :max_records
2259
2272
  # The maximum number of items to return with this call. The default
2260
- # value is 100.
2273
+ # value is 100 and the maximum value is 100.
2261
2274
  #
2262
2275
  # @option params [String] :next_token
2263
2276
  # The token for the next set of items to return. (You received this
@@ -2639,14 +2652,14 @@ module Aws::AutoScaling
2639
2652
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/detach-instance-asg.html
2640
2653
  #
2641
2654
  # @option params [Array<String>] :instance_ids
2642
- # One or more instance IDs.
2655
+ # The IDs of the instances. You can specify up to 20 instances.
2643
2656
  #
2644
2657
  # @option params [required, String] :auto_scaling_group_name
2645
2658
  # The name of the Auto Scaling group.
2646
2659
  #
2647
2660
  # @option params [required, Boolean] :should_decrement_desired_capacity
2648
- # If `True`, the Auto Scaling group decrements the desired capacity
2649
- # value by the number of instances detached.
2661
+ # Indicates whether the Auto Scaling group decrements the desired
2662
+ # capacity value by the number of instances detached.
2650
2663
  #
2651
2664
  # @return [Types::DetachInstancesAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2652
2665
  #
@@ -2719,7 +2732,8 @@ module Aws::AutoScaling
2719
2732
  # The name of the Auto Scaling group.
2720
2733
  #
2721
2734
  # @option params [required, Array<String>] :target_group_arns
2722
- # The Amazon Resource Names (ARN) of the target groups.
2735
+ # The Amazon Resource Names (ARN) of the target groups. You can specify
2736
+ # up to 10 target groups.
2723
2737
  #
2724
2738
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2725
2739
  #
@@ -2767,7 +2781,8 @@ module Aws::AutoScaling
2767
2781
  # The name of the Auto Scaling group.
2768
2782
  #
2769
2783
  # @option params [required, Array<String>] :load_balancer_names
2770
- # One or more load balancer names.
2784
+ # The names of the load balancers. You can specify up to 10 load
2785
+ # balancers.
2771
2786
  #
2772
2787
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2773
2788
  #
@@ -2928,17 +2943,14 @@ module Aws::AutoScaling
2928
2943
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-enter-exit-standby.html
2929
2944
  #
2930
2945
  # @option params [Array<String>] :instance_ids
2931
- # One or more instances to move into `Standby` mode. You must specify at
2932
- # least one instance ID.
2946
+ # The IDs of the instances. You can specify up to 20 instances.
2933
2947
  #
2934
2948
  # @option params [required, String] :auto_scaling_group_name
2935
2949
  # The name of the Auto Scaling group.
2936
2950
  #
2937
2951
  # @option params [required, Boolean] :should_decrement_desired_capacity
2938
- # Specifies whether the instances moved to `Standby` mode count as part
2939
- # of the Auto Scaling group's desired capacity. If set, the desired
2940
- # capacity for the Auto Scaling group decrements by the number of
2941
- # instances moved to `Standby` mode.
2952
+ # Indicates whether to decrement the desired capacity of the Auto
2953
+ # Scaling group by the number of instances moved to `Standby` mode.
2942
2954
  #
2943
2955
  # @return [Types::EnterStandbyAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2944
2956
  #
@@ -3013,10 +3025,8 @@ module Aws::AutoScaling
3013
3025
  # The name or ARN of the policy.
3014
3026
  #
3015
3027
  # @option params [Boolean] :honor_cooldown
3016
- # If this parameter is true, Auto Scaling waits for the cooldown period
3017
- # to complete before executing the policy. Otherwise, Auto Scaling
3018
- # executes the policy without waiting for the cooldown period to
3019
- # complete.
3028
+ # Indicates whether Auto Scaling waits for the cooldown period to
3029
+ # complete before executing the policy.
3020
3030
  #
3021
3031
  # This parameter is not supported if the policy type is `StepScaling`.
3022
3032
  #
@@ -3088,7 +3098,7 @@ module Aws::AutoScaling
3088
3098
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-enter-exit-standby.html
3089
3099
  #
3090
3100
  # @option params [Array<String>] :instance_ids
3091
- # One or more instance IDs. You must specify at least one instance ID.
3101
+ # The IDs of the instances. You can specify up to 20 instances.
3092
3102
  #
3093
3103
  # @option params [required, String] :auto_scaling_group_name
3094
3104
  # The name of the Auto Scaling group.
@@ -3775,11 +3785,10 @@ module Aws::AutoScaling
3775
3785
  # group.
3776
3786
  #
3777
3787
  # @option params [Boolean] :honor_cooldown
3778
- # By default, `SetDesiredCapacity` overrides any cooldown period
3779
- # associated with the Auto Scaling group. Specify `True` to make Auto
3780
- # Scaling to wait for the cool-down period associated with the Auto
3781
- # Scaling group to complete before initiating a scaling activity to set
3782
- # your Auto Scaling group to its new capacity.
3788
+ # Indicates whether Auto Scaling waits for the cooldown period to
3789
+ # complete before initiating a scaling activity to set your Auto Scaling
3790
+ # group to its new capacity. By default, Auto Scaling does not honor the
3791
+ # cooldown period during manual scaling activities.
3783
3792
  #
3784
3793
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3785
3794
  #
@@ -4008,8 +4017,8 @@ module Aws::AutoScaling
4008
4017
  # The ID of the instance.
4009
4018
  #
4010
4019
  # @option params [required, Boolean] :should_decrement_desired_capacity
4011
- # If `true`, terminating the instance also decrements the size of the
4012
- # Auto Scaling group.
4020
+ # Indicates whether terminating the instance also decrements the size of
4021
+ # the Auto Scaling group.
4013
4022
  #
4014
4023
  # @return [Types::ActivityType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4015
4024
  #
@@ -4085,12 +4094,12 @@ module Aws::AutoScaling
4085
4094
  # The name of the Auto Scaling group.
4086
4095
  #
4087
4096
  # @option params [String] :launch_configuration_name
4088
- # The name of the launch configuration. You must specify either a launch
4089
- # configuration or a launch template.
4097
+ # The name of the launch configuration. If you specify a launch
4098
+ # configuration, you can't specify a launch template.
4090
4099
  #
4091
4100
  # @option params [Types::LaunchTemplateSpecification] :launch_template
4092
- # The launch template to use to specify the updates. You must specify a
4093
- # launch configuration or a launch template.
4101
+ # The launch template to use to specify the updates. If you specify a
4102
+ # launch template, you can't specify a launch configuration.
4094
4103
  #
4095
4104
  # @option params [Integer] :min_size
4096
4105
  # The minimum size of the Auto Scaling group.
@@ -4173,6 +4182,10 @@ module Aws::AutoScaling
4173
4182
  # Indicates whether newly launched instances are protected from
4174
4183
  # termination by Auto Scaling when scaling in.
4175
4184
  #
4185
+ # @option params [String] :service_linked_role_arn
4186
+ # The Amazon Resource Name (ARN) of the service-linked role that the
4187
+ # Auto Scaling group uses to call other AWS services on your behalf.
4188
+ #
4176
4189
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4177
4190
  #
4178
4191
  #
@@ -4225,6 +4238,7 @@ module Aws::AutoScaling
4225
4238
  # vpc_zone_identifier: "XmlStringMaxLen2047",
4226
4239
  # termination_policies: ["XmlStringMaxLen1600"],
4227
4240
  # new_instances_protected_from_scale_in: false,
4241
+ # service_linked_role_arn: "ResourceName",
4228
4242
  # })
4229
4243
  #
4230
4244
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
@@ -4249,7 +4263,7 @@ module Aws::AutoScaling
4249
4263
  params: params,
4250
4264
  config: config)
4251
4265
  context[:gem_name] = 'aws-sdk-autoscaling'
4252
- context[:gem_version] = '1.4.0'
4266
+ context[:gem_version] = '1.5.0'
4253
4267
  Seahorse::Client::Request.new(handlers, context)
4254
4268
  end
4255
4269
 
@@ -197,6 +197,7 @@ module Aws::AutoScaling
197
197
  ScheduledUpdateGroupAction = Shapes::StructureShape.new(name: 'ScheduledUpdateGroupAction')
198
198
  ScheduledUpdateGroupActions = Shapes::ListShape.new(name: 'ScheduledUpdateGroupActions')
199
199
  SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
200
+ ServiceLinkedRoleFailure = Shapes::StructureShape.new(name: 'ServiceLinkedRoleFailure')
200
201
  SetDesiredCapacityType = Shapes::StructureShape.new(name: 'SetDesiredCapacityType')
201
202
  SetInstanceHealthQuery = Shapes::StructureShape.new(name: 'SetInstanceHealthQuery')
202
203
  SetInstanceProtectionAnswer = Shapes::StructureShape.new(name: 'SetInstanceProtectionAnswer')
@@ -306,6 +307,7 @@ module Aws::AutoScaling
306
307
  AutoScalingGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagDescriptionList, location_name: "Tags"))
307
308
  AutoScalingGroup.add_member(:termination_policies, Shapes::ShapeRef.new(shape: TerminationPolicies, location_name: "TerminationPolicies"))
308
309
  AutoScalingGroup.add_member(:new_instances_protected_from_scale_in, Shapes::ShapeRef.new(shape: InstanceProtected, location_name: "NewInstancesProtectedFromScaleIn"))
310
+ AutoScalingGroup.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ServiceLinkedRoleARN"))
309
311
  AutoScalingGroup.struct_class = Types::AutoScalingGroup
310
312
 
311
313
  AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: ResourceName)
@@ -379,6 +381,7 @@ module Aws::AutoScaling
379
381
  CreateAutoScalingGroupType.add_member(:new_instances_protected_from_scale_in, Shapes::ShapeRef.new(shape: InstanceProtected, location_name: "NewInstancesProtectedFromScaleIn"))
380
382
  CreateAutoScalingGroupType.add_member(:lifecycle_hook_specification_list, Shapes::ShapeRef.new(shape: LifecycleHookSpecifications, location_name: "LifecycleHookSpecificationList"))
381
383
  CreateAutoScalingGroupType.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
384
+ CreateAutoScalingGroupType.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ServiceLinkedRoleARN"))
382
385
  CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
383
386
 
384
387
  CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
@@ -917,6 +920,7 @@ module Aws::AutoScaling
917
920
  UpdateAutoScalingGroupType.add_member(:vpc_zone_identifier, Shapes::ShapeRef.new(shape: XmlStringMaxLen2047, location_name: "VPCZoneIdentifier"))
918
921
  UpdateAutoScalingGroupType.add_member(:termination_policies, Shapes::ShapeRef.new(shape: TerminationPolicies, location_name: "TerminationPolicies"))
919
922
  UpdateAutoScalingGroupType.add_member(:new_instances_protected_from_scale_in, Shapes::ShapeRef.new(shape: InstanceProtected, location_name: "NewInstancesProtectedFromScaleIn"))
923
+ UpdateAutoScalingGroupType.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ServiceLinkedRoleARN"))
920
924
  UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
921
925
 
922
926
  Values.member = Shapes::ShapeRef.new(shape: XmlString)
@@ -942,6 +946,7 @@ module Aws::AutoScaling
942
946
  o.input = Shapes::ShapeRef.new(shape: AttachInstancesQuery)
943
947
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
944
948
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
949
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
945
950
  end)
946
951
 
947
952
  api.add_operation(:attach_load_balancer_target_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -951,6 +956,7 @@ module Aws::AutoScaling
951
956
  o.input = Shapes::ShapeRef.new(shape: AttachLoadBalancerTargetGroupsType)
952
957
  o.output = Shapes::ShapeRef.new(shape: AttachLoadBalancerTargetGroupsResultType)
953
958
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
959
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
954
960
  end)
955
961
 
956
962
  api.add_operation(:attach_load_balancers, Seahorse::Model::Operation.new.tap do |o|
@@ -960,6 +966,7 @@ module Aws::AutoScaling
960
966
  o.input = Shapes::ShapeRef.new(shape: AttachLoadBalancersType)
961
967
  o.output = Shapes::ShapeRef.new(shape: AttachLoadBalancersResultType)
962
968
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
969
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
963
970
  end)
964
971
 
965
972
  api.add_operation(:complete_lifecycle_action, Seahorse::Model::Operation.new.tap do |o|
@@ -980,6 +987,7 @@ module Aws::AutoScaling
980
987
  o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsFault)
981
988
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
982
989
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
990
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
983
991
  end)
984
992
 
985
993
  api.add_operation(:create_launch_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -1051,6 +1059,7 @@ module Aws::AutoScaling
1051
1059
  o.input = Shapes::ShapeRef.new(shape: DeletePolicyType)
1052
1060
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1053
1061
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
1062
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
1054
1063
  end)
1055
1064
 
1056
1065
  api.add_operation(:delete_scheduled_action, Seahorse::Model::Operation.new.tap do |o|
@@ -1216,6 +1225,7 @@ module Aws::AutoScaling
1216
1225
  o.output = Shapes::ShapeRef.new(shape: PoliciesType)
1217
1226
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
1218
1227
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
1228
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
1219
1229
  o[:pager] = Aws::Pager.new(
1220
1230
  limit_key: "max_records",
1221
1231
  tokens: {
@@ -1381,6 +1391,7 @@ module Aws::AutoScaling
1381
1391
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1382
1392
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
1383
1393
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
1394
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
1384
1395
  end)
1385
1396
 
1386
1397
  api.add_operation(:put_scaling_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1391,6 +1402,7 @@ module Aws::AutoScaling
1391
1402
  o.output = Shapes::ShapeRef.new(shape: PolicyARNType)
1392
1403
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
1393
1404
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
1405
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
1394
1406
  end)
1395
1407
 
1396
1408
  api.add_operation(:put_scheduled_update_group_action, Seahorse::Model::Operation.new.tap do |o|
@@ -1480,6 +1492,7 @@ module Aws::AutoScaling
1480
1492
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1481
1493
  o.errors << Shapes::ShapeRef.new(shape: ScalingActivityInProgressFault)
1482
1494
  o.errors << Shapes::ShapeRef.new(shape: ResourceContentionFault)
1495
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleFailure)
1483
1496
  end)
1484
1497
  end
1485
1498
 
@@ -239,8 +239,8 @@ module Aws::AutoScaling
239
239
  # })
240
240
  # @param [Hash] options ({})
241
241
  # @option options [required, Boolean] :should_decrement_desired_capacity
242
- # If `True`, the Auto Scaling group decrements the desired capacity
243
- # value by the number of instances detached.
242
+ # Indicates whether the Auto Scaling group decrements the desired
243
+ # capacity value by the number of instances detached.
244
244
  # @return [Activity::Collection]
245
245
  def detach(options = {})
246
246
  batch = []
@@ -266,10 +266,8 @@ module Aws::AutoScaling
266
266
  # })
267
267
  # @param [Hash] options ({})
268
268
  # @option options [required, Boolean] :should_decrement_desired_capacity
269
- # Specifies whether the instances moved to `Standby` mode count as part
270
- # of the Auto Scaling group's desired capacity. If set, the desired
271
- # capacity for the Auto Scaling group decrements by the number of
272
- # instances moved to `Standby` mode.
269
+ # Indicates whether to decrement the desired capacity of the Auto
270
+ # Scaling group by the number of instances moved to `Standby` mode.
273
271
  # @return [Activity::Collection]
274
272
  def enter_standby(options = {})
275
273
  batch = []
@@ -344,8 +342,8 @@ module Aws::AutoScaling
344
342
  # })
345
343
  # @param [Hash] options ({})
346
344
  # @option options [required, Boolean] :should_decrement_desired_capacity
347
- # If `true`, terminating the instance also decrements the size of the
348
- # Auto Scaling group.
345
+ # Indicates whether terminating the instance also decrements the size of
346
+ # the Auto Scaling group.
349
347
  # @return [Activity]
350
348
  def terminate(options = {})
351
349
  options = options.merge(instance_id: @id)
@@ -439,8 +437,8 @@ module Aws::AutoScaling
439
437
  # })
440
438
  # @param options ({})
441
439
  # @option options [required, Boolean] :should_decrement_desired_capacity
442
- # If `True`, the Auto Scaling group decrements the desired capacity
443
- # value by the number of instances detached.
440
+ # Indicates whether the Auto Scaling group decrements the desired
441
+ # capacity value by the number of instances detached.
444
442
  # @return [void]
445
443
  def batch_detach(options = {})
446
444
  batch_enum.each do |batch|
@@ -462,10 +460,8 @@ module Aws::AutoScaling
462
460
  # })
463
461
  # @param options ({})
464
462
  # @option options [required, Boolean] :should_decrement_desired_capacity
465
- # Specifies whether the instances moved to `Standby` mode count as part
466
- # of the Auto Scaling group's desired capacity. If set, the desired
467
- # capacity for the Auto Scaling group decrements by the number of
468
- # instances moved to `Standby` mode.
463
+ # Indicates whether to decrement the desired capacity of the Auto
464
+ # Scaling group by the number of instances moved to `Standby` mode.
469
465
  # @return [void]
470
466
  def batch_enter_standby(options = {})
471
467
  batch_enum.each do |batch|
@@ -65,6 +65,7 @@ module Aws::AutoScaling
65
65
  # propagate_at_launch: false,
66
66
  # },
67
67
  # ],
68
+ # service_linked_role_arn: "ResourceName",
68
69
  # })
69
70
  # @param [Hash] options ({})
70
71
  # @option options [required, String] :auto_scaling_group_name
@@ -201,6 +202,11 @@ module Aws::AutoScaling
201
202
  #
202
203
  #
203
204
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/autoscaling-tagging.html
205
+ # @option options [String] :service_linked_role_arn
206
+ # The Amazon Resource Name (ARN) of the service-linked role that the
207
+ # Auto Scaling group uses to call other AWS services on your behalf. By
208
+ # default, Auto Scaling uses a service-linked role named
209
+ # AWSServiceRoleForAutoScaling, which it creates if it does not exist.
204
210
  # @return [AutoScalingGroup]
205
211
  def create_group(options = {})
206
212
  resp = @client.create_auto_scaling_group(options)
@@ -404,14 +410,13 @@ module Aws::AutoScaling
404
410
  # when you create your group.
405
411
  #
406
412
  # Default: If the instance is launched into a default subnet, the
407
- # default is `true`. If the instance is launched into a nondefault
408
- # subnet, the default is `false`. For more information, see [Supported
409
- # Platforms][2] in the *Amazon Elastic Compute Cloud User Guide*.
413
+ # default is to assign a public IP address. If the instance is launched
414
+ # into a nondefault subnet, the default is not to assign a public IP
415
+ # address.
410
416
  #
411
417
  #
412
418
  #
413
419
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html
414
- # [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html
415
420
  # @option options [String] :placement_tenancy
416
421
  # The tenancy of the instance. An instance with a tenancy of `dedicated`
417
422
  # runs on single-tenant hardware and can only be launched into a VPC.
@@ -280,10 +280,8 @@ module Aws::AutoScaling
280
280
  # @option options [String] :auto_scaling_group_name
281
281
  # The name of the Auto Scaling group.
282
282
  # @option options [Boolean] :honor_cooldown
283
- # If this parameter is true, Auto Scaling waits for the cooldown period
284
- # to complete before executing the policy. Otherwise, Auto Scaling
285
- # executes the policy without waiting for the cooldown period to
286
- # complete.
283
+ # Indicates whether Auto Scaling waits for the cooldown period to
284
+ # complete before executing the policy.
287
285
  #
288
286
  # This parameter is not supported if the policy type is `StepScaling`.
289
287
  #
@@ -146,7 +146,7 @@ module Aws::AutoScaling
146
146
  # }
147
147
  #
148
148
  # @!attribute [rw] instance_ids
149
- # One or more instance IDs.
149
+ # The IDs of the instances. You can specify up to 20 instances.
150
150
  # @return [Array<String>]
151
151
  #
152
152
  # @!attribute [rw] auto_scaling_group_name
@@ -178,7 +178,8 @@ module Aws::AutoScaling
178
178
  # @return [String]
179
179
  #
180
180
  # @!attribute [rw] target_group_arns
181
- # The Amazon Resource Names (ARN) of the target groups.
181
+ # The Amazon Resource Names (ARN) of the target groups. You can
182
+ # specify up to 10 target groups.
182
183
  # @return [Array<String>]
183
184
  #
184
185
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroupsType AWS API Documentation
@@ -206,7 +207,8 @@ module Aws::AutoScaling
206
207
  # @return [String]
207
208
  #
208
209
  # @!attribute [rw] load_balancer_names
209
- # One or more load balancer names.
210
+ # The names of the load balancers. You can specify up to 10 load
211
+ # balancers.
210
212
  # @return [Array<String>]
211
213
  #
212
214
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersType AWS API Documentation
@@ -328,6 +330,11 @@ module Aws::AutoScaling
328
330
  # termination by Auto Scaling when scaling in.
329
331
  # @return [Boolean]
330
332
  #
333
+ # @!attribute [rw] service_linked_role_arn
334
+ # The Amazon Resource Name (ARN) of the service-linked role that the
335
+ # Auto Scaling group uses to call other AWS services on your behalf.
336
+ # @return [String]
337
+ #
331
338
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
332
339
  #
333
340
  class AutoScalingGroup < Struct.new(
@@ -353,7 +360,8 @@ module Aws::AutoScaling
353
360
  :status,
354
361
  :tags,
355
362
  :termination_policies,
356
- :new_instances_protected_from_scale_in)
363
+ :new_instances_protected_from_scale_in,
364
+ :service_linked_role_arn)
357
365
  include Aws::Structure
358
366
  end
359
367
 
@@ -628,6 +636,7 @@ module Aws::AutoScaling
628
636
  # propagate_at_launch: false,
629
637
  # },
630
638
  # ],
639
+ # service_linked_role_arn: "ResourceName",
631
640
  # }
632
641
  #
633
642
  # @!attribute [rw] auto_scaling_group_name
@@ -802,6 +811,13 @@ module Aws::AutoScaling
802
811
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/autoscaling-tagging.html
803
812
  # @return [Array<Types::Tag>]
804
813
  #
814
+ # @!attribute [rw] service_linked_role_arn
815
+ # The Amazon Resource Name (ARN) of the service-linked role that the
816
+ # Auto Scaling group uses to call other AWS services on your behalf.
817
+ # By default, Auto Scaling uses a service-linked role named
818
+ # AWSServiceRoleForAutoScaling, which it creates if it does not exist.
819
+ # @return [String]
820
+ #
805
821
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
806
822
  #
807
823
  class CreateAutoScalingGroupType < Struct.new(
@@ -823,7 +839,8 @@ module Aws::AutoScaling
823
839
  :termination_policies,
824
840
  :new_instances_protected_from_scale_in,
825
841
  :lifecycle_hook_specification_list,
826
- :tags)
842
+ :tags,
843
+ :service_linked_role_arn)
827
844
  include Aws::Structure
828
845
  end
829
846
 
@@ -1055,14 +1072,13 @@ module Aws::AutoScaling
1055
1072
  # subnet when you create your group.
1056
1073
  #
1057
1074
  # Default: If the instance is launched into a default subnet, the
1058
- # default is `true`. If the instance is launched into a nondefault
1059
- # subnet, the default is `false`. For more information, see [Supported
1060
- # Platforms][2] in the *Amazon Elastic Compute Cloud User Guide*.
1075
+ # default is to assign a public IP address. If the instance is
1076
+ # launched into a nondefault subnet, the default is not to assign a
1077
+ # public IP address.
1061
1078
  #
1062
1079
  #
1063
1080
  #
1064
1081
  # [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html
1065
- # [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html
1066
1082
  # @return [Boolean]
1067
1083
  #
1068
1084
  # @!attribute [rw] placement_tenancy
@@ -1396,7 +1412,7 @@ module Aws::AutoScaling
1396
1412
  #
1397
1413
  # @!attribute [rw] max_records
1398
1414
  # The maximum number of items to return with this call. The default
1399
- # value is 50 and the maximum value is 100.
1415
+ # value is 50 and the maximum value is 50.
1400
1416
  # @return [Integer]
1401
1417
  #
1402
1418
  # @!attribute [rw] next_token
@@ -1491,7 +1507,7 @@ module Aws::AutoScaling
1491
1507
  #
1492
1508
  # @!attribute [rw] max_records
1493
1509
  # The maximum number of items to return with this call. The default
1494
- # value is 50 and the maximum value is 100.
1510
+ # value is 100 and the maximum value is 100.
1495
1511
  # @return [Integer]
1496
1512
  #
1497
1513
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsRequest AWS API Documentation
@@ -1540,7 +1556,7 @@ module Aws::AutoScaling
1540
1556
  #
1541
1557
  # @!attribute [rw] max_records
1542
1558
  # The maximum number of items to return with this call. The default
1543
- # value is 50 and the maximum value is 100.
1559
+ # value is 100 and the maximum value is 100.
1544
1560
  # @return [Integer]
1545
1561
  #
1546
1562
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersRequest AWS API Documentation
@@ -1707,7 +1723,7 @@ module Aws::AutoScaling
1707
1723
  #
1708
1724
  # @!attribute [rw] max_records
1709
1725
  # The maximum number of items to return with this call. The default
1710
- # value is 100.
1726
+ # value is 100 and the maximum value is 100.
1711
1727
  # @return [Integer]
1712
1728
  #
1713
1729
  # @!attribute [rw] next_token
@@ -1855,7 +1871,7 @@ module Aws::AutoScaling
1855
1871
  # }
1856
1872
  #
1857
1873
  # @!attribute [rw] instance_ids
1858
- # One or more instance IDs.
1874
+ # The IDs of the instances. You can specify up to 20 instances.
1859
1875
  # @return [Array<String>]
1860
1876
  #
1861
1877
  # @!attribute [rw] auto_scaling_group_name
@@ -1863,8 +1879,8 @@ module Aws::AutoScaling
1863
1879
  # @return [String]
1864
1880
  #
1865
1881
  # @!attribute [rw] should_decrement_desired_capacity
1866
- # If `True`, the Auto Scaling group decrements the desired capacity
1867
- # value by the number of instances detached.
1882
+ # Indicates whether the Auto Scaling group decrements the desired
1883
+ # capacity value by the number of instances detached.
1868
1884
  # @return [Boolean]
1869
1885
  #
1870
1886
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesQuery AWS API Documentation
@@ -1893,7 +1909,8 @@ module Aws::AutoScaling
1893
1909
  # @return [String]
1894
1910
  #
1895
1911
  # @!attribute [rw] target_group_arns
1896
- # The Amazon Resource Names (ARN) of the target groups.
1912
+ # The Amazon Resource Names (ARN) of the target groups. You can
1913
+ # specify up to 10 target groups.
1897
1914
  # @return [Array<String>]
1898
1915
  #
1899
1916
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroupsType AWS API Documentation
@@ -1921,7 +1938,8 @@ module Aws::AutoScaling
1921
1938
  # @return [String]
1922
1939
  #
1923
1940
  # @!attribute [rw] load_balancer_names
1924
- # One or more load balancer names.
1941
+ # The names of the load balancers. You can specify up to 10 load
1942
+ # balancers.
1925
1943
  # @return [Array<String>]
1926
1944
  #
1927
1945
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersType AWS API Documentation
@@ -2016,9 +2034,8 @@ module Aws::AutoScaling
2016
2034
  # @return [String]
2017
2035
  #
2018
2036
  # @!attribute [rw] delete_on_termination
2019
- # Indicates whether the volume is deleted on instance termination.
2020
- #
2021
- # Default: `true`
2037
+ # Indicates whether the volume is deleted on instance termination. The
2038
+ # default is `true`.
2022
2039
  # @return [Boolean]
2023
2040
  #
2024
2041
  # @!attribute [rw] iops
@@ -2157,8 +2174,7 @@ module Aws::AutoScaling
2157
2174
  # }
2158
2175
  #
2159
2176
  # @!attribute [rw] instance_ids
2160
- # One or more instances to move into `Standby` mode. You must specify
2161
- # at least one instance ID.
2177
+ # The IDs of the instances. You can specify up to 20 instances.
2162
2178
  # @return [Array<String>]
2163
2179
  #
2164
2180
  # @!attribute [rw] auto_scaling_group_name
@@ -2166,10 +2182,8 @@ module Aws::AutoScaling
2166
2182
  # @return [String]
2167
2183
  #
2168
2184
  # @!attribute [rw] should_decrement_desired_capacity
2169
- # Specifies whether the instances moved to `Standby` mode count as
2170
- # part of the Auto Scaling group's desired capacity. If set, the
2171
- # desired capacity for the Auto Scaling group decrements by the number
2172
- # of instances moved to `Standby` mode.
2185
+ # Indicates whether to decrement the desired capacity of the Auto
2186
+ # Scaling group by the number of instances moved to `Standby` mode.
2173
2187
  # @return [Boolean]
2174
2188
  #
2175
2189
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyQuery AWS API Documentation
@@ -2201,10 +2215,8 @@ module Aws::AutoScaling
2201
2215
  # @return [String]
2202
2216
  #
2203
2217
  # @!attribute [rw] honor_cooldown
2204
- # If this parameter is true, Auto Scaling waits for the cooldown
2205
- # period to complete before executing the policy. Otherwise, Auto
2206
- # Scaling executes the policy without waiting for the cooldown period
2207
- # to complete.
2218
+ # Indicates whether Auto Scaling waits for the cooldown period to
2219
+ # complete before executing the policy.
2208
2220
  #
2209
2221
  # This parameter is not supported if the policy type is `StepScaling`.
2210
2222
  #
@@ -2268,7 +2280,7 @@ module Aws::AutoScaling
2268
2280
  # }
2269
2281
  #
2270
2282
  # @!attribute [rw] instance_ids
2271
- # One or more instance IDs. You must specify at least one instance ID.
2283
+ # The IDs of the instances. You can specify up to 20 instances.
2272
2284
  # @return [Array<String>]
2273
2285
  #
2274
2286
  # @!attribute [rw] auto_scaling_group_name
@@ -2596,8 +2608,11 @@ module Aws::AutoScaling
2596
2608
  # @return [String]
2597
2609
  #
2598
2610
  # @!attribute [rw] version
2599
- # The version number. By default, the default version of the launch
2600
- # template is used.
2611
+ # The version number, `$Latest`, or `$Default`. If the value is
2612
+ # `$Latest`, Auto Scaling selects the latest version of the launch
2613
+ # template when launching instances. If the value is `$Default`, Auto
2614
+ # Scaling selects the default version of the launch template when
2615
+ # launching instances. The default value is `$Default`.
2601
2616
  # @return [String]
2602
2617
  #
2603
2618
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplateSpecification AWS API Documentation
@@ -3729,11 +3744,10 @@ module Aws::AutoScaling
3729
3744
  # @return [Integer]
3730
3745
  #
3731
3746
  # @!attribute [rw] honor_cooldown
3732
- # By default, `SetDesiredCapacity` overrides any cooldown period
3733
- # associated with the Auto Scaling group. Specify `True` to make Auto
3734
- # Scaling to wait for the cool-down period associated with the Auto
3735
- # Scaling group to complete before initiating a scaling activity to
3736
- # set your Auto Scaling group to its new capacity.
3747
+ # Indicates whether Auto Scaling waits for the cooldown period to
3748
+ # complete before initiating a scaling activity to set your Auto
3749
+ # Scaling group to its new capacity. By default, Auto Scaling does not
3750
+ # honor the cooldown period during manual scaling activities.
3737
3751
  # @return [Boolean]
3738
3752
  #
3739
3753
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityType AWS API Documentation
@@ -4052,11 +4066,10 @@ module Aws::AutoScaling
4052
4066
  #
4053
4067
  # @!attribute [rw] disable_scale_in
4054
4068
  # Indicates whether scale in by the target tracking policy is
4055
- # disabled. If the value is `true`, scale in is disabled and the
4056
- # target tracking policy won't remove instances from the Auto Scaling
4057
- # group. Otherwise, scale in is enabled and the target tracking policy
4058
- # can remove instances from the Auto Scaling group. The default value
4059
- # is `false`.
4069
+ # disabled. If scale in is disabled, the target tracking policy won't
4070
+ # remove instances from the Auto Scaling group. Otherwise, the target
4071
+ # tracking policy can remove instances from the Auto Scaling group.
4072
+ # The default is disabled.
4060
4073
  # @return [Boolean]
4061
4074
  #
4062
4075
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingConfiguration AWS API Documentation
@@ -4082,8 +4095,8 @@ module Aws::AutoScaling
4082
4095
  # @return [String]
4083
4096
  #
4084
4097
  # @!attribute [rw] should_decrement_desired_capacity
4085
- # If `true`, terminating the instance also decrements the size of the
4086
- # Auto Scaling group.
4098
+ # Indicates whether terminating the instance also decrements the size
4099
+ # of the Auto Scaling group.
4087
4100
  # @return [Boolean]
4088
4101
  #
4089
4102
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroupType AWS API Documentation
@@ -4116,6 +4129,7 @@ module Aws::AutoScaling
4116
4129
  # vpc_zone_identifier: "XmlStringMaxLen2047",
4117
4130
  # termination_policies: ["XmlStringMaxLen1600"],
4118
4131
  # new_instances_protected_from_scale_in: false,
4132
+ # service_linked_role_arn: "ResourceName",
4119
4133
  # }
4120
4134
  #
4121
4135
  # @!attribute [rw] auto_scaling_group_name
@@ -4123,13 +4137,13 @@ module Aws::AutoScaling
4123
4137
  # @return [String]
4124
4138
  #
4125
4139
  # @!attribute [rw] launch_configuration_name
4126
- # The name of the launch configuration. You must specify either a
4127
- # launch configuration or a launch template.
4140
+ # The name of the launch configuration. If you specify a launch
4141
+ # configuration, you can't specify a launch template.
4128
4142
  # @return [String]
4129
4143
  #
4130
4144
  # @!attribute [rw] launch_template
4131
- # The launch template to use to specify the updates. You must specify
4132
- # a launch configuration or a launch template.
4145
+ # The launch template to use to specify the updates. If you specify a
4146
+ # launch template, you can't specify a launch configuration.
4133
4147
  # @return [Types::LaunchTemplateSpecification]
4134
4148
  #
4135
4149
  # @!attribute [rw] min_size
@@ -4225,6 +4239,11 @@ module Aws::AutoScaling
4225
4239
  # termination by Auto Scaling when scaling in.
4226
4240
  # @return [Boolean]
4227
4241
  #
4242
+ # @!attribute [rw] service_linked_role_arn
4243
+ # The Amazon Resource Name (ARN) of the service-linked role that the
4244
+ # Auto Scaling group uses to call other AWS services on your behalf.
4245
+ # @return [String]
4246
+ #
4228
4247
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
4229
4248
  #
4230
4249
  class UpdateAutoScalingGroupType < Struct.new(
@@ -4241,7 +4260,8 @@ module Aws::AutoScaling
4241
4260
  :placement_group,
4242
4261
  :vpc_zone_identifier,
4243
4262
  :termination_policies,
4244
- :new_instances_protected_from_scale_in)
4263
+ :new_instances_protected_from_scale_in,
4264
+ :service_linked_role_arn)
4245
4265
  include Aws::Structure
4246
4266
  end
4247
4267
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-autoscaling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2018-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core