@aws-sdk/client-auto-scaling 3.289.0 → 3.290.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist-types/commands/AttachInstancesCommand.d.ts +8 -0
  2. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +8 -0
  3. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +8 -0
  4. package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +8 -0
  5. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +5 -0
  6. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +14 -0
  7. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +15 -0
  8. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +5 -0
  9. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +17 -0
  10. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +14 -0
  11. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +17 -0
  12. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +12 -0
  13. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +8 -0
  14. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +5 -0
  15. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +5 -0
  16. package/dist-types/commands/DeletePolicyCommand.d.ts +8 -0
  17. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +5 -0
  18. package/dist-types/commands/DeleteTagsCommand.d.ts +8 -0
  19. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +18 -0
  20. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +5 -0
  21. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +5 -0
  22. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +8 -0
  23. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +8 -0
  24. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +5 -0
  25. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +8 -0
  26. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +8 -0
  27. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +5 -0
  28. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +5 -0
  29. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +8 -0
  30. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +8 -0
  31. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +5 -0
  32. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +8 -0
  33. package/dist-types/commands/DescribePoliciesCommand.d.ts +11 -0
  34. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +8 -0
  35. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +5 -0
  36. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +8 -0
  37. package/dist-types/commands/DescribeTagsCommand.d.ts +8 -0
  38. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +5 -0
  39. package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +8 -0
  40. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +14 -0
  41. package/dist-types/commands/DetachInstancesCommand.d.ts +5 -0
  42. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +5 -0
  43. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +5 -0
  44. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +5 -0
  45. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +5 -0
  46. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +5 -0
  47. package/dist-types/commands/EnterStandbyCommand.d.ts +5 -0
  48. package/dist-types/commands/ExecutePolicyCommand.d.ts +9 -0
  49. package/dist-types/commands/ExitStandbyCommand.d.ts +5 -0
  50. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +5 -0
  51. package/dist-types/commands/PutLifecycleHookCommand.d.ts +11 -0
  52. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +14 -0
  53. package/dist-types/commands/PutScalingPolicyCommand.d.ts +14 -0
  54. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +14 -0
  55. package/dist-types/commands/PutWarmPoolCommand.d.ts +11 -0
  56. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +5 -0
  57. package/dist-types/commands/ResumeProcessesCommand.d.ts +8 -0
  58. package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +21 -0
  59. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +9 -0
  60. package/dist-types/commands/SetInstanceHealthCommand.d.ts +5 -0
  61. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +11 -0
  62. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +15 -0
  63. package/dist-types/commands/SuspendProcessesCommand.d.ts +8 -0
  64. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +9 -0
  65. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +12 -0
  66. package/package.json +30 -30
@@ -33,6 +33,14 @@ export interface DescribeTrafficSourcesCommandOutput extends DescribeTrafficSour
33
33
  * @see {@link DescribeTrafficSourcesCommandOutput} for command's `response` shape.
34
34
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
35
35
  *
36
+ * @throws {@link InvalidNextToken} (client fault)
37
+ * <p>The <code>NextToken</code> value is not valid.</p>
38
+ *
39
+ * @throws {@link ResourceContentionFault} (server fault)
40
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
41
+ * instance, or load balancer).</p>
42
+ *
43
+ *
36
44
  */
37
45
  export declare class DescribeTrafficSourcesCommand extends $Command<DescribeTrafficSourcesCommandInput, DescribeTrafficSourcesCommandOutput, AutoScalingClientResolvedConfig> {
38
46
  readonly input: DescribeTrafficSourcesCommandInput;
@@ -31,6 +31,20 @@ export interface DescribeWarmPoolCommandOutput extends DescribeWarmPoolAnswer, _
31
31
  * @see {@link DescribeWarmPoolCommandOutput} for command's `response` shape.
32
32
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidNextToken} (client fault)
35
+ * <p>The <code>NextToken</code> value is not valid.</p>
36
+ *
37
+ * @throws {@link LimitExceededFault} (client fault)
38
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
39
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
40
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
41
+ * Reference</i>.</p>
42
+ *
43
+ * @throws {@link ResourceContentionFault} (server fault)
44
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
45
+ * instance, or load balancer).</p>
46
+ *
47
+ *
34
48
  */
35
49
  export declare class DescribeWarmPoolCommand extends $Command<DescribeWarmPoolCommandInput, DescribeWarmPoolCommandOutput, AutoScalingClientResolvedConfig> {
36
50
  readonly input: DescribeWarmPoolCommandInput;
@@ -38,6 +38,11 @@ export interface DetachInstancesCommandOutput extends DetachInstancesAnswer, __M
38
38
  * @see {@link DetachInstancesCommandOutput} for command's `response` shape.
39
39
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
40
40
  *
41
+ * @throws {@link ResourceContentionFault} (server fault)
42
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
43
+ * instance, or load balancer).</p>
44
+ *
45
+ *
41
46
  * @example To detach an instance from an Auto Scaling group
