Skip to content

Commit 52c2bba

Browse files
author
awstools
committed
feat(client-auto-scaling): Adds support for removing the PlacementGroup setting on an Auto Scaling Group through the UpdateAutoScalingGroup API.
1 parent 1a73a2c commit 52c2bba

27 files changed

+10974
-10994
lines changed

clients/client-auto-scaling/src/commands/AttachLoadBalancerTargetGroupsCommand.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput
3434

3535
/**
3636
* <note>
37-
* <p>This API operation is superseded by <a>AttachTrafficSources</a>, which
37+
* <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html">AttachTrafficSources</a>, which
3838
* can attach multiple traffic sources types. We recommend using
3939
* <code>AttachTrafficSources</code> to simplify how you manage traffic sources.
4040
* However, we continue to support <code>AttachLoadBalancerTargetGroups</code>. You can
@@ -56,8 +56,9 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput
5656
* <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
5757
* </li>
5858
* </ul>
59-
* <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from
60-
* the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>
59+
* <p>To describe the target groups for an Auto Scaling group, call the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeLoadBalancerTargetGroups.html">DescribeLoadBalancerTargetGroups</a>
60+
* API. To detach the target group from
61+
* the Auto Scaling group, call the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DetachLoadBalancerTargetGroups.html">DetachLoadBalancerTargetGroups</a> API.</p>
6162
* <p>This operation is additive and does not detach existing target groups or Classic Load
6263
* Balancers from the Auto Scaling group.</p>
6364
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to

clients/client-auto-scaling/src/commands/AttachLoadBalancersCommand.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,18 @@ export interface AttachLoadBalancersCommandOutput extends AttachLoadBalancersRes
2929

3030
/**
3131
* <note>
32-
* <p>This API operation is superseded by <a>AttachTrafficSources</a>, which
32+
* <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html">https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html</a>, which
3333
* can attach multiple traffic sources types. We recommend using
34-
* <code>AttachTrafficSources</code> to simplify how you manage traffic sources.
34+
* <code>AttachTrafficSources</code> to simplify how you manage traffic sources.
3535
* However, we continue to support <code>AttachLoadBalancers</code>. You can use both
3636
* the original <code>AttachLoadBalancers</code> API operation and
3737
* <code>AttachTrafficSources</code> on the same Auto Scaling group.</p>
3838
* </note>
3939
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the
4040
* running instances with these Classic Load Balancers.</p>
41-
* <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
42-
* group, call the <a>DetachLoadBalancers</a> API.</p>
41+
* <p>To describe the load balancers for an Auto Scaling group, call the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeLoadBalancers.html">DescribeLoadBalancers</a> API.
42+
* To detach a load balancer from the Auto Scaling group, call the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DetachLoadBalancers.html">DetachLoadBalancers</a>
43+
* API.</p>
4344
* <p>This operation is additive and does not detach existing Classic Load Balancers or
4445
* target groups from the Auto Scaling group.</p>
4546
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to

clients/client-auto-scaling/src/commands/AttachTrafficSourcesCommand.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ export interface AttachTrafficSourcesCommandOutput extends AttachTrafficSourcesR
4949
* </ul>
5050
* <p>This operation is additive and does not detach existing traffic sources from the Auto Scaling
5151
* group. </p>
52-
* <p>After the operation completes, use the <a>DescribeTrafficSources</a> API to
52+
* <p>After the operation completes, use the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTrafficSources.html">DescribeTrafficSources</a> API to
5353
* return details about the state of the attachments between traffic sources and your Auto Scaling
54-
* group. To detach a traffic source from the Auto Scaling group, call the <a>DetachTrafficSources</a> API.</p>
54+
* group. To detach a traffic source from the Auto Scaling group, call the
55+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DetachTrafficSources.html">DetachTrafficSources</a> API.</p>
5556
* @example
5657
* Use a bare-bones client and the command you need to make an API call.
5758
* ```javascript

clients/client-auto-scaling/src/commands/CancelInstanceRefreshCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export interface CancelInstanceRefreshCommandOutput extends CancelInstanceRefres
3535
* feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
3636
* after you make configuration changes.</p>
3737
* <p>When you cancel an instance refresh, this does not roll back any changes that it made.
38-
* Use the <a>RollbackInstanceRefresh</a> API to roll back instead.</p>
38+
* Use the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_RollbackInstanceRefresh.html">RollbackInstanceRefresh</a> API to roll back instead.</p>
3939
* @example
4040
* Use a bare-bones client and the command you need to make an API call.
4141
* ```javascript

clients/client-auto-scaling/src/commands/CompleteLifecycleActionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface CompleteLifecycleActionCommandOutput extends CompleteLifecycleA
5959
* <li>
6060
* <p>
6161
* <b>If you finish before the timeout period ends, send a
62-
* callback by using the <a>CompleteLifecycleAction</a> API
62+
* callback by using the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CompleteLifecycleAction.html">CompleteLifecycleAction</a> API
6363
* call.</b>
6464
* </p>
6565
* </li>

clients/client-auto-scaling/src/commands/CreateAutoScalingGroupCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {}
3333
* </p>
3434
* <p>Creates an Auto Scaling group with the specified name and attributes. </p>
3535
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
36-
* call the <a>DescribeAccountLimits</a> API. For information about updating
36+
* call the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> API. For information about updating
3737
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
3838
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3939
* <p>If you're new to Amazon EC2 Auto Scaling, see the introductory tutorials in <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/get-started-with-ec2-auto-scaling.html">Get started

clients/client-auto-scaling/src/commands/CreateLaunchConfigurationCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
3030
/**
3131
* <p>Creates a launch configuration.</p>
3232
* <p>If you exceed your maximum limit of launch configurations, the call fails. To query
33-
* this limit, call the <a>DescribeAccountLimits</a> API. For information about
34-
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
35-
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
33+
* this limit, call the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> API.
34+
* For information about updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
35+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3636
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html">Launch
3737
* configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3838
* <note>

clients/client-auto-scaling/src/commands/DeleteAutoScalingGroupCommand.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ export interface DeleteAutoScalingGroupCommandOutput extends __MetadataBearer {}
3333
* option to force the deletion in order for it to succeed. The force delete operation will
3434
* also terminate the EC2 instances. If the group has a warm pool, the force delete option
3535
* also deletes the warm pool.</p>
36-
* <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
36+
* <p>To remove instances from the Auto Scaling group before deleting it, call the
37+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DetachInstances.html">DetachInstances</a> API with the list of instances and the option to
3738
* decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement
3839
* instances.</p>
39-
* <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
40+
* <p>To terminate all instances before deleting the Auto Scaling group, call the
41+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_UpdateAutoScalingGroup.html">UpdateAutoScalingGroup</a> API and set the minimum size and desired capacity
4042
* of the Auto Scaling group to
4143
* zero.</p>
4244
* <p>If the group has scaling policies, deleting the group deletes the policies, the

clients/client-auto-scaling/src/commands/DescribeAutoScalingGroupsCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ export interface DescribeAutoScalingGroupsCommandOutput extends AutoScalingGroup
3434
* those Auto Scaling groups that meet the filter criteria. If you do not specify group names or
3535
* filters, the output includes information for all Auto Scaling groups. </p>
3636
* <p>This operation also returns information about instances in Auto Scaling groups. To retrieve
37-
* information about the instances in a warm pool, you must call the <a>DescribeWarmPool</a> API. </p>
37+
* information about the instances in a warm pool, you must call the
38+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeWarmPool.html">DescribeWarmPool</a> API. </p>
3839
* @example
3940
* Use a bare-bones client and the command you need to make an API call.
4041
* ```javascript

clients/client-auto-scaling/src/commands/DescribeLoadBalancerTargetGroupsCommand.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput
3434

3535
/**
3636
* <note>
37-
* <p>This API operation is superseded by <a>DescribeTrafficSources</a>,
37+
* <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTrafficSources.html">DescribeTrafficSources</a>,
3838
* which can describe multiple traffic sources types. We recommend using
3939
* <code>DetachTrafficSources</code> to simplify how you manage traffic sources.
4040
* However, we continue to support <code>DescribeLoadBalancerTargetGroups</code>. You
@@ -52,9 +52,9 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput
5252
* replace any instances that are reported as unhealthy. If no registered instances pass
5353
* the health checks, the target group doesn't enter the <code>InService</code> state. </p>
5454
* <p>Target groups also have an <code>InService</code> state if you attach them in the
55-
* <a>CreateAutoScalingGroup</a> API call. If your target group state is
55+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html">CreateAutoScalingGroup</a> API call. If your target group state is
5656
* <code>InService</code>, but it is not working properly, check the scaling activities
57-
* by calling <a>DescribeScalingActivities</a> and take any corrective actions
57+
* by calling <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a> and take any corrective actions
5858
* necessary.</p>
5959
* <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:
6060
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
@@ -63,8 +63,8 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput
6363
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
6464
* <note>
6565
* <p>You can use this operation to describe target groups that were attached by using
66-
* <a>AttachLoadBalancerTargetGroups</a>, but not for target groups that
67-
* were attached by using <a>AttachTrafficSources</a>.</p>
66+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachLoadBalancerTargetGroups.html">AttachLoadBalancerTargetGroups</a>, but not for target groups that
67+
* were attached by using <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html">AttachTrafficSources</a>.</p>
6868
* </note>
6969
* @example
7070
* Use a bare-bones client and the command you need to make an API call.

clients/client-auto-scaling/src/commands/DescribeLoadBalancersCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
2929

3030
/**
3131
* <note>
32-
* <p>This API operation is superseded by <a>DescribeTrafficSources</a>,
32+
* <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTrafficSources.html">DescribeTrafficSources</a>,
3333
* which can describe multiple traffic sources types. We recommend using
3434
* <code>DescribeTrafficSources</code> to simplify how you manage traffic sources.
3535
* However, we continue to support <code>DescribeLoadBalancers</code>. You can use both
@@ -38,7 +38,7 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
3838
* </note>
3939
* <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
4040
* <p>This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancers, use the
41-
* <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
41+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeLoadBalancerTargetGroups.html">DescribeLoadBalancerTargetGroups</a> API instead.</p>
4242
* <p>To determine the attachment status of the load balancer, use the <code>State</code>
4343
* element in the response. When you attach a load balancer to an Auto Scaling group, the initial
4444
* <code>State</code> value is <code>Adding</code>. The state transitions to
@@ -50,9 +50,9 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
5050
* pass the health checks, the load balancer doesn't enter the <code>InService</code>
5151
* state. </p>
5252
* <p>Load balancers also have an <code>InService</code> state if you attach them in the
53-
* <a>CreateAutoScalingGroup</a> API call. If your load balancer state is
53+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html">CreateAutoScalingGroup</a> API call. If your load balancer state is
5454
* <code>InService</code>, but it is not working properly, check the scaling activities
55-
* by calling <a>DescribeScalingActivities</a> and take any corrective actions
55+
* by calling <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a> and take any corrective actions
5656
* necessary.</p>
5757
* <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:
5858
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more

clients/client-auto-scaling/src/commands/DescribeScalingProcessTypesCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export interface DescribeScalingProcessTypesCommandInput {}
2828
export interface DescribeScalingProcessTypesCommandOutput extends ProcessesType, __MetadataBearer {}
2929

3030
/**
31-
* <p>Describes the scaling process types for use with the <a>ResumeProcesses</a>
32-
* and <a>SuspendProcesses</a> APIs.</p>
31+
* <p>Describes the scaling process types for use with the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_ResumeProcesses.html">ResumeProcesses</a>
32+
* and <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_SuspendProcesses.html">SuspendProcesses</a> APIs.</p>
3333
* @example
3434
* Use a bare-bones client and the command you need to make an API call.
3535
* ```javascript

clients/client-auto-scaling/src/commands/DescribeScheduledActionsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface DescribeScheduledActionsCommandOutput extends ScheduledActionsT
3131
* <p>Gets information about the scheduled actions that haven't run or that have not reached
3232
* their end time.</p>
3333
* <p>To describe the scaling activities for scheduled actions that have already run, call
34-
* the <a>DescribeScalingActivities</a> API.</p>
34+
* the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a> API.</p>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.
3737
* ```javascript

0 commit comments

Comments
 (0)