aws-sdk-autoscaling 1.61.0 → 1.65.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +32 -17
- data/lib/aws-sdk-autoscaling/client.rb +182 -68
- data/lib/aws-sdk-autoscaling/client_api.rb +6 -0
- data/lib/aws-sdk-autoscaling/load_balancer.rb +5 -5
- data/lib/aws-sdk-autoscaling/resource.rb +32 -19
- data/lib/aws-sdk-autoscaling/types.rb +144 -114
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3092901b216e6cd877b639c47dda76d58315e677b618e98ed1671da6fb1afbd
|
4
|
+
data.tar.gz: d8fe24366da1b8727911fa38ad5a13ce034969f8bb0938424386284f5a6bffef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fc4e3942db9d4d21c079c7f3930910415873a5ba8e94b40e9de01bcca7d89de76763066b3f3a401832733bc902fbdaa771b6bb52374822cc2399712edb10338
|
7
|
+
data.tar.gz: a40bb2506cd80f58fd39af33e4972a505c743baea7042a2dcc78310c451add0eb6413eb1677971d4192fa43f8633c58bab14f5bf5d566347a4ad7b487ba5fbd0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.65.0 (2021-07-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.64.0 (2021-06-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon EC2 Auto Scaling infrastructure improvements and optimizations.
|
13
|
+
|
14
|
+
1.63.0 (2021-06-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for Amazon EC2 Auto Scaling
|
18
|
+
|
19
|
+
1.62.0 (2021-06-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - You can now launch EC2 instances with GP3 volumes when using Auto Scaling groups with Launch Configurations
|
23
|
+
|
4
24
|
1.61.0 (2021-05-19)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.65.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]
|
@@ -211,6 +212,12 @@ module Aws::AutoScaling
|
|
211
212
|
data[:warm_pool_size]
|
212
213
|
end
|
213
214
|
|
215
|
+
# Reserved.
|
216
|
+
# @return [String]
|
217
|
+
def context
|
218
|
+
data[:context]
|
219
|
+
end
|
220
|
+
|
214
221
|
# @!endgroup
|
215
222
|
|
216
223
|
# @return [Client]
|
@@ -1030,6 +1037,7 @@ module Aws::AutoScaling
|
|
1030
1037
|
# service_linked_role_arn: "ResourceName",
|
1031
1038
|
# max_instance_lifetime: 1,
|
1032
1039
|
# capacity_rebalance: false,
|
1040
|
+
# context: "Context",
|
1033
1041
|
# })
|
1034
1042
|
# @param [Hash] options ({})
|
1035
1043
|
# @option options [String] :launch_configuration_name
|
@@ -1084,7 +1092,7 @@ module Aws::AutoScaling
|
|
1084
1092
|
# One or more Availability Zones for the group.
|
1085
1093
|
# @option options [String] :health_check_type
|
1086
1094
|
# 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
|
1095
|
+
# and `ELB`. If you configure an Auto Scaling group to use `ELB` health
|
1088
1096
|
# checks, it considers the instance unhealthy if it fails either the EC2
|
1089
1097
|
# status checks or the load balancer health checks.
|
1090
1098
|
# @option options [Integer] :health_check_grace_period
|
@@ -1137,9 +1145,9 @@ module Aws::AutoScaling
|
|
1137
1145
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
1138
1146
|
# @option options [String] :service_linked_role_arn
|
1139
1147
|
# 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*.
|
1148
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
1149
|
+
# behalf. For more information, see [Service-linked roles][1] in the
|
1150
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1143
1151
|
#
|
1144
1152
|
#
|
1145
1153
|
#
|
@@ -1163,6 +1171,8 @@ module Aws::AutoScaling
|
|
1163
1171
|
#
|
1164
1172
|
#
|
1165
1173
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
|
1174
|
+
# @option options [String] :context
|
1175
|
+
# Reserved.
|
1166
1176
|
# @return [AutoScalingGroup]
|
1167
1177
|
def update(options = {})
|
1168
1178
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -1183,11 +1193,13 @@ module Aws::AutoScaling
|
|
1183
1193
|
# })
|
1184
1194
|
# @param [Hash] options ({})
|
1185
1195
|
# @option options [Array<String>] :activity_ids
|
1186
|
-
# The activity IDs of the desired scaling activities.
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
#
|
1190
|
-
#
|
1196
|
+
# The activity IDs of the desired scaling activities. If you omit this
|
1197
|
+
# parameter, all activities for the past six weeks are described. If
|
1198
|
+
# unknown activities are requested, they are ignored with no error. If
|
1199
|
+
# you specify an Auto Scaling group, the results are limited to that
|
1200
|
+
# group.
|
1201
|
+
#
|
1202
|
+
# Array Members: Maximum number of 50 IDs.
|
1191
1203
|
# @option options [Boolean] :include_deleted_groups
|
1192
1204
|
# Indicates whether to include scaling activity from deleted Auto
|
1193
1205
|
# Scaling groups.
|
@@ -1353,8 +1365,10 @@ module Aws::AutoScaling
|
|
1353
1365
|
# @option options [Array<String>] :policy_names
|
1354
1366
|
# The names of one or more policies. If you omit this parameter, all
|
1355
1367
|
# policies are described. If a group name is provided, the results are
|
1356
|
-
# limited to that group.
|
1357
|
-
#
|
1368
|
+
# limited to that group. If you specify an unknown policy name, it is
|
1369
|
+
# ignored with no error.
|
1370
|
+
#
|
1371
|
+
# Array Members: Maximum number of 50 items.
|
1358
1372
|
# @option options [Array<String>] :policy_types
|
1359
1373
|
# One or more policy types. The valid values are `SimpleScaling`,
|
1360
1374
|
# `StepScaling`, `TargetTrackingScaling`, and `PredictiveScaling`.
|
@@ -1387,10 +1401,11 @@ module Aws::AutoScaling
|
|
1387
1401
|
# })
|
1388
1402
|
# @param [Hash] options ({})
|
1389
1403
|
# @option options [Array<String>] :scheduled_action_names
|
1390
|
-
# The names of one or more scheduled actions.
|
1391
|
-
#
|
1392
|
-
#
|
1393
|
-
#
|
1404
|
+
# The names of one or more scheduled actions. If you omit this
|
1405
|
+
# parameter, all scheduled actions are described. If you specify an
|
1406
|
+
# unknown scheduled action, it is ignored with no error.
|
1407
|
+
#
|
1408
|
+
# Array Members: Maximum number of 50 actions.
|
1394
1409
|
# @option options [Time,DateTime,Date,Integer,String] :start_time
|
1395
1410
|
# The earliest scheduled start time to return. If scheduled action names
|
1396
1411
|
# 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
|
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
|
#
|
@@ -1007,6 +1008,9 @@ module Aws::AutoScaling
|
|
1007
1008
|
#
|
1008
1009
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
|
1009
1010
|
#
|
1011
|
+
# @option params [String] :context
|
1012
|
+
# Reserved.
|
1013
|
+
#
|
1010
1014
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1011
1015
|
#
|
1012
1016
|
#
|
@@ -1162,6 +1166,7 @@ module Aws::AutoScaling
|
|
1162
1166
|
# ],
|
1163
1167
|
# service_linked_role_arn: "ResourceName",
|
1164
1168
|
# max_instance_lifetime: 1,
|
1169
|
+
# context: "Context",
|
1165
1170
|
# })
|
1166
1171
|
#
|
1167
1172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
|
@@ -1475,6 +1480,7 @@ module Aws::AutoScaling
|
|
1475
1480
|
# delete_on_termination: false,
|
1476
1481
|
# iops: 1,
|
1477
1482
|
# encrypted: false,
|
1483
|
+
# throughput: 1,
|
1478
1484
|
# },
|
1479
1485
|
# no_device: false,
|
1480
1486
|
# },
|
@@ -1874,6 +1880,13 @@ module Aws::AutoScaling
|
|
1874
1880
|
|
1875
1881
|
# Deletes the warm pool for the specified Auto Scaling group.
|
1876
1882
|
#
|
1883
|
+
# For more information, see [Warm pools for Amazon EC2 Auto Scaling][1]
|
1884
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
1885
|
+
#
|
1886
|
+
#
|
1887
|
+
#
|
1888
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html
|
1889
|
+
#
|
1877
1890
|
# @option params [required, String] :auto_scaling_group_name
|
1878
1891
|
# The name of the Auto Scaling group.
|
1879
1892
|
#
|
@@ -1902,11 +1915,13 @@ module Aws::AutoScaling
|
|
1902
1915
|
end
|
1903
1916
|
|
1904
1917
|
# Describes the current Amazon EC2 Auto Scaling resource quotas for your
|
1905
|
-
#
|
1918
|
+
# account.
|
1906
1919
|
#
|
1907
|
-
#
|
1908
|
-
#
|
1909
|
-
#
|
1920
|
+
# When you establish an account, the account has initial quotas on the
|
1921
|
+
# maximum number of Auto Scaling groups and launch configurations that
|
1922
|
+
# you can create in a given Region. For more information, see [Amazon
|
1923
|
+
# EC2 Auto Scaling service quotas][1] in the *Amazon EC2 Auto Scaling
|
1924
|
+
# User Guide*.
|
1910
1925
|
#
|
1911
1926
|
#
|
1912
1927
|
#
|
@@ -1951,18 +1966,16 @@ module Aws::AutoScaling
|
|
1951
1966
|
req.send_request(options)
|
1952
1967
|
end
|
1953
1968
|
|
1954
|
-
# Describes the available adjustment types for
|
1955
|
-
# scaling policies.
|
1956
|
-
# simple scaling policies; they do not apply to target tracking scaling
|
1957
|
-
# policies.
|
1969
|
+
# Describes the available adjustment types for step scaling and simple
|
1970
|
+
# scaling policies.
|
1958
1971
|
#
|
1959
1972
|
# The following adjustment types are supported:
|
1960
1973
|
#
|
1961
|
-
# * ChangeInCapacity
|
1974
|
+
# * `ChangeInCapacity`
|
1962
1975
|
#
|
1963
|
-
# * ExactCapacity
|
1976
|
+
# * `ExactCapacity`
|
1964
1977
|
#
|
1965
|
-
# * PercentChangeInCapacity
|
1978
|
+
# * `PercentChangeInCapacity`
|
1966
1979
|
#
|
1967
1980
|
# @return [Types::DescribeAdjustmentTypesAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1968
1981
|
#
|
@@ -2005,7 +2018,8 @@ module Aws::AutoScaling
|
|
2005
2018
|
req.send_request(options)
|
2006
2019
|
end
|
2007
2020
|
|
2008
|
-
#
|
2021
|
+
# Gets information about the Auto Scaling groups in the account and
|
2022
|
+
# Region.
|
2009
2023
|
#
|
2010
2024
|
# This operation returns information about instances in Auto Scaling
|
2011
2025
|
# groups. To retrieve information about the instances in a warm pool,
|
@@ -2172,6 +2186,7 @@ module Aws::AutoScaling
|
|
2172
2186
|
# resp.auto_scaling_groups[0].warm_pool_configuration.pool_state #=> String, one of "Stopped", "Running"
|
2173
2187
|
# resp.auto_scaling_groups[0].warm_pool_configuration.status #=> String, one of "PendingDelete"
|
2174
2188
|
# resp.auto_scaling_groups[0].warm_pool_size #=> Integer
|
2189
|
+
# resp.auto_scaling_groups[0].context #=> String
|
2175
2190
|
# resp.next_token #=> String
|
2176
2191
|
#
|
2177
2192
|
#
|
@@ -2190,12 +2205,15 @@ module Aws::AutoScaling
|
|
2190
2205
|
req.send_request(options)
|
2191
2206
|
end
|
2192
2207
|
|
2193
|
-
#
|
2208
|
+
# Gets information about the Auto Scaling instances in the account and
|
2209
|
+
# Region.
|
2194
2210
|
#
|
2195
2211
|
# @option params [Array<String>] :instance_ids
|
2196
|
-
# The IDs of the instances.
|
2197
|
-
#
|
2198
|
-
#
|
2212
|
+
# The IDs of the instances. If you omit this parameter, all Auto Scaling
|
2213
|
+
# instances are described. If you specify an ID that does not exist, it
|
2214
|
+
# is ignored with no error.
|
2215
|
+
#
|
2216
|
+
# Array Members: Maximum number of 50 items.
|
2199
2217
|
#
|
2200
2218
|
# @option params [Integer] :max_records
|
2201
2219
|
# The maximum number of items to return with this call. The default
|
@@ -2312,10 +2330,20 @@ module Aws::AutoScaling
|
|
2312
2330
|
req.send_request(options)
|
2313
2331
|
end
|
2314
2332
|
|
2315
|
-
#
|
2333
|
+
# Gets information about the instance refreshes for the specified Auto
|
2334
|
+
# Scaling group.
|
2316
2335
|
#
|
2317
|
-
#
|
2318
|
-
#
|
2336
|
+
# This operation is part of the [instance refresh feature][1] in Amazon
|
2337
|
+
# EC2 Auto Scaling, which helps you update instances in your Auto
|
2338
|
+
# Scaling group after you make configuration changes.
|
2339
|
+
#
|
2340
|
+
# To help you determine the status of an instance refresh, this
|
2341
|
+
# operation returns information about the instance refreshes you
|
2342
|
+
# previously initiated, including their status, end time, the percentage
|
2343
|
+
# of the instance refresh that is complete, and the number of instances
|
2344
|
+
# remaining to update before the instance refresh is complete.
|
2345
|
+
#
|
2346
|
+
# The following are the possible statuses:
|
2319
2347
|
#
|
2320
2348
|
# * `Pending` - The request was created, but the operation has not
|
2321
2349
|
# started.
|
@@ -2333,9 +2361,6 @@ module Aws::AutoScaling
|
|
2333
2361
|
#
|
2334
2362
|
# * `Cancelled` - The operation is cancelled.
|
2335
2363
|
#
|
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
2364
|
#
|
2340
2365
|
#
|
2341
2366
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html
|
@@ -2426,12 +2451,15 @@ module Aws::AutoScaling
|
|
2426
2451
|
req.send_request(options)
|
2427
2452
|
end
|
2428
2453
|
|
2429
|
-
#
|
2454
|
+
# Gets information about the launch configurations in the account and
|
2455
|
+
# Region.
|
2430
2456
|
#
|
2431
2457
|
# @option params [Array<String>] :launch_configuration_names
|
2432
2458
|
# The launch configuration names. If you omit this parameter, all launch
|
2433
2459
|
# configurations are described.
|
2434
2460
|
#
|
2461
|
+
# Array Members: Maximum number of 50 items.
|
2462
|
+
#
|
2435
2463
|
# @option params [String] :next_token
|
2436
2464
|
# The token for the next set of items to return. (You received this
|
2437
2465
|
# token from a previous call.)
|
@@ -2514,6 +2542,7 @@ module Aws::AutoScaling
|
|
2514
2542
|
# resp.launch_configurations[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
|
2515
2543
|
# resp.launch_configurations[0].block_device_mappings[0].ebs.iops #=> Integer
|
2516
2544
|
# resp.launch_configurations[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
2545
|
+
# resp.launch_configurations[0].block_device_mappings[0].ebs.throughput #=> Integer
|
2517
2546
|
# resp.launch_configurations[0].block_device_mappings[0].no_device #=> Boolean
|
2518
2547
|
# resp.launch_configurations[0].instance_monitoring.enabled #=> Boolean
|
2519
2548
|
# resp.launch_configurations[0].spot_price #=> String
|
@@ -2540,9 +2569,9 @@ module Aws::AutoScaling
|
|
2540
2569
|
#
|
2541
2570
|
# The following hook types are supported:
|
2542
2571
|
#
|
2543
|
-
# * autoscaling:
|
2572
|
+
# * `autoscaling:EC2_INSTANCE_LAUNCHING`
|
2544
2573
|
#
|
2545
|
-
# * autoscaling:
|
2574
|
+
# * `autoscaling:EC2_INSTANCE_TERMINATING`
|
2546
2575
|
#
|
2547
2576
|
# @return [Types::DescribeLifecycleHookTypesAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2548
2577
|
#
|
@@ -2578,7 +2607,8 @@ module Aws::AutoScaling
|
|
2578
2607
|
req.send_request(options)
|
2579
2608
|
end
|
2580
2609
|
|
2581
|
-
#
|
2610
|
+
# Gets information about the lifecycle hooks for the specified Auto
|
2611
|
+
# Scaling group.
|
2582
2612
|
#
|
2583
2613
|
# @option params [required, String] :auto_scaling_group_name
|
2584
2614
|
# The name of the Auto Scaling group.
|
@@ -2645,7 +2675,36 @@ module Aws::AutoScaling
|
|
2645
2675
|
req.send_request(options)
|
2646
2676
|
end
|
2647
2677
|
|
2648
|
-
#
|
2678
|
+
# Gets information about the load balancer target groups for the
|
2679
|
+
# specified Auto Scaling group.
|
2680
|
+
#
|
2681
|
+
# To determine the availability of registered instances, use the `State`
|
2682
|
+
# element in the response. When you attach a target group to an Auto
|
2683
|
+
# Scaling group, the initial `State` value is `Adding`. The state
|
2684
|
+
# transitions to `Added` after all Auto Scaling instances are registered
|
2685
|
+
# with the target group. If Elastic Load Balancing health checks are
|
2686
|
+
# enabled for the Auto Scaling group, the state transitions to
|
2687
|
+
# `InService` after at least one Auto Scaling instance passes the health
|
2688
|
+
# check. When the target group is in the `InService` state, Amazon EC2
|
2689
|
+
# Auto Scaling can terminate and replace any instances that are reported
|
2690
|
+
# as unhealthy. If no registered instances pass the health checks, the
|
2691
|
+
# target group doesn't enter the `InService` state.
|
2692
|
+
#
|
2693
|
+
# Target groups also have an `InService` state if you attach them in the
|
2694
|
+
# CreateAutoScalingGroup API call. If your target group state is
|
2695
|
+
# `InService`, but it is not working properly, check the scaling
|
2696
|
+
# activities by calling DescribeScalingActivities and take any
|
2697
|
+
# corrective actions necessary.
|
2698
|
+
#
|
2699
|
+
# For help with failed health checks, see [Troubleshooting Amazon EC2
|
2700
|
+
# Auto Scaling: Health checks][1] in the *Amazon EC2 Auto Scaling User
|
2701
|
+
# Guide*. For more information, see [Elastic Load Balancing and Amazon
|
2702
|
+
# EC2 Auto Scaling][2] in the *Amazon EC2 Auto Scaling User Guide*.
|
2703
|
+
#
|
2704
|
+
#
|
2705
|
+
#
|
2706
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html
|
2707
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
|
2649
2708
|
#
|
2650
2709
|
# @option params [required, String] :auto_scaling_group_name
|
2651
2710
|
# The name of the Auto Scaling group.
|
@@ -2706,12 +2765,41 @@ module Aws::AutoScaling
|
|
2706
2765
|
req.send_request(options)
|
2707
2766
|
end
|
2708
2767
|
|
2709
|
-
#
|
2768
|
+
# Gets information about the load balancers for the specified Auto
|
2769
|
+
# Scaling group.
|
2710
2770
|
#
|
2711
2771
|
# This operation describes only Classic Load Balancers. If you have
|
2712
2772
|
# Application Load Balancers, Network Load Balancers, or Gateway Load
|
2713
2773
|
# Balancers, use the DescribeLoadBalancerTargetGroups API instead.
|
2714
2774
|
#
|
2775
|
+
# To determine the availability of registered instances, use the `State`
|
2776
|
+
# element in the response. When you attach a load balancer to an Auto
|
2777
|
+
# Scaling group, the initial `State` value is `Adding`. The state
|
2778
|
+
# transitions to `Added` after all Auto Scaling instances are registered
|
2779
|
+
# with the load balancer. If Elastic Load Balancing health checks are
|
2780
|
+
# enabled for the Auto Scaling group, the state transitions to
|
2781
|
+
# `InService` after at least one Auto Scaling instance passes the health
|
2782
|
+
# check. When the load balancer is in the `InService` state, Amazon EC2
|
2783
|
+
# Auto Scaling can terminate and replace any instances that are reported
|
2784
|
+
# as unhealthy. If no registered instances pass the health checks, the
|
2785
|
+
# load balancer doesn't enter the `InService` state.
|
2786
|
+
#
|
2787
|
+
# Load balancers also have an `InService` state if you attach them in
|
2788
|
+
# the CreateAutoScalingGroup API call. If your load balancer state is
|
2789
|
+
# `InService`, but it is not working properly, check the scaling
|
2790
|
+
# activities by calling DescribeScalingActivities and take any
|
2791
|
+
# corrective actions necessary.
|
2792
|
+
#
|
2793
|
+
# For help with failed health checks, see [Troubleshooting Amazon EC2
|
2794
|
+
# Auto Scaling: Health checks][1] in the *Amazon EC2 Auto Scaling User
|
2795
|
+
# Guide*. For more information, see [Elastic Load Balancing and Amazon
|
2796
|
+
# EC2 Auto Scaling][2] in the *Amazon EC2 Auto Scaling User Guide*.
|
2797
|
+
#
|
2798
|
+
#
|
2799
|
+
#
|
2800
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html
|
2801
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
|
2802
|
+
#
|
2715
2803
|
# @option params [required, String] :auto_scaling_group_name
|
2716
2804
|
# The name of the Auto Scaling group.
|
2717
2805
|
#
|
@@ -2842,8 +2930,8 @@ module Aws::AutoScaling
|
|
2842
2930
|
req.send_request(options)
|
2843
2931
|
end
|
2844
2932
|
|
2845
|
-
#
|
2846
|
-
# Scaling
|
2933
|
+
# Gets information about the Amazon SNS notifications that are
|
2934
|
+
# configured for one or more Auto Scaling groups.
|
2847
2935
|
#
|
2848
2936
|
# @option params [Array<String>] :auto_scaling_group_names
|
2849
2937
|
# The name of the Auto Scaling group.
|
@@ -2915,7 +3003,7 @@ module Aws::AutoScaling
|
|
2915
3003
|
req.send_request(options)
|
2916
3004
|
end
|
2917
3005
|
|
2918
|
-
#
|
3006
|
+
# Gets information about the scaling policies in the account and Region.
|
2919
3007
|
#
|
2920
3008
|
# @option params [String] :auto_scaling_group_name
|
2921
3009
|
# The name of the Auto Scaling group.
|
@@ -2923,8 +3011,10 @@ module Aws::AutoScaling
|
|
2923
3011
|
# @option params [Array<String>] :policy_names
|
2924
3012
|
# The names of one or more policies. If you omit this parameter, all
|
2925
3013
|
# policies are described. If a group name is provided, the results are
|
2926
|
-
# limited to that group.
|
2927
|
-
#
|
3014
|
+
# limited to that group. If you specify an unknown policy name, it is
|
3015
|
+
# ignored with no error.
|
3016
|
+
#
|
3017
|
+
# Array Members: Maximum number of 50 items.
|
2928
3018
|
#
|
2929
3019
|
# @option params [Array<String>] :policy_types
|
2930
3020
|
# One or more policy types. The valid values are `SimpleScaling`,
|
@@ -3046,26 +3136,35 @@ module Aws::AutoScaling
|
|
3046
3136
|
req.send_request(options)
|
3047
3137
|
end
|
3048
3138
|
|
3049
|
-
#
|
3050
|
-
#
|
3139
|
+
# Gets information about the scaling activities in the account and
|
3140
|
+
# Region.
|
3051
3141
|
#
|
3052
|
-
#
|
3053
|
-
#
|
3054
|
-
# scaling events occur, you see scaling activity messages in the
|
3055
|
-
# **Activity history**. For more information, see [Verifying a scaling
|
3142
|
+
# When scaling events occur, you see a record of the scaling activity in
|
3143
|
+
# the scaling activities. For more information, see [Verifying a scaling
|
3056
3144
|
# activity for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
3057
3145
|
# User Guide*.
|
3058
3146
|
#
|
3147
|
+
# If the scaling event succeeds, the value of the `StatusCode` element
|
3148
|
+
# in the response is `Successful`. If an attempt to launch instances
|
3149
|
+
# failed, the `StatusCode` value is `Failed` or `Cancelled` and the
|
3150
|
+
# `StatusMessage` element in the response indicates the cause of the
|
3151
|
+
# failure. For help interpreting the `StatusMessage`, see
|
3152
|
+
# [Troubleshooting Amazon EC2 Auto Scaling][2] in the *Amazon EC2 Auto
|
3153
|
+
# Scaling User Guide*.
|
3154
|
+
#
|
3059
3155
|
#
|
3060
3156
|
#
|
3061
3157
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html
|
3158
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html
|
3062
3159
|
#
|
3063
3160
|
# @option params [Array<String>] :activity_ids
|
3064
|
-
# The activity IDs of the desired scaling activities.
|
3065
|
-
#
|
3066
|
-
#
|
3067
|
-
#
|
3068
|
-
#
|
3161
|
+
# The activity IDs of the desired scaling activities. If you omit this
|
3162
|
+
# parameter, all activities for the past six weeks are described. If
|
3163
|
+
# unknown activities are requested, they are ignored with no error. If
|
3164
|
+
# you specify an Auto Scaling group, the results are limited to that
|
3165
|
+
# group.
|
3166
|
+
#
|
3167
|
+
# Array Members: Maximum number of 50 IDs.
|
3069
3168
|
#
|
3070
3169
|
# @option params [String] :auto_scaling_group_name
|
3071
3170
|
# The name of the Auto Scaling group.
|
@@ -3210,18 +3309,21 @@ module Aws::AutoScaling
|
|
3210
3309
|
req.send_request(options)
|
3211
3310
|
end
|
3212
3311
|
|
3213
|
-
#
|
3214
|
-
#
|
3215
|
-
#
|
3312
|
+
# Gets information about the scheduled actions that haven't run or that
|
3313
|
+
# have not reached their end time.
|
3314
|
+
#
|
3315
|
+
# To describe the scaling activities for scheduled actions that have
|
3316
|
+
# already run, call the DescribeScalingActivities API.
|
3216
3317
|
#
|
3217
3318
|
# @option params [String] :auto_scaling_group_name
|
3218
3319
|
# The name of the Auto Scaling group.
|
3219
3320
|
#
|
3220
3321
|
# @option params [Array<String>] :scheduled_action_names
|
3221
|
-
# The names of one or more scheduled actions.
|
3222
|
-
#
|
3223
|
-
#
|
3224
|
-
#
|
3322
|
+
# The names of one or more scheduled actions. If you omit this
|
3323
|
+
# parameter, all scheduled actions are described. If you specify an
|
3324
|
+
# unknown scheduled action, it is ignored with no error.
|
3325
|
+
#
|
3326
|
+
# Array Members: Maximum number of 50 actions.
|
3225
3327
|
#
|
3226
3328
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
3227
3329
|
# The earliest scheduled start time to return. If scheduled action names
|
@@ -3461,7 +3563,14 @@ module Aws::AutoScaling
|
|
3461
3563
|
req.send_request(options)
|
3462
3564
|
end
|
3463
3565
|
|
3464
|
-
#
|
3566
|
+
# Gets information about a warm pool and its instances.
|
3567
|
+
#
|
3568
|
+
# For more information, see [Warm pools for Amazon EC2 Auto Scaling][1]
|
3569
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
3570
|
+
#
|
3571
|
+
#
|
3572
|
+
#
|
3573
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html
|
3465
3574
|
#
|
3466
3575
|
# @option params [required, String] :auto_scaling_group_name
|
3467
3576
|
# The name of the Auto Scaling group.
|
@@ -5257,16 +5366,17 @@ module Aws::AutoScaling
|
|
5257
5366
|
# replacement of previously launched instances in the Auto Scaling group
|
5258
5367
|
# with a new group of instances.
|
5259
5368
|
#
|
5260
|
-
#
|
5369
|
+
# This operation is part of the [instance refresh feature][1] in Amazon
|
5370
|
+
# EC2 Auto Scaling, which helps you update instances in your Auto
|
5371
|
+
# Scaling group after you make configuration changes.
|
5372
|
+
#
|
5373
|
+
# If the call succeeds, it creates a new instance refresh request with a
|
5261
5374
|
# unique ID that you can use to track its progress. To query its status,
|
5262
5375
|
# call the DescribeInstanceRefreshes API. To describe the instance
|
5263
5376
|
# refreshes that have already run, call the DescribeInstanceRefreshes
|
5264
5377
|
# API. To cancel an instance refresh operation in progress, use the
|
5265
5378
|
# CancelInstanceRefresh API.
|
5266
5379
|
#
|
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
5380
|
#
|
5271
5381
|
#
|
5272
5382
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html
|
@@ -5609,7 +5719,7 @@ module Aws::AutoScaling
|
|
5609
5719
|
#
|
5610
5720
|
# @option params [String] :health_check_type
|
5611
5721
|
# 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
|
5722
|
+
# and `ELB`. If you configure an Auto Scaling group to use `ELB` health
|
5613
5723
|
# checks, it considers the instance unhealthy if it fails either the EC2
|
5614
5724
|
# status checks or the load balancer health checks.
|
5615
5725
|
#
|
@@ -5668,9 +5778,9 @@ module Aws::AutoScaling
|
|
5668
5778
|
#
|
5669
5779
|
# @option params [String] :service_linked_role_arn
|
5670
5780
|
# 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*.
|
5781
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
5782
|
+
# behalf. For more information, see [Service-linked roles][1] in the
|
5783
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
5674
5784
|
#
|
5675
5785
|
#
|
5676
5786
|
#
|
@@ -5697,6 +5807,9 @@ module Aws::AutoScaling
|
|
5697
5807
|
#
|
5698
5808
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
|
5699
5809
|
#
|
5810
|
+
# @option params [String] :context
|
5811
|
+
# Reserved.
|
5812
|
+
#
|
5700
5813
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5701
5814
|
#
|
5702
5815
|
#
|
@@ -5780,6 +5893,7 @@ module Aws::AutoScaling
|
|
5780
5893
|
# service_linked_role_arn: "ResourceName",
|
5781
5894
|
# max_instance_lifetime: 1,
|
5782
5895
|
# capacity_rebalance: false,
|
5896
|
+
# context: "Context",
|
5783
5897
|
# })
|
5784
5898
|
#
|
5785
5899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
|
@@ -5804,7 +5918,7 @@ module Aws::AutoScaling
|
|
5804
5918
|
params: params,
|
5805
5919
|
config: config)
|
5806
5920
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
5807
|
-
context[:gem_version] = '1.
|
5921
|
+
context[:gem_version] = '1.65.0'
|
5808
5922
|
Seahorse::Client::Request.new(handlers, context)
|
5809
5923
|
end
|
5810
5924
|
|