@aws-sdk/client-auto-scaling 3.36.0 → 3.39.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 (178) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/AutoScaling.js +0 -16
  3. package/dist-cjs/AutoScalingClient.js +0 -21
  4. package/dist-cjs/commands/AttachInstancesCommand.js +0 -33
  5. package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js +0 -42
  6. package/dist-cjs/commands/AttachLoadBalancersCommand.js +0 -34
  7. package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js +0 -24
  8. package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js +0 -24
  9. package/dist-cjs/commands/CancelInstanceRefreshCommand.js +0 -29
  10. package/dist-cjs/commands/CompleteLifecycleActionCommand.js +0 -55
  11. package/dist-cjs/commands/CreateAutoScalingGroupCommand.js +0 -42
  12. package/dist-cjs/commands/CreateLaunchConfigurationCommand.js +0 -30
  13. package/dist-cjs/commands/CreateOrUpdateTagsCommand.js +0 -28
  14. package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js +0 -33
  15. package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js +0 -26
  16. package/dist-cjs/commands/DeleteLifecycleHookCommand.js +0 -27
  17. package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +0 -24
  18. package/dist-cjs/commands/DeletePolicyCommand.js +0 -29
  19. package/dist-cjs/commands/DeleteScheduledActionCommand.js +0 -24
  20. package/dist-cjs/commands/DeleteTagsCommand.js +0 -24
  21. package/dist-cjs/commands/DeleteWarmPoolCommand.js +0 -26
  22. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -28
  23. package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js +0 -43
  24. package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js +0 -26
  25. package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js +0 -24
  26. package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js +0 -24
  27. package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js +0 -62
  28. package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js +0 -24
  29. package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js +0 -37
  30. package/dist-cjs/commands/DescribeLifecycleHooksCommand.js +0 -24
  31. package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js +0 -43
  32. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -45
  33. package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js +0 -26
  34. package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js +0 -25
  35. package/dist-cjs/commands/DescribePoliciesCommand.js +0 -24
  36. package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +0 -32
  37. package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js +0 -25
  38. package/dist-cjs/commands/DescribeScheduledActionsCommand.js +0 -27
  39. package/dist-cjs/commands/DescribeTagsCommand.js +0 -32
  40. package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js +0 -27
  41. package/dist-cjs/commands/DescribeWarmPoolCommand.js +0 -26
  42. package/dist-cjs/commands/DetachInstancesCommand.js +0 -33
  43. package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js +0 -24
  44. package/dist-cjs/commands/DetachLoadBalancersCommand.js +0 -29
  45. package/dist-cjs/commands/DisableMetricsCollectionCommand.js +0 -24
  46. package/dist-cjs/commands/EnableMetricsCollectionCommand.js +0 -25
  47. package/dist-cjs/commands/EnterStandbyCommand.js +0 -33
  48. package/dist-cjs/commands/ExecutePolicyCommand.js +0 -25
  49. package/dist-cjs/commands/ExitStandbyCommand.js +0 -29
  50. package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js +0 -32
  51. package/dist-cjs/commands/PutLifecycleHookCommand.js +0 -61
  52. package/dist-cjs/commands/PutNotificationConfigurationCommand.js +0 -32
  53. package/dist-cjs/commands/PutScalingPolicyCommand.js +0 -33
  54. package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js +0 -28
  55. package/dist-cjs/commands/PutWarmPoolCommand.js +0 -33
  56. package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js +0 -56
  57. package/dist-cjs/commands/ResumeProcessesCommand.js +0 -27
  58. package/dist-cjs/commands/SetDesiredCapacityCommand.js +0 -29
  59. package/dist-cjs/commands/SetInstanceHealthCommand.js +0 -26
  60. package/dist-cjs/commands/SetInstanceProtectionCommand.js +0 -30
  61. package/dist-cjs/commands/StartInstanceRefreshCommand.js +0 -38
  62. package/dist-cjs/commands/SuspendProcessesCommand.js +0 -30
  63. package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js +0 -35
  64. package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js +0 -68
  65. package/dist-cjs/commands/index.js +64 -0
  66. package/dist-cjs/endpoints.js +6 -1
  67. package/dist-cjs/index.js +5 -75
  68. package/dist-cjs/models/models_0.js +121 -475
  69. package/dist-cjs/pagination/DescribeAutoScalingGroupsPaginator.js +0 -10
  70. package/dist-cjs/pagination/DescribeAutoScalingInstancesPaginator.js +0 -10
  71. package/dist-cjs/pagination/DescribeLaunchConfigurationsPaginator.js +0 -10
  72. package/dist-cjs/pagination/DescribeNotificationConfigurationsPaginator.js +0 -10
  73. package/dist-cjs/pagination/DescribePoliciesPaginator.js +0 -10
  74. package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js +0 -10
  75. package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +0 -10
  76. package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -10
  77. package/dist-cjs/pagination/index.js +12 -0
  78. package/dist-cjs/protocols/Aws_query.js +621 -2
  79. package/dist-cjs/runtimeConfig.browser.js +1 -5
  80. package/dist-cjs/runtimeConfig.js +1 -5
  81. package/dist-cjs/runtimeConfig.native.js +0 -3
  82. package/dist-cjs/runtimeConfig.shared.js +0 -3
  83. package/dist-cjs/waiters/index.js +6 -0
  84. package/dist-cjs/waiters/waitForGroupExists.js +0 -9
  85. package/dist-cjs/waiters/waitForGroupInService.js +0 -9
  86. package/dist-cjs/waiters/waitForGroupNotExists.js +0 -9
  87. package/dist-es/commands/index.js +61 -0
  88. package/dist-es/endpoints.js +6 -1
  89. package/dist-es/index.js +5 -75
  90. package/dist-es/models/models_0.js +97 -4
  91. package/dist-es/pagination/index.js +9 -0
  92. package/dist-es/protocols/Aws_query.js +922 -207
  93. package/dist-es/waiters/index.js +3 -0
  94. package/dist-types/AutoScaling.d.ts +8 -2
  95. package/dist-types/AutoScalingClient.d.ts +2 -0
  96. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
  97. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +5 -1
  98. package/dist-types/commands/index.d.ts +61 -0
  99. package/dist-types/index.d.ts +5 -75
  100. package/dist-types/models/models_0.d.ts +672 -125
  101. package/dist-types/pagination/index.d.ts +9 -0
  102. package/dist-types/ts3.4/AutoScaling.d.ts +62 -693
  103. package/dist-types/ts3.4/AutoScalingClient.d.ts +24 -102
  104. package/dist-types/ts3.4/commands/AttachInstancesCommand.d.ts +2 -29
  105. package/dist-types/ts3.4/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +2 -38
  106. package/dist-types/ts3.4/commands/AttachLoadBalancersCommand.d.ts +2 -30
  107. package/dist-types/ts3.4/commands/BatchDeleteScheduledActionCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/CancelInstanceRefreshCommand.d.ts +2 -25
  110. package/dist-types/ts3.4/commands/CompleteLifecycleActionCommand.d.ts +2 -51
  111. package/dist-types/ts3.4/commands/CreateAutoScalingGroupCommand.d.ts +2 -38
  112. package/dist-types/ts3.4/commands/CreateLaunchConfigurationCommand.d.ts +2 -26
  113. package/dist-types/ts3.4/commands/CreateOrUpdateTagsCommand.d.ts +2 -24
  114. package/dist-types/ts3.4/commands/DeleteAutoScalingGroupCommand.d.ts +2 -29
  115. package/dist-types/ts3.4/commands/DeleteLaunchConfigurationCommand.d.ts +2 -22
  116. package/dist-types/ts3.4/commands/DeleteLifecycleHookCommand.d.ts +2 -23
  117. package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -25
  119. package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/DeleteWarmPoolCommand.d.ts +2 -22
  122. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -24
  123. package/dist-types/ts3.4/commands/DescribeAdjustmentTypesCommand.d.ts +2 -39
  124. package/dist-types/ts3.4/commands/DescribeAutoScalingGroupsCommand.d.ts +2 -22
  125. package/dist-types/ts3.4/commands/DescribeAutoScalingInstancesCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/DescribeInstanceRefreshesCommand.d.ts +2 -58
  128. package/dist-types/ts3.4/commands/DescribeLaunchConfigurationsCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/DescribeLifecycleHookTypesCommand.d.ts +2 -33
  130. package/dist-types/ts3.4/commands/DescribeLifecycleHooksCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +2 -39
  132. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -41
  133. package/dist-types/ts3.4/commands/DescribeMetricCollectionTypesCommand.d.ts +2 -22
  134. package/dist-types/ts3.4/commands/DescribeNotificationConfigurationsCommand.d.ts +2 -21
  135. package/dist-types/ts3.4/commands/DescribePoliciesCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +2 -28
  137. package/dist-types/ts3.4/commands/DescribeScalingProcessTypesCommand.d.ts +2 -21
  138. package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +2 -23
  139. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -28
  140. package/dist-types/ts3.4/commands/DescribeTerminationPolicyTypesCommand.d.ts +2 -23
  141. package/dist-types/ts3.4/commands/DescribeWarmPoolCommand.d.ts +2 -22
  142. package/dist-types/ts3.4/commands/DetachInstancesCommand.d.ts +2 -29
  143. package/dist-types/ts3.4/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/DetachLoadBalancersCommand.d.ts +2 -25
  145. package/dist-types/ts3.4/commands/DisableMetricsCollectionCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/EnableMetricsCollectionCommand.d.ts +2 -21
  147. package/dist-types/ts3.4/commands/EnterStandbyCommand.d.ts +2 -29
  148. package/dist-types/ts3.4/commands/ExecutePolicyCommand.d.ts +2 -21
  149. package/dist-types/ts3.4/commands/ExitStandbyCommand.d.ts +2 -25
  150. package/dist-types/ts3.4/commands/GetPredictiveScalingForecastCommand.d.ts +2 -28
  151. package/dist-types/ts3.4/commands/PutLifecycleHookCommand.d.ts +2 -57
  152. package/dist-types/ts3.4/commands/PutNotificationConfigurationCommand.d.ts +2 -28
  153. package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +2 -29
  154. package/dist-types/ts3.4/commands/PutScheduledUpdateGroupActionCommand.d.ts +2 -24
  155. package/dist-types/ts3.4/commands/PutWarmPoolCommand.d.ts +2 -29
  156. package/dist-types/ts3.4/commands/RecordLifecycleActionHeartbeatCommand.d.ts +2 -52
  157. package/dist-types/ts3.4/commands/ResumeProcessesCommand.d.ts +2 -23
  158. package/dist-types/ts3.4/commands/SetDesiredCapacityCommand.d.ts +2 -25
  159. package/dist-types/ts3.4/commands/SetInstanceHealthCommand.d.ts +2 -22
  160. package/dist-types/ts3.4/commands/SetInstanceProtectionCommand.d.ts +2 -26
  161. package/dist-types/ts3.4/commands/StartInstanceRefreshCommand.d.ts +2 -34
  162. package/dist-types/ts3.4/commands/SuspendProcessesCommand.d.ts +2 -26
  163. package/dist-types/ts3.4/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +2 -31
  164. package/dist-types/ts3.4/commands/UpdateAutoScalingGroupCommand.d.ts +2 -64
  165. package/dist-types/ts3.4/commands/index.d.ts +61 -0
  166. package/dist-types/ts3.4/index.d.ts +5 -75
  167. package/dist-types/ts3.4/models/models_0.d.ts +960 -4205
  168. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  169. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  170. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  171. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  172. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  173. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  174. package/dist-types/ts3.4/waiters/waitForGroupExists.d.ts +2 -9
  175. package/dist-types/ts3.4/waiters/waitForGroupInService.d.ts +2 -9
  176. package/dist-types/ts3.4/waiters/waitForGroupNotExists.d.ts +2 -9
  177. package/dist-types/waiters/index.d.ts +3 -0
  178. package/package.json +33 -33
