Skip to content

Commit

Permalink
feat(client-auto-scaling): Adds support for removing the PlacementGro…
Browse files Browse the repository at this point in the history
…up setting on an Auto Scaling Group through the UpdateAutoScalingGroup API.
  • Loading branch information
awstools committed Oct 21, 2024
1 parent 1a73a2c commit 52c2bba
Show file tree
Hide file tree
Showing 27 changed files with 10,974 additions and 10,994 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput

/**
* <note>
* <p>This API operation is superseded by <a>AttachTrafficSources</a>, which
* <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html">AttachTrafficSources</a>, which
* can attach multiple traffic sources types. We recommend using
* <code>AttachTrafficSources</code> to simplify how you manage traffic sources.
* However, we continue to support <code>AttachLoadBalancerTargetGroups</code>. You can
Expand All @@ -56,8 +56,9 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput
* <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
* </li>
* </ul>
* <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from
* the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>
* <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>
* API. To detach the target group from
* the Auto Scaling group, call the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DetachLoadBalancerTargetGroups.html">DetachLoadBalancerTargetGroups</a> API.</p>
* <p>This operation is additive and does not detach existing target groups or Classic Load
* Balancers from the Auto Scaling group.</p>
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,18 @@ export interface AttachLoadBalancersCommandOutput extends AttachLoadBalancersRes

/**
* <note>
* <p>This API operation is superseded by <a>AttachTrafficSources</a>, which
* <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
* can attach multiple traffic sources types. We recommend using
* <code>AttachTrafficSources</code> to simplify how you manage traffic sources.
* <code>AttachTrafficSources</code> to simplify how you manage traffic sources.
* However, we continue to support <code>AttachLoadBalancers</code>. You can use both
* the original <code>AttachLoadBalancers</code> API operation and
* <code>AttachTrafficSources</code> on the same Auto Scaling group.</p>
* </note>
* <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the
* running instances with these Classic Load Balancers.</p>
* <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
* group, call the <a>DetachLoadBalancers</a> API.</p>
* <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.
* 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>
* API.</p>
* <p>This operation is additive and does not detach existing Classic Load Balancers or
* target groups from the Auto Scaling group.</p>
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load Balancing to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ export interface AttachTrafficSourcesCommandOutput extends AttachTrafficSourcesR
* </ul>
* <p>This operation is additive and does not detach existing traffic sources from the Auto Scaling
* group. </p>
* <p>After the operation completes, use the <a>DescribeTrafficSources</a> API to
* <p>After the operation completes, use the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTrafficSources.html">DescribeTrafficSources</a> API to
* return details about the state of the attachments between traffic sources and your Auto Scaling
* group. To detach a traffic source from the Auto Scaling group, call the <a>DetachTrafficSources</a> API.</p>
* group. To detach a traffic source from the Auto Scaling group, call the
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DetachTrafficSources.html">DetachTrafficSources</a> API.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface CancelInstanceRefreshCommandOutput extends CancelInstanceRefres
* feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
* after you make configuration changes.</p>
* <p>When you cancel an instance refresh, this does not roll back any changes that it made.
* Use the <a>RollbackInstanceRefresh</a> API to roll back instead.</p>
* Use the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_RollbackInstanceRefresh.html">RollbackInstanceRefresh</a> API to roll back instead.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface CompleteLifecycleActionCommandOutput extends CompleteLifecycleA
* <li>
* <p>
* <b>If you finish before the timeout period ends, send a
* callback by using the <a>CompleteLifecycleAction</a> API
* callback by using the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CompleteLifecycleAction.html">CompleteLifecycleAction</a> API
* call.</b>
* </p>
* </li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {}
* </p>
* <p>Creates an Auto Scaling group with the specified name and attributes. </p>
* <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
* call the <a>DescribeAccountLimits</a> API. For information about updating
* call the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> API. For information about updating
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
* <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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
/**
* <p>Creates a launch configuration.</p>
* <p>If you exceed your maximum limit of launch configurations, the call fails. To query
* this limit, call the <a>DescribeAccountLimits</a> API. For information about
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
* this limit, call the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> API.
* For information about updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html">Launch
* configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
* <note>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ export interface DeleteAutoScalingGroupCommandOutput extends __MetadataBearer {}
* option to force the deletion in order for it to succeed. The force delete operation will
* also terminate the EC2 instances. If the group has a warm pool, the force delete option
* also deletes the warm pool.</p>
* <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
* <p>To remove instances from the Auto Scaling group before deleting it, call the
* <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
* decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement
* instances.</p>
* <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
* <p>To terminate all instances before deleting the Auto Scaling group, call the
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_UpdateAutoScalingGroup.html">UpdateAutoScalingGroup</a> API and set the minimum size and desired capacity
* of the Auto Scaling group to
* zero.</p>
* <p>If the group has scaling policies, deleting the group deletes the policies, the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export interface DescribeAutoScalingGroupsCommandOutput extends AutoScalingGroup
* those Auto Scaling groups that meet the filter criteria. If you do not specify group names or
* filters, the output includes information for all Auto Scaling groups. </p>
* <p>This operation also returns information about instances in Auto Scaling groups. To retrieve
* information about the instances in a warm pool, you must call the <a>DescribeWarmPool</a> API. </p>
* information about the instances in a warm pool, you must call the
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeWarmPool.html">DescribeWarmPool</a> API. </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput

/**
* <note>
* <p>This API operation is superseded by <a>DescribeTrafficSources</a>,
* <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTrafficSources.html">DescribeTrafficSources</a>,
* which can describe multiple traffic sources types. We recommend using
* <code>DetachTrafficSources</code> to simplify how you manage traffic sources.
* However, we continue to support <code>DescribeLoadBalancerTargetGroups</code>. You
Expand All @@ -52,9 +52,9 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput
* replace any instances that are reported as unhealthy. If no registered instances pass
* the health checks, the target group doesn't enter the <code>InService</code> state. </p>
* <p>Target groups also have an <code>InService</code> state if you attach them in the
* <a>CreateAutoScalingGroup</a> API call. If your target group state is
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html">CreateAutoScalingGroup</a> API call. If your target group state is
* <code>InService</code>, but it is not working properly, check the scaling activities
* by calling <a>DescribeScalingActivities</a> and take any corrective actions
* by calling <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a> and take any corrective actions
* necessary.</p>
* <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:
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
Expand All @@ -63,8 +63,8 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
* <note>
* <p>You can use this operation to describe target groups that were attached by using
* <a>AttachLoadBalancerTargetGroups</a>, but not for target groups that
* were attached by using <a>AttachTrafficSources</a>.</p>
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachLoadBalancerTargetGroups.html">AttachLoadBalancerTargetGroups</a>, but not for target groups that
* were attached by using <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html">AttachTrafficSources</a>.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer

/**
* <note>
* <p>This API operation is superseded by <a>DescribeTrafficSources</a>,
* <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTrafficSources.html">DescribeTrafficSources</a>,
* which can describe multiple traffic sources types. We recommend using
* <code>DescribeTrafficSources</code> to simplify how you manage traffic sources.
* However, we continue to support <code>DescribeLoadBalancers</code>. You can use both
Expand All @@ -38,7 +38,7 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
* </note>
* <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
* <p>This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancers, use the
* <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeLoadBalancerTargetGroups.html">DescribeLoadBalancerTargetGroups</a> API instead.</p>
* <p>To determine the attachment status of the load balancer, use the <code>State</code>
* element in the response. When you attach a load balancer to an Auto Scaling group, the initial
* <code>State</code> value is <code>Adding</code>. The state transitions to
Expand All @@ -50,9 +50,9 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
* pass the health checks, the load balancer doesn't enter the <code>InService</code>
* state. </p>
* <p>Load balancers also have an <code>InService</code> state if you attach them in the
* <a>CreateAutoScalingGroup</a> API call. If your load balancer state is
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html">CreateAutoScalingGroup</a> API call. If your load balancer state is
* <code>InService</code>, but it is not working properly, check the scaling activities
* by calling <a>DescribeScalingActivities</a> and take any corrective actions
* by calling <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a> and take any corrective actions
* necessary.</p>
* <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:
* Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export interface DescribeScalingProcessTypesCommandInput {}
export interface DescribeScalingProcessTypesCommandOutput extends ProcessesType, __MetadataBearer {}

/**
* <p>Describes the scaling process types for use with the <a>ResumeProcesses</a>
* and <a>SuspendProcesses</a> APIs.</p>
* <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>
* and <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_SuspendProcesses.html">SuspendProcesses</a> APIs.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface DescribeScheduledActionsCommandOutput extends ScheduledActionsT
* <p>Gets information about the scheduled actions that haven't run or that have not reached
* their end time.</p>
* <p>To describe the scaling activities for scheduled actions that have already run, call
* the <a>DescribeScalingActivities</a> API.</p>
* the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a> API.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Loading

0 comments on commit 52c2bba

Please sign in to comment.