aws-sdk-autoscaling 1.61.0 → 1.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +23 -17
- data/lib/aws-sdk-autoscaling/client.rb +168 -65
- data/lib/aws-sdk-autoscaling/client_api.rb +2 -0
- data/lib/aws-sdk-autoscaling/load_balancer.rb +5 -5
- data/lib/aws-sdk-autoscaling/resource.rb +29 -19
- data/lib/aws-sdk-autoscaling/types.rb +96 -84
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6a61765327e0b400262f710e64735cfef555b08c4cfde499d98ef28c463aeeb
|
4
|
+
data.tar.gz: d33b57786bb75e6df7487ed80307a18497399e6596ff4ea3860a3b7c33df59bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b383eb1f599f14de27f506909532a7a83073c5e578dc3b72096f802abaaa27d68ae061379588be60a0262e1df13fd990b4eec7c4f37784a3952681d91b92c04
|
7
|
+
data.tar.gz: fd6ef044df7cfe048e7c2be3dca8a47b038b9ae04abe5a5f78834fe3f38f6395f47bd2989b638fac94b7b179b8ee5561d6e29e76c632a540c8d9ddf581898cfb
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.62.0
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -110,7 +110,7 @@ module Aws::AutoScaling
|
|
110
110
|
end
|
111
111
|
|
112
112
|
# The service to use for the health checks. The valid values are `EC2`
|
113
|
-
# and `ELB`. If you configure an Auto Scaling group to use ELB health
|
113
|
+
# and `ELB`. If you configure an Auto Scaling group to use `ELB` health
|
114
114
|
# checks, it considers the instance unhealthy if it fails either the EC2
|
115
115
|
# status checks or the load balancer health checks.
|
116
116
|
# @return [String]
|
@@ -178,7 +178,8 @@ module Aws::AutoScaling
|
|
178
178
|
end
|
179
179
|
|
180
180
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
181
|
-
# Auto Scaling group uses to call other
|
181
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
182
|
+
# behalf.
|
182
183
|
# @return [String]
|
183
184
|
def service_linked_role_arn
|
184
185
|
data[:service_linked_role_arn]
|
@@ -1084,7 +1085,7 @@ module Aws::AutoScaling
|
|
1084
1085
|
# One or more Availability Zones for the group.
|
1085
1086
|
# @option options [String] :health_check_type
|
1086
1087
|
# The service to use for the health checks. The valid values are `EC2`
|
1087
|
-
# and `ELB`. If you configure an Auto Scaling group to use ELB health
|
1088
|
+
# and `ELB`. If you configure an Auto Scaling group to use `ELB` health
|
1088
1089
|
# checks, it considers the instance unhealthy if it fails either the EC2
|
1089
1090
|
# status checks or the load balancer health checks.
|
1090
1091
|
# @option options [Integer] :health_check_grace_period
|
@@ -1137,9 +1138,9 @@ module Aws::AutoScaling
|
|
1137
1138
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
1138
1139
|
# @option options [String] :service_linked_role_arn
|
1139
1140
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
1140
|
-
# Auto Scaling group uses to call other
|
1141
|
-
# more information, see [Service-linked roles][1] in the
|
1142
|
-
# Auto Scaling User Guide*.
|
1141
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
1142
|
+
# behalf. For more information, see [Service-linked roles][1] in the
|
1143
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1143
1144
|
#
|
1144
1145
|
#
|
1145
1146
|
#
|
@@ -1183,11 +1184,13 @@ module Aws::AutoScaling
|
|
1183
1184
|
# })
|
1184
1185
|
# @param [Hash] options ({})
|
1185
1186
|
# @option options [Array<String>] :activity_ids
|
1186
|
-
# The activity IDs of the desired scaling activities.
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
#
|
1190
|
-
#
|
1187
|
+
# The activity IDs of the desired scaling activities. If you omit this
|
1188
|
+
# parameter, all activities for the past six weeks are described. If
|
1189
|
+
# unknown activities are requested, they are ignored with no error. If
|
1190
|
+
# you specify an Auto Scaling group, the results are limited to that
|
1191
|
+
# group.
|
1192
|
+
#
|
1193
|
+
# Array Members: Maximum number of 50 IDs.
|
1191
1194
|
# @option options [Boolean] :include_deleted_groups
|
1192
1195
|
# Indicates whether to include scaling activity from deleted Auto
|
1193
1196
|
# Scaling groups.
|
@@ -1353,8 +1356,10 @@ module Aws::AutoScaling
|
|
1353
1356
|
# @option options [Array<String>] :policy_names
|
1354
1357
|
# The names of one or more policies. If you omit this parameter, all
|
1355
1358
|
# policies are described. If a group name is provided, the results are
|
1356
|
-
# limited to that group.
|
1357
|
-
#
|
1359
|
+
# limited to that group. If you specify an unknown policy name, it is
|
1360
|
+
# ignored with no error.
|
1361
|
+
#
|
1362
|
+
# Array Members: Maximum number of 50 items.
|
1358
1363
|
# @option options [Array<String>] :policy_types
|
1359
1364
|
# One or more policy types. The valid values are `SimpleScaling`,
|
1360
1365
|
# `StepScaling`, `TargetTrackingScaling`, and `PredictiveScaling`.
|
@@ -1387,10 +1392,11 @@ module Aws::AutoScaling
|
|
1387
1392
|
# })
|
1388
1393
|
# @param [Hash] options ({})
|
1389
1394
|
# @option options [Array<String>] :scheduled_action_names
|
1390
|
-
# The names of one or more scheduled actions.
|
1391
|
-
#
|
1392
|
-
#
|
1393
|
-
#
|
1395
|
+
# The names of one or more scheduled actions. If you omit this
|
1396
|
+
# parameter, all scheduled actions are described. If you specify an
|
1397
|
+
# unknown scheduled action, it is ignored with no error.
|
1398
|
+
#
|
1399
|
+
# Array Members: Maximum number of 50 actions.
|
1394
1400
|
# @option options [Time,DateTime,Date,Integer,String] :start_time
|
1395
1401
|
# The earliest scheduled start time to return. If scheduled action names
|
1396
1402
|
# are provided, this parameter is ignored.
|
@@ -596,8 +596,9 @@ module Aws::AutoScaling
|
|
596
596
|
# not roll back any replacements that have already been completed, but
|
597
597
|
# it prevents new replacements from being started.
|
598
598
|
#
|
599
|
-
#
|
600
|
-
#
|
599
|
+
# This operation is part of the [instance refresh feature][1] in Amazon
|
600
|
+
# EC2 Auto Scaling, which helps you update instances in your Auto
|
601
|
+
# Scaling group after you make configuration changes.
|
601
602
|
#
|
602
603
|
#
|
603
604
|
#
|
@@ -986,11 +987,11 @@ module Aws::AutoScaling
|
|
986
987
|
#
|
987
988
|
# @option params [String] :service_linked_role_arn
|
988
989
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
989
|
-
# Auto Scaling group uses to call other
|
990
|
-
# default, Amazon EC2 Auto Scaling uses a service-linked role
|
991
|
-
# AWSServiceRoleForAutoScaling, which it creates if it does not
|
992
|
-
# For more information, see [Service-linked roles][1] in the
|
993
|
-
# Auto Scaling User Guide*.
|
990
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
991
|
+
# behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role
|
992
|
+
# named AWSServiceRoleForAutoScaling, which it creates if it does not
|
993
|
+
# exist. For more information, see [Service-linked roles][1] in the
|
994
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
994
995
|
#
|
995
996
|
#
|
996
997
|
#
|
@@ -1475,6 +1476,7 @@ module Aws::AutoScaling
|
|
1475
1476
|
# delete_on_termination: false,
|
1476
1477
|
# iops: 1,
|
1477
1478
|
# encrypted: false,
|
1479
|
+
# throughput: 1,
|
1478
1480
|
# },
|
1479
1481
|
# no_device: false,
|
1480
1482
|
# },
|
@@ -1874,6 +1876,13 @@ module Aws::AutoScaling
|
|
1874
1876
|
|
1875
1877
|
# Deletes the warm pool for the specified Auto Scaling group.
|
1876
1878
|
#
|
1879
|
+
# For more information, see [Warm pools for Amazon EC2 Auto Scaling][1]
|
1880
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
1881
|
+
#
|
1882
|
+
#
|
1883
|
+
#
|
1884
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html
|
1885
|
+
#
|
1877
1886
|
# @option params [required, String] :auto_scaling_group_name
|
1878
1887
|
# The name of the Auto Scaling group.
|
1879
1888
|
#
|
@@ -1902,7 +1911,7 @@ module Aws::AutoScaling
|
|
1902
1911
|
end
|
1903
1912
|
|
1904
1913
|
# Describes the current Amazon EC2 Auto Scaling resource quotas for your
|
1905
|
-
#
|
1914
|
+
# account.
|
1906
1915
|
#
|
1907
1916
|
# For information about requesting an increase, see [Amazon EC2 Auto
|
1908
1917
|
# Scaling service quotas][1] in the *Amazon EC2 Auto Scaling User
|
@@ -1951,18 +1960,16 @@ module Aws::AutoScaling
|
|
1951
1960
|
req.send_request(options)
|
1952
1961
|
end
|
1953
1962
|
|
1954
|
-
# Describes the available adjustment types for
|
1955
|
-
# scaling policies.
|
1956
|
-
# simple scaling policies; they do not apply to target tracking scaling
|
1957
|
-
# policies.
|
1963
|
+
# Describes the available adjustment types for step scaling and simple
|
1964
|
+
# scaling policies.
|
1958
1965
|
#
|
1959
1966
|
# The following adjustment types are supported:
|
1960
1967
|
#
|
1961
|
-
# * ChangeInCapacity
|
1968
|
+
# * `ChangeInCapacity`
|
1962
1969
|
#
|
1963
|
-
# * ExactCapacity
|
1970
|
+
# * `ExactCapacity`
|
1964
1971
|
#
|
1965
|
-
# * PercentChangeInCapacity
|
1972
|
+
# * `PercentChangeInCapacity`
|
1966
1973
|
#
|
1967
1974
|
# @return [Types::DescribeAdjustmentTypesAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1968
1975
|
#
|
@@ -2005,7 +2012,8 @@ module Aws::AutoScaling
|
|
2005
2012
|
req.send_request(options)
|
2006
2013
|
end
|
2007
2014
|
|
2008
|
-
#
|
2015
|
+
# Gets information about the Auto Scaling groups in the account and
|
2016
|
+
# Region.
|
2009
2017
|
#
|
2010
2018
|
# This operation returns information about instances in Auto Scaling
|
2011
2019
|
# groups. To retrieve information about the instances in a warm pool,
|
@@ -2190,12 +2198,15 @@ module Aws::AutoScaling
|
|
2190
2198
|
req.send_request(options)
|
2191
2199
|
end
|
2192
2200
|
|
2193
|
-
#
|
2201
|
+
# Gets information about the Auto Scaling instances in the account and
|
2202
|
+
# Region.
|
2194
2203
|
#
|
2195
2204
|
# @option params [Array<String>] :instance_ids
|
2196
|
-
# The IDs of the instances.
|
2197
|
-
#
|
2198
|
-
#
|
2205
|
+
# The IDs of the instances. If you omit this parameter, all Auto Scaling
|
2206
|
+
# instances are described. If you specify an ID that does not exist, it
|
2207
|
+
# is ignored with no error.
|
2208
|
+
#
|
2209
|
+
# Array Members: Maximum number of 50 items.
|
2199
2210
|
#
|
2200
2211
|
# @option params [Integer] :max_records
|
2201
2212
|
# The maximum number of items to return with this call. The default
|
@@ -2312,10 +2323,20 @@ module Aws::AutoScaling
|
|
2312
2323
|
req.send_request(options)
|
2313
2324
|
end
|
2314
2325
|
|
2315
|
-
#
|
2326
|
+
# Gets information about the instance refreshes for the specified Auto
|
2327
|
+
# Scaling group.
|
2328
|
+
#
|
2329
|
+
# This operation is part of the [instance refresh feature][1] in Amazon
|
2330
|
+
# EC2 Auto Scaling, which helps you update instances in your Auto
|
2331
|
+
# Scaling group after you make configuration changes.
|
2332
|
+
#
|
2333
|
+
# To help you determine the status of an instance refresh, this
|
2334
|
+
# operation returns information about the instance refreshes you
|
2335
|
+
# previously initiated, including their status, end time, the percentage
|
2336
|
+
# of the instance refresh that is complete, and the number of instances
|
2337
|
+
# remaining to update before the instance refresh is complete.
|
2316
2338
|
#
|
2317
|
-
#
|
2318
|
-
# parameter. The following are the possible statuses:
|
2339
|
+
# The following are the possible statuses:
|
2319
2340
|
#
|
2320
2341
|
# * `Pending` - The request was created, but the operation has not
|
2321
2342
|
# started.
|
@@ -2333,9 +2354,6 @@ module Aws::AutoScaling
|
|
2333
2354
|
#
|
2334
2355
|
# * `Cancelled` - The operation is cancelled.
|
2335
2356
|
#
|
2336
|
-
# For more information, see [Replacing Auto Scaling instances based on
|
2337
|
-
# an instance refresh][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
2338
|
-
#
|
2339
2357
|
#
|
2340
2358
|
#
|
2341
2359
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html
|
@@ -2426,12 +2444,15 @@ module Aws::AutoScaling
|
|
2426
2444
|
req.send_request(options)
|
2427
2445
|
end
|
2428
2446
|
|
2429
|
-
#
|
2447
|
+
# Gets information about the launch configurations in the account and
|
2448
|
+
# Region.
|
2430
2449
|
#
|
2431
2450
|
# @option params [Array<String>] :launch_configuration_names
|
2432
2451
|
# The launch configuration names. If you omit this parameter, all launch
|
2433
2452
|
# configurations are described.
|
2434
2453
|
#
|
2454
|
+
# Array Members: Maximum number of 50 items.
|
2455
|
+
#
|
2435
2456
|
# @option params [String] :next_token
|
2436
2457
|
# The token for the next set of items to return. (You received this
|
2437
2458
|
# token from a previous call.)
|
@@ -2514,6 +2535,7 @@ module Aws::AutoScaling
|
|
2514
2535
|
# resp.launch_configurations[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
|
2515
2536
|
# resp.launch_configurations[0].block_device_mappings[0].ebs.iops #=> Integer
|
2516
2537
|
# resp.launch_configurations[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
2538
|
+
# resp.launch_configurations[0].block_device_mappings[0].ebs.throughput #=> Integer
|
2517
2539
|
# resp.launch_configurations[0].block_device_mappings[0].no_device #=> Boolean
|
2518
2540
|
# resp.launch_configurations[0].instance_monitoring.enabled #=> Boolean
|
2519
2541
|
# resp.launch_configurations[0].spot_price #=> String
|
@@ -2540,9 +2562,9 @@ module Aws::AutoScaling
|
|
2540
2562
|
#
|
2541
2563
|
# The following hook types are supported:
|
2542
2564
|
#
|
2543
|
-
# * autoscaling:
|
2565
|
+
# * `autoscaling:EC2_INSTANCE_LAUNCHING`
|
2544
2566
|
#
|
2545
|
-
# * autoscaling:
|
2567
|
+
# * `autoscaling:EC2_INSTANCE_TERMINATING`
|
2546
2568
|
#
|
2547
2569
|
# @return [Types::DescribeLifecycleHookTypesAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2548
2570
|
#
|
@@ -2578,7 +2600,8 @@ module Aws::AutoScaling
|
|
2578
2600
|
req.send_request(options)
|
2579
2601
|
end
|
2580
2602
|
|
2581
|
-
#
|
2603
|
+
# Gets information about the lifecycle hooks for the specified Auto
|
2604
|
+
# Scaling group.
|
2582
2605
|
#
|
2583
2606
|
# @option params [required, String] :auto_scaling_group_name
|
2584
2607
|
# The name of the Auto Scaling group.
|
@@ -2645,7 +2668,36 @@ module Aws::AutoScaling
|
|
2645
2668
|
req.send_request(options)
|
2646
2669
|
end
|
2647
2670
|
|
2648
|
-
#
|
2671
|
+
# Gets information about the load balancer target groups for the
|
2672
|
+
# specified Auto Scaling group.
|
2673
|
+
#
|
2674
|
+
# To determine the availability of registered instances, use the `State`
|
2675
|
+
# element in the response. When you attach a target group to an Auto
|
2676
|
+
# Scaling group, the initial `State` value is `Adding`. The state
|
2677
|
+
# transitions to `Added` after all Auto Scaling instances are registered
|
2678
|
+
# with the target group. If Elastic Load Balancing health checks are
|
2679
|
+
# enabled for the Auto Scaling group, the state transitions to
|
2680
|
+
# `InService` after at least one Auto Scaling instance passes the health
|
2681
|
+
# check. When the target group is in the `InService` state, Amazon EC2
|
2682
|
+
# Auto Scaling can terminate and replace any instances that are reported
|
2683
|
+
# as unhealthy. If no registered instances pass the health checks, the
|
2684
|
+
# target group doesn't enter the `InService` state.
|
2685
|
+
#
|
2686
|
+
# Target groups also have an `InService` state if you attach them in the
|
2687
|
+
# CreateAutoScalingGroup API call. If your target group state is
|
2688
|
+
# `InService`, but it is not working properly, check the scaling
|
2689
|
+
# activities by calling DescribeScalingActivities and take any
|
2690
|
+
# corrective actions necessary.
|
2691
|
+
#
|
2692
|
+
# For help with failed health checks, see [Troubleshooting Amazon EC2
|
2693
|
+
# Auto Scaling: Health checks][1] in the *Amazon EC2 Auto Scaling User
|
2694
|
+
# Guide*. For more information, see [Elastic Load Balancing and Amazon
|
2695
|
+
# EC2 Auto Scaling][2] in the *Amazon EC2 Auto Scaling User Guide*.
|
2696
|
+
#
|
2697
|
+
#
|
2698
|
+
#
|
2699
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html
|
2700
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
|
2649
2701
|
#
|
2650
2702
|
# @option params [required, String] :auto_scaling_group_name
|
2651
2703
|
# The name of the Auto Scaling group.
|
@@ -2706,12 +2758,41 @@ module Aws::AutoScaling
|
|
2706
2758
|
req.send_request(options)
|
2707
2759
|
end
|
2708
2760
|
|
2709
|
-
#
|
2761
|
+
# Gets information about the load balancers for the specified Auto
|
2762
|
+
# Scaling group.
|
2710
2763
|
#
|
2711
2764
|
# This operation describes only Classic Load Balancers. If you have
|
2712
2765
|
# Application Load Balancers, Network Load Balancers, or Gateway Load
|
2713
2766
|
# Balancers, use the DescribeLoadBalancerTargetGroups API instead.
|
2714
2767
|
#
|
2768
|
+
# To determine the availability of registered instances, use the `State`
|
2769
|
+
# element in the response. When you attach a load balancer to an Auto
|
2770
|
+
# Scaling group, the initial `State` value is `Adding`. The state
|
2771
|
+
# transitions to `Added` after all Auto Scaling instances are registered
|
2772
|
+
# with the load balancer. If Elastic Load Balancing health checks are
|
2773
|
+
# enabled for the Auto Scaling group, the state transitions to
|
2774
|
+
# `InService` after at least one Auto Scaling instance passes the health
|
2775
|
+
# check. When the load balancer is in the `InService` state, Amazon EC2
|
2776
|
+
# Auto Scaling can terminate and replace any instances that are reported
|
2777
|
+
# as unhealthy. If no registered instances pass the health checks, the
|
2778
|
+
# load balancer doesn't enter the `InService` state.
|
2779
|
+
#
|
2780
|
+
# Load balancers also have an `InService` state if you attach them in
|
2781
|
+
# the CreateAutoScalingGroup API call. If your load balancer state is
|
2782
|
+
# `InService`, but it is not working properly, check the scaling
|
2783
|
+
# activities by calling DescribeScalingActivities and take any
|
2784
|
+
# corrective actions necessary.
|
2785
|
+
#
|
2786
|
+
# For help with failed health checks, see [Troubleshooting Amazon EC2
|
2787
|
+
# Auto Scaling: Health checks][1] in the *Amazon EC2 Auto Scaling User
|
2788
|
+
# Guide*. For more information, see [Elastic Load Balancing and Amazon
|
2789
|
+
# EC2 Auto Scaling][2] in the *Amazon EC2 Auto Scaling User Guide*.
|
2790
|
+
#
|
2791
|
+
#
|
2792
|
+
#
|
2793
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html
|
2794
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
|
2795
|
+
#
|
2715
2796
|
# @option params [required, String] :auto_scaling_group_name
|
2716
2797
|
# The name of the Auto Scaling group.
|
2717
2798
|
#
|
@@ -2842,8 +2923,8 @@ module Aws::AutoScaling
|
|
2842
2923
|
req.send_request(options)
|
2843
2924
|
end
|
2844
2925
|
|
2845
|
-
#
|
2846
|
-
# Scaling
|
2926
|
+
# Gets information about the Amazon SNS notifications that are
|
2927
|
+
# configured for one or more Auto Scaling groups.
|
2847
2928
|
#
|
2848
2929
|
# @option params [Array<String>] :auto_scaling_group_names
|
2849
2930
|
# The name of the Auto Scaling group.
|
@@ -2915,7 +2996,7 @@ module Aws::AutoScaling
|
|
2915
2996
|
req.send_request(options)
|
2916
2997
|
end
|
2917
2998
|
|
2918
|
-
#
|
2999
|
+
# Gets information about the scaling policies in the account and Region.
|
2919
3000
|
#
|
2920
3001
|
# @option params [String] :auto_scaling_group_name
|
2921
3002
|
# The name of the Auto Scaling group.
|
@@ -2923,8 +3004,10 @@ module Aws::AutoScaling
|
|
2923
3004
|
# @option params [Array<String>] :policy_names
|
2924
3005
|
# The names of one or more policies. If you omit this parameter, all
|
2925
3006
|
# policies are described. If a group name is provided, the results are
|
2926
|
-
# limited to that group.
|
2927
|
-
#
|
3007
|
+
# limited to that group. If you specify an unknown policy name, it is
|
3008
|
+
# ignored with no error.
|
3009
|
+
#
|
3010
|
+
# Array Members: Maximum number of 50 items.
|
2928
3011
|
#
|
2929
3012
|
# @option params [Array<String>] :policy_types
|
2930
3013
|
# One or more policy types. The valid values are `SimpleScaling`,
|
@@ -3046,26 +3129,35 @@ module Aws::AutoScaling
|
|
3046
3129
|
req.send_request(options)
|
3047
3130
|
end
|
3048
3131
|
|
3049
|
-
#
|
3050
|
-
#
|
3132
|
+
# Gets information about the scaling activities in the account and
|
3133
|
+
# Region.
|
3051
3134
|
#
|
3052
|
-
#
|
3053
|
-
#
|
3054
|
-
# scaling events occur, you see scaling activity messages in the
|
3055
|
-
# **Activity history**. For more information, see [Verifying a scaling
|
3135
|
+
# When scaling events occur, you see a record of the scaling activity in
|
3136
|
+
# the scaling activities. For more information, see [Verifying a scaling
|
3056
3137
|
# activity for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
3057
3138
|
# User Guide*.
|
3058
3139
|
#
|
3140
|
+
# If the scaling event succeeds, the value of the `StatusCode` element
|
3141
|
+
# in the response is `Successful`. If an attempt to launch instances
|
3142
|
+
# failed, the `StatusCode` value is `Failed` or `Cancelled` and the
|
3143
|
+
# `StatusMessage` element in the response indicates the cause of the
|
3144
|
+
# failure. For help interpreting the `StatusMessage`, see
|
3145
|
+
# [Troubleshooting Amazon EC2 Auto Scaling][2] in the *Amazon EC2 Auto
|
3146
|
+
# Scaling User Guide*.
|
3147
|
+
#
|
3059
3148
|
#
|
3060
3149
|
#
|
3061
3150
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html
|
3151
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html
|
3062
3152
|
#
|
3063
3153
|
# @option params [Array<String>] :activity_ids
|
3064
|
-
# The activity IDs of the desired scaling activities.
|
3065
|
-
#
|
3066
|
-
#
|
3067
|
-
#
|
3068
|
-
#
|
3154
|
+
# The activity IDs of the desired scaling activities. If you omit this
|
3155
|
+
# parameter, all activities for the past six weeks are described. If
|
3156
|
+
# unknown activities are requested, they are ignored with no error. If
|
3157
|
+
# you specify an Auto Scaling group, the results are limited to that
|
3158
|
+
# group.
|
3159
|
+
#
|
3160
|
+
# Array Members: Maximum number of 50 IDs.
|
3069
3161
|
#
|
3070
3162
|
# @option params [String] :auto_scaling_group_name
|
3071
3163
|
# The name of the Auto Scaling group.
|
@@ -3210,18 +3302,21 @@ module Aws::AutoScaling
|
|
3210
3302
|
req.send_request(options)
|
3211
3303
|
end
|
3212
3304
|
|
3213
|
-
#
|
3214
|
-
#
|
3215
|
-
#
|
3305
|
+
# Gets information about the scheduled actions that haven't run or that
|
3306
|
+
# have not reached their end time.
|
3307
|
+
#
|
3308
|
+
# To describe the scaling activities for scheduled actions that have
|
3309
|
+
# already run, call the DescribeScalingActivities API.
|
3216
3310
|
#
|
3217
3311
|
# @option params [String] :auto_scaling_group_name
|
3218
3312
|
# The name of the Auto Scaling group.
|
3219
3313
|
#
|
3220
3314
|
# @option params [Array<String>] :scheduled_action_names
|
3221
|
-
# The names of one or more scheduled actions.
|
3222
|
-
#
|
3223
|
-
#
|
3224
|
-
#
|
3315
|
+
# The names of one or more scheduled actions. If you omit this
|
3316
|
+
# parameter, all scheduled actions are described. If you specify an
|
3317
|
+
# unknown scheduled action, it is ignored with no error.
|
3318
|
+
#
|
3319
|
+
# Array Members: Maximum number of 50 actions.
|
3225
3320
|
#
|
3226
3321
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
3227
3322
|
# The earliest scheduled start time to return. If scheduled action names
|
@@ -3461,7 +3556,14 @@ module Aws::AutoScaling
|
|
3461
3556
|
req.send_request(options)
|
3462
3557
|
end
|
3463
3558
|
|
3464
|
-
#
|
3559
|
+
# Gets information about a warm pool and its instances.
|
3560
|
+
#
|
3561
|
+
# For more information, see [Warm pools for Amazon EC2 Auto Scaling][1]
|
3562
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
3563
|
+
#
|
3564
|
+
#
|
3565
|
+
#
|
3566
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html
|
3465
3567
|
#
|
3466
3568
|
# @option params [required, String] :auto_scaling_group_name
|
3467
3569
|
# The name of the Auto Scaling group.
|
@@ -5257,16 +5359,17 @@ module Aws::AutoScaling
|
|
5257
5359
|
# replacement of previously launched instances in the Auto Scaling group
|
5258
5360
|
# with a new group of instances.
|
5259
5361
|
#
|
5260
|
-
#
|
5362
|
+
# This operation is part of the [instance refresh feature][1] in Amazon
|
5363
|
+
# EC2 Auto Scaling, which helps you update instances in your Auto
|
5364
|
+
# Scaling group after you make configuration changes.
|
5365
|
+
#
|
5366
|
+
# If the call succeeds, it creates a new instance refresh request with a
|
5261
5367
|
# unique ID that you can use to track its progress. To query its status,
|
5262
5368
|
# call the DescribeInstanceRefreshes API. To describe the instance
|
5263
5369
|
# refreshes that have already run, call the DescribeInstanceRefreshes
|
5264
5370
|
# API. To cancel an instance refresh operation in progress, use the
|
5265
5371
|
# CancelInstanceRefresh API.
|
5266
5372
|
#
|
5267
|
-
# For more information, see [Replacing Auto Scaling instances based on
|
5268
|
-
# an instance refresh][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
5269
|
-
#
|
5270
5373
|
#
|
5271
5374
|
#
|
5272
5375
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html
|
@@ -5609,7 +5712,7 @@ module Aws::AutoScaling
|
|
5609
5712
|
#
|
5610
5713
|
# @option params [String] :health_check_type
|
5611
5714
|
# The service to use for the health checks. The valid values are `EC2`
|
5612
|
-
# and `ELB`. If you configure an Auto Scaling group to use ELB health
|
5715
|
+
# and `ELB`. If you configure an Auto Scaling group to use `ELB` health
|
5613
5716
|
# checks, it considers the instance unhealthy if it fails either the EC2
|
5614
5717
|
# status checks or the load balancer health checks.
|
5615
5718
|
#
|
@@ -5668,9 +5771,9 @@ module Aws::AutoScaling
|
|
5668
5771
|
#
|
5669
5772
|
# @option params [String] :service_linked_role_arn
|
5670
5773
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
5671
|
-
# Auto Scaling group uses to call other
|
5672
|
-
# more information, see [Service-linked roles][1] in the
|
5673
|
-
# Auto Scaling User Guide*.
|
5774
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
5775
|
+
# behalf. For more information, see [Service-linked roles][1] in the
|
5776
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
5674
5777
|
#
|
5675
5778
|
#
|
5676
5779
|
#
|
@@ -5804,7 +5907,7 @@ module Aws::AutoScaling
|
|
5804
5907
|
params: params,
|
5805
5908
|
config: config)
|
5806
5909
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
5807
|
-
context[:gem_version] = '1.
|
5910
|
+
context[:gem_version] = '1.62.0'
|
5808
5911
|
Seahorse::Client::Request.new(handlers, context)
|
5809
5912
|
end
|
5810
5913
|
|
@@ -53,6 +53,7 @@ module Aws::AutoScaling
|
|
53
53
|
BlockDeviceEbsDeleteOnTermination = Shapes::BooleanShape.new(name: 'BlockDeviceEbsDeleteOnTermination')
|
54
54
|
BlockDeviceEbsEncrypted = Shapes::BooleanShape.new(name: 'BlockDeviceEbsEncrypted')
|
55
55
|
BlockDeviceEbsIops = Shapes::IntegerShape.new(name: 'BlockDeviceEbsIops')
|
56
|
+
BlockDeviceEbsThroughput = Shapes::IntegerShape.new(name: 'BlockDeviceEbsThroughput')
|
56
57
|
BlockDeviceEbsVolumeSize = Shapes::IntegerShape.new(name: 'BlockDeviceEbsVolumeSize')
|
57
58
|
BlockDeviceEbsVolumeType = Shapes::StringShape.new(name: 'BlockDeviceEbsVolumeType')
|
58
59
|
BlockDeviceMapping = Shapes::StructureShape.new(name: 'BlockDeviceMapping')
|
@@ -713,6 +714,7 @@ module Aws::AutoScaling
|
|
713
714
|
Ebs.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: BlockDeviceEbsDeleteOnTermination, location_name: "DeleteOnTermination"))
|
714
715
|
Ebs.add_member(:iops, Shapes::ShapeRef.new(shape: BlockDeviceEbsIops, location_name: "Iops"))
|
715
716
|
Ebs.add_member(:encrypted, Shapes::ShapeRef.new(shape: BlockDeviceEbsEncrypted, location_name: "Encrypted"))
|
717
|
+
Ebs.add_member(:throughput, Shapes::ShapeRef.new(shape: BlockDeviceEbsThroughput, location_name: "Throughput"))
|
716
718
|
Ebs.struct_class = Types::Ebs
|
717
719
|
|
718
720
|
EnableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
@@ -45,21 +45,21 @@ module Aws::AutoScaling
|
|
45
45
|
|
46
46
|
# One of the following load balancer states:
|
47
47
|
#
|
48
|
-
# * `Adding` - The
|
48
|
+
# * `Adding` - The Auto Scaling instances are being registered with the
|
49
49
|
# load balancer.
|
50
50
|
#
|
51
|
-
# * `Added` - All
|
51
|
+
# * `Added` - All Auto Scaling instances are registered with the load
|
52
52
|
# balancer.
|
53
53
|
#
|
54
|
-
# * `InService` - At least one
|
54
|
+
# * `InService` - At least one Auto Scaling instance passed an `ELB`
|
55
55
|
# health check.
|
56
56
|
#
|
57
|
-
# * `Removing` - The
|
57
|
+
# * `Removing` - The Auto Scaling instances are being deregistered from
|
58
58
|
# the load balancer. If connection draining is enabled, Elastic Load
|
59
59
|
# Balancing waits for in-flight requests to complete before
|
60
60
|
# deregistering the instances.
|
61
61
|
#
|
62
|
-
# * `Removed` - All
|
62
|
+
# * `Removed` - All Auto Scaling instances are deregistered from the
|
63
63
|
# load balancer.
|
64
64
|
# @return [String]
|
65
65
|
def state
|
@@ -319,11 +319,11 @@ module Aws::AutoScaling
|
|
319
319
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html
|
320
320
|
# @option options [String] :service_linked_role_arn
|
321
321
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
322
|
-
# Auto Scaling group uses to call other
|
323
|
-
# default, Amazon EC2 Auto Scaling uses a service-linked role
|
324
|
-
# AWSServiceRoleForAutoScaling, which it creates if it does not
|
325
|
-
# For more information, see [Service-linked roles][1] in the
|
326
|
-
# Auto Scaling User Guide*.
|
322
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
323
|
+
# behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role
|
324
|
+
# named AWSServiceRoleForAutoScaling, which it creates if it does not
|
325
|
+
# exist. For more information, see [Service-linked roles][1] in the
|
326
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
327
327
|
#
|
328
328
|
#
|
329
329
|
#
|
@@ -372,6 +372,7 @@ module Aws::AutoScaling
|
|
372
372
|
# delete_on_termination: false,
|
373
373
|
# iops: 1,
|
374
374
|
# encrypted: false,
|
375
|
+
# throughput: 1,
|
375
376
|
# },
|
376
377
|
# no_device: false,
|
377
378
|
# },
|
@@ -637,11 +638,13 @@ module Aws::AutoScaling
|
|
637
638
|
# })
|
638
639
|
# @param [Hash] options ({})
|
639
640
|
# @option options [Array<String>] :activity_ids
|
640
|
-
# The activity IDs of the desired scaling activities.
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
644
|
-
#
|
641
|
+
# The activity IDs of the desired scaling activities. If you omit this
|
642
|
+
# parameter, all activities for the past six weeks are described. If
|
643
|
+
# unknown activities are requested, they are ignored with no error. If
|
644
|
+
# you specify an Auto Scaling group, the results are limited to that
|
645
|
+
# group.
|
646
|
+
#
|
647
|
+
# Array Members: Maximum number of 50 IDs.
|
645
648
|
# @option options [String] :auto_scaling_group_name
|
646
649
|
# The name of the Auto Scaling group.
|
647
650
|
# @option options [Boolean] :include_deleted_groups
|
@@ -722,9 +725,11 @@ module Aws::AutoScaling
|
|
722
725
|
# })
|
723
726
|
# @param [Hash] options ({})
|
724
727
|
# @option options [Array<String>] :instance_ids
|
725
|
-
# The IDs of the instances.
|
726
|
-
#
|
727
|
-
#
|
728
|
+
# The IDs of the instances. If you omit this parameter, all Auto Scaling
|
729
|
+
# instances are described. If you specify an ID that does not exist, it
|
730
|
+
# is ignored with no error.
|
731
|
+
#
|
732
|
+
# Array Members: Maximum number of 50 items.
|
728
733
|
# @return [Instance::Collection]
|
729
734
|
def instances(options = {})
|
730
735
|
batches = Enumerator.new do |y|
|
@@ -763,6 +768,8 @@ module Aws::AutoScaling
|
|
763
768
|
# @option options [Array<String>] :launch_configuration_names
|
764
769
|
# The launch configuration names. If you omit this parameter, all launch
|
765
770
|
# configurations are described.
|
771
|
+
#
|
772
|
+
# Array Members: Maximum number of 50 items.
|
766
773
|
# @return [LaunchConfiguration::Collection]
|
767
774
|
def launch_configurations(options = {})
|
768
775
|
batches = Enumerator.new do |y|
|
@@ -795,8 +802,10 @@ module Aws::AutoScaling
|
|
795
802
|
# @option options [Array<String>] :policy_names
|
796
803
|
# The names of one or more policies. If you omit this parameter, all
|
797
804
|
# policies are described. If a group name is provided, the results are
|
798
|
-
# limited to that group.
|
799
|
-
#
|
805
|
+
# limited to that group. If you specify an unknown policy name, it is
|
806
|
+
# ignored with no error.
|
807
|
+
#
|
808
|
+
# Array Members: Maximum number of 50 items.
|
800
809
|
# @option options [Array<String>] :policy_types
|
801
810
|
# One or more policy types. The valid values are `SimpleScaling`,
|
802
811
|
# `StepScaling`, `TargetTrackingScaling`, and `PredictiveScaling`.
|
@@ -849,10 +858,11 @@ module Aws::AutoScaling
|
|
849
858
|
# @option options [String] :auto_scaling_group_name
|
850
859
|
# The name of the Auto Scaling group.
|
851
860
|
# @option options [Array<String>] :scheduled_action_names
|
852
|
-
# The names of one or more scheduled actions.
|
853
|
-
#
|
854
|
-
#
|
855
|
-
#
|
861
|
+
# The names of one or more scheduled actions. If you omit this
|
862
|
+
# parameter, all scheduled actions are described. If you specify an
|
863
|
+
# unknown scheduled action, it is ignored with no error.
|
864
|
+
#
|
865
|
+
# Array Members: Maximum number of 50 actions.
|
856
866
|
# @option options [Time,DateTime,Date,Integer,String] :start_time
|
857
867
|
# The earliest scheduled start time to return. If scheduled action names
|
858
868
|
# are provided, this parameter is ignored.
|
@@ -328,9 +328,9 @@ module Aws::AutoScaling
|
|
328
328
|
#
|
329
329
|
# @!attribute [rw] health_check_type
|
330
330
|
# The service to use for the health checks. The valid values are `EC2`
|
331
|
-
# and `ELB`. If you configure an Auto Scaling group to use ELB
|
332
|
-
# checks, it considers the instance unhealthy if it fails
|
333
|
-
# EC2 status checks or the load balancer health checks.
|
331
|
+
# and `ELB`. If you configure an Auto Scaling group to use `ELB`
|
332
|
+
# health checks, it considers the instance unhealthy if it fails
|
333
|
+
# either the EC2 status checks or the load balancer health checks.
|
334
334
|
# @return [String]
|
335
335
|
#
|
336
336
|
# @!attribute [rw] health_check_grace_period
|
@@ -384,7 +384,8 @@ module Aws::AutoScaling
|
|
384
384
|
#
|
385
385
|
# @!attribute [rw] service_linked_role_arn
|
386
386
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
387
|
-
# Auto Scaling group uses to call other
|
387
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
388
|
+
# behalf.
|
388
389
|
# @return [String]
|
389
390
|
#
|
390
391
|
# @!attribute [rw] max_instance_lifetime
|
@@ -708,6 +709,7 @@ module Aws::AutoScaling
|
|
708
709
|
# delete_on_termination: false,
|
709
710
|
# iops: 1,
|
710
711
|
# encrypted: false,
|
712
|
+
# throughput: 1,
|
711
713
|
# },
|
712
714
|
# no_device: false,
|
713
715
|
# }
|
@@ -1193,11 +1195,11 @@ module Aws::AutoScaling
|
|
1193
1195
|
#
|
1194
1196
|
# @!attribute [rw] service_linked_role_arn
|
1195
1197
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
1196
|
-
# Auto Scaling group uses to call other
|
1197
|
-
# By default, Amazon EC2 Auto Scaling uses a service-linked
|
1198
|
-
# AWSServiceRoleForAutoScaling, which it creates if it does
|
1199
|
-
# For more information, see [Service-linked roles][1] in
|
1200
|
-
# EC2 Auto Scaling User Guide*.
|
1198
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
1199
|
+
# behalf. By default, Amazon EC2 Auto Scaling uses a service-linked
|
1200
|
+
# role named AWSServiceRoleForAutoScaling, which it creates if it does
|
1201
|
+
# not exist. For more information, see [Service-linked roles][1] in
|
1202
|
+
# the *Amazon EC2 Auto Scaling User Guide*.
|
1201
1203
|
#
|
1202
1204
|
#
|
1203
1205
|
#
|
@@ -1273,6 +1275,7 @@ module Aws::AutoScaling
|
|
1273
1275
|
# delete_on_termination: false,
|
1274
1276
|
# iops: 1,
|
1275
1277
|
# encrypted: false,
|
1278
|
+
# throughput: 1,
|
1276
1279
|
# },
|
1277
1280
|
# no_device: false,
|
1278
1281
|
# },
|
@@ -1880,21 +1883,21 @@ module Aws::AutoScaling
|
|
1880
1883
|
end
|
1881
1884
|
|
1882
1885
|
# @!attribute [rw] max_number_of_auto_scaling_groups
|
1883
|
-
# The maximum number of groups allowed for your
|
1884
|
-
#
|
1886
|
+
# The maximum number of groups allowed for your account. The default
|
1887
|
+
# is 200 groups per Region.
|
1885
1888
|
# @return [Integer]
|
1886
1889
|
#
|
1887
1890
|
# @!attribute [rw] max_number_of_launch_configurations
|
1888
|
-
# The maximum number of launch configurations allowed for your
|
1889
|
-
# account. The default is 200 launch configurations per
|
1891
|
+
# The maximum number of launch configurations allowed for your
|
1892
|
+
# account. The default is 200 launch configurations per Region.
|
1890
1893
|
# @return [Integer]
|
1891
1894
|
#
|
1892
1895
|
# @!attribute [rw] number_of_auto_scaling_groups
|
1893
|
-
# The current number of groups for your
|
1896
|
+
# The current number of groups for your account.
|
1894
1897
|
# @return [Integer]
|
1895
1898
|
#
|
1896
1899
|
# @!attribute [rw] number_of_launch_configurations
|
1897
|
-
# The current number of launch configurations for your
|
1900
|
+
# The current number of launch configurations for your account.
|
1898
1901
|
# @return [Integer]
|
1899
1902
|
#
|
1900
1903
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimitsAnswer AWS API Documentation
|
@@ -1930,10 +1933,11 @@ module Aws::AutoScaling
|
|
1930
1933
|
# }
|
1931
1934
|
#
|
1932
1935
|
# @!attribute [rw] instance_ids
|
1933
|
-
# The IDs of the instances.
|
1934
|
-
#
|
1935
|
-
#
|
1936
|
-
#
|
1936
|
+
# The IDs of the instances. If you omit this parameter, all Auto
|
1937
|
+
# Scaling instances are described. If you specify an ID that does not
|
1938
|
+
# exist, it is ignored with no error.
|
1939
|
+
#
|
1940
|
+
# Array Members: Maximum number of 50 items.
|
1937
1941
|
# @return [Array<String>]
|
1938
1942
|
#
|
1939
1943
|
# @!attribute [rw] max_records
|
@@ -2275,8 +2279,10 @@ module Aws::AutoScaling
|
|
2275
2279
|
# @!attribute [rw] policy_names
|
2276
2280
|
# The names of one or more policies. If you omit this parameter, all
|
2277
2281
|
# policies are described. If a group name is provided, the results are
|
2278
|
-
# limited to that group.
|
2279
|
-
#
|
2282
|
+
# limited to that group. If you specify an unknown policy name, it is
|
2283
|
+
# ignored with no error.
|
2284
|
+
#
|
2285
|
+
# Array Members: Maximum number of 50 items.
|
2280
2286
|
# @return [Array<String>]
|
2281
2287
|
#
|
2282
2288
|
# @!attribute [rw] policy_types
|
@@ -2318,11 +2324,13 @@ module Aws::AutoScaling
|
|
2318
2324
|
# }
|
2319
2325
|
#
|
2320
2326
|
# @!attribute [rw] activity_ids
|
2321
|
-
# The activity IDs of the desired scaling activities.
|
2322
|
-
#
|
2323
|
-
#
|
2324
|
-
#
|
2325
|
-
# group
|
2327
|
+
# The activity IDs of the desired scaling activities. If you omit this
|
2328
|
+
# parameter, all activities for the past six weeks are described. If
|
2329
|
+
# unknown activities are requested, they are ignored with no error. If
|
2330
|
+
# you specify an Auto Scaling group, the results are limited to that
|
2331
|
+
# group.
|
2332
|
+
#
|
2333
|
+
# Array Members: Maximum number of 50 IDs.
|
2326
2334
|
# @return [Array<String>]
|
2327
2335
|
#
|
2328
2336
|
# @!attribute [rw] auto_scaling_group_name
|
@@ -2373,10 +2381,11 @@ module Aws::AutoScaling
|
|
2373
2381
|
# @return [String]
|
2374
2382
|
#
|
2375
2383
|
# @!attribute [rw] scheduled_action_names
|
2376
|
-
# The names of one or more scheduled actions.
|
2377
|
-
#
|
2378
|
-
#
|
2379
|
-
#
|
2384
|
+
# The names of one or more scheduled actions. If you omit this
|
2385
|
+
# parameter, all scheduled actions are described. If you specify an
|
2386
|
+
# unknown scheduled action, it is ignored with no error.
|
2387
|
+
#
|
2388
|
+
# Array Members: Maximum number of 50 actions.
|
2380
2389
|
# @return [Array<String>]
|
2381
2390
|
#
|
2382
2391
|
# @!attribute [rw] start_time
|
@@ -2708,6 +2717,7 @@ module Aws::AutoScaling
|
|
2708
2717
|
# delete_on_termination: false,
|
2709
2718
|
# iops: 1,
|
2710
2719
|
# encrypted: false,
|
2720
|
+
# throughput: 1,
|
2711
2721
|
# }
|
2712
2722
|
#
|
2713
2723
|
# @!attribute [rw] snapshot_id
|
@@ -2717,29 +2727,28 @@ module Aws::AutoScaling
|
|
2717
2727
|
# @return [String]
|
2718
2728
|
#
|
2719
2729
|
# @!attribute [rw] volume_size
|
2720
|
-
# The volume size, in
|
2730
|
+
# The volume size, in GiBs. The following are the supported volumes
|
2731
|
+
# sizes for each volume type:
|
2732
|
+
#
|
2733
|
+
# * `gp2` and `gp3`\: 1-16,384
|
2721
2734
|
#
|
2722
|
-
#
|
2723
|
-
# `io1`, 1-16,384 for `gp2`, and 500-16,384 for `st1` and `sc1`. If
|
2724
|
-
# you specify a snapshot, the volume size must be equal to or larger
|
2725
|
-
# than the snapshot size.
|
2735
|
+
# * `io1`\: 4-16,384
|
2726
2736
|
#
|
2727
|
-
#
|
2728
|
-
# specify a volume size, the default is the snapshot size.
|
2737
|
+
# * `st1` and `sc1`\: 125-16,384
|
2729
2738
|
#
|
2730
|
-
#
|
2739
|
+
# * `standard`\: 1-1,024
|
2740
|
+
#
|
2741
|
+
# You must specify either a `SnapshotId` or a `VolumeSize`. If you
|
2731
2742
|
# specify both `SnapshotId` and `VolumeSize`, the volume size must be
|
2732
2743
|
# equal or greater than the size of the snapshot.
|
2733
2744
|
# @return [Integer]
|
2734
2745
|
#
|
2735
2746
|
# @!attribute [rw] volume_type
|
2736
|
-
# The volume type
|
2737
|
-
#
|
2738
|
-
# Throughput Optimized HDD, or `sc1` for Cold HDD. For more
|
2739
|
-
# information, see [Amazon EBS Volume Types][1] in the *Amazon EC2
|
2740
|
-
# User Guide for Linux Instances*.
|
2747
|
+
# The volume type. For more information, see [Amazon EBS Volume
|
2748
|
+
# Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
2741
2749
|
#
|
2742
|
-
# Valid Values: `standard` \| `io1` \| `gp2` \| `st1` \| `sc1`
|
2750
|
+
# Valid Values: `standard` \| `io1` \| `gp2` \| `st1` \| `sc1` \|
|
2751
|
+
# `gp3`
|
2743
2752
|
#
|
2744
2753
|
#
|
2745
2754
|
#
|
@@ -2752,17 +2761,30 @@ module Aws::AutoScaling
|
|
2752
2761
|
# @return [Boolean]
|
2753
2762
|
#
|
2754
2763
|
# @!attribute [rw] iops
|
2755
|
-
# The number of I/O operations per second (IOPS) to
|
2756
|
-
#
|
2757
|
-
#
|
2758
|
-
#
|
2764
|
+
# The number of input/output (I/O) operations per second (IOPS) to
|
2765
|
+
# provision for the volume. For `gp3` and `io1` volumes, this
|
2766
|
+
# represents the number of IOPS that are provisioned for the volume.
|
2767
|
+
# For `gp2` volumes, this represents the baseline performance of the
|
2768
|
+
# volume and the rate at which the volume accumulates I/O credits for
|
2769
|
+
# bursting.
|
2759
2770
|
#
|
2760
|
-
#
|
2761
|
-
# `gp2`, `st1`, or `sc1` volumes.)
|
2771
|
+
# The following are the supported values for each volume type:
|
2762
2772
|
#
|
2773
|
+
# * `gp3`\: 3,000-16,000 IOPS
|
2763
2774
|
#
|
2775
|
+
# * `io1`\: 100-64,000 IOPS
|
2764
2776
|
#
|
2765
|
-
# [
|
2777
|
+
# For `io1` volumes, we guarantee 64,000 IOPS only for [Instances
|
2778
|
+
# built on the Nitro System][1]. Other instance families guarantee
|
2779
|
+
# performance up to 32,000 IOPS.
|
2780
|
+
#
|
2781
|
+
# `Iops` is supported when the volume type is `gp3` or `io1` and
|
2782
|
+
# required only when the volume type is `io1`. (Not used with
|
2783
|
+
# `standard`, `gp2`, `st1`, or `sc1` volumes.)
|
2784
|
+
#
|
2785
|
+
#
|
2786
|
+
#
|
2787
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
2766
2788
|
# @return [Integer]
|
2767
2789
|
#
|
2768
2790
|
# @!attribute [rw] encrypted
|
@@ -2802,6 +2824,12 @@ module Aws::AutoScaling
|
|
2802
2824
|
# [4]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/key-policy-requirements-EBS-encryption.html
|
2803
2825
|
# @return [Boolean]
|
2804
2826
|
#
|
2827
|
+
# @!attribute [rw] throughput
|
2828
|
+
# The throughput to provision for a `gp3` volume.
|
2829
|
+
#
|
2830
|
+
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
2831
|
+
# @return [Integer]
|
2832
|
+
#
|
2805
2833
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Ebs AWS API Documentation
|
2806
2834
|
#
|
2807
2835
|
class Ebs < Struct.new(
|
@@ -2810,7 +2838,8 @@ module Aws::AutoScaling
|
|
2810
2838
|
:volume_type,
|
2811
2839
|
:delete_on_termination,
|
2812
2840
|
:iops,
|
2813
|
-
:encrypted
|
2841
|
+
:encrypted,
|
2842
|
+
:throughput)
|
2814
2843
|
SENSITIVE = []
|
2815
2844
|
include Aws::Structure
|
2816
2845
|
end
|
@@ -3922,6 +3951,8 @@ module Aws::AutoScaling
|
|
3922
3951
|
# @!attribute [rw] launch_configuration_names
|
3923
3952
|
# The launch configuration names. If you omit this parameter, all
|
3924
3953
|
# launch configurations are described.
|
3954
|
+
#
|
3955
|
+
# Array Members: Maximum number of 50 items.
|
3925
3956
|
# @return [Array<String>]
|
3926
3957
|
#
|
3927
3958
|
# @!attribute [rw] next_token
|
@@ -4381,17 +4412,6 @@ module Aws::AutoScaling
|
|
4381
4412
|
|
4382
4413
|
# Describes the state of a Classic Load Balancer.
|
4383
4414
|
#
|
4384
|
-
# If you specify a load balancer when creating the Auto Scaling group,
|
4385
|
-
# the state of the load balancer is `InService`.
|
4386
|
-
#
|
4387
|
-
# If you attach a load balancer to an existing Auto Scaling group, the
|
4388
|
-
# initial state is `Adding`. The state transitions to `Added` after all
|
4389
|
-
# instances in the group are registered with the load balancer. If
|
4390
|
-
# Elastic Load Balancing health checks are enabled for the load
|
4391
|
-
# balancer, the state transitions to `InService` after at least one
|
4392
|
-
# instance in the group passes the health check. If EC2 health checks
|
4393
|
-
# are enabled instead, the load balancer remains in the `Added` state.
|
4394
|
-
#
|
4395
4415
|
# @!attribute [rw] load_balancer_name
|
4396
4416
|
# The name of the load balancer.
|
4397
4417
|
# @return [String]
|
@@ -4399,21 +4419,21 @@ module Aws::AutoScaling
|
|
4399
4419
|
# @!attribute [rw] state
|
4400
4420
|
# One of the following load balancer states:
|
4401
4421
|
#
|
4402
|
-
# * `Adding` - The
|
4422
|
+
# * `Adding` - The Auto Scaling instances are being registered with
|
4403
4423
|
# the load balancer.
|
4404
4424
|
#
|
4405
|
-
# * `Added` - All
|
4425
|
+
# * `Added` - All Auto Scaling instances are registered with the load
|
4406
4426
|
# balancer.
|
4407
4427
|
#
|
4408
|
-
# * `InService` - At least one
|
4428
|
+
# * `InService` - At least one Auto Scaling instance passed an `ELB`
|
4409
4429
|
# health check.
|
4410
4430
|
#
|
4411
|
-
# * `Removing` - The
|
4431
|
+
# * `Removing` - The Auto Scaling instances are being deregistered
|
4412
4432
|
# from the load balancer. If connection draining is enabled, Elastic
|
4413
4433
|
# Load Balancing waits for in-flight requests to complete before
|
4414
4434
|
# deregistering the instances.
|
4415
4435
|
#
|
4416
|
-
# * `Removed` - All
|
4436
|
+
# * `Removed` - All Auto Scaling instances are deregistered from the
|
4417
4437
|
# load balancer.
|
4418
4438
|
# @return [String]
|
4419
4439
|
#
|
@@ -4428,14 +4448,6 @@ module Aws::AutoScaling
|
|
4428
4448
|
|
4429
4449
|
# Describes the state of a target group.
|
4430
4450
|
#
|
4431
|
-
# If you attach a target group to an existing Auto Scaling group, the
|
4432
|
-
# initial state is `Adding`. The state transitions to `Added` after all
|
4433
|
-
# Auto Scaling instances are registered with the target group. If
|
4434
|
-
# Elastic Load Balancing health checks are enabled, the state
|
4435
|
-
# transitions to `InService` after at least one Auto Scaling instance
|
4436
|
-
# passes the health check. If EC2 health checks are enabled instead, the
|
4437
|
-
# target group remains in the `Added` state.
|
4438
|
-
#
|
4439
4451
|
# @!attribute [rw] load_balancer_target_group_arn
|
4440
4452
|
# The Amazon Resource Name (ARN) of the target group.
|
4441
4453
|
# @return [String]
|
@@ -4449,7 +4461,7 @@ module Aws::AutoScaling
|
|
4449
4461
|
# * `Added` - All Auto Scaling instances are registered with the
|
4450
4462
|
# target group.
|
4451
4463
|
#
|
4452
|
-
# * `InService` - At least one Auto Scaling instance passed an ELB
|
4464
|
+
# * `InService` - At least one Auto Scaling instance passed an `ELB`
|
4453
4465
|
# health check.
|
4454
4466
|
#
|
4455
4467
|
# * `Removing` - The Auto Scaling instances are being deregistered
|
@@ -6610,7 +6622,7 @@ module Aws::AutoScaling
|
|
6610
6622
|
# }
|
6611
6623
|
#
|
6612
6624
|
# @!attribute [rw] resource_id
|
6613
|
-
# The name of the group.
|
6625
|
+
# The name of the Auto Scaling group.
|
6614
6626
|
# @return [String]
|
6615
6627
|
#
|
6616
6628
|
# @!attribute [rw] resource_type
|
@@ -6913,9 +6925,9 @@ module Aws::AutoScaling
|
|
6913
6925
|
#
|
6914
6926
|
# @!attribute [rw] health_check_type
|
6915
6927
|
# The service to use for the health checks. The valid values are `EC2`
|
6916
|
-
# and `ELB`. If you configure an Auto Scaling group to use ELB
|
6917
|
-
# checks, it considers the instance unhealthy if it fails
|
6918
|
-
# EC2 status checks or the load balancer health checks.
|
6928
|
+
# and `ELB`. If you configure an Auto Scaling group to use `ELB`
|
6929
|
+
# health checks, it considers the instance unhealthy if it fails
|
6930
|
+
# either the EC2 status checks or the load balancer health checks.
|
6919
6931
|
# @return [String]
|
6920
6932
|
#
|
6921
6933
|
# @!attribute [rw] health_check_grace_period
|
@@ -6978,9 +6990,9 @@ module Aws::AutoScaling
|
|
6978
6990
|
#
|
6979
6991
|
# @!attribute [rw] service_linked_role_arn
|
6980
6992
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
6981
|
-
# Auto Scaling group uses to call other
|
6982
|
-
# For more information, see [Service-linked roles][1] in the
|
6983
|
-
# EC2 Auto Scaling User Guide*.
|
6993
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
6994
|
+
# behalf. For more information, see [Service-linked roles][1] in the
|
6995
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
6984
6996
|
#
|
6985
6997
|
#
|
6986
6998
|
#
|
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
|
+
version: 1.62.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: 2021-
|
11
|
+
date: 2021-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|