@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
|
@@ -11,12 +11,12 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
11
11
|
* <p>
|
|
12
12
|
* <b>We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
|
|
13
13
|
* </p>
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* <p>Updates the configuration for the specified Auto Scaling group.</p>
|
|
15
|
+
* <p>To update an Auto Scaling group, specify the name of the group and the property that you want
|
|
16
16
|
* to change. Any properties that you don't specify are not changed by this update request.
|
|
17
17
|
* The new settings take effect on any scaling activities after this call returns.
|
|
18
18
|
* </p>
|
|
19
|
-
*
|
|
19
|
+
* <p>If you associate a new launch configuration or template with an Auto Scaling group, all new
|
|
20
20
|
* instances will get the updated configuration. Existing instances continue to run with
|
|
21
21
|
* the configuration that they were originally launched with. When you update a group to
|
|
22
22
|
* specify a mixed instances policy instead of a launch configuration or template, existing
|
|
@@ -26,29 +26,29 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches
|
|
27
27
|
* new instances before terminating the old ones, so that updating your group does not
|
|
28
28
|
* compromise the performance or availability of your application.</p>
|
|
29
|
-
*
|
|
29
|
+
* <p>Note the following about changing <code>DesiredCapacity</code>, <code>MaxSize</code>,
|
|
30
30
|
* or <code>MinSize</code>:</p>
|
|
31
|
-
*
|
|
31
|
+
* <ul>
|
|
32
32
|
* <li>
|
|
33
|
-
*
|
|
33
|
+
* <p>If a scale-in activity occurs as a result of a new
|
|
34
34
|
* <code>DesiredCapacity</code> value that is lower than the current size of
|
|
35
35
|
* the group, the Auto Scaling group uses its termination policy to determine which
|
|
36
36
|
* instances to terminate.</p>
|
|
37
37
|
* </li>
|
|
38
38
|
* <li>
|
|
39
|
-
*
|
|
39
|
+
* <p>If you specify a new value for <code>MinSize</code> without specifying a value
|
|
40
40
|
* for <code>DesiredCapacity</code>, and the new <code>MinSize</code> is larger
|
|
41
41
|
* than the current size of the group, this sets the group's
|
|
42
42
|
* <code>DesiredCapacity</code> to the new <code>MinSize</code> value.</p>
|
|
43
43
|
* </li>
|
|
44
44
|
* <li>
|
|
45
|
-
*
|
|
45
|
+
* <p>If you specify a new value for <code>MaxSize</code> without specifying a value
|
|
46
46
|
* for <code>DesiredCapacity</code>, and the new <code>MaxSize</code> is smaller
|
|
47
47
|
* than the current size of the group, this sets the group's
|
|
48
48
|
* <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.</p>
|
|
49
49
|
* </li>
|
|
50
50
|
* </ul>
|
|
51
|
-
*
|
|
51
|
+
* <p>To see which properties have been set, call the <a>DescribeAutoScalingGroups</a> API. To view the scaling policies for an Auto Scaling
|
|
52
52
|
* group, call the <a>DescribePolicies</a> API. If the group has scaling
|
|
53
53
|
* policies, you can update them by calling the <a>PutScalingPolicy</a>
|
|
54
54
|
* API.</p>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AttachInstancesCommand";
|
|
2
2
|
export * from "./AttachLoadBalancerTargetGroupsCommand";
|
|
3
3
|
export * from "./AttachLoadBalancersCommand";
|
|
4
|
+
export * from "./AttachTrafficSourcesCommand";
|
|
4
5
|
export * from "./BatchDeleteScheduledActionCommand";
|
|
5
6
|
export * from "./BatchPutScheduledUpdateGroupActionCommand";
|
|
6
7
|
export * from "./CancelInstanceRefreshCommand";
|
|
@@ -35,10 +36,12 @@ export * from "./DescribeScalingProcessTypesCommand";
|
|
|
35
36
|
export * from "./DescribeScheduledActionsCommand";
|
|
36
37
|
export * from "./DescribeTagsCommand";
|
|
37
38
|
export * from "./DescribeTerminationPolicyTypesCommand";
|
|
39
|
+
export * from "./DescribeTrafficSourcesCommand";
|
|
38
40
|
export * from "./DescribeWarmPoolCommand";
|
|
39
41
|
export * from "./DetachInstancesCommand";
|
|
40
42
|
export * from "./DetachLoadBalancerTargetGroupsCommand";
|
|
41
43
|
export * from "./DetachLoadBalancersCommand";
|
|
44
|
+
export * from "./DetachTrafficSourcesCommand";
|
|
42
45
|
export * from "./DisableMetricsCollectionCommand";
|
|
43
46
|
export * from "./EnableMetricsCollectionCommand";
|
|
44
47
|
export * from "./EnterStandbyCommand";
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|