42
47
  * ```javascript
43
48
  * // This example detaches the specified instance from the specified Auto Scaling group.
@@ -38,6 +38,11 @@ export interface DetachLoadBalancerTargetGroupsCommandOutput extends DetachLoadB
38
38
  * @see {@link DetachLoadBalancerTargetGroupsCommandOutput} for command's `response` shape.
39
39
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
40
40
  *
41
+ * @throws {@link ResourceContentionFault} (server fault)
42
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
43
+ * instance, or load balancer).</p>
44
+ *
45
+ *
41
46
  * @example To detach a target group from an Auto Scaling group
42
47
  * ```javascript
43
48
  * // This example detaches the specified target group from the specified Auto Scaling group
@@ -34,6 +34,11 @@ export interface DetachLoadBalancersCommandOutput extends DetachLoadBalancersRes
34
34
  * @see {@link DetachLoadBalancersCommandOutput} for command's `response` shape.
35
35
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
36
36
  *
37
+ * @throws {@link ResourceContentionFault} (server fault)
38
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
39
+ * instance, or load balancer).</p>
40
+ *
41
+ *
37
42
  * @example To detach a load balancer from an Auto Scaling group
38
43
  * ```javascript
39
44
  * // This example detaches the specified load balancer from the specified Auto Scaling group.
@@ -33,6 +33,11 @@ export interface DetachTrafficSourcesCommandOutput extends DetachTrafficSourcesR
33
33
  * @see {@link DetachTrafficSourcesCommandOutput} for command's `response` shape.
34
34
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
35
35
  *
36
+ * @throws {@link ResourceContentionFault} (server fault)
37
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
38
+ * instance, or load balancer).</p>
39
+ *
40
+ *
36
41
  */
37
42
  export declare class DetachTrafficSourcesCommand extends $Command<DetachTrafficSourcesCommandInput, DetachTrafficSourcesCommandOutput, AutoScalingClientResolvedConfig> {
38
43
  readonly input: DetachTrafficSourcesCommandInput;
@@ -29,6 +29,11 @@ export interface DisableMetricsCollectionCommandOutput extends __MetadataBearer
29
29
  * @see {@link DisableMetricsCollectionCommandOutput} for command's `response` shape.
30
30
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceContentionFault} (server fault)
33
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
34
+ * instance, or load balancer).</p>
35
+ *
36
+ *
32
37
  * @example To disable metrics collection for an Auto Scaling group
33
38
  * ```javascript
34
39
  * // This example disables collecting data for the GroupDesiredCapacity metric for the specified Auto Scaling group.
@@ -34,6 +34,11 @@ export interface EnableMetricsCollectionCommandOutput extends __MetadataBearer {
34
34
  * @see {@link EnableMetricsCollectionCommandOutput} for command's `response` shape.
35
35
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
36
36
  *
37
+ * @throws {@link ResourceContentionFault} (server fault)
38
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
39
+ * instance, or load balancer).</p>
40
+ *
41
+ *
37
42
  * @example To enable metrics collection for an Auto Scaling group
38
43
  * ```javascript
39
44
  * // This example enables data collection for the specified Auto Scaling group.
@@ -38,6 +38,11 @@ export interface EnterStandbyCommandOutput extends EnterStandbyAnswer, __Metadat
38
38
  * @see {@link EnterStandbyCommandOutput} for command's `response` shape.
39
39
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
40
40
  *
41
+ * @throws {@link ResourceContentionFault} (server fault)
42
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
43
+ * instance, or load balancer).</p>
44
+ *
45
+ *
41
46
  * @example To move instances into standby mode
42
47
  * ```javascript
43
48
  * // This example puts the specified instance into standby mode.
@@ -30,6 +30,15 @@ export interface ExecutePolicyCommandOutput extends __MetadataBearer {
30
30
  * @see {@link ExecutePolicyCommandOutput} for command's `response` shape.
31
31
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
32
32
  *
33
+ * @throws {@link ResourceContentionFault} (server fault)
34
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
35
+ * instance, or load balancer).</p>
36
+ *
37
+ * @throws {@link ScalingActivityInProgressFault} (client fault)
38
+ * <p>The operation can't be performed because there are scaling activities in
39
+ * progress.</p>
40
+ *
41
+ *
33
42
  * @example To execute a scaling policy
