@aws-sdk/client-auto-scaling 3.36.0 → 3.39.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/CHANGELOG.md +45 -0
- package/dist-cjs/AutoScaling.js +0 -16
- package/dist-cjs/AutoScalingClient.js +0 -21
- package/dist-cjs/commands/AttachInstancesCommand.js +0 -33
- package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js +0 -42
- package/dist-cjs/commands/AttachLoadBalancersCommand.js +0 -34
- package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js +0 -24
- package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js +0 -24
- package/dist-cjs/commands/CancelInstanceRefreshCommand.js +0 -29
- package/dist-cjs/commands/CompleteLifecycleActionCommand.js +0 -55
- package/dist-cjs/commands/CreateAutoScalingGroupCommand.js +0 -42
- package/dist-cjs/commands/CreateLaunchConfigurationCommand.js +0 -30
- package/dist-cjs/commands/CreateOrUpdateTagsCommand.js +0 -28
- package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js +0 -33
- package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js +0 -26
- package/dist-cjs/commands/DeleteLifecycleHookCommand.js +0 -27
- package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +0 -24
- package/dist-cjs/commands/DeletePolicyCommand.js +0 -29
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +0 -24
- package/dist-cjs/commands/DeleteTagsCommand.js +0 -24
- package/dist-cjs/commands/DeleteWarmPoolCommand.js +0 -26
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -28
- package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js +0 -43
- package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js +0 -26
- package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js +0 -24
- package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js +0 -24
- package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js +0 -62
- package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js +0 -24
- package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js +0 -37
- package/dist-cjs/commands/DescribeLifecycleHooksCommand.js +0 -24
- package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js +0 -43
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -45
- package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js +0 -26
- package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js +0 -25
- package/dist-cjs/commands/DescribePoliciesCommand.js +0 -24
- package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +0 -32
- package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js +0 -25
- package/dist-cjs/commands/DescribeScheduledActionsCommand.js +0 -27
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -32
- package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js +0 -27
- package/dist-cjs/commands/DescribeWarmPoolCommand.js +0 -26
- package/dist-cjs/commands/DetachInstancesCommand.js +0 -33
- package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js +0 -24
- package/dist-cjs/commands/DetachLoadBalancersCommand.js +0 -29
- package/dist-cjs/commands/DisableMetricsCollectionCommand.js +0 -24
- package/dist-cjs/commands/EnableMetricsCollectionCommand.js +0 -25
- package/dist-cjs/commands/EnterStandbyCommand.js +0 -33
- package/dist-cjs/commands/ExecutePolicyCommand.js +0 -25
- package/dist-cjs/commands/ExitStandbyCommand.js +0 -29
- package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js +0 -32
- package/dist-cjs/commands/PutLifecycleHookCommand.js +0 -61
- package/dist-cjs/commands/PutNotificationConfigurationCommand.js +0 -32
- package/dist-cjs/commands/PutScalingPolicyCommand.js +0 -33
- package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js +0 -28
- package/dist-cjs/commands/PutWarmPoolCommand.js +0 -33
- package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js +0 -56
- package/dist-cjs/commands/ResumeProcessesCommand.js +0 -27
- package/dist-cjs/commands/SetDesiredCapacityCommand.js +0 -29
- package/dist-cjs/commands/SetInstanceHealthCommand.js +0 -26
- package/dist-cjs/commands/SetInstanceProtectionCommand.js +0 -30
- package/dist-cjs/commands/StartInstanceRefreshCommand.js +0 -38
- package/dist-cjs/commands/SuspendProcessesCommand.js +0 -30
- package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js +0 -35
- package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js +0 -68
- package/dist-cjs/commands/index.js +64 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -75
- package/dist-cjs/models/models_0.js +121 -475
- package/dist-cjs/pagination/DescribeAutoScalingGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeAutoScalingInstancesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeLaunchConfigurationsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeNotificationConfigurationsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribePoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +12 -0
- package/dist-cjs/protocols/Aws_query.js +621 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-cjs/waiters/waitForGroupExists.js +0 -9
- package/dist-cjs/waiters/waitForGroupInService.js +0 -9
- package/dist-cjs/waiters/waitForGroupNotExists.js +0 -9
- package/dist-es/commands/index.js +61 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -75
- package/dist-es/models/models_0.js +97 -4
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/protocols/Aws_query.js +922 -207
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/AutoScaling.d.ts +8 -2
- package/dist-types/AutoScalingClient.d.ts +2 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +5 -1
- package/dist-types/commands/index.d.ts +61 -0
- package/dist-types/index.d.ts +5 -75
- package/dist-types/models/models_0.d.ts +672 -125
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/AutoScaling.d.ts +62 -693
- package/dist-types/ts3.4/AutoScalingClient.d.ts +24 -102
- package/dist-types/ts3.4/commands/AttachInstancesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/AttachLoadBalancersCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/BatchDeleteScheduledActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CancelInstanceRefreshCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CompleteLifecycleActionCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/CreateAutoScalingGroupCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/CreateLaunchConfigurationCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateOrUpdateTagsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteAutoScalingGroupCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeleteLaunchConfigurationCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteLifecycleHookCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteWarmPoolCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeAdjustmentTypesCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/DescribeAutoScalingGroupsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeAutoScalingInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeInstanceRefreshesCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/DescribeLaunchConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLifecycleHookTypesCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DescribeLifecycleHooksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/DescribeMetricCollectionTypesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeNotificationConfigurationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribePoliciesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DescribeScalingProcessTypesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DescribeTerminationPolicyTypesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeWarmPoolCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DetachInstancesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DetachLoadBalancersCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DisableMetricsCollectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/EnableMetricsCollectionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/EnterStandbyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ExecutePolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ExitStandbyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetPredictiveScalingForecastCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/PutLifecycleHookCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/PutNotificationConfigurationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/PutScheduledUpdateGroupActionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/PutWarmPoolCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/RecordLifecycleActionHeartbeatCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/ResumeProcessesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/SetDesiredCapacityCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/SetInstanceHealthCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/SetInstanceProtectionCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/StartInstanceRefreshCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/SuspendProcessesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/UpdateAutoScalingGroupCommand.d.ts +2 -64
- package/dist-types/ts3.4/commands/index.d.ts +61 -0
- package/dist-types/ts3.4/index.d.ts +5 -75
- package/dist-types/ts3.4/models/models_0.d.ts +960 -4205
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForGroupExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForGroupInService.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForGroupNotExists.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +33 -33
|
@@ -6,43 +6,11 @@ export interface StartInstanceRefreshCommandInput extends StartInstanceRefreshTy
|
|
|
6
6
|
}
|
|
7
7
|
export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Starts a new instance refresh operation. An instance refresh performs a rolling
|
|
11
|
-
* replacement of all or some instances in an Auto Scaling group. Each instance is terminated first
|
|
12
|
-
* and then replaced, which temporarily reduces the capacity available within your Auto Scaling
|
|
13
|
-
* group.</p>
|
|
14
|
-
* <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
|
|
15
|
-
* feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group.
|
|
16
|
-
* This feature is helpful, for example, when you have a new AMI or a new user data script.
|
|
17
|
-
* You just need to create a new launch template that specifies the new AMI or user data
|
|
18
|
-
* script. Then start an instance refresh to immediately begin the process of updating
|
|
19
|
-
* instances in the group. </p>
|
|
20
|
-
* <p>If the call succeeds, it creates a new instance refresh request with a unique ID that
|
|
21
|
-
* you can use to track its progress. To query its status, call the <a>DescribeInstanceRefreshes</a> API. To describe the instance refreshes that
|
|
22
|
-
* have already run, call the <a>DescribeInstanceRefreshes</a> API. To cancel an
|
|
23
|
-
* instance refresh operation in progress, use the <a>CancelInstanceRefresh</a>
|
|
24
|
-
* API. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AutoScalingClient, StartInstanceRefreshCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
29
|
-
* // const { AutoScalingClient, StartInstanceRefreshCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
30
|
-
* const client = new AutoScalingClient(config);
|
|
31
|
-
* const command = new StartInstanceRefreshCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link StartInstanceRefreshCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link StartInstanceRefreshCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
9
|
+
|
|
40
10
|
export declare class StartInstanceRefreshCommand extends $Command<StartInstanceRefreshCommandInput, StartInstanceRefreshCommandOutput, AutoScalingClientResolvedConfig> {
|
|
41
11
|
readonly input: StartInstanceRefreshCommandInput;
|
|
42
12
|
constructor(input: StartInstanceRefreshCommandInput);
|
|
43
|
-
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
13
|
+
|
|
46
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartInstanceRefreshCommandInput, StartInstanceRefreshCommandOutput>;
|
|
47
15
|
private serialize;
|
|
48
16
|
private deserialize;
|
|
@@ -6,35 +6,11 @@ export interface SuspendProcessesCommandInput extends ScalingProcessQuery {
|
|
|
6
6
|
}
|
|
7
7
|
export interface SuspendProcessesCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Suspends the specified auto scaling processes, or all processes, for the specified
|
|
11
|
-
* Auto Scaling group.</p>
|
|
12
|
-
* <p>If you suspend either the <code>Launch</code> or <code>Terminate</code> process types,
|
|
13
|
-
* it can prevent other process types from functioning properly. For more information, see
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
|
|
15
|
-
* resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
16
|
-
* <p>To resume processes that have been suspended, call the <a>ResumeProcesses</a> API.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { AutoScalingClient, SuspendProcessesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
21
|
-
* // const { AutoScalingClient, SuspendProcessesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
22
|
-
* const client = new AutoScalingClient(config);
|
|
23
|
-
* const command = new SuspendProcessesCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link SuspendProcessesCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link SuspendProcessesCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
9
|
+
|
|
32
10
|
export declare class SuspendProcessesCommand extends $Command<SuspendProcessesCommandInput, SuspendProcessesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
33
11
|
readonly input: SuspendProcessesCommandInput;
|
|
34
12
|
constructor(input: SuspendProcessesCommandInput);
|
|
35
|
-
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
13
|
+
|
|
38
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SuspendProcessesCommandInput, SuspendProcessesCommandOutput>;
|
|
39
15
|
private serialize;
|
|
40
16
|
private deserialize;
|
|
@@ -6,40 +6,11 @@ export interface TerminateInstanceInAutoScalingGroupCommandInput extends Termina
|
|
|
6
6
|
}
|
|
7
7
|
export interface TerminateInstanceInAutoScalingGroupCommandOutput extends ActivityType, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Terminates the specified instance and optionally adjusts the desired group size. This
|
|
11
|
-
* operation cannot be called on instances in a warm pool.</p>
|
|
12
|
-
* <p>This call simply makes a termination request. The instance is not terminated
|
|
13
|
-
* immediately. When an instance is terminated, the instance status changes to
|
|
14
|
-
* <code>terminated</code>. You can't connect to or start an instance after you've
|
|
15
|
-
* terminated it.</p>
|
|
16
|
-
* <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches
|
|
17
|
-
* instances to replace the ones that are terminated. </p>
|
|
18
|
-
* <p>By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you
|
|
19
|
-
* decrement the desired capacity, your Auto Scaling group can become unbalanced between
|
|
20
|
-
* Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might
|
|
21
|
-
* terminate instances in other zones. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#AutoScalingBehavior.InstanceUsage">Rebalancing activities</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { AutoScalingClient, TerminateInstanceInAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
26
|
-
* // const { AutoScalingClient, TerminateInstanceInAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
27
|
-
* const client = new AutoScalingClient(config);
|
|
28
|
-
* const command = new TerminateInstanceInAutoScalingGroupCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link TerminateInstanceInAutoScalingGroupCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link TerminateInstanceInAutoScalingGroupCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
9
|
+
|
|
37
10
|
export declare class TerminateInstanceInAutoScalingGroupCommand extends $Command<TerminateInstanceInAutoScalingGroupCommandInput, TerminateInstanceInAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig> {
|
|
38
11
|
readonly input: TerminateInstanceInAutoScalingGroupCommandInput;
|
|
39
12
|
constructor(input: TerminateInstanceInAutoScalingGroupCommandInput);
|
|
40
|
-
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
13
|
+
|
|
43
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TerminateInstanceInAutoScalingGroupCommandInput, TerminateInstanceInAutoScalingGroupCommandOutput>;
|
|
44
15
|
private serialize;
|
|
45
16
|
private deserialize;
|
|
@@ -6,73 +6,11 @@ export interface UpdateAutoScalingGroupCommandInput extends UpdateAutoScalingGro
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* <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>
|
|
12
|
-
* </p>
|
|
13
|
-
* <p>Updates the configuration for
|
|
14
|
-
* the specified Auto Scaling group.</p>
|
|
15
|
-
* <p>To update an Auto Scaling group, specify the name of the group and the parameter that you want
|
|
16
|
-
* to change. Any parameters that you don't specify are not changed by this update request.
|
|
17
|
-
* The new settings take effect on any scaling activities after this call returns.
|
|
18
|
-
* </p>
|
|
19
|
-
* <p>If you associate a new launch configuration or template with an Auto Scaling group, all new
|
|
20
|
-
* instances will get the updated configuration. Existing instances continue to run with
|
|
21
|
-
* the configuration that they were originally launched with. When you update a group to
|
|
22
|
-
* specify a mixed instances policy instead of a launch configuration or template, existing
|
|
23
|
-
* instances may be replaced to match the new purchasing options that you specified in the
|
|
24
|
-
* policy. For example, if the group currently has 100% On-Demand capacity and the policy
|
|
25
|
-
* specifies 50% Spot capacity, this means that half of your instances will be gradually
|
|
26
|
-
* terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches
|
|
27
|
-
* new instances before terminating the old ones, so that updating your group does not
|
|
28
|
-
* compromise the performance or availability of your application.</p>
|
|
29
|
-
* <p>Note the following about changing <code>DesiredCapacity</code>, <code>MaxSize</code>,
|
|
30
|
-
* or <code>MinSize</code>:</p>
|
|
31
|
-
* <ul>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>If a scale-in activity occurs as a result of a new
|
|
34
|
-
* <code>DesiredCapacity</code> value that is lower than the current size of
|
|
35
|
-
* the group, the Auto Scaling group uses its termination policy to determine which
|
|
36
|
-
* instances to terminate.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>If you specify a new value for <code>MinSize</code> without specifying a value
|
|
40
|
-
* for <code>DesiredCapacity</code>, and the new <code>MinSize</code> is larger
|
|
41
|
-
* than the current size of the group, this sets the group's
|
|
42
|
-
* <code>DesiredCapacity</code> to the new <code>MinSize</code> value.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>If you specify a new value for <code>MaxSize</code> without specifying a value
|
|
46
|
-
* for <code>DesiredCapacity</code>, and the new <code>MaxSize</code> is smaller
|
|
47
|
-
* than the current size of the group, this sets the group's
|
|
48
|
-
* <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.</p>
|
|
49
|
-
* </li>
|
|
50
|
-
* </ul>
|
|
51
|
-
* <p>To see which parameters have been set, call the <a>DescribeAutoScalingGroups</a> API. To view the scaling policies for an Auto Scaling
|
|
52
|
-
* group, call the <a>DescribePolicies</a> API. If the group has scaling
|
|
53
|
-
* policies, you can update them by calling the <a>PutScalingPolicy</a>
|
|
54
|
-
* API.</p>
|
|
55
|
-
* @example
|
|
56
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
57
|
-
* ```javascript
|
|
58
|
-
* import { AutoScalingClient, UpdateAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
59
|
-
* // const { AutoScalingClient, UpdateAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
60
|
-
* const client = new AutoScalingClient(config);
|
|
61
|
-
* const command = new UpdateAutoScalingGroupCommand(input);
|
|
62
|
-
* const response = await client.send(command);
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* @see {@link UpdateAutoScalingGroupCommandInput} for command's `input` shape.
|
|
66
|
-
* @see {@link UpdateAutoScalingGroupCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
9
|
+
|
|
70
10
|
export declare class UpdateAutoScalingGroupCommand extends $Command<UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig> {
|
|
71
11
|
readonly input: UpdateAutoScalingGroupCommandInput;
|
|
72
12
|
constructor(input: UpdateAutoScalingGroupCommandInput);
|
|
73
|
-
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
13
|
+
|
|
76
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput>;
|
|
77
15
|
private serialize;
|
|
78
16
|
private deserialize;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export * from "./AttachInstancesCommand";
|
|
2
|
+
export * from "./AttachLoadBalancerTargetGroupsCommand";
|
|
3
|
+
export * from "./AttachLoadBalancersCommand";
|
|
4
|
+
export * from "./BatchDeleteScheduledActionCommand";
|
|
5
|
+
export * from "./BatchPutScheduledUpdateGroupActionCommand";
|
|
6
|
+
export * from "./CancelInstanceRefreshCommand";
|
|
7
|
+
export * from "./CompleteLifecycleActionCommand";
|
|
8
|
+
export * from "./CreateAutoScalingGroupCommand";
|
|
9
|
+
export * from "./CreateLaunchConfigurationCommand";
|
|
10
|
+
export * from "./CreateOrUpdateTagsCommand";
|
|
11
|
+
export * from "./DeleteAutoScalingGroupCommand";
|
|
12
|
+
export * from "./DeleteLaunchConfigurationCommand";
|
|
13
|
+
export * from "./DeleteLifecycleHookCommand";
|
|
14
|
+
export * from "./DeleteNotificationConfigurationCommand";
|
|
15
|
+
export * from "./DeletePolicyCommand";
|
|
16
|
+
export * from "./DeleteScheduledActionCommand";
|
|
17
|
+
export * from "./DeleteTagsCommand";
|
|
18
|
+
export * from "./DeleteWarmPoolCommand";
|
|
19
|
+
export * from "./DescribeAccountLimitsCommand";
|
|
20
|
+
export * from "./DescribeAdjustmentTypesCommand";
|
|
21
|
+
export * from "./DescribeAutoScalingGroupsCommand";
|
|
22
|
+
export * from "./DescribeAutoScalingInstancesCommand";
|
|
23
|
+
export * from "./DescribeAutoScalingNotificationTypesCommand";
|
|
24
|
+
export * from "./DescribeInstanceRefreshesCommand";
|
|
25
|
+
export * from "./DescribeLaunchConfigurationsCommand";
|
|
26
|
+
export * from "./DescribeLifecycleHookTypesCommand";
|
|
27
|
+
export * from "./DescribeLifecycleHooksCommand";
|
|
28
|
+
export * from "./DescribeLoadBalancerTargetGroupsCommand";
|
|
29
|
+
export * from "./DescribeLoadBalancersCommand";
|
|
30
|
+
export * from "./DescribeMetricCollectionTypesCommand";
|
|
31
|
+
export * from "./DescribeNotificationConfigurationsCommand";
|
|
32
|
+
export * from "./DescribePoliciesCommand";
|
|
33
|
+
export * from "./DescribeScalingActivitiesCommand";
|
|
34
|
+
export * from "./DescribeScalingProcessTypesCommand";
|
|
35
|
+
export * from "./DescribeScheduledActionsCommand";
|
|
36
|
+
export * from "./DescribeTagsCommand";
|
|
37
|
+
export * from "./DescribeTerminationPolicyTypesCommand";
|
|
38
|
+
export * from "./DescribeWarmPoolCommand";
|
|
39
|
+
export * from "./DetachInstancesCommand";
|
|
40
|
+
export * from "./DetachLoadBalancerTargetGroupsCommand";
|
|
41
|
+
export * from "./DetachLoadBalancersCommand";
|
|
42
|
+
export * from "./DisableMetricsCollectionCommand";
|
|
43
|
+
export * from "./EnableMetricsCollectionCommand";
|
|
44
|
+
export * from "./EnterStandbyCommand";
|
|
45
|
+
export * from "./ExecutePolicyCommand";
|
|
46
|
+
export * from "./ExitStandbyCommand";
|
|
47
|
+
export * from "./GetPredictiveScalingForecastCommand";
|
|
48
|
+
export * from "./PutLifecycleHookCommand";
|
|
49
|
+
export * from "./PutNotificationConfigurationCommand";
|
|
50
|
+
export * from "./PutScalingPolicyCommand";
|
|
51
|
+
export * from "./PutScheduledUpdateGroupActionCommand";
|
|
52
|
+
export * from "./PutWarmPoolCommand";
|
|
53
|
+
export * from "./RecordLifecycleActionHeartbeatCommand";
|
|
54
|
+
export * from "./ResumeProcessesCommand";
|
|
55
|
+
export * from "./SetDesiredCapacityCommand";
|
|
56
|
+
export * from "./SetInstanceHealthCommand";
|
|
57
|
+
export * from "./SetInstanceProtectionCommand";
|
|
58
|
+
export * from "./StartInstanceRefreshCommand";
|
|
59
|
+
export * from "./SuspendProcessesCommand";
|
|
60
|
+
export * from "./TerminateInstanceInAutoScalingGroupCommand";
|
|
61
|
+
export * from "./UpdateAutoScalingGroupCommand";
|
|
@@ -1,76 +1,6 @@
|
|
|
1
|
-
export * from "./AutoScalingClient";
|
|
2
1
|
export * from "./AutoScaling";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./commands/CancelInstanceRefreshCommand";
|
|
9
|
-
export * from "./commands/CompleteLifecycleActionCommand";
|
|
10
|
-
export * from "./commands/CreateAutoScalingGroupCommand";
|
|
11
|
-
export * from "./commands/CreateLaunchConfigurationCommand";
|
|
12
|
-
export * from "./commands/CreateOrUpdateTagsCommand";
|
|
13
|
-
export * from "./commands/DeleteAutoScalingGroupCommand";
|
|
14
|
-
export * from "./commands/DeleteLaunchConfigurationCommand";
|
|
15
|
-
export * from "./commands/DeleteLifecycleHookCommand";
|
|
16
|
-
export * from "./commands/DeleteNotificationConfigurationCommand";
|
|
17
|
-
export * from "./commands/DeletePolicyCommand";
|
|
18
|
-
export * from "./commands/DeleteScheduledActionCommand";
|
|
19
|
-
export * from "./commands/DeleteTagsCommand";
|
|
20
|
-
export * from "./commands/DeleteWarmPoolCommand";
|
|
21
|
-
export * from "./commands/DescribeAccountLimitsCommand";
|
|
22
|
-
export * from "./commands/DescribeAdjustmentTypesCommand";
|
|
23
|
-
export * from "./commands/DescribeAutoScalingGroupsCommand";
|
|
24
|
-
export * from "./pagination/DescribeAutoScalingGroupsPaginator";
|
|
25
|
-
export * from "./waiters/waitForGroupExists";
|
|
26
|
-
export * from "./waiters/waitForGroupInService";
|
|
27
|
-
export * from "./waiters/waitForGroupNotExists";
|
|
28
|
-
export * from "./commands/DescribeAutoScalingInstancesCommand";
|
|
29
|
-
export * from "./pagination/DescribeAutoScalingInstancesPaginator";
|
|
30
|
-
export * from "./commands/DescribeAutoScalingNotificationTypesCommand";
|
|
31
|
-
export * from "./commands/DescribeInstanceRefreshesCommand";
|
|
32
|
-
export * from "./commands/DescribeLaunchConfigurationsCommand";
|
|
33
|
-
export * from "./pagination/DescribeLaunchConfigurationsPaginator";
|
|
34
|
-
export * from "./commands/DescribeLifecycleHooksCommand";
|
|
35
|
-
export * from "./commands/DescribeLifecycleHookTypesCommand";
|
|
36
|
-
export * from "./commands/DescribeLoadBalancersCommand";
|
|
37
|
-
export * from "./commands/DescribeLoadBalancerTargetGroupsCommand";
|
|
38
|
-
export * from "./commands/DescribeMetricCollectionTypesCommand";
|
|
39
|
-
export * from "./commands/DescribeNotificationConfigurationsCommand";
|
|
40
|
-
export * from "./pagination/DescribeNotificationConfigurationsPaginator";
|
|
41
|
-
export * from "./commands/DescribePoliciesCommand";
|
|
42
|
-
export * from "./pagination/DescribePoliciesPaginator";
|
|
43
|
-
export * from "./commands/DescribeScalingActivitiesCommand";
|
|
44
|
-
export * from "./pagination/DescribeScalingActivitiesPaginator";
|
|
45
|
-
export * from "./commands/DescribeScalingProcessTypesCommand";
|
|
46
|
-
export * from "./commands/DescribeScheduledActionsCommand";
|
|
47
|
-
export * from "./pagination/DescribeScheduledActionsPaginator";
|
|
48
|
-
export * from "./commands/DescribeTagsCommand";
|
|
49
|
-
export * from "./pagination/DescribeTagsPaginator";
|
|
50
|
-
export * from "./commands/DescribeTerminationPolicyTypesCommand";
|
|
51
|
-
export * from "./commands/DescribeWarmPoolCommand";
|
|
52
|
-
export * from "./commands/DetachInstancesCommand";
|
|
53
|
-
export * from "./commands/DetachLoadBalancersCommand";
|
|
54
|
-
export * from "./commands/DetachLoadBalancerTargetGroupsCommand";
|
|
55
|
-
export * from "./commands/DisableMetricsCollectionCommand";
|
|
56
|
-
export * from "./commands/EnableMetricsCollectionCommand";
|
|
57
|
-
export * from "./commands/EnterStandbyCommand";
|
|
58
|
-
export * from "./commands/ExecutePolicyCommand";
|
|
59
|
-
export * from "./commands/ExitStandbyCommand";
|
|
60
|
-
export * from "./commands/GetPredictiveScalingForecastCommand";
|
|
61
|
-
export * from "./commands/PutLifecycleHookCommand";
|
|
62
|
-
export * from "./commands/PutNotificationConfigurationCommand";
|
|
63
|
-
export * from "./commands/PutScalingPolicyCommand";
|
|
64
|
-
export * from "./commands/PutScheduledUpdateGroupActionCommand";
|
|
65
|
-
export * from "./commands/PutWarmPoolCommand";
|
|
66
|
-
export * from "./commands/RecordLifecycleActionHeartbeatCommand";
|
|
67
|
-
export * from "./commands/ResumeProcessesCommand";
|
|
68
|
-
export * from "./commands/SetDesiredCapacityCommand";
|
|
69
|
-
export * from "./commands/SetInstanceHealthCommand";
|
|
70
|
-
export * from "./commands/SetInstanceProtectionCommand";
|
|
71
|
-
export * from "./commands/StartInstanceRefreshCommand";
|
|
72
|
-
export * from "./commands/SuspendProcessesCommand";
|
|
73
|
-
export * from "./commands/TerminateInstanceInAutoScalingGroupCommand";
|
|
74
|
-
export * from "./commands/UpdateAutoScalingGroupCommand";
|
|
75
|
-
export * from "./pagination/Interfaces";
|
|
76
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./AutoScalingClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
6
|
+
export * from "./waiters";
|