@aws-sdk/client-auto-scaling 3.131.0 → 3.136.1
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/CHANGELOG.md +8 -0
- package/README.md +2 -5
- package/dist-types/AutoScaling.d.ts +61 -51
- package/dist-types/AutoScalingClient.d.ts +6 -5
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +8 -7
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +7 -8
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +6 -5
- package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +0 -2
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +3 -3
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +4 -0
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +2 -2
- package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +1 -1
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +5 -1
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +253 -219
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.136.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.0...v3.136.1) (2022-07-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-auto-scaling
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-auto-scaling
|
package/README.md
CHANGED
|
@@ -11,12 +11,9 @@ AWS SDK for JavaScript AutoScaling Client for Node.js, Browser and React Native.
|
|
|
11
11
|
|
|
12
12
|
<fullname>Amazon EC2 Auto Scaling</fullname>
|
|
13
13
|
|
|
14
|
-
<p>Amazon EC2 Auto Scaling is designed to automatically launch
|
|
14
|
+
<p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
15
15
|
based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
16
|
-
<p>For more information
|
|
17
|
-
permissions for calls to Amazon EC2 Auto Scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/ec2-auto-scaling-api-permissions.html">Granting
|
|
18
|
-
IAM users required permissions for Amazon EC2 Auto Scaling resources</a> in the
|
|
19
|
-
<i>Amazon EC2 Auto Scaling API Reference</i>.</p>
|
|
16
|
+
<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>
|
|
20
17
|
|
|
21
18
|
## Installing
|
|
22
19
|
|
|
@@ -72,12 +72,13 @@ import { UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput
|
|
|
72
72
|
*
|
|
73
73
|
*
|
|
74
74
|
*
|
|
75
|
-
*
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
76
80
|
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
77
|
-
* <p>For more information
|
|
78
|
-
* permissions for calls to Amazon EC2 Auto Scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/ec2-auto-scaling-api-permissions.html">Granting
|
|
79
|
-
* IAM users required permissions for Amazon EC2 Auto Scaling resources</a> in the
|
|
80
|
-
* <i>Amazon EC2 Auto Scaling API Reference</i>.</p>
|
|
81
|
+
* <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>
|
|
81
82
|
*/
|
|
82
83
|
export declare class AutoScaling extends AutoScalingClient {
|
|
83
84
|
/**
|
|
@@ -97,18 +98,17 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
97
98
|
attachInstances(args: AttachInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachInstancesCommandOutput) => void): void;
|
|
98
99
|
/**
|
|
99
100
|
* <note>
|
|
100
|
-
* <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load
|
|
101
|
-
* Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation
|
|
102
|
-
* instead.</p>
|
|
101
|
+
* <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation instead.</p>
|
|
103
102
|
* </note>
|
|
104
|
-
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling
|
|
105
|
-
*
|
|
106
|
-
* <p>To describe the load balancers for an Auto Scaling group, call the <a>DescribeLoadBalancers</a> API. To detach
|
|
103
|
+
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the
|
|
104
|
+
* running instances with these Classic Load Balancers.</p>
|
|
105
|
+
* <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
|
|
107
106
|
* group, call the <a>DetachLoadBalancers</a> API.</p>
|
|
108
107
|
* <p>This operation is additive and does not detach existing Classic Load Balancers or
|
|
109
108
|
* target groups from the Auto Scaling group.</p>
|
|
110
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing
|
|
111
|
-
*
|
|
109
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
110
|
+
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
111
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
112
112
|
*/
|
|
113
113
|
attachLoadBalancers(args: AttachLoadBalancersCommandInput, options?: __HttpHandlerOptions): Promise<AttachLoadBalancersCommandOutput>;
|
|
114
114
|
attachLoadBalancers(args: AttachLoadBalancersCommandInput, cb: (err: any, data?: AttachLoadBalancersCommandOutput) => void): void;
|
|
@@ -118,23 +118,24 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
118
118
|
* <p>This operation is used with the following load balancer types: </p>
|
|
119
119
|
* <ul>
|
|
120
120
|
* <li>
|
|
121
|
-
* <p>
|
|
122
|
-
*
|
|
121
|
+
* <p>Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and
|
|
122
|
+
* HTTPS. </p>
|
|
123
123
|
* </li>
|
|
124
124
|
* <li>
|
|
125
|
-
* <p>
|
|
126
|
-
*
|
|
125
|
+
* <p>Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and
|
|
126
|
+
* UDP. </p>
|
|
127
127
|
* </li>
|
|
128
128
|
* <li>
|
|
129
|
-
* <p>
|
|
129
|
+
* <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
|
|
130
130
|
* </li>
|
|
131
131
|
* </ul>
|
|
132
132
|
* <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from
|
|
133
133
|
* the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>
|
|
134
134
|
* <p>This operation is additive and does not detach existing target groups or Classic Load
|
|
135
135
|
* Balancers from the Auto Scaling group.</p>
|
|
136
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing
|
|
137
|
-
*
|
|
136
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
137
|
+
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
138
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
138
139
|
*/
|
|
139
140
|
attachLoadBalancerTargetGroups(args: AttachLoadBalancerTargetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<AttachLoadBalancerTargetGroupsCommandOutput>;
|
|
140
141
|
attachLoadBalancerTargetGroups(args: AttachLoadBalancerTargetGroupsCommandInput, cb: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void): void;
|
|
@@ -212,14 +213,14 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
212
213
|
* <p>Creates an Auto Scaling group with the specified name and attributes. </p>
|
|
213
214
|
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
|
|
214
215
|
* call the <a>DescribeAccountLimits</a> API. For information about updating
|
|
215
|
-
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
216
|
-
*
|
|
216
|
+
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
217
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
217
218
|
* <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
|
|
218
219
|
* 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
|
|
219
220
|
* scaled and load-balanced application</a> in the
|
|
220
221
|
* <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
|
|
221
222
|
* groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
222
|
-
* <p>Every Auto Scaling group has three size
|
|
223
|
+
* <p>Every Auto Scaling group has three size properties (<code>DesiredCapacity</code>,
|
|
223
224
|
* <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based
|
|
224
225
|
* on a specific number of instances. However, if you configure a mixed instances policy
|
|
225
226
|
* that defines weights for the instance types, you must specify these sizes with the same
|
|
@@ -232,8 +233,8 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
232
233
|
* <p>Creates a launch configuration.</p>
|
|
233
234
|
* <p>If you exceed your maximum limit of launch configurations, the call fails. To query
|
|
234
235
|
* this limit, call the <a>DescribeAccountLimits</a> API. For information about
|
|
235
|
-
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
236
|
-
*
|
|
236
|
+
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
237
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
237
238
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html">Launch
|
|
238
239
|
* configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
239
240
|
*/
|
|
@@ -244,7 +245,7 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
244
245
|
* <p>Creates or updates tags for the specified Auto Scaling group.</p>
|
|
245
246
|
* <p>When you specify a tag with a key that already exists, the operation overwrites the
|
|
246
247
|
* previous tag definition, and you do not get an error message.</p>
|
|
247
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
248
|
+
* <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
|
|
248
249
|
* instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
249
250
|
*/
|
|
250
251
|
createOrUpdateTags(args: CreateOrUpdateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateOrUpdateTagsCommandOutput>;
|
|
@@ -323,8 +324,8 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
323
324
|
* <p>Describes the current Amazon EC2 Auto Scaling resource quotas for your account.</p>
|
|
324
325
|
* <p>When you establish an Amazon Web Services account, the account has initial quotas on the maximum
|
|
325
326
|
* number of Auto Scaling groups and launch configurations that you can create in a given Region.
|
|
326
|
-
* For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
327
|
-
*
|
|
327
|
+
* For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
328
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
328
329
|
*/
|
|
329
330
|
describeAccountLimits(args: DescribeAccountLimitsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountLimitsCommandOutput>;
|
|
330
331
|
describeAccountLimits(args: DescribeAccountLimitsCommandInput, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
|
|
@@ -455,9 +456,9 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
455
456
|
describeLifecycleHookTypes(args: DescribeLifecycleHookTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void): void;
|
|
456
457
|
/**
|
|
457
458
|
* <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
|
|
458
|
-
* <p>This operation describes only Classic Load Balancers. If you have Application Load
|
|
459
|
-
*
|
|
460
|
-
* <p>To determine the
|
|
459
|
+
* <p>This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancer, use the
|
|
460
|
+
* <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
|
|
461
|
+
* <p>To determine the attachment status of the load balancer, use the <code>State</code>
|
|
461
462
|
* element in the response. When you attach a load balancer to an Auto Scaling group, the initial
|
|
462
463
|
* <code>State</code> value is <code>Adding</code>. The state transitions to
|
|
463
464
|
* <code>Added</code> after all Auto Scaling instances are registered with the load balancer.
|
|
@@ -474,16 +475,16 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
474
475
|
* necessary.</p>
|
|
475
476
|
* <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:
|
|
476
477
|
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
|
|
477
|
-
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing
|
|
478
|
-
*
|
|
478
|
+
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
479
|
+
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
480
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
479
481
|
*/
|
|
480
482
|
describeLoadBalancers(args: DescribeLoadBalancersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoadBalancersCommandOutput>;
|
|
481
483
|
describeLoadBalancers(args: DescribeLoadBalancersCommandInput, cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void): void;
|
|
482
484
|
describeLoadBalancers(args: DescribeLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void): void;
|
|
483
485
|
/**
|
|
484
|
-
* <p>Gets information about the
|
|
485
|
-
*
|
|
486
|
-
* <p>To determine the availability of registered instances, use the <code>State</code>
|
|
486
|
+
* <p>Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group.</p>
|
|
487
|
+
* <p>To determine the attachment status of the target group, use the <code>State</code>
|
|
487
488
|
* element in the response. When you attach a target group to an Auto Scaling group, the initial
|
|
488
489
|
* <code>State</code> value is <code>Adding</code>. The state transitions to
|
|
489
490
|
* <code>Added</code> after all Auto Scaling instances are registered with the target group. If
|
|
@@ -499,16 +500,15 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
499
500
|
* necessary.</p>
|
|
500
501
|
* <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:
|
|
501
502
|
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
|
|
502
|
-
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing
|
|
503
|
-
*
|
|
503
|
+
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
504
|
+
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
505
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
504
506
|
*/
|
|
505
507
|
describeLoadBalancerTargetGroups(args: DescribeLoadBalancerTargetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoadBalancerTargetGroupsCommandOutput>;
|
|
506
508
|
describeLoadBalancerTargetGroups(args: DescribeLoadBalancerTargetGroupsCommandInput, cb: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void): void;
|
|
507
509
|
describeLoadBalancerTargetGroups(args: DescribeLoadBalancerTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void): void;
|
|
508
510
|
/**
|
|
509
511
|
* <p>Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.</p>
|
|
510
|
-
* <p>The <code>GroupStandbyInstances</code> metric is not returned by default. You must
|
|
511
|
-
* explicitly request this metric when calling the <a>EnableMetricsCollection</a> API.</p>
|
|
512
512
|
*/
|
|
513
513
|
describeMetricCollectionTypes(args: DescribeMetricCollectionTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMetricCollectionTypesCommandOutput>;
|
|
514
514
|
describeMetricCollectionTypes(args: DescribeMetricCollectionTypesCommandInput, cb: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void): void;
|
|
@@ -564,7 +564,7 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
564
564
|
* <p>You can also specify multiple filters. The result includes information for a
|
|
565
565
|
* particular tag only if it matches all the filters. If there's no match, no special
|
|
566
566
|
* message is returned.</p>
|
|
567
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
567
|
+
* <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
|
|
568
568
|
* instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
569
569
|
*/
|
|
570
570
|
describeTags(args: DescribeTagsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTagsCommandOutput>;
|
|
@@ -572,9 +572,9 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
572
572
|
describeTags(args: DescribeTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
|
|
573
573
|
/**
|
|
574
574
|
* <p>Describes the termination policies supported by Amazon EC2 Auto Scaling.</p>
|
|
575
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
576
|
-
*
|
|
577
|
-
*
|
|
575
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">Work with
|
|
576
|
+
* Amazon EC2 Auto Scaling termination policies</a> in the
|
|
577
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
578
578
|
*/
|
|
579
579
|
describeTerminationPolicyTypes(args: DescribeTerminationPolicyTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTerminationPolicyTypesCommandOutput>;
|
|
580
580
|
describeTerminationPolicyTypes(args: DescribeTerminationPolicyTypesCommandInput, cb: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void): void;
|
|
@@ -604,8 +604,8 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
604
604
|
detachInstances(args: DetachInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachInstancesCommandOutput) => void): void;
|
|
605
605
|
/**
|
|
606
606
|
* <p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>
|
|
607
|
-
* <p>This operation detaches only Classic Load Balancers. If you have Application Load
|
|
608
|
-
*
|
|
607
|
+
* <p>This operation detaches only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or
|
|
608
|
+
* Gateway Load Balancer, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>
|
|
609
609
|
* <p>When you detach a load balancer, it enters the <code>Removing</code> state while
|
|
610
610
|
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
611
611
|
* can no longer describe the load balancer using the <a>DescribeLoadBalancers</a> API call. The instances remain running.</p>
|
|
@@ -615,18 +615,26 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
615
615
|
detachLoadBalancers(args: DetachLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachLoadBalancersCommandOutput) => void): void;
|
|
616
616
|
/**
|
|
617
617
|
* <p>Detaches one or more target groups from the specified Auto Scaling group.</p>
|
|
618
|
+
* <p>When you detach a target group, it enters the <code>Removing</code> state while
|
|
619
|
+
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
620
|
+
* can no longer describe the target group using the <a>DescribeLoadBalancerTargetGroups</a> API call. The instances remain
|
|
621
|
+
* running.</p>
|
|
618
622
|
*/
|
|
619
623
|
detachLoadBalancerTargetGroups(args: DetachLoadBalancerTargetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DetachLoadBalancerTargetGroupsCommandOutput>;
|
|
620
624
|
detachLoadBalancerTargetGroups(args: DetachLoadBalancerTargetGroupsCommandInput, cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void): void;
|
|
621
625
|
detachLoadBalancerTargetGroups(args: DetachLoadBalancerTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void): void;
|
|
622
626
|
/**
|
|
623
|
-
* <p>Disables group metrics for the specified Auto Scaling group.</p>
|
|
627
|
+
* <p>Disables group metrics collection for the specified Auto Scaling group.</p>
|
|
624
628
|
*/
|
|
625
629
|
disableMetricsCollection(args: DisableMetricsCollectionCommandInput, options?: __HttpHandlerOptions): Promise<DisableMetricsCollectionCommandOutput>;
|
|
626
630
|
disableMetricsCollection(args: DisableMetricsCollectionCommandInput, cb: (err: any, data?: DisableMetricsCollectionCommandOutput) => void): void;
|
|
627
631
|
disableMetricsCollection(args: DisableMetricsCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableMetricsCollectionCommandOutput) => void): void;
|
|
628
632
|
/**
|
|
629
|
-
* <p>Enables group metrics for the specified Auto Scaling group
|
|
633
|
+
* <p>Enables group metrics collection for the specified Auto Scaling group.</p>
|
|
634
|
+
* <p>You can use these metrics to track changes in an Auto Scaling group and to set alarms on
|
|
635
|
+
* threshold values. You can view group metrics using the Amazon EC2 Auto Scaling console or the CloudWatch
|
|
636
|
+
* console. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html">Monitor
|
|
637
|
+
* CloudWatch metrics for your Auto Scaling groups and instances</a> in the
|
|
630
638
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
631
639
|
*/
|
|
632
640
|
enableMetricsCollection(args: EnableMetricsCollectionCommandInput, options?: __HttpHandlerOptions): Promise<EnableMetricsCollectionCommandOutput>;
|
|
@@ -762,6 +770,8 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
762
770
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
763
771
|
* <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
|
|
764
772
|
* scheduled action, you can delete it by calling the <a>DeleteScheduledAction</a> API.</p>
|
|
773
|
+
* <p>If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error
|
|
774
|
+
* message.</p>
|
|
765
775
|
*/
|
|
766
776
|
putScheduledUpdateGroupAction(args: PutScheduledUpdateGroupActionCommandInput, options?: __HttpHandlerOptions): Promise<PutScheduledUpdateGroupActionCommandOutput>;
|
|
767
777
|
putScheduledUpdateGroupAction(args: PutScheduledUpdateGroupActionCommandInput, cb: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void): void;
|
|
@@ -918,8 +928,8 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
918
928
|
* <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>
|
|
919
929
|
* </p>
|
|
920
930
|
* <p>Updates the configuration for the specified Auto Scaling group.</p>
|
|
921
|
-
* <p>To update an Auto Scaling group, specify the name of the group and the
|
|
922
|
-
* to change. Any
|
|
931
|
+
* <p>To update an Auto Scaling group, specify the name of the group and the property that you want
|
|
932
|
+
* to change. Any properties that you don't specify are not changed by this update request.
|
|
923
933
|
* The new settings take effect on any scaling activities after this call returns.
|
|
924
934
|
* </p>
|
|
925
935
|
* <p>If you associate a new launch configuration or template with an Auto Scaling group, all new
|
|
@@ -954,7 +964,7 @@ export declare class AutoScaling extends AutoScalingClient {
|
|
|
954
964
|
* <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.</p>
|
|
955
965
|
* </li>
|
|
956
966
|
* </ul>
|
|
957
|
-
* <p>To see which
|
|
967
|
+
* <p>To see which properties have been set, call the <a>DescribeAutoScalingGroups</a> API. To view the scaling policies for an Auto Scaling
|
|
958
968
|
* group, call the <a>DescribePolicies</a> API. If the group has scaling
|
|
959
969
|
* policies, you can update them by calling the <a>PutScalingPolicy</a>
|
|
960
970
|
* API.</p>
|
|
@@ -197,12 +197,13 @@ export interface AutoScalingClientResolvedConfig extends AutoScalingClientResolv
|
|
|
197
197
|
*
|
|
198
198
|
*
|
|
199
199
|
*
|
|
200
|
-
*
|
|
200
|
+
*
|
|
201
|
+
*
|
|
202
|
+
*
|
|
203
|
+
*
|
|
204
|
+
* <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
201
205
|
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
202
|
-
* <p>For more information
|
|
203
|
-
* permissions for calls to Amazon EC2 Auto Scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/ec2-auto-scaling-api-permissions.html">Granting
|
|
204
|
-
* IAM users required permissions for Amazon EC2 Auto Scaling resources</a> in the
|
|
205
|
-
* <i>Amazon EC2 Auto Scaling API Reference</i>.</p>
|
|
206
|
+
* <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>
|
|
206
207
|
*/
|
|
207
208
|
export declare class AutoScalingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AutoScalingClientResolvedConfig> {
|
|
208
209
|
/**
|
|
@@ -11,23 +11,24 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput extends AttachLoadB
|
|
|
11
11
|
* <p>This operation is used with the following load balancer types: </p>
|
|
12
12
|
* <ul>
|
|
13
13
|
* <li>
|
|
14
|
-
* <p>
|
|
15
|
-
*
|
|
14
|
+
* <p>Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and
|
|
15
|
+
* HTTPS. </p>
|
|
16
16
|
* </li>
|
|
17
17
|
* <li>
|
|
18
|
-
* <p>
|
|
19
|
-
*
|
|
18
|
+
* <p>Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and
|
|
19
|
+
* UDP. </p>
|
|
20
20
|
* </li>
|
|
21
21
|
* <li>
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
|
|
23
23
|
* </li>
|
|
24
24
|
* </ul>
|
|
25
25
|
* <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from
|
|
26
26
|
* the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>
|
|
27
27
|
* <p>This operation is additive and does not detach existing target groups or Classic Load
|
|
28
28
|
* Balancers from the Auto Scaling group.</p>
|
|
29
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing
|
|
30
|
-
*
|
|
29
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
30
|
+
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
31
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -8,18 +8,17 @@ export interface AttachLoadBalancersCommandOutput extends AttachLoadBalancersRes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <note>
|
|
11
|
-
* <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load
|
|
12
|
-
* Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation
|
|
13
|
-
* instead.</p>
|
|
11
|
+
* <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation instead.</p>
|
|
14
12
|
* </note>
|
|
15
|
-
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling
|
|
16
|
-
*
|
|
17
|
-
* <p>To describe the load balancers for an Auto Scaling group, call the <a>DescribeLoadBalancers</a> API. To detach
|
|
13
|
+
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the
|
|
14
|
+
* running instances with these Classic Load Balancers.</p>
|
|
15
|
+
* <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
|
|
18
16
|
* group, call the <a>DetachLoadBalancers</a> API.</p>
|
|
19
17
|
* <p>This operation is additive and does not detach existing Classic Load Balancers or
|
|
20
18
|
* target groups from the Auto Scaling group.</p>
|
|
21
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing
|
|
22
|
-
*
|
|
19
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
20
|
+
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
21
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
23
22
|
* @example
|
|
24
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
24
|
* ```javascript
|
|
@@ -13,14 +13,14 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
13
13
|
* <p>Creates an Auto Scaling group with the specified name and attributes. </p>
|
|
14
14
|
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
|
|
15
15
|
* call the <a>DescribeAccountLimits</a> API. For information about updating
|
|
16
|
-
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
17
|
-
*
|
|
16
|
+
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
17
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
18
18
|
* <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
|
|
19
19
|
* 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
|
|
20
20
|
* scaled and load-balanced application</a> in the
|
|
21
21
|
* <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
|
|
22
22
|
* groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
23
|
-
* <p>Every Auto Scaling group has three size
|
|
23
|
+
* <p>Every Auto Scaling group has three size properties (<code>DesiredCapacity</code>,
|
|
24
24
|
* <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based
|
|
25
25
|
* on a specific number of instances. However, if you configure a mixed instances policy
|
|
26
26
|
* that defines weights for the instance types, you must specify these sizes with the same
|
|
@@ -10,8 +10,8 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
10
10
|
* <p>Creates a launch configuration.</p>
|
|
11
11
|
* <p>If you exceed your maximum limit of launch configurations, the call fails. To query
|
|
12
12
|
* this limit, call the <a>DescribeAccountLimits</a> API. For information about
|
|
13
|
-
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
14
|
-
*
|
|
13
|
+
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
14
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
15
15
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html">Launch
|
|
16
16
|
* configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
17
17
|
* @example
|
|
@@ -10,7 +10,7 @@ export interface CreateOrUpdateTagsCommandOutput extends __MetadataBearer {
|
|
|
10
10
|
* <p>Creates or updates tags for the specified Auto Scaling group.</p>
|
|
11
11
|
* <p>When you specify a tag with a key that already exists, the operation overwrites the
|
|
12
12
|
* previous tag definition, and you do not get an error message.</p>
|
|
13
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
13
|
+
* <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
|
|
14
14
|
* instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,8 +10,8 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit
|
|
|
10
10
|
* <p>Describes the current Amazon EC2 Auto Scaling resource quotas for your account.</p>
|
|
11
11
|
* <p>When you establish an Amazon Web Services account, the account has initial quotas on the maximum
|
|
12
12
|
* number of Auto Scaling groups and launch configurations that you can create in a given Region.
|
|
13
|
-
* For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
14
|
-
*
|
|
13
|
+
* For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
14
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -7,9 +7,8 @@ export interface DescribeLoadBalancerTargetGroupsCommandInput extends DescribeLo
|
|
|
7
7
|
export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeLoadBalancerTargetGroupsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Gets information about the
|
|
11
|
-
*
|
|
12
|
-
* <p>To determine the availability of registered instances, use the <code>State</code>
|
|
10
|
+
* <p>Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group.</p>
|
|
11
|
+
* <p>To determine the attachment status of the target group, use the <code>State</code>
|
|
13
12
|
* element in the response. When you attach a target group to an Auto Scaling group, the initial
|
|
14
13
|
* <code>State</code> value is <code>Adding</code>. The state transitions to
|
|
15
14
|
* <code>Added</code> after all Auto Scaling instances are registered with the target group. If
|
|
@@ -25,8 +24,9 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeL
|
|
|
25
24
|
* necessary.</p>
|
|
26
25
|
* <p>For help with failed health checks, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html">Troubleshooting Amazon EC2 Auto Scaling:
|
|
27
26
|
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
|
|
28
|
-
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing
|
|
29
|
-
*
|
|
27
|
+
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
28
|
+
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
29
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -8,9 +8,9 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
|
|
11
|
-
* <p>This operation describes only Classic Load Balancers. If you have Application Load
|
|
12
|
-
*
|
|
13
|
-
* <p>To determine the
|
|
11
|
+
* <p>This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancer, use the
|
|
12
|
+
* <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
|
|
13
|
+
* <p>To determine the attachment status of the load balancer, use the <code>State</code>
|
|
14
14
|
* element in the response. When you attach a load balancer to an Auto Scaling group, the initial
|
|
15
15
|
* <code>State</code> value is <code>Adding</code>. The state transitions to
|
|
16
16
|
* <code>Added</code> after all Auto Scaling instances are registered with the load balancer.
|
|
@@ -27,8 +27,9 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
27
27
|
* necessary.</p>
|
|
28
28
|
* <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:
|
|
29
29
|
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
|
|
30
|
-
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing
|
|
31
|
-
*
|
|
30
|
+
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
|
|
31
|
+
* distribute traffic across the instances in your Auto Scaling group</a> in the
|
|
32
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -8,8 +8,6 @@ export interface DescribeMetricCollectionTypesCommandOutput extends DescribeMetr
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.</p>
|
|
11
|
-
* <p>The <code>GroupStandbyInstances</code> metric is not returned by default. You must
|
|
12
|
-
* explicitly request this metric when calling the <a>EnableMetricsCollection</a> API.</p>
|
|
13
11
|
* @example
|
|
14
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
13
|
* ```javascript
|
|
@@ -14,7 +14,7 @@ export interface DescribeTagsCommandOutput extends TagsType, __MetadataBearer {
|
|
|
14
14
|
* <p>You can also specify multiple filters. The result includes information for a
|
|
15
15
|
* particular tag only if it matches all the filters. If there's no match, no special
|
|
16
16
|
* message is returned.</p>
|
|
17
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
17
|
+
* <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
|
|
18
18
|
* instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
19
19
|
* @example
|
|
20
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -8,9 +8,9 @@ export interface DescribeTerminationPolicyTypesCommandOutput extends DescribeTer
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Describes the termination policies supported by Amazon EC2 Auto Scaling.</p>
|
|
11
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">Work with
|
|
12
|
+
* Amazon EC2 Auto Scaling termination policies</a> in the
|
|
13
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -8,6 +8,10 @@ export interface DetachLoadBalancerTargetGroupsCommandOutput extends DetachLoadB
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Detaches one or more target groups from the specified Auto Scaling group.</p>
|
|
11
|
+
* <p>When you detach a target group, it enters the <code>Removing</code> state while
|
|
12
|
+
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
13
|
+
* can no longer describe the target group using the <a>DescribeLoadBalancerTargetGroups</a> API call. The instances remain
|
|
14
|
+
* running.</p>
|
|
11
15
|
* @example
|
|
12
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
17
|
* ```javascript
|
|
@@ -8,8 +8,8 @@ export interface DetachLoadBalancersCommandOutput extends DetachLoadBalancersRes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>
|
|
11
|
-
* <p>This operation detaches only Classic Load Balancers. If you have Application Load
|
|
12
|
-
*
|
|
11
|
+
* <p>This operation detaches only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or
|
|
12
|
+
* Gateway Load Balancer, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>
|
|
13
13
|
* <p>When you detach a load balancer, it enters the <code>Removing</code> state while
|
|
14
14
|
* deregistering the instances in the group. When all instances are deregistered, then you
|
|
15
15
|
* can no longer describe the load balancer using the <a>DescribeLoadBalancers</a> API call. The instances remain running.</p>
|
|
@@ -7,7 +7,7 @@ export interface DisableMetricsCollectionCommandInput extends DisableMetricsColl
|
|
|
7
7
|
export interface DisableMetricsCollectionCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Disables group metrics for the specified Auto Scaling group.</p>
|
|
10
|
+
* <p>Disables group metrics collection for the specified Auto Scaling group.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|