aws-sdk-autoscaling 1.50.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f5cd630fa1733a3686b3a32353aa0c1049969555e2ced4d437049162b19b045
4
- data.tar.gz: 47f35b87f1b91ba69dc7b577a2be602e0788c039ec0520997b9ccb19ae85d915
3
+ metadata.gz: 15e6fecfff69ad854022ae56f53f0731bf353e41860c443a5f870e2d8d94ad57
4
+ data.tar.gz: 97fd0065d744ce191413cd0457929f14fd7b042e362229ee7a246f3c92ddf084
5
5
  SHA512:
6
- metadata.gz: de4a71226e3bf5bbbb2161d0d903de16cabc63a9573f8a151649acd5ffc816bc4220ab3eb13eaa9f15189a56c6af2d85605c913ee00cf2f05c45211ce843184f
7
- data.tar.gz: 59bf612f1affd9d86e3476b70861d5c72a6587af3cb1271909bccd1c0822e7c249520b21641d0b35c8dbeca6165224916e161fe0d0e27151204553d14df1208f
6
+ metadata.gz: 7966fbe3d082d3e4c1fa1f2e8cd5c204e20e66222c5319f2737e2c2ad68dd66fbe988597f7b5e72aaf6b1cac4d31704a2d976d7ec3369a8691243bfceff5a360
7
+ data.tar.gz: 0fe90d44e5a23f6ef3ed255c4bb2df2d31b294bd399e43f44b33515b1b6bc773e1d907ed4518f5fd4a58d04215025e5b444cf1953b6e965ea6a8dd0bf4f3b978
@@ -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.50.0'
62
+ GEM_VERSION = '1.51.0'
63
63
 
64
64
  end
@@ -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
  #
@@ -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.
@@ -788,10 +801,6 @@ module Aws::AutoScaling
788
801
  # groups with multiple instance types and purchase options][1] in the
789
802
  # *Amazon EC2 Auto Scaling User Guide*.
790
803
  #
791
- # Conditional: You must specify either a launch template
792
- # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
793
- # (`LaunchConfigurationName` or `InstanceId`).
794
- #
795
804
  #
796
805
  #
797
806
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
@@ -855,8 +864,9 @@ module Aws::AutoScaling
855
864
  #
856
865
  # @option params [Array<String>] :load_balancer_names
857
866
  # A list of Classic Load Balancers associated with this Auto Scaling
858
- # group. For Application Load Balancers and Network Load Balancers,
859
- # specify `TargetGroupARNs` instead.
867
+ # group. For Application Load Balancers, Network Load Balancers, and
868
+ # Gateway Load Balancers, specify the `TargetGroupARNs` property
869
+ # instead.
860
870
  #
861
871
  # @option params [Array<String>] :target_group_arns
862
872
  # The Amazon Resource Names (ARN) of the target groups to associate with
@@ -1380,7 +1390,7 @@ module Aws::AutoScaling
1380
1390
  #
1381
1391
  #
1382
1392
  #
1383
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
1393
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
1384
1394
  #
1385
1395
  # @option params [Types::InstanceMetadataOptions] :metadata_options
1386
1396
  # The metadata options for the instances. For more information, see
@@ -2624,8 +2634,8 @@ module Aws::AutoScaling
2624
2634
  # Describes the load balancers for the specified Auto Scaling group.
2625
2635
  #
2626
2636
  # This operation describes only Classic Load Balancers. If you have
2627
- # Application Load Balancers or Network Load Balancers, use the
2628
- # DescribeLoadBalancerTargetGroups API instead.
2637
+ # Application Load Balancers, Network Load Balancers, or Gateway Load
2638
+ # Balancers, use the DescribeLoadBalancerTargetGroups API instead.
2629
2639
  #
2630
2640
  # @option params [required, String] :auto_scaling_group_name
2631
2641
  # The name of the Auto Scaling group.
@@ -3484,8 +3494,8 @@ module Aws::AutoScaling
3484
3494
  # Scaling group.
3485
3495
  #
3486
3496
  # This operation detaches only Classic Load Balancers. If you have
3487
- # Application Load Balancers or Network Load Balancers, use the
3488
- # DetachLoadBalancerTargetGroups API instead.
3497
+ # Application Load Balancers, Network Load Balancers, or Gateway Load
3498
+ # Balancers, use the DetachLoadBalancerTargetGroups API instead.
3489
3499
  #
3490
3500
  # When you detach a load balancer, it enters the `Removing` state while
