@aws-sdk/client-auto-scaling 3.775.0 → 3.782.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-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 +5 -5
|
@@ -99,28 +99,28 @@ declare const DescribeLoadBalancersCommand_base: {
|
|
|
99
99
|
* @throws {@link AutoScalingServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
101
101
|
*
|
|
102
|
-
*
|
|
102
|
+
*
|
|
103
103
|
* @example To describe the load balancers for an Auto Scaling group
|
|
104
104
|
* ```javascript
|
|
105
105
|
* // This example describes the load balancers attached to the specified Auto Scaling group.
|
|
106
106
|
* const input = {
|
|
107
|
-
*
|
|
107
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
108
108
|
* };
|
|
109
109
|
* const command = new DescribeLoadBalancersCommand(input);
|
|
110
110
|
* const response = await client.send(command);
|
|
111
|
-
* /* response
|
|
111
|
+
* /* response is
|
|
112
112
|
* {
|
|
113
|
-
*
|
|
113
|
+
* LoadBalancers: [
|
|
114
114
|
* {
|
|
115
|
-
*
|
|
116
|
-
*
|
|
115
|
+
* LoadBalancerName: "my-load-balancer",
|
|
116
|
+
* State: "Added"
|
|
117
117
|
* }
|
|
118
118
|
* ]
|
|
119
119
|
* }
|
|
120
120
|
* *\/
|
|
121
|
-
* // example id: autoscaling-describe-load-balancers-1
|
|
122
121
|
* ```
|
|
123
122
|
*
|
|
123
|
+
* @public
|
|
124
124
|
*/
|
|
125
125
|
export declare class DescribeLoadBalancersCommand extends DescribeLoadBalancersCommand_base {
|
|
126
126
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,51 +65,51 @@ declare const DescribeMetricCollectionTypesCommand_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 describe the Auto Scaling metric collection types
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // This example describes the available metric collection types.
|
|
72
|
-
* const input = {};
|
|
72
|
+
* const input = { /* empty *\/ };
|
|
73
73
|
* const command = new DescribeMetricCollectionTypesCommand(input);
|
|
74
74
|
* const response = await client.send(command);
|
|
75
|
-
* /* response
|
|
75
|
+
* /* response is
|
|
76
76
|
* {
|
|
77
|
-
*
|
|
77
|
+
* Granularities: [
|
|
78
78
|
* {
|
|
79
|
-
*
|
|
79
|
+
* Granularity: "1Minute"
|
|
80
80
|
* }
|
|
81
81
|
* ],
|
|
82
|
-
*
|
|
82
|
+
* Metrics: [
|
|
83
83
|
* {
|
|
84
|
-
*
|
|
84
|
+
* Metric: "GroupMinSize"
|
|
85
85
|
* },
|
|
86
86
|
* {
|
|
87
|
-
*
|
|
87
|
+
* Metric: "GroupMaxSize"
|
|
88
88
|
* },
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
90
|
+
* Metric: "GroupDesiredCapacity"
|
|
91
91
|
* },
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
93
|
+
* Metric: "GroupInServiceInstances"
|
|
94
94
|
* },
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
96
|
+
* Metric: "GroupPendingInstances"
|
|
97
97
|
* },
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
99
|
+
* Metric: "GroupTerminatingInstances"
|
|
100
100
|
* },
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
102
|
+
* Metric: "GroupStandbyInstances"
|
|
103
103
|
* },
|
|
104
104
|
* {
|
|
105
|
-
*
|
|
105
|
+
* Metric: "GroupTotalInstances"
|
|
106
106
|
* }
|
|
107
107
|
* ]
|
|
108
108
|
* }
|
|
109
109
|
* *\/
|
|
110
|
-
* // example id: autoscaling-describe-metric-collection-types-1
|
|
111
110
|
* ```
|
|
112
111
|
*
|
|
112
|
+
* @public
|
|
113
113
|
*/
|
|
114
114
|
export declare class DescribeMetricCollectionTypesCommand extends DescribeMetricCollectionTypesCommand_base {
|
|
115
115
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,36 +73,36 @@ declare const DescribeNotificationConfigurationsCommand_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 describe Auto Scaling notification configurations
|
|
78
78
|
* ```javascript
|
|
79
79
|
* // This example describes the notification configurations for the specified Auto Scaling group.
|
|
80
80
|
* const input = {
|
|
81
|
-
*
|
|
81
|
+
* AutoScalingGroupNames: [
|
|
82
82
|
* "my-auto-scaling-group"
|
|
83
83
|
* ]
|
|
84
84
|
* };
|
|
85
85
|
* const command = new DescribeNotificationConfigurationsCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
89
|
+
* NotificationConfigurations: [
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
91
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
92
|
+
* NotificationType: "autoscaling:TEST_NOTIFICATION",
|
|
93
|
+
* TopicARN: "arn:aws:sns:us-west-2:123456789012:my-sns-topic-2"
|
|
94
94
|
* },
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
96
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
97
|
+
* NotificationType: "autoscaling:TEST_NOTIFICATION",
|
|
98
|
+
* TopicARN: "arn:aws:sns:us-west-2:123456789012:my-sns-topic"
|
|
99
99
|
* }
|
|
100
100
|
* ]
|
|
101
101
|
* }
|
|
102
102
|
* *\/
|
|
103
|
-
* // example id: autoscaling-describe-notification-configurations-1
|
|
104
103
|
* ```
|
|
105
104
|
*
|
|
105
|
+
* @public
|
|
106
106
|
*/
|
|
107
107
|
export declare class DescribeNotificationConfigurationsCommand extends DescribeNotificationConfigurationsCommand_base {
|
|
108
108
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -226,42 +226,42 @@ declare const DescribePoliciesCommand_base: {
|
|
|
226
226
|
* @throws {@link AutoScalingServiceException}
|
|
227
227
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
228
228
|
*
|
|
229
|
-
*
|
|
229
|
+
*
|
|
230
230
|
* @example To describe scaling policies
|
|
231
231
|
* ```javascript
|
|
232
232
|
* // This example describes the policies for the specified Auto Scaling group.
|
|
233
233
|
* const input = {
|
|
234
|
-
*
|
|
234
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
235
235
|
* };
|
|
236
236
|
* const command = new DescribePoliciesCommand(input);
|
|
237
237
|
* const response = await client.send(command);
|
|
238
|
-
* /* response
|
|
238
|
+
* /* response is
|
|
239
239
|
* {
|
|
240
|
-
*
|
|
240
|
+
* ScalingPolicies: [
|
|
241
241
|
* {
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
242
|
+
* AdjustmentType: "ChangeInCapacity",
|
|
243
|
+
* Alarms: [],
|
|
244
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
245
|
+
* PolicyARN: "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2233f3d7-6290-403b-b632-93c553560106:autoScalingGroupName/my-auto-scaling-group:policyName/ScaleIn",
|
|
246
|
+
* PolicyName: "ScaleIn",
|
|
247
|
+
* ScalingAdjustment: -1
|
|
248
248
|
* },
|
|
249
249
|
* {
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
250
|
+
* AdjustmentType: "PercentChangeInCapacity",
|
|
251
|
+
* Alarms: [],
|
|
252
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
253
|
+
* Cooldown: 60,
|
|
254
|
+
* MinAdjustmentStep: 2,
|
|
255
|
+
* PolicyARN: "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2b435159-cf77-4e89-8c0e-d63b497baad7:autoScalingGroupName/my-auto-scaling-group:policyName/ScalePercentChange",
|
|
256
|
+
* PolicyName: "ScalePercentChange",
|
|
257
|
+
* ScalingAdjustment: 25
|
|
258
258
|
* }
|
|
259
259
|
* ]
|
|
260
260
|
* }
|
|
261
261
|
* *\/
|
|
262
|
-
* // example id: autoscaling-describe-policies-1
|
|
263
262
|
* ```
|
|
264
263
|
*
|
|
264
|
+
* @public
|
|
265
265
|
*/
|
|
266
266
|
export declare class DescribePoliciesCommand extends DescribePoliciesCommand_base {
|
|
267
267
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -91,36 +91,36 @@ declare const DescribeScalingActivitiesCommand_base: {
|
|
|
91
91
|
* @throws {@link AutoScalingServiceException}
|
|
92
92
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
93
93
|
*
|
|
94
|
-
*
|
|
94
|
+
*
|
|
95
95
|
* @example To describe the scaling activities for an Auto Scaling group
|
|
96
96
|
* ```javascript
|
|
97
97
|
* // This example describes the scaling activities for the specified Auto Scaling group.
|
|
98
98
|
* const input = {
|
|
99
|
-
*
|
|
99
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
100
100
|
* };
|
|
101
101
|
* const command = new DescribeScalingActivitiesCommand(input);
|
|
102
102
|
* const response = await client.send(command);
|
|
103
|
-
* /* response
|
|
103
|
+
* /* response is
|
|
104
104
|
* {
|
|
105
|
-
*
|
|
105
|
+
* Activities: [
|
|
106
106
|
* {
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
107
|
+
* ActivityId: "f9f2d65b-f1f2-43e7-b46d-d86756459699",
|
|
108
|
+
* AutoScalingGroupARN: "arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
|
|
109
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
110
|
+
* Cause: "At 2013-08-19T20:53:25Z a user request created an AutoScalingGroup changing the desired capacity from 0 to 1. At 2013-08-19T20:53:29Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.",
|
|
111
|
+
* Description: "Launching a new EC2 instance: i-4ba0837f",
|
|
112
|
+
* Details: "details",
|
|
113
|
+
* EndTime: "2013-08-19T20:54:02Z",
|
|
114
|
+
* Progress: 100,
|
|
115
|
+
* StartTime: "2013-08-19T20:53:29.930Z",
|
|
116
|
+
* StatusCode: "Successful"
|
|
117
117
|
* }
|
|
118
118
|
* ]
|
|
119
119
|
* }
|
|
120
120
|
* *\/
|
|
121
|
-
* // example id: autoscaling-describe-scaling-activities-1
|
|
122
121
|
* ```
|
|
123
122
|
*
|
|
123
|
+
* @public
|
|
124
124
|
*/
|
|
125
125
|
export declare class DescribeScalingActivitiesCommand extends DescribeScalingActivitiesCommand_base {
|
|
126
126
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -61,46 +61,46 @@ declare const DescribeScalingProcessTypesCommand_base: {
|
|
|
61
61
|
* @throws {@link AutoScalingServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
63
63
|
*
|
|
64
|
-
*
|
|
64
|
+
*
|
|
65
65
|
* @example To describe the Auto Scaling process types
|
|
66
66
|
* ```javascript
|
|
67
67
|
* // This example describes the Auto Scaling process types.
|
|
68
|
-
* const input = {};
|
|
68
|
+
* const input = { /* empty *\/ };
|
|
69
69
|
* const command = new DescribeScalingProcessTypesCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
71
|
-
* /* response
|
|
71
|
+
* /* response is
|
|
72
72
|
* {
|
|
73
|
-
*
|
|
73
|
+
* Processes: [
|
|
74
74
|
* {
|
|
75
|
-
*
|
|
75
|
+
* ProcessName: "AZRebalance"
|
|
76
76
|
* },
|
|
77
77
|
* {
|
|
78
|
-
*
|
|
78
|
+
* ProcessName: "AddToLoadBalancer"
|
|
79
79
|
* },
|
|
80
80
|
* {
|
|
81
|
-
*
|
|
81
|
+
* ProcessName: "AlarmNotification"
|
|
82
82
|
* },
|
|
83
83
|
* {
|
|
84
|
-
*
|
|
84
|
+
* ProcessName: "HealthCheck"
|
|
85
85
|
* },
|
|
86
86
|
* {
|
|
87
|
-
*
|
|
87
|
+
* ProcessName: "Launch"
|
|
88
88
|
* },
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
90
|
+
* ProcessName: "ReplaceUnhealthy"
|
|
91
91
|
* },
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
93
|
+
* ProcessName: "ScheduledActions"
|
|
94
94
|
* },
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
96
|
+
* ProcessName: "Terminate"
|
|
97
97
|
* }
|
|
98
98
|
* ]
|
|
99
99
|
* }
|
|
100
100
|
* *\/
|
|
101
|
-
* // example id: autoscaling-describe-scaling-process-types-1
|
|
102
101
|
* ```
|
|
103
102
|
*
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
export declare class DescribeScalingProcessTypesCommand extends DescribeScalingProcessTypesCommand_base {
|
|
106
106
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -86,35 +86,35 @@ declare const DescribeScheduledActionsCommand_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 describe scheduled actions
|
|
91
91
|
* ```javascript
|
|
92
92
|
* // This example describes the scheduled actions for the specified Auto Scaling group.
|
|
93
93
|
* const input = {
|
|
94
|
-
*
|
|
94
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
95
95
|
* };
|
|
96
96
|
* const command = new DescribeScheduledActionsCommand(input);
|
|
97
97
|
* const response = await client.send(command);
|
|
98
|
-
* /* response
|
|
98
|
+
* /* response is
|
|
99
99
|
* {
|
|
100
|
-
*
|
|
100
|
+
* ScheduledUpdateGroupActions: [
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
102
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
103
|
+
* DesiredCapacity: 4,
|
|
104
|
+
* MaxSize: 6,
|
|
105
|
+
* MinSize: 2,
|
|
106
|
+
* Recurrence: "30 0 1 12 0",
|
|
107
|
+
* ScheduledActionARN: "arn:aws:autoscaling:us-west-2:123456789012:scheduledUpdateGroupAction:8e86b655-b2e6-4410-8f29-b4f094d6871c:autoScalingGroupName/my-auto-scaling-group:scheduledActionName/my-scheduled-action",
|
|
108
|
+
* ScheduledActionName: "my-scheduled-action",
|
|
109
|
+
* StartTime: "2016-12-01T00:30:00Z",
|
|
110
|
+
* Time: "2016-12-01T00:30:00Z"
|
|
111
111
|
* }
|
|
112
112
|
* ]
|
|
113
113
|
* }
|
|
114
114
|
* *\/
|
|
115
|
-
* // example id: autoscaling-describe-scheduled-actions-1
|
|
116
115
|
* ```
|
|
117
116
|
*
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
export declare class DescribeScheduledActionsCommand extends DescribeScheduledActionsCommand_base {
|
|
120
120
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -87,15 +87,15 @@ declare const DescribeTagsCommand_base: {
|
|
|
87
87
|
* @throws {@link AutoScalingServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
*
|
|
91
91
|
* @example To describe tags
|
|
92
92
|
* ```javascript
|
|
93
93
|
* // This example describes the tags for the specified Auto Scaling group.
|
|
94
94
|
* const input = {
|
|
95
|
-
*
|
|
95
|
+
* Filters: [
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
97
|
+
* Name: "auto-scaling-group",
|
|
98
|
+
* Values: [
|
|
99
99
|
* "my-auto-scaling-group"
|
|
100
100
|
* ]
|
|
101
101
|
* }
|
|
@@ -103,29 +103,29 @@ declare const DescribeTagsCommand_base: {
|
|
|
103
103
|
* };
|
|
104
104
|
* const command = new DescribeTagsCommand(input);
|
|
105
105
|
* const response = await client.send(command);
|
|
106
|
-
* /* response
|
|
106
|
+
* /* response is
|
|
107
107
|
* {
|
|
108
|
-
*
|
|
108
|
+
* Tags: [
|
|
109
109
|
* {
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
110
|
+
* Key: "Dept",
|
|
111
|
+
* PropagateAtLaunch: true,
|
|
112
|
+
* ResourceId: "my-auto-scaling-group",
|
|
113
|
+
* ResourceType: "auto-scaling-group",
|
|
114
|
+
* Value: "Research"
|
|
115
115
|
* },
|
|
116
116
|
* {
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
117
|
+
* Key: "Role",
|
|
118
|
+
* PropagateAtLaunch: true,
|
|
119
|
+
* ResourceId: "my-auto-scaling-group",
|
|
120
|
+
* ResourceType: "auto-scaling-group",
|
|
121
|
+
* Value: "WebServer"
|
|
122
122
|
* }
|
|
123
123
|
* ]
|
|
124
124
|
* }
|
|
125
125
|
* *\/
|
|
126
|
-
* // example id: autoscaling-describe-tags-1
|
|
127
126
|
* ```
|
|
128
127
|
*
|
|
128
|
+
* @public
|
|
129
129
|
*/
|
|
130
130
|
export declare class DescribeTagsCommand extends DescribeTagsCommand_base {
|
|
131
131
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -61,16 +61,16 @@ declare const DescribeTerminationPolicyTypesCommand_base: {
|
|
|
61
61
|
* @throws {@link AutoScalingServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
63
63
|
*
|
|
64
|
-
*
|
|
64
|
+
*
|
|
65
65
|
* @example To describe termination policy types
|
|
66
66
|
* ```javascript
|
|
67
67
|
* // This example describes the available termination policy types.
|
|
68
|
-
* const input = {};
|
|
68
|
+
* const input = { /* empty *\/ };
|
|
69
69
|
* const command = new DescribeTerminationPolicyTypesCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
71
|
-
* /* response
|
|
71
|
+
* /* response is
|
|
72
72
|
* {
|
|
73
|
-
*
|
|
73
|
+
* TerminationPolicyTypes: [
|
|
74
74
|
* "ClosestToNextInstanceHour",
|
|
75
75
|
* "Default",
|
|
76
76
|
* "NewestInstance",
|
|
@@ -79,9 +79,9 @@ declare const DescribeTerminationPolicyTypesCommand_base: {
|
|
|
79
79
|
* ]
|
|
80
80
|
* }
|
|
81
81
|
* *\/
|
|
82
|
-
* // example id: autoscaling-describe-termination-policy-types-1
|
|
83
82
|
* ```
|
|
84
83
|
*
|
|
84
|
+
* @public
|
|
85
85
|
*/
|
|
86
86
|
export declare class DescribeTerminationPolicyTypesCommand extends DescribeTerminationPolicyTypesCommand_base {
|
|
87
87
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -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. */
|