@aws-sdk/client-auto-scaling 3.315.0 → 3.319.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.
@@ -65,1092 +65,404 @@ import { StartInstanceRefreshCommandInput, StartInstanceRefreshCommandOutput } f
65
65
  import { SuspendProcessesCommandInput, SuspendProcessesCommandOutput } from "./commands/SuspendProcessesCommand";
66
66
  import { TerminateInstanceInAutoScalingGroupCommandInput, TerminateInstanceInAutoScalingGroupCommandOutput } from "./commands/TerminateInstanceInAutoScalingGroupCommand";
67
67
  import { UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput } from "./commands/UpdateAutoScalingGroupCommand";
68
- /**
69
- * @public
70
- * <fullname>Amazon EC2 Auto Scaling</fullname>
71
- * <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
72
- * based on user-defined scaling policies, scheduled actions, and health checks.</p>
73
- * <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>
74
- */
75
- export declare class AutoScaling extends AutoScalingClient {
76
- /**
77
- * @public
78
- * <p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p>
79
- * <p>When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the
80
- * number of instances being attached. If the number of instances being attached plus the
81
- * desired capacity of the group exceeds the maximum size of the group, the operation
82
- * fails.</p>
83
- * <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are
84
- * also registered with the load balancer. If there are target groups attached to your Auto Scaling
85
- * group, the instances are also registered with the target groups.</p>
86
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html">Attach EC2 instances to
87
- * your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
68
+ export interface AutoScaling {
69
+ /**
70
+ * @see {@link AttachInstancesCommand}
88
71
  */
89
72
  attachInstances(args: AttachInstancesCommandInput, options?: __HttpHandlerOptions): Promise<AttachInstancesCommandOutput>;
90
73
  attachInstances(args: AttachInstancesCommandInput, cb: (err: any, data?: AttachInstancesCommandOutput) => void): void;
91
74
  attachInstances(args: AttachInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachInstancesCommandOutput) => void): void;
92
75
  /**
93
- * @public
94
- * <note>
95
- * <p>This API operation is superseded by <a>AttachTrafficSources</a>, which
96
- * can attach multiple traffic sources types. We recommend using
97
- * <code>AttachTrafficSources</code> to simplify how you manage traffic sources.
98
- * However, we continue to support <code>AttachLoadBalancers</code>. You can use both
99
- * the original <code>AttachLoadBalancers</code> API operation and
100
- * <code>AttachTrafficSources</code> on the same Auto Scaling group.</p>
101
- * </note>
102
- * <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the
103
- * running instances with these Classic Load Balancers.</p>
104
- * <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
105
- * group, call the <a>DetachLoadBalancers</a> API.</p>
106
- * <p>This operation is additive and does not detach existing Classic Load Balancers or
107
- * target groups from the Auto Scaling group.</p>
108
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
109
- * distribute traffic across the instances in your Auto Scaling group</a> in the
110
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
76
+ * @see {@link AttachLoadBalancersCommand}
111
77
  */
112
78
  attachLoadBalancers(args: AttachLoadBalancersCommandInput, options?: __HttpHandlerOptions): Promise<AttachLoadBalancersCommandOutput>;
113
79
  attachLoadBalancers(args: AttachLoadBalancersCommandInput, cb: (err: any, data?: AttachLoadBalancersCommandOutput) => void): void;
114
80
  attachLoadBalancers(args: AttachLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachLoadBalancersCommandOutput) => void): void;
115
81
  /**
116
- * @public
117
- * <note>
118
- * <p>This API operation is superseded by <a>AttachTrafficSources</a>, which
119
- * can attach multiple traffic sources types. We recommend using
120
- * <code>AttachTrafficSources</code> to simplify how you manage traffic sources.
121
- * However, we continue to support <code>AttachLoadBalancerTargetGroups</code>. You can
122
- * use both the original <code>AttachLoadBalancerTargetGroups</code> API operation and
123
- * <code>AttachTrafficSources</code> on the same Auto Scaling group.</p>
124
- * </note>
125
- * <p>Attaches one or more target groups to the specified Auto Scaling group.</p>
126
- * <p>This operation is used with the following load balancer types: </p>
127
- * <ul>
128
- * <li>
129
- * <p>Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and
130
- * HTTPS. </p>
131
- * </li>
132
- * <li>
133
- * <p>Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and
134
- * UDP. </p>
135
- * </li>
136
- * <li>
137
- * <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
138
- * </li>
139
- * </ul>
140
- * <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from
141
- * the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>
142
- * <p>This operation is additive and does not detach existing target groups or Classic Load
143
- * Balancers from the Auto Scaling group.</p>
144
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
145
- * distribute traffic across the instances in your Auto Scaling group</a> in the
146
- * <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
82
+ * @see {@link AttachLoadBalancerTargetGroupsCommand}
147
83
  */
148
84
  attachLoadBalancerTargetGroups(args: AttachLoadBalancerTargetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<AttachLoadBalancerTargetGroupsCommandOutput>;
149
85
  attachLoadBalancerTargetGroups(args: AttachLoadBalancerTargetGroupsCommandInput, cb: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void): void;
150
86
  attachLoadBalancerTargetGroups(args: AttachLoadBalancerTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void): void;
151
87
  /**
152
- * @public
153
- * <p>Attaches one or more traffic sources to the specified Auto Scaling group.</p>
154
- * <p>You can use any of the following as traffic sources for an Auto Scaling group:</p>
155
- * <ul>
156
- * <li>
157
- * <p>Application Load Balancer</p>
158
- * </li>
159
- * <li>
160
- * <p>Classic Load Balancer</p>
161
- * </li>
162
- * <li>
163
- * <p>Gateway Load Balancer</p>
164
- * </li>
165
- * <li>
166
- * <p>Network Load Balancer</p>
167
- * </li>
168
- * <li>
169
- * <p>VPC Lattice</p>
170
- * </li>
171
- * </ul>
172
- * <p>This operation is additive and does not detach existing traffic sources from the Auto Scaling
173
- * group. </p>
174
- * <p>After the operation completes, use the <a>DescribeTrafficSources</a> API to
175
- * return details about the state of the attachments between traffic sources and your Auto Scaling
176
- * group. To detach a traffic source from the Auto Scaling group, call the <a>DetachTrafficSources</a> API.</p>
88
+ * @see {@link AttachTrafficSourcesCommand}
177
89
  */
178
90
  attachTrafficSources(args: AttachTrafficSourcesCommandInput, options?: __HttpHandlerOptions): Promise<AttachTrafficSourcesCommandOutput>;
179
91
  attachTrafficSources(args: AttachTrafficSourcesCommandInput, cb: (err: any, data?: AttachTrafficSourcesCommandOutput) => void): void;
180
92
  attachTrafficSources(args: AttachTrafficSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachTrafficSourcesCommandOutput) => void): void;
181
93
  /**
182
- * @public
183
- * <p>Deletes one or more scheduled actions for the specified Auto Scaling group.</p>
94
+ * @see {@link BatchDeleteScheduledActionCommand}
184
95
  */
185
96
  batchDeleteScheduledAction(args: BatchDeleteScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteScheduledActionCommandOutput>;
186
97
  batchDeleteScheduledAction(args: BatchDeleteScheduledActionCommandInput, cb: (err: any, data?: BatchDeleteScheduledActionCommandOutput) => void): void;
187
98
  batchDeleteScheduledAction(args: BatchDeleteScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteScheduledActionCommandOutput) => void): void;
188
99
  /**
189
- * @public
190
- * <p>Creates or updates one or more scheduled scaling actions for an Auto Scaling group.</p>
100
+ * @see {@link BatchPutScheduledUpdateGroupActionCommand}
191
101
  */
192
102
  batchPutScheduledUpdateGroupAction(args: BatchPutScheduledUpdateGroupActionCommandInput, options?: __HttpHandlerOptions): Promise<BatchPutScheduledUpdateGroupActionCommandOutput>;
193
103
  batchPutScheduledUpdateGroupAction(args: BatchPutScheduledUpdateGroupActionCommandInput, cb: (err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void): void;
194
104
  batchPutScheduledUpdateGroupAction(args: BatchPutScheduledUpdateGroupActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void): void;
195
105
  /**
196
- * @public
197
- * <p>Cancels an instance refresh or rollback that is in progress. If an instance refresh or
198
- * rollback is not in progress, an <code>ActiveInstanceRefreshNotFound</code> error
199
- * occurs.</p>
200
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
201
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
202
- * after you make configuration changes.</p>
203
- * <p>When you cancel an instance refresh, this does not roll back any changes that it made.
204
- * Use the <a>RollbackInstanceRefresh</a> API to roll back instead.</p>
106
+ * @see {@link CancelInstanceRefreshCommand}
205
107
  */
206
108
  cancelInstanceRefresh(args: CancelInstanceRefreshCommandInput, options?: __HttpHandlerOptions): Promise<CancelInstanceRefreshCommandOutput>;
207
109
  cancelInstanceRefresh(args: CancelInstanceRefreshCommandInput, cb: (err: any, data?: CancelInstanceRefreshCommandOutput) => void): void;
208
110
  cancelInstanceRefresh(args: CancelInstanceRefreshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelInstanceRefreshCommandOutput) => void): void;
