aws-sdk-autoscaling 1.36.0 → 1.41.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.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -8,6 +10,20 @@
8
10
  module Aws::AutoScaling
9
11
  module Types
10
12
 
13
+ # The request failed because an active instance refresh for the
14
+ # specified Auto Scaling group was not found.
15
+ #
16
+ # @!attribute [rw] message
17
+ # @return [String]
18
+ #
19
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActiveInstanceRefreshNotFoundFault AWS API Documentation
20
+ #
21
+ class ActiveInstanceRefreshNotFoundFault < Struct.new(
22
+ :message)
23
+ SENSITIVE = []
24
+ include Aws::Structure
25
+ end
26
+
11
27
  # @!attribute [rw] activities
12
28
  # The scaling activities. Activities are sorted by start time.
13
29
  # Activities still in progress are described first.
@@ -26,6 +42,7 @@ module Aws::AutoScaling
26
42
  class ActivitiesType < Struct.new(
27
43
  :activities,
28
44
  :next_token)
45
+ SENSITIVE = []
29
46
  include Aws::Structure
30
47
  end
31
48
 
@@ -87,6 +104,7 @@ module Aws::AutoScaling
87
104
  :status_message,
88
105
  :progress,
89
106
  :details)
107
+ SENSITIVE = []
90
108
  include Aws::Structure
91
109
  end
92
110
 
@@ -98,6 +116,7 @@ module Aws::AutoScaling
98
116
  #
99
117
  class ActivityType < Struct.new(
100
118
  :activity)
119
+ SENSITIVE = []
101
120
  include Aws::Structure
102
121
  end
103
122
 
@@ -112,6 +131,7 @@ module Aws::AutoScaling
112
131
  #
113
132
  class AdjustmentType < Struct.new(
114
133
  :adjustment_type)
134
+ SENSITIVE = []
115
135
  include Aws::Structure
116
136
  end
117
137
 
@@ -130,6 +150,7 @@ module Aws::AutoScaling
130
150
  class Alarm < Struct.new(
131
151
  :alarm_name,
132
152
  :alarm_arn)
153
+ SENSITIVE = []
133
154
  include Aws::Structure
134
155
  end
135
156
 
@@ -143,6 +164,7 @@ module Aws::AutoScaling
143
164
  #
144
165
  class AlreadyExistsFault < Struct.new(
145
166
  :message)
167
+ SENSITIVE = []
146
168
  include Aws::Structure
147
169
  end
148
170
 
@@ -167,6 +189,7 @@ module Aws::AutoScaling
167
189
  class AttachInstancesQuery < Struct.new(
168
190
  :instance_ids,
169
191
  :auto_scaling_group_name)
192
+ SENSITIVE = []
170
193
  include Aws::Structure
171
194
  end
172
195
 
@@ -196,6 +219,7 @@ module Aws::AutoScaling
196
219
  class AttachLoadBalancerTargetGroupsType < Struct.new(
197
220
  :auto_scaling_group_name,
198
221
  :target_group_arns)
222
+ SENSITIVE = []
199
223
  include Aws::Structure
200
224
  end
201
225
 
@@ -225,6 +249,7 @@ module Aws::AutoScaling
225
249
  class AttachLoadBalancersType < Struct.new(
226
250
  :auto_scaling_group_name,
227
251
  :load_balancer_names)
252
+ SENSITIVE = []
228
253
  include Aws::Structure
229
254
  end
230
255
 
@@ -263,8 +288,7 @@ module Aws::AutoScaling
263
288
  # @return [Integer]
264
289
  #
265
290
  # @!attribute [rw] default_cooldown
266
- # The amount of time, in seconds, after a scaling activity completes
267
- # before another scaling activity can start.
291
+ # The duration of the default cooldown period, in seconds.
268
292
  # @return [Integer]
269
293
  #
270
294
  # @!attribute [rw] availability_zones
@@ -377,6 +401,7 @@ module Aws::AutoScaling
377
401
  :new_instances_protected_from_scale_in,
378
402
  :service_linked_role_arn,
379
403
  :max_instance_lifetime)
404
+ SENSITIVE = []
380
405
  include Aws::Structure
381
406
  end
382
407
 
@@ -414,6 +439,7 @@ module Aws::AutoScaling
414
439
  :auto_scaling_group_names,
415
440
  :next_token,
416
441
  :max_records)
442
+ SENSITIVE = []
417
443
  include Aws::Structure
418
444
  end
419
445
 
@@ -434,6 +460,7 @@ module Aws::AutoScaling
434
460
  class AutoScalingGroupsType < Struct.new(
435
461
  :auto_scaling_groups,
436
462
  :next_token)
463
+ SENSITIVE = []
437
464
  include Aws::Structure
438
465
  end
439
466
 
@@ -501,6 +528,7 @@ module Aws::AutoScaling
501
528
  :launch_template,
502
529
  :protected_from_scale_in,
503
530
  :weighted_capacity)
531
+ SENSITIVE = []
504
532
  include Aws::Structure
505
533
  end
506
534
 
@@ -521,6 +549,7 @@ module Aws::AutoScaling
521
549
  class AutoScalingInstancesType < Struct.new(
522
550
  :auto_scaling_instances,
523
551
  :next_token)
552
+ SENSITIVE = []
524
553
  include Aws::Structure
525
554
  end
526
555
 
@@ -533,6 +562,7 @@ module Aws::AutoScaling
533
562
  #
534
563
  class BatchDeleteScheduledActionAnswer < Struct.new(
535
564
  :failed_scheduled_actions)
565
+ SENSITIVE = []
536
566
  include Aws::Structure
537
567
  end
538
568
 
@@ -558,6 +588,7 @@ module Aws::AutoScaling
558
588
  class BatchDeleteScheduledActionType < Struct.new(
559
589
  :auto_scaling_group_name,
560
590
  :scheduled_action_names)
591
+ SENSITIVE = []
561
592
  include Aws::Structure
562
593
  end
563
594
 
@@ -570,6 +601,7 @@ module Aws::AutoScaling
570
601
  #
571
602
  class BatchPutScheduledUpdateGroupActionAnswer < Struct.new(
572
603
  :failed_scheduled_update_group_actions)
604
+ SENSITIVE = []
573
605
  include Aws::Structure
574
606
  end
575
607
 
@@ -604,6 +636,7 @@ module Aws::AutoScaling
604
636
  class BatchPutScheduledUpdateGroupActionType < Struct.new(
605
637
  :auto_scaling_group_name,
606
638
  :scheduled_update_group_actions)
639
+ SENSITIVE = []
607
640
  include Aws::Structure
608
641
  end
609
642
 
@@ -667,6 +700,38 @@ module Aws::AutoScaling
667
700
  :device_name,
668
701
  :ebs,
669
702
  :no_device)
703
+ SENSITIVE = []
704
+ include Aws::Structure
705
+ end
706
+
707
+ # @!attribute [rw] instance_refresh_id
708
+ # The instance refresh ID.
709
+ # @return [String]
710
+ #
711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CancelInstanceRefreshAnswer AWS API Documentation
712
+ #
713
+ class CancelInstanceRefreshAnswer < Struct.new(
714
+ :instance_refresh_id)
715
+ SENSITIVE = []
716
+ include Aws::Structure
717
+ end
718
+
719
+ # @note When making an API call, you may pass CancelInstanceRefreshType
720
+ # data as a hash:
721
+ #
722
+ # {
723
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
724
+ # }
725
+ #
726
+ # @!attribute [rw] auto_scaling_group_name
727
+ # The name of the Auto Scaling group.
728
+ # @return [String]
729
+ #
730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CancelInstanceRefreshType AWS API Documentation
731
+ #
732
+ class CancelInstanceRefreshType < Struct.new(
733
+ :auto_scaling_group_name)
734
+ SENSITIVE = []
670
735
  include Aws::Structure
671
736
  end
672
737
 
@@ -717,6 +782,7 @@ module Aws::AutoScaling
717
782
  :lifecycle_action_token,
718
783
  :lifecycle_action_result,
719
784
  :instance_id)
785
+ SENSITIVE = []
720
786
  include Aws::Structure
721
787
  end
722
788
 
@@ -908,8 +974,10 @@ module Aws::AutoScaling
908
974
  # before another scaling activity can start. The default value is
909
975
  # `300`.
910
976
  #
911
- # For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
912
- # Auto Scaling User Guide*.
977
+ # This setting applies when using simple scaling policies, but not
978
+ # when using other scaling policies or scheduled scaling. For more
979
+ # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1]
980
+ # in the *Amazon EC2 Auto Scaling User Guide*.
913
981
  #
914
982
  #
915
983
  #
@@ -975,8 +1043,7 @@ module Aws::AutoScaling
975
1043
  # For more information, see [Health Check Grace Period][1] in the
