@aws-sdk/client-auto-scaling 3.226.0 → 3.229.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-cjs/AutoScaling.js +45 -0
- package/dist-cjs/commands/AttachTrafficSourcesCommand.js +46 -0
- package/dist-cjs/commands/DescribeTrafficSourcesCommand.js +46 -0
- package/dist-cjs/commands/DetachTrafficSourcesCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +1 -10
- package/dist-cjs/models/models_0.js +45 -4
- package/dist-cjs/protocols/Aws_query.js +420 -3
- package/dist-cjs/runtimeConfig.browser.js +3 -3
- package/dist-cjs/runtimeConfig.js +2 -1
- package/dist-es/AutoScaling.js +45 -0
- package/dist-es/commands/AttachTrafficSourcesCommand.js +42 -0
- package/dist-es/commands/DescribeTrafficSourcesCommand.js +42 -0
- package/dist-es/commands/DetachTrafficSourcesCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +1 -10
- package/dist-es/models/models_0.js +30 -0
- package/dist-es/protocols/Aws_query.js +411 -0
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/AutoScaling.d.ts +217 -183
- package/dist-types/AutoScalingClient.d.ts +7 -17
- package/dist-types/commands/AttachInstancesCommand.d.ts +3 -3
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +8 -8
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +5 -5
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +45 -0
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +1 -1
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +11 -11
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +4 -4
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +5 -5
- package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +11 -11
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +10 -10
- package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +8 -8
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +8 -3
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +4 -4
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +41 -0
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
- package/dist-types/commands/DetachInstancesCommand.d.ts +4 -4
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +6 -1
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +2 -2
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +41 -0
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +1 -1
- package/dist-types/commands/EnterStandbyCommand.d.ts +3 -3
- package/dist-types/commands/ExitStandbyCommand.d.ts +2 -2
- package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +3 -3
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +14 -14
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +3 -3
- package/dist-types/commands/PutWarmPoolCommand.d.ts +2 -2
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +11 -11
- package/dist-types/commands/ResumeProcessesCommand.d.ts +1 -1
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +2 -2
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +1 -1
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +2 -2
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +2 -2
- package/dist-types/commands/SuspendProcessesCommand.d.ts +2 -2
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +9 -9
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1040 -790
- package/dist-types/protocols/Aws_query.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/AutoScaling.d.ts +51 -0
- package/dist-types/ts3.4/AutoScalingClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AttachTrafficSourcesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeTrafficSourcesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DetachTrafficSourcesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +75 -3
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -1
- package/package.json +5 -4
|
@@ -10,6 +10,7 @@ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Creden
|
|
|
10
10
|
import { AttachInstancesCommandInput, AttachInstancesCommandOutput } from "./commands/AttachInstancesCommand";
|
|
11
11
|
import { AttachLoadBalancersCommandInput, AttachLoadBalancersCommandOutput } from "./commands/AttachLoadBalancersCommand";
|
|
12
12
|
import { AttachLoadBalancerTargetGroupsCommandInput, AttachLoadBalancerTargetGroupsCommandOutput } from "./commands/AttachLoadBalancerTargetGroupsCommand";
|
|
13
|
+
import { AttachTrafficSourcesCommandInput, AttachTrafficSourcesCommandOutput } from "./commands/AttachTrafficSourcesCommand";
|
|
13
14
|
import { BatchDeleteScheduledActionCommandInput, BatchDeleteScheduledActionCommandOutput } from "./commands/BatchDeleteScheduledActionCommand";
|
|
14
15
|
import { BatchPutScheduledUpdateGroupActionCommandInput, BatchPutScheduledUpdateGroupActionCommandOutput } from "./commands/BatchPutScheduledUpdateGroupActionCommand";
|
|
15
16
|
import { CancelInstanceRefreshCommandInput, CancelInstanceRefreshCommandOutput } from "./commands/CancelInstanceRefreshCommand";
|
|
@@ -44,10 +45,12 @@ import { DescribeScalingProcessTypesCommandInput, DescribeScalingProcessTypesCom
|
|
|
44
45
|
import { DescribeScheduledActionsCommandInput, DescribeScheduledActionsCommandOutput } from "./commands/DescribeScheduledActionsCommand";
|
|
45
46
|
import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "./commands/DescribeTagsCommand";
|
|
46
47
|
import { DescribeTerminationPolicyTypesCommandInput, DescribeTerminationPolicyTypesCommandOutput } from "./commands/DescribeTerminationPolicyTypesCommand";
|
|
48
|
+
import { DescribeTrafficSourcesCommandInput, DescribeTrafficSourcesCommandOutput } from "./commands/DescribeTrafficSourcesCommand";
|
|
47
49
|
import { DescribeWarmPoolCommandInput, DescribeWarmPoolCommandOutput } from "./commands/DescribeWarmPoolCommand";
|
|
48
50
|
import { DetachInstancesCommandInput, DetachInstancesCommandOutput } from "./commands/DetachInstancesCommand";
|
|
49
51
|
import { DetachLoadBalancersCommandInput, DetachLoadBalancersCommandOutput } from "./commands/DetachLoadBalancersCommand";
|
|
50
52
|
import { DetachLoadBalancerTargetGroupsCommandInput, DetachLoadBalancerTargetGroupsCommandOutput } from "./commands/DetachLoadBalancerTargetGroupsCommand";
|
|
53
|
+
import { DetachTrafficSourcesCommandInput, DetachTrafficSourcesCommandOutput } from "./commands/DetachTrafficSourcesCommand";
|
|
51
54
|
import { DisableMetricsCollectionCommandInput, DisableMetricsCollectionCommandOutput } from "./commands/DisableMetricsCollectionCommand";
|
|
52
55
|
import { EnableMetricsCollectionCommandInput, EnableMetricsCollectionCommandOutput } from "./commands/EnableMetricsCollectionCommand";
|
|
53
56
|
import { EnterStandbyCommandInput, EnterStandbyCommandOutput } from "./commands/EnterStandbyCommand";
|
|
@@ -69,8 +72,8 @@ import { SuspendProcessesCommandInput, SuspendProcessesCommandOutput } from "./c
|
|
|
69
72
|
import { TerminateInstanceInAutoScalingGroupCommandInput, TerminateInstanceInAutoScalingGroupCommandOutput } from "./commands/TerminateInstanceInAutoScalingGroupCommand";
|
|
70
73
|
import { UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput } from "./commands/UpdateAutoScalingGroupCommand";
|
|
71
74
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
72
|
-
export declare type ServiceInputTypes = AttachInstancesCommandInput | AttachLoadBalancerTargetGroupsCommandInput | AttachLoadBalancersCommandInput | BatchDeleteScheduledActionCommandInput | BatchPutScheduledUpdateGroupActionCommandInput | CancelInstanceRefreshCommandInput | CompleteLifecycleActionCommandInput | CreateAutoScalingGroupCommandInput | CreateLaunchConfigurationCommandInput | CreateOrUpdateTagsCommandInput | DeleteAutoScalingGroupCommandInput | DeleteLaunchConfigurationCommandInput | DeleteLifecycleHookCommandInput | DeleteNotificationConfigurationCommandInput | DeletePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteTagsCommandInput | DeleteWarmPoolCommandInput | DescribeAccountLimitsCommandInput | DescribeAdjustmentTypesCommandInput | DescribeAutoScalingGroupsCommandInput | DescribeAutoScalingInstancesCommandInput | DescribeAutoScalingNotificationTypesCommandInput | DescribeInstanceRefreshesCommandInput | DescribeLaunchConfigurationsCommandInput | DescribeLifecycleHookTypesCommandInput | DescribeLifecycleHooksCommandInput | DescribeLoadBalancerTargetGroupsCommandInput | DescribeLoadBalancersCommandInput | DescribeMetricCollectionTypesCommandInput | DescribeNotificationConfigurationsCommandInput | DescribePoliciesCommandInput | DescribeScalingActivitiesCommandInput | DescribeScalingProcessTypesCommandInput | DescribeScheduledActionsCommandInput | DescribeTagsCommandInput | DescribeTerminationPolicyTypesCommandInput | DescribeWarmPoolCommandInput | DetachInstancesCommandInput | DetachLoadBalancerTargetGroupsCommandInput | DetachLoadBalancersCommandInput | DisableMetricsCollectionCommandInput | EnableMetricsCollectionCommandInput | EnterStandbyCommandInput | ExecutePolicyCommandInput | ExitStandbyCommandInput | GetPredictiveScalingForecastCommandInput | PutLifecycleHookCommandInput | PutNotificationConfigurationCommandInput | PutScalingPolicyCommandInput | PutScheduledUpdateGroupActionCommandInput | PutWarmPoolCommandInput | RecordLifecycleActionHeartbeatCommandInput | ResumeProcessesCommandInput | SetDesiredCapacityCommandInput | SetInstanceHealthCommandInput | SetInstanceProtectionCommandInput | StartInstanceRefreshCommandInput | SuspendProcessesCommandInput | TerminateInstanceInAutoScalingGroupCommandInput | UpdateAutoScalingGroupCommandInput;
|
|
73
|
-
export declare type ServiceOutputTypes = AttachInstancesCommandOutput | AttachLoadBalancerTargetGroupsCommandOutput | AttachLoadBalancersCommandOutput | BatchDeleteScheduledActionCommandOutput | BatchPutScheduledUpdateGroupActionCommandOutput | CancelInstanceRefreshCommandOutput | CompleteLifecycleActionCommandOutput | CreateAutoScalingGroupCommandOutput | CreateLaunchConfigurationCommandOutput | CreateOrUpdateTagsCommandOutput | DeleteAutoScalingGroupCommandOutput | DeleteLaunchConfigurationCommandOutput | DeleteLifecycleHookCommandOutput | DeleteNotificationConfigurationCommandOutput | DeletePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteTagsCommandOutput | DeleteWarmPoolCommandOutput | DescribeAccountLimitsCommandOutput | DescribeAdjustmentTypesCommandOutput | DescribeAutoScalingGroupsCommandOutput | DescribeAutoScalingInstancesCommandOutput | DescribeAutoScalingNotificationTypesCommandOutput | DescribeInstanceRefreshesCommandOutput | DescribeLaunchConfigurationsCommandOutput | DescribeLifecycleHookTypesCommandOutput | DescribeLifecycleHooksCommandOutput | DescribeLoadBalancerTargetGroupsCommandOutput | DescribeLoadBalancersCommandOutput | DescribeMetricCollectionTypesCommandOutput | DescribeNotificationConfigurationsCommandOutput | DescribePoliciesCommandOutput | DescribeScalingActivitiesCommandOutput | DescribeScalingProcessTypesCommandOutput | DescribeScheduledActionsCommandOutput | DescribeTagsCommandOutput | DescribeTerminationPolicyTypesCommandOutput | DescribeWarmPoolCommandOutput | DetachInstancesCommandOutput | DetachLoadBalancerTargetGroupsCommandOutput | DetachLoadBalancersCommandOutput | DisableMetricsCollectionCommandOutput | EnableMetricsCollectionCommandOutput | EnterStandbyCommandOutput | ExecutePolicyCommandOutput | ExitStandbyCommandOutput | GetPredictiveScalingForecastCommandOutput | PutLifecycleHookCommandOutput | PutNotificationConfigurationCommandOutput | PutScalingPolicyCommandOutput | PutScheduledUpdateGroupActionCommandOutput | PutWarmPoolCommandOutput | RecordLifecycleActionHeartbeatCommandOutput | ResumeProcessesCommandOutput | SetDesiredCapacityCommandOutput | SetInstanceHealthCommandOutput | SetInstanceProtectionCommandOutput | StartInstanceRefreshCommandOutput | SuspendProcessesCommandOutput | TerminateInstanceInAutoScalingGroupCommandOutput | UpdateAutoScalingGroupCommandOutput;
|
|
75
|
+
export declare type ServiceInputTypes = AttachInstancesCommandInput | AttachLoadBalancerTargetGroupsCommandInput | AttachLoadBalancersCommandInput | AttachTrafficSourcesCommandInput | BatchDeleteScheduledActionCommandInput | BatchPutScheduledUpdateGroupActionCommandInput | CancelInstanceRefreshCommandInput | CompleteLifecycleActionCommandInput | CreateAutoScalingGroupCommandInput | CreateLaunchConfigurationCommandInput | CreateOrUpdateTagsCommandInput | DeleteAutoScalingGroupCommandInput | DeleteLaunchConfigurationCommandInput | DeleteLifecycleHookCommandInput | DeleteNotificationConfigurationCommandInput | DeletePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteTagsCommandInput | DeleteWarmPoolCommandInput | DescribeAccountLimitsCommandInput | DescribeAdjustmentTypesCommandInput | DescribeAutoScalingGroupsCommandInput | DescribeAutoScalingInstancesCommandInput | DescribeAutoScalingNotificationTypesCommandInput | DescribeInstanceRefreshesCommandInput | DescribeLaunchConfigurationsCommandInput | DescribeLifecycleHookTypesCommandInput | DescribeLifecycleHooksCommandInput | DescribeLoadBalancerTargetGroupsCommandInput | DescribeLoadBalancersCommandInput | DescribeMetricCollectionTypesCommandInput | DescribeNotificationConfigurationsCommandInput | DescribePoliciesCommandInput | DescribeScalingActivitiesCommandInput | DescribeScalingProcessTypesCommandInput | DescribeScheduledActionsCommandInput | DescribeTagsCommandInput | DescribeTerminationPolicyTypesCommandInput | DescribeTrafficSourcesCommandInput | DescribeWarmPoolCommandInput | DetachInstancesCommandInput | DetachLoadBalancerTargetGroupsCommandInput | DetachLoadBalancersCommandInput | DetachTrafficSourcesCommandInput | DisableMetricsCollectionCommandInput | EnableMetricsCollectionCommandInput | EnterStandbyCommandInput | ExecutePolicyCommandInput | ExitStandbyCommandInput | GetPredictiveScalingForecastCommandInput | PutLifecycleHookCommandInput | PutNotificationConfigurationCommandInput | PutScalingPolicyCommandInput | PutScheduledUpdateGroupActionCommandInput | PutWarmPoolCommandInput | RecordLifecycleActionHeartbeatCommandInput | ResumeProcessesCommandInput | SetDesiredCapacityCommandInput | SetInstanceHealthCommandInput | SetInstanceProtectionCommandInput | StartInstanceRefreshCommandInput | SuspendProcessesCommandInput | TerminateInstanceInAutoScalingGroupCommandInput | UpdateAutoScalingGroupCommandInput;
|
|
76
|
+
export declare type ServiceOutputTypes = AttachInstancesCommandOutput | AttachLoadBalancerTargetGroupsCommandOutput | AttachLoadBalancersCommandOutput | AttachTrafficSourcesCommandOutput | BatchDeleteScheduledActionCommandOutput | BatchPutScheduledUpdateGroupActionCommandOutput | CancelInstanceRefreshCommandOutput | CompleteLifecycleActionCommandOutput | CreateAutoScalingGroupCommandOutput | CreateLaunchConfigurationCommandOutput | CreateOrUpdateTagsCommandOutput | DeleteAutoScalingGroupCommandOutput | DeleteLaunchConfigurationCommandOutput | DeleteLifecycleHookCommandOutput | DeleteNotificationConfigurationCommandOutput | DeletePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteTagsCommandOutput | DeleteWarmPoolCommandOutput | DescribeAccountLimitsCommandOutput | DescribeAdjustmentTypesCommandOutput | DescribeAutoScalingGroupsCommandOutput | DescribeAutoScalingInstancesCommandOutput | DescribeAutoScalingNotificationTypesCommandOutput | DescribeInstanceRefreshesCommandOutput | DescribeLaunchConfigurationsCommandOutput | DescribeLifecycleHookTypesCommandOutput | DescribeLifecycleHooksCommandOutput | DescribeLoadBalancerTargetGroupsCommandOutput | DescribeLoadBalancersCommandOutput | DescribeMetricCollectionTypesCommandOutput | DescribeNotificationConfigurationsCommandOutput | DescribePoliciesCommandOutput | DescribeScalingActivitiesCommandOutput | DescribeScalingProcessTypesCommandOutput | DescribeScheduledActionsCommandOutput | DescribeTagsCommandOutput | DescribeTerminationPolicyTypesCommandOutput | DescribeTrafficSourcesCommandOutput | DescribeWarmPoolCommandOutput | DetachInstancesCommandOutput | DetachLoadBalancerTargetGroupsCommandOutput | DetachLoadBalancersCommandOutput | DetachTrafficSourcesCommandOutput | DisableMetricsCollectionCommandOutput | EnableMetricsCollectionCommandOutput | EnterStandbyCommandOutput | ExecutePolicyCommandOutput | ExitStandbyCommandOutput | GetPredictiveScalingForecastCommandOutput | PutLifecycleHookCommandOutput | PutNotificationConfigurationCommandOutput | PutScalingPolicyCommandOutput | PutScheduledUpdateGroupActionCommandOutput | PutWarmPoolCommandOutput | RecordLifecycleActionHeartbeatCommandOutput | ResumeProcessesCommandOutput | SetDesiredCapacityCommandOutput | SetInstanceHealthCommandOutput | SetInstanceProtectionCommandOutput | StartInstanceRefreshCommandOutput | SuspendProcessesCommandOutput | TerminateInstanceInAutoScalingGroupCommandOutput | UpdateAutoScalingGroupCommandOutput;
|
|
74
77
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
75
78
|
/**
|
|
76
79
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -185,22 +188,9 @@ export interface AutoScalingClientResolvedConfig extends AutoScalingClientResolv
|
|
|
185
188
|
}
|
|
186
189
|
/**
|
|
187
190
|
* <fullname>Amazon EC2 Auto Scaling</fullname>
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
* <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
191
|
+
* <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
202
192
|
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
203
|
-
*
|
|
193
|
+
* <p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
204
194
|
*/
|
|
205
195
|
export declare class AutoScalingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AutoScalingClientResolvedConfig> {
|
|
206
196
|
/**
|
|
@@ -9,14 +9,14 @@ export interface AttachInstancesCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the
|
|
13
13
|
* number of instances being attached. If the number of instances being attached plus the
|
|
14
14
|
* desired capacity of the group exceeds the maximum size of the group, the operation
|
|
15
15
|
* fails.</p>
|
|
16
|
-
*
|
|
16
|
+
* <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are
|
|
17
17
|
* also registered with the load balancer. If there are target groups attached to your Auto Scaling
|
|
18
18
|
* group, the instances are also registered with the target groups.</p>
|
|
19
|
-
*
|
|
19
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html">Attach EC2 instances to
|
|
20
20
|
* your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
21
21
|
* @example
|
|
22
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,25 +9,25 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput extends AttachLoadB
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Attaches one or more target groups to the specified Auto Scaling group.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <p>This operation is used with the following load balancer types: </p>
|
|
13
|
+
* <ul>
|
|
14
14
|
* <li>
|
|
15
|
-
*
|
|
15
|
+
* <p>Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and
|
|
16
16
|
* HTTPS. </p>
|
|
17
17
|
* </li>
|
|
18
18
|
* <li>
|
|
19
|
-
*
|
|
19
|
+
* <p>Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and
|
|
20
20
|
* UDP. </p>
|
|
21
21
|
* </li>
|
|
22
22
|
* <li>
|
|
23
|
-
*
|
|
23
|
+
* <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
|
|
24
24
|
* </li>
|
|
25
25
|
* </ul>
|
|
26
|
-
*
|
|
26
|
+
* <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from
|
|
27
27
|
* the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>
|
|
28
|
-
*
|
|
28
|
+
* <p>This operation is additive and does not detach existing target groups or Classic Load
|
|
29
29
|
* Balancers from the Auto Scaling group.</p>
|
|
30
|
-
*
|
|
30
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
31
31
|
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
32
32
|
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
33
33
|
* @example
|
|
@@ -10,14 +10,14 @@ export interface AttachLoadBalancersCommandOutput extends AttachLoadBalancersRes
|
|
|
10
10
|
/**
|
|
11
11
|
* <note>
|
|
12
12
|
* <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation instead.</p>
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* </note>
|
|
14
|
+
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the
|
|
15
15
|
* running instances with these Classic Load Balancers.</p>
|
|
16
|
-
*
|
|
16
|
+
* <p>To describe the load balancers for an Auto Scaling group, call the <a>DescribeLoadBalancers</a> API. To detach a load balancer from the Auto Scaling
|
|
17
17
|
* group, call the <a>DetachLoadBalancers</a> API.</p>
|
|
18
|
-
*
|
|
18
|
+
* <p>This operation is additive and does not detach existing Classic Load Balancers or
|
|
19
19
|
* target groups from the Auto Scaling group.</p>
|
|
20
|
-
*
|
|
20
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
21
21
|
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
22
22
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
23
23
|
* @example
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
|
|
5
|
+
import { AttachTrafficSourcesResultType, AttachTrafficSourcesType } from "../models/models_0";
|
|
6
|
+
export interface AttachTrafficSourcesCommandInput extends AttachTrafficSourcesType {
|
|
7
|
+
}
|
|
8
|
+
export interface AttachTrafficSourcesCommandOutput extends AttachTrafficSourcesResultType, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Reserved for use with Amazon VPC Lattice, which is in preview and subject to change.
|
|
13
|
+
* Do not use this API for production workloads. This API is also subject to change.</b>
|
|
14
|
+
* </p>
|
|
15
|
+
* <p>Attaches one or more traffic sources to the specified Auto Scaling group.</p>
|
|
16
|
+
* <p>To describe the traffic sources for an Auto Scaling group, call the <a>DescribeTrafficSources</a> API. To detach a traffic source from the Auto Scaling
|
|
17
|
+
* group, call the <a>DetachTrafficSources</a> API.</p>
|
|
18
|
+
* <p>This operation is additive and does not detach existing traffic sources from the Auto Scaling
|
|
19
|
+
* group.</p>
|
|
20
|
+
* @example
|
|
21
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
+
* ```javascript
|
|
23
|
+
* import { AutoScalingClient, AttachTrafficSourcesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
24
|
+
* // const { AutoScalingClient, AttachTrafficSourcesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
25
|
+
* const client = new AutoScalingClient(config);
|
|
26
|
+
* const command = new AttachTrafficSourcesCommand(input);
|
|
27
|
+
* const response = await client.send(command);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @see {@link AttachTrafficSourcesCommandInput} for command's `input` shape.
|
|
31
|
+
* @see {@link AttachTrafficSourcesCommandOutput} for command's `response` shape.
|
|
32
|
+
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare class AttachTrafficSourcesCommand extends $Command<AttachTrafficSourcesCommandInput, AttachTrafficSourcesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
36
|
+
readonly input: AttachTrafficSourcesCommandInput;
|
|
37
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
38
|
+
constructor(input: AttachTrafficSourcesCommandInput);
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AttachTrafficSourcesCommandInput, AttachTrafficSourcesCommandOutput>;
|
|
43
|
+
private serialize;
|
|
44
|
+
private deserialize;
|
|
45
|
+
}
|
|
@@ -11,7 +11,7 @@ export interface CancelInstanceRefreshCommandOutput extends CancelInstanceRefres
|
|
|
11
11
|
* <p>Cancels an instance refresh operation in progress. Cancellation does not roll back any
|
|
12
12
|
* replacements that have already been completed, but it prevents new replacements from
|
|
13
13
|
* being started. </p>
|
|
14
|
-
*
|
|
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
15
|
* feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
|
|
16
16
|
* after you make configuration changes.</p>
|
|
17
17
|
* @example
|
|
@@ -10,41 +10,41 @@ export interface CompleteLifecycleActionCommandOutput extends CompleteLifecycleA
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Completes the lifecycle action for the specified token or instance with the specified
|
|
12
12
|
* result.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
|
|
14
14
|
* group:</p>
|
|
15
|
-
*
|
|
15
|
+
* <ol>
|
|
16
16
|
* <li>
|
|
17
|
-
*
|
|
17
|
+
* <p>(Optional) Create a launch template or launch configuration with a user data
|
|
18
18
|
* script that runs while an instance is in a wait state due to a lifecycle
|
|
19
19
|
* hook.</p>
|
|
20
20
|
* </li>
|
|
21
21
|
* <li>
|
|
22
|
-
*
|
|
22
|
+
* <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke
|
|
23
23
|
* your Lambda function when an instance is put into a wait state due to a
|
|
24
24
|
* lifecycle hook.</p>
|
|
25
25
|
* </li>
|
|
26
26
|
* <li>
|
|
27
|
-
*
|
|
27
|
+
* <p>(Optional) Create a notification target and an IAM role. The target can be
|
|
28
28
|
* either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish
|
|
29
29
|
* lifecycle notifications to the target.</p>
|
|
30
30
|
* </li>
|
|
31
31
|
* <li>
|
|
32
|
-
*
|
|
32
|
+
* <p>Create the lifecycle hook. Specify whether the hook is used when the instances
|
|
33
33
|
* launch or terminate.</p>
|
|
34
34
|
* </li>
|
|
35
35
|
* <li>
|
|
36
|
-
*
|
|
36
|
+
* <p>If you need more time, record the lifecycle action heartbeat to keep the
|
|
37
37
|
* instance in a wait state.</p>
|
|
38
38
|
* </li>
|
|
39
39
|
* <li>
|
|
40
|
-
*
|
|
41
|
-
*
|
|
40
|
+
* <p>
|
|
41
|
+
* <b>If you finish before the timeout period ends, send a
|
|
42
42
|
* callback by using the <a>CompleteLifecycleAction</a> API
|
|
43
43
|
* call.</b>
|
|
44
|
-
*
|
|
44
|
+
* </p>
|
|
45
45
|
* </li>
|
|
46
46
|
* </ol>
|
|
47
|
-
*
|
|
47
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
|
|
48
48
|
* hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
49
49
|
* @example
|
|
50
50
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -11,17 +11,17 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
11
11
|
* <p>
|
|
12
12
|
* <b>We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
|
|
13
13
|
* </p>
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* <p>Creates an Auto Scaling group with the specified name and attributes. </p>
|
|
15
|
+
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
|
|
16
16
|
* call the <a>DescribeAccountLimits</a> API. For information about updating
|
|
17
17
|
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
18
18
|
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
19
|
-
*
|
|
19
|
+
* <p>For introductory exercises for creating an Auto Scaling group, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html">Getting started with
|
|
20
20
|
* Amazon EC2 Auto Scaling</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html">Tutorial: Set up a
|
|
21
21
|
* scaled and load-balanced application</a> in the
|
|
22
22
|
* <i>Amazon EC2 Auto Scaling User Guide</i>. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html">Auto Scaling
|
|
23
23
|
* groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
24
|
-
*
|
|
24
|
+
* <p>Every Auto Scaling group has three size properties (<code>DesiredCapacity</code>,
|
|
25
25
|
* <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based
|
|
26
26
|
* on a specific number of instances. However, if you configure a mixed instances policy
|
|
27
27
|
* that defines weights for the instance types, you must specify these sizes with the same
|
|
@@ -9,13 +9,13 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a launch configuration.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>If you exceed your maximum limit of launch configurations, the call fails. To query
|
|
13
13
|
* this limit, call the <a>DescribeAccountLimits</a> API. For information about
|
|
14
14
|
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
15
15
|
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
16
|
-
*
|
|
16
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html">Launch
|
|
17
17
|
* configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
18
|
-
*
|
|
18
|
+
* <note>
|
|
19
19
|
* <p>Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a
|
|
20
20
|
* launch template or a launch configuration. We strongly recommend that you do not use
|
|
21
21
|
* launch configurations. They do not provide full functionality for Amazon EC2 Auto Scaling or Amazon EC2.
|
|
@@ -9,9 +9,9 @@ export interface CreateOrUpdateTagsCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates or updates tags for the specified Auto Scaling group.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>When you specify a tag with a key that already exists, the operation overwrites the
|
|
13
13
|
* previous tag definition, and you do not get an error message.</p>
|
|
14
|
-
*
|
|
14
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html">Tag Auto Scaling groups and
|
|
15
15
|
* instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,19 +9,19 @@ export interface DeleteAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the specified Auto Scaling group.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>If the group has instances or scaling activities in progress, you must specify the
|
|
13
13
|
* option to force the deletion in order for it to succeed. The force delete operation will
|
|
14
14
|
* also terminate the EC2 instances. If the group has a warm pool, the force delete option
|
|
15
15
|
* also deletes the warm pool.</p>
|
|
16
|
-
*
|
|
16
|
+
* <p>To remove instances from the Auto Scaling group before deleting it, call the <a>DetachInstances</a> API with the list of instances and the option to
|
|
17
17
|
* decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement
|
|
18
18
|
* instances.</p>
|
|
19
|
-
*
|
|
19
|
+
* <p>To terminate all instances before deleting the Auto Scaling group, call the <a>UpdateAutoScalingGroup</a> API and set the minimum size and desired capacity
|
|
20
20
|
* of the Auto Scaling group to
|
|
21
21
|
* zero.</p>
|
|
22
|
-
*
|
|
22
|
+
* <p>If the group has scaling policies, deleting the group deletes the policies, the
|
|
23
23
|
* underlying alarm actions, and any alarm that no longer has an associated action.</p>
|
|
24
|
-
*
|
|
24
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-process-shutdown.html">Delete your Auto Scaling
|
|
25
25
|
* infrastructure</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
26
26
|
* @example
|
|
27
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,7 +9,7 @@ export interface DeleteLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the specified launch configuration.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>The launch configuration must not be attached to an Auto Scaling group. When this call
|
|
13
13
|
* completes, the launch configuration is no longer available for use.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,7 +9,7 @@ export interface DeleteLifecycleHookCommandOutput extends DeleteLifecycleHookAns
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the specified lifecycle hook.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>If there are any outstanding lifecycle actions, they are completed first
|
|
13
13
|
* (<code>ABANDON</code> for launching instances, <code>CONTINUE</code> for terminating
|
|
14
14
|
* instances).</p>
|
|
15
15
|
* @example
|
|
@@ -9,10 +9,10 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the specified scaling policy.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>Deleting either a step scaling policy or a simple scaling policy deletes the
|
|
13
13
|
* underlying alarm action, but does not delete the alarm, even if it no longer has an
|
|
14
14
|
* associated action.</p>
|
|
15
|
-
*
|
|
15
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html">Deleting a scaling
|
|
16
16
|
* policy</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
17
17
|
* @example
|
|
18
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,7 +9,7 @@ export interface DeleteWarmPoolCommandOutput extends DeleteWarmPoolAnswer, __Met
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the warm pool for the specified Auto Scaling group.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
|
|
13
13
|
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,7 +9,7 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Describes the current Amazon EC2 Auto Scaling resource quotas for your account.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>When you establish an Amazon Web Services account, the account has initial quotas on the maximum
|
|
13
13
|
* number of Auto Scaling groups and launch configurations that you can create in a given Region.
|
|
14
14
|
* For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
15
15
|
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
@@ -10,22 +10,22 @@ export interface DescribeAdjustmentTypesCommandOutput extends DescribeAdjustment
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Describes the available adjustment types for step scaling and simple scaling
|
|
12
12
|
* policies.</p>
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* <p>The following adjustment types are supported:</p>
|
|
14
|
+
* <ul>
|
|
15
15
|
* <li>
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* <p>
|
|
17
|
+
* <code>ChangeInCapacity</code>
|
|
18
|
+
* </p>
|
|
19
19
|
* </li>
|
|
20
20
|
* <li>
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
21
|
+
* <p>
|
|
22
|
+
* <code>ExactCapacity</code>
|
|
23
|
+
* </p>
|
|
24
24
|
* </li>
|
|
25
25
|
* <li>
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
26
|
+
* <p>
|
|
27
|
+
* <code>PercentChangeInCapacity</code>
|
|
28
|
+
* </p>
|
|
29
29
|
* </li>
|
|
30
30
|
* </ul>
|
|
31
31
|
* @example
|
|
@@ -9,11 +9,11 @@ export interface DescribeAutoScalingGroupsCommandOutput extends AutoScalingGroup
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Gets information about the Auto Scaling groups in the account and Region.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>If you specify Auto Scaling group names, the output includes information for only the
|
|
13
13
|
* specified Auto Scaling groups. If you specify filters, the output includes information for only
|
|
14
14
|
* those Auto Scaling groups that meet the filter criteria. If you do not specify group names or
|
|
15
15
|
* filters, the output includes information for all Auto Scaling groups. </p>
|
|
16
|
-
*
|
|
16
|
+
* <p>This operation also returns information about instances in Auto Scaling groups. To retrieve
|
|
17
17
|
* information about the instances in a warm pool, you must call the <a>DescribeWarmPool</a> API. </p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,41 +9,41 @@ export interface DescribeInstanceRefreshesCommandOutput extends DescribeInstance
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Gets information about the instance refreshes for the specified Auto Scaling group.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
|
|
13
13
|
* feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
|
|
14
14
|
* after you make configuration changes.</p>
|
|
15
|
-
*
|
|
15
|
+
* <p>To help you determine the status of an instance refresh, this operation returns
|
|
16
16
|
* information about the instance refreshes you previously initiated, including their
|
|
17
17
|
* status, end time, the percentage of the instance refresh that is complete, and the
|
|
18
18
|
* number of instances remaining to update before the instance refresh is complete.</p>
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* <p>The following are the possible statuses: </p>
|
|
20
|
+
* <ul>
|
|
21
21
|
* <li>
|
|
22
|
-
*
|
|
22
|
+
* <p>
|
|
23
23
|
* <code>Pending</code> - The request was created, but the operation has not
|
|
24
24
|
* started.</p>
|
|
25
25
|
* </li>
|
|
26
26
|
* <li>
|
|
27
|
-
*
|
|
27
|
+
* <p>
|
|
28
28
|
* <code>InProgress</code> - The operation is in progress.</p>
|
|
29
29
|
* </li>
|
|
30
30
|
* <li>
|
|
31
|
-
*
|
|
31
|
+
* <p>
|
|
32
32
|
* <code>Successful</code> - The operation completed successfully.</p>
|
|
33
33
|
* </li>
|
|
34
34
|
* <li>
|
|
35
|
-
*
|
|
35
|
+
* <p>
|
|
36
36
|
* <code>Failed</code> - The operation failed to complete. You can troubleshoot
|
|
37
37
|
* using the status reason and the scaling activities. </p>
|
|
38
38
|
* </li>
|
|
39
39
|
* <li>
|
|
40
|
-
*
|
|
40
|
+
* <p>
|
|
41
41
|
* <code>Cancelling</code> - An ongoing operation is being cancelled.
|
|
42
42
|
* Cancellation does not roll back any replacements that have already been
|
|
43
43
|
* completed, but it prevents new replacements from being started. </p>
|
|
44
44
|
* </li>
|
|
45
45
|
* <li>
|
|
46
|
-
*
|
|
46
|
+
* <p>
|
|
47
47
|
* <code>Cancelled</code> - The operation is cancelled. </p>
|
|
48
48
|
* </li>
|
|
49
49
|
* </ul>
|
|
@@ -9,17 +9,17 @@ export interface DescribeLifecycleHookTypesCommandOutput extends DescribeLifecyc
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Describes the available types of lifecycle hooks.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <p>The following hook types are supported:</p>
|
|
13
|
+
* <ul>
|
|
14
14
|
* <li>
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* <p>
|
|
16
|
+
* <code>autoscaling:EC2_INSTANCE_LAUNCHING</code>
|
|
17
|
+
* </p>
|
|
18
18
|
* </li>
|
|
19
19
|
* <li>
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
20
|
+
* <p>
|
|
21
|
+
* <code>autoscaling:EC2_INSTANCE_TERMINATING</code>
|
|
22
|
+
* </p>
|
|
23
23
|
* </li>
|
|
24
24
|
* </ul>
|
|
25
25
|
* @example
|
|
@@ -9,7 +9,7 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeL
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>To determine the attachment status of the target group, use the <code>State</code>
|
|
13
13
|
* element in the response. When you attach a target group to an Auto Scaling group, the initial
|
|
14
14
|
* <code>State</code> value is <code>Adding</code>. The state transitions to
|
|
15
15
|
* <code>Added</code> after all Auto Scaling instances are registered with the target group. If
|
|
@@ -18,16 +18,21 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeL
|
|
|
18
18
|
* When the target group is in the <code>InService</code> state, Amazon EC2 Auto Scaling can terminate and
|
|
19
19
|
* replace any instances that are reported as unhealthy. If no registered instances pass
|
|
20
20
|
* the health checks, the target group doesn't enter the <code>InService</code> state. </p>
|
|
21
|
-
*
|
|
21
|
+
* <p>Target groups also have an <code>InService</code> state if you attach them in the
|
|
22
22
|
* <a>CreateAutoScalingGroup</a> API call. If your target group state is
|
|
23
23
|
* <code>InService</code>, but it is not working properly, check the scaling activities
|
|
24
24
|
* by calling <a>DescribeScalingActivities</a> and take any corrective actions
|
|
25
25
|
* necessary.</p>
|
|
26
|
-
*
|
|
26
|
+
* <p>For help with failed health checks, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html">Troubleshooting Amazon EC2 Auto Scaling:
|
|
27
27
|
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
|
|
28
28
|
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
29
29
|
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
30
30
|
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>You can use this operation to describe target groups that were attached by using
|
|
33
|
+
* <a>AttachLoadBalancerTargetGroups</a>, but not for target groups that
|
|
34
|
+
* were attached by using <a>AttachTrafficSources</a>.</p>
|
|
35
|
+
* </note>
|
|
31
36
|
* @example
|
|
32
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
38
|
* ```javascript
|
|
@@ -9,9 +9,9 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancer, use the
|
|
13
13
|
* <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
|
|
14
|
-
*
|
|
14
|
+
* <p>To determine the attachment status of the load balancer, use the <code>State</code>
|
|
15
15
|
* element in the response. When you attach a load balancer to an Auto Scaling group, the initial
|
|
16
16
|
* <code>State</code> value is <code>Adding</code>. The state transitions to
|
|
17
17
|
* <code>Added</code> after all Auto Scaling instances are registered with the load balancer.
|
|
@@ -21,12 +21,12 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
21
21
|
* and replace any instances that are reported as unhealthy. If no registered instances
|
|
22
22
|
* pass the health checks, the load balancer doesn't enter the <code>InService</code>
|
|
23
23
|
* state. </p>
|
|
24
|
-
*
|
|
24
|
+
* <p>Load balancers also have an <code>InService</code> state if you attach them in the
|
|
25
25
|
* <a>CreateAutoScalingGroup</a> API call. If your load balancer state is
|
|
26
26
|
* <code>InService</code>, but it is not working properly, check the scaling activities
|
|
27
27
|
* by calling <a>DescribeScalingActivities</a> and take any corrective actions
|
|
28
28
|
* necessary.</p>
|
|
29
|
-
*
|
|
29
|
+
* <p>For help with failed health checks, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html">Troubleshooting Amazon EC2 Auto Scaling:
|
|
30
30
|
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
|
|
31
31
|
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
32
32
|
* distribute traffic across the instances in your Auto Scaling group</a> in the
|