@aws-sdk/client-auto-scaling 3.288.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 +22 -0
  2. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +22 -0
  3. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +22 -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 +31 -0
  8. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +19 -0
  9. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +102 -0
  10. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +31 -0
  11. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +43 -0
  12. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +35 -0
  13. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +19 -0
  14. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +17 -0
  15. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +17 -0
  16. package/dist-types/commands/DeletePolicyCommand.d.ts +20 -0
  17. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +17 -0
  18. package/dist-types/commands/DeleteTagsCommand.d.ts +26 -0
  19. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +18 -0
  20. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +22 -0
  21. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +29 -0
  22. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +61 -0
  23. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +36 -0
  24. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +25 -0
  25. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +42 -0
  26. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +43 -0
  27. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +22 -0
  28. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +32 -0
  29. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +29 -0
  30. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +29 -0
  31. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +49 -0
  32. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +37 -0
  33. package/dist-types/commands/DescribePoliciesCommand.d.ts +46 -0
  34. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +36 -0
  35. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +44 -0
  36. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +36 -0
  37. package/dist-types/commands/DescribeTagsCommand.d.ts +46 -0
  38. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +25 -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 +36 -0
  42. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +19 -0
  43. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +19 -0
  44. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +5 -0
  45. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +19 -0
  46. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +17 -0
  47. package/dist-types/commands/EnterStandbyCommand.d.ts +36 -0
  48. package/dist-types/commands/ExecutePolicyCommand.d.ts +23 -0
  49. package/dist-types/commands/ExitStandbyCommand.d.ts +35 -0
  50. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +5 -0
  51. package/dist-types/commands/PutLifecycleHookCommand.d.ts +26 -0
  52. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +29 -0
  53. package/dist-types/commands/PutScalingPolicyCommand.d.ts +49 -0
  54. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +31 -0
  55. package/dist-types/commands/PutWarmPoolCommand.d.ts +27 -0
  56. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +18 -0
  57. package/dist-types/commands/ResumeProcessesCommand.d.ts +22 -0
  58. package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +21 -0
  59. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +22 -0
  60. package/dist-types/commands/SetInstanceHealthCommand.d.ts +17 -0
  61. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +41 -0
  62. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +42 -0
  63. package/dist-types/commands/SuspendProcessesCommand.d.ts +22 -0
  64. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +21 -0
  65. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +30 -0
  66. package/package.json +30 -30
@@ -35,6 +35,37 @@ 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
+ *
52
+ * @example To add a scheduled action to an Auto Scaling group
53
+ * ```javascript
54
+ * // This example adds the specified scheduled action to the specified Auto Scaling group.
55
+ * const input = {
56
+ * "AutoScalingGroupName": "my-auto-scaling-group",
57
+ * "DesiredCapacity": 4,
58
+ * "EndTime": "2014-05-12T08:00:00Z",
59
+ * "MaxSize": 6,
60
+ * "MinSize": 2,
61
+ * "ScheduledActionName": "my-scheduled-action",
62
+ * "StartTime": "2014-05-12T08:00:00Z"
63
+ * };
64
+ * const command = new PutScheduledUpdateGroupActionCommand(input);
65
+ * await client.send(command);
66
+ * // example id: autoscaling-put-scheduled-update-group-action-1
67
+ * ```
68
+ *
38
69
  */