976
1044
  # *Amazon EC2 Auto Scaling User Guide*.
977
1045
  #
978
- # Conditional: This parameter is required if you are adding an `ELB`
979
- # health check.
1046
+ # Required if you are adding an `ELB` health check.
980
1047
  #
981
1048
  #
982
1049
  #
@@ -1114,6 +1181,7 @@ module Aws::AutoScaling
1114
1181
  :tags,
1115
1182
  :service_linked_role_arn,
1116
1183
  :max_instance_lifetime)
1184
+ SENSITIVE = []
1117
1185
  include Aws::Structure
1118
1186
  end
1119
1187
 
@@ -1431,6 +1499,7 @@ module Aws::AutoScaling
1431
1499
  :ebs_optimized,
1432
1500
  :associate_public_ip_address,
1433
1501
  :placement_tenancy)
1502
+ SENSITIVE = []
1434
1503
  include Aws::Structure
1435
1504
  end
1436
1505
 
@@ -1457,6 +1526,7 @@ module Aws::AutoScaling
1457
1526
  #
1458
1527
  class CreateOrUpdateTagsType < Struct.new(
1459
1528
  :tags)
1529
+ SENSITIVE = []
1460
1530
  include Aws::Structure
1461
1531
  end
1462
1532
 
@@ -1531,6 +1601,7 @@ module Aws::AutoScaling
1531
1601
  :dimensions,
1532
1602
  :statistic,
1533
1603
  :unit)
1604
+ SENSITIVE = []
1534
1605
  include Aws::Structure
1535
1606
  end
1536
1607
 
@@ -1558,6 +1629,7 @@ module Aws::AutoScaling
1558
1629
  class DeleteAutoScalingGroupType < Struct.new(
1559
1630
  :auto_scaling_group_name,
1560
1631
  :force_delete)
1632
+ SENSITIVE = []
1561
1633
  include Aws::Structure
1562
1634
  end
1563
1635
 
@@ -1586,6 +1658,7 @@ module Aws::AutoScaling
1586
1658
  class DeleteLifecycleHookType < Struct.new(
1587
1659
  :lifecycle_hook_name,
1588
1660
  :auto_scaling_group_name)
1661
+ SENSITIVE = []
1589
1662
  include Aws::Structure
1590
1663
  end
1591
1664
 
@@ -1611,6 +1684,7 @@ module Aws::AutoScaling
1611
1684
  class DeleteNotificationConfigurationType < Struct.new(
1612
1685
  :auto_scaling_group_name,
1613
1686
  :topic_arn)
1687
+ SENSITIVE = []
1614
1688
  include Aws::Structure
1615
1689
  end
1616
1690
 
@@ -1635,6 +1709,7 @@ module Aws::AutoScaling
1635
1709
  class DeletePolicyType < Struct.new(
1636
1710
  :auto_scaling_group_name,
1637
1711
  :policy_name)
1712
+ SENSITIVE = []
1638
1713
  include Aws::Structure
1639
1714
  end
1640
1715
 
@@ -1659,6 +1734,7 @@ module Aws::AutoScaling
1659
1734
  class DeleteScheduledActionType < Struct.new(
1660
1735
  :auto_scaling_group_name,
1661
1736
  :scheduled_action_name)
1737
+ SENSITIVE = []
1662
1738
  include Aws::Structure
1663
1739
  end
1664
1740
 
@@ -1685,6 +1761,7 @@ module Aws::AutoScaling
1685
1761
  #
1686
1762
  class DeleteTagsType < Struct.new(
1687
1763
  :tags)
1764
+ SENSITIVE = []
1688
1765
  include Aws::Structure
1689
1766
  end
1690
1767
 
@@ -1713,6 +1790,7 @@ module Aws::AutoScaling
1713
1790
  :max_number_of_launch_configurations,
1714
1791
  :number_of_auto_scaling_groups,
1715
1792
  :number_of_launch_configurations)
1793
+ SENSITIVE = []
1716
1794
  include Aws::Structure
1717
1795
  end
1718
1796
 
@@ -1724,6 +1802,7 @@ module Aws::AutoScaling
1724
1802
  #
1725
1803
  class DescribeAdjustmentTypesAnswer < Struct.new(
1726
1804
  :adjustment_types)
1805
+ SENSITIVE = []
1727
1806
  include Aws::Structure
1728
1807
  end
1729
1808
 
@@ -1759,6 +1838,7 @@ module Aws::AutoScaling
1759
1838
  :instance_ids,
1760
1839
  :max_records,
1761
1840
  :next_token)
1841
+ SENSITIVE = []
1762
1842
  include Aws::Structure
1763
1843
  end
1764
1844
 
@@ -1770,6 +1850,67 @@ module Aws::AutoScaling
1770
1850
  #
1771
1851
  class DescribeAutoScalingNotificationTypesAnswer < Struct.new(
1772
1852
  :auto_scaling_notification_types)
1853
+ SENSITIVE = []
1854
+ include Aws::Structure
1855
+ end
1856
+
1857
+ # @!attribute [rw] instance_refreshes
1858
+ # The instance refreshes for the specified group.
1859
+ # @return [Array<Types::InstanceRefresh>]
1860
+ #
1861
+ # @!attribute [rw] next_token
1862
+ # A string that indicates that the response contains more items than
1863
+ # can be returned in a single response. To receive additional items,
1864
+ # specify this string for the `NextToken` value when requesting the
1865
+ # next set of items. This value is null when there are no more items
1866
+ # to return.
1867
+ # @return [String]
1868
+ #
1869
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeInstanceRefreshesAnswer AWS API Documentation
1870
+ #
1871
+ class DescribeInstanceRefreshesAnswer < Struct.new(
1872
+ :instance_refreshes,
1873
+ :next_token)
1874
+ SENSITIVE = []
1875
+ include Aws::Structure
1876
+ end
1877
+
1878
+ # @note When making an API call, you may pass DescribeInstanceRefreshesType
1879
+ # data as a hash:
1880
+ #
1881
+ # {
1882
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
1883
+ # instance_refresh_ids: ["XmlStringMaxLen255"],
1884
+ # next_token: "XmlString",
1885
+ # max_records: 1,
1886
+ # }
1887
+ #
1888
+ # @!attribute [rw] auto_scaling_group_name
1889
+ # The name of the Auto Scaling group.
1890
+ # @return [String]
1891
+ #
1892
+ # @!attribute [rw] instance_refresh_ids
1893
+ # One or more instance refresh IDs.
1894
+ # @return [Array<String>]
1895
+ #
1896
+ # @!attribute [rw] next_token
1897
+ # The token for the next set of items to return. (You received this
1898
+ # token from a previous call.)
1899
+ # @return [String]
1900
+ #
1901
+ # @!attribute [rw] max_records
1902
+ # The maximum number of items to return with this call. The default
1903
+ # value is `50` and the maximum value is `100`.
1904
+ # @return [Integer]
1905
+ #
1906
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeInstanceRefreshesType AWS API Documentation
1907
+ #
1908
+ class DescribeInstanceRefreshesType < Struct.new(
1909
+ :auto_scaling_group_name,
1910
+ :instance_refresh_ids,
1911
+ :next_token,
1912
+ :max_records)
1913
+ SENSITIVE = []
1773
1914
  include Aws::Structure
1774
1915
  end
1775
1916
 
@@ -1781,6 +1922,7 @@ module Aws::AutoScaling
1781
1922
  #
1782
1923
  class DescribeLifecycleHookTypesAnswer < Struct.new(
1783
1924
  :lifecycle_hook_types)
1925
+ SENSITIVE = []
1784
1926
  include Aws::Structure
1785
1927
  end
1786
1928
 
@@ -1792,6 +1934,7 @@ module Aws::AutoScaling
1792
1934
  #
1793
1935
  class DescribeLifecycleHooksAnswer < Struct.new(
1794
1936
  :lifecycle_hooks)
1937
+ SENSITIVE = []
1795
1938
  include Aws::Structure
1796
1939
  end
1797
1940
 
@@ -1817,6 +1960,7 @@ module Aws::AutoScaling
1817
1960
  class DescribeLifecycleHooksType < Struct.new(
1818
1961
  :auto_scaling_group_name,
1819
1962
  :lifecycle_hook_names)
1963
+ SENSITIVE = []
1820
1964
  include Aws::Structure
1821
1965
  end
1822
1966
 
@@ -1849,6 +1993,7 @@ module Aws::AutoScaling
1849
1993
  :auto_scaling_group_name,
1850
1994
  :next_token,
1851
1995
  :max_records)
1996
+ SENSITIVE = []
1852
1997
  include Aws::Structure
1853
1998
  end
1854
1999
 
@@ -1869,6 +2014,7 @@ module Aws::AutoScaling
1869
2014
  class DescribeLoadBalancerTargetGroupsResponse < Struct.new(
1870
2015
  :load_balancer_target_groups,
1871
2016
  :next_token)