209
111
  /**
210
- * @public
211
- * <p>Completes the lifecycle action for the specified token or instance with the specified
212
- * result.</p>
213
- * <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
214
- * group:</p>
215
- * <ol>
216
- * <li>
217
- * <p>(Optional) Create a launch template or launch configuration with a user data
218
- * script that runs while an instance is in a wait state due to a lifecycle
219
- * hook.</p>
220
- * </li>
221
- * <li>
222
- * <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke
223
- * your Lambda function when an instance is put into a wait state due to a
224
- * lifecycle hook.</p>
225
- * </li>
226
- * <li>
227
- * <p>(Optional) Create a notification target and an IAM role. The target can be
228
- * either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish
229
- * lifecycle notifications to the target.</p>
230
- * </li>
231
- * <li>
232
- * <p>Create the lifecycle hook. Specify whether the hook is used when the instances
233
- * launch or terminate.</p>
234
- * </li>
235
- * <li>
236
- * <p>If you need more time, record the lifecycle action heartbeat to keep the
237
- * instance in a wait state.</p>
238
- * </li>
239
- * <li>
240
- * <p>
241
- * <b>If you finish before the timeout period ends, send a
242
- * callback by using the <a>CompleteLifecycleAction</a> API
243
- * call.</b>
244
- * </p>
245
- * </li>
246
- * </ol>
247
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
248
- * hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
112
+ * @see {@link CompleteLifecycleActionCommand}
249
113
  */
250
114
  completeLifecycleAction(args: CompleteLifecycleActionCommandInput, options?: __HttpHandlerOptions): Promise<CompleteLifecycleActionCommandOutput>;
251
115
  completeLifecycleAction(args: CompleteLifecycleActionCommandInput, cb: (err: any, data?: CompleteLifecycleActionCommandOutput) => void): void;
252
116
  completeLifecycleAction(args: CompleteLifecycleActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteLifecycleActionCommandOutput) => void): void;
253
117
  /**
254
- * @public
255
- * <p>
256
- * <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>
257
- * </p>
258
- * <p>Creates an Auto Scaling group with the specified name and attributes. </p>
259
- * <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
260
- * call the <a>DescribeAccountLimits</a> API. For information about updating
261
- * this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
262
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
263
- * <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
264
- * 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
265
- * scaled and load-balanced application</a> in the
266
- * <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
267
- * groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
268
- * <p>Every Auto Scaling group has three size properties (<code>DesiredCapacity</code>,
269
- * <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based
270
- * on a specific number of instances. However, if you configure a mixed instances policy
271
- * that defines weights for the instance types, you must specify these sizes with the same
272
- * units that you use for weighting instances.</p>
118
+ * @see {@link CreateAutoScalingGroupCommand}
273
119
  */
274
120
  createAutoScalingGroup(args: CreateAutoScalingGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateAutoScalingGroupCommandOutput>;
275
121
  createAutoScalingGroup(args: CreateAutoScalingGroupCommandInput, cb: (err: any, data?: CreateAutoScalingGroupCommandOutput) => void): void;
276
122
  createAutoScalingGroup(args: CreateAutoScalingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAutoScalingGroupCommandOutput) => void): void;
277
123
  /**
278
- * @public
279
- * <p>Creates a launch configuration.</p>
280
- * <p>If you exceed your maximum limit of launch configurations, the call fails. To query
281
- * this limit, call the <a>DescribeAccountLimits</a> API. For information about
282
- * updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
283
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
284
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html">Launch
285
- * configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
286
- * <note>
287
- * <p>Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a
288
- * launch template or a launch configuration. We strongly recommend that you do not use
289
- * launch configurations. They do not provide full functionality for Amazon EC2 Auto Scaling or Amazon EC2.
290
- * For information about using launch templates, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html">Launch templates</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
291
- * </note>
124
+ * @see {@link CreateLaunchConfigurationCommand}
292
125
  */
293
126
  createLaunchConfiguration(args: CreateLaunchConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateLaunchConfigurationCommandOutput>;
294
127
  createLaunchConfiguration(args: CreateLaunchConfigurationCommandInput, cb: (err: any, data?: CreateLaunchConfigurationCommandOutput) => void): void;
295
128
  createLaunchConfiguration(args: CreateLaunchConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLaunchConfigurationCommandOutput) => void): void;
296
129
  /**
297
- * @public
298
- * <p>Creates or updates tags for the specified Auto Scaling group.</p>
299
- * <p>When you specify a tag with a key that already exists, the operation overwrites the
300
- * previous tag definition, and you do not get an error message.</p>
301
- * <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
302
- * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
130
+ * @see {@link CreateOrUpdateTagsCommand}
303
131
  */
304
132
  createOrUpdateTags(args: CreateOrUpdateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateOrUpdateTagsCommandOutput>;
305
133
  createOrUpdateTags(args: CreateOrUpdateTagsCommandInput, cb: (err: any, data?: CreateOrUpdateTagsCommandOutput) => void): void;
306
134
  createOrUpdateTags(args: CreateOrUpdateTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOrUpdateTagsCommandOutput) => void): void;
307
135
  /**
308
- * @public
309
- * <p>Deletes the specified Auto Scaling group.</p>
310
- * <p>If the group has instances or scaling activities in progress, you must specify the
311
- * option to force the deletion in order for it to succeed. The force delete operation will
312
- * also terminate the EC2 instances. If the group has a warm pool, the force delete option
313
- * also deletes the warm pool.</p>
314
- * <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
315
- * decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement
316
- * instances.</p>
317
- * <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
318
- * of the Auto Scaling group to
319
- * zero.</p>
320
- * <p>If the group has scaling policies, deleting the group deletes the policies, the
321
- * underlying alarm actions, and any alarm that no longer has an associated action.</p>
322
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-process-shutdown.html">Delete your Auto Scaling
323
- * infrastructure</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
136
+ * @see {@link DeleteAutoScalingGroupCommand}
324
137
  */
325
138
  deleteAutoScalingGroup(args: DeleteAutoScalingGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAutoScalingGroupCommandOutput>;
326
139
  deleteAutoScalingGroup(args: DeleteAutoScalingGroupCommandInput, cb: (err: any, data?: DeleteAutoScalingGroupCommandOutput) => void): void;
327
140
  deleteAutoScalingGroup(args: DeleteAutoScalingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAutoScalingGroupCommandOutput) => void): void;
328
141
  /**
329
- * @public
330
- * <p>Deletes the specified launch configuration.</p>
331
- * <p>The launch configuration must not be attached to an Auto Scaling group. When this call
332
- * completes, the launch configuration is no longer available for use.</p>
142
+ * @see {@link DeleteLaunchConfigurationCommand}
333
143
  */
334
144
  deleteLaunchConfiguration(args: DeleteLaunchConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLaunchConfigurationCommandOutput>;
335
145
  deleteLaunchConfiguration(args: DeleteLaunchConfigurationCommandInput, cb: (err: any, data?: DeleteLaunchConfigurationCommandOutput) => void): void;
336
146
  deleteLaunchConfiguration(args: DeleteLaunchConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLaunchConfigurationCommandOutput) => void): void;
337
147
  /**
338
- * @public
339
- * <p>Deletes the specified lifecycle hook.</p>
340
- * <p>If there are any outstanding lifecycle actions, they are completed first
341
- * (<code>ABANDON</code> for launching instances, <code>CONTINUE</code> for terminating
342
- * instances).</p>
148
+ * @see {@link DeleteLifecycleHookCommand}
343
149
  */
344
150
  deleteLifecycleHook(args: DeleteLifecycleHookCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLifecycleHookCommandOutput>;
345
151
  deleteLifecycleHook(args: DeleteLifecycleHookCommandInput, cb: (err: any, data?: DeleteLifecycleHookCommandOutput) => void): void;
346
152
  deleteLifecycleHook(args: DeleteLifecycleHookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecycleHookCommandOutput) => void): void;
347
153
  /**
348
- * @public
349
- * <p>Deletes the specified notification.</p>
154
+ * @see {@link DeleteNotificationConfigurationCommand}
350
155
  */