@@ -61,880 +61,249 @@ import { StartInstanceRefreshCommandInput, StartInstanceRefreshCommandOutput } f
61
61
  import { SuspendProcessesCommandInput, SuspendProcessesCommandOutput } from "./commands/SuspendProcessesCommand";
62
62
  import { TerminateInstanceInAutoScalingGroupCommandInput, TerminateInstanceInAutoScalingGroupCommandOutput } from "./commands/TerminateInstanceInAutoScalingGroupCommand";
63
63
  import { UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput } from "./commands/UpdateAutoScalingGroupCommand";
64
- /**
65
- * <fullname>Amazon EC2 Auto Scaling</fullname>
66
- *
67
- *
68
- *
69
- *
70
- *
71
- *
72
- *
73
- * <p>Amazon EC2 Auto Scaling is designed to automatically launch or terminate EC2 instances
74
- * based on user-defined scaling policies, scheduled actions, and health checks.</p>
75
- * <p>For more information about Amazon EC2 Auto Scaling, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a>. For information about granting IAM users required
76
- * permissions for calls to Amazon EC2 Auto Scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/ec2-auto-scaling-api-permissions.html">Granting
77
- * IAM users required permissions for Amazon EC2 Auto Scaling resources</a> in the
78
- * <i>Amazon EC2 Auto Scaling API Reference</i>.</p>
79
- */
64
+
80
65
  export declare class AutoScaling extends AutoScalingClient {
81
- /**
82
- * <p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p>
83
- * <p>When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the
84
- * number of instances being attached. If the number of instances being attached plus the
85
- * desired capacity of the group exceeds the maximum size of the group, the operation
86
- * fails.</p>
87
- * <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are
88
- * also registered with the load balancer. If there are target groups attached to your Auto Scaling
89
- * group, the instances are also registered with the target groups.</p>
90
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html">Attach EC2 instances to
91
- * your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
92
- */
66
+
93
67
  attachInstances(args: AttachInstancesCommandInput, options?: __HttpHandlerOptions): Promise<AttachInstancesCommandOutput>;
94
68
  attachInstances(args: AttachInstancesCommandInput, cb: (err: any, data?: AttachInstancesCommandOutput) => void): void;
95
69
  attachInstances(args: AttachInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachInstancesCommandOutput) => void): void;
96
- /**
97
- * <note>
98
- * <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load
99
- * Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation
100
- * instead.</p>
101
- * </note>
102
- * <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling
103
- * registers the running instances with these Classic Load Balancers.</p>
104
- * <p>To describe the load balancers for an Auto Scaling group, call the <a>DescribeLoadBalancers</a> API. To detach the load balancer from the Auto Scaling
105
- * group, call the <a>DetachLoadBalancers</a> API.</p>
106
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
107
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
108
- */
70
+
109
71
  attachLoadBalancers(args: AttachLoadBalancersCommandInput, options?: __HttpHandlerOptions): Promise<AttachLoadBalancersCommandOutput>;
110
72
  attachLoadBalancers(args: AttachLoadBalancersCommandInput, cb: (err: any, data?: AttachLoadBalancersCommandOutput) => void): void;
111
73
  attachLoadBalancers(args: AttachLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachLoadBalancersCommandOutput) => void): void;
112
- /**
113
- * <p>Attaches one or more target groups to the specified Auto Scaling group.</p>
114
- * <p>This operation is used with the following load balancer types: </p>
115
- * <ul>
116
- * <li>
117
- * <p> Application Load Balancer - Operates at the application layer (layer 7) and
118
- * supports HTTP and HTTPS. </p>
119
- * </li>
120
- * <li>
121
- * <p> Network Load Balancer - Operates at the transport layer (layer 4) and
122
- * supports TCP, TLS, and UDP. </p>
123
- * </li>
124
- * <li>
125
- * <p> Gateway Load Balancer - Operates at the network layer (layer 3).</p>
126
- * </li>
127
- * </ul>
128
- * <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from
129
- * the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>
130
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
131
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
132
- */
74
+
133
75
  attachLoadBalancerTargetGroups(args: AttachLoadBalancerTargetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<AttachLoadBalancerTargetGroupsCommandOutput>;
134
76
  attachLoadBalancerTargetGroups(args: AttachLoadBalancerTargetGroupsCommandInput, cb: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void): void;
135
77
  attachLoadBalancerTargetGroups(args: AttachLoadBalancerTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void): void;
136
- /**
137
- * <p>Deletes one or more scheduled actions for the specified Auto Scaling group.</p>
138
- */
78
+
139
79
  batchDeleteScheduledAction(args: BatchDeleteScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteScheduledActionCommandOutput>;
140
80
  batchDeleteScheduledAction(args: BatchDeleteScheduledActionCommandInput, cb: (err: any, data?: BatchDeleteScheduledActionCommandOutput) => void): void;
141
81
  batchDeleteScheduledAction(args: BatchDeleteScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteScheduledActionCommandOutput) => void): void;
142
- /**
143
- * <p>Creates or updates one or more scheduled scaling actions for an Auto Scaling group.</p>
144
- */
82
+
145
83
  batchPutScheduledUpdateGroupAction(args: BatchPutScheduledUpdateGroupActionCommandInput, options?: __HttpHandlerOptions): Promise<BatchPutScheduledUpdateGroupActionCommandOutput>;
146
84
  batchPutScheduledUpdateGroupAction(args: BatchPutScheduledUpdateGroupActionCommandInput, cb: (err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void): void;
147
85
  batchPutScheduledUpdateGroupAction(args: BatchPutScheduledUpdateGroupActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void): void;
148
- /**
149
- * <p>Cancels an instance refresh operation in progress. Cancellation does not roll back any
150
- * replacements that have already been completed, but it prevents new replacements from
151
- * being started. </p>
152
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
153
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
154
- * after you make configuration changes.</p>
155
- */
86
+
156
87
  cancelInstanceRefresh(args: CancelInstanceRefreshCommandInput, options?: __HttpHandlerOptions): Promise<CancelInstanceRefreshCommandOutput>;
157
88
  cancelInstanceRefresh(args: CancelInstanceRefreshCommandInput, cb: (err: any, data?: CancelInstanceRefreshCommandOutput) => void): void;
158
89
  cancelInstanceRefresh(args: CancelInstanceRefreshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelInstanceRefreshCommandOutput) => void): void;
159
- /**
160
- * <p>Completes the lifecycle action for the specified token or instance with the specified
161
- * result.</p>
162
- * <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
163
- * group:</p>
164
- * <ol>
165
- * <li>
166
- * <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
167
- * invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
168
- * instances.</p>
169
- * </li>
170
- * <li>
171
- * <p>(Optional) Create a notification target and an IAM role. The target can be
172
- * either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
173
- * publish lifecycle notifications to the target.</p>
174
- * </li>
175
- * <li>
176
- * <p>Create the lifecycle hook. Specify whether the hook is used when the instances
177
- * launch or terminate.</p>
178
- * </li>
179
- * <li>
180
- * <p>If you need more time, record the lifecycle action heartbeat to keep the
181
- * instance in a pending state.</p>
182
- * </li>
183
- * <li>
184
- * <p>
185
- * <b>If you finish before the timeout period ends, complete the
186
- * lifecycle action.</b>
187
- * </p>
188
- * </li>
189
- * </ol>
190
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
191
- * hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
192
- */
90
+
193
91
  completeLifecycleAction(args: CompleteLifecycleActionCommandInput, options?: __HttpHandlerOptions): Promise<CompleteLifecycleActionCommandOutput>;
194
92
  completeLifecycleAction(args: CompleteLifecycleActionCommandInput, cb: (err: any, data?: CompleteLifecycleActionCommandOutput) => void): void;
195
93
  completeLifecycleAction(args: CompleteLifecycleActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteLifecycleActionCommandOutput) => void): void;
196
- /**
197
- * <p>
198
- * <b>We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
199
- * </p>
200
- * <p>Creates an Auto Scaling group with
201
- * the specified name and attributes. </p>
202
- * <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
203
- * call the <a>DescribeAccountLimits</a> API. For information about updating
204
- * this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
205
- * quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
206
- * <p>For introductory exercises for creating an Auto Scaling group, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html">Getting started with
207
- * Amazon EC2 Auto Scaling</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html">Tutorial: Set up a
208
- * scaled and load-balanced application</a> in the
209
- * <i>Amazon EC2 Auto Scaling User Guide</i>. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html">Auto Scaling
210
- * groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
211
- * <p>Every Auto Scaling group has three size parameters (<code>DesiredCapacity</code>,
212
- * <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based
213
- * on a specific number of instances. However, if you configure a mixed instances policy
214
- * that defines weights for the instance types, you must specify these sizes with the same
215
- * units that you use for weighting instances.</p>
216
- */
94
+
217
95
  createAutoScalingGroup(args: CreateAutoScalingGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateAutoScalingGroupCommandOutput>;
218
96
  createAutoScalingGroup(args: CreateAutoScalingGroupCommandInput, cb: (err: any, data?: CreateAutoScalingGroupCommandOutput) => void): void;
219
97
  createAutoScalingGroup(args: CreateAutoScalingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAutoScalingGroupCommandOutput) => void): void;
220
- /**
221
- * <p>Creates a launch configuration.</p>
222
- * <p>If you exceed your maximum limit of launch configurations, the call fails. To query
223
- * this limit, call the <a>DescribeAccountLimits</a> API. For information about
224
- * updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
225
- * quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
226
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html">Launch
227
- * configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
228
- */
98
+
229
99
  createLaunchConfiguration(args: CreateLaunchConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateLaunchConfigurationCommandOutput>;
230
100
  createLaunchConfiguration(args: CreateLaunchConfigurationCommandInput, cb: (err: any, data?: CreateLaunchConfigurationCommandOutput) => void): void;
231
101
  createLaunchConfiguration(args: CreateLaunchConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLaunchConfigurationCommandOutput) => void): void;
232
- /**
233
- * <p>Creates or updates tags for the specified Auto Scaling group.</p>
234
- * <p>When you specify a tag with a key that already exists, the operation overwrites the
235
- * previous tag definition, and you do not get an error message.</p>
236
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html">Tagging Auto Scaling groups and
237
- * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
238
- */
102
+
239
103
  createOrUpdateTags(args: CreateOrUpdateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateOrUpdateTagsCommandOutput>;
240
104
  createOrUpdateTags(args: CreateOrUpdateTagsCommandInput, cb: (err: any, data?: CreateOrUpdateTagsCommandOutput) => void): void;
241
105
  createOrUpdateTags(args: CreateOrUpdateTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOrUpdateTagsCommandOutput) => void): void;
242
- /**
243
- * <p>Deletes the specified Auto Scaling group.</p>
244
- * <p>If the group has instances or scaling activities in progress, you must specify the
245
- * option to force the deletion in order for it to succeed.</p>
246
- * <p>If the group has policies, deleting the group deletes the policies, the underlying
247
- * alarm actions, and any alarm that no longer has an associated action.</p>
248
- * <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
249
- * decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement
250
- * instances.</p>
251
- * <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
252
- * of the Auto Scaling group to zero.</p>
253
- */
106
+
254
107
  deleteAutoScalingGroup(args: DeleteAutoScalingGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAutoScalingGroupCommandOutput>;
255
108
  deleteAutoScalingGroup(args: DeleteAutoScalingGroupCommandInput, cb: (err: any, data?: DeleteAutoScalingGroupCommandOutput) => void): void;
256
109
  deleteAutoScalingGroup(args: DeleteAutoScalingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAutoScalingGroupCommandOutput) => void): void;
257
- /**
258
- * <p>Deletes the specified launch configuration.</p>
259
- * <p>The launch configuration must not be attached to an Auto Scaling group. When this call
260
- * completes, the launch configuration is no longer available for use.</p>
261
- */
110
+
262
111
  deleteLaunchConfiguration(args: DeleteLaunchConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLaunchConfigurationCommandOutput>;
263
112
  deleteLaunchConfiguration(args: DeleteLaunchConfigurationCommandInput, cb: (err: any, data?: DeleteLaunchConfigurationCommandOutput) => void): void;
264
113
  deleteLaunchConfiguration(args: DeleteLaunchConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLaunchConfigurationCommandOutput) => void): void;
265
- /**
266
- * <p>Deletes the specified lifecycle hook.</p>
267
- * <p>If there are any outstanding lifecycle actions, they are completed first
268
- * (<code>ABANDON</code> for launching instances, <code>CONTINUE</code> for terminating
269
- * instances).</p>
270
- */
114
+
271
115
  deleteLifecycleHook(args: DeleteLifecycleHookCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLifecycleHookCommandOutput>;
272
116
  deleteLifecycleHook(args: DeleteLifecycleHookCommandInput, cb: (err: any, data?: DeleteLifecycleHookCommandOutput) => void): void;
273
117
  deleteLifecycleHook(args: DeleteLifecycleHookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecycleHookCommandOutput) => void): void;