2017
+ SENSITIVE = []
1872
2018
  include Aws::Structure
1873
2019
  end
1874
2020
 
@@ -1901,6 +2047,7 @@ module Aws::AutoScaling
1901
2047
  :auto_scaling_group_name,
1902
2048
  :next_token,
1903
2049
  :max_records)
2050
+ SENSITIVE = []
1904
2051
  include Aws::Structure
1905
2052
  end
1906
2053
 
@@ -1921,6 +2068,7 @@ module Aws::AutoScaling
1921
2068
  class DescribeLoadBalancersResponse < Struct.new(
1922
2069
  :load_balancers,
1923
2070
  :next_token)
2071
+ SENSITIVE = []
1924
2072
  include Aws::Structure
1925
2073
  end
1926
2074
 
@@ -1937,6 +2085,7 @@ module Aws::AutoScaling
1937
2085
  class DescribeMetricCollectionTypesAnswer < Struct.new(
1938
2086
  :metrics,
1939
2087
  :granularities)
2088
+ SENSITIVE = []
1940
2089
  include Aws::Structure
1941
2090
  end
1942
2091
 
@@ -1957,6 +2106,7 @@ module Aws::AutoScaling
1957
2106
  class DescribeNotificationConfigurationsAnswer < Struct.new(
1958
2107
  :notification_configurations,
1959
2108
  :next_token)
2109
+ SENSITIVE = []
1960
2110
  include Aws::Structure
1961
2111
  end
1962
2112
 
@@ -1989,6 +2139,7 @@ module Aws::AutoScaling
1989
2139
  :auto_scaling_group_names,
1990
2140
  :next_token,
1991
2141
  :max_records)
2142
+ SENSITIVE = []
1992
2143
  include Aws::Structure
1993
2144
  end
1994
2145
 
@@ -2037,6 +2188,7 @@ module Aws::AutoScaling
2037
2188
  :policy_types,
2038
2189
  :next_token,
2039
2190
  :max_records)
2191
+ SENSITIVE = []
2040
2192
  include Aws::Structure
2041
2193
  end
2042
2194
 
@@ -2079,6 +2231,7 @@ module Aws::AutoScaling
2079
2231
  :auto_scaling_group_name,
2080
2232
  :max_records,
2081
2233
  :next_token)
2234
+ SENSITIVE = []
2082
2235
  include Aws::Structure
2083
2236
  end
2084
2237
 
@@ -2134,6 +2287,7 @@ module Aws::AutoScaling
2134
2287
  :end_time,
2135
2288
  :next_token,
2136
2289
  :max_records)
2290
+ SENSITIVE = []
2137
2291
  include Aws::Structure
2138
2292
  end
2139
2293
 
@@ -2173,6 +2327,7 @@ module Aws::AutoScaling
2173
2327
  :filters,
2174
2328
  :next_token,
2175
2329
  :max_records)
2330
+ SENSITIVE = []
2176
2331
  include Aws::Structure
2177
2332
  end
2178
2333
 
@@ -2187,6 +2342,7 @@ module Aws::AutoScaling
2187
2342
  #
2188
2343
  class DescribeTerminationPolicyTypesAnswer < Struct.new(
2189
2344
  :termination_policy_types)
2345
+ SENSITIVE = []
2190
2346
  include Aws::Structure
2191
2347
  end
2192
2348
 
@@ -2199,6 +2355,7 @@ module Aws::AutoScaling
2199
2355
  #
2200
2356
  class DetachInstancesAnswer < Struct.new(
2201
2357
  :activities)
2358
+ SENSITIVE = []
2202
2359
  include Aws::Structure
2203
2360
  end
2204
2361
 
@@ -2230,6 +2387,7 @@ module Aws::AutoScaling
2230
2387
  :instance_ids,
2231
2388
  :auto_scaling_group_name,
2232
2389
  :should_decrement_desired_capacity)
2390
+ SENSITIVE = []
2233
2391
  include Aws::Structure
2234
2392
  end
2235
2393
 
@@ -2259,6 +2417,7 @@ module Aws::AutoScaling
2259
2417
  class DetachLoadBalancerTargetGroupsType < Struct.new(
2260
2418
  :auto_scaling_group_name,
2261
2419
  :target_group_arns)
2420
+ SENSITIVE = []
2262
2421
  include Aws::Structure
2263
2422
  end
2264
2423
 
@@ -2288,6 +2447,7 @@ module Aws::AutoScaling
2288
2447
  class DetachLoadBalancersType < Struct.new(
2289
2448
  :auto_scaling_group_name,
2290
2449
  :load_balancer_names)
2450
+ SENSITIVE = []
2291
2451
  include Aws::Structure
2292
2452
  end
2293
2453
 
@@ -2340,6 +2500,7 @@ module Aws::AutoScaling
2340
2500
  class DisableMetricsCollectionQuery < Struct.new(
2341
2501
  :auto_scaling_group_name,
2342
2502
  :metrics)
2503
+ SENSITIVE = []
2343
2504
  include Aws::Structure
2344
2505
  end
2345
2506
 
@@ -2361,9 +2522,9 @@ module Aws::AutoScaling
2361
2522
  # @!attribute [rw] snapshot_id
2362
2523
  # The snapshot ID of the volume to use.
2363
2524
  #
2364
- # Conditional: This parameter is optional if you specify a volume
2365
- # size. If you specify both `SnapshotId` and `VolumeSize`,
2366
- # `VolumeSize` must be equal or greater than the size of the snapshot.
2525
+ # `SnapshotId` is optional if you specify a volume size. If you
2526
+ # specify both `SnapshotId` and `VolumeSize`, the volume size must be
2527
+ # equal or greater than the size of the snapshot.
2367
2528
  # @return [String]
2368
2529
  #
2369
2530
  # @!attribute [rw] volume_size
@@ -2377,7 +2538,7 @@ module Aws::AutoScaling
2377
2538
  # Default: If you create a volume from a snapshot and you don't
2378
2539
  # specify a volume size, the default is the snapshot size.
2379
2540
  #
2380
- # <note markdown="1"> At least one of VolumeSize or SnapshotId is required.
2541
+ # <note markdown="1"> At least one of `VolumeSize` or `SnapshotId` is required.
2381
2542
  #
2382
2543
  # </note>
2383
2544
  # @return [Integer]
@@ -2407,8 +2568,8 @@ module Aws::AutoScaling
2407
2568
  # For more information, see [Amazon EBS Volume Types][1] in the
2408
2569
  # *Amazon EC2 User Guide for Linux Instances*.
2409
2570
  #
2410
- # Conditional: This parameter is required when the volume type is
2411
- # `io1`. (Not used with `standard`, `gp2`, `st1`, or `sc1` volumes.)
2571
+ # Required when the volume type is `io1`. (Not used with `standard`,
2572
+ # `gp2`, `st1`, or `sc1` volumes.)
2412
2573
  #
2413
2574
  #
2414
2575
  #
@@ -2461,6 +2622,7 @@ module Aws::AutoScaling
2461
2622
  :delete_on_termination,
2462
2623
  :iops,
2463
2624
  :encrypted)
2625
+ SENSITIVE = []
2464
2626
  include Aws::Structure
2465
2627
  end
2466
2628
 
@@ -2524,6 +2686,7 @@ module Aws::AutoScaling
2524
2686
  :auto_scaling_group_name,
2525
2687
  :metrics,
2526
2688
  :granularity)
2689
+ SENSITIVE = []
2527
2690
  include Aws::Structure
2528
2691
  end
2529
2692
 
@@ -2568,6 +2731,7 @@ module Aws::AutoScaling
2568
2731
  class EnabledMetric < Struct.new(
2569
2732
  :metric,
2570
2733
  :granularity)
2734
+ SENSITIVE = []
2571
2735
  include Aws::Structure
2572
2736
  end
2573
2737
 
@@ -2579,6 +2743,7 @@ module Aws::AutoScaling
2579
2743
  #
2580
2744
  class EnterStandbyAnswer < Struct.new(
2581
2745
  :activities)
2746
+ SENSITIVE = []
2582
2747
  include Aws::Structure
2583
2748
  end
2584
2749
 
@@ -2610,6 +2775,7 @@ module Aws::AutoScaling
2610
2775
  :instance_ids,
2611
2776
  :auto_scaling_group_name,
2612
2777
  :should_decrement_desired_capacity)
2778
+ SENSITIVE = []
2613
2779
  include Aws::Structure
2614
2780
  end
2615
2781
 
@@ -2639,8 +2805,8 @@ module Aws::AutoScaling
2639
2805
  # This parameter is not supported if the policy type is `StepScaling`
2640
2806
  # or `TargetTrackingScaling`.
2641
2807
  #
