@aws-sdk/client-auto-scaling 3.325.0 → 3.326.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.
- package/dist-types/commands/AttachInstancesCommand.d.ts +4 -0
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +4 -0
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +4 -0
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +4 -0
- package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +12 -0
- package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +12 -0
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +6 -0
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +4 -0
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +4 -0
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +4 -0
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTagsCommand.d.ts +4 -0
- package/dist-types/commands/DeleteWarmPoolCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +10 -0
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +190 -0
- package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +24 -0
- package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +155 -0
- package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +55 -0
- package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +18 -0
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +12 -0
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +12 -0
- package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +15 -0
- package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +13 -0
- package/dist-types/commands/DescribePoliciesCommand.d.ts +157 -0
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +22 -0
- package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +10 -0
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +21 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +15 -0
- package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +14 -0
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +32 -0
- package/dist-types/commands/DetachInstancesCommand.d.ts +21 -0
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +4 -0
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +4 -0
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +4 -0
- package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +4 -0
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +4 -0
- package/dist-types/commands/EnterStandbyCommand.d.ts +21 -0
- package/dist-types/commands/ExecutePolicyCommand.d.ts +4 -0
- package/dist-types/commands/ExitStandbyCommand.d.ts +21 -0
- package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +111 -0
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +4 -0
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +12 -0
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +4 -0
- package/dist-types/commands/PutWarmPoolCommand.d.ts +4 -0
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +4 -0
- package/dist-types/commands/ResumeProcessesCommand.d.ts +4 -0
- package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +6 -0
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +4 -0
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +4 -0
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +4 -0
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +6 -0
- package/dist-types/commands/SuspendProcessesCommand.d.ts +4 -0
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +19 -0
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +4 -0
- package/package.json +3 -3
|
@@ -46,6 +46,8 @@ export interface PutWarmPoolCommandOutput extends PutWarmPoolAnswer, __MetadataB
|
|
|
46
46
|
* };
|
|
47
47
|
* const command = new PutWarmPoolCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
49
51
|
* ```
|
|
50
52
|
*
|
|
51
53
|
* @param PutWarmPoolCommandInput - {@link PutWarmPoolCommandInput}
|
|
@@ -64,6 +66,8 @@ export interface PutWarmPoolCommandOutput extends PutWarmPoolAnswer, __MetadataB
|
|
|
64
66
|
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
65
67
|
* instance, or load balancer).</p>
|
|
66
68
|
*
|
|
69
|
+
* @throws {@link AutoScalingServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
67
71
|
*
|
|
68
72
|
* @example To create a warm pool for an Auto Scaling group
|
|
69
73
|
* ```javascript
|
|
@@ -70,6 +70,8 @@ export interface RecordLifecycleActionHeartbeatCommandOutput extends RecordLifec
|
|
|
70
70
|
* };
|
|
71
71
|
* const command = new RecordLifecycleActionHeartbeatCommand(input);
|
|
72
72
|
* const response = await client.send(command);
|
|
73
|
+
* // {};
|
|
74
|
+
*
|
|
73
75
|
* ```
|
|
74
76
|
*
|
|
75
77
|
* @param RecordLifecycleActionHeartbeatCommandInput - {@link RecordLifecycleActionHeartbeatCommandInput}
|
|
@@ -82,6 +84,8 @@ export interface RecordLifecycleActionHeartbeatCommandOutput extends RecordLifec
|
|
|
82
84
|
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
83
85
|
* instance, or load balancer).</p>
|
|
84
86
|
*
|
|
87
|
+
* @throws {@link AutoScalingServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
85
89
|
*
|
|
86
90
|
* @example To record a lifecycle action heartbeat
|
|
87
91
|
* ```javascript
|
|
@@ -37,6 +37,8 @@ export interface ResumeProcessesCommandOutput extends __MetadataBearer {
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new ResumeProcessesCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
40
42
|
* ```
|
|
41
43
|
*
|
|
42
44
|
* @param ResumeProcessesCommandInput - {@link ResumeProcessesCommandInput}
|
|
@@ -52,6 +54,8 @@ export interface ResumeProcessesCommandOutput extends __MetadataBearer {
|
|
|
52
54
|
* @throws {@link ResourceInUseFault} (client fault)
|
|
53
55
|
* <p>The operation can't be performed because the resource is in use.</p>
|
|
54
56
|
*
|
|
57
|
+
* @throws {@link AutoScalingServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
55
59
|
*
|
|
56
60
|
* @example To resume Auto Scaling processes
|
|
57
61
|
* ```javascript
|
|
@@ -53,6 +53,10 @@ export interface RollbackInstanceRefreshCommandOutput extends RollbackInstanceRe
|
|
|
53
53
|
* };
|
|
54
54
|
* const command = new RollbackInstanceRefreshCommand(input);
|
|
55
55
|
* const response = await client.send(command);
|
|
56
|
+
* // { // RollbackInstanceRefreshAnswer
|
|
57
|
+
* // InstanceRefreshId: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
56
60
|
* ```
|
|
57
61
|
*
|
|
58
62
|
* @param RollbackInstanceRefreshCommandInput - {@link RollbackInstanceRefreshCommandInput}
|
|
@@ -81,6 +85,8 @@ export interface RollbackInstanceRefreshCommandOutput extends RollbackInstanceRe
|
|
|
81
85
|
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
82
86
|
* instance, or load balancer).</p>
|
|
83
87
|
*
|
|
88
|
+
* @throws {@link AutoScalingServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
84
90
|
*
|
|
85
91
|
*/
|
|
86
92
|
export declare class RollbackInstanceRefreshCommand extends $Command<RollbackInstanceRefreshCommandInput, RollbackInstanceRefreshCommandOutput, AutoScalingClientResolvedConfig> {
|
|
@@ -38,6 +38,8 @@ export interface SetDesiredCapacityCommandOutput extends __MetadataBearer {
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new SetDesiredCapacityCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
41
43
|
* ```
|
|
42
44
|
*
|
|
43
45
|
* @param SetDesiredCapacityCommandInput - {@link SetDesiredCapacityCommandInput}
|
|
@@ -54,6 +56,8 @@ export interface SetDesiredCapacityCommandOutput extends __MetadataBearer {
|
|
|
54
56
|
* <p>The operation can't be performed because there are scaling activities in
|
|
55
57
|
* progress.</p>
|
|
56
58
|
*
|
|
59
|
+
* @throws {@link AutoScalingServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
57
61
|
*
|
|
58
62
|
* @example To set the desired capacity for an Auto Scaling group
|
|
59
63
|
* ```javascript
|
|
@@ -35,6 +35,8 @@ export interface SetInstanceHealthCommandOutput extends __MetadataBearer {
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new SetInstanceHealthCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param SetInstanceHealthCommandInput - {@link SetInstanceHealthCommandInput}
|
|
@@ -47,6 +49,8 @@ export interface SetInstanceHealthCommandOutput extends __MetadataBearer {
|
|
|
47
49
|
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
48
50
|
* instance, or load balancer).</p>
|
|
49
51
|
*
|
|
52
|
+
* @throws {@link AutoScalingServiceException}
|
|
53
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
50
54
|
*
|
|
51
55
|
* @example To set the health status of an instance
|
|
52
56
|
* ```javascript
|
|
@@ -42,6 +42,8 @@ export interface SetInstanceProtectionCommandOutput extends SetInstanceProtectio
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new SetInstanceProtectionCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
45
47
|
* ```
|
|
46
48
|
*
|
|
47
49
|
* @param SetInstanceProtectionCommandInput - {@link SetInstanceProtectionCommandInput}
|
|
@@ -60,6 +62,8 @@ export interface SetInstanceProtectionCommandOutput extends SetInstanceProtectio
|
|
|
60
62
|
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
61
63
|
* instance, or load balancer).</p>
|
|
62
64
|
*
|
|
65
|
+
* @throws {@link AutoScalingServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
63
67
|
*
|
|
64
68
|
* @example To enable instance protection for an instance
|
|
65
69
|
* ```javascript
|
|
@@ -166,6 +166,10 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
|
|
|
166
166
|
* };
|
|
167
167
|
* const command = new StartInstanceRefreshCommand(input);
|
|
168
168
|
* const response = await client.send(command);
|
|
169
|
+
* // { // StartInstanceRefreshAnswer
|
|
170
|
+
* // InstanceRefreshId: "STRING_VALUE",
|
|
171
|
+
* // };
|
|
172
|
+
*
|
|
169
173
|
* ```
|
|
170
174
|
*
|
|
171
175
|
* @param StartInstanceRefreshCommandInput - {@link StartInstanceRefreshCommandInput}
|
|
@@ -188,6 +192,8 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
|
|
|
188
192
|
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
189
193
|
* instance, or load balancer).</p>
|
|
190
194
|
*
|
|
195
|
+
* @throws {@link AutoScalingServiceException}
|
|
196
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
191
197
|
*
|
|
192
198
|
* @example To start an instance refresh
|
|
193
199
|
* ```javascript
|
|
@@ -40,6 +40,8 @@ export interface SuspendProcessesCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new SuspendProcessesCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param SuspendProcessesCommandInput - {@link SuspendProcessesCommandInput}
|
|
@@ -55,6 +57,8 @@ export interface SuspendProcessesCommandOutput extends __MetadataBearer {
|
|
|
55
57
|
* @throws {@link ResourceInUseFault} (client fault)
|
|
56
58
|
* <p>The operation can't be performed because the resource is in use.</p>
|
|
57
59
|
*
|
|
60
|
+
* @throws {@link AutoScalingServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
58
62
|
*
|
|
59
63
|
* @example To suspend Auto Scaling processes
|
|
60
64
|
* ```javascript
|
|
@@ -43,6 +43,23 @@ export interface TerminateInstanceInAutoScalingGroupCommandOutput extends Activi
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new TerminateInstanceInAutoScalingGroupCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // ActivityType
|
|
47
|
+
* // Activity: { // Activity
|
|
48
|
+
* // ActivityId: "STRING_VALUE", // required
|
|
49
|
+
* // AutoScalingGroupName: "STRING_VALUE", // required
|
|
50
|
+
* // Description: "STRING_VALUE",
|
|
51
|
+
* // Cause: "STRING_VALUE", // required
|
|
52
|
+
* // StartTime: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining", // required
|
|
55
|
+
* // StatusMessage: "STRING_VALUE",
|
|
56
|
+
* // Progress: Number("int"),
|
|
57
|
+
* // Details: "STRING_VALUE",
|
|
58
|
+
* // AutoScalingGroupState: "STRING_VALUE",
|
|
59
|
+
* // AutoScalingGroupARN: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
46
63
|
* ```
|
|
47
64
|
*
|
|
48
65
|
* @param TerminateInstanceInAutoScalingGroupCommandInput - {@link TerminateInstanceInAutoScalingGroupCommandInput}
|
|
@@ -59,6 +76,8 @@ export interface TerminateInstanceInAutoScalingGroupCommandOutput extends Activi
|
|
|
59
76
|
* <p>The operation can't be performed because there are scaling activities in
|
|
60
77
|
* progress.</p>
|
|
61
78
|
*
|
|
79
|
+
* @throws {@link AutoScalingServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
62
81
|
*
|
|
63
82
|
* @example To terminate an instance in an Auto Scaling group
|
|
64
83
|
* ```javascript
|
|
@@ -193,6 +193,8 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
193
193
|
* };
|
|
194
194
|
* const command = new UpdateAutoScalingGroupCommand(input);
|
|
195
195
|
* const response = await client.send(command);
|
|
196
|
+
* // {};
|
|
197
|
+
*
|
|
196
198
|
* ```
|
|
197
199
|
*
|
|
198
200
|
* @param UpdateAutoScalingGroupCommandInput - {@link UpdateAutoScalingGroupCommandInput}
|
|
@@ -212,6 +214,8 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
212
214
|
* @throws {@link ServiceLinkedRoleFailure} (server fault)
|
|
213
215
|
* <p>The service-linked role is not yet ready for use.</p>
|
|
214
216
|
*
|
|
217
|
+
* @throws {@link AutoScalingServiceException}
|
|
218
|
+
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
215
219
|
*
|
|
216
220
|
* @example To update an Auto Scaling group
|
|
217
221
|
* ```javascript
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|