@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,38 +6,11 @@ export interface EnterStandbyCommandInput extends EnterStandbyQuery {
|
|
|
6
6
|
}
|
|
7
7
|
export interface EnterStandbyCommandOutput extends EnterStandbyAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Moves the specified instances into the standby state.</p>
|
|
11
|
-
* <p>If you choose to decrement the desired capacity of the Auto Scaling group, the instances can
|
|
12
|
-
* enter standby as long as the desired capacity of the Auto Scaling group after the instances are
|
|
13
|
-
* placed into standby is equal to or greater than the minimum capacity of the
|
|
14
|
-
* group.</p>
|
|
15
|
-
* <p>If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group
|
|
16
|
-
* launches new instances to replace the instances on standby.</p>
|
|
17
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html">Temporarily removing
|
|
18
|
-
* instances from your Auto Scaling group</a> in the
|
|
19
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { AutoScalingClient, EnterStandbyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
24
|
-
* // const { AutoScalingClient, EnterStandbyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
25
|
-
* const client = new AutoScalingClient(config);
|
|
26
|
-
* const command = new EnterStandbyCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link EnterStandbyCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link EnterStandbyCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
9
|
+
|
|
35
10
|
export declare class EnterStandbyCommand extends $Command<EnterStandbyCommandInput, EnterStandbyCommandOutput, AutoScalingClientResolvedConfig> {
|
|
36
11
|
readonly input: EnterStandbyCommandInput;
|
|
37
12
|
constructor(input: EnterStandbyCommandInput);
|
|
38
|
-
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
13
|
+
|
|
41
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnterStandbyCommandInput, EnterStandbyCommandOutput>;
|
|
42
15
|
private serialize;
|
|
43
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface ExecutePolicyCommandInput extends ExecutePolicyType {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ExecutePolicyCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Executes the specified policy. This can be useful for testing the design of your
|
|
11
|
-
* scaling policy.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AutoScalingClient, ExecutePolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
16
|
-
* // const { AutoScalingClient, ExecutePolicyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
17
|
-
* const client = new AutoScalingClient(config);
|
|
18
|
-
* const command = new ExecutePolicyCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ExecutePolicyCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ExecutePolicyCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class ExecutePolicyCommand extends $Command<ExecutePolicyCommandInput, ExecutePolicyCommandOutput, AutoScalingClientResolvedConfig> {
|
|
28
11
|
readonly input: ExecutePolicyCommandInput;
|
|
29
12
|
constructor(input: ExecutePolicyCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecutePolicyCommandInput, ExecutePolicyCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface ExitStandbyCommandInput extends ExitStandbyQuery {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ExitStandbyCommandOutput extends ExitStandbyAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Moves the specified instances out of the standby state.</p>
|
|
11
|
-
* <p>After you put the instances back in service, the desired capacity is
|
|
12
|
-
* incremented.</p>
|
|
13
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html">Temporarily removing
|
|
14
|
-
* instances from your Auto Scaling group</a> in the
|
|
15
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { AutoScalingClient, ExitStandbyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
20
|
-
* // const { AutoScalingClient, ExitStandbyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
21
|
-
* const client = new AutoScalingClient(config);
|
|
22
|
-
* const command = new ExitStandbyCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ExitStandbyCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ExitStandbyCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class ExitStandbyCommand extends $Command<ExitStandbyCommandInput, ExitStandbyCommandOutput, AutoScalingClientResolvedConfig> {
|
|
32
11
|
readonly input: ExitStandbyCommandInput;
|
|
33
12
|
constructor(input: ExitStandbyCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExitStandbyCommandInput, ExitStandbyCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,37 +6,11 @@ export interface GetPredictiveScalingForecastCommandInput extends GetPredictiveS
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetPredictiveScalingForecastCommandOutput extends GetPredictiveScalingForecastAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Retrieves the forecast data for a predictive scaling policy.</p>
|
|
11
|
-
* <p>Load forecasts are predictions of the hourly load values using historical load data
|
|
12
|
-
* from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as
|
|
13
|
-
* predicted values for the minimum capacity that is needed on an hourly basis, based on
|
|
14
|
-
* the hourly load forecast.</p>
|
|
15
|
-
* <p>A minimum of 24 hours of data is required to create the initial forecasts. However,
|
|
16
|
-
* having a full 14 days of historical data results in more accurate forecasts.</p>
|
|
17
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html">Predictive
|
|
18
|
-
* scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { AutoScalingClient, GetPredictiveScalingForecastCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
23
|
-
* // const { AutoScalingClient, GetPredictiveScalingForecastCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
24
|
-
* const client = new AutoScalingClient(config);
|
|
25
|
-
* const command = new GetPredictiveScalingForecastCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link GetPredictiveScalingForecastCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link GetPredictiveScalingForecastCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
9
|
+
|
|
34
10
|
export declare class GetPredictiveScalingForecastCommand extends $Command<GetPredictiveScalingForecastCommandInput, GetPredictiveScalingForecastCommandOutput, AutoScalingClientResolvedConfig> {
|
|
35
11
|
readonly input: GetPredictiveScalingForecastCommandInput;
|
|
36
12
|
constructor(input: GetPredictiveScalingForecastCommandInput);
|
|
37
|
-
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
13
|
+
|
|
40
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPredictiveScalingForecastCommandInput, GetPredictiveScalingForecastCommandOutput>;
|
|
41
15
|
private serialize;
|
|
42
16
|
private deserialize;
|
|
@@ -6,66 +6,11 @@ export interface PutLifecycleHookCommandInput extends PutLifecycleHookType {
|
|
|
6
6
|
}
|
|
7
7
|
export interface PutLifecycleHookCommandOutput extends PutLifecycleHookAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates or updates a lifecycle hook for the specified Auto Scaling group.</p>
|
|
11
|
-
* <p>A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance
|
|
12
|
-
* launches (before it is put into service) or as the instance terminates (before it is
|
|
13
|
-
* fully terminated).</p>
|
|
14
|
-
* <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
|
|
15
|
-
* group:</p>
|
|
16
|
-
* <ol>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
|
|
19
|
-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
|
|
20
|
-
* instances.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>(Optional) Create a notification target and an IAM role. The target can be
|
|
24
|
-
* either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
|
|
25
|
-
* publish lifecycle notifications to the target.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>
|
|
29
|
-
* <b>Create the lifecycle hook. Specify whether the hook is
|
|
30
|
-
* used when the instances launch or terminate.</b>
|
|
31
|
-
* </p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>If you need more time, record the lifecycle action heartbeat to keep the
|
|
35
|
-
* instance in a pending state using the <a>RecordLifecycleActionHeartbeat</a> API call.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>If you finish before the timeout period ends, complete the lifecycle action
|
|
39
|
-
* using the <a>CompleteLifecycleAction</a> API call.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* </ol>
|
|
42
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
|
|
43
|
-
* hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
44
|
-
* <p>If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling
|
|
45
|
-
* group, the call fails.</p>
|
|
46
|
-
* <p>You can view the lifecycle hooks for an Auto Scaling group using the <a>DescribeLifecycleHooks</a> API call. If you are no longer using a lifecycle
|
|
47
|
-
* hook, you can delete it by calling the <a>DeleteLifecycleHook</a> API.</p>
|
|
48
|
-
* @example
|
|
49
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
50
|
-
* ```javascript
|
|
51
|
-
* import { AutoScalingClient, PutLifecycleHookCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
52
|
-
* // const { AutoScalingClient, PutLifecycleHookCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
53
|
-
* const client = new AutoScalingClient(config);
|
|
54
|
-
* const command = new PutLifecycleHookCommand(input);
|
|
55
|
-
* const response = await client.send(command);
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* @see {@link PutLifecycleHookCommandInput} for command's `input` shape.
|
|
59
|
-
* @see {@link PutLifecycleHookCommandOutput} for command's `response` shape.
|
|
60
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
9
|
+
|
|
63
10
|
export declare class PutLifecycleHookCommand extends $Command<PutLifecycleHookCommandInput, PutLifecycleHookCommandOutput, AutoScalingClientResolvedConfig> {
|
|
64
11
|
readonly input: PutLifecycleHookCommandInput;
|
|
65
12
|
constructor(input: PutLifecycleHookCommandInput);
|
|
66
|
-
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
13
|
+
|
|
69
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutLifecycleHookCommandInput, PutLifecycleHookCommandOutput>;
|
|
70
15
|
private serialize;
|
|
71
16
|
private deserialize;
|
|
@@ -6,37 +6,11 @@ export interface PutNotificationConfigurationCommandInput extends PutNotificatio
|
|
|
6
6
|
}
|
|
7
7
|
export interface PutNotificationConfigurationCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Configures an Auto Scaling group to send notifications when specified events take place.
|
|
11
|
-
* Subscribers to the specified topic can have messages delivered to an endpoint such as a
|
|
12
|
-
* web server or an email address.</p>
|
|
13
|
-
* <p>This configuration overwrites any existing configuration.</p>
|
|
14
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html">Getting Amazon SNS
|
|
15
|
-
* notifications when your Auto Scaling group scales</a> in the
|
|
16
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
17
|
-
* <p>If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call
|
|
18
|
-
* fails.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { AutoScalingClient, PutNotificationConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
23
|
-
* // const { AutoScalingClient, PutNotificationConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
24
|
-
* const client = new AutoScalingClient(config);
|
|
25
|
-
* const command = new PutNotificationConfigurationCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link PutNotificationConfigurationCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link PutNotificationConfigurationCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
9
|
+
|
|
34
10
|
export declare class PutNotificationConfigurationCommand extends $Command<PutNotificationConfigurationCommandInput, PutNotificationConfigurationCommandOutput, AutoScalingClientResolvedConfig> {
|
|
35
11
|
readonly input: PutNotificationConfigurationCommandInput;
|
|
36
12
|
constructor(input: PutNotificationConfigurationCommandInput);
|
|
37
|
-
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
13
|
+
|
|
40
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutNotificationConfigurationCommandInput, PutNotificationConfigurationCommandOutput>;
|
|
41
15
|
private serialize;
|
|
42
16
|
private deserialize;
|
|
@@ -6,38 +6,11 @@ export interface PutScalingPolicyCommandInput extends PutScalingPolicyType {
|
|
|
6
6
|
}
|
|
7
7
|
export interface PutScalingPolicyCommandOutput extends PolicyARNType, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates or updates a scaling policy for an Auto Scaling group. Scaling policies are used to
|
|
11
|
-
* scale an Auto Scaling group based on configurable metrics. If no policies are defined, the
|
|
12
|
-
* dynamic scaling and predictive scaling features are not used. </p>
|
|
13
|
-
* <p>For more information about using dynamic scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html">Target tracking
|
|
14
|
-
* scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html">Step and simple scaling
|
|
15
|
-
* policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
16
|
-
* <p>For more information about using predictive scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html">Predictive
|
|
17
|
-
* scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
18
|
-
* <p>You can view the scaling policies for an Auto Scaling group using the <a>DescribePolicies</a> API call. If you are no longer using a scaling policy,
|
|
19
|
-
* you can delete it by calling the <a>DeletePolicy</a> API.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { AutoScalingClient, PutScalingPolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
24
|
-
* // const { AutoScalingClient, PutScalingPolicyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
25
|
-
* const client = new AutoScalingClient(config);
|
|
26
|
-
* const command = new PutScalingPolicyCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link PutScalingPolicyCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link PutScalingPolicyCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
9
|
+
|
|
35
10
|
export declare class PutScalingPolicyCommand extends $Command<PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput, AutoScalingClientResolvedConfig> {
|
|
36
11
|
readonly input: PutScalingPolicyCommandInput;
|
|
37
12
|
constructor(input: PutScalingPolicyCommandInput);
|
|
38
|
-
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
13
|
+
|
|
41
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutScalingPolicyCommandInput, PutScalingPolicyCommandOutput>;
|
|
42
15
|
private serialize;
|
|
43
16
|
private deserialize;
|
|
@@ -6,33 +6,11 @@ export interface PutScheduledUpdateGroupActionCommandInput extends PutScheduledU
|
|
|
6
6
|
}
|
|
7
7
|
export interface PutScheduledUpdateGroupActionCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates or updates a scheduled scaling action for an Auto Scaling group.</p>
|
|
11
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html">Scheduled scaling</a> in the
|
|
12
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
13
|
-
* <p>You can view the scheduled actions for an Auto Scaling group using the <a>DescribeScheduledActions</a> API call. If you are no longer using a
|
|
14
|
-
* scheduled action, you can delete it by calling the <a>DeleteScheduledAction</a> API.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { AutoScalingClient, PutScheduledUpdateGroupActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
19
|
-
* // const { AutoScalingClient, PutScheduledUpdateGroupActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
20
|
-
* const client = new AutoScalingClient(config);
|
|
21
|
-
* const command = new PutScheduledUpdateGroupActionCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link PutScheduledUpdateGroupActionCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link PutScheduledUpdateGroupActionCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
9
|
+
|
|
30
10
|
export declare class PutScheduledUpdateGroupActionCommand extends $Command<PutScheduledUpdateGroupActionCommandInput, PutScheduledUpdateGroupActionCommandOutput, AutoScalingClientResolvedConfig> {
|
|
31
11
|
readonly input: PutScheduledUpdateGroupActionCommandInput;
|
|
32
12
|
constructor(input: PutScheduledUpdateGroupActionCommandInput);
|
|
33
|
-
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
13
|
+
|
|
36
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutScheduledUpdateGroupActionCommandInput, PutScheduledUpdateGroupActionCommandOutput>;
|
|
37
15
|
private serialize;
|
|
38
16
|
private deserialize;
|
|
@@ -6,38 +6,11 @@ export interface PutWarmPoolCommandInput extends PutWarmPoolType {
|
|
|
6
6
|
}
|
|
7
7
|
export interface PutWarmPoolCommandOutput extends PutWarmPoolAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of
|
|
11
|
-
* pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your
|
|
12
|
-
* application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new
|
|
13
|
-
* desired capacity. For more information and example configurations, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
|
|
14
|
-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
15
|
-
* <p>This operation must be called from the Region in which the Auto Scaling group was created.
|
|
16
|
-
* This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a
|
|
17
|
-
* launch template or launch configuration that requests Spot Instances.</p>
|
|
18
|
-
* <p>You can view the instances in the warm pool using the <a>DescribeWarmPool</a> API call. If you are no longer using a warm pool, you can delete it by calling the
|
|
19
|
-
* <a>DeleteWarmPool</a> API.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { AutoScalingClient, PutWarmPoolCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
24
|
-
* // const { AutoScalingClient, PutWarmPoolCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
25
|
-
* const client = new AutoScalingClient(config);
|
|
26
|
-
* const command = new PutWarmPoolCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link PutWarmPoolCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link PutWarmPoolCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
9
|
+
|
|
35
10
|
export declare class PutWarmPoolCommand extends $Command<PutWarmPoolCommandInput, PutWarmPoolCommandOutput, AutoScalingClientResolvedConfig> {
|
|
36
11
|
readonly input: PutWarmPoolCommandInput;
|
|
37
12
|
constructor(input: PutWarmPoolCommandInput);
|
|
38
|
-
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
13
|
+
|
|
41
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutWarmPoolCommandInput, PutWarmPoolCommandOutput>;
|
|
42
15
|
private serialize;
|
|
43
16
|
private deserialize;
|
|
@@ -6,61 +6,11 @@ export interface RecordLifecycleActionHeartbeatCommandInput extends RecordLifecy
|
|
|
6
6
|
}
|
|
7
7
|
export interface RecordLifecycleActionHeartbeatCommandOutput extends RecordLifecycleActionHeartbeatAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Records a heartbeat for the lifecycle action associated with the specified token or
|
|
11
|
-
* instance. This extends the timeout by the length of time defined using the <a>PutLifecycleHook</a> API call.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
|
|
14
|
-
* group:</p>
|
|
15
|
-
* <ol>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
|
|
18
|
-
* invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
|
|
19
|
-
* instances.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>(Optional) Create a notification target and an IAM role. The target can be
|
|
23
|
-
* either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
|
|
24
|
-
* publish lifecycle notifications to the target.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Create the lifecycle hook. Specify whether the hook is used when the instances
|
|
28
|
-
* launch or terminate.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* <b>If you need more time, record the lifecycle action
|
|
33
|
-
* heartbeat to keep the instance in a pending state.</b>
|
|
34
|
-
* </p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>If you finish before the timeout period ends, complete the lifecycle
|
|
38
|
-
* action.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ol>
|
|
41
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
|
|
42
|
-
* hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
43
|
-
* @example
|
|
44
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
-
* ```javascript
|
|
46
|
-
* import { AutoScalingClient, RecordLifecycleActionHeartbeatCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
47
|
-
* // const { AutoScalingClient, RecordLifecycleActionHeartbeatCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
48
|
-
* const client = new AutoScalingClient(config);
|
|
49
|
-
* const command = new RecordLifecycleActionHeartbeatCommand(input);
|
|
50
|
-
* const response = await client.send(command);
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @see {@link RecordLifecycleActionHeartbeatCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link RecordLifecycleActionHeartbeatCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
9
|
+
|
|
58
10
|
export declare class RecordLifecycleActionHeartbeatCommand extends $Command<RecordLifecycleActionHeartbeatCommandInput, RecordLifecycleActionHeartbeatCommandOutput, AutoScalingClientResolvedConfig> {
|
|
59
11
|
readonly input: RecordLifecycleActionHeartbeatCommandInput;
|
|
60
12
|
constructor(input: RecordLifecycleActionHeartbeatCommandInput);
|
|
61
|
-
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
13
|
+
|
|
64
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RecordLifecycleActionHeartbeatCommandInput, RecordLifecycleActionHeartbeatCommandOutput>;
|
|
65
15
|
private serialize;
|
|
66
16
|
private deserialize;
|
|
@@ -6,32 +6,11 @@ export interface ResumeProcessesCommandInput extends ScalingProcessQuery {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ResumeProcessesCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Resumes the specified suspended auto scaling processes, or all suspended process, for
|
|
11
|
-
* the specified Auto Scaling group.</p>
|
|
12
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
|
|
13
|
-
* resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { AutoScalingClient, ResumeProcessesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
18
|
-
* // const { AutoScalingClient, ResumeProcessesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
19
|
-
* const client = new AutoScalingClient(config);
|
|
20
|
-
* const command = new ResumeProcessesCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link ResumeProcessesCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link ResumeProcessesCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
9
|
+
|
|
29
10
|
export declare class ResumeProcessesCommand extends $Command<ResumeProcessesCommandInput, ResumeProcessesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
30
11
|
readonly input: ResumeProcessesCommandInput;
|
|
31
12
|
constructor(input: ResumeProcessesCommandInput);
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
13
|
+
|
|
35
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ResumeProcessesCommandInput, ResumeProcessesCommandOutput>;
|
|
36
15
|
private serialize;
|
|
37
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface SetDesiredCapacityCommandInput extends SetDesiredCapacityType {
|
|
|
6
6
|
}
|
|
7
7
|
export interface SetDesiredCapacityCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Sets the size of the specified Auto Scaling group.</p>
|
|
11
|
-
* <p>If a scale-in activity occurs as a result of a new <code>DesiredCapacity</code> value
|
|
12
|
-
* that is lower than the current size of the group, the Auto Scaling group uses its termination
|
|
13
|
-
* policy to determine which instances to terminate. </p>
|
|
14
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html">Manual scaling</a> in the
|
|
15
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { AutoScalingClient, SetDesiredCapacityCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
20
|
-
* // const { AutoScalingClient, SetDesiredCapacityCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
21
|
-
* const client = new AutoScalingClient(config);
|
|
22
|
-
* const command = new SetDesiredCapacityCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link SetDesiredCapacityCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link SetDesiredCapacityCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class SetDesiredCapacityCommand extends $Command<SetDesiredCapacityCommandInput, SetDesiredCapacityCommandOutput, AutoScalingClientResolvedConfig> {
|
|
32
11
|
readonly input: SetDesiredCapacityCommandInput;
|
|
33
12
|
constructor(input: SetDesiredCapacityCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetDesiredCapacityCommandInput, SetDesiredCapacityCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,31 +6,11 @@ export interface SetInstanceHealthCommandInput extends SetInstanceHealthQuery {
|
|
|
6
6
|
}
|
|
7
7
|
export interface SetInstanceHealthCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Sets the health status of the specified instance.</p>
|
|
11
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html">Health checks for Auto Scaling
|
|
12
|
-
* instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { AutoScalingClient, SetInstanceHealthCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
17
|
-
* // const { AutoScalingClient, SetInstanceHealthCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
18
|
-
* const client = new AutoScalingClient(config);
|
|
19
|
-
* const command = new SetInstanceHealthCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link SetInstanceHealthCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link SetInstanceHealthCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
9
|
+
|
|
28
10
|
export declare class SetInstanceHealthCommand extends $Command<SetInstanceHealthCommandInput, SetInstanceHealthCommandOutput, AutoScalingClientResolvedConfig> {
|
|
29
11
|
readonly input: SetInstanceHealthCommandInput;
|
|
30
12
|
constructor(input: SetInstanceHealthCommandInput);
|
|
31
|
-
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
13
|
+
|
|
34
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetInstanceHealthCommandInput, SetInstanceHealthCommandOutput>;
|
|
35
15
|
private serialize;
|
|
36
16
|
private deserialize;
|
|
@@ -6,35 +6,11 @@ export interface SetInstanceProtectionCommandInput extends SetInstanceProtection
|
|
|
6
6
|
}
|
|
7
7
|
export interface SetInstanceProtectionCommandOutput extends SetInstanceProtectionAnswer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Updates the instance protection settings of the specified instances. This operation
|
|
11
|
-
* cannot be called on instances in a warm pool.</p>
|
|
12
|
-
* <p>For more information about preventing instances that are part of an Auto Scaling group from
|
|
13
|
-
* terminating on scale in, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection">Instance scale-in protection</a> in the
|
|
14
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
15
|
-
* <p>If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call
|
|
16
|
-
* fails.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { AutoScalingClient, SetInstanceProtectionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
21
|
-
* // const { AutoScalingClient, SetInstanceProtectionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
22
|
-
* const client = new AutoScalingClient(config);
|
|
23
|
-
* const command = new SetInstanceProtectionCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link SetInstanceProtectionCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link SetInstanceProtectionCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
9
|
+
|
|
32
10
|
export declare class SetInstanceProtectionCommand extends $Command<SetInstanceProtectionCommandInput, SetInstanceProtectionCommandOutput, AutoScalingClientResolvedConfig> {
|
|
33
11
|
readonly input: SetInstanceProtectionCommandInput;
|
|
34
12
|
constructor(input: SetInstanceProtectionCommandInput);
|
|
35
|
-
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
13
|
+
|
|
38
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetInstanceProtectionCommandInput, SetInstanceProtectionCommandOutput>;
|
|
39
15
|
private serialize;
|
|
40
16
|
private deserialize;
|