2642
- # For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
2643
- # Auto Scaling User Guide*.
2808
+ # For more information, see [Scaling Cooldowns for Amazon EC2 Auto
2809
+ # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
2644
2810
  #
2645
2811
  #
2646
2812
  #
@@ -2657,15 +2823,15 @@ module Aws::AutoScaling
2657
2823
  # If you specify a metric value that doesn't correspond to a step
2658
2824
  # adjustment for the policy, the call returns an error.
2659
2825
  #
2660
- # Conditional: This parameter is required if the policy type is
2661
- # `StepScaling` and not supported otherwise.
2826
+ # Required if the policy type is `StepScaling` and not supported
2827
+ # otherwise.
2662
2828
  # @return [Float]
2663
2829
  #
2664
2830
  # @!attribute [rw] breach_threshold
2665
2831
  # The breach threshold for the alarm.
2666
2832
  #
2667
- # Conditional: This parameter is required if the policy type is
2668
- # `StepScaling` and not supported otherwise.
2833
+ # Required if the policy type is `StepScaling` and not supported
2834
+ # otherwise.
2669
2835
  # @return [Float]
2670
2836
  #
2671
2837
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicyType AWS API Documentation
@@ -2676,6 +2842,7 @@ module Aws::AutoScaling
2676
2842
  :honor_cooldown,
2677
2843
  :metric_value,
2678
2844
  :breach_threshold)
2845
+ SENSITIVE = []
2679
2846
  include Aws::Structure
2680
2847
  end
2681
2848
 
@@ -2687,6 +2854,7 @@ module Aws::AutoScaling
2687
2854
  #
2688
2855
  class ExitStandbyAnswer < Struct.new(
2689
2856
  :activities)
2857
+ SENSITIVE = []
2690
2858
  include Aws::Structure
2691
2859
  end
2692
2860
 
@@ -2711,6 +2879,7 @@ module Aws::AutoScaling
2711
2879
  class ExitStandbyQuery < Struct.new(
2712
2880
  :instance_ids,
2713
2881
  :auto_scaling_group_name)
2882
+ SENSITIVE = []
2714
2883
  include Aws::Structure
2715
2884
  end
2716
2885
 
@@ -2735,6 +2904,7 @@ module Aws::AutoScaling
2735
2904
  :scheduled_action_name,
2736
2905
  :error_code,
2737
2906
  :error_message)
2907
+ SENSITIVE = []
2738
2908
  include Aws::Structure
2739
2909
  end
2740
2910
 
@@ -2770,6 +2940,7 @@ module Aws::AutoScaling
2770
2940
  class Filter < Struct.new(
2771
2941
  :name,
2772
2942
  :values)
2943
+ SENSITIVE = []
2773
2944
  include Aws::Structure
2774
2945
  end
2775
2946
 
@@ -2831,6 +3002,7 @@ module Aws::AutoScaling
2831
3002
  :launch_template,
2832
3003
  :protected_from_scale_in,
2833
3004
  :weighted_capacity)
3005
+ SENSITIVE = []
2834
3006
  include Aws::Structure
2835
3007
  end
2836
3008
 
@@ -2853,10 +3025,97 @@ module Aws::AutoScaling
2853
3025
  #
2854
3026
  class InstanceMonitoring < Struct.new(
2855
3027
  :enabled)
3028
+ SENSITIVE = []
2856
3029
  include Aws::Structure
2857
3030
  end
2858
3031
 
2859
- # Describes an instances distribution for an Auto Scaling group with
3032
+ # Describes an instance refresh for an Auto Scaling group.
3033
+ #
3034
+ # @!attribute [rw] instance_refresh_id
3035
+ # The instance refresh ID.
3036
+ # @return [String]
3037
+ #
3038
+ # @!attribute [rw] auto_scaling_group_name
3039
+ # The name of the Auto Scaling group.
3040
+ # @return [String]
3041
+ #
3042
+ # @!attribute [rw] status
3043
+ # The current status for the instance refresh operation:
3044
+ #
3045
+ # * `Pending` - The request was created, but the operation has not
3046
+ # started.
3047
+ #
3048
+ # * `InProgress` - The operation is in progress.
3049
+ #
3050
+ # * `Successful` - The operation completed successfully.
3051
+ #
3052
+ # * `Failed` - The operation failed to complete. You can troubleshoot
3053
+ # using the status reason and the scaling activities.
3054
+ #
3055
+ # * `Cancelling` - An ongoing operation is being cancelled.
3056
+ # Cancellation does not roll back any replacements that have already
3057
+ # been completed, but it prevents new replacements from being
3058
+ # started.
3059
+ #
3060
+ # * `Cancelled` - The operation is cancelled.
3061
+ # @return [String]
3062
+ #
3063
+ # @!attribute [rw] status_reason
3064
+ # Provides more details about the current status of the instance
3065
+ # refresh.
3066
+ # @return [String]
3067
+ #
3068
+ # @!attribute [rw] start_time
3069
+ # The date and time at which the instance refresh began.
3070
+ # @return [Time]
3071
+ #
3072
+ # @!attribute [rw] end_time
3073
+ # The date and time at which the instance refresh ended.
3074
+ # @return [Time]
3075
+ #
3076
+ # @!attribute [rw] percentage_complete
3077
+ # The percentage of the instance refresh that is complete. For each
3078
+ # instance replacement, Amazon EC2 Auto Scaling tracks the instance's
3079
+ # health status and warm-up time. When the instance's health status
3080
+ # changes to healthy and the specified warm-up time passes, the
3081
+ # instance is considered updated and added to the percentage complete.
3082
+ # @return [Integer]
3083
+ #
3084
+ # @!attribute [rw] instances_to_update
3085
+ # The number of instances remaining to update before the instance
3086
+ # refresh is complete.
3087
+ # @return [Integer]
3088
+ #
3089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceRefresh AWS API Documentation
3090
+ #
3091
+ class InstanceRefresh < Struct.new(
3092
+ :instance_refresh_id,
3093
+ :auto_scaling_group_name,
3094
+ :status,
3095
+ :status_reason,
3096
+ :start_time,
3097
+ :end_time,
3098
+ :percentage_complete,
3099
+ :instances_to_update)
3100
+ SENSITIVE = []
3101
+ include Aws::Structure
3102
+ end
3103
+
3104
+ # The request failed because an active instance refresh operation
3105
+ # already exists for the specified Auto Scaling group.
3106
+ #
3107
+ # @!attribute [rw] message
3108
+ # @return [String]
3109
+ #
3110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceRefreshInProgressFault AWS API Documentation
3111
+ #
3112
+ class InstanceRefreshInProgressFault < Struct.new(
3113
+ :message)
3114
+ SENSITIVE = []
3115
+ include Aws::Structure
3116
+ end
3117
+
3118
+ # Describes an instances distribution for an Auto Scaling group with a
2860
3119
  # MixedInstancesPolicy.
2861
3120
  #
2862
3121
  # The instances distribution specifies the distribution of On-Demand
@@ -2984,6 +3243,7 @@ module Aws::AutoScaling
2984
3243
  :spot_allocation_strategy,
2985
3244
  :spot_instance_pools,
2986
3245
  :spot_max_price)
3246
+ SENSITIVE = []
2987
3247
  include Aws::Structure
2988
3248
  end
2989
3249
 
@@ -2996,6 +3256,7 @@ module Aws::AutoScaling
2996
3256
  #
2997
3257
  class InvalidNextToken < Struct.new(
2998
3258
  :message)
3259
+ SENSITIVE = []
2999
3260
  include Aws::Structure
3000
3261
  end
3001
3262
 
@@ -3218,6 +3479,7 @@ module Aws::AutoScaling
3218
3479
  :ebs_optimized,
3219
3480
  :associate_public_ip_address,
3220
3481
  :placement_tenancy)
3482
+ SENSITIVE = []
3221
3483
  include Aws::Structure
3222
3484
  end
3223
3485
 
@@ -3236,6 +3498,7 @@ module Aws::AutoScaling
3236
3498
  #
3237
3499
  class LaunchConfigurationNameType < Struct.new(
3238
3500
  :launch_configuration_name)
3501
+ SENSITIVE = []
3239
3502
  include Aws::Structure
3240
3503
  end
3241
3504
 
@@ -3269,6 +3532,7 @@ module Aws::AutoScaling
3269
3532
  :launch_configuration_names,
3270
3533
  :next_token,
3271
3534
  :max_records)
3535
+ SENSITIVE = []
3272
3536
  include Aws::Structure
3273
3537
  end
3274
3538
 
@@ -3289,6 +3553,7 @@ module Aws::AutoScaling
3289
3553
  class LaunchConfigurationsType < Struct.new(
3290
3554
  :launch_configurations,
3291
3555
  :next_token)
3556
+ SENSITIVE = []
3292
3557
  include Aws::Structure