34
43
  * ```javascript
35
44
  * // This example executes the specified policy.
@@ -34,6 +34,11 @@ export interface ExitStandbyCommandOutput extends ExitStandbyAnswer, __MetadataB
34
34
  * @see {@link ExitStandbyCommandOutput} for command's `response` shape.
35
35
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
36
36
  *
37
+ * @throws {@link ResourceContentionFault} (server fault)
38
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
39
+ * instance, or load balancer).</p>
40
+ *
41
+ *
37
42
  * @example To move instances out of standby mode
38
43
  * ```javascript
39
44
  * // This example moves the specified instance out of standby mode.
@@ -37,6 +37,11 @@ export interface GetPredictiveScalingForecastCommandOutput extends GetPredictive
37
37
  * @see {@link GetPredictiveScalingForecastCommandOutput} for command's `response` shape.
38
38
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
39
39
  *
40
+ * @throws {@link ResourceContentionFault} (server fault)
41
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
42
+ * instance, or load balancer).</p>
43
+ *
44
+ *
40
45
  */
41
46
  export declare class GetPredictiveScalingForecastCommand extends $Command<GetPredictiveScalingForecastCommandInput, GetPredictiveScalingForecastCommandOutput, AutoScalingClientResolvedConfig> {
42
47
  readonly input: GetPredictiveScalingForecastCommandInput;
@@ -71,6 +71,17 @@ export interface PutLifecycleHookCommandOutput extends PutLifecycleHookAnswer, _
71
71
  * @see {@link PutLifecycleHookCommandOutput} for command's `response` shape.
72
72
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
73
73
  *
74
+ * @throws {@link LimitExceededFault} (client fault)
75
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
76
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
77
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
78
+ * Reference</i>.</p>
79
+ *
80
+ * @throws {@link ResourceContentionFault} (server fault)
81
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
82
+ * instance, or load balancer).</p>
83
+ *
84
+ *
74
85
  * @example To create a launch lifecycle hook
75
86
  * ```javascript
76
87
  * // This example creates a lifecycle hook for instance launch.
@@ -37,6 +37,20 @@ export interface PutNotificationConfigurationCommandOutput extends __MetadataBea
37
37
  * @see {@link PutNotificationConfigurationCommandOutput} for command's `response` shape.
38
38
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
39
39
  *
40
+ * @throws {@link LimitExceededFault} (client fault)
41
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
42
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
43
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
44
+ * Reference</i>.</p>
45
+ *
46
+ * @throws {@link ResourceContentionFault} (server fault)
47
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
48
+ * instance, or load balancer).</p>
49
+ *
50
+ * @throws {@link ServiceLinkedRoleFailure} (server fault)
51
+ * <p>The service-linked role is not yet ready for use.</p>
52
+ *
53
+ *
40
54
  * @example To add an Auto Scaling notification
41
55
  * ```javascript
42
56
  * // This example adds the specified notification to the specified Auto Scaling group.
@@ -38,6 +38,20 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
38
38
  * @see {@link PutScalingPolicyCommandOutput} for command's `response` shape.
39
39
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
40
40
  *
41
+ * @throws {@link LimitExceededFault} (client fault)
42
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
43
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
44
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
45
+ * Reference</i>.</p>
46
+ *
47
+ * @throws {@link ResourceContentionFault} (server fault)
48
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
49
+ * instance, or load balancer).</p>
50
+ *
51
+ * @throws {@link ServiceLinkedRoleFailure} (server fault)
52
+ * <p>The service-linked role is not yet ready for use.</p>
53
+ *
54
+ *
41
55
  * @example To add a scaling policy to an Auto Scaling group
42
56
  * ```javascript
43
57
  * // This example adds the specified policy to the specified Auto Scaling group.
@@ -35,6 +35,20 @@ export interface PutScheduledUpdateGroupActionCommandOutput extends __MetadataBe
35
35
  * @see {@link PutScheduledUpdateGroupActionCommandOutput} for command's `response` shape.
36
36
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
37
37
  *
38
+ * @throws {@link AlreadyExistsFault} (client fault)
39
+ * <p>You already have an Auto Scaling group or launch configuration with this name.</p>
40
+ *
41
+ * @throws {@link LimitExceededFault} (client fault)
42
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
43
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
44
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
45
+ * Reference</i>.</p>
46
+ *
47
+ * @throws {@link ResourceContentionFault} (server fault)
48
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
49
+ * instance, or load balancer).</p>
50
+ *
51
+ *
38
52
  * @example To add a scheduled action to an Auto Scaling group
39
53
  * ```javascript
