Skip to content

Commit ec3cc1e

Browse files
authored
feat(clients): update clients as of 2022/02/24 (#3361)
1 parent b6b2e25 commit ec3cc1e

File tree

107 files changed

+6739
-1837
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+6739
-1837
lines changed

clients/client-auto-scaling/src/AutoScaling.ts

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -559,9 +559,14 @@ export class AutoScaling extends AutoScalingClient {
559559
* group:</p>
560560
* <ol>
561561
* <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>
565570
* </li>
566571
* <li>
567572
* <p>(Optional) Create a notification target and an IAM role. The target can be
@@ -574,7 +579,7 @@ export class AutoScaling extends AutoScalingClient {
574579
* </li>
575580
* <li>
576581
* <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>
578583
* </li>
579584
* <li>
580585
* <p>
@@ -620,8 +625,7 @@ export class AutoScaling extends AutoScalingClient {
620625
* <p>
621626
* <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>
622627
* </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>
625629
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
626630
* call the <a>DescribeAccountLimits</a> API. For information about updating
627631
* 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 {
17621766
/**
17631767
* <p>Gets information about a warm pool and its instances.</p>
17641768
* <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>
17661770
*/
17671771
public describeWarmPool(
17681772
args: DescribeWarmPoolCommandInput,
@@ -2112,16 +2116,21 @@ export class AutoScaling extends AutoScalingClient {
21122116

21132117
/**
21142118
* <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>
21182122
* <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
21192123
* group:</p>
21202124
* <ol>
21212125
* <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>
21252134
* </li>
21262135
* <li>
21272136
* <p>(Optional) Create a notification target and an IAM role. The target can be
@@ -2136,7 +2145,7 @@ export class AutoScaling extends AutoScalingClient {
21362145
* </li>
21372146
* <li>
21382147
* <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>
21402149
* </li>
21412150
* <li>
21422151
* <p>If you finish before the timeout period ends, send a callback by using the
@@ -2338,9 +2347,14 @@ export class AutoScaling extends AutoScalingClient {
23382347
* group:</p>
23392348
* <ol>
23402349
* <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>
23442358
* </li>
23452359
* <li>
23462360
* <p>(Optional) Create a notification target and an IAM role. The target can be
@@ -2354,7 +2368,7 @@ export class AutoScaling extends AutoScalingClient {
23542368
* <li>
23552369
* <p>
23562370
* <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>
23582372
* </p>
23592373
* </li>
23602374
* <li>
@@ -2670,8 +2684,7 @@ export class AutoScaling extends AutoScalingClient {
26702684
* <p>
26712685
* <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>
26722686
* </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>
26752688
* <p>To update an Auto Scaling group, specify the name of the group and the parameter that you want
26762689
* to change. Any parameters that you don't specify are not changed by this update request.
26772690
* The new settings take effect on any scaling activities after this call returns.

clients/client-auto-scaling/src/commands/CompleteLifecycleActionCommand.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,14 @@ export interface CompleteLifecycleActionCommandOutput extends CompleteLifecycleA
2828
* group:</p>
2929
* <ol>
3030
* <li>
31-
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to
32-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
33-
* instances.</p>
31+
* <p>(Optional) Create a launch template or launch configuration with a user data
32+
* script that runs while an instance is in a wait state due to a lifecycle
33+
* hook.</p>
34+
* </li>
35+
* <li>
36+
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke
37+
* your Lambda function when an instance is put into a wait state due to a
38+
* lifecycle hook.</p>
3439
* </li>
3540
* <li>
3641
* <p>(Optional) Create a notification target and an IAM role. The target can be
@@ -43,7 +48,7 @@ export interface CompleteLifecycleActionCommandOutput extends CompleteLifecycleA
4348
* </li>
4449
* <li>
4550
* <p>If you need more time, record the lifecycle action heartbeat to keep the
46-
* instance in a pending state.</p>
51+
* instance in a wait state.</p>
4752
* </li>
4853
* <li>
4954
* <p>

clients/client-auto-scaling/src/commands/CreateAutoScalingGroupCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {}
2525
* <p>
2626
* <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>
2727
* </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>
3029
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
3130
* call the <a>DescribeAccountLimits</a> API. For information about updating
3231
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service

clients/client-auto-scaling/src/commands/DescribeWarmPoolCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface DescribeWarmPoolCommandOutput extends DescribeWarmPoolAnswer, _
2424
/**
2525
* <p>Gets information about a warm pool and its instances.</p>
2626
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
27-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
27+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2828
* @example
2929
* Use a bare-bones client and the command you need to make an API call.
3030
* ```javascript

clients/client-auto-scaling/src/commands/PutLifecycleHookCommand.ts

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,21 @@ export interface PutLifecycleHookCommandOutput extends PutLifecycleHookAnswer, _
2323

2424
/**
2525
* <p>Creates or updates a lifecycle hook for the specified Auto Scaling group.</p>
26-
* <p>A lifecycle hook enables an Auto Scaling group to be aware of events in the Auto Scaling instance
27-
* lifecycle, and then perform a custom action when the corresponding lifecycle event
28-
* occurs.</p>
26+
* <p>Lifecycle hooks let you create solutions that are aware of events in the Auto Scaling instance
27+
* lifecycle, and then perform a custom action on instances when the corresponding
28+
* lifecycle event occurs.</p>
2929
* <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
3030
* group:</p>
3131
* <ol>
3232
* <li>
33-
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to
34-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
35-
* instances.</p>
33+
* <p>(Optional) Create a launch template or launch configuration with a user data
34+
* script that runs while an instance is in a wait state due to a lifecycle
35+
* hook.</p>
36+
* </li>
37+
* <li>
38+
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke
39+
* your Lambda function when an instance is put into a wait state due to a
40+
* lifecycle hook.</p>
3641
* </li>
3742
* <li>
3843
* <p>(Optional) Create a notification target and an IAM role. The target can be
@@ -47,7 +52,7 @@ export interface PutLifecycleHookCommandOutput extends PutLifecycleHookAnswer, _
4752
* </li>
4853
* <li>
4954
* <p>If you need more time, record the lifecycle action heartbeat to keep the
50-
* instance in a pending state using the <a>RecordLifecycleActionHeartbeat</a> API call.</p>
55+
* instance in a wait state using the <a>RecordLifecycleActionHeartbeat</a> API call.</p>
5156
* </li>
5257
* <li>
5358
* <p>If you finish before the timeout period ends, send a callback by using the

clients/client-auto-scaling/src/commands/RecordLifecycleActionHeartbeatCommand.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,14 @@ export interface RecordLifecycleActionHeartbeatCommandOutput
3030
* group:</p>
3131
* <ol>
3232
* <li>
33-
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to
34-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
35-
* instances.</p>
33+
* <p>(Optional) Create a launch template or launch configuration with a user data
34+
* script that runs while an instance is in a wait state due to a lifecycle
35+
* hook.</p>
36+
* </li>
37+
* <li>
38+
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke
39+
* your Lambda function when an instance is put into a wait state due to a
40+
* lifecycle hook.</p>
3641
* </li>
3742
* <li>
3843
* <p>(Optional) Create a notification target and an IAM role. The target can be
@@ -46,7 +51,7 @@ export interface RecordLifecycleActionHeartbeatCommandOutput
4651
* <li>
4752
* <p>
4853
* <b>If you need more time, record the lifecycle action
49-
* heartbeat to keep the instance in a pending state.</b>
54+
* heartbeat to keep the instance in a wait state.</b>
5055
* </p>
5156
* </li>
5257
* <li>

clients/client-auto-scaling/src/commands/UpdateAutoScalingGroupCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {}
2525
* <p>
2626
* <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>
2727
* </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>
3029
* <p>To update an Auto Scaling group, specify the name of the group and the parameter that you want
3130
* to change. Any parameters that you don't specify are not changed by this update request.
3231
* The new settings take effect on any scaling activities after this call returns.

0 commit comments

Comments
 (0)