3293
3558
  end
3294
3559
 
@@ -3340,6 +3605,7 @@ module Aws::AutoScaling
3340
3605
  class LaunchTemplate < Struct.new(
3341
3606
  :launch_template_specification,
3342
3607
  :overrides)
3608
+ SENSITIVE = []
3343
3609
  include Aws::Structure
3344
3610
  end
3345
3611
 
@@ -3392,6 +3658,7 @@ module Aws::AutoScaling
3392
3658
  class LaunchTemplateOverrides < Struct.new(
3393
3659
  :instance_type,
3394
3660
  :weighted_capacity)
3661
+ SENSITIVE = []
3395
3662
  include Aws::Structure
3396
3663
  end
3397
3664
 
@@ -3469,6 +3736,7 @@ module Aws::AutoScaling
3469
3736
  :launch_template_id,
3470
3737
  :launch_template_name,
3471
3738
  :version)
3739
+ SENSITIVE = []
3472
3740
  include Aws::Structure
3473
3741
  end
3474
3742
 
@@ -3542,6 +3810,7 @@ module Aws::AutoScaling
3542
3810
  :heartbeat_timeout,
3543
3811
  :global_timeout,
3544
3812
  :default_result)
3813
+ SENSITIVE = []
3545
3814
  include Aws::Structure
3546
3815
  end
3547
3816
 
@@ -3651,6 +3920,7 @@ module Aws::AutoScaling
3651
3920
  :default_result,
3652
3921
  :notification_target_arn,
3653
3922
  :role_arn)
3923
+ SENSITIVE = []
3654
3924
  include Aws::Structure
3655
3925
  end
3656
3926
 
@@ -3670,6 +3940,7 @@ module Aws::AutoScaling
3670
3940
  #
3671
3941
  class LimitExceededFault < Struct.new(
3672
3942
  :message)
3943
+ SENSITIVE = []
3673
3944
  include Aws::Structure
3674
3945
  end
3675
3946
 
@@ -3716,6 +3987,7 @@ module Aws::AutoScaling
3716
3987
  class LoadBalancerState < Struct.new(
3717
3988
  :load_balancer_name,
3718
3989
  :state)
3990
+ SENSITIVE = []
3719
3991
  include Aws::Structure
3720
3992
  end
3721
3993
 
@@ -3759,6 +4031,7 @@ module Aws::AutoScaling
3759
4031
  class LoadBalancerTargetGroupState < Struct.new(
3760
4032
  :load_balancer_target_group_arn,
3761
4033
  :state)
4034
+ SENSITIVE = []
3762
4035
  include Aws::Structure
3763
4036
  end
3764
4037
 
@@ -3788,6 +4061,7 @@ module Aws::AutoScaling
3788
4061
  #
3789
4062
  class MetricCollectionType < Struct.new(
3790
4063
  :metric)
4064
+ SENSITIVE = []
3791
4065
  include Aws::Structure
3792
4066
  end
3793
4067
 
@@ -3814,6 +4088,7 @@ module Aws::AutoScaling
3814
4088
  class MetricDimension < Struct.new(
3815
4089
  :name,
3816
4090
  :value)
4091
+ SENSITIVE = []
3817
4092
  include Aws::Structure
3818
4093
  end
3819
4094
 
@@ -3827,6 +4102,7 @@ module Aws::AutoScaling
3827
4102
  #
3828
4103
  class MetricGranularityType < Struct.new(
3829
4104
  :granularity)
4105
+ SENSITIVE = []
3830
4106
  include Aws::Structure
3831
4107
  end
3832
4108
 
@@ -3840,7 +4116,7 @@ module Aws::AutoScaling
3840
4116
  # You can create a mixed instances policy for a new Auto Scaling group,
3841
4117
  # or you can create it for an existing group by updating the group to
3842
4118
  # specify `MixedInstancesPolicy` as the top-level parameter instead of a
3843
- # launch configuration or template. For more information, see
4119
+ # launch configuration or launch template. For more information, see
3844
4120
  # CreateAutoScalingGroup and UpdateAutoScalingGroup.
3845
4121
  #
3846
4122
  #
@@ -3877,8 +4153,7 @@ module Aws::AutoScaling
3877
4153
  # @!attribute [rw] launch_template
3878
4154
  # The launch template and instance types (overrides).
3879
4155
  #
3880
- # This parameter must be specified when creating a mixed instances
3881
- # policy.
4156
+ # Required when creating a mixed instances policy.
3882
4157
  # @return [Types::LaunchTemplate]
3883
4158
  #
3884
4159
  # @!attribute [rw] instances_distribution
@@ -3893,6 +4168,7 @@ module Aws::AutoScaling
3893
4168
  class MixedInstancesPolicy < Struct.new(
3894
4169
  :launch_template,
3895
4170
  :instances_distribution)
4171
+ SENSITIVE = []
3896
4172
  include Aws::Structure
3897
4173
  end
3898
4174
 
@@ -3927,6 +4203,7 @@ module Aws::AutoScaling
3927
4203
  :auto_scaling_group_name,
3928
4204
  :topic_arn,
3929
4205
  :notification_type)
4206
+ SENSITIVE = []
3930
4207
  include Aws::Structure
3931
4208
  end
3932
4209
 
@@ -3947,6 +4224,7 @@ module Aws::AutoScaling
3947
4224
  class PoliciesType < Struct.new(
3948
4225
  :scaling_policies,
3949
4226
  :next_token)
4227
+ SENSITIVE = []
3950
4228
  include Aws::Structure
3951
4229
  end
3952
4230
 
@@ -3966,6 +4244,7 @@ module Aws::AutoScaling
3966
4244
  class PolicyARNType < Struct.new(
3967
4245
  :policy_arn,
3968
4246
  :alarms)
4247
+ SENSITIVE = []
3969
4248
  include Aws::Structure
3970
4249
  end
3971
4250
 
@@ -4002,7 +4281,9 @@ module Aws::AutoScaling
4002
4281
  # `ALBRequestCountPerTarget` and there is a target group attached to
4003
4282
  # the Auto Scaling group.
4004
4283
  #
4005
- # The format is
4284
+ # Elastic Load Balancing sends data about your load balancers to
4285
+ # Amazon CloudWatch. CloudWatch collects the data and specifies the
4286
+ # format to use to access the data. The format is
4006
4287
  # `app/load-balancer-name/load-balancer-id/targetgroup/target-group-name/target-group-id
4007
4288
  # `, where
4008
4289
  #
@@ -4011,6 +4292,15 @@ module Aws::AutoScaling
4011
4292
  #
4012
4293
  # * `targetgroup/target-group-name/target-group-id ` is the final
4013
4294
  # portion of the target group ARN.
4295
+ #
4296
+ # To find the ARN for an Application Load Balancer, use the
4297
+ # [DescribeLoadBalancers][1] API operation. To find the ARN for the
4298
+ # target group, use the [DescribeTargetGroups][2] API operation.
4299
+ #
4300
+ #
4301
+ #
4302
+ # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html
4303
+ # [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html
4014
4304
  # @return [String]
4015
4305
  #
4016
4306
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PredefinedMetricSpecification AWS API Documentation
@@ -4018,6 +4308,7 @@ module Aws::AutoScaling
4018
4308
  class PredefinedMetricSpecification < Struct.new(
4019
4309
  :predefined_metric_type,
4020
4310
  :resource_label)
4311
+ SENSITIVE = []
4021
4312
  include Aws::Structure
4022
4313
  end
4023
4314
 
@@ -4045,6 +4336,8 @@ module Aws::AutoScaling
4045
4336
  #
4046
4337
  # * `HealthCheck`
4047
4338
  #
4339
+ # * `InstanceRefresh`
4340
+ #
4048
4341
  # * `ReplaceUnhealthy`
4049
4342
  #
4050
4343
  # * `ScheduledActions`
@@ -4054,6 +4347,7 @@ module Aws::AutoScaling
4054
4347
  #
4055
4348
  class ProcessType < Struct.new(
4056
4349
  :process_name)
4350
+ SENSITIVE = []
4057
4351
  include Aws::Structure
4058
4352
  end
4059
4353
 
@@ -4065,6 +4359,7 @@ module Aws::AutoScaling
4065
4359
  #
4066
4360
  class ProcessesType < Struct.new(
4067
4361
  :processes)
4362
+ SENSITIVE = []
4068
4363
  include Aws::Structure
4069
4364
  end
4070
4365
 
@@ -4102,8 +4397,8 @@ module Aws::AutoScaling
4102
4397
  #
4103
4398
  # * autoscaling:EC2\_INSTANCE\_TERMINATING
4104
4399
  #
4105
- # Conditional: This parameter is required for new lifecycle hooks, but
4106
- # optional when updating existing hooks.
4400
+ # Required for new lifecycle hooks, but optional when updating
4401
+ # existing hooks.
4107
4402
  # @return [String]