40
54
  * // This example adds the specified scheduled action to the specified Auto Scaling group.
@@ -38,6 +38,17 @@ export interface PutWarmPoolCommandOutput extends PutWarmPoolAnswer, __MetadataB
38
38
  * @see {@link PutWarmPoolCommandOutput} for command's `response` shape.
39
39
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
40
40
  *
41
+ * @throws {@link LimitExceededFault} (client fault)
42
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
43
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
44
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
45
+ * Reference</i>.</p>
46
+ *
47
+ * @throws {@link ResourceContentionFault} (server fault)
48
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
49
+ * instance, or load balancer).</p>
50
+ *
51
+ *
41
52
  * @example To create a warm pool for an Auto Scaling group
42
53
  * ```javascript
43
54
  * // This example creates a warm pool for the specified Auto Scaling group.
@@ -65,6 +65,11 @@ export interface RecordLifecycleActionHeartbeatCommandOutput extends RecordLifec
65
65
  * @see {@link RecordLifecycleActionHeartbeatCommandOutput} for command's `response` shape.
66
66
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
67
67
  *
68
+ * @throws {@link ResourceContentionFault} (server fault)
69
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
70
+ * instance, or load balancer).</p>
71
+ *
72
+ *
68
73
  * @example To record a lifecycle action heartbeat
69
74
  * ```javascript
70
75
  * // This example records a lifecycle action heartbeat to keep the instance in a pending state.
@@ -32,6 +32,14 @@ export interface ResumeProcessesCommandOutput extends __MetadataBearer {
32
32
  * @see {@link ResumeProcessesCommandOutput} for command's `response` shape.
33
33
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
34
34
  *
35
+ * @throws {@link ResourceContentionFault} (server fault)
36
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
37
+ * instance, or load balancer).</p>
38
+ *
39
+ * @throws {@link ResourceInUseFault} (client fault)
40
+ * <p>The operation can't be performed because the resource is in use.</p>
41
+ *
42
+ *
35
43
  * @example To resume Auto Scaling processes
36
44
  * ```javascript
37
45
  * // This example resumes the specified suspended scaling process for the specified Auto Scaling group.
@@ -51,6 +51,27 @@ export interface RollbackInstanceRefreshCommandOutput extends RollbackInstanceRe
51
51
  * @see {@link RollbackInstanceRefreshCommandOutput} for command's `response` shape.
52
52
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
53
53
  *
54
+ * @throws {@link ActiveInstanceRefreshNotFoundFault} (client fault)
55
+ * <p>The request failed because an active instance refresh or rollback for the specified
56
+ * Auto Scaling group was not found.</p>
57
+ *
58
+ * @throws {@link IrreversibleInstanceRefreshFault} (client fault)
59
+ * <p>The request failed because a desired configuration was not found or an incompatible
60
+ * launch template (uses a Systems Manager parameter instead of an AMI ID) or launch
61
+ * template version (<code>$Latest</code> or <code>$Default</code>) is present on the Auto Scaling
62
+ * group.</p>
63
+ *
64
+ * @throws {@link LimitExceededFault} (client fault)
65
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
66
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
67
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
68
+ * Reference</i>.</p>
69
+ *
70
+ * @throws {@link ResourceContentionFault} (server fault)
71
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
72
+ * instance, or load balancer).</p>
73
+ *
74
+ *
54
75
  */
55
76
  export declare class RollbackInstanceRefreshCommand extends $Command<RollbackInstanceRefreshCommandInput, RollbackInstanceRefreshCommandOutput, AutoScalingClientResolvedConfig> {
56
77
  readonly input: RollbackInstanceRefreshCommandInput;
@@ -34,6 +34,15 @@ export interface SetDesiredCapacityCommandOutput extends __MetadataBearer {
34
34
  * @see {@link SetDesiredCapacityCommandOutput} for command's `response` shape.
35
35
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
36
36
  *
37
+ * @throws {@link ResourceContentionFault} (server fault)
38
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
39
+ * instance, or load balancer).</p>
40
+ *
41
+ * @throws {@link ScalingActivityInProgressFault} (client fault)
42
+ * <p>The operation can't be performed because there are scaling activities in
43
+ * progress.</p>
44
+ *
45
+ *
37
46
  * @example To set the desired capacity for an Auto Scaling group
38
47
  * ```javascript
39
48
  * // This example sets the desired capacity for the specified Auto Scaling group.