3491
3501
  # deregistering the instances in the group. When all instances are
@@ -5344,7 +5354,7 @@ module Aws::AutoScaling
5344
5354
  params: params,
5345
5355
  config: config)
5346
5356
  context[:gem_name] = 'aws-sdk-autoscaling'
5347
- context[:gem_version] = '1.50.0'
5357
+ context[:gem_version] = '1.51.0'
5348
5358
  Seahorse::Client::Request.new(handlers, context)
5349
5359
  end
5350
5360
 
@@ -156,10 +156,6 @@ module Aws::AutoScaling
156
156
  # groups with multiple instance types and purchase options][1] in the
157
157
  # *Amazon EC2 Auto Scaling User Guide*.
158
158
  #
159
- # Conditional: You must specify either a launch template
160
- # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
161
- # (`LaunchConfigurationName` or `InstanceId`).
162
- #
163
159
  #
164
160
  #
165
161
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
@@ -216,8 +212,9 @@ module Aws::AutoScaling
216
212
  # parameter is required to launch instances into EC2-Classic.
217
213
  # @option options [Array<String>] :load_balancer_names
218
214
  # A list of Classic Load Balancers associated with this Auto Scaling
219
- # group. For Application Load Balancers and Network Load Balancers,
220
- # specify `TargetGroupARNs` instead.
215
+ # group. For Application Load Balancers, Network Load Balancers, and
216
+ # Gateway Load Balancers, specify the `TargetGroupARNs` property
217
+ # instead.
221
218
  # @option options [Array<String>] :target_group_arns
222
219
  # The Amazon Resource Names (ARN) of the target groups to associate with
223
220
  # the Auto Scaling group. Instances are registered as targets in a
@@ -608,7 +605,7 @@ module Aws::AutoScaling
608
605
  #
609
606
  #
610
607
  #
611
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
608
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
612
609
  # @option options [Types::InstanceMetadataOptions] :metadata_options
613
610
  # The metadata options for the instances. For more information, see
614
611
  # [Configuring the Instance Metadata Options][1] in the *Amazon EC2 Auto
@@ -211,7 +211,13 @@ module Aws::AutoScaling
211
211
  #
212
212
  # @!attribute [rw] target_group_arns
213
213
  # The Amazon Resource Names (ARN) of the target groups. You can
214
- # specify up to 10 target groups.
214
+ # specify up to 10 target groups. To get the ARN of a target group,
215
+ # use the Elastic Load Balancing [DescribeTargetGroups][1] API
216
+ # operation.
217
+ #
218
+ #
219
+ #
220
+ # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html
215
221
  # @return [Array<String>]
216
222
  #
217
223
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroupsType AWS API Documentation
@@ -918,10 +924,6 @@ module Aws::AutoScaling
918
924
  # [Auto Scaling groups with multiple instance types and purchase
919
925
  # options][1] in the *Amazon EC2 Auto Scaling User Guide*.
920
926
  #
921
- # Conditional: You must specify either a launch template
922
- # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch
923
- # configuration (`LaunchConfigurationName` or `InstanceId`).
924
- #
925
927
  #
926
928
  #
927
929
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
@@ -993,8 +995,9 @@ module Aws::AutoScaling
993
995
  #
994
996
  # @!attribute [rw] load_balancer_names
995
997
  # A list of Classic Load Balancers associated with this Auto Scaling
996
- # group. For Application Load Balancers and Network Load Balancers,
997
- # specify `TargetGroupARNs` instead.
998
+ # group. For Application Load Balancers, Network Load Balancers, and
999
+ # Gateway Load Balancers, specify the `TargetGroupARNs` property
1000
+ # instead.
998
1001
  # @return [Array<String>]
999
1002
  #
1000
1003
  # @!attribute [rw] target_group_arns
@@ -1475,7 +1478,7 @@ module Aws::AutoScaling
1475
1478
  #
1476
1479
  #
1477
1480
  #
1478
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
1481
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
1479
1482
  # @return [String]
1480
1483
  #
1481
1484
  # @!attribute [rw] metadata_options
@@ -3248,30 +3251,29 @@ module Aws::AutoScaling
3248
3251
  #
3249
3252
  # @!attribute [rw] spot_allocation_strategy
3250
3253
  # Indicates how to allocate instances across Spot Instance pools. If
