aws-sdk-autoscaling 1.0.0.rc4 → 1.0.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +2 -2
- data/lib/aws-sdk-autoscaling/client.rb +68 -49
- data/lib/aws-sdk-autoscaling/instance.rb +2 -1
- data/lib/aws-sdk-autoscaling/resource.rb +23 -12
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +1 -1
- data/lib/aws-sdk-autoscaling/tag.rb +5 -11
- data/lib/aws-sdk-autoscaling/types.rb +50 -172
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e5e5469b5e83009fba96109d753ed78b391bdfd
|
4
|
+
data.tar.gz: b8ceba4016a29989d52aa87e53fe2364f76391cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f9f74d96769f3404a655e33594b600023f573e0dd76d0a90b61261e14212fb7069418e213b5a1478b74fafe2ffad18a0f58747a5c22df58b0c8d8251ac7f604
|
7
|
+
data.tar.gz: 74233389bb91f27ac24cc491afb77b8760a87c5940a280fbda93206bb3289143d7730dc087625b942d012f5eca43ab860679d723eea8a3c321f7ec019869ddd8
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -843,7 +843,8 @@ module Aws::AutoScaling
|
|
843
843
|
# The token for the next set of items to return. (You received this
|
844
844
|
# token from a previous call.)
|
845
845
|
# @option options [Integer] :max_records
|
846
|
-
# The maximum number of items to return with this call.
|
846
|
+
# The maximum number of items to return with this call. The default
|
847
|
+
# value is 50 and the maximum value is 100.
|
847
848
|
# @return [LoadBalancer::Collection]
|
848
849
|
def load_balancers(options = {})
|
849
850
|
batches = Enumerator.new do |y|
|
@@ -986,7 +987,6 @@ module Aws::AutoScaling
|
|
986
987
|
key: t.key,
|
987
988
|
resource_id: t.resource_id,
|
988
989
|
resource_type: t.resource_type,
|
989
|
-
data: t,
|
990
990
|
client: @client
|
991
991
|
)
|
992
992
|
end
|
@@ -153,7 +153,7 @@ module Aws::AutoScaling
|
|
153
153
|
# of instances being attached plus the desired capacity of the group
|
154
154
|
# exceeds the maximum size of the group, the operation fails.
|
155
155
|
#
|
156
|
-
# If there is a Classic
|
156
|
+
# If there is a Classic Load Balancer attached to your Auto Scaling
|
157
157
|
# group, the instances are also registered with the load balancer. If
|
158
158
|
# there are target groups attached to your Auto Scaling group, the
|
159
159
|
# instances are also registered with the target groups.
|
@@ -227,10 +227,10 @@ module Aws::AutoScaling
|
|
227
227
|
req.send_request(options)
|
228
228
|
end
|
229
229
|
|
230
|
-
# Attaches one or more Classic
|
230
|
+
# Attaches one or more Classic Load Balancers to the specified Auto
|
231
231
|
# Scaling group.
|
232
232
|
#
|
233
|
-
# To attach an Application
|
233
|
+
# To attach an Application Load Balancer instead, see
|
234
234
|
# AttachLoadBalancerTargetGroups.
|
235
235
|
#
|
236
236
|
# To describe the load balancers for an Auto Scaling group, use
|
@@ -386,7 +386,9 @@ module Aws::AutoScaling
|
|
386
386
|
# @option params [Integer] :desired_capacity
|
387
387
|
# The number of EC2 instances that should be running in the group. This
|
388
388
|
# number must be greater than or equal to the minimum size of the group
|
389
|
-
# and less than or equal to the maximum size of the group.
|
389
|
+
# and less than or equal to the maximum size of the group. If you do not
|
390
|
+
# specify a desired capacity, the default is the minimum size of the
|
391
|
+
# group.
|
390
392
|
#
|
391
393
|
# @option params [Integer] :default_cooldown
|
392
394
|
# The amount of time, in seconds, after a scaling activity completes
|
@@ -404,8 +406,8 @@ module Aws::AutoScaling
|
|
404
406
|
# optional if you specify one or more subnets.
|
405
407
|
#
|
406
408
|
# @option params [Array<String>] :load_balancer_names
|
407
|
-
# One or more Classic
|
408
|
-
#
|
409
|
+
# One or more Classic Load Balancers. To specify an Application Load
|
410
|
+
# Balancer, use `TargetGroupARNs` instead.
|
409
411
|
#
|
410
412
|
# For more information, see [Using a Load Balancer With an Auto Scaling
|
411
413
|
# Group][1] in the *Auto Scaling User Guide*.
|
@@ -554,8 +556,12 @@ module Aws::AutoScaling
|
|
554
556
|
#
|
555
557
|
# @option params [String] :image_id
|
556
558
|
# The ID of the Amazon Machine Image (AMI) to use to launch your EC2
|
557
|
-
# instances.
|
558
|
-
#
|
559
|
+
# instances.
|
560
|
+
#
|
561
|
+
# If you do not specify `InstanceId`, you must specify `ImageId`.
|
562
|
+
#
|
563
|
+
# For more information, see [Finding an AMI][1] in the *Amazon Elastic
|
564
|
+
# Compute Cloud User Guide*.
|
559
565
|
#
|
560
566
|
#
|
561
567
|
#
|
@@ -617,10 +623,12 @@ module Aws::AutoScaling
|
|
617
623
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
618
624
|
#
|
619
625
|
# @option params [String] :instance_id
|
620
|
-
# The ID of the instance to use to create the launch configuration.
|
626
|
+
# The ID of the instance to use to create the launch configuration. The
|
627
|
+
# new launch configuration derives attributes from the instance, with
|
628
|
+
# the exception of the block device mapping.
|
621
629
|
#
|
622
|
-
#
|
623
|
-
#
|
630
|
+
# If you do not specify `InstanceId`, you must specify both `ImageId`
|
631
|
+
# and `InstanceType`.
|
624
632
|
#
|
625
633
|
# To create a launch configuration with a block device mapping or
|
626
634
|
# override any other instance attributes, specify them as part of the
|
@@ -634,9 +642,12 @@ module Aws::AutoScaling
|
|
634
642
|
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/create-lc-with-instanceID.html
|
635
643
|
#
|
636
644
|
# @option params [String] :instance_type
|
637
|
-
# The instance type of the EC2 instance.
|
638
|
-
#
|
639
|
-
#
|
645
|
+
# The instance type of the EC2 instance.
|
646
|
+
#
|
647
|
+
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
648
|
+
#
|
649
|
+
# For information about available instance types, see [Available
|
650
|
+
# Instance Types][1] in the *Amazon Elastic Compute Cloud User Guide.*
|
640
651
|
#
|
641
652
|
#
|
642
653
|
#
|
@@ -659,7 +670,7 @@ module Aws::AutoScaling
|
|
659
670
|
#
|
660
671
|
# @option params [Types::InstanceMonitoring] :instance_monitoring
|
661
672
|
# Enables detailed monitoring (`true`) or basic monitoring (`false`) for
|
662
|
-
# the Auto Scaling instances.
|
673
|
+
# the Auto Scaling instances. The default is `true`.
|
663
674
|
#
|
664
675
|
# @option params [String] :spot_price
|
665
676
|
# The maximum hourly price to be paid for any Spot Instance launched to
|
@@ -1107,7 +1118,8 @@ module Aws::AutoScaling
|
|
1107
1118
|
# token from a previous call.)
|
1108
1119
|
#
|
1109
1120
|
# @option params [Integer] :max_records
|
1110
|
-
# The maximum number of items to return with this call.
|
1121
|
+
# The maximum number of items to return with this call. The default
|
1122
|
+
# value is 50 and the maximum value is 100.
|
1111
1123
|
#
|
1112
1124
|
# @return [Types::AutoScalingGroupsType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1113
1125
|
#
|
@@ -1185,7 +1197,8 @@ module Aws::AutoScaling
|
|
1185
1197
|
# ID that does not exist, it is ignored with no error.
|
1186
1198
|
#
|
1187
1199
|
# @option params [Integer] :max_records
|
1188
|
-
# The maximum number of items to return with this call.
|
1200
|
+
# The maximum number of items to return with this call. The default
|
1201
|
+
# value is 50 and the maximum value is 100.
|
1189
1202
|
#
|
1190
1203
|
# @option params [String] :next_token
|
1191
1204
|
# The token for the next set of items to return. (You received this
|
@@ -1256,8 +1269,8 @@ module Aws::AutoScaling
|
|
1256
1269
|
# token from a previous call.)
|
1257
1270
|
#
|
1258
1271
|
# @option params [Integer] :max_records
|
1259
|
-
# The maximum number of items to return with this call. The default
|
1260
|
-
# 100.
|
1272
|
+
# The maximum number of items to return with this call. The default
|
1273
|
+
# value is 50 and the maximum value is 100.
|
1261
1274
|
#
|
1262
1275
|
# @return [Types::LaunchConfigurationsType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1263
1276
|
#
|
@@ -1388,7 +1401,8 @@ module Aws::AutoScaling
|
|
1388
1401
|
# token from a previous call.)
|
1389
1402
|
#
|
1390
1403
|
# @option params [Integer] :max_records
|
1391
|
-
# The maximum number of items to return with this call.
|
1404
|
+
# The maximum number of items to return with this call. The default
|
1405
|
+
# value is 50 and the maximum value is 100.
|
1392
1406
|
#
|
1393
1407
|
# @return [Types::DescribeLoadBalancerTargetGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1394
1408
|
#
|
@@ -1421,8 +1435,8 @@ module Aws::AutoScaling
|
|
1421
1435
|
|
1422
1436
|
# Describes the load balancers for the specified Auto Scaling group.
|
1423
1437
|
#
|
1424
|
-
# Note that this operation describes only Classic
|
1425
|
-
# have Application
|
1438
|
+
# Note that this operation describes only Classic Load Balancers. If you
|
1439
|
+
# have Application Load Balancers, use DescribeLoadBalancerTargetGroups
|
1426
1440
|
# instead.
|
1427
1441
|
#
|
1428
1442
|
# @option params [required, String] :auto_scaling_group_name
|
@@ -1433,7 +1447,8 @@ module Aws::AutoScaling
|
|
1433
1447
|
# token from a previous call.)
|
1434
1448
|
#
|
1435
1449
|
# @option params [Integer] :max_records
|
1436
|
-
# The maximum number of items to return with this call.
|
1450
|
+
# The maximum number of items to return with this call. The default
|
1451
|
+
# value is 50 and the maximum value is 100.
|
1437
1452
|
#
|
1438
1453
|
# @return [Types::DescribeLoadBalancersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1439
1454
|
#
|
@@ -1502,7 +1517,8 @@ module Aws::AutoScaling
|
|
1502
1517
|
# token from a previous call.)
|
1503
1518
|
#
|
1504
1519
|
# @option params [Integer] :max_records
|
1505
|
-
# The maximum number of items to return with this call.
|
1520
|
+
# The maximum number of items to return with this call. The default
|
1521
|
+
# value is 50 and the maximum value is 100.
|
1506
1522
|
#
|
1507
1523
|
# @return [Types::DescribeNotificationConfigurationsAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1508
1524
|
#
|
@@ -1555,7 +1571,8 @@ module Aws::AutoScaling
|
|
1555
1571
|
# token from a previous call.)
|
1556
1572
|
#
|
1557
1573
|
# @option params [Integer] :max_records
|
1558
|
-
# The maximum number of items to be returned with each call.
|
1574
|
+
# The maximum number of items to be returned with each call. The default
|
1575
|
+
# value is 50 and the maximum value is 100.
|
1559
1576
|
#
|
1560
1577
|
# @return [Types::PoliciesType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1561
1578
|
#
|
@@ -1618,7 +1635,8 @@ module Aws::AutoScaling
|
|
1618
1635
|
# The name of the group.
|
1619
1636
|
#
|
1620
1637
|
# @option params [Integer] :max_records
|
1621
|
-
# The maximum number of items to return with this call.
|
1638
|
+
# The maximum number of items to return with this call. The default
|
1639
|
+
# value is 100.
|
1622
1640
|
#
|
1623
1641
|
# @option params [String] :next_token
|
1624
1642
|
# The token for the next set of items to return. (You received this
|
@@ -1712,7 +1730,8 @@ module Aws::AutoScaling
|
|
1712
1730
|
# token from a previous call.)
|
1713
1731
|
#
|
1714
1732
|
# @option params [Integer] :max_records
|
1715
|
-
# The maximum number of items to return with this call.
|
1733
|
+
# The maximum number of items to return with this call. The default
|
1734
|
+
# value is 50 and the maximum value is 100.
|
1716
1735
|
#
|
1717
1736
|
# @return [Types::ScheduledActionsType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1718
1737
|
#
|
@@ -1773,7 +1792,8 @@ module Aws::AutoScaling
|
|
1773
1792
|
# token from a previous call.)
|
1774
1793
|
#
|
1775
1794
|
# @option params [Integer] :max_records
|
1776
|
-
# The maximum number of items to return with this call.
|
1795
|
+
# The maximum number of items to return with this call. The default
|
1796
|
+
# value is 50 and the maximum value is 100.
|
1777
1797
|
#
|
1778
1798
|
# @return [Types::TagsType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1779
1799
|
#
|
@@ -1834,13 +1854,13 @@ module Aws::AutoScaling
|
|
1834
1854
|
|
1835
1855
|
# Removes one or more instances from the specified Auto Scaling group.
|
1836
1856
|
#
|
1837
|
-
# After the instances are detached, you can manage them
|
1838
|
-
#
|
1857
|
+
# After the instances are detached, you can manage them independent of
|
1858
|
+
# the Auto Scaling group.
|
1839
1859
|
#
|
1840
1860
|
# If you do not specify the option to decrement the desired capacity,
|
1841
1861
|
# Auto Scaling launches instances to replace the ones that are detached.
|
1842
1862
|
#
|
1843
|
-
# If there is a Classic
|
1863
|
+
# If there is a Classic Load Balancer attached to the Auto Scaling
|
1844
1864
|
# group, the instances are deregistered from the load balancer. If there
|
1845
1865
|
# are target groups attached to the Auto Scaling group, the instances
|
1846
1866
|
# are deregistered from the target groups.
|
@@ -1924,11 +1944,11 @@ module Aws::AutoScaling
|
|
1924
1944
|
req.send_request(options)
|
1925
1945
|
end
|
1926
1946
|
|
1927
|
-
# Detaches one or more Classic
|
1947
|
+
# Detaches one or more Classic Load Balancers from the specified Auto
|
1928
1948
|
# Scaling group.
|
1929
1949
|
#
|
1930
|
-
# Note that this operation detaches only Classic
|
1931
|
-
# have Application
|
1950
|
+
# Note that this operation detaches only Classic Load Balancers. If you
|
1951
|
+
# have Application Load Balancers, use DetachLoadBalancerTargetGroups
|
1932
1952
|
# instead.
|
1933
1953
|
#
|
1934
1954
|
# When you detach a load balancer, it enters the `Removing` state while
|
@@ -2057,14 +2077,14 @@ module Aws::AutoScaling
|
|
2057
2077
|
req.send_request(options)
|
2058
2078
|
end
|
2059
2079
|
|
2060
|
-
# Moves the specified instances into
|
2080
|
+
# Moves the specified instances into the standby state.
|
2061
2081
|
#
|
2062
|
-
# For more information, see [
|
2063
|
-
# Scaling User Guide*.
|
2082
|
+
# For more information, see [Temporarily Removing Instances from Your
|
2083
|
+
# Auto Scaling Group][1] in the *Auto Scaling User Guide*.
|
2064
2084
|
#
|
2065
2085
|
#
|
2066
2086
|
#
|
2067
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/
|
2087
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-enter-exit-standby.html
|
2068
2088
|
#
|
2069
2089
|
# @option params [Array<String>] :instance_ids
|
2070
2090
|
# One or more instances to move into `Standby` mode. You must specify at
|
@@ -2177,14 +2197,14 @@ module Aws::AutoScaling
|
|
2177
2197
|
req.send_request(options)
|
2178
2198
|
end
|
2179
2199
|
|
2180
|
-
# Moves the specified instances out of
|
2200
|
+
# Moves the specified instances out of the standby state.
|
2181
2201
|
#
|
2182
|
-
# For more information, see [
|
2183
|
-
# Scaling User Guide*.
|
2202
|
+
# For more information, see [Temporarily Removing Instances from Your
|
2203
|
+
# Auto Scaling Group][1] in the *Auto Scaling User Guide*.
|
2184
2204
|
#
|
2185
2205
|
#
|
2186
2206
|
#
|
2187
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/
|
2207
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-enter-exit-standby.html
|
2188
2208
|
#
|
2189
2209
|
# @option params [Array<String>] :instance_ids
|
2190
2210
|
# One or more instance IDs. You must specify at least one instance ID.
|
@@ -2940,17 +2960,16 @@ module Aws::AutoScaling
|
|
2940
2960
|
|
2941
2961
|
# Updates the configuration for the specified Auto Scaling group.
|
2942
2962
|
#
|
2963
|
+
# The new settings take effect on any scaling activities after this call
|
2964
|
+
# returns. Scaling activities that are currently in progress aren't
|
2965
|
+
# affected.
|
2966
|
+
#
|
2943
2967
|
# To update an Auto Scaling group with a launch configuration with
|
2944
|
-
# `InstanceMonitoring` set to `
|
2968
|
+
# `InstanceMonitoring` set to `false`, you must first disable the
|
2945
2969
|
# collection of group metrics. Otherwise, you will get an error. If you
|
2946
2970
|
# have previously enabled the collection of group metrics, you can
|
2947
2971
|
# disable it using DisableMetricsCollection.
|
2948
2972
|
#
|
2949
|
-
# The new settings are registered upon the completion of this call. Any
|
2950
|
-
# launch configuration settings take effect on any triggers after this
|
2951
|
-
# call returns. Scaling activities that are currently in progress
|
2952
|
-
# aren't affected.
|
2953
|
-
#
|
2954
2973
|
# Note the following:
|
2955
2974
|
#
|
2956
2975
|
# * If you specify a new value for `MinSize` without specifying a value
|
@@ -3094,7 +3113,7 @@ module Aws::AutoScaling
|
|
3094
3113
|
params: params,
|
3095
3114
|
config: config)
|
3096
3115
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
3097
|
-
context[:gem_version] = '1.0.0.
|
3116
|
+
context[:gem_version] = '1.0.0.rc5'
|
3098
3117
|
Seahorse::Client::Request.new(handlers, context)
|
3099
3118
|
end
|
3100
3119
|
|
@@ -66,7 +66,8 @@ module Aws::AutoScaling
|
|
66
66
|
data.health_status
|
67
67
|
end
|
68
68
|
|
69
|
-
# The launch configuration
|
69
|
+
# The launch configuration used to launch the instance. This value is
|
70
|
+
# not available if you attached the instance to the Auto Scaling group.
|
70
71
|
# @return [String]
|
71
72
|
def launch_configuration_name
|
72
73
|
data.launch_configuration_name
|
@@ -80,7 +80,9 @@ module Aws::AutoScaling
|
|
80
80
|
# @option options [Integer] :desired_capacity
|
81
81
|
# The number of EC2 instances that should be running in the group. This
|
82
82
|
# number must be greater than or equal to the minimum size of the group
|
83
|
-
# and less than or equal to the maximum size of the group.
|
83
|
+
# and less than or equal to the maximum size of the group. If you do not
|
84
|
+
# specify a desired capacity, the default is the minimum size of the
|
85
|
+
# group.
|
84
86
|
# @option options [Integer] :default_cooldown
|
85
87
|
# The amount of time, in seconds, after a scaling activity completes
|
86
88
|
# before another scaling activity can start. The default is 300.
|
@@ -95,8 +97,8 @@ module Aws::AutoScaling
|
|
95
97
|
# One or more Availability Zones for the group. This parameter is
|
96
98
|
# optional if you specify one or more subnets.
|
97
99
|
# @option options [Array<String>] :load_balancer_names
|
98
|
-
# One or more Classic
|
99
|
-
#
|
100
|
+
# One or more Classic Load Balancers. To specify an Application Load
|
101
|
+
# Balancer, use `TargetGroupARNs` instead.
|
100
102
|
#
|
101
103
|
# For more information, see [Using a Load Balancer With an Auto Scaling
|
102
104
|
# Group][1] in the *Auto Scaling User Guide*.
|
@@ -229,8 +231,12 @@ module Aws::AutoScaling
|
|
229
231
|
# the scope of your AWS account.
|
230
232
|
# @option options [String] :image_id
|
231
233
|
# The ID of the Amazon Machine Image (AMI) to use to launch your EC2
|
232
|
-
# instances.
|
233
|
-
#
|
234
|
+
# instances.
|
235
|
+
#
|
236
|
+
# If you do not specify `InstanceId`, you must specify `ImageId`.
|
237
|
+
#
|
238
|
+
# For more information, see [Finding an AMI][1] in the *Amazon Elastic
|
239
|
+
# Compute Cloud User Guide*.
|
234
240
|
#
|
235
241
|
#
|
236
242
|
#
|
@@ -286,10 +292,12 @@ module Aws::AutoScaling
|
|
286
292
|
#
|
287
293
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
288
294
|
# @option options [String] :instance_id
|
289
|
-
# The ID of the instance to use to create the launch configuration.
|
295
|
+
# The ID of the instance to use to create the launch configuration. The
|
296
|
+
# new launch configuration derives attributes from the instance, with
|
297
|
+
# the exception of the block device mapping.
|
290
298
|
#
|
291
|
-
#
|
292
|
-
#
|
299
|
+
# If you do not specify `InstanceId`, you must specify both `ImageId`
|
300
|
+
# and `InstanceType`.
|
293
301
|
#
|
294
302
|
# To create a launch configuration with a block device mapping or
|
295
303
|
# override any other instance attributes, specify them as part of the
|
@@ -302,9 +310,12 @@ module Aws::AutoScaling
|
|
302
310
|
#
|
303
311
|
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/create-lc-with-instanceID.html
|
304
312
|
# @option options [String] :instance_type
|
305
|
-
# The instance type of the EC2 instance.
|
306
|
-
#
|
307
|
-
#
|
313
|
+
# The instance type of the EC2 instance.
|
314
|
+
#
|
315
|
+
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
316
|
+
#
|
317
|
+
# For information about available instance types, see [Available
|
318
|
+
# Instance Types][1] in the *Amazon Elastic Compute Cloud User Guide.*
|
308
319
|
#
|
309
320
|
#
|
310
321
|
#
|
@@ -323,7 +334,7 @@ module Aws::AutoScaling
|
|
323
334
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
|
324
335
|
# @option options [Types::InstanceMonitoring] :instance_monitoring
|
325
336
|
# Enables detailed monitoring (`true`) or basic monitoring (`false`) for
|
326
|
-
# the Auto Scaling instances.
|
337
|
+
# the Auto Scaling instances. The default is `true`.
|
327
338
|
# @option options [String] :spot_price
|
328
339
|
# The maximum hourly price to be paid for any Spot Instance launched to
|
329
340
|
# fulfill the request. Spot Instances are launched when the price you
|
@@ -83,7 +83,7 @@ module Aws::AutoScaling
|
|
83
83
|
end
|
84
84
|
|
85
85
|
# The amount of time, in seconds, after a scaling activity completes
|
86
|
-
# before any further
|
86
|
+
# before any further dynamic scaling activities can start.
|
87
87
|
# @return [Integer]
|
88
88
|
def cooldown
|
89
89
|
data.cooldown
|
@@ -73,17 +73,11 @@ module Aws::AutoScaling
|
|
73
73
|
#
|
74
74
|
# @return [self]
|
75
75
|
def load
|
76
|
-
resp = @client.describe_tags(filters: [
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
{
|
82
|
-
name: @resource_type,
|
83
|
-
values: [@resource_id]
|
84
|
-
}
|
85
|
-
])
|
86
|
-
@data = resp.tags[0]
|
76
|
+
resp = @client.describe_tags(filters: [{
|
77
|
+
name: "key",
|
78
|
+
values: [@key]
|
79
|
+
}])
|
80
|
+
@data = resp.tags[]
|
87
81
|
self
|
88
82
|
end
|
89
83
|
alias :reload :load
|
@@ -8,8 +8,6 @@
|
|
8
8
|
module Aws::AutoScaling
|
9
9
|
module Types
|
10
10
|
|
11
|
-
# Contains the output of DescribeScalingActivities.
|
12
|
-
#
|
13
11
|
# @!attribute [rw] activities
|
14
12
|
# The scaling activities. Activities are sorted by start time.
|
15
13
|
# Activities still in progress are described first.
|
@@ -89,8 +87,6 @@ module Aws::AutoScaling
|
|
89
87
|
include Aws::Structure
|
90
88
|
end
|
91
89
|
|
92
|
-
# Contains the output of TerminateInstancesInAutoScalingGroup.
|
93
|
-
#
|
94
90
|
# @!attribute [rw] activity
|
95
91
|
# A scaling activity.
|
96
92
|
# @return [Types::Activity]
|
@@ -141,8 +137,6 @@ module Aws::AutoScaling
|
|
141
137
|
include Aws::Structure
|
142
138
|
end
|
143
139
|
|
144
|
-
# Contains the parameters for AttachInstances.
|
145
|
-
#
|
146
140
|
# @note When making an API call, you may pass AttachInstancesQuery
|
147
141
|
# data as a hash:
|
148
142
|
#
|
@@ -171,8 +165,6 @@ module Aws::AutoScaling
|
|
171
165
|
#
|
172
166
|
class AttachLoadBalancerTargetGroupsResultType < Aws::EmptyStructure; end
|
173
167
|
|
174
|
-
# Contains the parameters for AttachLoadBalancerTargetGroups.
|
175
|
-
#
|
176
168
|
# @note When making an API call, you may pass AttachLoadBalancerTargetGroupsType
|
177
169
|
# data as a hash:
|
178
170
|
#
|
@@ -197,14 +189,10 @@ module Aws::AutoScaling
|
|
197
189
|
include Aws::Structure
|
198
190
|
end
|
199
191
|
|
200
|
-
# Contains the output of AttachLoadBalancers.
|
201
|
-
#
|
202
192
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersResultType AWS API Documentation
|
203
193
|
#
|
204
194
|
class AttachLoadBalancersResultType < Aws::EmptyStructure; end
|
205
195
|
|
206
|
-
# Contains the parameters for AttachLoadBalancers.
|
207
|
-
#
|
208
196
|
# @note When making an API call, you may pass AttachLoadBalancersType
|
209
197
|
# data as a hash:
|
210
198
|
#
|
@@ -364,8 +352,6 @@ module Aws::AutoScaling
|
|
364
352
|
include Aws::Structure
|
365
353
|
end
|
366
354
|
|
367
|
-
# Contains the parameters for DescribeAutoScalingGroups.
|
368
|
-
#
|
369
355
|
# @note When making an API call, you may pass AutoScalingGroupNamesType
|
370
356
|
# data as a hash:
|
371
357
|
#
|
@@ -386,7 +372,8 @@ module Aws::AutoScaling
|
|
386
372
|
# @return [String]
|
387
373
|
#
|
388
374
|
# @!attribute [rw] max_records
|
389
|
-
# The maximum number of items to return with this call.
|
375
|
+
# The maximum number of items to return with this call. The default
|
376
|
+
# value is 50 and the maximum value is 100.
|
390
377
|
# @return [Integer]
|
391
378
|
#
|
392
379
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroupNamesType AWS API Documentation
|
@@ -398,8 +385,6 @@ module Aws::AutoScaling
|
|
398
385
|
include Aws::Structure
|
399
386
|
end
|
400
387
|
|
401
|
-
# Contains the output for DescribeAutoScalingGroups.
|
402
|
-
#
|
403
388
|
# @!attribute [rw] auto_scaling_groups
|
404
389
|
# The groups.
|
405
390
|
# @return [Array<Types::AutoScalingGroup>]
|
@@ -448,7 +433,9 @@ module Aws::AutoScaling
|
|
448
433
|
# @return [String]
|
449
434
|
#
|
450
435
|
# @!attribute [rw] launch_configuration_name
|
451
|
-
# The launch configuration
|
436
|
+
# The launch configuration used to launch the instance. This value is
|
437
|
+
# not available if you attached the instance to the Auto Scaling
|
438
|
+
# group.
|
452
439
|
# @return [String]
|
453
440
|
#
|
454
441
|
# @!attribute [rw] protected_from_scale_in
|
@@ -469,8 +456,6 @@ module Aws::AutoScaling
|
|
469
456
|
include Aws::Structure
|
470
457
|
end
|
471
458
|
|
472
|
-
# Contains the output of DescribeAutoScalingInstances.
|
473
|
-
#
|
474
459
|
# @!attribute [rw] auto_scaling_instances
|
475
460
|
# The instances.
|
476
461
|
# @return [Array<Types::AutoScalingInstanceDetails>]
|
@@ -538,14 +523,10 @@ module Aws::AutoScaling
|
|
538
523
|
include Aws::Structure
|
539
524
|
end
|
540
525
|
|
541
|
-
# Contains the output of CompleteLifecycleAction.
|
542
|
-
#
|
543
526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionAnswer AWS API Documentation
|
544
527
|
#
|
545
528
|
class CompleteLifecycleActionAnswer < Aws::EmptyStructure; end
|
546
529
|
|
547
|
-
# Contains the parameters for CompleteLifecycleAction.
|
548
|
-
#
|
549
530
|
# @note When making an API call, you may pass CompleteLifecycleActionType
|
550
531
|
# data as a hash:
|
551
532
|
#
|
@@ -592,8 +573,6 @@ module Aws::AutoScaling
|
|
592
573
|
include Aws::Structure
|
593
574
|
end
|
594
575
|
|
595
|
-
# Contains the parameters for CreateAutoScalingGroup.
|
596
|
-
#
|
597
576
|
# @note When making an API call, you may pass CreateAutoScalingGroupType
|
598
577
|
# data as a hash:
|
599
578
|
#
|
@@ -664,7 +643,9 @@ module Aws::AutoScaling
|
|
664
643
|
# @!attribute [rw] desired_capacity
|
665
644
|
# The number of EC2 instances that should be running in the group.
|
666
645
|
# This number must be greater than or equal to the minimum size of the
|
667
|
-
# group and less than or equal to the maximum size of the group.
|
646
|
+
# group and less than or equal to the maximum size of the group. If
|
647
|
+
# you do not specify a desired capacity, the default is the minimum
|
648
|
+
# size of the group.
|
668
649
|
# @return [Integer]
|
669
650
|
#
|
670
651
|
# @!attribute [rw] default_cooldown
|
@@ -685,8 +666,8 @@ module Aws::AutoScaling
|
|
685
666
|
# @return [Array<String>]
|
686
667
|
#
|
687
668
|
# @!attribute [rw] load_balancer_names
|
688
|
-
# One or more Classic
|
689
|
-
#
|
669
|
+
# One or more Classic Load Balancers. To specify an Application Load
|
670
|
+
# Balancer, use `TargetGroupARNs` instead.
|
690
671
|
#
|
691
672
|
# For more information, see [Using a Load Balancer With an Auto
|
692
673
|
# Scaling Group][1] in the *Auto Scaling User Guide*.
|
@@ -807,8 +788,6 @@ module Aws::AutoScaling
|
|
807
788
|
include Aws::Structure
|
808
789
|
end
|
809
790
|
|
810
|
-
# Contains the parameters for CreateLaunchConfiguration.
|
811
|
-
#
|
812
791
|
# @note When making an API call, you may pass CreateLaunchConfigurationType
|
813
792
|
# data as a hash:
|
814
793
|
#
|
@@ -856,8 +835,12 @@ module Aws::AutoScaling
|
|
856
835
|
#
|
857
836
|
# @!attribute [rw] image_id
|
858
837
|
# The ID of the Amazon Machine Image (AMI) to use to launch your EC2
|
859
|
-
# instances.
|
860
|
-
#
|
838
|
+
# instances.
|
839
|
+
#
|
840
|
+
# If you do not specify `InstanceId`, you must specify `ImageId`.
|
841
|
+
#
|
842
|
+
# For more information, see [Finding an AMI][1] in the *Amazon Elastic
|
843
|
+
# Compute Cloud User Guide*.
|
861
844
|
#
|
862
845
|
#
|
863
846
|
#
|
@@ -927,10 +910,12 @@ module Aws::AutoScaling
|
|
927
910
|
#
|
928
911
|
# @!attribute [rw] instance_id
|
929
912
|
# The ID of the instance to use to create the launch configuration.
|
930
|
-
#
|
931
913
|
# The new launch configuration derives attributes from the instance,
|
932
914
|
# with the exception of the block device mapping.
|
933
915
|
#
|
916
|
+
# If you do not specify `InstanceId`, you must specify both `ImageId`
|
917
|
+
# and `InstanceType`.
|
918
|
+
#
|
934
919
|
# To create a launch configuration with a block device mapping or
|
935
920
|
# override any other instance attributes, specify them as part of the
|
936
921
|
# same request.
|
@@ -944,9 +929,12 @@ module Aws::AutoScaling
|
|
944
929
|
# @return [String]
|
945
930
|
#
|
946
931
|
# @!attribute [rw] instance_type
|
947
|
-
# The instance type of the EC2 instance.
|
948
|
-
#
|
949
|
-
#
|
932
|
+
# The instance type of the EC2 instance.
|
933
|
+
#
|
934
|
+
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
935
|
+
#
|
936
|
+
# For information about available instance types, see [Available
|
937
|
+
# Instance Types][1] in the *Amazon Elastic Compute Cloud User Guide.*
|
950
938
|
#
|
951
939
|
#
|
952
940
|
#
|
@@ -973,7 +961,7 @@ module Aws::AutoScaling
|
|
973
961
|
#
|
974
962
|
# @!attribute [rw] instance_monitoring
|
975
963
|
# Enables detailed monitoring (`true`) or basic monitoring (`false`)
|
976
|
-
# for the Auto Scaling instances.
|
964
|
+
# for the Auto Scaling instances. The default is `true`.
|
977
965
|
# @return [Types::InstanceMonitoring]
|
978
966
|
#
|
979
967
|
# @!attribute [rw] spot_price
|
@@ -1084,8 +1072,6 @@ module Aws::AutoScaling
|
|
1084
1072
|
include Aws::Structure
|
1085
1073
|
end
|
1086
1074
|
|
1087
|
-
# Contains the parameters for CreateOrUpdateTags.
|
1088
|
-
#
|
1089
1075
|
# @note When making an API call, you may pass CreateOrUpdateTagsType
|
1090
1076
|
# data as a hash:
|
1091
1077
|
#
|
@@ -1112,8 +1098,6 @@ module Aws::AutoScaling
|
|
1112
1098
|
include Aws::Structure
|
1113
1099
|
end
|
1114
1100
|
|
1115
|
-
# Contains the parameters for DeleteAutoScalingGroup.
|
1116
|
-
#
|
1117
1101
|
# @note When making an API call, you may pass DeleteAutoScalingGroupType
|
1118
1102
|
# data as a hash:
|
1119
1103
|
#
|
@@ -1141,14 +1125,10 @@ module Aws::AutoScaling
|
|
1141
1125
|
include Aws::Structure
|
1142
1126
|
end
|
1143
1127
|
|
1144
|
-
# Contains the output of DeleteLifecycleHook.
|
1145
|
-
#
|
1146
1128
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookAnswer AWS API Documentation
|
1147
1129
|
#
|
1148
1130
|
class DeleteLifecycleHookAnswer < Aws::EmptyStructure; end
|
1149
1131
|
|
1150
|
-
# Contains the parameters for DeleteLifecycleHook.
|
1151
|
-
#
|
1152
1132
|
# @note When making an API call, you may pass DeleteLifecycleHookType
|
1153
1133
|
# data as a hash:
|
1154
1134
|
#
|
@@ -1173,8 +1153,6 @@ module Aws::AutoScaling
|
|
1173
1153
|
include Aws::Structure
|
1174
1154
|
end
|
1175
1155
|
|
1176
|
-
# Contains the parameters for DeleteNotificationConfiguration.
|
1177
|
-
#
|
1178
1156
|
# @note When making an API call, you may pass DeleteNotificationConfigurationType
|
1179
1157
|
# data as a hash:
|
1180
1158
|
#
|
@@ -1200,8 +1178,6 @@ module Aws::AutoScaling
|
|
1200
1178
|
include Aws::Structure
|
1201
1179
|
end
|
1202
1180
|
|
1203
|
-
# Contains the parameters for DeletePolicy.
|
1204
|
-
#
|
1205
1181
|
# @note When making an API call, you may pass DeletePolicyType
|
1206
1182
|
# data as a hash:
|
1207
1183
|
#
|
@@ -1226,8 +1202,6 @@ module Aws::AutoScaling
|
|
1226
1202
|
include Aws::Structure
|
1227
1203
|
end
|
1228
1204
|
|
1229
|
-
# Contains the parameters for DeleteScheduledAction.
|
1230
|
-
#
|
1231
1205
|
# @note When making an API call, you may pass DeleteScheduledActionType
|
1232
1206
|
# data as a hash:
|
1233
1207
|
#
|
@@ -1252,8 +1226,6 @@ module Aws::AutoScaling
|
|
1252
1226
|
include Aws::Structure
|
1253
1227
|
end
|
1254
1228
|
|
1255
|
-
# Contains the parameters for DeleteTags.
|
1256
|
-
#
|
1257
1229
|
# @note When making an API call, you may pass DeleteTagsType
|
1258
1230
|
# data as a hash:
|
1259
1231
|
#
|
@@ -1280,8 +1252,6 @@ module Aws::AutoScaling
|
|
1280
1252
|
include Aws::Structure
|
1281
1253
|
end
|
1282
1254
|
|
1283
|
-
# Contains the parameters for DescribeAccountLimits.
|
1284
|
-
#
|
1285
1255
|
# @!attribute [rw] max_number_of_auto_scaling_groups
|
1286
1256
|
# The maximum number of groups allowed for your AWS account. The
|
1287
1257
|
# default limit is 20 per region.
|
@@ -1310,8 +1280,6 @@ module Aws::AutoScaling
|
|
1310
1280
|
include Aws::Structure
|
1311
1281
|
end
|
1312
1282
|
|
1313
|
-
# Contains the parameters for DescribeAdjustmentTypes.
|
1314
|
-
#
|
1315
1283
|
# @!attribute [rw] adjustment_types
|
1316
1284
|
# The policy adjustment types.
|
1317
1285
|
# @return [Array<Types::AdjustmentType>]
|
@@ -1323,8 +1291,6 @@ module Aws::AutoScaling
|
|
1323
1291
|
include Aws::Structure
|
1324
1292
|
end
|
1325
1293
|
|
1326
|
-
# Contains the parameters for DescribeAutoScalingInstances.
|
1327
|
-
#
|
1328
1294
|
# @note When making an API call, you may pass DescribeAutoScalingInstancesType
|
1329
1295
|
# data as a hash:
|
1330
1296
|
#
|
@@ -1341,7 +1307,8 @@ module Aws::AutoScaling
|
|
1341
1307
|
# @return [Array<String>]
|
1342
1308
|
#
|
1343
1309
|
# @!attribute [rw] max_records
|
1344
|
-
# The maximum number of items to return with this call.
|
1310
|
+
# The maximum number of items to return with this call. The default
|
1311
|
+
# value is 50 and the maximum value is 100.
|
1345
1312
|
# @return [Integer]
|
1346
1313
|
#
|
1347
1314
|
# @!attribute [rw] next_token
|
@@ -1358,8 +1325,6 @@ module Aws::AutoScaling
|
|
1358
1325
|
include Aws::Structure
|
1359
1326
|
end
|
1360
1327
|
|
1361
|
-
# Contains the output of DescribeAutoScalingNotificationTypes.
|
1362
|
-
#
|
1363
1328
|
# @!attribute [rw] auto_scaling_notification_types
|
1364
1329
|
# The notification types.
|
1365
1330
|
# @return [Array<String>]
|
@@ -1371,8 +1336,6 @@ module Aws::AutoScaling
|
|
1371
1336
|
include Aws::Structure
|
1372
1337
|
end
|
1373
1338
|
|
1374
|
-
# Contains the output of DescribeLifecycleHookTypes.
|
1375
|
-
#
|
1376
1339
|
# @!attribute [rw] lifecycle_hook_types
|
1377
1340
|
# The lifecycle hook types.
|
1378
1341
|
# @return [Array<String>]
|
@@ -1384,8 +1347,6 @@ module Aws::AutoScaling
|
|
1384
1347
|
include Aws::Structure
|
1385
1348
|
end
|
1386
1349
|
|
1387
|
-
# Contains the output of DescribeLifecycleHooks.
|
1388
|
-
#
|
1389
1350
|
# @!attribute [rw] lifecycle_hooks
|
1390
1351
|
# The lifecycle hooks for the specified group.
|
1391
1352
|
# @return [Array<Types::LifecycleHook>]
|
@@ -1397,8 +1358,6 @@ module Aws::AutoScaling
|
|
1397
1358
|
include Aws::Structure
|
1398
1359
|
end
|
1399
1360
|
|
1400
|
-
# Contains the parameters for DescribeLifecycleHooks.
|
1401
|
-
#
|
1402
1361
|
# @note When making an API call, you may pass DescribeLifecycleHooksType
|
1403
1362
|
# data as a hash:
|
1404
1363
|
#
|
@@ -1424,8 +1383,6 @@ module Aws::AutoScaling
|
|
1424
1383
|
include Aws::Structure
|
1425
1384
|
end
|
1426
1385
|
|
1427
|
-
# Contains the parameters for DescribeLoadBalancerTargetGroups.
|
1428
|
-
#
|
1429
1386
|
# @note When making an API call, you may pass DescribeLoadBalancerTargetGroupsRequest
|
1430
1387
|
# data as a hash:
|
1431
1388
|
#
|
@@ -1445,7 +1402,8 @@ module Aws::AutoScaling
|
|
1445
1402
|
# @return [String]
|
1446
1403
|
#
|
1447
1404
|
# @!attribute [rw] max_records
|
1448
|
-
# The maximum number of items to return with this call.
|
1405
|
+
# The maximum number of items to return with this call. The default
|
1406
|
+
# value is 50 and the maximum value is 100.
|
1449
1407
|
# @return [Integer]
|
1450
1408
|
#
|
1451
1409
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsRequest AWS API Documentation
|
@@ -1457,8 +1415,6 @@ module Aws::AutoScaling
|
|
1457
1415
|
include Aws::Structure
|
1458
1416
|
end
|
1459
1417
|
|
1460
|
-
# Contains the output of DescribeLoadBalancerTargetGroups.
|
1461
|
-
#
|
1462
1418
|
# @!attribute [rw] load_balancer_target_groups
|
1463
1419
|
# Information about the target groups.
|
1464
1420
|
# @return [Array<Types::LoadBalancerTargetGroupState>]
|
@@ -1476,8 +1432,6 @@ module Aws::AutoScaling
|
|
1476
1432
|
include Aws::Structure
|
1477
1433
|
end
|
1478
1434
|
|
1479
|
-
# Contains the parameters for DescribeLoadBalancers.
|
1480
|
-
#
|
1481
1435
|
# @note When making an API call, you may pass DescribeLoadBalancersRequest
|
1482
1436
|
# data as a hash:
|
1483
1437
|
#
|
@@ -1497,7 +1451,8 @@ module Aws::AutoScaling
|
|
1497
1451
|
# @return [String]
|
1498
1452
|
#
|
1499
1453
|
# @!attribute [rw] max_records
|
1500
|
-
# The maximum number of items to return with this call.
|
1454
|
+
# The maximum number of items to return with this call. The default
|
1455
|
+
# value is 50 and the maximum value is 100.
|
1501
1456
|
# @return [Integer]
|
1502
1457
|
#
|
1503
1458
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersRequest AWS API Documentation
|
@@ -1509,8 +1464,6 @@ module Aws::AutoScaling
|
|
1509
1464
|
include Aws::Structure
|
1510
1465
|
end
|
1511
1466
|
|
1512
|
-
# Contains the output of DescribeLoadBalancers.
|
1513
|
-
#
|
1514
1467
|
# @!attribute [rw] load_balancers
|
1515
1468
|
# The load balancers.
|
1516
1469
|
# @return [Array<Types::LoadBalancerState>]
|
@@ -1528,8 +1481,6 @@ module Aws::AutoScaling
|
|
1528
1481
|
include Aws::Structure
|
1529
1482
|
end
|
1530
1483
|
|
1531
|
-
# Contains the output of DescribeMetricsCollectionTypes.
|
1532
|
-
#
|
1533
1484
|
# @!attribute [rw] metrics
|
1534
1485
|
# One or more metrics.
|
1535
1486
|
# @return [Array<Types::MetricCollectionType>]
|
@@ -1546,8 +1497,6 @@ module Aws::AutoScaling
|
|
1546
1497
|
include Aws::Structure
|
1547
1498
|
end
|
1548
1499
|
|
1549
|
-
# Contains the output from DescribeNotificationConfigurations.
|
1550
|
-
#
|
1551
1500
|
# @!attribute [rw] notification_configurations
|
1552
1501
|
# The notification configurations.
|
1553
1502
|
# @return [Array<Types::NotificationConfiguration>]
|
@@ -1565,8 +1514,6 @@ module Aws::AutoScaling
|
|
1565
1514
|
include Aws::Structure
|
1566
1515
|
end
|
1567
1516
|
|
1568
|
-
# Contains the parameters for DescribeNotificationConfigurations.
|
1569
|
-
#
|
1570
1517
|
# @note When making an API call, you may pass DescribeNotificationConfigurationsType
|
1571
1518
|
# data as a hash:
|
1572
1519
|
#
|
@@ -1586,7 +1533,8 @@ module Aws::AutoScaling
|
|
1586
1533
|
# @return [String]
|
1587
1534
|
#
|
1588
1535
|
# @!attribute [rw] max_records
|
1589
|
-
# The maximum number of items to return with this call.
|
1536
|
+
# The maximum number of items to return with this call. The default
|
1537
|
+
# value is 50 and the maximum value is 100.
|
1590
1538
|
# @return [Integer]
|
1591
1539
|
#
|
1592
1540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsType AWS API Documentation
|
@@ -1598,8 +1546,6 @@ module Aws::AutoScaling
|
|
1598
1546
|
include Aws::Structure
|
1599
1547
|
end
|
1600
1548
|
|
1601
|
-
# Contains the parameters for DescribePolicies.
|
1602
|
-
#
|
1603
1549
|
# @note When making an API call, you may pass DescribePoliciesType
|
1604
1550
|
# data as a hash:
|
1605
1551
|
#
|
@@ -1634,7 +1580,8 @@ module Aws::AutoScaling
|
|
1634
1580
|
# @return [String]
|
1635
1581
|
#
|
1636
1582
|
# @!attribute [rw] max_records
|
1637
|
-
# The maximum number of items to be returned with each call.
|
1583
|
+
# The maximum number of items to be returned with each call. The
|
1584
|
+
# default value is 50 and the maximum value is 100.
|
1638
1585
|
# @return [Integer]
|
1639
1586
|
#
|
1640
1587
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePoliciesType AWS API Documentation
|
@@ -1648,8 +1595,6 @@ module Aws::AutoScaling
|
|
1648
1595
|
include Aws::Structure
|
1649
1596
|
end
|
1650
1597
|
|
1651
|
-
# Contains the parameters for DescribeScalingActivities.
|
1652
|
-
#
|
1653
1598
|
# @note When making an API call, you may pass DescribeScalingActivitiesType
|
1654
1599
|
# data as a hash:
|
1655
1600
|
#
|
@@ -1674,7 +1619,8 @@ module Aws::AutoScaling
|
|
1674
1619
|
# @return [String]
|
1675
1620
|
#
|
1676
1621
|
# @!attribute [rw] max_records
|
1677
|
-
# The maximum number of items to return with this call.
|
1622
|
+
# The maximum number of items to return with this call. The default
|
1623
|
+
# value is 100.
|
1678
1624
|
# @return [Integer]
|
1679
1625
|
#
|
1680
1626
|
# @!attribute [rw] next_token
|
@@ -1692,8 +1638,6 @@ module Aws::AutoScaling
|
|
1692
1638
|
include Aws::Structure
|
1693
1639
|
end
|
1694
1640
|
|
1695
|
-
# Contains the parameters for DescribeScheduledActions.
|
1696
|
-
#
|
1697
1641
|
# @note When making an API call, you may pass DescribeScheduledActionsType
|
1698
1642
|
# data as a hash:
|
1699
1643
|
#
|
@@ -1736,7 +1680,8 @@ module Aws::AutoScaling
|
|
1736
1680
|
# @return [String]
|
1737
1681
|
#
|
1738
1682
|
# @!attribute [rw] max_records
|
1739
|
-
# The maximum number of items to return with this call.
|
1683
|
+
# The maximum number of items to return with this call. The default
|
1684
|
+
# value is 50 and the maximum value is 100.
|
1740
1685
|
# @return [Integer]
|
1741
1686
|
#
|
1742
1687
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActionsType AWS API Documentation
|
@@ -1751,8 +1696,6 @@ module Aws::AutoScaling
|
|
1751
1696
|
include Aws::Structure
|
1752
1697
|
end
|
1753
1698
|
|
1754
|
-
# Contains the parameters for DescribeTags.
|
1755
|
-
#
|
1756
1699
|
# @note When making an API call, you may pass DescribeTagsType
|
1757
1700
|
# data as a hash:
|
1758
1701
|
#
|
@@ -1777,7 +1720,8 @@ module Aws::AutoScaling
|
|
1777
1720
|
# @return [String]
|
1778
1721
|
#
|
1779
1722
|
# @!attribute [rw] max_records
|
1780
|
-
# The maximum number of items to return with this call.
|
1723
|
+
# The maximum number of items to return with this call. The default
|
1724
|
+
# value is 50 and the maximum value is 100.
|
1781
1725
|
# @return [Integer]
|
1782
1726
|
#
|
1783
1727
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTagsType AWS API Documentation
|
@@ -1789,8 +1733,6 @@ module Aws::AutoScaling
|
|
1789
1733
|
include Aws::Structure
|
1790
1734
|
end
|
1791
1735
|
|
1792
|
-
# Contains the output of DescribeTerminationPolicyTypes.
|
1793
|
-
#
|
1794
1736
|
# @!attribute [rw] termination_policy_types
|
1795
1737
|
# The termination policies supported by Auto Scaling
|
1796
1738
|
# (`OldestInstance`, `OldestLaunchConfiguration`, `NewestInstance`,
|
@@ -1804,8 +1746,6 @@ module Aws::AutoScaling
|
|
1804
1746
|
include Aws::Structure
|
1805
1747
|
end
|
1806
1748
|
|
1807
|
-
# Contains the output of DetachInstances.
|
1808
|
-
#
|
1809
1749
|
# @!attribute [rw] activities
|
1810
1750
|
# The activities related to detaching the instances from the Auto
|
1811
1751
|
# Scaling group.
|
@@ -1818,8 +1758,6 @@ module Aws::AutoScaling
|
|
1818
1758
|
include Aws::Structure
|
1819
1759
|
end
|
1820
1760
|
|
1821
|
-
# Contains the parameters for DetachInstances.
|
1822
|
-
#
|
1823
1761
|
# @note When making an API call, you may pass DetachInstancesQuery
|
1824
1762
|
# data as a hash:
|
1825
1763
|
#
|
@@ -1879,14 +1817,10 @@ module Aws::AutoScaling
|
|
1879
1817
|
include Aws::Structure
|
1880
1818
|
end
|
1881
1819
|
|
1882
|
-
# Contains the output for DetachLoadBalancers.
|
1883
|
-
#
|
1884
1820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersResultType AWS API Documentation
|
1885
1821
|
#
|
1886
1822
|
class DetachLoadBalancersResultType < Aws::EmptyStructure; end
|
1887
1823
|
|
1888
|
-
# Contains the parameters for DetachLoadBalancers.
|
1889
|
-
#
|
1890
1824
|
# @note When making an API call, you may pass DetachLoadBalancersType
|
1891
1825
|
# data as a hash:
|
1892
1826
|
#
|
@@ -1911,8 +1845,6 @@ module Aws::AutoScaling
|
|
1911
1845
|
include Aws::Structure
|
1912
1846
|
end
|
1913
1847
|
|
1914
|
-
# Contains the parameters for DisableMetricsCollection.
|
1915
|
-
#
|
1916
1848
|
# @note When making an API call, you may pass DisableMetricsCollectionQuery
|
1917
1849
|
# data as a hash:
|
1918
1850
|
#
|
@@ -2035,8 +1967,6 @@ module Aws::AutoScaling
|
|
2035
1967
|
include Aws::Structure
|
2036
1968
|
end
|
2037
1969
|
|
2038
|
-
# Contains the parameters for EnableMetricsCollection.
|
2039
|
-
#
|
2040
1970
|
# @note When making an API call, you may pass EnableMetricsCollectionQuery
|
2041
1971
|
# data as a hash:
|
2042
1972
|
#
|
@@ -2119,8 +2049,6 @@ module Aws::AutoScaling
|
|
2119
2049
|
include Aws::Structure
|
2120
2050
|
end
|
2121
2051
|
|
2122
|
-
# Contains the output of EnterStandby.
|
2123
|
-
#
|
2124
2052
|
# @!attribute [rw] activities
|
2125
2053
|
# The activities related to moving instances into `Standby` mode.
|
2126
2054
|
# @return [Array<Types::Activity>]
|
@@ -2132,8 +2060,6 @@ module Aws::AutoScaling
|
|
2132
2060
|
include Aws::Structure
|
2133
2061
|
end
|
2134
2062
|
|
2135
|
-
# Contains the parameters for EnteStandby.
|
2136
|
-
#
|
2137
2063
|
# @note When making an API call, you may pass EnterStandbyQuery
|
2138
2064
|
# data as a hash:
|
2139
2065
|
#
|
@@ -2168,8 +2094,6 @@ module Aws::AutoScaling
|
|
2168
2094
|
include Aws::Structure
|
2169
2095
|
end
|
2170
2096
|
|
2171
|
-
# Contains the parameters for ExecutePolicy.
|
2172
|
-
#
|
2173
2097
|
# @note When making an API call, you may pass ExecutePolicyType
|
2174
2098
|
# data as a hash:
|
2175
2099
|
#
|
@@ -2237,8 +2161,6 @@ module Aws::AutoScaling
|
|
2237
2161
|
include Aws::Structure
|
2238
2162
|
end
|
2239
2163
|
|
2240
|
-
# Contains the parameters for ExitStandby.
|
2241
|
-
#
|
2242
2164
|
# @!attribute [rw] activities
|
2243
2165
|
# The activities related to moving instances out of `Standby` mode.
|
2244
2166
|
# @return [Array<Types::Activity>]
|
@@ -2250,8 +2172,6 @@ module Aws::AutoScaling
|
|
2250
2172
|
include Aws::Structure
|
2251
2173
|
end
|
2252
2174
|
|
2253
|
-
# Contains the parameters for ExitStandby.
|
2254
|
-
#
|
2255
2175
|
# @note When making an API call, you may pass ExitStandbyQuery
|
2256
2176
|
# data as a hash:
|
2257
2177
|
#
|
@@ -2347,7 +2267,8 @@ module Aws::AutoScaling
|
|
2347
2267
|
include Aws::Structure
|
2348
2268
|
end
|
2349
2269
|
|
2350
|
-
# Describes whether
|
2270
|
+
# Describes whether detailed monitoring is enabled for the Auto Scaling
|
2271
|
+
# instances.
|
2351
2272
|
#
|
2352
2273
|
# @note When making an API call, you may pass InstanceMonitoring
|
2353
2274
|
# data as a hash:
|
@@ -2357,7 +2278,8 @@ module Aws::AutoScaling
|
|
2357
2278
|
# }
|
2358
2279
|
#
|
2359
2280
|
# @!attribute [rw] enabled
|
2360
|
-
# If `
|
2281
|
+
# If `true`, detailed monitoring is enabled. Otherwise, basic
|
2282
|
+
# monitoring is enabled.
|
2361
2283
|
# @return [Boolean]
|
2362
2284
|
#
|
2363
2285
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceMonitoring AWS API Documentation
|
@@ -2492,8 +2414,6 @@ module Aws::AutoScaling
|
|
2492
2414
|
include Aws::Structure
|
2493
2415
|
end
|
2494
2416
|
|
2495
|
-
# Contains the parameters for DeleteLaunchConfiguration.
|
2496
|
-
#
|
2497
2417
|
# @note When making an API call, you may pass LaunchConfigurationNameType
|
2498
2418
|
# data as a hash:
|
2499
2419
|
#
|
@@ -2512,8 +2432,6 @@ module Aws::AutoScaling
|
|
2512
2432
|
include Aws::Structure
|
2513
2433
|
end
|
2514
2434
|
|
2515
|
-
# Contains the parameters for DescribeLaunchConfigurations.
|
2516
|
-
#
|
2517
2435
|
# @note When making an API call, you may pass LaunchConfigurationNamesType
|
2518
2436
|
# data as a hash:
|
2519
2437
|
#
|
@@ -2534,8 +2452,8 @@ module Aws::AutoScaling
|
|
2534
2452
|
# @return [String]
|
2535
2453
|
#
|
2536
2454
|
# @!attribute [rw] max_records
|
2537
|
-
# The maximum number of items to return with this call. The default
|
2538
|
-
# 100.
|
2455
|
+
# The maximum number of items to return with this call. The default
|
2456
|
+
# value is 50 and the maximum value is 100.
|
2539
2457
|
# @return [Integer]
|
2540
2458
|
#
|
2541
2459
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationNamesType AWS API Documentation
|
@@ -2547,8 +2465,6 @@ module Aws::AutoScaling
|
|
2547
2465
|
include Aws::Structure
|
2548
2466
|
end
|
2549
2467
|
|
2550
|
-
# Contains the output of DescribeLaunchConfigurations.
|
2551
|
-
#
|
2552
2468
|
# @!attribute [rw] launch_configurations
|
2553
2469
|
# The launch configurations.
|
2554
2470
|
# @return [Array<Types::LaunchConfiguration>]
|
@@ -2665,7 +2581,7 @@ module Aws::AutoScaling
|
|
2665
2581
|
include Aws::Structure
|
2666
2582
|
end
|
2667
2583
|
|
2668
|
-
# Describes the state of a Classic
|
2584
|
+
# Describes the state of a Classic Load Balancer.
|
2669
2585
|
#
|
2670
2586
|
# If you specify a load balancer when creating the Auto Scaling group,
|
2671
2587
|
# the state of the load balancer is `InService`.
|
@@ -2830,8 +2746,6 @@ module Aws::AutoScaling
|
|
2830
2746
|
include Aws::Structure
|
2831
2747
|
end
|
2832
2748
|
|
2833
|
-
# Contains the output of DescribePolicies.
|
2834
|
-
#
|
2835
2749
|
# @!attribute [rw] scaling_policies
|
2836
2750
|
# The scaling policies.
|
2837
2751
|
# @return [Array<Types::ScalingPolicy>]
|
@@ -2849,8 +2763,6 @@ module Aws::AutoScaling
|
|
2849
2763
|
include Aws::Structure
|
2850
2764
|
end
|
2851
2765
|
|
2852
|
-
# Contains the output of PutScalingPolicy.
|
2853
|
-
#
|
2854
2766
|
# @!attribute [rw] policy_arn
|
2855
2767
|
# The Amazon Resource Name (ARN) of the policy.
|
2856
2768
|
# @return [String]
|
@@ -2898,8 +2810,6 @@ module Aws::AutoScaling
|
|
2898
2810
|
include Aws::Structure
|
2899
2811
|
end
|
2900
2812
|
|
2901
|
-
# Contains the output of DescribeScalingProcessTypes.
|
2902
|
-
#
|
2903
2813
|
# @!attribute [rw] processes
|
2904
2814
|
# The names of the process types.
|
2905
2815
|
# @return [Array<Types::ProcessType>]
|
@@ -2911,14 +2821,10 @@ module Aws::AutoScaling
|
|
2911
2821
|
include Aws::Structure
|
2912
2822
|
end
|
2913
2823
|
|
2914
|
-
# Contains the output of PutLifecycleHook.
|
2915
|
-
#
|
2916
2824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookAnswer AWS API Documentation
|
2917
2825
|
#
|
2918
2826
|
class PutLifecycleHookAnswer < Aws::EmptyStructure; end
|
2919
2827
|
|
2920
|
-
# Contains the parameters for PutLifecycleHook.
|
2921
|
-
#
|
2922
2828
|
# @note When making an API call, you may pass PutLifecycleHookType
|
2923
2829
|
# data as a hash:
|
2924
2830
|
#
|
@@ -3008,8 +2914,6 @@ module Aws::AutoScaling
|
|
3008
2914
|
include Aws::Structure
|
3009
2915
|
end
|
3010
2916
|
|
3011
|
-
# Contains the parameters for PutNotificationConfiguration.
|
3012
|
-
#
|
3013
2917
|
# @note When making an API call, you may pass PutNotificationConfigurationType
|
3014
2918
|
# data as a hash:
|
3015
2919
|
#
|
@@ -3043,8 +2947,6 @@ module Aws::AutoScaling
|
|
3043
2947
|
include Aws::Structure
|
3044
2948
|
end
|
3045
2949
|
|
3046
|
-
# Contains the parameters for PutScalingPolicy.
|
3047
|
-
#
|
3048
2950
|
# @note When making an API call, you may pass PutScalingPolicyType
|
3049
2951
|
# data as a hash:
|
3050
2952
|
#
|
@@ -3173,8 +3075,6 @@ module Aws::AutoScaling
|
|
3173
3075
|
include Aws::Structure
|
3174
3076
|
end
|
3175
3077
|
|
3176
|
-
# Contains the parameters for PutScheduledUpdateGroupAction.
|
3177
|
-
#
|
3178
3078
|
# @note When making an API call, you may pass PutScheduledUpdateGroupActionType
|
3179
3079
|
# data as a hash:
|
3180
3080
|
#
|
@@ -3255,14 +3155,10 @@ module Aws::AutoScaling
|
|
3255
3155
|
include Aws::Structure
|
3256
3156
|
end
|
3257
3157
|
|
3258
|
-
# Contains the output of RecordLifecycleActionHeartBeat.
|
3259
|
-
#
|
3260
3158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatAnswer AWS API Documentation
|
3261
3159
|
#
|
3262
3160
|
class RecordLifecycleActionHeartbeatAnswer < Aws::EmptyStructure; end
|
3263
3161
|
|
3264
|
-
# Contains the parameters for RecordLifecycleActionHeartbeat.
|
3265
|
-
#
|
3266
3162
|
# @note When making an API call, you may pass RecordLifecycleActionHeartbeatType
|
3267
3163
|
# data as a hash:
|
3268
3164
|
#
|
@@ -3347,7 +3243,7 @@ module Aws::AutoScaling
|
|
3347
3243
|
#
|
3348
3244
|
# @!attribute [rw] cooldown
|
3349
3245
|
# The amount of time, in seconds, after a scaling activity completes
|
3350
|
-
# before any further
|
3246
|
+
# before any further dynamic scaling activities can start.
|
3351
3247
|
# @return [Integer]
|
3352
3248
|
#
|
3353
3249
|
# @!attribute [rw] step_adjustments
|
@@ -3388,8 +3284,6 @@ module Aws::AutoScaling
|
|
3388
3284
|
include Aws::Structure
|
3389
3285
|
end
|
3390
3286
|
|
3391
|
-
# Contains the parameters for SuspendProcesses and ResumeProcesses.
|
3392
|
-
#
|
3393
3287
|
# @note When making an API call, you may pass ScalingProcessQuery
|
3394
3288
|
# data as a hash:
|
3395
3289
|
#
|
@@ -3431,8 +3325,6 @@ module Aws::AutoScaling
|
|
3431
3325
|
include Aws::Structure
|
3432
3326
|
end
|
3433
3327
|
|
3434
|
-
# Contains the output of DescribeScheduledActions.
|
3435
|
-
#
|
3436
3328
|
# @!attribute [rw] scheduled_update_group_actions
|
3437
3329
|
# The scheduled actions.
|
3438
3330
|
# @return [Array<Types::ScheduledUpdateGroupAction>]
|
@@ -3514,8 +3406,6 @@ module Aws::AutoScaling
|
|
3514
3406
|
include Aws::Structure
|
3515
3407
|
end
|
3516
3408
|
|
3517
|
-
# Contains the parameters for SetDesiredCapacity.
|
3518
|
-
#
|
3519
3409
|
# @note When making an API call, you may pass SetDesiredCapacityType
|
3520
3410
|
# data as a hash:
|
3521
3411
|
#
|
@@ -3551,8 +3441,6 @@ module Aws::AutoScaling
|
|
3551
3441
|
include Aws::Structure
|
3552
3442
|
end
|
3553
3443
|
|
3554
|
-
# Contains the parameters for SetInstanceHealth.
|
3555
|
-
#
|
3556
3444
|
# @note When making an API call, you may pass SetInstanceHealthQuery
|
3557
3445
|
# data as a hash:
|
3558
3446
|
#
|
@@ -3593,14 +3481,10 @@ module Aws::AutoScaling
|
|
3593
3481
|
include Aws::Structure
|
3594
3482
|
end
|
3595
3483
|
|
3596
|
-
# Contains the output of SetInstanceProtection.
|
3597
|
-
#
|
3598
3484
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionAnswer AWS API Documentation
|
3599
3485
|
#
|
3600
3486
|
class SetInstanceProtectionAnswer < Aws::EmptyStructure; end
|
3601
3487
|
|
3602
|
-
# Contains the parameters for SetInstanceProtection.
|
3603
|
-
#
|
3604
3488
|
# @note When making an API call, you may pass SetInstanceProtectionQuery
|
3605
3489
|
# data as a hash:
|
3606
3490
|
#
|
@@ -3806,8 +3690,6 @@ module Aws::AutoScaling
|
|
3806
3690
|
include Aws::Structure
|
3807
3691
|
end
|
3808
3692
|
|
3809
|
-
# Contains the output of DescribeTags.
|
3810
|
-
#
|
3811
3693
|
# @!attribute [rw] tags
|
3812
3694
|
# One or more tags.
|
3813
3695
|
# @return [Array<Types::TagDescription>]
|
@@ -3825,8 +3707,6 @@ module Aws::AutoScaling
|
|
3825
3707
|
include Aws::Structure
|
3826
3708
|
end
|
3827
3709
|
|
3828
|
-
# Contains the parameters for TerminateInstanceInAutoScalingGroup.
|
3829
|
-
#
|
3830
3710
|
# @note When making an API call, you may pass TerminateInstanceInAutoScalingGroupType
|
3831
3711
|
# data as a hash:
|
3832
3712
|
#
|
@@ -3852,8 +3732,6 @@ module Aws::AutoScaling
|
|
3852
3732
|
include Aws::Structure
|
3853
3733
|
end
|
3854
3734
|
|
3855
|
-
# Contains the parameters for UpdateAutoScalingGroup.
|
3856
|
-
#
|
3857
3735
|
# @note When making an API call, you may pass UpdateAutoScalingGroupType
|
3858
3736
|
# data as a hash:
|
3859
3737
|
#
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-autoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc12
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc12
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|