@@ -31,6 +31,11 @@ export interface SetInstanceHealthCommandOutput extends __MetadataBearer {
31
31
  * @see {@link SetInstanceHealthCommandOutput} for command's `response` shape.
32
32
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
33
33
  *
34
+ * @throws {@link ResourceContentionFault} (server fault)
35
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
36
+ * instance, or load balancer).</p>
37
+ *
38
+ *
34
39
  * @example To set the health status of an instance
35
40
  * ```javascript
36
41
  * // This example sets the health status of the specified instance to Unhealthy.
@@ -36,6 +36,17 @@ export interface SetInstanceProtectionCommandOutput extends SetInstanceProtectio
36
36
  * @see {@link SetInstanceProtectionCommandOutput} for command's `response` shape.
37
37
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
38
38
  *
39
+ * @throws {@link LimitExceededFault} (client fault)
40
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
41
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
42
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
43
+ * Reference</i>.</p>
44
+ *
45
+ * @throws {@link ResourceContentionFault} (server fault)
46
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
47
+ * instance, or load balancer).</p>
48
+ *
49
+ *
39
50
  * @example To enable instance protection for an instance
40
51
  * ```javascript
41
52
  * // This example enables instance protection for the specified instance.
@@ -52,6 +52,21 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
52
52
  * @see {@link StartInstanceRefreshCommandOutput} for command's `response` shape.
53
53
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
54
54
  *
55
+ * @throws {@link InstanceRefreshInProgressFault} (client fault)
56
+ * <p>The request failed because an active instance refresh already exists for the specified
57
+ * Auto Scaling group.</p>
58
+ *
59
+ * @throws {@link LimitExceededFault} (client fault)
60
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
61
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
62
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
63
+ * Reference</i>.</p>
64
+ *
65
+ * @throws {@link ResourceContentionFault} (server fault)
66
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
67
+ * instance, or load balancer).</p>
68
+ *
69
+ *
55
70
  * @example To start an instance refresh
56
71
  * ```javascript
57
72
  * // This example starts an instance refresh for the specified Auto Scaling group.
@@ -35,6 +35,14 @@ export interface SuspendProcessesCommandOutput extends __MetadataBearer {
35
35
  * @see {@link SuspendProcessesCommandOutput} for command's `response` shape.
36
36
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
37
37
  *
38
+ * @throws {@link ResourceContentionFault} (server fault)
39
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
40
+ * instance, or load balancer).</p>
41
+ *
42
+ * @throws {@link ResourceInUseFault} (client fault)
43
+ * <p>The operation can't be performed because the resource is in use.</p>
44
+ *
45
+ *
38
46
  * @example To suspend Auto Scaling processes
39
47
  * ```javascript
40
48
  * // This example suspends the specified scaling process for the specified Auto Scaling group.
@@ -40,6 +40,15 @@ export interface TerminateInstanceInAutoScalingGroupCommandOutput extends Activi
40
40
  * @see {@link TerminateInstanceInAutoScalingGroupCommandOutput} for command's `response` shape.
41
41
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
42
42
  *
43
+ * @throws {@link ResourceContentionFault} (server fault)
44
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
45
+ * instance, or load balancer).</p>
46
+ *
47
+ * @throws {@link ScalingActivityInProgressFault} (client fault)
48
+ * <p>The operation can't be performed because there are scaling activities in
49
+ * progress.</p>
50
+ *
51
+ *
43
52
  * @example To terminate an instance in an Auto Scaling group
44
53
  * ```javascript
45
54
  * // This example terminates the specified instance from the specified Auto Scaling group without updating the size of the group. Auto Scaling launches a replacement instance after the specified instance terminates.
@@ -72,6 +72,18 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
72
72
  * @see {@link UpdateAutoScalingGroupCommandOutput} for command's `response` shape.
73
73
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
74
74
  *
75
+ * @throws {@link ResourceContentionFault} (server fault)
76
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
77
+ * instance, or load balancer).</p>
78
+ *
79
+ * @throws {@link ScalingActivityInProgressFault} (client fault)
80
+ * <p>The operation can't be performed because there are scaling activities in
81
+ * progress.</p>
82
+ *
83
+ * @throws {@link ServiceLinkedRoleFailure} (server fault)
84
+ * <p>The service-linked role is not yet ready for use.</p>
85
+ *
86
+ *
75
87
  * @example To update an Auto Scaling group
76
88
  * ```javascript
77
89
  * // This example updates multiple properties at the same time.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-user-agent-browser": "3.289.0",
53
- "@aws-sdk/util-user-agent-node": "3.289.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
- "@aws-sdk/util-waiter": "3.289.0",
55
+ "@aws-sdk/util-waiter": "3.290.0",
56
56
  "fast-xml-parser": "4.1.2",
57
57
  "tslib": "^2.3.1"
58
58
  },