4108
4403
  #
4109
4404
  # @!attribute [rw] role_arn
@@ -4111,8 +4406,8 @@ module Aws::AutoScaling
4111
4406
  # publish to the specified notification target, for example, an Amazon
4112
4407
  # SNS topic or an Amazon SQS queue.
4113
4408
  #
4114
- # Conditional: This parameter is required for new lifecycle hooks, but
4115
- # optional when updating existing hooks.
4409
+ # Required for new lifecycle hooks, but optional when updating
4410
+ # existing hooks.
4116
4411
  # @return [String]
4117
4412
  #
4118
4413
  # @!attribute [rw] notification_target_arn
@@ -4167,6 +4462,7 @@ module Aws::AutoScaling
4167
4462
  :notification_metadata,
4168
4463
  :heartbeat_timeout,
4169
4464
  :default_result)
4465
+ SENSITIVE = []
4170
4466
  include Aws::Structure
4171
4467
  end
4172
4468
 
@@ -4200,6 +4496,7 @@ module Aws::AutoScaling
4200
4496
  :auto_scaling_group_name,
4201
4497
  :topic_arn,
4202
4498
  :notification_types)
4499
+ SENSITIVE = []
4203
4500
  include Aws::Structure
4204
4501
  end
4205
4502
 
@@ -4256,19 +4553,23 @@ module Aws::AutoScaling
4256
4553
  # @return [String]
4257
4554
  #
4258
4555
  # @!attribute [rw] policy_type
4259
- # The policy type. The valid values are `SimpleScaling`,
4260
- # `StepScaling`, and `TargetTrackingScaling`. If the policy type is
4261
- # null, the value is treated as `SimpleScaling`.
4556
+ # One of the following policy types:
4557
+ #
4558
+ # * `TargetTrackingScaling`
4559
+ #
4560
+ # * `StepScaling`
4561
+ #
4562
+ # * `SimpleScaling` (default)
4262
4563
  # @return [String]
4263
4564
  #
4264
4565
  # @!attribute [rw] adjustment_type
4265
- # Specifies whether the `ScalingAdjustment` parameter is an absolute
4266
- # number or a percentage of the current capacity. The valid values are
4566
+ # Specifies how the scaling adjustment is interpreted (either an
4567
+ # absolute number or a percentage). The valid values are
4267
4568
  # `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
4268
4569
  #
4269
- # Valid only if the policy type is `StepScaling` or `SimpleScaling`.
4270
- # For more information, see [Scaling Adjustment Types][1] in the
4271
- # *Amazon EC2 Auto Scaling User Guide*.
4570
+ # Required if the policy type is `StepScaling` or `SimpleScaling`. For
4571
+ # more information, see [Scaling Adjustment Types][1] in the *Amazon
4572
+ # EC2 Auto Scaling User Guide*.
4272
4573
  #
4273
4574
  #
4274
4575
  #
@@ -4281,18 +4582,23 @@ module Aws::AutoScaling
4281
4582
  # @return [Integer]
4282
4583
  #
4283
4584
  # @!attribute [rw] min_adjustment_magnitude
4284
- # The minimum value to scale by when scaling by percentages. For
4285
- # example, suppose that you create a step scaling policy to scale out
4286
- # an Auto Scaling group by 25 percent and you specify a
4287
- # `MinAdjustmentMagnitude` of 2. If the group has 4 instances and the
4288
- # scaling policy is performed, 25 percent of 4 is 1. However, because
4289
- # you specified a `MinAdjustmentMagnitude` of 2, Amazon EC2 Auto
4290
- # Scaling scales out the group by 2 instances.
4291
- #
4292
- # Valid only if the policy type is `StepScaling` or `SimpleScaling`
4293
- # and the adjustment type is `PercentChangeInCapacity`. For more
4294
- # information, see [Scaling Adjustment Types][1] in the *Amazon EC2
4295
- # Auto Scaling User Guide*.
4585
+ # The minimum value to scale by when the adjustment type is
4586
+ # `PercentChangeInCapacity`. For example, suppose that you create a
4587
+ # step scaling policy to scale out an Auto Scaling group by 25 percent
4588
+ # and you specify a `MinAdjustmentMagnitude` of 2. If the group has 4
4589
+ # instances and the scaling policy is performed, 25 percent of 4 is 1.
4590
+ # However, because you specified a `MinAdjustmentMagnitude` of 2,
4591
+ # Amazon EC2 Auto Scaling scales out the group by 2 instances.
4592
+ #
4593
+ # Valid only if the policy type is `StepScaling` or `SimpleScaling`.
4594
+ # For more information, see [Scaling Adjustment Types][1] in the
4595
+ # *Amazon EC2 Auto Scaling User Guide*.
4596
+ #
4597
+ # <note markdown="1"> Some Auto Scaling groups use instance weights. In this case, set the
4598
+ # `MinAdjustmentMagnitude` to a value that is at least as large as
4599
+ # your largest instance weight.
4600
+ #
4601
+ # </note>
4296
4602
  #
4297
4603
  #
4298
4604
  #
@@ -4300,26 +4606,23 @@ module Aws::AutoScaling
4300
4606
  # @return [Integer]
4301
4607
  #
4302
4608
  # @!attribute [rw] scaling_adjustment
4303
- # The amount by which a simple scaling policy scales the Auto Scaling
4304
- # group in response to an alarm breach. The adjustment is based on the
4305
- # value that you specified in the `AdjustmentType` parameter (either
4306
- # an absolute number or a percentage). A positive value adds to the
4307
- # current capacity and a negative value subtracts from the current
4308
- # capacity. For exact capacity, you must specify a positive value.
4309
- #
4310
- # Conditional: If you specify `SimpleScaling` for the policy type, you
4311
- # must specify this parameter. (Not used with any other policy type.)
4609
+ # The amount by which to scale, based on the specified adjustment
4610
+ # type. A positive value adds to the current capacity while a negative
4611
+ # number removes from the current capacity. For exact capacity, you
4612
+ # must specify a positive value.
4613
+ #
4614
+ # Required if the policy type is `SimpleScaling`. (Not used with any
4615
+ # other policy type.)
4312
4616
  # @return [Integer]
4313
4617
  #
4314
4618
  # @!attribute [rw] cooldown
4315
- # The amount of time, in seconds, after a scaling activity completes
4316
- # before any further dynamic scaling activities can start. If this
4317
- # parameter is not specified, the default cooldown period for the
4318
- # group applies.
4619
+ # The duration of the policy's cooldown period, in seconds. When a
4620
+ # cooldown period is specified here, it overrides the default cooldown
4621
+ # period defined for the Auto Scaling group.
4319
4622
  #
4320
4623
  # Valid only if the policy type is `SimpleScaling`. For more
4321
- # information, see [Scaling Cooldowns][1] in the *Amazon EC2 Auto
4322
- # Scaling User Guide*.
4624
+ # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1]
4625
+ # in the *Amazon EC2 Auto Scaling User Guide*.
4323
4626
  #
4324
4627
  #
4325
4628
  #
@@ -4338,29 +4641,42 @@ module Aws::AutoScaling
4338
4641
  # A set of adjustments that enable you to scale based on the size of
4339
4642
  # the alarm breach.
4340
4643
  #
4341
- # Conditional: If you specify `StepScaling` for the policy type, you
4342
- # must specify this parameter. (Not used with any other policy type.)
4644
+ # Required if the policy type is `StepScaling`. (Not used with any
4645
+ # other policy type.)
4343
4646
  # @return [Array<Types::StepAdjustment>]
4344
4647
  #
4345
4648
  # @!attribute [rw] estimated_instance_warmup
4346
4649
  # The estimated time, in seconds, until a newly launched instance can
4347
- # contribute to the CloudWatch metrics. The default is to use the
4348
- # value specified for the default cooldown period for the group.
4650
+ # contribute to the CloudWatch metrics. If not provided, the default
4651
+ # is to use the value from the default cooldown period for the Auto
4652
+ # Scaling group.
4349
4653
  #
4350
- # Valid only if the policy type is `StepScaling` or
4351
- # `TargetTrackingScaling`.
4654
+ # Valid only if the policy type is `TargetTrackingScaling` or
4655
+ # `StepScaling`.
4352
4656
  # @return [Integer]
4353
4657
  #
4354
4658
  # @!attribute [rw] target_tracking_configuration
4355
4659
  # A target tracking scaling policy. Includes support for predefined or
4356
4660
  # customized metrics.
4357
4661
  #
4662
+ # The following predefined metrics are available:
4663
+ #
4664
+ # * `ASGAverageCPUUtilization`
4665
+ #
4666
+ # * `ASGAverageNetworkIn`
4667
+ #
4668
+ # * `ASGAverageNetworkOut`
4669
+ #
4670
+ # * `ALBRequestCountPerTarget`
4671
+ #
4672
+ # If you specify `ALBRequestCountPerTarget` for the metric, you must
4673
+ # specify the `ResourceLabel` parameter with the
4674
+ # `PredefinedMetricSpecification`.
4675
+ #
4358
4676
  # For more information, see [TargetTrackingConfiguration][1] in the
4359
4677
  # *Amazon EC2 Auto Scaling API Reference*.
4360
4678
  #
4361
- # Conditional: If you specify `TargetTrackingScaling` for the policy
4362
- # type, you must specify this parameter. (Not used with any other
4363
- # policy type.)
4679
+ # Required if the policy type is `TargetTrackingScaling`.
4364
4680
  #
4365
4681
  #
4366
4682
  #
@@ -4394,6 +4710,7 @@ module Aws::AutoScaling
4394
4710
  :estimated_instance_warmup,
4395
4711
  :target_tracking_configuration,
4396
4712
  :enabled)
4713
+ SENSITIVE = []
4397
4714
  include Aws::Structure
4398
4715
  end
4399
4716
 
@@ -4485,6 +4802,7 @@ module Aws::AutoScaling
4485
4802
  :min_size,
4486
4803
  :max_size,
4487
4804
  :desired_capacity)
4805
+ SENSITIVE = []
4488
4806
  include Aws::Structure
4489
4807
  end
4490
4808
 
@@ -4528,6 +4846,41 @@ module Aws::AutoScaling
4528
4846
  :auto_scaling_group_name,
4529
4847
  :lifecycle_action_token,
4530
4848
  :instance_id)
4849
+ SENSITIVE = []
4850
+ include Aws::Structure
4851
+ end
4852
+
4853
+ # Describes information used to start an instance refresh.
4854
+ #
4855
+ # @note When making an API call, you may pass RefreshPreferences
4856
+ # data as a hash:
4857
+ #
4858
+ # {
4859
+ # min_healthy_percentage: 1,
4860
+ # instance_warmup: 1,
4861
+ # }
4862
+ #
4863
+ # @!attribute [rw] min_healthy_percentage
4864
+ # The amount of capacity in the Auto Scaling group that must remain
4865
+ # healthy during an instance refresh to allow the operation to
4866
+ # continue, as a percentage of the desired capacity of the Auto
4867
+ # Scaling group (rounded up to the nearest integer). The default is
4868
+ # `90`.
4869
+ # @return [Integer]
4870
+ #
4871
+ # @!attribute [rw] instance_warmup
4872
+ # The number of seconds until a newly launched instance is configured
4873
+ # and ready to use. During this time, Amazon EC2 Auto Scaling does not
4874
+ # immediately move on to the next replacement. The default is to use
4875
+ # the value for the health check grace period defined for the group.
4876
+ # @return [Integer]
4877
+ #
4878
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RefreshPreferences AWS API Documentation
4879
+ #
4880
+ class RefreshPreferences < Struct.new(
4881
+ :min_healthy_percentage,
4882
+ :instance_warmup)
4883
+ SENSITIVE = []
4531
4884
  include Aws::Structure
4532
4885
  end
4533
4886
 
@@ -4542,6 +4895,7 @@ module Aws::AutoScaling
4542
4895
  #
4543
4896
  class ResourceContentionFault < Struct.new(
4544
4897
  :message)
4898
+ SENSITIVE = []
4545
4899
  include Aws::Structure
4546
4900
  end
4547
4901
 
@@ -4554,6 +4908,7 @@ module Aws::AutoScaling
4554
4908
  #
4555
4909
  class ResourceInUseFault < Struct.new(
4556
4910
  :message)
4911
+ SENSITIVE = []
4557
4912
  include Aws::Structure
4558
4913
  end
4559
4914
 
@@ -4567,6 +4922,7 @@ module Aws::AutoScaling
4567
4922
  #
4568
4923
  class ScalingActivityInProgressFault < Struct.new(
4569
4924
  :message)
4925
+ SENSITIVE = []
4570
4926
  include Aws::Structure
4571
4927
  end
4572
4928
 
@@ -4585,14 +4941,28 @@ module Aws::AutoScaling
4585
4941
  # @return [String]
4586
4942
  #
4587
4943
  # @!attribute [rw] policy_type
4588
- # The policy type. The valid values are `SimpleScaling`,
4589
- # `StepScaling`, and `TargetTrackingScaling`.
4944
+ # One of the following policy types:
4945
+ #
4946
+ # * `TargetTrackingScaling`
4947
+ #
4948
+ # * `StepScaling`
4949
+ #
4950
+ # * `SimpleScaling` (default)
4951
+ #
4952
+ # For more information, see [Target Tracking Scaling Policies][1] and
4953
+ # [Step and Simple Scaling Policies][2] in the *Amazon EC2 Auto
4954
+ # Scaling User Guide*.
4955
+ #
4956
+ #
4957
+ #
4958
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html
4959
+ # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html
4590
4960
  # @return [String]
4591
4961
  #
4592
4962
  # @!attribute [rw] adjustment_type
4593
- # The adjustment type, which specifies how `ScalingAdjustment` is
4594
- # interpreted. The valid values are `ChangeInCapacity`,
4595
- # `ExactCapacity`, and `PercentChangeInCapacity`.
4963
+ # Specifies how the scaling adjustment is interpreted (either an
4964
+ # absolute number or a percentage). The valid values are
4965
+ # `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
4596
4966
  # @return [String]
4597
4967
  #
4598
4968
  # @!attribute [rw] min_adjustment_step
@@ -4601,10 +4971,8 @@ module Aws::AutoScaling
4601
4971
  # @return [Integer]
4602
4972
  #
4603
4973
  # @!attribute [rw] min_adjustment_magnitude
4604
- # The minimum number of instances to scale. If the value of
4605
- # `AdjustmentType` is `PercentChangeInCapacity`, the scaling policy
4606
- # changes the `DesiredCapacity` of the Auto Scaling group by at least
4607
- # this many instances. Otherwise, the error is `ValidationError`.
4974
+ # The minimum value to scale by when the adjustment type is
4975
+ # `PercentChangeInCapacity`.
4608
4976
  # @return [Integer]
4609
4977
  #
4610
4978
  # @!attribute [rw] scaling_adjustment
@@ -4614,8 +4982,7 @@ module Aws::AutoScaling
4614
4982
  # @return [Integer]
4615
4983
  #
4616
4984
  # @!attribute [rw] cooldown
4617
- # The amount of time, in seconds, after a scaling activity completes
4618
- # before any further dynamic scaling activities can start.
4985
+ # The duration of the policy's cooldown period, in seconds.
4619
4986
  # @return [Integer]
4620
4987
  #
4621
4988
  # @!attribute [rw] step_adjustments
@@ -4664,6 +5031,7 @@ module Aws::AutoScaling
4664
5031
  :alarms,
4665
5032
  :target_tracking_configuration,
4666
5033
  :enabled)
5034
+ SENSITIVE = []
4667
5035
  include Aws::Structure
4668
5036
  end
4669
5037
 
@@ -4680,24 +5048,27 @@ module Aws::AutoScaling
4680
5048
  # @return [String]
4681
5049
  #
4682
5050
  # @!attribute [rw] scaling_processes
4683
- # One or more of the following processes. If you omit this parameter,
4684
- # all processes are specified.
5051
+ # One or more of the following processes:
4685
5052
  #
4686
5053
  # * `Launch`
4687
5054
  #
4688
5055
  # * `Terminate`
4689
5056
  #
4690
- # * `HealthCheck`
5057
+ # * `AddToLoadBalancer`
4691
5058
  #
4692
- # * `ReplaceUnhealthy`
5059
+ # * `AlarmNotification`
4693
5060
  #
4694
5061
  # * `AZRebalance`
4695
5062
  #
4696
- # * `AlarmNotification`
5063
+ # * `HealthCheck`
5064
+ #
5065
+ # * `InstanceRefresh`
5066
+ #
5067
+ # * `ReplaceUnhealthy`
4697
5068
  #
4698
5069
  # * `ScheduledActions`
4699
5070
  #
4700
- # * `AddToLoadBalancer`
5071
+ # If you omit this parameter, all processes are specified.
4701
5072
  # @return [Array<String>]
4702
5073
  #
4703
5074
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingProcessQuery AWS API Documentation
@@ -4705,6 +5076,7 @@ module Aws::AutoScaling
4705
5076
  class ScalingProcessQuery < Struct.new(
4706
5077
  :auto_scaling_group_name,
4707
5078
  :scaling_processes)
5079
+ SENSITIVE = []
4708
5080
  include Aws::Structure
4709
5081
  end
4710
5082
 
@@ -4725,6 +5097,7 @@ module Aws::AutoScaling
4725
5097
  class ScheduledActionsType < Struct.new(
4726
5098
  :scheduled_update_group_actions,
4727
5099
  :next_token)
5100
+ SENSITIVE = []
4728
5101
  include Aws::Structure
4729
5102
  end
4730
5103
 
@@ -4790,6 +5163,7 @@ module Aws::AutoScaling
4790
5163
  :min_size,
4791
5164
  :max_size,
4792
5165
  :desired_capacity)
5166
+ SENSITIVE = []
4793
5167
  include Aws::Structure
4794
5168
  end
4795
5169
 
@@ -4874,6 +5248,7 @@ module Aws::AutoScaling
4874
5248
  :min_size,
4875
5249
  :max_size,
4876
5250
  :desired_capacity)
5251
+ SENSITIVE = []
4877
5252
  include Aws::Structure
4878
5253
  end
4879
5254
 
@@ -4886,6 +5261,7 @@ module Aws::AutoScaling
4886
5261
  #
4887
5262
  class ServiceLinkedRoleFailure < Struct.new(
4888
5263
  :message)
5264
+ SENSITIVE = []
4889
5265
  include Aws::Structure
4890
5266
  end
4891
5267
 
@@ -4922,6 +5298,7 @@ module Aws::AutoScaling
4922
5298
  :auto_scaling_group_name,
4923
5299
  :desired_capacity,
4924
5300
  :honor_cooldown)
5301
+ SENSITIVE = []
4925
5302
  include Aws::Structure
4926
5303
  end
4927
5304
 
@@ -4966,6 +5343,7 @@ module Aws::AutoScaling
4966
5343
  :instance_id,
4967
5344
  :health_status,
4968
5345
  :should_respect_grace_period)
5346
+ SENSITIVE = []
4969
5347
  include Aws::Structure
4970
5348
  end
4971
5349
 
@@ -5001,6 +5379,73 @@ module Aws::AutoScaling
5001
5379
  :instance_ids,
5002
5380
  :auto_scaling_group_name,
5003
5381
  :protected_from_scale_in)
5382
+ SENSITIVE = []
5383
+ include Aws::Structure
5384
+ end
5385
+
5386
+ # @!attribute [rw] instance_refresh_id
5387
+ # A unique ID for tracking the progress of the request.
5388
+ # @return [String]
5389
+ #
5390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StartInstanceRefreshAnswer AWS API Documentation
5391
+ #
5392
+ class StartInstanceRefreshAnswer < Struct.new(
5393
+ :instance_refresh_id)
5394
+ SENSITIVE = []
5395
+ include Aws::Structure
5396
+ end
5397
+
5398
+ # @note When making an API call, you may pass StartInstanceRefreshType
5399
+ # data as a hash:
5400
+ #
5401
+ # {
5402
+ # auto_scaling_group_name: "XmlStringMaxLen255", # required
5403
+ # strategy: "Rolling", # accepts Rolling
5404
+ # preferences: {
5405
+ # min_healthy_percentage: 1,
5406
+ # instance_warmup: 1,
5407
+ # },
5408
+ # }
5409
+ #
5410
+ # @!attribute [rw] auto_scaling_group_name
5411
+ # The name of the Auto Scaling group.
5412
+ # @return [String]
5413
+ #
5414
+ # @!attribute [rw] strategy
5415
+ # The strategy to use for the instance refresh. The only valid value
5416
+ # is `Rolling`.
5417
+ #
5418
+ # A rolling update is an update that is applied to all instances in an
5419
+ # Auto Scaling group until all instances have been updated. A rolling
5420
+ # update can fail due to failed health checks or if instances are on
5421
+ # standby or are protected from scale in. If the rolling update
5422
+ # process fails, any instances that were already replaced are not
5423
+ # rolled back to their previous configuration.
5424
+ # @return [String]
5425
+ #
5426
+ # @!attribute [rw] preferences
5427
+ # Set of preferences associated with the instance refresh request.
5428
+ #
5429
+ # If not provided, the default values are used. For
5430
+ # `MinHealthyPercentage`, the default value is `90`. For
5431
+ # `InstanceWarmup`, the default is to use the value specified for the
5432
+ # health check grace period for the Auto Scaling group.
5433
+ #
5434
+ # For more information, see [RefreshPreferences][1] in the *Amazon EC2
5435
+ # Auto Scaling API Reference*.
5436
+ #
5437
+ #
5438
+ #
5439
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_RefreshPreferences.html
5440
+ # @return [Types::RefreshPreferences]
5441
+ #
5442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StartInstanceRefreshType AWS API Documentation
5443
+ #
5444
+ class StartInstanceRefreshType < Struct.new(
5445
+ :auto_scaling_group_name,
5446
+ :strategy,
5447
+ :preferences)
5448
+ SENSITIVE = []
5004
5449
  include Aws::Structure
5005
5450
  end
5006
5451
 
@@ -5081,6 +5526,7 @@ module Aws::AutoScaling
5081
5526
  :metric_interval_lower_bound,
5082
5527
  :metric_interval_upper_bound,
5083
5528
  :scaling_adjustment)
5529
+ SENSITIVE = []
5084
5530
  include Aws::Structure
5085
5531
  end
5086
5532
 
@@ -5106,6 +5552,7 @@ module Aws::AutoScaling
5106
5552
  class SuspendedProcess < Struct.new(
5107
5553
  :process_name,
5108
5554
  :suspension_reason)
5555
+ SENSITIVE = []
5109
5556
  include Aws::Structure
5110
5557
  end
5111
5558
 
@@ -5152,6 +5599,7 @@ module Aws::AutoScaling
5152
5599
  :key,
5153
5600
  :value,
5154
5601
  :propagate_at_launch)
5602
+ SENSITIVE = []
5155
5603
  include Aws::Structure
5156
5604
  end
5157
5605
 
@@ -5187,6 +5635,7 @@ module Aws::AutoScaling
5187
5635
  :key,
5188
5636
  :value,
5189
5637
  :propagate_at_launch)
5638
+ SENSITIVE = []
5190
5639
  include Aws::Structure
5191
5640
  end
5192
5641
 
@@ -5207,6 +5656,7 @@ module Aws::AutoScaling
5207
5656
  class TagsType < Struct.new(
5208
5657
  :tags,
5209
5658
  :next_token)
5659
+ SENSITIVE = []
5210
5660
  include Aws::Structure
5211
5661
  end
5212
5662
 
@@ -5266,6 +5716,7 @@ module Aws::AutoScaling
5266
5716
  :customized_metric_specification,
5267
5717
  :target_value,
5268
5718
  :disable_scale_in)
5719
+ SENSITIVE = []
5269
5720
  include Aws::Structure
5270
5721
  end
5271
5722
 
@@ -5291,6 +5742,7 @@ module Aws::AutoScaling
5291
5742
  class TerminateInstanceInAutoScalingGroupType < Struct.new(
5292
5743
  :instance_id,
5293
5744
  :should_decrement_desired_capacity)
5745
+ SENSITIVE = []
5294
5746
  include Aws::Structure
5295
5747
  end
5296
5748
 
@@ -5413,13 +5865,12 @@ module Aws::AutoScaling
5413
5865
  # @!attribute [rw] default_cooldown
5414
5866
  # The amount of time, in seconds, after a scaling activity completes
5415
5867
  # before another scaling activity can start. The default value is
5416
- # `300`. This cooldown period is not used when a scaling-specific
5417
- # cooldown is specified.
5868
+ # `300`.
5418
5869
  #
5419
- # Cooldown periods are not supported for target tracking scaling
5420
- # policies, step scaling policies, or scheduled scaling. For more
5421
- # information, see [Scaling Cooldowns][1] in the *Amazon EC2 Auto
5422
- # Scaling User Guide*.
5870
+ # This setting applies when using simple scaling policies, but not
5871
+ # when using other scaling policies or scheduled scaling. For more
5872
+ # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1]
5873
+ # in the *Amazon EC2 Auto Scaling User Guide*.
5423
5874
  #
5424
5875
  #
5425
5876
  #
@@ -5445,8 +5896,7 @@ module Aws::AutoScaling
5445
5896
  # For more information, see [Health Check Grace Period][1] in the
5446
5897
  # *Amazon EC2 Auto Scaling User Guide*.
5447
5898
  #
5448
- # Conditional: This parameter is required if you are adding an `ELB`
5449
- # health check.
5899
+ # Required if you are adding an `ELB` health check.
5450
5900
  #
5451
5901
  #
5452
5902
  #
@@ -5551,6 +6001,7 @@ module Aws::AutoScaling
5551
6001
  :new_instances_protected_from_scale_in,
5552
6002
  :service_linked_role_arn,
5553
6003
  :max_instance_lifetime)
6004
+ SENSITIVE = []
5554
6005
  include Aws::Structure
5555
6006
  end
5556
6007