351
156
  deleteNotificationConfiguration(args: DeleteNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationConfigurationCommandOutput>;
352
157
  deleteNotificationConfiguration(args: DeleteNotificationConfigurationCommandInput, cb: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void): void;
353
158
  deleteNotificationConfiguration(args: DeleteNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void): void;
354
159
  /**
355
- * @public
356
- * <p>Deletes the specified scaling policy.</p>
357
- * <p>Deleting either a step scaling policy or a simple scaling policy deletes the
358
- * underlying alarm action, but does not delete the alarm, even if it no longer has an
359
- * associated action.</p>
360
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html">Deleting a scaling
361
- * policy</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
160
+ * @see {@link DeletePolicyCommand}
362
161
  */
363
162
  deletePolicy(args: DeletePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeletePolicyCommandOutput>;
364
163
  deletePolicy(args: DeletePolicyCommandInput, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
365
164
  deletePolicy(args: DeletePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
366
165
  /**
367
- * @public
368
- * <p>Deletes the specified scheduled action.</p>
166
+ * @see {@link DeleteScheduledActionCommand}
369
167
  */
370
168
  deleteScheduledAction(args: DeleteScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledActionCommandOutput>;
371
169
  deleteScheduledAction(args: DeleteScheduledActionCommandInput, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
372
170
  deleteScheduledAction(args: DeleteScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
373
171
  /**
374
- * @public
375
- * <p>Deletes the specified tags.</p>
172
+ * @see {@link DeleteTagsCommand}
376
173
  */
377
174
  deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
378
175
  deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
379
176
  deleteTags(args: DeleteTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
380
177
  /**
381
- * @public
382
- * <p>Deletes the warm pool for the specified Auto Scaling group.</p>
383
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
384
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
178
+ * @see {@link DeleteWarmPoolCommand}
385
179
  */
386
180
  deleteWarmPool(args: DeleteWarmPoolCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWarmPoolCommandOutput>;
387
181
  deleteWarmPool(args: DeleteWarmPoolCommandInput, cb: (err: any, data?: DeleteWarmPoolCommandOutput) => void): void;
388
182
  deleteWarmPool(args: DeleteWarmPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWarmPoolCommandOutput) => void): void;
389
183
  /**
390
- * @public
391
- * <p>Describes the current Amazon EC2 Auto Scaling resource quotas for your account.</p>
392
- * <p>When you establish an Amazon Web Services account, the account has initial quotas on the maximum
393
- * number of Auto Scaling groups and launch configurations that you can create in a given Region.
394
- * For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
395
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
184
+ * @see {@link DescribeAccountLimitsCommand}
396
185
  */
397
186
  describeAccountLimits(args: DescribeAccountLimitsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountLimitsCommandOutput>;
398
187
  describeAccountLimits(args: DescribeAccountLimitsCommandInput, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
399
188
  describeAccountLimits(args: DescribeAccountLimitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
400
189
  /**
401
- * @public
402
- * <p>Describes the available adjustment types for step scaling and simple scaling
403
- * policies.</p>
404
- * <p>The following adjustment types are supported:</p>
405
- * <ul>
406
- * <li>
407
- * <p>
408
- * <code>ChangeInCapacity</code>
409
- * </p>
410
- * </li>
411
- * <li>
412
- * <p>
413
- * <code>ExactCapacity</code>
414
- * </p>
415
- * </li>
416
- * <li>
417
- * <p>
418
- * <code>PercentChangeInCapacity</code>
419
- * </p>
420
- * </li>
421
- * </ul>
190
+ * @see {@link DescribeAdjustmentTypesCommand}
422
191
  */
423
192
  describeAdjustmentTypes(args: DescribeAdjustmentTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAdjustmentTypesCommandOutput>;
424
193
  describeAdjustmentTypes(args: DescribeAdjustmentTypesCommandInput, cb: (err: any, data?: DescribeAdjustmentTypesCommandOutput) => void): void;
425
194
  describeAdjustmentTypes(args: DescribeAdjustmentTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAdjustmentTypesCommandOutput) => void): void;
426
195
  /**
427
- * @public
428
- * <p>Gets information about the Auto Scaling groups in the account and Region.</p>
429
- * <p>If you specify Auto Scaling group names, the output includes information for only the
430
- * specified Auto Scaling groups. If you specify filters, the output includes information for only
431
- * those Auto Scaling groups that meet the filter criteria. If you do not specify group names or
432
- * filters, the output includes information for all Auto Scaling groups. </p>
433
- * <p>This operation also returns information about instances in Auto Scaling groups. To retrieve
434
- * information about the instances in a warm pool, you must call the <a>DescribeWarmPool</a> API. </p>
196
+ * @see {@link DescribeAutoScalingGroupsCommand}
435
197
  */
436
198
  describeAutoScalingGroups(args: DescribeAutoScalingGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAutoScalingGroupsCommandOutput>;
437
199
  describeAutoScalingGroups(args: DescribeAutoScalingGroupsCommandInput, cb: (err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void): void;
438
200
  describeAutoScalingGroups(args: DescribeAutoScalingGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void): void;
439
201
  /**
440
- * @public
441
- * <p>Gets information about the Auto Scaling instances in the account and Region.</p>
202
+ * @see {@link DescribeAutoScalingInstancesCommand}
442
203
  */
443
204
  describeAutoScalingInstances(args: DescribeAutoScalingInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAutoScalingInstancesCommandOutput>;
444
205
  describeAutoScalingInstances(args: DescribeAutoScalingInstancesCommandInput, cb: (err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void): void;
445
206
  describeAutoScalingInstances(args: DescribeAutoScalingInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void): void;
446
207
  /**
447
- * @public
448
- * <p>Describes the notification types that are supported by Amazon EC2 Auto Scaling.</p>
208
+ * @see {@link DescribeAutoScalingNotificationTypesCommand}
449
209
  */
450
210
  describeAutoScalingNotificationTypes(args: DescribeAutoScalingNotificationTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAutoScalingNotificationTypesCommandOutput>;
451
211
  describeAutoScalingNotificationTypes(args: DescribeAutoScalingNotificationTypesCommandInput, cb: (err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void): void;
452
212
  describeAutoScalingNotificationTypes(args: DescribeAutoScalingNotificationTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void): void;
453
213
  /**
454
- * @public
455
- * <p>Gets information about the instance refreshes for the specified Auto Scaling group.</p>
456
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
457
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
458
- * after you make configuration changes.</p>
459
- * <p>To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information
460
- * about the instance refreshes you previously initiated, including their status, start
461
- * time, end time, the percentage of the instance refresh that is complete, and the number
462
- * of instances remaining to update before the instance refresh is complete. If a rollback
463
- * is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information
464
- * about the rollback of the instance refresh.</p>
214
+ * @see {@link DescribeInstanceRefreshesCommand}
465
215
  */
466
216
  describeInstanceRefreshes(args: DescribeInstanceRefreshesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInstanceRefreshesCommandOutput>;
467
217
  describeInstanceRefreshes(args: DescribeInstanceRefreshesCommandInput, cb: (err: any, data?: DescribeInstanceRefreshesCommandOutput) => void): void;
468
218
  describeInstanceRefreshes(args: DescribeInstanceRefreshesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInstanceRefreshesCommandOutput) => void): void;
469
219
  /**
470
- * @public
471
- * <p>Gets information about the launch configurations in the account and Region.</p>
220
+ * @see {@link DescribeLaunchConfigurationsCommand}
472
221
  */
473
222
  describeLaunchConfigurations(args: DescribeLaunchConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLaunchConfigurationsCommandOutput>;
474
223
  describeLaunchConfigurations(args: DescribeLaunchConfigurationsCommandInput, cb: (err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void): void;
475
224
  describeLaunchConfigurations(args: DescribeLaunchConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void): void;
476
225
  /**
477
- * @public
478
- * <p>Gets information about the lifecycle hooks for the specified Auto Scaling group.</p>
226
+ * @see {@link DescribeLifecycleHooksCommand}
479
227
  */
480
228
  describeLifecycleHooks(args: DescribeLifecycleHooksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLifecycleHooksCommandOutput>;
481
229
  describeLifecycleHooks(args: DescribeLifecycleHooksCommandInput, cb: (err: any, data?: DescribeLifecycleHooksCommandOutput) => void): void;
482
230
  describeLifecycleHooks(args: DescribeLifecycleHooksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLifecycleHooksCommandOutput) => void): void;
483
231
  /**
484
- * @public
485
- * <p>Describes the available types of lifecycle hooks.</p>
486
- * <p>The following hook types are supported:</p>
487
- * <ul>
488
- * <li>
489
- * <p>
490
- * <code>autoscaling:EC2_INSTANCE_LAUNCHING</code>
491
- * </p>
492
- * </li>
493
- * <li>
494
- * <p>
495
- * <code>autoscaling:EC2_INSTANCE_TERMINATING</code>
496
- * </p>
497
- * </li>
498
- * </ul>
232
+ * @see {@link DescribeLifecycleHookTypesCommand}
499
233
  */
500
234
  describeLifecycleHookTypes(args: DescribeLifecycleHookTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLifecycleHookTypesCommandOutput>;
501
235
  describeLifecycleHookTypes(args: DescribeLifecycleHookTypesCommandInput, cb: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void): void;
502
236
  describeLifecycleHookTypes(args: DescribeLifecycleHookTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void): void;
503
237
  /**
504
- * @public
505
- * <note>
506
- * <p>This API operation is superseded by <a>DescribeTrafficSources</a>,
507
- * which can describe multiple traffic sources types. We recommend using
508
- * <code>DescribeTrafficSources</code> to simplify how you manage traffic sources.
509
- * However, we continue to support <code>DescribeLoadBalancers</code>. You can use both
510
- * the original <code>DescribeLoadBalancers</code> API operation and
511
- * <code>DescribeTrafficSources</code> on the same Auto Scaling group.</p>
512
- * </note>
513
- * <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
514
- * <p>This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancers, use the
515
- * <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
516
- * <p>To determine the attachment status of the load balancer, use the <code>State</code>
517
- * element in the response. When you attach a load balancer to an Auto Scaling group, the initial
518
- * <code>State</code> value is <code>Adding</code>. The state transitions to
519
- * <code>Added</code> after all Auto Scaling instances are registered with the load balancer.
520
- * If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to
521
- * <code>InService</code> after at least one Auto Scaling instance passes the health check.
522
- * When the load balancer is in the <code>InService</code> state, Amazon EC2 Auto Scaling can terminate
523
- * and replace any instances that are reported as unhealthy. If no registered instances
524
- * pass the health checks, the load balancer doesn't enter the <code>InService</code>
525
- * state. </p>
526
- * <p>Load balancers also have an <code>InService</code> state if you attach them in the
527
- * <a>CreateAutoScalingGroup</a> API call. If your load balancer state is
528
- * <code>InService</code>, but it is not working properly, check the scaling activities
529
- * by calling <a>DescribeScalingActivities</a> and take any corrective actions
530
- * necessary.</p>
531
- * <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:
532
- * Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
533
- * information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
534
- * distribute traffic across the instances in your Auto Scaling group</a> in the
535
- * <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
238
+ * @see {@link DescribeLoadBalancersCommand}
536
239
  */
537
240
  describeLoadBalancers(args: DescribeLoadBalancersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoadBalancersCommandOutput>;
538
241
  describeLoadBalancers(args: DescribeLoadBalancersCommandInput, cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void): void;
539
242
  describeLoadBalancers(args: DescribeLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void): void;
540
243
  /**
541
- * @public
542
- * <note>
543
- * <p>This API operation is superseded by <a>DescribeTrafficSources</a>,
544
- * which can describe multiple traffic sources types. We recommend using
545
- * <code>DetachTrafficSources</code> to simplify how you manage traffic sources.
546
- * However, we continue to support <code>DescribeLoadBalancerTargetGroups</code>. You
547
- * can use both the original <code>DescribeLoadBalancerTargetGroups</code> API
548
- * operation and <code>DescribeTrafficSources</code> on the same Auto Scaling group.</p>
549
- * </note>
550
- * <p>Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group.</p>
551
- * <p>To determine the attachment status of the target group, use the <code>State</code>
552
- * element in the response. When you attach a target group to an Auto Scaling group, the initial
553
- * <code>State</code> value is <code>Adding</code>. The state transitions to
554
- * <code>Added</code> after all Auto Scaling instances are registered with the target group. If
555
- * Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to
556
- * <code>InService</code> after at least one Auto Scaling instance passes the health check.
557
- * When the target group is in the <code>InService</code> state, Amazon EC2 Auto Scaling can terminate and
558
- * replace any instances that are reported as unhealthy. If no registered instances pass
559
- * the health checks, the target group doesn't enter the <code>InService</code> state. </p>
560
- * <p>Target groups also have an <code>InService</code> state if you attach them in the
561
- * <a>CreateAutoScalingGroup</a> API call. If your target group state is
562
- * <code>InService</code>, but it is not working properly, check the scaling activities
563
- * by calling <a>DescribeScalingActivities</a> and take any corrective actions
564
- * necessary.</p>
565
- * <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:
566
- * Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
567
- * information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
568
- * distribute traffic across the instances in your Auto Scaling group</a> in the
569
- * <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
570
- * <note>
571
- * <p>You can use this operation to describe target groups that were attached by using
572
- * <a>AttachLoadBalancerTargetGroups</a>, but not for target groups that
573
- * were attached by using <a>AttachTrafficSources</a>.</p>
574
- * </note>
244
+ * @see {@link DescribeLoadBalancerTargetGroupsCommand}
575
245
  */
576
246
  describeLoadBalancerTargetGroups(args: DescribeLoadBalancerTargetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoadBalancerTargetGroupsCommandOutput>;
577
247
  describeLoadBalancerTargetGroups(args: DescribeLoadBalancerTargetGroupsCommandInput, cb: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void): void;
578
248
  describeLoadBalancerTargetGroups(args: DescribeLoadBalancerTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void): void;
579
249
  /**
580
- * @public
581
- * <p>Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.</p>
250
+ * @see {@link DescribeMetricCollectionTypesCommand}
582
251
  */
583
252
  describeMetricCollectionTypes(args: DescribeMetricCollectionTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMetricCollectionTypesCommandOutput>;
584
253
  describeMetricCollectionTypes(args: DescribeMetricCollectionTypesCommandInput, cb: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void): void;
585
254
  describeMetricCollectionTypes(args: DescribeMetricCollectionTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void): void;
586
255
  /**
587
- * @public
588
- * <p>Gets information about the Amazon SNS notifications that are configured for one or more
589
- * Auto Scaling groups.</p>
256
+ * @see {@link DescribeNotificationConfigurationsCommand}
590
257
  */
591
258
  describeNotificationConfigurations(args: DescribeNotificationConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationConfigurationsCommandOutput>;
592
259
  describeNotificationConfigurations(args: DescribeNotificationConfigurationsCommandInput, cb: (err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void): void;
593
260
  describeNotificationConfigurations(args: DescribeNotificationConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void): void;
594
261
  /**
595
- * @public
596
- * <p>Gets information about the scaling policies in the account and Region.</p>
262
+ * @see {@link DescribePoliciesCommand}
597
263
  */
598
264
  describePolicies(args: DescribePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribePoliciesCommandOutput>;
599
265
  describePolicies(args: DescribePoliciesCommandInput, cb: (err: any, data?: DescribePoliciesCommandOutput) => void): void;
600
266
  describePolicies(args: DescribePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePoliciesCommandOutput) => void): void;
601
267
  /**
602
- * @public
603
- * <p>Gets information about the scaling activities in the account and Region.</p>
604
- * <p>When scaling events occur, you see a record of the scaling activity in the scaling
605
- * activities. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html">Verifying a scaling
606
- * activity for an Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
607
- * <p>If the scaling event succeeds, the value of the <code>StatusCode</code> element in the
608
- * response is <code>Successful</code>. If an attempt to launch instances failed, the
609
- * <code>StatusCode</code> value is <code>Failed</code> or <code>Cancelled</code> and
610
- * the <code>StatusMessage</code> element in the response indicates the cause of the
611
- * failure. For help interpreting the <code>StatusMessage</code>, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html">Troubleshooting Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
268
+ * @see {@link DescribeScalingActivitiesCommand}
612
269
  */
613
270
  describeScalingActivities(args: DescribeScalingActivitiesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingActivitiesCommandOutput>;
614
271
  describeScalingActivities(args: DescribeScalingActivitiesCommandInput, cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void): void;
615
272
  describeScalingActivities(args: DescribeScalingActivitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void): void;
616
273
  /**
617
- * @public
618
- * <p>Describes the scaling process types for use with the <a>ResumeProcesses</a>
619
- * and <a>SuspendProcesses</a> APIs.</p>
274
+ * @see {@link DescribeScalingProcessTypesCommand}
620
275
  */
621
276
  describeScalingProcessTypes(args: DescribeScalingProcessTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingProcessTypesCommandOutput>;
622
277
  describeScalingProcessTypes(args: DescribeScalingProcessTypesCommandInput, cb: (err: any, data?: DescribeScalingProcessTypesCommandOutput) => void): void;
623
278
  describeScalingProcessTypes(args: DescribeScalingProcessTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingProcessTypesCommandOutput) => void): void;
624
279
  /**
625
- * @public
626
- * <p>Gets information about the scheduled actions that haven't run or that have not reached
627
- * their end time.</p>
628
- * <p>To describe the scaling activities for scheduled actions that have already run, call
629
- * the <a>DescribeScalingActivities</a> API.</p>
280
+ * @see {@link DescribeScheduledActionsCommand}
630
281
  */
631
282
  describeScheduledActions(args: DescribeScheduledActionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledActionsCommandOutput>;
632
283
  describeScheduledActions(args: DescribeScheduledActionsCommandInput, cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void): void;
633
284
  describeScheduledActions(args: DescribeScheduledActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void): void;
634
285
  /**
635
- * @public
636
- * <p>Describes the specified tags.</p>
637
- * <p>You can use filters to limit the results. For example, you can query for the tags for
638
- * a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at
639
- * least one of the specified values for it to be included in the results.</p>
640
- * <p>You can also specify multiple filters. The result includes information for a
641
- * particular tag only if it matches all the filters. If there's no match, no special
642
- * message is returned.</p>
643
- * <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
644
- * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
286
+ * @see {@link DescribeTagsCommand}
645
287
  */
646
288
  describeTags(args: DescribeTagsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTagsCommandOutput>;
647
289
  describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
648
290
  describeTags(args: DescribeTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
649
291
  /**
650
- * @public
651
- * <p>Describes the termination policies supported by Amazon EC2 Auto Scaling.</p>
652
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">Work with
653
- * Amazon EC2 Auto Scaling termination policies</a> in the
654
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
292
+ * @see {@link DescribeTerminationPolicyTypesCommand}
655
293
  */
656
294
  describeTerminationPolicyTypes(args: DescribeTerminationPolicyTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTerminationPolicyTypesCommandOutput>;
657
295
  describeTerminationPolicyTypes(args: DescribeTerminationPolicyTypesCommandInput, cb: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void): void;
658
296
  describeTerminationPolicyTypes(args: DescribeTerminationPolicyTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void): void;
659
297
  /**
660
- * @public
661
- * <p>Gets information about the traffic sources for the specified Auto Scaling group.</p>
662
- * <p>You can optionally provide a traffic source type. If you provide a traffic source
663
- * type, then the results only include that traffic source type.</p>
664
- * <p>If you do not provide a traffic source type, then the results include all the traffic
665
- * sources for the specified Auto Scaling group. </p>
298
+ * @see {@link DescribeTrafficSourcesCommand}
666
299
  */
667
300
  describeTrafficSources(args: DescribeTrafficSourcesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrafficSourcesCommandOutput>;
668
301
  describeTrafficSources(args: DescribeTrafficSourcesCommandInput, cb: (err: any, data?: DescribeTrafficSourcesCommandOutput) => void): void;
669
302
  describeTrafficSources(args: DescribeTrafficSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrafficSourcesCommandOutput) => void): void;
670
303
  /**
671
- * @public
672
- * <p>Gets information about a warm pool and its instances.</p>
673
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
674
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
304
+ * @see {@link DescribeWarmPoolCommand}
675
305
  */
676
306
  describeWarmPool(args: DescribeWarmPoolCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWarmPoolCommandOutput>;
677
307
  describeWarmPool(args: DescribeWarmPoolCommandInput, cb: (err: any, data?: DescribeWarmPoolCommandOutput) => void): void;
678
308
  describeWarmPool(args: DescribeWarmPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWarmPoolCommandOutput) => void): void;
679
309
  /**
680
- * @public
681
- * <p>Removes one or more instances from the specified Auto Scaling group.</p>
682
- * <p>After the instances are detached, you can manage them independent of the Auto Scaling
683
- * group.</p>
684
- * <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches
685
- * instances to replace the ones that are detached.</p>
686
- * <p>If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are
687
- * deregistered from the load balancer. If there are target groups attached to the Auto Scaling
688
- * group, the instances are deregistered from the target groups.</p>
689
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html">Detach EC2 instances from
690
- * your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
310
+ * @see {@link DetachInstancesCommand}
691
311
  */
692
312
  detachInstances(args: DetachInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DetachInstancesCommandOutput>;
693
313
  detachInstances(args: DetachInstancesCommandInput, cb: (err: any, data?: DetachInstancesCommandOutput) => void): void;
694
314
  detachInstances(args: DetachInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachInstancesCommandOutput) => void): void;
695
315
  /**
696
- * @public
697
- * <note>
698
- * <p>This API operation is superseded by <a>DetachTrafficSources</a>, which
699
- * can detach multiple traffic sources types. We recommend using
700
- * <code>DetachTrafficSources</code> to simplify how you manage traffic sources.
701
- * However, we continue to support <code>DetachLoadBalancers</code>. You can use both
702
- * the original <code>DetachLoadBalancers</code> API operation and
703
- * <code>DetachTrafficSources</code> on the same Auto Scaling group.</p>
704
- * </note>
705
- * <p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>
706
- * <p>This operation detaches only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or
707
- * Gateway Load Balancers, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>
708
- * <p>When you detach a load balancer, it enters the <code>Removing</code> state while
709
- * deregistering the instances in the group. When all instances are deregistered, then you
710
- * can no longer describe the load balancer using the <a>DescribeLoadBalancers</a> API call. The instances remain running.</p>
316
+ * @see {@link DetachLoadBalancersCommand}
711
317
  */
712
318
  detachLoadBalancers(args: DetachLoadBalancersCommandInput, options?: __HttpHandlerOptions): Promise<DetachLoadBalancersCommandOutput>;
713
319
  detachLoadBalancers(args: DetachLoadBalancersCommandInput, cb: (err: any, data?: DetachLoadBalancersCommandOutput) => void): void;
714
320
  detachLoadBalancers(args: DetachLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachLoadBalancersCommandOutput) => void): void;
715
321
  /**
716
- * @public
717
- * <note>
718
- * <p>This API operation is superseded by <a>DetachTrafficSources</a>, which
719
- * can detach multiple traffic sources types. We recommend using
720
- * <code>DetachTrafficSources</code> to simplify how you manage traffic sources.
721
- * However, we continue to support <code>DetachLoadBalancerTargetGroups</code>. You can
722
- * use both the original <code>DetachLoadBalancerTargetGroups</code> API operation and
723
- * <code>DetachTrafficSources</code> on the same Auto Scaling group.</p>
724
- * </note>
725
- * <p>Detaches one or more target groups from the specified Auto Scaling group.</p>
726
- * <p>When you detach a target group, it enters the <code>Removing</code> state while
727
- * deregistering the instances in the group. When all instances are deregistered, then you
728
- * can no longer describe the target group using the <a>DescribeLoadBalancerTargetGroups</a> API call. The instances remain
729
- * running.</p>
730
- * <note>
731
- * <p>You can use this operation to detach target groups that were attached by using
732
- * <a>AttachLoadBalancerTargetGroups</a>, but not for target groups that
733
- * were attached by using <a>AttachTrafficSources</a>.</p>
734
- * </note>
322
+ * @see {@link DetachLoadBalancerTargetGroupsCommand}
735
323
  */
736
324
  detachLoadBalancerTargetGroups(args: DetachLoadBalancerTargetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DetachLoadBalancerTargetGroupsCommandOutput>;
737
325
  detachLoadBalancerTargetGroups(args: DetachLoadBalancerTargetGroupsCommandInput, cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void): void;
738
326
  detachLoadBalancerTargetGroups(args: DetachLoadBalancerTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void): void;
739
327
  /**
740
- * @public
741
- * <p>Detaches one or more traffic sources from the specified Auto Scaling group.</p>
742
- * <p>When you detach a taffic, it enters the <code>Removing</code> state while
743
- * deregistering the instances in the group. When all instances are deregistered, then you
744
- * can no longer describe the traffic source using the <a>DescribeTrafficSources</a> API call. The instances continue to run.</p>
328
+ * @see {@link DetachTrafficSourcesCommand}
745
329
  */
746
330
  detachTrafficSources(args: DetachTrafficSourcesCommandInput, options?: __HttpHandlerOptions): Promise<DetachTrafficSourcesCommandOutput>;
747
331
  detachTrafficSources(args: DetachTrafficSourcesCommandInput, cb: (err: any, data?: DetachTrafficSourcesCommandOutput) => void): void;
748
332
  detachTrafficSources(args: DetachTrafficSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachTrafficSourcesCommandOutput) => void): void;
749
333
  /**
750
- * @public
751
- * <p>Disables group metrics collection for the specified Auto Scaling group.</p>
334
+ * @see {@link DisableMetricsCollectionCommand}
752
335
  */
753
336
  disableMetricsCollection(args: DisableMetricsCollectionCommandInput, options?: __HttpHandlerOptions): Promise<DisableMetricsCollectionCommandOutput>;
754
337
  disableMetricsCollection(args: DisableMetricsCollectionCommandInput, cb: (err: any, data?: DisableMetricsCollectionCommandOutput) => void): void;
755
338
  disableMetricsCollection(args: DisableMetricsCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableMetricsCollectionCommandOutput) => void): void;
756
339
  /**
757
- * @public
758
- * <p>Enables group metrics collection for the specified Auto Scaling group.</p>
759
- * <p>You can use these metrics to track changes in an Auto Scaling group and to set alarms on
760
- * threshold values. You can view group metrics using the Amazon EC2 Auto Scaling console or the CloudWatch
761
- * console. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html">Monitor
762
- * CloudWatch metrics for your Auto Scaling groups and instances</a> in the
763
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
340
+ * @see {@link EnableMetricsCollectionCommand}
764
341
  */
765
342
  enableMetricsCollection(args: EnableMetricsCollectionCommandInput, options?: __HttpHandlerOptions): Promise<EnableMetricsCollectionCommandOutput>;
766
343
  enableMetricsCollection(args: EnableMetricsCollectionCommandInput, cb: (err: any, data?: EnableMetricsCollectionCommandOutput) => void): void;
767
344
  enableMetricsCollection(args: EnableMetricsCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableMetricsCollectionCommandOutput) => void): void;
768
345
  /**
769
- * @public
770
- * <p>Moves the specified instances into the standby state.</p>
771
- * <p>If you choose to decrement the desired capacity of the Auto Scaling group, the instances can
772
- * enter standby as long as the desired capacity of the Auto Scaling group after the instances are
773
- * placed into standby is equal to or greater than the minimum capacity of the
774
- * group.</p>
775
- * <p>If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group
776
- * launches new instances to replace the instances on standby.</p>
777
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html">Temporarily removing
778
- * instances from your Auto Scaling group</a> in the
779
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
346
+ * @see {@link EnterStandbyCommand}
780
347
  */
781
348
  enterStandby(args: EnterStandbyCommandInput, options?: __HttpHandlerOptions): Promise<EnterStandbyCommandOutput>;
782
349
  enterStandby(args: EnterStandbyCommandInput, cb: (err: any, data?: EnterStandbyCommandOutput) => void): void;
783
350
  enterStandby(args: EnterStandbyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnterStandbyCommandOutput) => void): void;
784
351
  /**
785
- * @public
786
- * <p>Executes the specified policy. This can be useful for testing the design of your
787
- * scaling policy.</p>
352
+ * @see {@link ExecutePolicyCommand}
788
353
  */
789
354
  executePolicy(args: ExecutePolicyCommandInput, options?: __HttpHandlerOptions): Promise<ExecutePolicyCommandOutput>;
790
355
  executePolicy(args: ExecutePolicyCommandInput, cb: (err: any, data?: ExecutePolicyCommandOutput) => void): void;
791
356
  executePolicy(args: ExecutePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecutePolicyCommandOutput) => void): void;
792
357
  /**
793
- * @public
794
- * <p>Moves the specified instances out of the standby state.</p>
795
- * <p>After you put the instances back in service, the desired capacity is
796
- * incremented.</p>
797
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html">Temporarily removing
798
- * instances from your Auto Scaling group</a> in the
799
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
358
+ * @see {@link ExitStandbyCommand}
800
359
  */
801
360
  exitStandby(args: ExitStandbyCommandInput, options?: __HttpHandlerOptions): Promise<ExitStandbyCommandOutput>;
802
361
  exitStandby(args: ExitStandbyCommandInput, cb: (err: any, data?: ExitStandbyCommandOutput) => void): void;
803
362
  exitStandby(args: ExitStandbyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExitStandbyCommandOutput) => void): void;
804
363
  /**
805
- * @public
806
- * <p>Retrieves the forecast data for a predictive scaling policy.</p>
807
- * <p>Load forecasts are predictions of the hourly load values using historical load data
808
- * from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as
809
- * predicted values for the minimum capacity that is needed on an hourly basis, based on
810
- * the hourly load forecast.</p>
811
- * <p>A minimum of 24 hours of data is required to create the initial forecasts. However,
812
- * having a full 14 days of historical data results in more accurate forecasts.</p>
813
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html">Predictive
814
- * scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
364
+ * @see {@link GetPredictiveScalingForecastCommand}
815
365
  */
816
366
  getPredictiveScalingForecast(args: GetPredictiveScalingForecastCommandInput, options?: __HttpHandlerOptions): Promise<GetPredictiveScalingForecastCommandOutput>;
817
367
  getPredictiveScalingForecast(args: GetPredictiveScalingForecastCommandInput, cb: (err: any, data?: GetPredictiveScalingForecastCommandOutput) => void): void;
818
368
  getPredictiveScalingForecast(args: GetPredictiveScalingForecastCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPredictiveScalingForecastCommandOutput) => void): void;
819
369
  /**
820
- * @public
821
- * <p>Creates or updates a lifecycle hook for the specified Auto Scaling group.</p>
822
- * <p>Lifecycle hooks let you create solutions that are aware of events in the Auto Scaling instance
823
- * lifecycle, and then perform a custom action on instances when the corresponding
824
- * lifecycle event occurs.</p>
825
- * <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
826
- * group:</p>
827
- * <ol>
828
- * <li>
829
- * <p>(Optional) Create a launch template or launch configuration with a user data
830
- * script that runs while an instance is in a wait state due to a lifecycle
831
- * hook.</p>
832
- * </li>
833
- * <li>
834
- * <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke
835
- * your Lambda function when an instance is put into a wait state due to a
836
- * lifecycle hook.</p>
837
- * </li>
838
- * <li>
839
- * <p>(Optional) Create a notification target and an IAM role. The target can be
840
- * either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish
841
- * lifecycle notifications to the target.</p>
842
- * </li>
843
- * <li>
844
- * <p>
845
- * <b>Create the lifecycle hook. Specify whether the hook is
846
- * used when the instances launch or terminate.</b>
847
- * </p>
848
- * </li>
849
- * <li>
850
- * <p>If you need more time, record the lifecycle action heartbeat to keep the
851
- * instance in a wait state using the <a>RecordLifecycleActionHeartbeat</a> API call.</p>
852
- * </li>
853
- * <li>
854
- * <p>If you finish before the timeout period ends, send a callback by using the
855
- * <a>CompleteLifecycleAction</a> API call.</p>
856
- * </li>
857
- * </ol>
858
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
859
- * hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
860
- * <p>If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling
861
- * group, the call fails.</p>
862
- * <p>You can view the lifecycle hooks for an Auto Scaling group using the <a>DescribeLifecycleHooks</a> API call. If you are no longer using a lifecycle
863
- * hook, you can delete it by calling the <a>DeleteLifecycleHook</a> API.</p>
370
+ * @see {@link PutLifecycleHookCommand}
864
371
  */
865
372
  putLifecycleHook(args: PutLifecycleHookCommandInput, options?: __HttpHandlerOptions): Promise<PutLifecycleHookCommandOutput>;
866
373
  putLifecycleHook(args: PutLifecycleHookCommandInput, cb: (err: any, data?: PutLifecycleHookCommandOutput) => void): void;
867
374
  putLifecycleHook(args: PutLifecycleHookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLifecycleHookCommandOutput) => void): void;
868
375
  /**
869
- * @public
870
- * <p>Configures an Auto Scaling group to send notifications when specified events take place.
871
- * Subscribers to the specified topic can have messages delivered to an endpoint such as a
872
- * web server or an email address.</p>
873
- * <p>This configuration overwrites any existing configuration.</p>
874
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html">Getting Amazon SNS
875
- * notifications when your Auto Scaling group scales</a> in the
876
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
877
- * <p>If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call
878
- * fails.</p>
376
+ * @see {@link PutNotificationConfigurationCommand}
879
377
  */
880
378
  putNotificationConfiguration(args: PutNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutNotificationConfigurationCommandOutput>;
881
379
  putNotificationConfiguration(args: PutNotificationConfigurationCommandInput, cb: (err: any, data?: PutNotificationConfigurationCommandOutput) => void): void;
882
380
  putNotificationConfiguration(args: PutNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutNotificationConfigurationCommandOutput) => void): void;
883
381
  /**
884
- * @public
885
- * <p>Creates or updates a scaling policy for an Auto Scaling group. Scaling policies are used to
886
- * scale an Auto Scaling group based on configurable metrics. If no policies are defined, the
887
- * dynamic scaling and predictive scaling features are not used. </p>
888
- * <p>For more information about using dynamic scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html">Target tracking
889
- * scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html">Step and simple scaling
890
- * policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
891
- * <p>For more information about using predictive scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html">Predictive
892
- * scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
893
- * <p>You can view the scaling policies for an Auto Scaling group using the <a>DescribePolicies</a> API call. If you are no longer using a scaling policy,
894
- * you can delete it by calling the <a>DeletePolicy</a> API.</p>
382
+ * @see {@link PutScalingPolicyCommand}
895
383
  */
896
384
  putScalingPolicy(args: PutScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutScalingPolicyCommandOutput>;
897
385
  putScalingPolicy(args: PutScalingPolicyCommandInput, cb: (err: any, data?: PutScalingPolicyCommandOutput) => void): void;
898
386
  putScalingPolicy(args: PutScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutScalingPolicyCommandOutput) => void): void;
899
387
  /**
900
- * @public
901
- * <p>Creates or updates a scheduled scaling action for an Auto Scaling group.</p>
902
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html">Scheduled scaling</a> in the
903
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
904
- * <p>You can view the scheduled actions for an Auto Scaling group using the <a>DescribeScheduledActions</a> API call. If you are no longer using a
905
- * scheduled action, you can delete it by calling the <a>DeleteScheduledAction</a> API.</p>
906
- * <p>If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error
907
- * message.</p>
388
+ * @see {@link PutScheduledUpdateGroupActionCommand}
908
389
  */
909
390
  putScheduledUpdateGroupAction(args: PutScheduledUpdateGroupActionCommandInput, options?: __HttpHandlerOptions): Promise<PutScheduledUpdateGroupActionCommandOutput>;
910
391
  putScheduledUpdateGroupAction(args: PutScheduledUpdateGroupActionCommandInput, cb: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void): void;
911
392
  putScheduledUpdateGroupAction(args: PutScheduledUpdateGroupActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void): void;
912
393
  /**
913
- * @public
914
- * <p>Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of
915
- * pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your
916
- * application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new
917
- * desired capacity. For more information and example configurations, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
918
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
919
- * <p>This operation must be called from the Region in which the Auto Scaling group was created.
920
- * This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a
921
- * launch template or launch configuration that requests Spot Instances.</p>
922
- * <p>You can view the instances in the warm pool using the <a>DescribeWarmPool</a> API call. If you are no longer using a warm pool, you can delete it by calling the
923
- * <a>DeleteWarmPool</a> API.</p>
394
+ * @see {@link PutWarmPoolCommand}
924
395
  */
925
396
  putWarmPool(args: PutWarmPoolCommandInput, options?: __HttpHandlerOptions): Promise<PutWarmPoolCommandOutput>;
926
397
  putWarmPool(args: PutWarmPoolCommandInput, cb: (err: any, data?: PutWarmPoolCommandOutput) => void): void;
927
398
  putWarmPool(args: PutWarmPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutWarmPoolCommandOutput) => void): void;
928
399
  /**
929
- * @public
930
- * <p>Records a heartbeat for the lifecycle action associated with the specified token or
931
- * instance. This extends the timeout by the length of time defined using the <a>PutLifecycleHook</a> API call.</p>
932
- * <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
933
- * group:</p>
934
- * <ol>
935
- * <li>
936
- * <p>(Optional) Create a launch template or launch configuration with a user data
937
- * script that runs while an instance is in a wait state due to a lifecycle
938
- * hook.</p>
939
- * </li>
940
- * <li>
941
- * <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke
942
- * your Lambda function when an instance is put into a wait state due to a
943
- * lifecycle hook.</p>
944
- * </li>
945
- * <li>
946
- * <p>(Optional) Create a notification target and an IAM role. The target can be
947
- * either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish
948
- * lifecycle notifications to the target.</p>
949
- * </li>
950
- * <li>
951
- * <p>Create the lifecycle hook. Specify whether the hook is used when the instances
952
- * launch or terminate.</p>
953
- * </li>
954
- * <li>
955
- * <p>
956
- * <b>If you need more time, record the lifecycle action
957
- * heartbeat to keep the instance in a wait state.</b>
958
- * </p>
959
- * </li>
960
- * <li>
961
- * <p>If you finish before the timeout period ends, send a callback by using the
962
- * <a>CompleteLifecycleAction</a> API call.</p>
963
- * </li>
964
- * </ol>
965
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
966
- * hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
400
+ * @see {@link RecordLifecycleActionHeartbeatCommand}
967
401
  */
968
402
  recordLifecycleActionHeartbeat(args: RecordLifecycleActionHeartbeatCommandInput, options?: __HttpHandlerOptions): Promise<RecordLifecycleActionHeartbeatCommandOutput>;
969
403
  recordLifecycleActionHeartbeat(args: RecordLifecycleActionHeartbeatCommandInput, cb: (err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void): void;
970
404
  recordLifecycleActionHeartbeat(args: RecordLifecycleActionHeartbeatCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void): void;
971
405
  /**
972
- * @public
973
- * <p>Resumes the specified suspended auto scaling processes, or all suspended process, for
974
- * the specified Auto Scaling group.</p>
975
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
976
- * resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
406
+ * @see {@link ResumeProcessesCommand}
977
407
  */
978
408
  resumeProcesses(args: ResumeProcessesCommandInput, options?: __HttpHandlerOptions): Promise<ResumeProcessesCommandOutput>;
979
409
  resumeProcesses(args: ResumeProcessesCommandInput, cb: (err: any, data?: ResumeProcessesCommandOutput) => void): void;
980
410
  resumeProcesses(args: ResumeProcessesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResumeProcessesCommandOutput) => void): void;
981
411
  /**
982
- * @public
983
- * <p>Cancels an instance refresh that is in progress and rolls back any changes that it
984
- * made. Amazon EC2 Auto Scaling replaces any instances that were replaced during the instance refresh.
985
- * This restores your Auto Scaling group to the configuration that it was using before the start of
986
- * the instance refresh. </p>
987
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
988
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
989
- * after you make configuration changes.</p>
990
- * <p>A rollback is not supported in the following situations: </p>
991
- * <ul>
992
- * <li>
993
- * <p>There is no desired configuration specified for the instance refresh.</p>
994
- * </li>
995
- * <li>
996
- * <p>The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager parameter instead
997
- * of an AMI ID for the <code>ImageId</code> property.</p>
998
- * </li>
999
- * <li>
1000
- * <p>The Auto Scaling group uses the launch template's <code>$Latest</code> or
1001
- * <code>$Default</code> version.</p>
1002
- * </li>
1003
- * </ul>
1004
- * <p>When you receive a successful response from this operation, Amazon EC2 Auto Scaling immediately
1005
- * begins replacing instances. You can check the status of this operation through the <a>DescribeInstanceRefreshes</a> API operation. </p>
412
+ * @see {@link RollbackInstanceRefreshCommand}
1006
413
  */
1007
414
  rollbackInstanceRefresh(args: RollbackInstanceRefreshCommandInput, options?: __HttpHandlerOptions): Promise<RollbackInstanceRefreshCommandOutput>;
1008
415
  rollbackInstanceRefresh(args: RollbackInstanceRefreshCommandInput, cb: (err: any, data?: RollbackInstanceRefreshCommandOutput) => void): void;
1009
416
  rollbackInstanceRefresh(args: RollbackInstanceRefreshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RollbackInstanceRefreshCommandOutput) => void): void;
1010
417
  /**
1011
- * @public
1012
- * <p>Sets the size of the specified Auto Scaling group.</p>
1013
- * <p>If a scale-in activity occurs as a result of a new <code>DesiredCapacity</code> value
1014
- * that is lower than the current size of the group, the Auto Scaling group uses its termination
1015
- * policy to determine which instances to terminate. </p>
1016
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html">Manual scaling</a> in the
1017
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
418
+ * @see {@link SetDesiredCapacityCommand}
1018
419
  */
1019
420
  setDesiredCapacity(args: SetDesiredCapacityCommandInput, options?: __HttpHandlerOptions): Promise<SetDesiredCapacityCommandOutput>;
1020
421
  setDesiredCapacity(args: SetDesiredCapacityCommandInput, cb: (err: any, data?: SetDesiredCapacityCommandOutput) => void): void;
1021
422
  setDesiredCapacity(args: SetDesiredCapacityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetDesiredCapacityCommandOutput) => void): void;
1022
423
  /**
1023
- * @public
1024
- * <p>Sets the health status of the specified instance.</p>
1025
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html">Health checks for Auto Scaling
1026
- * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
424
+ * @see {@link SetInstanceHealthCommand}
1027
425
  */
1028
426
  setInstanceHealth(args: SetInstanceHealthCommandInput, options?: __HttpHandlerOptions): Promise<SetInstanceHealthCommandOutput>;
1029
427
  setInstanceHealth(args: SetInstanceHealthCommandInput, cb: (err: any, data?: SetInstanceHealthCommandOutput) => void): void;
1030
428
  setInstanceHealth(args: SetInstanceHealthCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetInstanceHealthCommandOutput) => void): void;
1031
429
  /**
1032
- * @public
1033
- * <p>Updates the instance protection settings of the specified instances. This operation
1034
- * cannot be called on instances in a warm pool.</p>
1035
- * <p>For more information about preventing instances that are part of an Auto Scaling group from
1036
- * terminating on scale in, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">Using
1037
- * instance scale-in protection</a> in the
1038
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1039
- * <p>If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call
1040
- * fails.</p>
430
+ * @see {@link SetInstanceProtectionCommand}
1041
431
  */
1042
432
  setInstanceProtection(args: SetInstanceProtectionCommandInput, options?: __HttpHandlerOptions): Promise<SetInstanceProtectionCommandOutput>;
1043
433
  setInstanceProtection(args: SetInstanceProtectionCommandInput, cb: (err: any, data?: SetInstanceProtectionCommandOutput) => void): void;
1044
434
  setInstanceProtection(args: SetInstanceProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetInstanceProtectionCommandOutput) => void): void;
1045
435
  /**
1046
- * @public
1047
- * <p>Starts an instance refresh. During an instance refresh, Amazon EC2 Auto Scaling performs a rolling
1048
- * update of instances in an Auto Scaling group. Instances are terminated first and then replaced,
1049
- * which temporarily reduces the capacity available within your Auto Scaling group.</p>
1050
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
1051
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group.
1052
- * This feature is helpful, for example, when you have a new AMI or a new user data script.
1053
- * You just need to create a new launch template that specifies the new AMI or user data
1054
- * script. Then start an instance refresh to immediately begin the process of updating
1055
- * instances in the group. </p>
1056
- * <p>If successful, the request's response contains a unique ID that you can use to track
1057
- * the progress of the instance refresh. To query its status, call the <a>DescribeInstanceRefreshes</a> API. To describe the instance refreshes that
1058
- * have already run, call the <a>DescribeInstanceRefreshes</a> API. To cancel an
1059
- * instance refresh that is in progress, use the <a>CancelInstanceRefresh</a>
1060
- * API. </p>
1061
- * <p>An instance refresh might fail for several reasons, such as EC2 launch failures,
1062
- * misconfigured health checks, or not ignoring or allowing the termination of instances
1063
- * that are in <code>Standby</code> state or protected from scale in. You can monitor for
1064
- * failed EC2 launches using the scaling activities. To find the scaling activities, call
1065
- * the <a>DescribeScalingActivities</a> API.</p>
1066
- * <p>If you enable auto rollback, your Auto Scaling group will be rolled back automatically when
1067
- * the instance refresh fails. You can enable this feature before starting an instance
1068
- * refresh by specifying the <code>AutoRollback</code> property in the instance refresh
1069
- * preferences. Otherwise, to roll back an instance refresh before it finishes, use the
1070
- * <a>RollbackInstanceRefresh</a> API. </p>
436
+ * @see {@link StartInstanceRefreshCommand}
1071
437
  */
1072
438
  startInstanceRefresh(args: StartInstanceRefreshCommandInput, options?: __HttpHandlerOptions): Promise<StartInstanceRefreshCommandOutput>;
1073
439
  startInstanceRefresh(args: StartInstanceRefreshCommandInput, cb: (err: any, data?: StartInstanceRefreshCommandOutput) => void): void;
1074
440
  startInstanceRefresh(args: StartInstanceRefreshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartInstanceRefreshCommandOutput) => void): void;
1075
441
  /**
1076
- * @public
1077
- * <p>Suspends the specified auto scaling processes, or all processes, for the specified
1078
- * Auto Scaling group.</p>
1079
- * <p>If you suspend either the <code>Launch</code> or <code>Terminate</code> process types,
1080
- * it can prevent other process types from functioning properly. For more information, see
1081
- * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
1082
- * resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1083
- * <p>To resume processes that have been suspended, call the <a>ResumeProcesses</a> API.</p>
442
+ * @see {@link SuspendProcessesCommand}
1084
443
  */
1085
444
  suspendProcesses(args: SuspendProcessesCommandInput, options?: __HttpHandlerOptions): Promise<SuspendProcessesCommandOutput>;
1086
445
  suspendProcesses(args: SuspendProcessesCommandInput, cb: (err: any, data?: SuspendProcessesCommandOutput) => void): void;
1087
446
  suspendProcesses(args: SuspendProcessesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SuspendProcessesCommandOutput) => void): void;
1088
447
  /**
1089
- * @public
1090
- * <p>Terminates the specified instance and optionally adjusts the desired group size. This
1091
- * operation cannot be called on instances in a warm pool.</p>
1092
- * <p>This call simply makes a termination request. The instance is not terminated
1093
- * immediately. When an instance is terminated, the instance status changes to
1094
- * <code>terminated</code>. You can't connect to or start an instance after you've
1095
- * terminated it.</p>
1096
- * <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches
1097
- * instances to replace the ones that are terminated. </p>
1098
- * <p>By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you
1099
- * decrement the desired capacity, your Auto Scaling group can become unbalanced between
1100
- * Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might
1101
- * terminate instances in other zones. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#AutoScalingBehavior.InstanceUsage">Rebalancing activities</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
448
+ * @see {@link TerminateInstanceInAutoScalingGroupCommand}
1102
449
  */
1103
450
  terminateInstanceInAutoScalingGroup(args: TerminateInstanceInAutoScalingGroupCommandInput, options?: __HttpHandlerOptions): Promise<TerminateInstanceInAutoScalingGroupCommandOutput>;
1104
451
  terminateInstanceInAutoScalingGroup(args: TerminateInstanceInAutoScalingGroupCommandInput, cb: (err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void): void;
1105
452
  terminateInstanceInAutoScalingGroup(args: TerminateInstanceInAutoScalingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void): void;
1106
453
  /**
1107
- * @public
1108
- * <p>
1109
- * <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>
1110
- * </p>
1111
- * <p>Updates the configuration for the specified Auto Scaling group.</p>
1112
- * <p>To update an Auto Scaling group, specify the name of the group and the property that you want
1113
- * to change. Any properties that you don't specify are not changed by this update request.
1114
- * The new settings take effect on any scaling activities after this call returns.
1115
- * </p>
1116
- * <p>If you associate a new launch configuration or template with an Auto Scaling group, all new
1117
- * instances will get the updated configuration. Existing instances continue to run with
1118
- * the configuration that they were originally launched with. When you update a group to
1119
- * specify a mixed instances policy instead of a launch configuration or template, existing
1120
- * instances may be replaced to match the new purchasing options that you specified in the
1121
- * policy. For example, if the group currently has 100% On-Demand capacity and the policy
1122
- * specifies 50% Spot capacity, this means that half of your instances will be gradually
1123
- * terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches
1124
- * new instances before terminating the old ones, so that updating your group does not
1125
- * compromise the performance or availability of your application.</p>
1126
- * <p>Note the following about changing <code>DesiredCapacity</code>, <code>MaxSize</code>,
1127
- * or <code>MinSize</code>:</p>
1128
- * <ul>
1129
- * <li>
1130
- * <p>If a scale-in activity occurs as a result of a new
1131
- * <code>DesiredCapacity</code> value that is lower than the current size of
1132
- * the group, the Auto Scaling group uses its termination policy to determine which
1133
- * instances to terminate.</p>
1134
- * </li>
1135
- * <li>
1136
- * <p>If you specify a new value for <code>MinSize</code> without specifying a value
1137
- * for <code>DesiredCapacity</code>, and the new <code>MinSize</code> is larger
1138
- * than the current size of the group, this sets the group's
1139
- * <code>DesiredCapacity</code> to the new <code>MinSize</code> value.</p>
1140
- * </li>
1141
- * <li>
1142
- * <p>If you specify a new value for <code>MaxSize</code> without specifying a value
1143
- * for <code>DesiredCapacity</code>, and the new <code>MaxSize</code> is smaller
1144
- * than the current size of the group, this sets the group's
1145
- * <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.</p>
1146
- * </li>
1147
- * </ul>
1148
- * <p>To see which properties have been set, call the <a>DescribeAutoScalingGroups</a> API. To view the scaling policies for an Auto Scaling
1149
- * group, call the <a>DescribePolicies</a> API. If the group has scaling
1150
- * policies, you can update them by calling the <a>PutScalingPolicy</a>
1151
- * API.</p>
454
+ * @see {@link UpdateAutoScalingGroupCommand}
1152
455
  */
1153
456
  updateAutoScalingGroup(args: UpdateAutoScalingGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAutoScalingGroupCommandOutput>;
1154
457
  updateAutoScalingGroup(args: UpdateAutoScalingGroupCommandInput, cb: (err: any, data?: UpdateAutoScalingGroupCommandOutput) => void): void;
1155
458
  updateAutoScalingGroup(args: UpdateAutoScalingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAutoScalingGroupCommandOutput) => void): void;
1156
459
  }
460
+ /**
461
+ * @public
462
+ * <fullname>Amazon EC2 Auto Scaling</fullname>
463
+ * <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
464
+ * based on user-defined scaling policies, scheduled actions, and health checks.</p>
465
+ * <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>
466
+ */
467
+ export declare class AutoScaling extends AutoScalingClient implements AutoScaling {
468
+ }