@@ -1031,8 +1031,15 @@ Future<Void> deleteNotificationConfigurationAsync(
10311031 * Deletes the specified scaling policy.
10321032 * </p>
10331033 * <p>
1034- * Deleting a policy deletes the underlying alarm action, but does not
1035- * delete the alarm, even if it no longer has an associated action.
1034+ * Deleting either a step scaling policy or a simple scaling policy deletes
1035+ * the underlying alarm action, but does not delete the alarm, even if it no
1036+ * longer has an associated action.
1037+ * </p>
1038+ * <p>
1039+ * For more information, see <a href=
1040+ * "https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html"
1041+ * >Deleting a Scaling Policy</a> in the <i>Amazon EC2 Auto Scaling User
1042+ * Guide</i>.
10361043 * </p>
10371044 *
10381045 * @param deletePolicyRequest
@@ -1056,8 +1063,15 @@ Future<Void> deletePolicyAsync(DeletePolicyRequest deletePolicyRequest)
10561063 * Deletes the specified scaling policy.
10571064 * </p>
10581065 * <p>
1059- * Deleting a policy deletes the underlying alarm action, but does not
1060- * delete the alarm, even if it no longer has an associated action.
1066+ * Deleting either a step scaling policy or a simple scaling policy deletes
1067+ * the underlying alarm action, but does not delete the alarm, even if it no
1068+ * longer has an associated action.
1069+ * </p>
1070+ * <p>
1071+ * For more information, see <a href=
1072+ * "https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html"
1073+ * >Deleting a Scaling Policy</a> in the <i>Amazon EC2 Auto Scaling User
1074+ * Guide</i>.
10611075 * </p>
10621076 *
10631077 * @param deletePolicyRequest
@@ -2005,8 +2019,8 @@ Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(
20052019 /**
20062020 * <p>
20072021 * Describes the actions scheduled for your Auto Scaling group that haven't
2008- * run. To describe the actions that have already run, use
2009- * <a>DescribeScalingActivities</a>.
2022+ * run or that have not reached their end time . To describe the actions that
2023+ * have already run, use <a>DescribeScalingActivities</a>.
20102024 * </p>
20112025 *
20122026 * @param describeScheduledActionsRequest
@@ -2030,8 +2044,8 @@ Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(
20302044 /**
20312045 * <p>
20322046 * Describes the actions scheduled for your Auto Scaling group that haven't
2033- * run. To describe the actions that have already run, use
2034- * <a>DescribeScalingActivities</a>.
2047+ * run or that have not reached their end time . To describe the actions that
2048+ * have already run, use <a>DescribeScalingActivities</a>.
20352049 * </p>
20362050 *
20372051 * @param describeScheduledActionsRequest
@@ -3570,45 +3584,63 @@ Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScaling
35703584 * Updates the configuration for the specified Auto Scaling group.
35713585 * </p>
35723586 * <p>
3573- * The new settings take effect on any scaling activities after this call
3574- * returns. Scaling activities that are currently in progress aren't
3575- * affected.
3587+ * To update an Auto Scaling group, specify the name of the group and the
3588+ * parameter that you want to change. Any parameters that you don't specify
3589+ * are not changed by this update request. The new settings take effect on
3590+ * any scaling activities after this call returns. Scaling activities that
3591+ * are currently in progress aren't affected.
35763592 * </p>
35773593 * <p>
3578- * To update an Auto Scaling group with a launch configuration with
3579- * <code>InstanceMonitoring</code> set to <code>false</code>, you must first
3580- * disable the collection of group metrics. Otherwise, you get an error. If
3581- * you have previously enabled the collection of group metrics, you can
3582- * disable it using <a>DisableMetricsCollection</a>.
3594+ * If you associate a new launch configuration or template with an Auto
3595+ * Scaling group, all new instances will get the updated configuration, but
3596+ * existing instances continue to run with the configuration that they were
3597+ * originally launched with. When you update a group to specify a mixed
3598+ * instances policy instead of a launch configuration or template, existing
3599+ * instances may be replaced to match the new purchasing options that you
3600+ * specified in the policy. For example, if the group currently has 100%
3601+ * On-Demand capacity and the policy specifies 50% Spot capacity, this means
3602+ * that half of your instances will be gradually terminated and relaunched
3603+ * as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling
3604+ * launches new instances before terminating the old ones, so that updating
3605+ * your group does not compromise the performance or availability of your
3606+ * application.
35833607 * </p>
35843608 * <p>
3585- * Note the following:
3609+ * Note the following about changing <code>DesiredCapacity</code>,
3610+ * <code>MaxSize</code>, or <code>MinSize</code>:
35863611 * </p>
35873612 * <ul>
35883613 * <li>
35893614 * <p>
3615+ * If a scale-in event occurs as a result of a new
3616+ * <code>DesiredCapacity</code> value that is lower than the current size of
3617+ * the group, the Auto Scaling group uses its termination policy to
3618+ * determine which instances to terminate.
3619+ * </p>
3620+ * </li>
3621+ * <li>
3622+ * <p>
35903623 * If you specify a new value for <code>MinSize</code> without specifying a
35913624 * value for <code>DesiredCapacity</code>, and the new <code>MinSize</code>
3592- * is larger than the current size of the group, we implicitly call
3593- * <a>SetDesiredCapacity</a> to set the size of the group to the new value
3594- * of <code>MinSize</code>.
3625+ * is larger than the current size of the group, this sets the group's
3626+ * <code>DesiredCapacity</code> to the new <code>MinSize</code> value.
35953627 * </p>
35963628 * </li>
35973629 * <li>
35983630 * <p>
35993631 * If you specify a new value for <code>MaxSize</code> without specifying a
36003632 * value for <code>DesiredCapacity</code>, and the new <code>MaxSize</code>
3601- * is smaller than the current size of the group, we implicitly call
3602- * <a>SetDesiredCapacity</a> to set the size of the group to the new value
3603- * of <code>MaxSize</code>.
3633+ * is smaller than the current size of the group, this sets the group's
3634+ * <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.
36043635 * </p>
36053636 * </li>
3606- * <li >
3637+ * </ul >
36073638 * <p>
3608- * All other optional parameters are left unchanged if not specified.
3639+ * To see which parameters have been set, use
3640+ * <a>DescribeAutoScalingGroups</a>. You can also view the scaling policies
3641+ * for an Auto Scaling group using <a>DescribePolicies</a>. If the group has
3642+ * scaling policies, you can update them using <a>PutScalingPolicy</a>.
36093643 * </p>
3610- * </li>
3611- * </ul>
36123644 *
36133645 * @param updateAutoScalingGroupRequest
36143646 * @return A Java Future object containing the response from the
@@ -3634,45 +3666,63 @@ Future<Void> updateAutoScalingGroupAsync(
36343666 * Updates the configuration for the specified Auto Scaling group.
36353667 * </p>
36363668 * <p>
3637- * The new settings take effect on any scaling activities after this call
3638- * returns. Scaling activities that are currently in progress aren't
3639- * affected.
3669+ * To update an Auto Scaling group, specify the name of the group and the
3670+ * parameter that you want to change. Any parameters that you don't specify
3671+ * are not changed by this update request. The new settings take effect on
3672+ * any scaling activities after this call returns. Scaling activities that
3673+ * are currently in progress aren't affected.
36403674 * </p>
36413675 * <p>
3642- * To update an Auto Scaling group with a launch configuration with
3643- * <code>InstanceMonitoring</code> set to <code>false</code>, you must first
3644- * disable the collection of group metrics. Otherwise, you get an error. If
3645- * you have previously enabled the collection of group metrics, you can
3646- * disable it using <a>DisableMetricsCollection</a>.
3676+ * If you associate a new launch configuration or template with an Auto
3677+ * Scaling group, all new instances will get the updated configuration, but
3678+ * existing instances continue to run with the configuration that they were
3679+ * originally launched with. When you update a group to specify a mixed
3680+ * instances policy instead of a launch configuration or template, existing
3681+ * instances may be replaced to match the new purchasing options that you
3682+ * specified in the policy. For example, if the group currently has 100%
3683+ * On-Demand capacity and the policy specifies 50% Spot capacity, this means
3684+ * that half of your instances will be gradually terminated and relaunched
3685+ * as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling
3686+ * launches new instances before terminating the old ones, so that updating
3687+ * your group does not compromise the performance or availability of your
3688+ * application.
36473689 * </p>
36483690 * <p>
3649- * Note the following:
3691+ * Note the following about changing <code>DesiredCapacity</code>,
3692+ * <code>MaxSize</code>, or <code>MinSize</code>:
36503693 * </p>
36513694 * <ul>
36523695 * <li>
36533696 * <p>
3697+ * If a scale-in event occurs as a result of a new
3698+ * <code>DesiredCapacity</code> value that is lower than the current size of
3699+ * the group, the Auto Scaling group uses its termination policy to
3700+ * determine which instances to terminate.
3701+ * </p>
3702+ * </li>
3703+ * <li>
3704+ * <p>
36543705 * If you specify a new value for <code>MinSize</code> without specifying a
36553706 * value for <code>DesiredCapacity</code>, and the new <code>MinSize</code>
3656- * is larger than the current size of the group, we implicitly call
3657- * <a>SetDesiredCapacity</a> to set the size of the group to the new value
3658- * of <code>MinSize</code>.
3707+ * is larger than the current size of the group, this sets the group's
3708+ * <code>DesiredCapacity</code> to the new <code>MinSize</code> value.
36593709 * </p>
36603710 * </li>
36613711 * <li>
36623712 * <p>
36633713 * If you specify a new value for <code>MaxSize</code> without specifying a
36643714 * value for <code>DesiredCapacity</code>, and the new <code>MaxSize</code>
3665- * is smaller than the current size of the group, we implicitly call
3666- * <a>SetDesiredCapacity</a> to set the size of the group to the new value
3667- * of <code>MaxSize</code>.
3715+ * is smaller than the current size of the group, this sets the group's
3716+ * <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.
36683717 * </p>
36693718 * </li>
3670- * <li >
3719+ * </ul >
36713720 * <p>
3672- * All other optional parameters are left unchanged if not specified.
3721+ * To see which parameters have been set, use
3722+ * <a>DescribeAutoScalingGroups</a>. You can also view the scaling policies
3723+ * for an Auto Scaling group using <a>DescribePolicies</a>. If the group has
3724+ * scaling policies, you can update them using <a>PutScalingPolicy</a>.
36733725 * </p>
3674- * </li>
3675- * </ul>
36763726 *
36773727 * @param updateAutoScalingGroupRequest
36783728 * @param asyncHandler Asynchronous callback handler for events in the
0 commit comments