3251
- # the allocation strategy is `lowest-price`, the Auto Scaling group
3254
+ # the allocation strategy is `capacity-optimized` (recommended), the
3255
+ # Auto Scaling group launches instances using Spot pools that are
3256
+ # optimally chosen based on the available Spot capacity. If the
3257
+ # allocation strategy is `lowest-price`, the Auto Scaling group
3252
3258
  # launches instances using the Spot pools with the lowest price, and
3253
3259
  # evenly allocates your instances across the number of Spot pools that
3254
- # you specify. If the allocation strategy is `capacity-optimized`, the
3255
- # Auto Scaling group launches instances using Spot pools that are
3256
- # optimally chosen based on the available Spot capacity. Defaults to
3257
- # `lowest-price` if not specified.
3260
+ # you specify. Defaults to `lowest-price` if not specified.
3258
3261
  # @return [String]
3259
3262
  #
3260
3263
  # @!attribute [rw] spot_instance_pools
3261
3264
  # The number of Spot Instance pools across which to allocate your Spot
3262
3265
  # Instances. The Spot pools are determined from the different instance
3263
- # types in the overrides. Defaults to 2 if not specified. Valid only
3264
- # when the Spot allocation strategy is `lowest-price`.
3265
- #
3266
- # Valid Range: Minimum value of 1. Maximum value of 20.
3266
+ # types in the overrides. Valid only when the Spot allocation strategy
3267
+ # is `lowest-price`. Value must be in the range of 1 to 20. Defaults
3268
+ # to 2 if not specified.
3267
3269
  # @return [Integer]
3268
3270
  #
3269
3271
  # @!attribute [rw] spot_max_price
3270
3272
  # The maximum price per unit hour that you are willing to pay for a
3271
- # Spot Instance. If you leave the value of this parameter blank (which
3272
- # is the default), the maximum Spot price is set at the On-Demand
3273
- # price. To remove a value that you previously set, include the
3274
- # parameter but leave the value blank.
3273
+ # Spot Instance. If you leave the value at its default (empty), Amazon
3274
+ # EC2 Auto Scaling uses the On-Demand price as the maximum Spot price.
3275
+ # To remove a value that you previously set, include the property but
3276
+ # specify an empty string ("") for the value.
3275
3277
  # @return [String]
3276
3278
  #
3277
3279
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstancesDistribution AWS API Documentation
@@ -3691,9 +3693,8 @@ module Aws::AutoScaling
3691
3693
  # with a `WeightedCapacity` of 5 units, the instance is provisioned,
3692
3694
  # and the desired capacity is exceeded by 3 units. For more
3693
3695
  # information, see [Instance weighting for Amazon EC2 Auto Scaling][1]
3694
- # in the *Amazon EC2 Auto Scaling User Guide*.
3695
- #
3696
- # Valid Range: Minimum value of 1. Maximum value of 999.
3696
+ # in the *Amazon EC2 Auto Scaling User Guide*. Value must be in the
3697
+ # range of 1 to 999.
3697
3698
  #
3698
3699
  #
3699
3700
  #
@@ -3750,8 +3751,10 @@ module Aws::AutoScaling
3750
3751
  # The ID of the launch template. To get the template ID, use the
3751
3752
  # Amazon EC2 [DescribeLaunchTemplates][1] API operation. New launch
3752
3753
  # templates can be created using the Amazon EC2
3753
- # [CreateLaunchTemplate][2] API. You must specify either a
3754
- # `LaunchTemplateId` or a `LaunchTemplateName`.
3754
+ # [CreateLaunchTemplate][2] API.
3755
+ #
3756
+ # Conditional: You must specify either a `LaunchTemplateId` or a
3757
+ # `LaunchTemplateName`.
3755
3758
  #
3756
3759
  #
3757
3760
  #
@@ -3763,8 +3766,10 @@ module Aws::AutoScaling
3763
3766
  # The name of the launch template. To get the template name, use the
3764
3767
  # Amazon EC2 [DescribeLaunchTemplates][1] API operation. New launch
3765
3768
  # templates can be created using the Amazon EC2
3766
- # [CreateLaunchTemplate][2] API. You must specify either a
3767
- # `LaunchTemplateId` or a `LaunchTemplateName`.
3769
+ # [CreateLaunchTemplate][2] API.
3770
+ #
3771
+ # Conditional: You must specify either a `LaunchTemplateId` or a
3772
+ # `LaunchTemplateName`.
3768
3773
  #
3769
3774
  #
3770
3775
  #
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.50.0
4
+ version: 1.51.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: 2020-11-19 00:00:00.000000000 Z
11
+ date: 2020-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core