274
- /**
275
- * <p>Deletes the specified notification.</p>
276
- */
118
+
277
119
  deleteNotificationConfiguration(args: DeleteNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationConfigurationCommandOutput>;
278
120
  deleteNotificationConfiguration(args: DeleteNotificationConfigurationCommandInput, cb: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void): void;
279
121
  deleteNotificationConfiguration(args: DeleteNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void): void;
280
- /**
281
- * <p>Deletes the specified scaling policy.</p>
282
- * <p>Deleting either a step scaling policy or a simple scaling policy deletes the
283
- * underlying alarm action, but does not delete the alarm, even if it no longer has an
284
- * associated action.</p>
285
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html">Deleting a scaling
286
- * policy</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
287
- */
122
+
288
123
  deletePolicy(args: DeletePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeletePolicyCommandOutput>;
289
124
  deletePolicy(args: DeletePolicyCommandInput, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
290
125
  deletePolicy(args: DeletePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
291
- /**
292
- * <p>Deletes the specified scheduled action.</p>
293
- */
126
+
294
127
  deleteScheduledAction(args: DeleteScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledActionCommandOutput>;
295
128
  deleteScheduledAction(args: DeleteScheduledActionCommandInput, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
296
129
  deleteScheduledAction(args: DeleteScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
297
- /**
298
- * <p>Deletes the specified tags.</p>
299
- */
130
+
300
131
  deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
301
132
  deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
302
133
  deleteTags(args: DeleteTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
303
- /**
304
- * <p>Deletes the warm pool for the specified Auto Scaling group.</p>
305
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
306
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
307
- */
134
+
308
135
  deleteWarmPool(args: DeleteWarmPoolCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWarmPoolCommandOutput>;
309
136
  deleteWarmPool(args: DeleteWarmPoolCommandInput, cb: (err: any, data?: DeleteWarmPoolCommandOutput) => void): void;
310
137
  deleteWarmPool(args: DeleteWarmPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWarmPoolCommandOutput) => void): void;
311
- /**
312
- * <p>Describes the current Amazon EC2 Auto Scaling resource quotas for your account.</p>
313
- * <p>When you establish an account, the account has initial quotas on the maximum
314
- * number of Auto Scaling groups and launch configurations that you can create in a given Region.
315
- * For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
316
- * quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
317
- */
138
+
318
139
  describeAccountLimits(args: DescribeAccountLimitsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountLimitsCommandOutput>;
319
140
  describeAccountLimits(args: DescribeAccountLimitsCommandInput, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
320
141
  describeAccountLimits(args: DescribeAccountLimitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
321
- /**
322
- * <p>Describes the available adjustment types for step scaling and simple scaling
323
- * policies.</p>
324
- * <p>The following adjustment types are supported:</p>
325
- * <ul>
326
- * <li>
327
- * <p>
328
- * <code>ChangeInCapacity</code>
329
- * </p>
330
- * </li>
331
- * <li>
332
- * <p>
333
- * <code>ExactCapacity</code>
334
- * </p>
335
- * </li>
336
- * <li>
337
- * <p>
338
- * <code>PercentChangeInCapacity</code>
339
- * </p>
340
- * </li>
341
- * </ul>
342
- */
142
+
343
143
  describeAdjustmentTypes(args: DescribeAdjustmentTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAdjustmentTypesCommandOutput>;
344
144
  describeAdjustmentTypes(args: DescribeAdjustmentTypesCommandInput, cb: (err: any, data?: DescribeAdjustmentTypesCommandOutput) => void): void;
345
145
  describeAdjustmentTypes(args: DescribeAdjustmentTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAdjustmentTypesCommandOutput) => void): void;
346
- /**
347
- * <p>Gets information about the Auto Scaling groups in the account and Region.</p>
348
- * <p>This operation returns information about instances in Auto Scaling groups. To retrieve
349
- * information about the instances in a warm pool, you must call the <a>DescribeWarmPool</a> API. </p>
350
- */
146
+
351
147
  describeAutoScalingGroups(args: DescribeAutoScalingGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAutoScalingGroupsCommandOutput>;
352
148
  describeAutoScalingGroups(args: DescribeAutoScalingGroupsCommandInput, cb: (err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void): void;
353
149
  describeAutoScalingGroups(args: DescribeAutoScalingGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void): void;
354
- /**
355
- * <p>Gets information about the Auto Scaling instances in the account and Region.</p>
356
- */
150
+
357
151
  describeAutoScalingInstances(args: DescribeAutoScalingInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAutoScalingInstancesCommandOutput>;
358
152
  describeAutoScalingInstances(args: DescribeAutoScalingInstancesCommandInput, cb: (err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void): void;
359
153
  describeAutoScalingInstances(args: DescribeAutoScalingInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void): void;
360
- /**
361
- * <p>Describes the notification types that are supported by Amazon EC2 Auto Scaling.</p>
362
- */
154
+
363
155
  describeAutoScalingNotificationTypes(args: DescribeAutoScalingNotificationTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAutoScalingNotificationTypesCommandOutput>;
364
156
  describeAutoScalingNotificationTypes(args: DescribeAutoScalingNotificationTypesCommandInput, cb: (err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void): void;
365
157
  describeAutoScalingNotificationTypes(args: DescribeAutoScalingNotificationTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void): void;
366
- /**
367
- * <p>Gets information about the instance refreshes for the specified Auto Scaling group.</p>
368
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
369
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
370
- * after you make configuration changes.</p>
371
- * <p>To help you determine the status of an instance refresh, this operation returns
372
- * information about the instance refreshes you previously initiated, including their
373
- * status, end time, the percentage of the instance refresh that is complete, and the
374
- * number of instances remaining to update before the instance refresh is complete.</p>
375
- * <p>The following are the possible statuses: </p>
376
- * <ul>
377
- * <li>
378
- * <p>
379
- * <code>Pending</code> - The request was created, but the operation has not
380
- * started.</p>
381
- * </li>
382
- * <li>
383
- * <p>
384
- * <code>InProgress</code> - The operation is in progress.</p>
385
- * </li>
386
- * <li>
387
- * <p>
388
- * <code>Successful</code> - The operation completed successfully.</p>
389
- * </li>
390
- * <li>
391
- * <p>
392
- * <code>Failed</code> - The operation failed to complete. You can troubleshoot
393
- * using the status reason and the scaling activities. </p>
394
- * </li>
395
- * <li>
396
- * <p>
397
- * <code>Cancelling</code> - An ongoing operation is being cancelled.
398
- * Cancellation does not roll back any replacements that have already been
399
- * completed, but it prevents new replacements from being started. </p>
400
- * </li>
401
- * <li>
402
- * <p>
403
- * <code>Cancelled</code> - The operation is cancelled. </p>
404
- * </li>
405
- * </ul>
406
- */
158
+
407
159
  describeInstanceRefreshes(args: DescribeInstanceRefreshesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInstanceRefreshesCommandOutput>;
408
160
  describeInstanceRefreshes(args: DescribeInstanceRefreshesCommandInput, cb: (err: any, data?: DescribeInstanceRefreshesCommandOutput) => void): void;
409
161
  describeInstanceRefreshes(args: DescribeInstanceRefreshesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInstanceRefreshesCommandOutput) => void): void;
410
- /**
411
- * <p>Gets information about the launch configurations in the account and Region.</p>
412
- */
162
+
413
163
  describeLaunchConfigurations(args: DescribeLaunchConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLaunchConfigurationsCommandOutput>;
414
164
  describeLaunchConfigurations(args: DescribeLaunchConfigurationsCommandInput, cb: (err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void): void;
415
165
  describeLaunchConfigurations(args: DescribeLaunchConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void): void;
416
- /**
417
- * <p>Gets information about the lifecycle hooks for the specified Auto Scaling group.</p>
418
- */
166
+
419
167
  describeLifecycleHooks(args: DescribeLifecycleHooksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLifecycleHooksCommandOutput>;
420
168
  describeLifecycleHooks(args: DescribeLifecycleHooksCommandInput, cb: (err: any, data?: DescribeLifecycleHooksCommandOutput) => void): void;
421
169
  describeLifecycleHooks(args: DescribeLifecycleHooksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLifecycleHooksCommandOutput) => void): void;
422
- /**
423
- * <p>Describes the available types of lifecycle hooks.</p>
424
- * <p>The following hook types are supported:</p>
425
- * <ul>
426
- * <li>
427
- * <p>
428
- * <code>autoscaling:EC2_INSTANCE_LAUNCHING</code>
429
- * </p>
430
- * </li>
431
- * <li>
432
- * <p>
433
- * <code>autoscaling:EC2_INSTANCE_TERMINATING</code>
434
- * </p>
435
- * </li>
436
- * </ul>
437
- */
170
+
438
171
  describeLifecycleHookTypes(args: DescribeLifecycleHookTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLifecycleHookTypesCommandOutput>;
439
172
  describeLifecycleHookTypes(args: DescribeLifecycleHookTypesCommandInput, cb: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void): void;
440
173
  describeLifecycleHookTypes(args: DescribeLifecycleHookTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void): void;
441
- /**
442
- * <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
443
- * <p>This operation describes only Classic Load Balancers. If you have Application Load
444
- * Balancers, Network Load Balancers, or Gateway Load Balancers, use the <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
445
- * <p>To determine the availability of registered instances, use the <code>State</code>
446
- * element in the response. When you attach a load balancer to an Auto Scaling group, the initial
447
- * <code>State</code> value is <code>Adding</code>. The state transitions to
448
- * <code>Added</code> after all Auto Scaling instances are registered with the load balancer.
449
- * If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to
450
- * <code>InService</code> after at least one Auto Scaling instance passes the health check.
451
- * When the load balancer is in the <code>InService</code> state, Amazon EC2 Auto Scaling can terminate
452
- * and replace any instances that are reported as unhealthy. If no registered instances
453
- * pass the health checks, the load balancer doesn't enter the <code>InService</code>
454
- * state. </p>
455
- * <p>Load balancers also have an <code>InService</code> state if you attach them in the
456
- * <a>CreateAutoScalingGroup</a> API call. If your load balancer state is
457
- * <code>InService</code>, but it is not working properly, check the scaling activities
458
- * by calling <a>DescribeScalingActivities</a> and take any corrective actions
459
- * necessary.</p>
460
- * <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:
461
- * Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
462
- * information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
463
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
464
- */
174
+
465
175
  describeLoadBalancers(args: DescribeLoadBalancersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoadBalancersCommandOutput>;
466
176
  describeLoadBalancers(args: DescribeLoadBalancersCommandInput, cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void): void;
467
177
  describeLoadBalancers(args: DescribeLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void): void;
468
- /**
469
- * <p>Gets information about the load balancer target groups for the specified Auto Scaling
470
- * group.</p>
471
- * <p>To determine the availability of registered instances, use the <code>State</code>
472
- * element in the response. When you attach a target group to an Auto Scaling group, the initial
473
- * <code>State</code> value is <code>Adding</code>. The state transitions to
474
- * <code>Added</code> after all Auto Scaling instances are registered with the target group. If
475
- * Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to
476
- * <code>InService</code> after at least one Auto Scaling instance passes the health check.
477
- * When the target group is in the <code>InService</code> state, Amazon EC2 Auto Scaling can terminate and
478
- * replace any instances that are reported as unhealthy. If no registered instances pass
479
- * the health checks, the target group doesn't enter the <code>InService</code> state. </p>
480
- * <p>Target groups also have an <code>InService</code> state if you attach them in the
481
- * <a>CreateAutoScalingGroup</a> API call. If your target group state is
482
- * <code>InService</code>, but it is not working properly, check the scaling activities
483
- * by calling <a>DescribeScalingActivities</a> and take any corrective actions
484
- * necessary.</p>
485
- * <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:
486
- * Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
487
- * information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
488
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
489
- */
178
+
490
179
  describeLoadBalancerTargetGroups(args: DescribeLoadBalancerTargetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoadBalancerTargetGroupsCommandOutput>;
491
180
  describeLoadBalancerTargetGroups(args: DescribeLoadBalancerTargetGroupsCommandInput, cb: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void): void;
492
181
  describeLoadBalancerTargetGroups(args: DescribeLoadBalancerTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void): void;
493
- /**
494
- * <p>Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.</p>
495
- * <p>The <code>GroupStandbyInstances</code> metric is not returned by default. You must
496
- * explicitly request this metric when calling the <a>EnableMetricsCollection</a> API.</p>
497
- */
182
+
498
183
  describeMetricCollectionTypes(args: DescribeMetricCollectionTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMetricCollectionTypesCommandOutput>;
499
184
  describeMetricCollectionTypes(args: DescribeMetricCollectionTypesCommandInput, cb: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void): void;
500
185
  describeMetricCollectionTypes(args: DescribeMetricCollectionTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void): void;
501
- /**
502
- * <p>Gets information about the Amazon SNS notifications that are configured for one or more
503
- * Auto Scaling groups.</p>
504
- */
186
+
505
187
  describeNotificationConfigurations(args: DescribeNotificationConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationConfigurationsCommandOutput>;
506
188
  describeNotificationConfigurations(args: DescribeNotificationConfigurationsCommandInput, cb: (err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void): void;
507
189
  describeNotificationConfigurations(args: DescribeNotificationConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void): void;
508
- /**
509
- * <p>Gets information about the scaling policies in the account and Region.</p>
510
- */
190
+
511
191
  describePolicies(args: DescribePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribePoliciesCommandOutput>;
512
192
  describePolicies(args: DescribePoliciesCommandInput, cb: (err: any, data?: DescribePoliciesCommandOutput) => void): void;
513
193
  describePolicies(args: DescribePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePoliciesCommandOutput) => void): void;
514
- /**
515
- * <p>Gets information about the scaling activities in the account and Region.</p>
516
- * <p>When scaling events occur, you see a record of the scaling activity in the scaling
517
- * activities. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html">Verifying a scaling
518
- * activity for an Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
519
- * <p>If the scaling event succeeds, the value of the <code>StatusCode</code> element in the
520
- * response is <code>Successful</code>. If an attempt to launch instances failed, the
521
- * <code>StatusCode</code> value is <code>Failed</code> or <code>Cancelled</code> and
522
- * the <code>StatusMessage</code> element in the response indicates the cause of the
523
- * failure. For help interpreting the <code>StatusMessage</code>, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html">Troubleshooting Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
524
- */
194
+
525
195
  describeScalingActivities(args: DescribeScalingActivitiesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingActivitiesCommandOutput>;
526
196
  describeScalingActivities(args: DescribeScalingActivitiesCommandInput, cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void): void;
527
197
  describeScalingActivities(args: DescribeScalingActivitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void): void;
528
- /**
529
- * <p>Describes the scaling process types for use with the <a>ResumeProcesses</a>
530
- * and <a>SuspendProcesses</a> APIs.</p>
531
- */
198
+
532
199
  describeScalingProcessTypes(args: DescribeScalingProcessTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingProcessTypesCommandOutput>;
533
200
  describeScalingProcessTypes(args: DescribeScalingProcessTypesCommandInput, cb: (err: any, data?: DescribeScalingProcessTypesCommandOutput) => void): void;
534
201
  describeScalingProcessTypes(args: DescribeScalingProcessTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingProcessTypesCommandOutput) => void): void;
535
- /**
536
- * <p>Gets information about the scheduled actions that haven't run or that have not reached
537
- * their end time.</p>
538
- * <p>To describe the scaling activities for scheduled actions that have already run, call
539
- * the <a>DescribeScalingActivities</a> API.</p>
540
- */
202
+
541
203
  describeScheduledActions(args: DescribeScheduledActionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScheduledActionsCommandOutput>;
542
204
  describeScheduledActions(args: DescribeScheduledActionsCommandInput, cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void): void;
543
205
  describeScheduledActions(args: DescribeScheduledActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void): void;
544
- /**
545
- * <p>Describes the specified tags.</p>
546
- * <p>You can use filters to limit the results. For example, you can query for the tags for
547
- * a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at
548
- * least one of the specified values for it to be included in the results.</p>
549
- * <p>You can also specify multiple filters. The result includes information for a
550
- * particular tag only if it matches all the filters. If there's no match, no special
551
- * message is returned.</p>
552
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html">Tagging Auto Scaling groups and
553
- * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
554
- */
206
+
555
207
  describeTags(args: DescribeTagsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTagsCommandOutput>;
556
208
  describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
557
209
  describeTags(args: DescribeTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
558
- /**
559
- * <p>Describes the termination policies supported by Amazon EC2 Auto Scaling.</p>
560
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html">Controlling which Auto Scaling
561
- * instances terminate during scale in</a> in the
562
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
563
- */
210
+
564
211
  describeTerminationPolicyTypes(args: DescribeTerminationPolicyTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTerminationPolicyTypesCommandOutput>;
565
212
  describeTerminationPolicyTypes(args: DescribeTerminationPolicyTypesCommandInput, cb: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void): void;
566
213
  describeTerminationPolicyTypes(args: DescribeTerminationPolicyTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void): void;
567
- /**
568
- * <p>Gets information about a warm pool and its instances.</p>
569
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
570
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
571
- */
214
+
572
215
  describeWarmPool(args: DescribeWarmPoolCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWarmPoolCommandOutput>;
573
216
  describeWarmPool(args: DescribeWarmPoolCommandInput, cb: (err: any, data?: DescribeWarmPoolCommandOutput) => void): void;
574
217
  describeWarmPool(args: DescribeWarmPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWarmPoolCommandOutput) => void): void;
575
- /**
576
- * <p>Removes one or more instances from the specified Auto Scaling group.</p>
577
- * <p>After the instances are detached, you can manage them independent of the Auto Scaling
578
- * group.</p>
579
- * <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches
580
- * instances to replace the ones that are detached.</p>
581
- * <p>If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are
582
- * deregistered from the load balancer. If there are target groups attached to the Auto Scaling
583
- * group, the instances are deregistered from the target groups.</p>
584
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html">Detach EC2 instances from
585
- * your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
586
- */
218
+
587
219
  detachInstances(args: DetachInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DetachInstancesCommandOutput>;
588
220
  detachInstances(args: DetachInstancesCommandInput, cb: (err: any, data?: DetachInstancesCommandOutput) => void): void;
589
221
  detachInstances(args: DetachInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachInstancesCommandOutput) => void): void;
590
- /**
591
- * <p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>
592
- * <p>This operation detaches only Classic Load Balancers. If you have Application Load
593
- * Balancers, Network Load Balancers, or Gateway Load Balancers, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>
594
- * <p>When you detach a load balancer, it enters the <code>Removing</code> state while
595
- * deregistering the instances in the group. When all instances are deregistered, then you
596
- * can no longer describe the load balancer using the <a>DescribeLoadBalancers</a> API call. The instances remain running.</p>
597
- */
222
+
598
223
  detachLoadBalancers(args: DetachLoadBalancersCommandInput, options?: __HttpHandlerOptions): Promise<DetachLoadBalancersCommandOutput>;
599
224
  detachLoadBalancers(args: DetachLoadBalancersCommandInput, cb: (err: any, data?: DetachLoadBalancersCommandOutput) => void): void;
600
225
  detachLoadBalancers(args: DetachLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachLoadBalancersCommandOutput) => void): void;
601
- /**
602
- * <p>Detaches one or more target groups from the specified Auto Scaling group.</p>
603
- */
226
+
604
227
  detachLoadBalancerTargetGroups(args: DetachLoadBalancerTargetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DetachLoadBalancerTargetGroupsCommandOutput>;
605
228
  detachLoadBalancerTargetGroups(args: DetachLoadBalancerTargetGroupsCommandInput, cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void): void;
606
229
  detachLoadBalancerTargetGroups(args: DetachLoadBalancerTargetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void): void;
607
- /**
608
- * <p>Disables group metrics for the specified Auto Scaling group.</p>
609
- */
230
+
610
231
  disableMetricsCollection(args: DisableMetricsCollectionCommandInput, options?: __HttpHandlerOptions): Promise<DisableMetricsCollectionCommandOutput>;
611
232
  disableMetricsCollection(args: DisableMetricsCollectionCommandInput, cb: (err: any, data?: DisableMetricsCollectionCommandOutput) => void): void;
612
233
  disableMetricsCollection(args: DisableMetricsCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableMetricsCollectionCommandOutput) => void): void;
613
- /**
614
- * <p>Enables group metrics for the specified Auto Scaling group. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html">Monitoring CloudWatch metrics for your Auto Scaling groups and instances</a> in the
615
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
616
- */
234
+
617
235
  enableMetricsCollection(args: EnableMetricsCollectionCommandInput, options?: __HttpHandlerOptions): Promise<EnableMetricsCollectionCommandOutput>;
618
236
  enableMetricsCollection(args: EnableMetricsCollectionCommandInput, cb: (err: any, data?: EnableMetricsCollectionCommandOutput) => void): void;
619
237
  enableMetricsCollection(args: EnableMetricsCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableMetricsCollectionCommandOutput) => void): void;
620
- /**
621
- * <p>Moves the specified instances into the standby state.</p>
622
- * <p>If you choose to decrement the desired capacity of the Auto Scaling group, the instances can
623
- * enter standby as long as the desired capacity of the Auto Scaling group after the instances are
624
- * placed into standby is equal to or greater than the minimum capacity of the
625
- * group.</p>
626
- * <p>If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group
627
- * launches new instances to replace the instances on standby.</p>
628
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html">Temporarily removing
629
- * instances from your Auto Scaling group</a> in the
630
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
631
- */
238
+
632
239
  enterStandby(args: EnterStandbyCommandInput, options?: __HttpHandlerOptions): Promise<EnterStandbyCommandOutput>;
633
240
  enterStandby(args: EnterStandbyCommandInput, cb: (err: any, data?: EnterStandbyCommandOutput) => void): void;
634
241
  enterStandby(args: EnterStandbyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnterStandbyCommandOutput) => void): void;
635
- /**
636
- * <p>Executes the specified policy. This can be useful for testing the design of your
637
- * scaling policy.</p>
638
- */
242
+
639
243
  executePolicy(args: ExecutePolicyCommandInput, options?: __HttpHandlerOptions): Promise<ExecutePolicyCommandOutput>;
640
244
  executePolicy(args: ExecutePolicyCommandInput, cb: (err: any, data?: ExecutePolicyCommandOutput) => void): void;
641
245
  executePolicy(args: ExecutePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecutePolicyCommandOutput) => void): void;
642
- /**
643
- * <p>Moves the specified instances out of the standby state.</p>
644
- * <p>After you put the instances back in service, the desired capacity is
645
- * incremented.</p>
646
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html">Temporarily removing
647
- * instances from your Auto Scaling group</a> in the
648
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
649
- */
246
+
650
247
  exitStandby(args: ExitStandbyCommandInput, options?: __HttpHandlerOptions): Promise<ExitStandbyCommandOutput>;
651
248
  exitStandby(args: ExitStandbyCommandInput, cb: (err: any, data?: ExitStandbyCommandOutput) => void): void;
652
249
  exitStandby(args: ExitStandbyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExitStandbyCommandOutput) => void): void;
653
- /**
654
- * <p>Retrieves the forecast data for a predictive scaling policy.</p>
655
- * <p>Load forecasts are predictions of the hourly load values using historical load data
656
- * from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as
657
- * predicted values for the minimum capacity that is needed on an hourly basis, based on
658
- * the hourly load forecast.</p>
659
- * <p>A minimum of 24 hours of data is required to create the initial forecasts. However,
660
- * having a full 14 days of historical data results in more accurate forecasts.</p>
661
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html">Predictive
662
- * scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
663
- */
250
+
664
251
  getPredictiveScalingForecast(args: GetPredictiveScalingForecastCommandInput, options?: __HttpHandlerOptions): Promise<GetPredictiveScalingForecastCommandOutput>;
665
252
  getPredictiveScalingForecast(args: GetPredictiveScalingForecastCommandInput, cb: (err: any, data?: GetPredictiveScalingForecastCommandOutput) => void): void;
666
253
  getPredictiveScalingForecast(args: GetPredictiveScalingForecastCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPredictiveScalingForecastCommandOutput) => void): void;
667
- /**
668
- * <p>Creates or updates a lifecycle hook for the specified Auto Scaling group.</p>
669
- * <p>A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance
670
- * launches (before it is put into service) or as the instance terminates (before it is
671
- * fully terminated).</p>
672
- * <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
673
- * group:</p>
674
- * <ol>
675
- * <li>
676
- * <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
677
- * invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
678
- * instances.</p>
679
- * </li>
680
- * <li>
681
- * <p>(Optional) Create a notification target and an IAM role. The target can be
682
- * either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
683
- * publish lifecycle notifications to the target.</p>
684
- * </li>
685
- * <li>
686
- * <p>
687
- * <b>Create the lifecycle hook. Specify whether the hook is
688
- * used when the instances launch or terminate.</b>
689
- * </p>
690
- * </li>
691
- * <li>
692
- * <p>If you need more time, record the lifecycle action heartbeat to keep the
693
- * instance in a pending state using the <a>RecordLifecycleActionHeartbeat</a> API call.</p>
694
- * </li>
695
- * <li>
696
- * <p>If you finish before the timeout period ends, complete the lifecycle action
697
- * using the <a>CompleteLifecycleAction</a> API call.</p>
698
- * </li>
699
- * </ol>
700
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
701
- * hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
702
- * <p>If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling
703
- * group, the call fails.</p>
704
- * <p>You can view the lifecycle hooks for an Auto Scaling group using the <a>DescribeLifecycleHooks</a> API call. If you are no longer using a lifecycle
705
- * hook, you can delete it by calling the <a>DeleteLifecycleHook</a> API.</p>
706
- */
254
+
707
255
  putLifecycleHook(args: PutLifecycleHookCommandInput, options?: __HttpHandlerOptions): Promise<PutLifecycleHookCommandOutput>;
708
256
  putLifecycleHook(args: PutLifecycleHookCommandInput, cb: (err: any, data?: PutLifecycleHookCommandOutput) => void): void;
709
257
  putLifecycleHook(args: PutLifecycleHookCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLifecycleHookCommandOutput) => void): void;
710
- /**
711
- * <p>Configures an Auto Scaling group to send notifications when specified events take place.
712
- * Subscribers to the specified topic can have messages delivered to an endpoint such as a
713
- * web server or an email address.</p>
714
- * <p>This configuration overwrites any existing configuration.</p>
715
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html">Getting Amazon SNS
716
- * notifications when your Auto Scaling group scales</a> in the
717
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
718
- * <p>If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call
719
- * fails.</p>
720
- */
258
+
721
259
  putNotificationConfiguration(args: PutNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutNotificationConfigurationCommandOutput>;
722
260
  putNotificationConfiguration(args: PutNotificationConfigurationCommandInput, cb: (err: any, data?: PutNotificationConfigurationCommandOutput) => void): void;
723
261
  putNotificationConfiguration(args: PutNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutNotificationConfigurationCommandOutput) => void): void;
724
- /**
725
- * <p>Creates or updates a scaling policy for an Auto Scaling group. Scaling policies are used to
726
- * scale an Auto Scaling group based on configurable metrics. If no policies are defined, the
727
- * dynamic scaling and predictive scaling features are not used. </p>
728
- * <p>For more information about using dynamic scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html">Target tracking
729
- * scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html">Step and simple scaling
730
- * policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
731
- * <p>For more information about using predictive scaling, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html">Predictive
732
- * scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
733
- * <p>You can view the scaling policies for an Auto Scaling group using the <a>DescribePolicies</a> API call. If you are no longer using a scaling policy,
734
- * you can delete it by calling the <a>DeletePolicy</a> API.</p>
735
- */
262
+
736
263
  putScalingPolicy(args: PutScalingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutScalingPolicyCommandOutput>;
737
264
  putScalingPolicy(args: PutScalingPolicyCommandInput, cb: (err: any, data?: PutScalingPolicyCommandOutput) => void): void;
738
265
  putScalingPolicy(args: PutScalingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutScalingPolicyCommandOutput) => void): void;
739
- /**
740
- * <p>Creates or updates a scheduled scaling action for an Auto Scaling group.</p>
741
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html">Scheduled scaling</a> in the
742
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
743
- * <p>You can view the scheduled actions for an Auto Scaling group using the <a>DescribeScheduledActions</a> API call. If you are no longer using a
744
- * scheduled action, you can delete it by calling the <a>DeleteScheduledAction</a> API.</p>
745
- */
266
+
746
267
  putScheduledUpdateGroupAction(args: PutScheduledUpdateGroupActionCommandInput, options?: __HttpHandlerOptions): Promise<PutScheduledUpdateGroupActionCommandOutput>;
747
268
  putScheduledUpdateGroupAction(args: PutScheduledUpdateGroupActionCommandInput, cb: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void): void;
748
269
  putScheduledUpdateGroupAction(args: PutScheduledUpdateGroupActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void): void;
749
- /**
750
- * <p>Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of
751
- * pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your
752
- * application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new
753
- * desired capacity. For more information and example configurations, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
754
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
755
- * <p>This operation must be called from the Region in which the Auto Scaling group was created.
756
- * This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a
757
- * launch template or launch configuration that requests Spot Instances.</p>
758
- * <p>You can view the instances in the warm pool using the <a>DescribeWarmPool</a> API call. If you are no longer using a warm pool, you can delete it by calling the
759
- * <a>DeleteWarmPool</a> API.</p>
760
- */
270
+
761
271
  putWarmPool(args: PutWarmPoolCommandInput, options?: __HttpHandlerOptions): Promise<PutWarmPoolCommandOutput>;
762
272
  putWarmPool(args: PutWarmPoolCommandInput, cb: (err: any, data?: PutWarmPoolCommandOutput) => void): void;
763
273
  putWarmPool(args: PutWarmPoolCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutWarmPoolCommandOutput) => void): void;
764
- /**
765
- * <p>Records a heartbeat for the lifecycle action associated with the specified token or
766
- * instance. This extends the timeout by the length of time defined using the <a>PutLifecycleHook</a> API call.</p>
767
- *
768
- * <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
769
- * group:</p>
770
- * <ol>
771
- * <li>
772
- * <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
773
- * invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
774
- * instances.</p>
775
- * </li>
776
- * <li>
777
- * <p>(Optional) Create a notification target and an IAM role. The target can be
778
- * either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
779
- * publish lifecycle notifications to the target.</p>
780
- * </li>
781
- * <li>
782
- * <p>Create the lifecycle hook. Specify whether the hook is used when the instances
783
- * launch or terminate.</p>
784
- * </li>
785
- * <li>
786
- * <p>
787
- * <b>If you need more time, record the lifecycle action
788
- * heartbeat to keep the instance in a pending state.</b>
789
- * </p>
790
- * </li>
791
- * <li>
792
- * <p>If you finish before the timeout period ends, complete the lifecycle
793
- * action.</p>
794
- * </li>
795
- * </ol>
796
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
797
- * hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
798
- */
274
+
799
275
  recordLifecycleActionHeartbeat(args: RecordLifecycleActionHeartbeatCommandInput, options?: __HttpHandlerOptions): Promise<RecordLifecycleActionHeartbeatCommandOutput>;
800
276
  recordLifecycleActionHeartbeat(args: RecordLifecycleActionHeartbeatCommandInput, cb: (err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void): void;
801
277
  recordLifecycleActionHeartbeat(args: RecordLifecycleActionHeartbeatCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void): void;
802
- /**
803
- * <p>Resumes the specified suspended auto scaling processes, or all suspended process, for
804
- * the specified Auto Scaling group.</p>
805
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
806
- * resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
807
- */
278
+
808
279
  resumeProcesses(args: ResumeProcessesCommandInput, options?: __HttpHandlerOptions): Promise<ResumeProcessesCommandOutput>;
809
280
  resumeProcesses(args: ResumeProcessesCommandInput, cb: (err: any, data?: ResumeProcessesCommandOutput) => void): void;
810
281
  resumeProcesses(args: ResumeProcessesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResumeProcessesCommandOutput) => void): void;
811
- /**
812
- * <p>Sets the size of the specified Auto Scaling group.</p>
813
- * <p>If a scale-in activity occurs as a result of a new <code>DesiredCapacity</code> value
814
- * that is lower than the current size of the group, the Auto Scaling group uses its termination
815
- * policy to determine which instances to terminate. </p>
816
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html">Manual scaling</a> in the
817
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
818
- */
282
+
819
283
  setDesiredCapacity(args: SetDesiredCapacityCommandInput, options?: __HttpHandlerOptions): Promise<SetDesiredCapacityCommandOutput>;
820
284
  setDesiredCapacity(args: SetDesiredCapacityCommandInput, cb: (err: any, data?: SetDesiredCapacityCommandOutput) => void): void;
821
285
  setDesiredCapacity(args: SetDesiredCapacityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetDesiredCapacityCommandOutput) => void): void;
822
- /**
823
- * <p>Sets the health status of the specified instance.</p>
824
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html">Health checks for Auto Scaling
825
- * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
826
- */
286
+
827
287
  setInstanceHealth(args: SetInstanceHealthCommandInput, options?: __HttpHandlerOptions): Promise<SetInstanceHealthCommandOutput>;
828
288
  setInstanceHealth(args: SetInstanceHealthCommandInput, cb: (err: any, data?: SetInstanceHealthCommandOutput) => void): void;
829
289
  setInstanceHealth(args: SetInstanceHealthCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetInstanceHealthCommandOutput) => void): void;
830
- /**
831
- * <p>Updates the instance protection settings of the specified instances. This operation
832
- * cannot be called on instances in a warm pool.</p>
833
- * <p>For more information about preventing instances that are part of an Auto Scaling group from
834
- * terminating on scale in, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection">Instance scale-in protection</a> in the
835
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
836
- * <p>If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call
837
- * fails.</p>
838
- */
290
+
839
291
  setInstanceProtection(args: SetInstanceProtectionCommandInput, options?: __HttpHandlerOptions): Promise<SetInstanceProtectionCommandOutput>;
840
292
  setInstanceProtection(args: SetInstanceProtectionCommandInput, cb: (err: any, data?: SetInstanceProtectionCommandOutput) => void): void;
841
293
  setInstanceProtection(args: SetInstanceProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetInstanceProtectionCommandOutput) => void): void;
842
- /**
843
- * <p>Starts a new instance refresh operation. An instance refresh performs a rolling
844
- * replacement of all or some instances in an Auto Scaling group. Each instance is terminated first
845
- * and then replaced, which temporarily reduces the capacity available within your Auto Scaling
846
- * group.</p>
847
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
848
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group.
849
- * This feature is helpful, for example, when you have a new AMI or a new user data script.
850
- * You just need to create a new launch template that specifies the new AMI or user data
851
- * script. Then start an instance refresh to immediately begin the process of updating
852
- * instances in the group. </p>
853
- * <p>If the call succeeds, it creates a new instance refresh request with a unique ID that
854
- * you can use to track its progress. To query its status, call the <a>DescribeInstanceRefreshes</a> API. To describe the instance refreshes that
855
- * have already run, call the <a>DescribeInstanceRefreshes</a> API. To cancel an
856
- * instance refresh operation in progress, use the <a>CancelInstanceRefresh</a>
857
- * API. </p>
858
- */
294
+
859
295
  startInstanceRefresh(args: StartInstanceRefreshCommandInput, options?: __HttpHandlerOptions): Promise<StartInstanceRefreshCommandOutput>;
860
296
  startInstanceRefresh(args: StartInstanceRefreshCommandInput, cb: (err: any, data?: StartInstanceRefreshCommandOutput) => void): void;
861
297
  startInstanceRefresh(args: StartInstanceRefreshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartInstanceRefreshCommandOutput) => void): void;
862
- /**
863
- * <p>Suspends the specified auto scaling processes, or all processes, for the specified
864
- * Auto Scaling group.</p>
865
- * <p>If you suspend either the <code>Launch</code> or <code>Terminate</code> process types,
866
- * it can prevent other process types from functioning properly. For more information, see
867
- * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
868
- * resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
869
- * <p>To resume processes that have been suspended, call the <a>ResumeProcesses</a> API.</p>
870
- */
298
+
871
299
  suspendProcesses(args: SuspendProcessesCommandInput, options?: __HttpHandlerOptions): Promise<SuspendProcessesCommandOutput>;
872
300
  suspendProcesses(args: SuspendProcessesCommandInput, cb: (err: any, data?: SuspendProcessesCommandOutput) => void): void;
873
301
  suspendProcesses(args: SuspendProcessesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SuspendProcessesCommandOutput) => void): void;
874
- /**
875
- * <p>Terminates the specified instance and optionally adjusts the desired group size. This
876
- * operation cannot be called on instances in a warm pool.</p>
877
- * <p>This call simply makes a termination request. The instance is not terminated
878
- * immediately. When an instance is terminated, the instance status changes to
879
- * <code>terminated</code>. You can't connect to or start an instance after you've
880
- * terminated it.</p>
881
- * <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches
882
- * instances to replace the ones that are terminated. </p>
883
- * <p>By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you
884
- * decrement the desired capacity, your Auto Scaling group can become unbalanced between
885
- * Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might
886
- * terminate instances in other zones. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#AutoScalingBehavior.InstanceUsage">Rebalancing activities</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
887
- */
302
+
888
303
  terminateInstanceInAutoScalingGroup(args: TerminateInstanceInAutoScalingGroupCommandInput, options?: __HttpHandlerOptions): Promise<TerminateInstanceInAutoScalingGroupCommandOutput>;
889
304
  terminateInstanceInAutoScalingGroup(args: TerminateInstanceInAutoScalingGroupCommandInput, cb: (err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void): void;
890
305
  terminateInstanceInAutoScalingGroup(args: TerminateInstanceInAutoScalingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void): void;
891
- /**
892
- * <p>
893
- * <b>We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>
894
- * </p>
895
- * <p>Updates the configuration for
896
- * the specified Auto Scaling group.</p>
897
- * <p>To update an Auto Scaling group, specify the name of the group and the parameter that you want
898
- * to change. Any parameters that you don't specify are not changed by this update request.
899
- * The new settings take effect on any scaling activities after this call returns.
900
- * </p>
901
- * <p>If you associate a new launch configuration or template with an Auto Scaling group, all new
902
- * instances will get the updated configuration. Existing instances continue to run with
903
- * the configuration that they were originally launched with. When you update a group to
904
- * specify a mixed instances policy instead of a launch configuration or template, existing
905
- * instances may be replaced to match the new purchasing options that you specified in the
906
- * policy. For example, if the group currently has 100% On-Demand capacity and the policy
907
- * specifies 50% Spot capacity, this means that half of your instances will be gradually
908
- * terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches
909
- * new instances before terminating the old ones, so that updating your group does not
910
- * compromise the performance or availability of your application.</p>
911
- * <p>Note the following about changing <code>DesiredCapacity</code>, <code>MaxSize</code>,
912
- * or <code>MinSize</code>:</p>
913
- * <ul>
914
- * <li>
915
- * <p>If a scale-in activity occurs as a result of a new
916
- * <code>DesiredCapacity</code> value that is lower than the current size of
917
- * the group, the Auto Scaling group uses its termination policy to determine which
918
- * instances to terminate.</p>
919
- * </li>
920
- * <li>
921
- * <p>If you specify a new value for <code>MinSize</code> without specifying a value
922
- * for <code>DesiredCapacity</code>, and the new <code>MinSize</code> is larger
923
- * than the current size of the group, this sets the group's
924
- * <code>DesiredCapacity</code> to the new <code>MinSize</code> value.</p>
925
- * </li>
926
- * <li>
927
- * <p>If you specify a new value for <code>MaxSize</code> without specifying a value
928
- * for <code>DesiredCapacity</code>, and the new <code>MaxSize</code> is smaller
929
- * than the current size of the group, this sets the group's
930
- * <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.</p>
931
- * </li>
932
- * </ul>
933
- * <p>To see which parameters have been set, call the <a>DescribeAutoScalingGroups</a> API. To view the scaling policies for an Auto Scaling
934
- * group, call the <a>DescribePolicies</a> API. If the group has scaling
935
- * policies, you can update them by calling the <a>PutScalingPolicy</a>
936
- * API.</p>
937
- */
306
+
938
307
  updateAutoScalingGroup(args: UpdateAutoScalingGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAutoScalingGroupCommandOutput>;
939
308
  updateAutoScalingGroup(args: UpdateAutoScalingGroupCommandInput, cb: (err: any, data?: UpdateAutoScalingGroupCommandOutput) => void): void;
940
309
  updateAutoScalingGroup(args: UpdateAutoScalingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAutoScalingGroupCommandOutput) => void): void;