@aws-sdk/client-auto-scaling 3.774.0 → 3.777.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/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/AutoScalingClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/AttachInstancesCommand.d.ts +8 -5
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +8 -5
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +8 -5
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +9 -6
- package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +1 -0
- package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +1 -0
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +5 -5
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +10 -7
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +88 -79
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +11 -8
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +17 -14
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +13 -8
- package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +7 -4
- package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +8 -5
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +8 -5
- package/dist-types/commands/DeletePolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +8 -5
- package/dist-types/commands/DeleteTagsCommand.d.ts +11 -8
- package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +8 -8
- package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +8 -8
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +41 -41
- package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +13 -13
- package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +5 -5
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +1 -63
- package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +16 -16
- package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +5 -5
- package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +13 -13
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +7 -7
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +7 -7
- package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +15 -15
- package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +11 -11
- package/dist-types/commands/DescribePoliciesCommand.d.ts +19 -19
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +15 -15
- package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +13 -13
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +14 -14
- package/dist-types/commands/DescribeTagsCommand.d.ts +17 -17
- package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +5 -5
- package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +9 -9
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -0
- package/dist-types/commands/DetachInstancesCommand.d.ts +15 -15
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +8 -5
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +8 -5
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +9 -6
- package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +8 -5
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +8 -5
- package/dist-types/commands/EnterStandbyCommand.d.ts +15 -15
- package/dist-types/commands/ExecutePolicyCommand.d.ts +10 -7
- package/dist-types/commands/ExitStandbyCommand.d.ts +14 -14
- package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -0
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +11 -8
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +9 -6
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +17 -17
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +13 -10
- package/dist-types/commands/PutWarmPoolCommand.d.ts +11 -8
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +9 -6
- package/dist-types/commands/ResumeProcessesCommand.d.ts +8 -5
- package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +1 -0
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +9 -6
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +8 -5
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +16 -11
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +16 -16
- package/dist-types/commands/SuspendProcessesCommand.d.ts +8 -5
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +13 -10
- package/package.json +34 -34
|
@@ -76,30 +76,30 @@ declare const DescribeTrafficSourcesCommand_base: {
|
|
|
76
76
|
* @throws {@link AutoScalingServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
78
78
|
*
|
|
79
|
-
*
|
|
79
|
+
*
|
|
80
80
|
* @example To describe the target groups for an Auto Scaling group
|
|
81
81
|
* ```javascript
|
|
82
82
|
* // This example describes the target groups attached to the specified Auto Scaling group.
|
|
83
83
|
* const input = {
|
|
84
|
-
*
|
|
84
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
85
85
|
* };
|
|
86
86
|
* const command = new DescribeTrafficSourcesCommand(input);
|
|
87
87
|
* const response = await client.send(command);
|
|
88
|
-
* /* response
|
|
88
|
+
* /* response is
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
90
|
+
* NextToken: "",
|
|
91
|
+
* TrafficSources: [
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
93
|
+
* Identifier: "arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-0e2f2665eEXAMPLE",
|
|
94
|
+
* State: "InService",
|
|
95
|
+
* Type: "vpc-lattice"
|
|
96
96
|
* }
|
|
97
97
|
* ]
|
|
98
98
|
* }
|
|
99
99
|
* *\/
|
|
100
|
-
* // example id: to-describe-the-target-groups-for-an-auto-scaling-group-1680040714521
|
|
101
100
|
* ```
|
|
102
101
|
*
|
|
102
|
+
* @public
|
|
103
103
|
*/
|
|
104
104
|
export declare class DescribeTrafficSourcesCommand extends DescribeTrafficSourcesCommand_base {
|
|
105
105
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -97,6 +97,7 @@ declare const DescribeWarmPoolCommand_base: {
|
|
|
97
97
|
* @throws {@link AutoScalingServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
99
99
|
*
|
|
100
|
+
*
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
102
103
|
export declare class DescribeWarmPoolCommand extends DescribeWarmPoolCommand_base {
|
|
@@ -86,38 +86,38 @@ declare const DetachInstancesCommand_base: {
|
|
|
86
86
|
* @throws {@link AutoScalingServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
88
88
|
*
|
|
89
|
-
*
|
|
89
|
+
*
|
|
90
90
|
* @example To detach an instance from an Auto Scaling group
|
|
91
91
|
* ```javascript
|
|
92
92
|
* // This example detaches the specified instance from the specified Auto Scaling group.
|
|
93
93
|
* const input = {
|
|
94
|
-
*
|
|
95
|
-
*
|
|
94
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
95
|
+
* InstanceIds: [
|
|
96
96
|
* "i-93633f9b"
|
|
97
97
|
* ],
|
|
98
|
-
*
|
|
98
|
+
* ShouldDecrementDesiredCapacity: true
|
|
99
99
|
* };
|
|
100
100
|
* const command = new DetachInstancesCommand(input);
|
|
101
101
|
* const response = await client.send(command);
|
|
102
|
-
* /* response
|
|
102
|
+
* /* response is
|
|
103
103
|
* {
|
|
104
|
-
*
|
|
104
|
+
* Activities: [
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
106
|
+
* ActivityId: "5091cb52-547a-47ce-a236-c9ccbc2cb2c9",
|
|
107
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
108
|
+
* Cause: "At 2015-04-12T15:02:16Z instance i-93633f9b was detached in response to a user request, shrinking the capacity from 2 to 1.",
|
|
109
|
+
* Description: "Detaching EC2 instance: i-93633f9b",
|
|
110
|
+
* Details: "details",
|
|
111
|
+
* Progress: 50,
|
|
112
|
+
* StartTime: "2015-04-12T15:02:16.179Z",
|
|
113
|
+
* StatusCode: "InProgress"
|
|
114
114
|
* }
|
|
115
115
|
* ]
|
|
116
116
|
* }
|
|
117
117
|
* *\/
|
|
118
|
-
* // example id: autoscaling-detach-instances-1
|
|
119
118
|
* ```
|
|
120
119
|
*
|
|
120
|
+
* @public
|
|
121
121
|
*/
|
|
122
122
|
export declare class DetachInstancesCommand extends DetachInstancesCommand_base {
|
|
123
123
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -77,21 +77,24 @@ declare const DetachLoadBalancerTargetGroupsCommand_base: {
|
|
|
77
77
|
* @throws {@link AutoScalingServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
79
79
|
*
|
|
80
|
-
*
|
|
80
|
+
*
|
|
81
81
|
* @example To detach a target group from an Auto Scaling group
|
|
82
82
|
* ```javascript
|
|
83
83
|
* // This example detaches the specified target group from the specified Auto Scaling group
|
|
84
84
|
* const input = {
|
|
85
|
-
*
|
|
86
|
-
*
|
|
85
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
86
|
+
* TargetGroupARNs: [
|
|
87
87
|
* "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
|
|
88
88
|
* ]
|
|
89
89
|
* };
|
|
90
90
|
* const command = new DetachLoadBalancerTargetGroupsCommand(input);
|
|
91
|
-
* await client.send(command);
|
|
92
|
-
*
|
|
91
|
+
* const response = await client.send(command);
|
|
92
|
+
* /* response is
|
|
93
|
+
* { /* metadata only *\/ }
|
|
94
|
+
* *\/
|
|
93
95
|
* ```
|
|
94
96
|
*
|
|
97
|
+
* @public
|
|
95
98
|
*/
|
|
96
99
|
export declare class DetachLoadBalancerTargetGroupsCommand extends DetachLoadBalancerTargetGroupsCommand_base {
|
|
97
100
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,21 +73,24 @@ declare const DetachLoadBalancersCommand_base: {
|
|
|
73
73
|
* @throws {@link AutoScalingServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
75
75
|
*
|
|
76
|
-
*
|
|
76
|
+
*
|
|
77
77
|
* @example To detach a load balancer from an Auto Scaling group
|
|
78
78
|
* ```javascript
|
|
79
79
|
* // This example detaches the specified load balancer from the specified Auto Scaling group.
|
|
80
80
|
* const input = {
|
|
81
|
-
*
|
|
82
|
-
*
|
|
81
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
82
|
+
* LoadBalancerNames: [
|
|
83
83
|
* "my-load-balancer"
|
|
84
84
|
* ]
|
|
85
85
|
* };
|
|
86
86
|
* const command = new DetachLoadBalancersCommand(input);
|
|
87
|
-
* await client.send(command);
|
|
88
|
-
*
|
|
87
|
+
* const response = await client.send(command);
|
|
88
|
+
* /* response is
|
|
89
|
+
* { /* metadata only *\/ }
|
|
90
|
+
* *\/
|
|
89
91
|
* ```
|
|
90
92
|
*
|
|
93
|
+
* @public
|
|
91
94
|
*/
|
|
92
95
|
export declare class DetachLoadBalancersCommand extends DetachLoadBalancersCommand_base {
|
|
93
96
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -67,23 +67,26 @@ declare const DetachTrafficSourcesCommand_base: {
|
|
|
67
67
|
* @throws {@link AutoScalingServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
69
69
|
*
|
|
70
|
-
*
|
|
70
|
+
*
|
|
71
71
|
* @example To detach a target group from an Auto Scaling group
|
|
72
72
|
* ```javascript
|
|
73
73
|
* // This example detaches the specified target group from the specified Auto Scaling group.
|
|
74
74
|
* const input = {
|
|
75
|
-
*
|
|
76
|
-
*
|
|
75
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
76
|
+
* TrafficSources: [
|
|
77
77
|
* {
|
|
78
|
-
*
|
|
78
|
+
* Identifier: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
|
|
79
79
|
* }
|
|
80
80
|
* ]
|
|
81
81
|
* };
|
|
82
82
|
* const command = new DetachTrafficSourcesCommand(input);
|
|
83
|
-
* await client.send(command);
|
|
84
|
-
*
|
|
83
|
+
* const response = await client.send(command);
|
|
84
|
+
* /* response is
|
|
85
|
+
* { /* empty *\/ }
|
|
86
|
+
* *\/
|
|
85
87
|
* ```
|
|
86
88
|
*
|
|
89
|
+
* @public
|
|
87
90
|
*/
|
|
88
91
|
export declare class DetachTrafficSourcesCommand extends DetachTrafficSourcesCommand_base {
|
|
89
92
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -59,21 +59,24 @@ declare const DisableMetricsCollectionCommand_base: {
|
|
|
59
59
|
* @throws {@link AutoScalingServiceException}
|
|
60
60
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
*
|
|
63
63
|
* @example To disable metrics collection for an Auto Scaling group
|
|
64
64
|
* ```javascript
|
|
65
65
|
* // This example disables collecting data for the GroupDesiredCapacity metric for the specified Auto Scaling group.
|
|
66
66
|
* const input = {
|
|
67
|
-
*
|
|
68
|
-
*
|
|
67
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
68
|
+
* Metrics: [
|
|
69
69
|
* "GroupDesiredCapacity"
|
|
70
70
|
* ]
|
|
71
71
|
* };
|
|
72
72
|
* const command = new DisableMetricsCollectionCommand(input);
|
|
73
|
-
* await client.send(command);
|
|
74
|
-
*
|
|
73
|
+
* const response = await client.send(command);
|
|
74
|
+
* /* response is
|
|
75
|
+
* { /* metadata only *\/ }
|
|
76
|
+
* *\/
|
|
75
77
|
* ```
|
|
76
78
|
*
|
|
79
|
+
* @public
|
|
77
80
|
*/
|
|
78
81
|
export declare class DisableMetricsCollectionCommand extends DisableMetricsCollectionCommand_base {
|
|
79
82
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,19 +65,22 @@ declare const EnableMetricsCollectionCommand_base: {
|
|
|
65
65
|
* @throws {@link AutoScalingServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @example To enable metrics collection for an Auto Scaling group
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // This example enables data collection for the specified Auto Scaling group.
|
|
72
72
|
* const input = {
|
|
73
|
-
*
|
|
74
|
-
*
|
|
73
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
74
|
+
* Granularity: "1Minute"
|
|
75
75
|
* };
|
|
76
76
|
* const command = new EnableMetricsCollectionCommand(input);
|
|
77
|
-
* await client.send(command);
|
|
78
|
-
*
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* /* response is
|
|
79
|
+
* { /* metadata only *\/ }
|
|
80
|
+
* *\/
|
|
79
81
|
* ```
|
|
80
82
|
*
|
|
83
|
+
* @public
|
|
81
84
|
*/
|
|
82
85
|
export declare class EnableMetricsCollectionCommand extends EnableMetricsCollectionCommand_base {
|
|
83
86
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -86,38 +86,38 @@ declare const EnterStandbyCommand_base: {
|
|
|
86
86
|
* @throws {@link AutoScalingServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
88
88
|
*
|
|
89
|
-
*
|
|
89
|
+
*
|
|
90
90
|
* @example To move instances into standby mode
|
|
91
91
|
* ```javascript
|
|
92
92
|
* // This example puts the specified instance into standby mode.
|
|
93
93
|
* const input = {
|
|
94
|
-
*
|
|
95
|
-
*
|
|
94
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
95
|
+
* InstanceIds: [
|
|
96
96
|
* "i-93633f9b"
|
|
97
97
|
* ],
|
|
98
|
-
*
|
|
98
|
+
* ShouldDecrementDesiredCapacity: true
|
|
99
99
|
* };
|
|
100
100
|
* const command = new EnterStandbyCommand(input);
|
|
101
101
|
* const response = await client.send(command);
|
|
102
|
-
* /* response
|
|
102
|
+
* /* response is
|
|
103
103
|
* {
|
|
104
|
-
*
|
|
104
|
+
* Activities: [
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
106
|
+
* ActivityId: "ffa056b4-6ed3-41ba-ae7c-249dfae6eba1",
|
|
107
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
108
|
+
* Cause: "At 2015-04-12T15:10:23Z instance i-93633f9b was moved to standby in response to a user request, shrinking the capacity from 2 to 1.",
|
|
109
|
+
* Description: "Moving EC2 instance to Standby: i-93633f9b",
|
|
110
|
+
* Details: "details",
|
|
111
|
+
* Progress: 50,
|
|
112
|
+
* StartTime: "2015-04-12T15:10:23.640Z",
|
|
113
|
+
* StatusCode: "InProgress"
|
|
114
114
|
* }
|
|
115
115
|
* ]
|
|
116
116
|
* }
|
|
117
117
|
* *\/
|
|
118
|
-
* // example id: autoscaling-enter-standby-1
|
|
119
118
|
* ```
|
|
120
119
|
*
|
|
120
|
+
* @public
|
|
121
121
|
*/
|
|
122
122
|
export declare class EnterStandbyCommand extends EnterStandbyCommand_base {
|
|
123
123
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,21 +65,24 @@ declare const ExecutePolicyCommand_base: {
|
|
|
65
65
|
* @throws {@link AutoScalingServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @example To execute a scaling policy
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // This example executes the specified policy.
|
|
72
72
|
* const input = {
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
73
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
74
|
+
* BreachThreshold: 50.0,
|
|
75
|
+
* MetricValue: 59.0,
|
|
76
|
+
* PolicyName: "my-step-scale-out-policy"
|
|
77
77
|
* };
|
|
78
78
|
* const command = new ExecutePolicyCommand(input);
|
|
79
|
-
* await client.send(command);
|
|
80
|
-
*
|
|
79
|
+
* const response = await client.send(command);
|
|
80
|
+
* /* response is
|
|
81
|
+
* { /* metadata only *\/ }
|
|
82
|
+
* *\/
|
|
81
83
|
* ```
|
|
82
84
|
*
|
|
85
|
+
* @public
|
|
83
86
|
*/
|
|
84
87
|
export declare class ExecutePolicyCommand extends ExecutePolicyCommand_base {
|
|
85
88
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -81,37 +81,37 @@ declare const ExitStandbyCommand_base: {
|
|
|
81
81
|
* @throws {@link AutoScalingServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
83
83
|
*
|
|
84
|
-
*
|
|
84
|
+
*
|
|
85
85
|
* @example To move instances out of standby mode
|
|
86
86
|
* ```javascript
|
|
87
87
|
* // This example moves the specified instance out of standby mode.
|
|
88
88
|
* const input = {
|
|
89
|
-
*
|
|
90
|
-
*
|
|
89
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
90
|
+
* InstanceIds: [
|
|
91
91
|
* "i-93633f9b"
|
|
92
92
|
* ]
|
|
93
93
|
* };
|
|
94
94
|
* const command = new ExitStandbyCommand(input);
|
|
95
95
|
* const response = await client.send(command);
|
|
96
|
-
* /* response
|
|
96
|
+
* /* response is
|
|
97
97
|
* {
|
|
98
|
-
*
|
|
98
|
+
* Activities: [
|
|
99
99
|
* {
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
100
|
+
* ActivityId: "142928e1-a2dc-453a-9b24-b85ad6735928",
|
|
101
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
102
|
+
* Cause: "At 2015-04-12T15:14:29Z instance i-93633f9b was moved out of standby in response to a user request, increasing the capacity from 1 to 2.",
|
|
103
|
+
* Description: "Moving EC2 instance out of Standby: i-93633f9b",
|
|
104
|
+
* Details: "details",
|
|
105
|
+
* Progress: 30,
|
|
106
|
+
* StartTime: "2015-04-12T15:14:29.886Z",
|
|
107
|
+
* StatusCode: "PreInService"
|
|
108
108
|
* }
|
|
109
109
|
* ]
|
|
110
110
|
* }
|
|
111
111
|
* *\/
|
|
112
|
-
* // example id: autoscaling-exit-standby-1
|
|
113
112
|
* ```
|
|
114
113
|
*
|
|
114
|
+
* @public
|
|
115
115
|
*/
|
|
116
116
|
export declare class ExitStandbyCommand extends ExitStandbyCommand_base {
|
|
117
117
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -174,6 +174,7 @@ declare const GetPredictiveScalingForecastCommand_base: {
|
|
|
174
174
|
* @throws {@link AutoScalingServiceException}
|
|
175
175
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
176
176
|
*
|
|
177
|
+
*
|
|
177
178
|
* @public
|
|
178
179
|
*/
|
|
179
180
|
export declare class GetPredictiveScalingForecastCommand extends GetPredictiveScalingForecastCommand_base {
|
|
@@ -112,22 +112,25 @@ declare const PutLifecycleHookCommand_base: {
|
|
|
112
112
|
* @throws {@link AutoScalingServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
114
114
|
*
|
|
115
|
-
*
|
|
115
|
+
*
|
|
116
116
|
* @example To create a launch lifecycle hook
|
|
117
117
|
* ```javascript
|
|
118
118
|
* // This example creates a lifecycle hook for instance launch.
|
|
119
119
|
* const input = {
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
120
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
121
|
+
* DefaultResult: "CONTINUE",
|
|
122
|
+
* HeartbeatTimeout: 300,
|
|
123
|
+
* LifecycleHookName: "my-launch-lifecycle-hook",
|
|
124
|
+
* LifecycleTransition: "autoscaling:EC2_INSTANCE_LAUNCHING"
|
|
125
125
|
* };
|
|
126
126
|
* const command = new PutLifecycleHookCommand(input);
|
|
127
|
-
* await client.send(command);
|
|
128
|
-
*
|
|
127
|
+
* const response = await client.send(command);
|
|
128
|
+
* /* response is
|
|
129
|
+
* { /* metadata only *\/ }
|
|
130
|
+
* *\/
|
|
129
131
|
* ```
|
|
130
132
|
*
|
|
133
|
+
* @public
|
|
131
134
|
*/
|
|
132
135
|
export declare class PutLifecycleHookCommand extends PutLifecycleHookCommand_base {
|
|
133
136
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -77,22 +77,25 @@ declare const PutNotificationConfigurationCommand_base: {
|
|
|
77
77
|
* @throws {@link AutoScalingServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
79
79
|
*
|
|
80
|
-
*
|
|
80
|
+
*
|
|
81
81
|
* @example To add an Auto Scaling notification
|
|
82
82
|
* ```javascript
|
|
83
83
|
* // This example adds the specified notification to the specified Auto Scaling group.
|
|
84
84
|
* const input = {
|
|
85
|
-
*
|
|
86
|
-
*
|
|
85
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
86
|
+
* NotificationTypes: [
|
|
87
87
|
* "autoscaling:TEST_NOTIFICATION"
|
|
88
88
|
* ],
|
|
89
|
-
*
|
|
89
|
+
* TopicARN: "arn:aws:sns:us-west-2:123456789012:my-sns-topic"
|
|
90
90
|
* };
|
|
91
91
|
* const command = new PutNotificationConfigurationCommand(input);
|
|
92
|
-
* await client.send(command);
|
|
93
|
-
*
|
|
92
|
+
* const response = await client.send(command);
|
|
93
|
+
* /* response is
|
|
94
|
+
* { /* metadata only *\/ }
|
|
95
|
+
* *\/
|
|
94
96
|
* ```
|
|
95
97
|
*
|
|
98
|
+
* @public
|
|
96
99
|
*/
|
|
97
100
|
export declare class PutNotificationConfigurationCommand extends PutNotificationConfigurationCommand_base {
|
|
98
101
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -225,42 +225,42 @@ declare const PutScalingPolicyCommand_base: {
|
|
|
225
225
|
* @throws {@link AutoScalingServiceException}
|
|
226
226
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
227
227
|
*
|
|
228
|
-
*
|
|
228
|
+
*
|
|
229
229
|
* @example To add a scaling policy to an Auto Scaling group
|
|
230
230
|
* ```javascript
|
|
231
231
|
* // This example adds the specified policy to the specified Auto Scaling group.
|
|
232
232
|
* const input = {
|
|
233
|
-
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
233
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
234
|
+
* PolicyName: "alb1000-target-tracking-scaling-policy",
|
|
235
|
+
* PolicyType: "TargetTrackingScaling",
|
|
236
|
+
* TargetTrackingConfiguration: {
|
|
237
|
+
* PredefinedMetricSpecification: {
|
|
238
|
+
* PredefinedMetricType: "ALBRequestCountPerTarget",
|
|
239
|
+
* ResourceLabel: "app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff"
|
|
240
240
|
* },
|
|
241
|
-
*
|
|
241
|
+
* TargetValue: 1000.0
|
|
242
242
|
* }
|
|
243
243
|
* };
|
|
244
244
|
* const command = new PutScalingPolicyCommand(input);
|
|
245
245
|
* const response = await client.send(command);
|
|
246
|
-
* /* response
|
|
246
|
+
* /* response is
|
|
247
247
|
* {
|
|
248
|
-
*
|
|
248
|
+
* Alarms: [
|
|
249
249
|
* {
|
|
250
|
-
*
|
|
251
|
-
*
|
|
250
|
+
* AlarmARN: "arn:aws:cloudwatch:us-west-2:123456789012:alarm:TargetTracking-my-asg-AlarmHigh-fc0e4183-23ac-497e-9992-691c9980c38e",
|
|
251
|
+
* AlarmName: "TargetTracking-my-asg-AlarmHigh-fc0e4183-23ac-497e-9992-691c9980c38e"
|
|
252
252
|
* },
|
|
253
253
|
* {
|
|
254
|
-
*
|
|
255
|
-
*
|
|
254
|
+
* AlarmARN: "arn:aws:cloudwatch:us-west-2:123456789012:alarm:TargetTracking-my-asg-AlarmLow-61a39305-ed0c-47af-bd9e-471a352ee1a2",
|
|
255
|
+
* AlarmName: "TargetTracking-my-asg-AlarmLow-61a39305-ed0c-47af-bd9e-471a352ee1a2"
|
|
256
256
|
* }
|
|
257
257
|
* ],
|
|
258
|
-
*
|
|
258
|
+
* PolicyARN: "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:228f02c2-c665-4bfd-aaac-8b04080bea3c:autoScalingGroupName/my-auto-scaling-group:policyName/alb1000-target-tracking-scaling-policy"
|
|
259
259
|
* }
|
|
260
260
|
* *\/
|
|
261
|
-
* // example id: autoscaling-put-scaling-policy-1
|
|
262
261
|
* ```
|
|
263
262
|
*
|
|
263
|
+
* @public
|
|
264
264
|
*/
|
|
265
265
|
export declare class PutScalingPolicyCommand extends PutScalingPolicyCommand_base {
|
|
266
266
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -82,24 +82,27 @@ declare const PutScheduledUpdateGroupActionCommand_base: {
|
|
|
82
82
|
* @throws {@link AutoScalingServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
86
|
* @example To add a scheduled action to an Auto Scaling group
|
|
87
87
|
* ```javascript
|
|
88
88
|
* // This example adds the specified scheduled action to the specified Auto Scaling group.
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
90
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
91
|
+
* DesiredCapacity: 4,
|
|
92
|
+
* EndTime: "2014-05-12T08:00:00Z",
|
|
93
|
+
* MaxSize: 6,
|
|
94
|
+
* MinSize: 2,
|
|
95
|
+
* ScheduledActionName: "my-scheduled-action",
|
|
96
|
+
* StartTime: "2014-05-12T08:00:00Z"
|
|
97
97
|
* };
|
|
98
98
|
* const command = new PutScheduledUpdateGroupActionCommand(input);
|
|
99
|
-
* await client.send(command);
|
|
100
|
-
*
|
|
99
|
+
* const response = await client.send(command);
|
|
100
|
+
* /* response is
|
|
101
|
+
* { /* metadata only *\/ }
|
|
102
|
+
* *\/
|
|
101
103
|
* ```
|
|
102
104
|
*
|
|
105
|
+
* @public
|
|
103
106
|
*/
|
|
104
107
|
export declare class PutScheduledUpdateGroupActionCommand extends PutScheduledUpdateGroupActionCommand_base {
|
|
105
108
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -77,23 +77,26 @@ declare const PutWarmPoolCommand_base: {
|
|
|
77
77
|
* @throws {@link AutoScalingServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
79
79
|
*
|
|
80
|
-
*
|
|
80
|
+
*
|
|
81
81
|
* @example To create a warm pool for an Auto Scaling group
|
|
82
82
|
* ```javascript
|
|
83
83
|
* // This example creates a warm pool for the specified Auto Scaling group.
|
|
84
84
|
* const input = {
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
85
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
86
|
+
* InstanceReusePolicy: {
|
|
87
|
+
* ReuseOnScaleIn: true
|
|
88
88
|
* },
|
|
89
|
-
*
|
|
90
|
-
*
|
|
89
|
+
* MinSize: 30,
|
|
90
|
+
* PoolState: "Hibernated"
|
|
91
91
|
* };
|
|
92
92
|
* const command = new PutWarmPoolCommand(input);
|
|
93
|
-
* await client.send(command);
|
|
94
|
-
*
|
|
93
|
+
* const response = await client.send(command);
|
|
94
|
+
* /* response is
|
|
95
|
+
* { /* metadata only *\/ }
|
|
96
|
+
* *\/
|
|
95
97
|
* ```
|
|
96
98
|
*
|
|
99
|
+
* @public
|
|
97
100
|
*/
|
|
98
101
|
export declare class PutWarmPoolCommand extends PutWarmPoolCommand_base {
|
|
99
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -96,20 +96,23 @@ declare const RecordLifecycleActionHeartbeatCommand_base: {
|
|
|
96
96
|
* @throws {@link AutoScalingServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
98
98
|
*
|
|
99
|
-
*
|
|
99
|
+
*
|
|
100
100
|
* @example To record a lifecycle action heartbeat
|
|
101
101
|
* ```javascript
|
|
102
102
|
* // This example records a lifecycle action heartbeat to keep the instance in a pending state.
|
|
103
103
|
* const input = {
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
104
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
105
|
+
* LifecycleActionToken: "bcd2f1b8-9a78-44d3-8a7a-4dd07d7cf635",
|
|
106
|
+
* LifecycleHookName: "my-lifecycle-hook"
|
|
107
107
|
* };
|
|
108
108
|
* const command = new RecordLifecycleActionHeartbeatCommand(input);
|
|
109
|
-
* await client.send(command);
|
|
110
|
-
*
|
|
109
|
+
* const response = await client.send(command);
|
|
110
|
+
* /* response is
|
|
111
|
+
* { /* metadata only *\/ }
|
|
112
|
+
* *\/
|
|
111
113
|
* ```
|
|
112
114
|
*
|
|
115
|
+
* @public
|
|
113
116
|
*/
|
|
114
117
|
export declare class RecordLifecycleActionHeartbeatCommand extends RecordLifecycleActionHeartbeatCommand_base {
|
|
115
118
|
/** @internal type navigation helper, not in runtime. */
|