You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-auto-scaling/src/AutoScaling.ts
+33-20Lines changed: 33 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -559,9 +559,14 @@ export class AutoScaling extends AutoScalingClient {
559
559
* group:</p>
560
560
* <ol>
561
561
* <li>
562
-
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to
563
-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
564
-
* instances.</p>
562
+
* <p>(Optional) Create a launch template or launch configuration with a user data
563
+
* script that runs while an instance is in a wait state due to a lifecycle
564
+
* hook.</p>
565
+
* </li>
566
+
* <li>
567
+
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke
568
+
* your Lambda function when an instance is put into a wait state due to a
569
+
* lifecycle hook.</p>
565
570
* </li>
566
571
* <li>
567
572
* <p>(Optional) Create a notification target and an IAM role. The target can be
@@ -574,7 +579,7 @@ export class AutoScaling extends AutoScalingClient {
574
579
* </li>
575
580
* <li>
576
581
* <p>If you need more time, record the lifecycle action heartbeat to keep the
577
-
* instance in a pending state.</p>
582
+
* instance in a wait state.</p>
578
583
* </li>
579
584
* <li>
580
585
* <p>
@@ -620,8 +625,7 @@ export class AutoScaling extends AutoScalingClient {
620
625
* <p>
621
626
* <b>We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
622
627
* </p>
623
-
* <p>Creates an Auto Scaling group with
624
-
* the specified name and attributes. </p>
628
+
* <p>Creates an Auto Scaling group with the specified name and attributes. </p>
625
629
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
626
630
* call the <a>DescribeAccountLimits</a> API. For information about updating
627
631
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
@@ -1762,7 +1766,7 @@ export class AutoScaling extends AutoScalingClient {
1762
1766
/**
1763
1767
* <p>Gets information about a warm pool and its instances.</p>
1764
1768
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
1765
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1769
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1766
1770
*/
1767
1771
publicdescribeWarmPool(
1768
1772
args: DescribeWarmPoolCommandInput,
@@ -2112,16 +2116,21 @@ export class AutoScaling extends AutoScalingClient {
2112
2116
2113
2117
/**
2114
2118
* <p>Creates or updates a lifecycle hook for the specified Auto Scaling group.</p>
2115
-
* <p>A lifecycle hook enables an Auto Scaling group to be aware of events in the Auto Scaling instance
2116
-
* lifecycle, and then perform a custom action when the corresponding lifecycle event
2117
-
* occurs.</p>
2119
+
* <p>Lifecycle hooks let you create solutions that are aware of events in the Auto Scaling instance
2120
+
* lifecycle, and then perform a custom action on instances when the corresponding
2121
+
* lifecycle event occurs.</p>
2118
2122
* <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
2119
2123
* group:</p>
2120
2124
* <ol>
2121
2125
* <li>
2122
-
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to
2123
-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
2124
-
* instances.</p>
2126
+
* <p>(Optional) Create a launch template or launch configuration with a user data
2127
+
* script that runs while an instance is in a wait state due to a lifecycle
2128
+
* hook.</p>
2129
+
* </li>
2130
+
* <li>
2131
+
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke
2132
+
* your Lambda function when an instance is put into a wait state due to a
2133
+
* lifecycle hook.</p>
2125
2134
* </li>
2126
2135
* <li>
2127
2136
* <p>(Optional) Create a notification target and an IAM role. The target can be
@@ -2136,7 +2145,7 @@ export class AutoScaling extends AutoScalingClient {
2136
2145
* </li>
2137
2146
* <li>
2138
2147
* <p>If you need more time, record the lifecycle action heartbeat to keep the
2139
-
* instance in a pending state using the <a>RecordLifecycleActionHeartbeat</a> API call.</p>
2148
+
* instance in a wait state using the <a>RecordLifecycleActionHeartbeat</a> API call.</p>
2140
2149
* </li>
2141
2150
* <li>
2142
2151
* <p>If you finish before the timeout period ends, send a callback by using the
@@ -2338,9 +2347,14 @@ export class AutoScaling extends AutoScalingClient {
2338
2347
* group:</p>
2339
2348
* <ol>
2340
2349
* <li>
2341
-
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to
2342
-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
2343
-
* instances.</p>
2350
+
* <p>(Optional) Create a launch template or launch configuration with a user data
2351
+
* script that runs while an instance is in a wait state due to a lifecycle
2352
+
* hook.</p>
2353
+
* </li>
2354
+
* <li>
2355
+
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke
2356
+
* your Lambda function when an instance is put into a wait state due to a
2357
+
* lifecycle hook.</p>
2344
2358
* </li>
2345
2359
* <li>
2346
2360
* <p>(Optional) Create a notification target and an IAM role. The target can be
@@ -2354,7 +2368,7 @@ export class AutoScaling extends AutoScalingClient {
2354
2368
* <li>
2355
2369
* <p>
2356
2370
* <b>If you need more time, record the lifecycle action
2357
-
* heartbeat to keep the instance in a pending state.</b>
2371
+
* heartbeat to keep the instance in a wait state.</b>
2358
2372
* </p>
2359
2373
* </li>
2360
2374
* <li>
@@ -2670,8 +2684,7 @@ export class AutoScaling extends AutoScalingClient {
2670
2684
* <p>
2671
2685
* <b>We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
2672
2686
* </p>
2673
-
* <p>Updates the configuration for
2674
-
* the specified Auto Scaling group.</p>
2687
+
* <p>Updates the configuration for the specified Auto Scaling group.</p>
2675
2688
* <p>To update an Auto Scaling group, specify the name of the group and the parameter that you want
2676
2689
* to change. Any parameters that you don't specify are not changed by this update request.
2677
2690
* The new settings take effect on any scaling activities after this call returns.
* <b>We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
27
27
* </p>
28
-
* <p>Creates an Auto Scaling group with
29
-
* the specified name and attributes. </p>
28
+
* <p>Creates an Auto Scaling group with the specified name and attributes. </p>
30
29
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
31
30
* call the <a>DescribeAccountLimits</a> API. For information about updating
32
31
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
* <b>We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
27
27
* </p>
28
-
* <p>Updates the configuration for
29
-
* the specified Auto Scaling group.</p>
28
+
* <p>Updates the configuration for the specified Auto Scaling group.</p>
30
29
* <p>To update an Auto Scaling group, specify the name of the group and the parameter that you want
31
30
* to change. Any parameters that you don't specify are not changed by this update request.
32
31
* The new settings take effect on any scaling activities after this call returns.
0 commit comments