39
70
  export declare class PutScheduledUpdateGroupActionCommand extends $Command<PutScheduledUpdateGroupActionCommandInput, PutScheduledUpdateGroupActionCommandOutput, AutoScalingClientResolvedConfig> {
40
71
  readonly input: PutScheduledUpdateGroupActionCommandInput;
@@ -38,6 +38,33 @@ 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
+ *
52
+ * @example To create a warm pool for an Auto Scaling group
53
+ * ```javascript
54
+ * // This example creates a warm pool for the specified Auto Scaling group.
55
+ * const input = {
56
+ * "AutoScalingGroupName": "my-auto-scaling-group",
57
+ * "InstanceReusePolicy": {
58
+ * "ReuseOnScaleIn": true
59
+ * },
60
+ * "MinSize": 30,
61
+ * "PoolState": "Hibernated"
62
+ * };
63
+ * const command = new PutWarmPoolCommand(input);
64
+ * await client.send(command);
65
+ * // example id: to-add-a-warm-pool-to-an-auto-scaling-group-1617818810383
66
+ * ```
67
+ *
41
68
  */
42
69
  export declare class PutWarmPoolCommand extends $Command<PutWarmPoolCommandInput, PutWarmPoolCommandOutput, AutoScalingClientResolvedConfig> {
43
70
  readonly input: PutWarmPoolCommandInput;
@@ -65,6 +65,24 @@ 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
+ *
73
+ * @example To record a lifecycle action heartbeat
74
+ * ```javascript
75
+ * // This example records a lifecycle action heartbeat to keep the instance in a pending state.
76
+ * const input = {
77
+ * "AutoScalingGroupName": "my-auto-scaling-group",
78
+ * "LifecycleActionToken": "bcd2f1b8-9a78-44d3-8a7a-4dd07d7cf635",
79
+ * "LifecycleHookName": "my-lifecycle-hook"
80
+ * };
81
+ * const command = new RecordLifecycleActionHeartbeatCommand(input);
82
+ * await client.send(command);
83
+ * // example id: autoscaling-record-lifecycle-action-heartbeat-1
84
+ * ```
85
+ *
68
86
  */
69
87
  export declare class RecordLifecycleActionHeartbeatCommand extends $Command<RecordLifecycleActionHeartbeatCommandInput, RecordLifecycleActionHeartbeatCommandOutput, AutoScalingClientResolvedConfig> {
70
88
  readonly input: RecordLifecycleActionHeartbeatCommandInput;
@@ -32,6 +32,28 @@ 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
+ *
43
+ * @example To resume Auto Scaling processes
44
+ * ```javascript
45
+ * // This example resumes the specified suspended scaling process for the specified Auto Scaling group.
46
+ * const input = {
47
+ * "AutoScalingGroupName": "my-auto-scaling-group",
48
+ * "ScalingProcesses": [
49
+ * "AlarmNotification"
50
+ * ]
51
+ * };
52
+ * const command = new ResumeProcessesCommand(input);
53
+ * await client.send(command);
54
+ * // example id: autoscaling-resume-processes-1
55
+ * ```
56
+ *
35
57
  */
36
58
  export declare class ResumeProcessesCommand extends $Command<ResumeProcessesCommandInput, ResumeProcessesCommandOutput, AutoScalingClientResolvedConfig> {
37
59
  readonly input: ResumeProcessesCommandInput;
@@ -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,28 @@ 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
+ *
46
+ * @example To set the desired capacity for an Auto Scaling group
47
+ * ```javascript
48
+ * // This example sets the desired capacity for the specified Auto Scaling group.
49
+ * const input = {
50
+ * "AutoScalingGroupName": "my-auto-scaling-group",
51
+ * "DesiredCapacity": 2,
52
+ * "HonorCooldown": true
53
+ * };
54
+ * const command = new SetDesiredCapacityCommand(input);
55
+ * await client.send(command);
56
+ * // example id: autoscaling-set-desired-capacity-1
57
+ * ```
58
+ *
37
59
  */
38
60
  export declare class SetDesiredCapacityCommand extends $Command<SetDesiredCapacityCommandInput, SetDesiredCapacityCommandOutput, AutoScalingClientResolvedConfig> {
39
61
  readonly input: SetDesiredCapacityCommandInput;
@@ -31,6 +31,23 @@ 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
+ *
39
+ * @example To set the health status of an instance
40
+ * ```javascript
41
+ * // This example sets the health status of the specified instance to Unhealthy.
42
+ * const input = {
43
+ * "HealthStatus": "Unhealthy",
44
+ * "InstanceId": "i-93633f9b"
45
+ * };
46
+ * const command = new SetInstanceHealthCommand(input);
47
+ * await client.send(command);
48
+ * // example id: autoscaling-set-instance-health-1
49
+ * ```
50
+ *
34
51
  */
35
52
  export declare class SetInstanceHealthCommand extends $Command<SetInstanceHealthCommandInput, SetInstanceHealthCommandOutput, AutoScalingClientResolvedConfig> {
36
53
  readonly input: SetInstanceHealthCommandInput;
@@ -36,6 +36,47 @@ 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
+ *
50
+ * @example To enable instance protection for an instance
51
+ * ```javascript
52
+ * // This example enables instance protection for the specified instance.
53
+ * const input = {
54
+ * "AutoScalingGroupName": "my-auto-scaling-group",
55
+ * "InstanceIds": [
56
+ * "i-93633f9b"
57
+ * ],
58
+ * "ProtectedFromScaleIn": true
59
+ * };
60
+ * const command = new SetInstanceProtectionCommand(input);
61
+ * await client.send(command);
62
+ * // example id: autoscaling-set-instance-protection-1
63
+ * ```
64
+ *
65
+ * @example To disable instance protection for an instance
66
+ * ```javascript
67
+ * // This example disables instance protection for the specified instance.
68
+ * const input = {
69
+ * "AutoScalingGroupName": "my-auto-scaling-group",
70
+ * "InstanceIds": [
71
+ * "i-93633f9b"
72
+ * ],
73
+ * "ProtectedFromScaleIn": false
74
+ * };
75
+ * const command = new SetInstanceProtectionCommand(input);
76
+ * await client.send(command);
77
+ * // example id: autoscaling-set-instance-protection-2
78
+ * ```
79
+ *
39
80
  */
40
81
  export declare class SetInstanceProtectionCommand extends $Command<SetInstanceProtectionCommandInput, SetInstanceProtectionCommandOutput, AutoScalingClientResolvedConfig> {
41
82
  readonly input: SetInstanceProtectionCommandInput;
@@ -52,6 +52,48 @@ 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
+ *
70
+ * @example To start an instance refresh
71
+ * ```javascript
72
+ * // This example starts an instance refresh for the specified Auto Scaling group.
73
+ * const input = {
74
+ * "AutoScalingGroupName": "my-auto-scaling-group",
75
+ * "DesiredConfiguration": {
76
+ * "LaunchTemplate": {
77
+ * "LaunchTemplateName": "my-template-for-auto-scaling",
78
+ * "Version": "$Latest"
79
+ * }
80
+ * },
81
+ * "Preferences": {
82
+ * "InstanceWarmup": 400,
83
+ * "MinHealthyPercentage": 90,
84
+ * "SkipMatching": true
85
+ * }
86
+ * };
87
+ * const command = new StartInstanceRefreshCommand(input);
88
+ * const response = await client.send(command);
89
+ * /* response ==
90
+ * {
91
+ * "InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b"
92
+ * }
93
+ * *\/
94
+ * // example id: to-start-an-instance-refresh-1592957271522
95
+ * ```
96
+ *
55
97
  */
56
98
  export declare class StartInstanceRefreshCommand extends $Command<StartInstanceRefreshCommandInput, StartInstanceRefreshCommandOutput, AutoScalingClientResolvedConfig> {
57
99
  readonly input: StartInstanceRefreshCommandInput;
@@ -35,6 +35,28 @@ 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
+ *
46
+ * @example To suspend Auto Scaling processes
47
+ * ```javascript
48
+ * // This example suspends the specified scaling process for the specified Auto Scaling group.
49
+ * const input = {
50
+ * "AutoScalingGroupName": "my-auto-scaling-group",
51
+ * "ScalingProcesses": [
52
+ * "AlarmNotification"
53
+ * ]
54
+ * };
55
+ * const command = new SuspendProcessesCommand(input);
56
+ * await client.send(command);
57
+ * // example id: autoscaling-suspend-processes-1
58
+ * ```
59
+ *
38
60
  */
39
61
  export declare class SuspendProcessesCommand extends $Command<SuspendProcessesCommandInput, SuspendProcessesCommandOutput, AutoScalingClientResolvedConfig> {
40
62
  readonly input: SuspendProcessesCommandInput;
@@ -40,6 +40,27 @@ 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
+ *
52
+ * @example To terminate an instance in an Auto Scaling group
53
+ * ```javascript
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.
55
+ * const input = {
56
+ * "InstanceId": "i-93633f9b",
57
+ * "ShouldDecrementDesiredCapacity": false
58
+ * };
59
+ * const command = new TerminateInstanceInAutoScalingGroupCommand(input);
60
+ * await client.send(command);
61
+ * // example id: autoscaling-terminate-instance-in-auto-scaling-group-1
62
+ * ```
63
+ *
43
64
  */
44
65
  export declare class TerminateInstanceInAutoScalingGroupCommand extends $Command<TerminateInstanceInAutoScalingGroupCommandInput, TerminateInstanceInAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig> {
45
66
  readonly input: TerminateInstanceInAutoScalingGroupCommandInput;
@@ -72,6 +72,36 @@ 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
+ *
87
+ * @example To update an Auto Scaling group
88
+ * ```javascript
89
+ * // This example updates multiple properties at the same time.
90
+ * const input = {
91
+ * "AutoScalingGroupName": "my-auto-scaling-group",
92
+ * "LaunchTemplate": {
93
+ * "LaunchTemplateName": "my-template-for-auto-scaling",
94
+ * "Version": "2"
95
+ * },
96
+ * "MaxSize": 5,
97
+ * "MinSize": 1,
98
+ * "NewInstancesProtectedFromScaleIn": true
99
+ * };
100
+ * const command = new UpdateAutoScalingGroupCommand(input);
101
+ * await client.send(command);
102
+ * // example id: autoscaling-update-auto-scaling-group-1
103
+ * ```
104
+ *
75
105
  */
76
106
  export declare class UpdateAutoScalingGroupCommand extends $Command<UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig> {
77
107
  readonly input: UpdateAutoScalingGroupCommandInput;
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.288.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.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.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.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.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.272.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
  },