@aws-sdk/client-auto-scaling 3.32.0 → 3.36.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 (919) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist-cjs/AutoScaling.js +938 -0
  3. package/dist-cjs/AutoScalingClient.js +56 -0
  4. package/dist-cjs/commands/AttachInstancesCommand.js +69 -0
  5. package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js +78 -0
  6. package/dist-cjs/commands/AttachLoadBalancersCommand.js +70 -0
  7. package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js +60 -0
  8. package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js +60 -0
  9. package/dist-cjs/commands/CancelInstanceRefreshCommand.js +65 -0
  10. package/dist-cjs/commands/CompleteLifecycleActionCommand.js +91 -0
  11. package/dist-cjs/commands/CreateAutoScalingGroupCommand.js +78 -0
  12. package/dist-cjs/commands/CreateLaunchConfigurationCommand.js +66 -0
  13. package/dist-cjs/commands/CreateOrUpdateTagsCommand.js +64 -0
  14. package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js +69 -0
  15. package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js +62 -0
  16. package/dist-cjs/commands/DeleteLifecycleHookCommand.js +63 -0
  17. package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +60 -0
  18. package/dist-cjs/commands/DeletePolicyCommand.js +65 -0
  19. package/dist-cjs/commands/DeleteScheduledActionCommand.js +60 -0
  20. package/dist-cjs/commands/DeleteTagsCommand.js +60 -0
  21. package/dist-cjs/commands/DeleteWarmPoolCommand.js +62 -0
  22. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +64 -0
  23. package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js +79 -0
  24. package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js +62 -0
  25. package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js +60 -0
  26. package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js +60 -0
  27. package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js +98 -0
  28. package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js +60 -0
  29. package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js +73 -0
  30. package/dist-cjs/commands/DescribeLifecycleHooksCommand.js +60 -0
  31. package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js +79 -0
  32. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +81 -0
  33. package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js +62 -0
  34. package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js +61 -0
  35. package/dist-cjs/commands/DescribePoliciesCommand.js +60 -0
  36. package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +68 -0
  37. package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js +61 -0
  38. package/dist-cjs/commands/DescribeScheduledActionsCommand.js +63 -0
  39. package/dist-cjs/commands/DescribeTagsCommand.js +68 -0
  40. package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js +63 -0
  41. package/dist-cjs/commands/DescribeWarmPoolCommand.js +62 -0
  42. package/dist-cjs/commands/DetachInstancesCommand.js +69 -0
  43. package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js +60 -0
  44. package/dist-cjs/commands/DetachLoadBalancersCommand.js +65 -0
  45. package/dist-cjs/commands/DisableMetricsCollectionCommand.js +60 -0
  46. package/dist-cjs/commands/EnableMetricsCollectionCommand.js +61 -0
  47. package/dist-cjs/commands/EnterStandbyCommand.js +69 -0
  48. package/dist-cjs/commands/ExecutePolicyCommand.js +61 -0
  49. package/dist-cjs/commands/ExitStandbyCommand.js +65 -0
  50. package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js +68 -0
  51. package/dist-cjs/commands/PutLifecycleHookCommand.js +97 -0
  52. package/dist-cjs/commands/PutNotificationConfigurationCommand.js +68 -0
  53. package/dist-cjs/commands/PutScalingPolicyCommand.js +69 -0
  54. package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js +64 -0
  55. package/dist-cjs/commands/PutWarmPoolCommand.js +69 -0
  56. package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js +92 -0
  57. package/dist-cjs/commands/ResumeProcessesCommand.js +63 -0
  58. package/dist-cjs/commands/SetDesiredCapacityCommand.js +65 -0
  59. package/dist-cjs/commands/SetInstanceHealthCommand.js +62 -0
  60. package/dist-cjs/commands/SetInstanceProtectionCommand.js +66 -0
  61. package/dist-cjs/commands/StartInstanceRefreshCommand.js +74 -0
  62. package/dist-cjs/commands/SuspendProcessesCommand.js +66 -0
  63. package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js +71 -0
  64. package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js +104 -0
  65. package/dist-cjs/endpoints.js +56 -0
  66. package/dist-cjs/index.js +79 -0
  67. package/dist-cjs/models/index.js +4 -0
  68. package/dist-cjs/models/models_0.js +1519 -0
  69. package/dist-cjs/pagination/DescribeAutoScalingGroupsPaginator.js +45 -0
  70. package/dist-cjs/pagination/DescribeAutoScalingInstancesPaginator.js +45 -0
  71. package/dist-cjs/pagination/DescribeLaunchConfigurationsPaginator.js +45 -0
  72. package/dist-cjs/pagination/DescribeNotificationConfigurationsPaginator.js +45 -0
  73. package/dist-cjs/pagination/DescribePoliciesPaginator.js +45 -0
  74. package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js +45 -0
  75. package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +45 -0
  76. package/dist-cjs/pagination/DescribeTagsPaginator.js +45 -0
  77. package/dist-cjs/pagination/Interfaces.js +2 -0
  78. package/dist-cjs/protocols/Aws_query.js +8275 -0
  79. package/dist-cjs/runtimeConfig.browser.js +41 -0
  80. package/dist-cjs/runtimeConfig.js +46 -0
  81. package/dist-cjs/runtimeConfig.native.js +19 -0
  82. package/dist-cjs/runtimeConfig.shared.js +20 -0
  83. package/dist-cjs/waiters/waitForGroupExists.js +54 -0
  84. package/dist-cjs/waiters/waitForGroupInService.js +76 -0
  85. package/dist-cjs/waiters/waitForGroupNotExists.js +54 -0
  86. package/dist-es/AutoScaling.js +925 -0
  87. package/dist-es/AutoScalingClient.js +37 -0
  88. package/dist-es/commands/AttachInstancesCommand.js +39 -0
  89. package/dist-es/commands/AttachLoadBalancerTargetGroupsCommand.js +39 -0
  90. package/dist-es/commands/AttachLoadBalancersCommand.js +39 -0
  91. package/dist-es/commands/BatchDeleteScheduledActionCommand.js +39 -0
  92. package/dist-es/commands/BatchPutScheduledUpdateGroupActionCommand.js +39 -0
  93. package/dist-es/commands/CancelInstanceRefreshCommand.js +39 -0
  94. package/dist-es/commands/CompleteLifecycleActionCommand.js +39 -0
  95. package/dist-es/commands/CreateAutoScalingGroupCommand.js +39 -0
  96. package/dist-es/commands/CreateLaunchConfigurationCommand.js +39 -0
  97. package/dist-es/commands/CreateOrUpdateTagsCommand.js +39 -0
  98. package/dist-es/commands/DeleteAutoScalingGroupCommand.js +39 -0
  99. package/dist-es/commands/DeleteLaunchConfigurationCommand.js +39 -0
  100. package/dist-es/commands/DeleteLifecycleHookCommand.js +39 -0
  101. package/dist-es/commands/DeleteNotificationConfigurationCommand.js +39 -0
  102. package/dist-es/commands/DeletePolicyCommand.js +39 -0
  103. package/dist-es/commands/DeleteScheduledActionCommand.js +39 -0
  104. package/dist-es/commands/DeleteTagsCommand.js +39 -0
  105. package/dist-es/commands/DeleteWarmPoolCommand.js +39 -0
  106. package/dist-es/commands/DescribeAccountLimitsCommand.js +39 -0
  107. package/dist-es/commands/DescribeAdjustmentTypesCommand.js +39 -0
  108. package/dist-es/commands/DescribeAutoScalingGroupsCommand.js +39 -0
  109. package/dist-es/commands/DescribeAutoScalingInstancesCommand.js +39 -0
  110. package/dist-es/commands/DescribeAutoScalingNotificationTypesCommand.js +39 -0
  111. package/dist-es/commands/DescribeInstanceRefreshesCommand.js +39 -0
  112. package/dist-es/commands/DescribeLaunchConfigurationsCommand.js +39 -0
  113. package/dist-es/commands/DescribeLifecycleHookTypesCommand.js +39 -0
  114. package/dist-es/commands/DescribeLifecycleHooksCommand.js +39 -0
  115. package/dist-es/commands/DescribeLoadBalancerTargetGroupsCommand.js +39 -0
  116. package/dist-es/commands/DescribeLoadBalancersCommand.js +39 -0
  117. package/dist-es/commands/DescribeMetricCollectionTypesCommand.js +39 -0
  118. package/dist-es/commands/DescribeNotificationConfigurationsCommand.js +39 -0
  119. package/dist-es/commands/DescribePoliciesCommand.js +39 -0
  120. package/dist-es/commands/DescribeScalingActivitiesCommand.js +39 -0
  121. package/dist-es/commands/DescribeScalingProcessTypesCommand.js +39 -0
  122. package/dist-es/commands/DescribeScheduledActionsCommand.js +39 -0
  123. package/dist-es/commands/DescribeTagsCommand.js +39 -0
  124. package/dist-es/commands/DescribeTerminationPolicyTypesCommand.js +39 -0
  125. package/dist-es/commands/DescribeWarmPoolCommand.js +39 -0
  126. package/dist-es/commands/DetachInstancesCommand.js +39 -0
  127. package/dist-es/commands/DetachLoadBalancerTargetGroupsCommand.js +39 -0
  128. package/dist-es/commands/DetachLoadBalancersCommand.js +39 -0
  129. package/dist-es/commands/DisableMetricsCollectionCommand.js +39 -0
  130. package/dist-es/commands/EnableMetricsCollectionCommand.js +39 -0
  131. package/dist-es/commands/EnterStandbyCommand.js +39 -0
  132. package/dist-es/commands/ExecutePolicyCommand.js +39 -0
  133. package/dist-es/commands/ExitStandbyCommand.js +39 -0
  134. package/dist-es/commands/GetPredictiveScalingForecastCommand.js +39 -0
  135. package/dist-es/commands/PutLifecycleHookCommand.js +39 -0
  136. package/dist-es/commands/PutNotificationConfigurationCommand.js +39 -0
  137. package/dist-es/commands/PutScalingPolicyCommand.js +39 -0
  138. package/dist-es/commands/PutScheduledUpdateGroupActionCommand.js +39 -0
  139. package/dist-es/commands/PutWarmPoolCommand.js +39 -0
  140. package/dist-es/commands/RecordLifecycleActionHeartbeatCommand.js +39 -0
  141. package/dist-es/commands/ResumeProcessesCommand.js +39 -0
  142. package/dist-es/commands/SetDesiredCapacityCommand.js +39 -0
  143. package/dist-es/commands/SetInstanceHealthCommand.js +39 -0
  144. package/dist-es/commands/SetInstanceProtectionCommand.js +39 -0
  145. package/dist-es/commands/StartInstanceRefreshCommand.js +39 -0
  146. package/dist-es/commands/SuspendProcessesCommand.js +39 -0
  147. package/dist-es/commands/TerminateInstanceInAutoScalingGroupCommand.js +39 -0
  148. package/dist-es/commands/UpdateAutoScalingGroupCommand.js +39 -0
  149. package/dist-es/endpoints.js +52 -0
  150. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  151. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  152. package/dist-es/models/models_0.js +739 -0
  153. package/dist-es/pagination/DescribeAutoScalingGroupsPaginator.js +74 -0
  154. package/dist-es/pagination/DescribeAutoScalingInstancesPaginator.js +74 -0
  155. package/dist-es/pagination/DescribeLaunchConfigurationsPaginator.js +74 -0
  156. package/dist-es/pagination/DescribeNotificationConfigurationsPaginator.js +74 -0
  157. package/dist-es/pagination/DescribePoliciesPaginator.js +74 -0
  158. package/dist-es/pagination/DescribeScalingActivitiesPaginator.js +74 -0
  159. package/dist-es/pagination/DescribeScheduledActionsPaginator.js +74 -0
  160. package/dist-es/pagination/DescribeTagsPaginator.js +74 -0
  161. package/dist-es/pagination/Interfaces.js +1 -0
  162. package/dist-es/protocols/Aws_query.js +9124 -0
  163. package/dist-es/runtimeConfig.browser.js +16 -0
  164. package/dist-es/runtimeConfig.js +21 -0
  165. package/dist-es/runtimeConfig.native.js +8 -0
  166. package/dist-es/runtimeConfig.shared.js +13 -0
  167. package/dist-es/waiters/waitForGroupExists.js +60 -0
  168. package/dist-es/waiters/waitForGroupInService.js +82 -0
  169. package/dist-es/waiters/waitForGroupNotExists.js +60 -0
  170. package/dist-types/AutoScaling.d.ts +941 -0
  171. package/dist-types/AutoScalingClient.d.ts +206 -0
  172. package/dist-types/commands/AttachInstancesCommand.d.ts +44 -0
  173. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +53 -0
  174. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +45 -0
  175. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +35 -0
  176. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +35 -0
  177. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +40 -0
  178. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +66 -0
  179. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +53 -0
  180. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +41 -0
  181. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +39 -0
  182. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +44 -0
  183. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +37 -0
  184. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +38 -0
  185. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +35 -0
  186. package/dist-types/commands/DeletePolicyCommand.d.ts +40 -0
  187. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +35 -0
  188. package/dist-types/commands/DeleteTagsCommand.d.ts +35 -0
  189. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +37 -0
  190. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +39 -0
  191. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +54 -0
  192. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +37 -0
  193. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +35 -0
  194. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +35 -0
  195. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +73 -0
  196. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +35 -0
  197. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +48 -0
  198. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +35 -0
  199. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +54 -0
  200. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +56 -0
  201. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +37 -0
  202. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +36 -0
  203. package/dist-types/commands/DescribePoliciesCommand.d.ts +35 -0
  204. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +43 -0
  205. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +36 -0
  206. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +38 -0
  207. package/dist-types/commands/DescribeTagsCommand.d.ts +43 -0
  208. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +38 -0
  209. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +37 -0
  210. package/dist-types/commands/DetachInstancesCommand.d.ts +44 -0
  211. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +35 -0
  212. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +40 -0
  213. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +35 -0
  214. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +36 -0
  215. package/dist-types/commands/EnterStandbyCommand.d.ts +44 -0
  216. package/dist-types/commands/ExecutePolicyCommand.d.ts +36 -0
  217. package/dist-types/commands/ExitStandbyCommand.d.ts +40 -0
  218. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +43 -0
  219. package/dist-types/commands/PutLifecycleHookCommand.d.ts +72 -0
  220. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +43 -0
  221. package/dist-types/commands/PutScalingPolicyCommand.d.ts +44 -0
  222. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +39 -0
  223. package/dist-types/commands/PutWarmPoolCommand.d.ts +44 -0
  224. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +67 -0
  225. package/dist-types/commands/ResumeProcessesCommand.d.ts +38 -0
  226. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +40 -0
  227. package/dist-types/commands/SetInstanceHealthCommand.d.ts +37 -0
  228. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +41 -0
  229. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +49 -0
  230. package/dist-types/commands/SuspendProcessesCommand.d.ts +41 -0
  231. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +46 -0
  232. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +79 -0
  233. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  234. package/{index.ts → dist-types/index.d.ts} +0 -0
  235. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  236. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  237. package/dist-types/pagination/DescribeAutoScalingGroupsPaginator.d.ts +4 -0
  238. package/dist-types/pagination/DescribeAutoScalingInstancesPaginator.d.ts +4 -0
  239. package/dist-types/pagination/DescribeLaunchConfigurationsPaginator.d.ts +4 -0
  240. package/dist-types/pagination/DescribeNotificationConfigurationsPaginator.d.ts +4 -0
  241. package/dist-types/pagination/DescribePoliciesPaginator.d.ts +4 -0
  242. package/dist-types/pagination/DescribeScalingActivitiesPaginator.d.ts +4 -0
  243. package/dist-types/pagination/DescribeScheduledActionsPaginator.d.ts +4 -0
  244. package/dist-types/pagination/DescribeTagsPaginator.d.ts +4 -0
  245. package/dist-types/pagination/Interfaces.d.ts +6 -0
  246. package/dist-types/protocols/Aws_query.d.ts +185 -0
  247. package/dist-types/runtimeConfig.browser.d.ts +37 -0
  248. package/dist-types/runtimeConfig.d.ts +37 -0
  249. package/dist-types/runtimeConfig.native.d.ts +36 -0
  250. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  251. package/dist-types/ts3.4/AutoScaling.d.ts +941 -0
  252. package/dist-types/ts3.4/AutoScalingClient.d.ts +206 -0
  253. package/dist-types/ts3.4/commands/AttachInstancesCommand.d.ts +44 -0
  254. package/dist-types/ts3.4/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +53 -0
  255. package/dist-types/ts3.4/commands/AttachLoadBalancersCommand.d.ts +45 -0
  256. package/dist-types/ts3.4/commands/BatchDeleteScheduledActionCommand.d.ts +35 -0
  257. package/dist-types/ts3.4/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +35 -0
  258. package/dist-types/ts3.4/commands/CancelInstanceRefreshCommand.d.ts +40 -0
  259. package/dist-types/ts3.4/commands/CompleteLifecycleActionCommand.d.ts +66 -0
  260. package/dist-types/ts3.4/commands/CreateAutoScalingGroupCommand.d.ts +53 -0
  261. package/dist-types/ts3.4/commands/CreateLaunchConfigurationCommand.d.ts +41 -0
  262. package/dist-types/ts3.4/commands/CreateOrUpdateTagsCommand.d.ts +39 -0
  263. package/dist-types/ts3.4/commands/DeleteAutoScalingGroupCommand.d.ts +44 -0
  264. package/dist-types/ts3.4/commands/DeleteLaunchConfigurationCommand.d.ts +37 -0
  265. package/dist-types/ts3.4/commands/DeleteLifecycleHookCommand.d.ts +38 -0
  266. package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +35 -0
  267. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +40 -0
  268. package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +35 -0
  269. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +35 -0
  270. package/dist-types/ts3.4/commands/DeleteWarmPoolCommand.d.ts +37 -0
  271. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +39 -0
  272. package/dist-types/ts3.4/commands/DescribeAdjustmentTypesCommand.d.ts +54 -0
  273. package/dist-types/ts3.4/commands/DescribeAutoScalingGroupsCommand.d.ts +37 -0
  274. package/dist-types/ts3.4/commands/DescribeAutoScalingInstancesCommand.d.ts +35 -0
  275. package/dist-types/ts3.4/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +35 -0
  276. package/dist-types/ts3.4/commands/DescribeInstanceRefreshesCommand.d.ts +73 -0
  277. package/dist-types/ts3.4/commands/DescribeLaunchConfigurationsCommand.d.ts +35 -0
  278. package/dist-types/ts3.4/commands/DescribeLifecycleHookTypesCommand.d.ts +48 -0
  279. package/dist-types/ts3.4/commands/DescribeLifecycleHooksCommand.d.ts +35 -0
  280. package/dist-types/ts3.4/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +54 -0
  281. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +56 -0
  282. package/dist-types/ts3.4/commands/DescribeMetricCollectionTypesCommand.d.ts +37 -0
  283. package/dist-types/ts3.4/commands/DescribeNotificationConfigurationsCommand.d.ts +36 -0
  284. package/dist-types/ts3.4/commands/DescribePoliciesCommand.d.ts +35 -0
  285. package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +43 -0
  286. package/dist-types/ts3.4/commands/DescribeScalingProcessTypesCommand.d.ts +36 -0
  287. package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +38 -0
  288. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +43 -0
  289. package/dist-types/ts3.4/commands/DescribeTerminationPolicyTypesCommand.d.ts +38 -0
  290. package/dist-types/ts3.4/commands/DescribeWarmPoolCommand.d.ts +37 -0
  291. package/dist-types/ts3.4/commands/DetachInstancesCommand.d.ts +44 -0
  292. package/dist-types/ts3.4/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +35 -0
  293. package/dist-types/ts3.4/commands/DetachLoadBalancersCommand.d.ts +40 -0
  294. package/dist-types/ts3.4/commands/DisableMetricsCollectionCommand.d.ts +35 -0
  295. package/dist-types/ts3.4/commands/EnableMetricsCollectionCommand.d.ts +36 -0
  296. package/dist-types/ts3.4/commands/EnterStandbyCommand.d.ts +44 -0
  297. package/dist-types/ts3.4/commands/ExecutePolicyCommand.d.ts +36 -0
  298. package/dist-types/ts3.4/commands/ExitStandbyCommand.d.ts +40 -0
  299. package/dist-types/ts3.4/commands/GetPredictiveScalingForecastCommand.d.ts +43 -0
  300. package/dist-types/ts3.4/commands/PutLifecycleHookCommand.d.ts +72 -0
  301. package/dist-types/ts3.4/commands/PutNotificationConfigurationCommand.d.ts +43 -0
  302. package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +44 -0
  303. package/dist-types/ts3.4/commands/PutScheduledUpdateGroupActionCommand.d.ts +39 -0
  304. package/dist-types/ts3.4/commands/PutWarmPoolCommand.d.ts +44 -0
  305. package/dist-types/ts3.4/commands/RecordLifecycleActionHeartbeatCommand.d.ts +67 -0
  306. package/dist-types/ts3.4/commands/ResumeProcessesCommand.d.ts +38 -0
  307. package/dist-types/ts3.4/commands/SetDesiredCapacityCommand.d.ts +40 -0
  308. package/dist-types/ts3.4/commands/SetInstanceHealthCommand.d.ts +37 -0
  309. package/dist-types/ts3.4/commands/SetInstanceProtectionCommand.d.ts +41 -0
  310. package/dist-types/ts3.4/commands/StartInstanceRefreshCommand.d.ts +49 -0
  311. package/dist-types/ts3.4/commands/SuspendProcessesCommand.d.ts +41 -0
  312. package/dist-types/ts3.4/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +46 -0
  313. package/dist-types/ts3.4/commands/UpdateAutoScalingGroupCommand.d.ts +79 -0
  314. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  315. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  316. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  317. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  318. package/dist-types/ts3.4/pagination/DescribeAutoScalingGroupsPaginator.d.ts +4 -0
  319. package/dist-types/ts3.4/pagination/DescribeAutoScalingInstancesPaginator.d.ts +4 -0
  320. package/dist-types/ts3.4/pagination/DescribeLaunchConfigurationsPaginator.d.ts +4 -0
  321. package/dist-types/ts3.4/pagination/DescribeNotificationConfigurationsPaginator.d.ts +4 -0
  322. package/dist-types/ts3.4/pagination/DescribePoliciesPaginator.d.ts +4 -0
  323. package/dist-types/ts3.4/pagination/DescribeScalingActivitiesPaginator.d.ts +4 -0
  324. package/dist-types/ts3.4/pagination/DescribeScheduledActionsPaginator.d.ts +4 -0
  325. package/dist-types/ts3.4/pagination/DescribeTagsPaginator.d.ts +4 -0
  326. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  327. package/dist-types/ts3.4/protocols/Aws_query.d.ts +185 -0
  328. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  329. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  330. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  331. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  332. package/dist-types/ts3.4/waiters/waitForGroupExists.d.ts +14 -0
  333. package/dist-types/ts3.4/waiters/waitForGroupInService.d.ts +14 -0
  334. package/dist-types/ts3.4/waiters/waitForGroupNotExists.d.ts +14 -0
  335. package/dist-types/waiters/waitForGroupExists.d.ts +14 -0
  336. package/dist-types/waiters/waitForGroupInService.d.ts +14 -0
  337. package/dist-types/waiters/waitForGroupNotExists.d.ts +14 -0
  338. package/package.json +53 -50
  339. package/AutoScaling.ts +0 -2732
  340. package/AutoScalingClient.ts +0 -557
  341. package/commands/AttachInstancesCommand.ts +0 -103
  342. package/commands/AttachLoadBalancerTargetGroupsCommand.ts +0 -120
  343. package/commands/AttachLoadBalancersCommand.ts +0 -104
  344. package/commands/BatchDeleteScheduledActionCommand.ts +0 -97
  345. package/commands/BatchPutScheduledUpdateGroupActionCommand.ts +0 -102
  346. package/commands/CancelInstanceRefreshCommand.ts +0 -99
  347. package/commands/CompleteLifecycleActionCommand.ts +0 -125
  348. package/commands/CreateAutoScalingGroupCommand.ts +0 -112
  349. package/commands/CreateLaunchConfigurationCommand.ts +0 -103
  350. package/commands/CreateOrUpdateTagsCommand.ts +0 -98
  351. package/commands/DeleteAutoScalingGroupCommand.ts +0 -103
  352. package/commands/DeleteLaunchConfigurationCommand.ts +0 -99
  353. package/commands/DeleteLifecycleHookCommand.ts +0 -97
  354. package/commands/DeleteNotificationConfigurationCommand.ts +0 -100
  355. package/commands/DeletePolicyCommand.ts +0 -96
  356. package/commands/DeleteScheduledActionCommand.ts +0 -94
  357. package/commands/DeleteTagsCommand.ts +0 -91
  358. package/commands/DeleteWarmPoolCommand.ts +0 -96
  359. package/commands/DescribeAccountLimitsCommand.ts +0 -98
  360. package/commands/DescribeAdjustmentTypesCommand.ts +0 -113
  361. package/commands/DescribeAutoScalingGroupsCommand.ts +0 -99
  362. package/commands/DescribeAutoScalingInstancesCommand.ts +0 -97
  363. package/commands/DescribeAutoScalingNotificationTypesCommand.ts +0 -102
  364. package/commands/DescribeInstanceRefreshesCommand.ts +0 -135
  365. package/commands/DescribeLaunchConfigurationsCommand.ts +0 -97
  366. package/commands/DescribeLifecycleHookTypesCommand.ts +0 -110
  367. package/commands/DescribeLifecycleHooksCommand.ts +0 -94
  368. package/commands/DescribeLoadBalancerTargetGroupsCommand.ts +0 -121
  369. package/commands/DescribeLoadBalancersCommand.ts +0 -115
  370. package/commands/DescribeMetricCollectionTypesCommand.ts +0 -101
  371. package/commands/DescribeNotificationConfigurationsCommand.ts +0 -103
  372. package/commands/DescribePoliciesCommand.ts +0 -94
  373. package/commands/DescribeScalingActivitiesCommand.ts +0 -105
  374. package/commands/DescribeScalingProcessTypesCommand.ts +0 -98
  375. package/commands/DescribeScheduledActionsCommand.ts +0 -97
  376. package/commands/DescribeTagsCommand.ts +0 -99
  377. package/commands/DescribeTerminationPolicyTypesCommand.ts +0 -105
  378. package/commands/DescribeWarmPoolCommand.ts +0 -96
  379. package/commands/DetachInstancesCommand.ts +0 -103
  380. package/commands/DetachLoadBalancerTargetGroupsCommand.ts +0 -102
  381. package/commands/DetachLoadBalancersCommand.ts +0 -99
  382. package/commands/DisableMetricsCollectionCommand.ts +0 -94
  383. package/commands/EnableMetricsCollectionCommand.ts +0 -95
  384. package/commands/EnterStandbyCommand.ts +0 -100
  385. package/commands/ExecutePolicyCommand.ts +0 -95
  386. package/commands/ExitStandbyCommand.ts +0 -96
  387. package/commands/GetPredictiveScalingForecastCommand.ts +0 -107
  388. package/commands/PutLifecycleHookCommand.ts +0 -131
  389. package/commands/PutNotificationConfigurationCommand.ts +0 -105
  390. package/commands/PutScalingPolicyCommand.ts +0 -103
  391. package/commands/PutScheduledUpdateGroupActionCommand.ts +0 -101
  392. package/commands/PutWarmPoolCommand.ts +0 -100
  393. package/commands/RecordLifecycleActionHeartbeatCommand.ts +0 -134
  394. package/commands/ResumeProcessesCommand.ts +0 -97
  395. package/commands/SetDesiredCapacityCommand.ts +0 -99
  396. package/commands/SetInstanceHealthCommand.ts +0 -96
  397. package/commands/SetInstanceProtectionCommand.ts +0 -100
  398. package/commands/StartInstanceRefreshCommand.ts +0 -108
  399. package/commands/SuspendProcessesCommand.ts +0 -100
  400. package/commands/TerminateInstanceInAutoScalingGroupCommand.ts +0 -111
  401. package/commands/UpdateAutoScalingGroupCommand.ts +0 -138
  402. package/dist/cjs/AutoScaling.js +0 -939
  403. package/dist/cjs/AutoScaling.js.map +0 -1
  404. package/dist/cjs/AutoScalingClient.js +0 -57
  405. package/dist/cjs/AutoScalingClient.js.map +0 -1
  406. package/dist/cjs/commands/AttachInstancesCommand.js +0 -70
  407. package/dist/cjs/commands/AttachInstancesCommand.js.map +0 -1
  408. package/dist/cjs/commands/AttachLoadBalancerTargetGroupsCommand.js +0 -79
  409. package/dist/cjs/commands/AttachLoadBalancerTargetGroupsCommand.js.map +0 -1
  410. package/dist/cjs/commands/AttachLoadBalancersCommand.js +0 -71
  411. package/dist/cjs/commands/AttachLoadBalancersCommand.js.map +0 -1
  412. package/dist/cjs/commands/BatchDeleteScheduledActionCommand.js +0 -61
  413. package/dist/cjs/commands/BatchDeleteScheduledActionCommand.js.map +0 -1
  414. package/dist/cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js +0 -61
  415. package/dist/cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js.map +0 -1
  416. package/dist/cjs/commands/CancelInstanceRefreshCommand.js +0 -66
  417. package/dist/cjs/commands/CancelInstanceRefreshCommand.js.map +0 -1
  418. package/dist/cjs/commands/CompleteLifecycleActionCommand.js +0 -92
  419. package/dist/cjs/commands/CompleteLifecycleActionCommand.js.map +0 -1
  420. package/dist/cjs/commands/CreateAutoScalingGroupCommand.js +0 -79
  421. package/dist/cjs/commands/CreateAutoScalingGroupCommand.js.map +0 -1
  422. package/dist/cjs/commands/CreateLaunchConfigurationCommand.js +0 -67
  423. package/dist/cjs/commands/CreateLaunchConfigurationCommand.js.map +0 -1
  424. package/dist/cjs/commands/CreateOrUpdateTagsCommand.js +0 -65
  425. package/dist/cjs/commands/CreateOrUpdateTagsCommand.js.map +0 -1
  426. package/dist/cjs/commands/DeleteAutoScalingGroupCommand.js +0 -70
  427. package/dist/cjs/commands/DeleteAutoScalingGroupCommand.js.map +0 -1
  428. package/dist/cjs/commands/DeleteLaunchConfigurationCommand.js +0 -63
  429. package/dist/cjs/commands/DeleteLaunchConfigurationCommand.js.map +0 -1
  430. package/dist/cjs/commands/DeleteLifecycleHookCommand.js +0 -64
  431. package/dist/cjs/commands/DeleteLifecycleHookCommand.js.map +0 -1
  432. package/dist/cjs/commands/DeleteNotificationConfigurationCommand.js +0 -61
  433. package/dist/cjs/commands/DeleteNotificationConfigurationCommand.js.map +0 -1
  434. package/dist/cjs/commands/DeletePolicyCommand.js +0 -66
  435. package/dist/cjs/commands/DeletePolicyCommand.js.map +0 -1
  436. package/dist/cjs/commands/DeleteScheduledActionCommand.js +0 -61
  437. package/dist/cjs/commands/DeleteScheduledActionCommand.js.map +0 -1
  438. package/dist/cjs/commands/DeleteTagsCommand.js +0 -61
  439. package/dist/cjs/commands/DeleteTagsCommand.js.map +0 -1
  440. package/dist/cjs/commands/DeleteWarmPoolCommand.js +0 -63
  441. package/dist/cjs/commands/DeleteWarmPoolCommand.js.map +0 -1
  442. package/dist/cjs/commands/DescribeAccountLimitsCommand.js +0 -65
  443. package/dist/cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
  444. package/dist/cjs/commands/DescribeAdjustmentTypesCommand.js +0 -80
  445. package/dist/cjs/commands/DescribeAdjustmentTypesCommand.js.map +0 -1
  446. package/dist/cjs/commands/DescribeAutoScalingGroupsCommand.js +0 -63
  447. package/dist/cjs/commands/DescribeAutoScalingGroupsCommand.js.map +0 -1
  448. package/dist/cjs/commands/DescribeAutoScalingInstancesCommand.js +0 -61
  449. package/dist/cjs/commands/DescribeAutoScalingInstancesCommand.js.map +0 -1
  450. package/dist/cjs/commands/DescribeAutoScalingNotificationTypesCommand.js +0 -61
  451. package/dist/cjs/commands/DescribeAutoScalingNotificationTypesCommand.js.map +0 -1
  452. package/dist/cjs/commands/DescribeInstanceRefreshesCommand.js +0 -99
  453. package/dist/cjs/commands/DescribeInstanceRefreshesCommand.js.map +0 -1
  454. package/dist/cjs/commands/DescribeLaunchConfigurationsCommand.js +0 -61
  455. package/dist/cjs/commands/DescribeLaunchConfigurationsCommand.js.map +0 -1
  456. package/dist/cjs/commands/DescribeLifecycleHookTypesCommand.js +0 -74
  457. package/dist/cjs/commands/DescribeLifecycleHookTypesCommand.js.map +0 -1
  458. package/dist/cjs/commands/DescribeLifecycleHooksCommand.js +0 -61
  459. package/dist/cjs/commands/DescribeLifecycleHooksCommand.js.map +0 -1
  460. package/dist/cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js +0 -80
  461. package/dist/cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js.map +0 -1
  462. package/dist/cjs/commands/DescribeLoadBalancersCommand.js +0 -82
  463. package/dist/cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
  464. package/dist/cjs/commands/DescribeMetricCollectionTypesCommand.js +0 -63
  465. package/dist/cjs/commands/DescribeMetricCollectionTypesCommand.js.map +0 -1
  466. package/dist/cjs/commands/DescribeNotificationConfigurationsCommand.js +0 -62
  467. package/dist/cjs/commands/DescribeNotificationConfigurationsCommand.js.map +0 -1
  468. package/dist/cjs/commands/DescribePoliciesCommand.js +0 -61
  469. package/dist/cjs/commands/DescribePoliciesCommand.js.map +0 -1
  470. package/dist/cjs/commands/DescribeScalingActivitiesCommand.js +0 -69
  471. package/dist/cjs/commands/DescribeScalingActivitiesCommand.js.map +0 -1
  472. package/dist/cjs/commands/DescribeScalingProcessTypesCommand.js +0 -62
  473. package/dist/cjs/commands/DescribeScalingProcessTypesCommand.js.map +0 -1
  474. package/dist/cjs/commands/DescribeScheduledActionsCommand.js +0 -64
  475. package/dist/cjs/commands/DescribeScheduledActionsCommand.js.map +0 -1
  476. package/dist/cjs/commands/DescribeTagsCommand.js +0 -69
  477. package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
  478. package/dist/cjs/commands/DescribeTerminationPolicyTypesCommand.js +0 -64
  479. package/dist/cjs/commands/DescribeTerminationPolicyTypesCommand.js.map +0 -1
  480. package/dist/cjs/commands/DescribeWarmPoolCommand.js +0 -63
  481. package/dist/cjs/commands/DescribeWarmPoolCommand.js.map +0 -1
  482. package/dist/cjs/commands/DetachInstancesCommand.js +0 -70
  483. package/dist/cjs/commands/DetachInstancesCommand.js.map +0 -1
  484. package/dist/cjs/commands/DetachLoadBalancerTargetGroupsCommand.js +0 -61
  485. package/dist/cjs/commands/DetachLoadBalancerTargetGroupsCommand.js.map +0 -1
  486. package/dist/cjs/commands/DetachLoadBalancersCommand.js +0 -66
  487. package/dist/cjs/commands/DetachLoadBalancersCommand.js.map +0 -1
  488. package/dist/cjs/commands/DisableMetricsCollectionCommand.js +0 -61
  489. package/dist/cjs/commands/DisableMetricsCollectionCommand.js.map +0 -1
  490. package/dist/cjs/commands/EnableMetricsCollectionCommand.js +0 -62
  491. package/dist/cjs/commands/EnableMetricsCollectionCommand.js.map +0 -1
  492. package/dist/cjs/commands/EnterStandbyCommand.js +0 -70
  493. package/dist/cjs/commands/EnterStandbyCommand.js.map +0 -1
  494. package/dist/cjs/commands/ExecutePolicyCommand.js +0 -62
  495. package/dist/cjs/commands/ExecutePolicyCommand.js.map +0 -1
  496. package/dist/cjs/commands/ExitStandbyCommand.js +0 -66
  497. package/dist/cjs/commands/ExitStandbyCommand.js.map +0 -1
  498. package/dist/cjs/commands/GetPredictiveScalingForecastCommand.js +0 -69
  499. package/dist/cjs/commands/GetPredictiveScalingForecastCommand.js.map +0 -1
  500. package/dist/cjs/commands/PutLifecycleHookCommand.js +0 -98
  501. package/dist/cjs/commands/PutLifecycleHookCommand.js.map +0 -1
  502. package/dist/cjs/commands/PutNotificationConfigurationCommand.js +0 -69
  503. package/dist/cjs/commands/PutNotificationConfigurationCommand.js.map +0 -1
  504. package/dist/cjs/commands/PutScalingPolicyCommand.js +0 -70
  505. package/dist/cjs/commands/PutScalingPolicyCommand.js.map +0 -1
  506. package/dist/cjs/commands/PutScheduledUpdateGroupActionCommand.js +0 -65
  507. package/dist/cjs/commands/PutScheduledUpdateGroupActionCommand.js.map +0 -1
  508. package/dist/cjs/commands/PutWarmPoolCommand.js +0 -70
  509. package/dist/cjs/commands/PutWarmPoolCommand.js.map +0 -1
  510. package/dist/cjs/commands/RecordLifecycleActionHeartbeatCommand.js +0 -93
  511. package/dist/cjs/commands/RecordLifecycleActionHeartbeatCommand.js.map +0 -1
  512. package/dist/cjs/commands/ResumeProcessesCommand.js +0 -64
  513. package/dist/cjs/commands/ResumeProcessesCommand.js.map +0 -1
  514. package/dist/cjs/commands/SetDesiredCapacityCommand.js +0 -66
  515. package/dist/cjs/commands/SetDesiredCapacityCommand.js.map +0 -1
  516. package/dist/cjs/commands/SetInstanceHealthCommand.js +0 -63
  517. package/dist/cjs/commands/SetInstanceHealthCommand.js.map +0 -1
  518. package/dist/cjs/commands/SetInstanceProtectionCommand.js +0 -67
  519. package/dist/cjs/commands/SetInstanceProtectionCommand.js.map +0 -1
  520. package/dist/cjs/commands/StartInstanceRefreshCommand.js +0 -75
  521. package/dist/cjs/commands/StartInstanceRefreshCommand.js.map +0 -1
  522. package/dist/cjs/commands/SuspendProcessesCommand.js +0 -67
  523. package/dist/cjs/commands/SuspendProcessesCommand.js.map +0 -1
  524. package/dist/cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js +0 -72
  525. package/dist/cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js.map +0 -1
  526. package/dist/cjs/commands/UpdateAutoScalingGroupCommand.js +0 -105
  527. package/dist/cjs/commands/UpdateAutoScalingGroupCommand.js.map +0 -1
  528. package/dist/cjs/endpoints.js +0 -57
  529. package/dist/cjs/endpoints.js.map +0 -1
  530. package/dist/cjs/index.js +0 -80
  531. package/dist/cjs/index.js.map +0 -1
  532. package/dist/cjs/models/index.js +0 -5
  533. package/dist/cjs/models/index.js.map +0 -1
  534. package/dist/cjs/models/models_0.js +0 -1520
  535. package/dist/cjs/models/models_0.js.map +0 -1
  536. package/dist/cjs/package.json +0 -94
  537. package/dist/cjs/pagination/DescribeAutoScalingGroupsPaginator.js +0 -46
  538. package/dist/cjs/pagination/DescribeAutoScalingGroupsPaginator.js.map +0 -1
  539. package/dist/cjs/pagination/DescribeAutoScalingInstancesPaginator.js +0 -46
  540. package/dist/cjs/pagination/DescribeAutoScalingInstancesPaginator.js.map +0 -1
  541. package/dist/cjs/pagination/DescribeLaunchConfigurationsPaginator.js +0 -46
  542. package/dist/cjs/pagination/DescribeLaunchConfigurationsPaginator.js.map +0 -1
  543. package/dist/cjs/pagination/DescribeNotificationConfigurationsPaginator.js +0 -46
  544. package/dist/cjs/pagination/DescribeNotificationConfigurationsPaginator.js.map +0 -1
  545. package/dist/cjs/pagination/DescribePoliciesPaginator.js +0 -46
  546. package/dist/cjs/pagination/DescribePoliciesPaginator.js.map +0 -1
  547. package/dist/cjs/pagination/DescribeScalingActivitiesPaginator.js +0 -46
  548. package/dist/cjs/pagination/DescribeScalingActivitiesPaginator.js.map +0 -1
  549. package/dist/cjs/pagination/DescribeScheduledActionsPaginator.js +0 -46
  550. package/dist/cjs/pagination/DescribeScheduledActionsPaginator.js.map +0 -1
  551. package/dist/cjs/pagination/DescribeTagsPaginator.js +0 -46
  552. package/dist/cjs/pagination/DescribeTagsPaginator.js.map +0 -1
  553. package/dist/cjs/pagination/Interfaces.js +0 -3
  554. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  555. package/dist/cjs/protocols/Aws_query.js +0 -8276
  556. package/dist/cjs/protocols/Aws_query.js.map +0 -1
  557. package/dist/cjs/runtimeConfig.browser.js +0 -41
  558. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  559. package/dist/cjs/runtimeConfig.js +0 -46
  560. package/dist/cjs/runtimeConfig.js.map +0 -1
  561. package/dist/cjs/runtimeConfig.native.js +0 -20
  562. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  563. package/dist/cjs/runtimeConfig.shared.js +0 -21
  564. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  565. package/dist/cjs/waiters/waitForGroupExists.js +0 -55
  566. package/dist/cjs/waiters/waitForGroupExists.js.map +0 -1
  567. package/dist/cjs/waiters/waitForGroupInService.js +0 -77
  568. package/dist/cjs/waiters/waitForGroupInService.js.map +0 -1
  569. package/dist/cjs/waiters/waitForGroupNotExists.js +0 -55
  570. package/dist/cjs/waiters/waitForGroupNotExists.js.map +0 -1
  571. package/dist/es/AutoScaling.js +0 -942
  572. package/dist/es/AutoScaling.js.map +0 -1
  573. package/dist/es/AutoScalingClient.js +0 -59
  574. package/dist/es/AutoScalingClient.js.map +0 -1
  575. package/dist/es/commands/AttachInstancesCommand.js +0 -74
  576. package/dist/es/commands/AttachInstancesCommand.js.map +0 -1
  577. package/dist/es/commands/AttachLoadBalancerTargetGroupsCommand.js +0 -83
  578. package/dist/es/commands/AttachLoadBalancerTargetGroupsCommand.js.map +0 -1
  579. package/dist/es/commands/AttachLoadBalancersCommand.js +0 -75
  580. package/dist/es/commands/AttachLoadBalancersCommand.js.map +0 -1
  581. package/dist/es/commands/BatchDeleteScheduledActionCommand.js +0 -65
  582. package/dist/es/commands/BatchDeleteScheduledActionCommand.js.map +0 -1
  583. package/dist/es/commands/BatchPutScheduledUpdateGroupActionCommand.js +0 -65
  584. package/dist/es/commands/BatchPutScheduledUpdateGroupActionCommand.js.map +0 -1
  585. package/dist/es/commands/CancelInstanceRefreshCommand.js +0 -70
  586. package/dist/es/commands/CancelInstanceRefreshCommand.js.map +0 -1
  587. package/dist/es/commands/CompleteLifecycleActionCommand.js +0 -96
  588. package/dist/es/commands/CompleteLifecycleActionCommand.js.map +0 -1
  589. package/dist/es/commands/CreateAutoScalingGroupCommand.js +0 -83
  590. package/dist/es/commands/CreateAutoScalingGroupCommand.js.map +0 -1
  591. package/dist/es/commands/CreateLaunchConfigurationCommand.js +0 -71
  592. package/dist/es/commands/CreateLaunchConfigurationCommand.js.map +0 -1
  593. package/dist/es/commands/CreateOrUpdateTagsCommand.js +0 -69
  594. package/dist/es/commands/CreateOrUpdateTagsCommand.js.map +0 -1
  595. package/dist/es/commands/DeleteAutoScalingGroupCommand.js +0 -74
  596. package/dist/es/commands/DeleteAutoScalingGroupCommand.js.map +0 -1
  597. package/dist/es/commands/DeleteLaunchConfigurationCommand.js +0 -67
  598. package/dist/es/commands/DeleteLaunchConfigurationCommand.js.map +0 -1
  599. package/dist/es/commands/DeleteLifecycleHookCommand.js +0 -68
  600. package/dist/es/commands/DeleteLifecycleHookCommand.js.map +0 -1
  601. package/dist/es/commands/DeleteNotificationConfigurationCommand.js +0 -65
  602. package/dist/es/commands/DeleteNotificationConfigurationCommand.js.map +0 -1
  603. package/dist/es/commands/DeletePolicyCommand.js +0 -70
  604. package/dist/es/commands/DeletePolicyCommand.js.map +0 -1
  605. package/dist/es/commands/DeleteScheduledActionCommand.js +0 -65
  606. package/dist/es/commands/DeleteScheduledActionCommand.js.map +0 -1
  607. package/dist/es/commands/DeleteTagsCommand.js +0 -65
  608. package/dist/es/commands/DeleteTagsCommand.js.map +0 -1
  609. package/dist/es/commands/DeleteWarmPoolCommand.js +0 -67
  610. package/dist/es/commands/DeleteWarmPoolCommand.js.map +0 -1
  611. package/dist/es/commands/DescribeAccountLimitsCommand.js +0 -69
  612. package/dist/es/commands/DescribeAccountLimitsCommand.js.map +0 -1
  613. package/dist/es/commands/DescribeAdjustmentTypesCommand.js +0 -84
  614. package/dist/es/commands/DescribeAdjustmentTypesCommand.js.map +0 -1
  615. package/dist/es/commands/DescribeAutoScalingGroupsCommand.js +0 -67
  616. package/dist/es/commands/DescribeAutoScalingGroupsCommand.js.map +0 -1
  617. package/dist/es/commands/DescribeAutoScalingInstancesCommand.js +0 -65
  618. package/dist/es/commands/DescribeAutoScalingInstancesCommand.js.map +0 -1
  619. package/dist/es/commands/DescribeAutoScalingNotificationTypesCommand.js +0 -65
  620. package/dist/es/commands/DescribeAutoScalingNotificationTypesCommand.js.map +0 -1
  621. package/dist/es/commands/DescribeInstanceRefreshesCommand.js +0 -103
  622. package/dist/es/commands/DescribeInstanceRefreshesCommand.js.map +0 -1
  623. package/dist/es/commands/DescribeLaunchConfigurationsCommand.js +0 -65
  624. package/dist/es/commands/DescribeLaunchConfigurationsCommand.js.map +0 -1
  625. package/dist/es/commands/DescribeLifecycleHookTypesCommand.js +0 -78
  626. package/dist/es/commands/DescribeLifecycleHookTypesCommand.js.map +0 -1
  627. package/dist/es/commands/DescribeLifecycleHooksCommand.js +0 -65
  628. package/dist/es/commands/DescribeLifecycleHooksCommand.js.map +0 -1
  629. package/dist/es/commands/DescribeLoadBalancerTargetGroupsCommand.js +0 -84
  630. package/dist/es/commands/DescribeLoadBalancerTargetGroupsCommand.js.map +0 -1
  631. package/dist/es/commands/DescribeLoadBalancersCommand.js +0 -86
  632. package/dist/es/commands/DescribeLoadBalancersCommand.js.map +0 -1
  633. package/dist/es/commands/DescribeMetricCollectionTypesCommand.js +0 -67
  634. package/dist/es/commands/DescribeMetricCollectionTypesCommand.js.map +0 -1
  635. package/dist/es/commands/DescribeNotificationConfigurationsCommand.js +0 -66
  636. package/dist/es/commands/DescribeNotificationConfigurationsCommand.js.map +0 -1
  637. package/dist/es/commands/DescribePoliciesCommand.js +0 -65
  638. package/dist/es/commands/DescribePoliciesCommand.js.map +0 -1
  639. package/dist/es/commands/DescribeScalingActivitiesCommand.js +0 -73
  640. package/dist/es/commands/DescribeScalingActivitiesCommand.js.map +0 -1
  641. package/dist/es/commands/DescribeScalingProcessTypesCommand.js +0 -66
  642. package/dist/es/commands/DescribeScalingProcessTypesCommand.js.map +0 -1
  643. package/dist/es/commands/DescribeScheduledActionsCommand.js +0 -68
  644. package/dist/es/commands/DescribeScheduledActionsCommand.js.map +0 -1
  645. package/dist/es/commands/DescribeTagsCommand.js +0 -73
  646. package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
  647. package/dist/es/commands/DescribeTerminationPolicyTypesCommand.js +0 -68
  648. package/dist/es/commands/DescribeTerminationPolicyTypesCommand.js.map +0 -1
  649. package/dist/es/commands/DescribeWarmPoolCommand.js +0 -67
  650. package/dist/es/commands/DescribeWarmPoolCommand.js.map +0 -1
  651. package/dist/es/commands/DetachInstancesCommand.js +0 -74
  652. package/dist/es/commands/DetachInstancesCommand.js.map +0 -1
  653. package/dist/es/commands/DetachLoadBalancerTargetGroupsCommand.js +0 -65
  654. package/dist/es/commands/DetachLoadBalancerTargetGroupsCommand.js.map +0 -1
  655. package/dist/es/commands/DetachLoadBalancersCommand.js +0 -70
  656. package/dist/es/commands/DetachLoadBalancersCommand.js.map +0 -1
  657. package/dist/es/commands/DisableMetricsCollectionCommand.js +0 -65
  658. package/dist/es/commands/DisableMetricsCollectionCommand.js.map +0 -1
  659. package/dist/es/commands/EnableMetricsCollectionCommand.js +0 -66
  660. package/dist/es/commands/EnableMetricsCollectionCommand.js.map +0 -1
  661. package/dist/es/commands/EnterStandbyCommand.js +0 -74
  662. package/dist/es/commands/EnterStandbyCommand.js.map +0 -1
  663. package/dist/es/commands/ExecutePolicyCommand.js +0 -66
  664. package/dist/es/commands/ExecutePolicyCommand.js.map +0 -1
  665. package/dist/es/commands/ExitStandbyCommand.js +0 -70
  666. package/dist/es/commands/ExitStandbyCommand.js.map +0 -1
  667. package/dist/es/commands/GetPredictiveScalingForecastCommand.js +0 -73
  668. package/dist/es/commands/GetPredictiveScalingForecastCommand.js.map +0 -1
  669. package/dist/es/commands/PutLifecycleHookCommand.js +0 -102
  670. package/dist/es/commands/PutLifecycleHookCommand.js.map +0 -1
  671. package/dist/es/commands/PutNotificationConfigurationCommand.js +0 -73
  672. package/dist/es/commands/PutNotificationConfigurationCommand.js.map +0 -1
  673. package/dist/es/commands/PutScalingPolicyCommand.js +0 -74
  674. package/dist/es/commands/PutScalingPolicyCommand.js.map +0 -1
  675. package/dist/es/commands/PutScheduledUpdateGroupActionCommand.js +0 -69
  676. package/dist/es/commands/PutScheduledUpdateGroupActionCommand.js.map +0 -1
  677. package/dist/es/commands/PutWarmPoolCommand.js +0 -74
  678. package/dist/es/commands/PutWarmPoolCommand.js.map +0 -1
  679. package/dist/es/commands/RecordLifecycleActionHeartbeatCommand.js +0 -97
  680. package/dist/es/commands/RecordLifecycleActionHeartbeatCommand.js.map +0 -1
  681. package/dist/es/commands/ResumeProcessesCommand.js +0 -68
  682. package/dist/es/commands/ResumeProcessesCommand.js.map +0 -1
  683. package/dist/es/commands/SetDesiredCapacityCommand.js +0 -70
  684. package/dist/es/commands/SetDesiredCapacityCommand.js.map +0 -1
  685. package/dist/es/commands/SetInstanceHealthCommand.js +0 -67
  686. package/dist/es/commands/SetInstanceHealthCommand.js.map +0 -1
  687. package/dist/es/commands/SetInstanceProtectionCommand.js +0 -71
  688. package/dist/es/commands/SetInstanceProtectionCommand.js.map +0 -1
  689. package/dist/es/commands/StartInstanceRefreshCommand.js +0 -79
  690. package/dist/es/commands/StartInstanceRefreshCommand.js.map +0 -1
  691. package/dist/es/commands/SuspendProcessesCommand.js +0 -71
  692. package/dist/es/commands/SuspendProcessesCommand.js.map +0 -1
  693. package/dist/es/commands/TerminateInstanceInAutoScalingGroupCommand.js +0 -76
  694. package/dist/es/commands/TerminateInstanceInAutoScalingGroupCommand.js.map +0 -1
  695. package/dist/es/commands/UpdateAutoScalingGroupCommand.js +0 -109
  696. package/dist/es/commands/UpdateAutoScalingGroupCommand.js.map +0 -1
  697. package/dist/es/endpoints.js +0 -53
  698. package/dist/es/endpoints.js.map +0 -1
  699. package/dist/es/index.js +0 -77
  700. package/dist/es/index.js.map +0 -1
  701. package/dist/es/models/index.js +0 -2
  702. package/dist/es/models/index.js.map +0 -1
  703. package/dist/es/models/models_0.js +0 -1205
  704. package/dist/es/models/models_0.js.map +0 -1
  705. package/dist/es/package.json +0 -94
  706. package/dist/es/pagination/DescribeAutoScalingGroupsPaginator.js +0 -87
  707. package/dist/es/pagination/DescribeAutoScalingGroupsPaginator.js.map +0 -1
  708. package/dist/es/pagination/DescribeAutoScalingInstancesPaginator.js +0 -87
  709. package/dist/es/pagination/DescribeAutoScalingInstancesPaginator.js.map +0 -1
  710. package/dist/es/pagination/DescribeLaunchConfigurationsPaginator.js +0 -87
  711. package/dist/es/pagination/DescribeLaunchConfigurationsPaginator.js.map +0 -1
  712. package/dist/es/pagination/DescribeNotificationConfigurationsPaginator.js +0 -87
  713. package/dist/es/pagination/DescribeNotificationConfigurationsPaginator.js.map +0 -1
  714. package/dist/es/pagination/DescribePoliciesPaginator.js +0 -87
  715. package/dist/es/pagination/DescribePoliciesPaginator.js.map +0 -1
  716. package/dist/es/pagination/DescribeScalingActivitiesPaginator.js +0 -87
  717. package/dist/es/pagination/DescribeScalingActivitiesPaginator.js.map +0 -1
  718. package/dist/es/pagination/DescribeScheduledActionsPaginator.js +0 -87
  719. package/dist/es/pagination/DescribeScheduledActionsPaginator.js.map +0 -1
  720. package/dist/es/pagination/DescribeTagsPaginator.js +0 -87
  721. package/dist/es/pagination/DescribeTagsPaginator.js.map +0 -1
  722. package/dist/es/pagination/Interfaces.js +0 -2
  723. package/dist/es/pagination/Interfaces.js.map +0 -1
  724. package/dist/es/protocols/Aws_query.js +0 -9127
  725. package/dist/es/protocols/Aws_query.js.map +0 -1
  726. package/dist/es/runtimeConfig.browser.js +0 -20
  727. package/dist/es/runtimeConfig.browser.js.map +0 -1
  728. package/dist/es/runtimeConfig.js +0 -25
  729. package/dist/es/runtimeConfig.js.map +0 -1
  730. package/dist/es/runtimeConfig.native.js +0 -12
  731. package/dist/es/runtimeConfig.native.js.map +0 -1
  732. package/dist/es/runtimeConfig.shared.js +0 -17
  733. package/dist/es/runtimeConfig.shared.js.map +0 -1
  734. package/dist/es/waiters/waitForGroupExists.js +0 -70
  735. package/dist/es/waiters/waitForGroupExists.js.map +0 -1
  736. package/dist/es/waiters/waitForGroupInService.js +0 -92
  737. package/dist/es/waiters/waitForGroupInService.js.map +0 -1
  738. package/dist/es/waiters/waitForGroupNotExists.js +0 -70
  739. package/dist/es/waiters/waitForGroupNotExists.js.map +0 -1
  740. package/dist/types/AutoScaling.d.ts +0 -941
  741. package/dist/types/AutoScalingClient.d.ts +0 -206
  742. package/dist/types/commands/AttachInstancesCommand.d.ts +0 -44
  743. package/dist/types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +0 -53
  744. package/dist/types/commands/AttachLoadBalancersCommand.d.ts +0 -45
  745. package/dist/types/commands/BatchDeleteScheduledActionCommand.d.ts +0 -35
  746. package/dist/types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +0 -35
  747. package/dist/types/commands/CancelInstanceRefreshCommand.d.ts +0 -40
  748. package/dist/types/commands/CompleteLifecycleActionCommand.d.ts +0 -66
  749. package/dist/types/commands/CreateAutoScalingGroupCommand.d.ts +0 -53
  750. package/dist/types/commands/CreateLaunchConfigurationCommand.d.ts +0 -41
  751. package/dist/types/commands/CreateOrUpdateTagsCommand.d.ts +0 -39
  752. package/dist/types/commands/DeleteAutoScalingGroupCommand.d.ts +0 -44
  753. package/dist/types/commands/DeleteLaunchConfigurationCommand.d.ts +0 -37
  754. package/dist/types/commands/DeleteLifecycleHookCommand.d.ts +0 -38
  755. package/dist/types/commands/DeleteNotificationConfigurationCommand.d.ts +0 -35
  756. package/dist/types/commands/DeletePolicyCommand.d.ts +0 -40
  757. package/dist/types/commands/DeleteScheduledActionCommand.d.ts +0 -35
  758. package/dist/types/commands/DeleteTagsCommand.d.ts +0 -35
  759. package/dist/types/commands/DeleteWarmPoolCommand.d.ts +0 -37
  760. package/dist/types/commands/DescribeAccountLimitsCommand.d.ts +0 -39
  761. package/dist/types/commands/DescribeAdjustmentTypesCommand.d.ts +0 -54
  762. package/dist/types/commands/DescribeAutoScalingGroupsCommand.d.ts +0 -37
  763. package/dist/types/commands/DescribeAutoScalingInstancesCommand.d.ts +0 -35
  764. package/dist/types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +0 -35
  765. package/dist/types/commands/DescribeInstanceRefreshesCommand.d.ts +0 -73
  766. package/dist/types/commands/DescribeLaunchConfigurationsCommand.d.ts +0 -35
  767. package/dist/types/commands/DescribeLifecycleHookTypesCommand.d.ts +0 -48
  768. package/dist/types/commands/DescribeLifecycleHooksCommand.d.ts +0 -35
  769. package/dist/types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +0 -54
  770. package/dist/types/commands/DescribeLoadBalancersCommand.d.ts +0 -56
  771. package/dist/types/commands/DescribeMetricCollectionTypesCommand.d.ts +0 -37
  772. package/dist/types/commands/DescribeNotificationConfigurationsCommand.d.ts +0 -36
  773. package/dist/types/commands/DescribePoliciesCommand.d.ts +0 -35
  774. package/dist/types/commands/DescribeScalingActivitiesCommand.d.ts +0 -43
  775. package/dist/types/commands/DescribeScalingProcessTypesCommand.d.ts +0 -36
  776. package/dist/types/commands/DescribeScheduledActionsCommand.d.ts +0 -38
  777. package/dist/types/commands/DescribeTagsCommand.d.ts +0 -43
  778. package/dist/types/commands/DescribeTerminationPolicyTypesCommand.d.ts +0 -38
  779. package/dist/types/commands/DescribeWarmPoolCommand.d.ts +0 -37
  780. package/dist/types/commands/DetachInstancesCommand.d.ts +0 -44
  781. package/dist/types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +0 -35
  782. package/dist/types/commands/DetachLoadBalancersCommand.d.ts +0 -40
  783. package/dist/types/commands/DisableMetricsCollectionCommand.d.ts +0 -35
  784. package/dist/types/commands/EnableMetricsCollectionCommand.d.ts +0 -36
  785. package/dist/types/commands/EnterStandbyCommand.d.ts +0 -44
  786. package/dist/types/commands/ExecutePolicyCommand.d.ts +0 -36
  787. package/dist/types/commands/ExitStandbyCommand.d.ts +0 -40
  788. package/dist/types/commands/GetPredictiveScalingForecastCommand.d.ts +0 -43
  789. package/dist/types/commands/PutLifecycleHookCommand.d.ts +0 -72
  790. package/dist/types/commands/PutNotificationConfigurationCommand.d.ts +0 -43
  791. package/dist/types/commands/PutScalingPolicyCommand.d.ts +0 -44
  792. package/dist/types/commands/PutScheduledUpdateGroupActionCommand.d.ts +0 -39
  793. package/dist/types/commands/PutWarmPoolCommand.d.ts +0 -44
  794. package/dist/types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +0 -67
  795. package/dist/types/commands/ResumeProcessesCommand.d.ts +0 -38
  796. package/dist/types/commands/SetDesiredCapacityCommand.d.ts +0 -40
  797. package/dist/types/commands/SetInstanceHealthCommand.d.ts +0 -37
  798. package/dist/types/commands/SetInstanceProtectionCommand.d.ts +0 -41
  799. package/dist/types/commands/StartInstanceRefreshCommand.d.ts +0 -49
  800. package/dist/types/commands/SuspendProcessesCommand.d.ts +0 -41
  801. package/dist/types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +0 -46
  802. package/dist/types/commands/UpdateAutoScalingGroupCommand.d.ts +0 -79
  803. package/dist/types/pagination/DescribeAutoScalingGroupsPaginator.d.ts +0 -4
  804. package/dist/types/pagination/DescribeAutoScalingInstancesPaginator.d.ts +0 -4
  805. package/dist/types/pagination/DescribeLaunchConfigurationsPaginator.d.ts +0 -4
  806. package/dist/types/pagination/DescribeNotificationConfigurationsPaginator.d.ts +0 -4
  807. package/dist/types/pagination/DescribePoliciesPaginator.d.ts +0 -4
  808. package/dist/types/pagination/DescribeScalingActivitiesPaginator.d.ts +0 -4
  809. package/dist/types/pagination/DescribeScheduledActionsPaginator.d.ts +0 -4
  810. package/dist/types/pagination/DescribeTagsPaginator.d.ts +0 -4
  811. package/dist/types/pagination/Interfaces.d.ts +0 -6
  812. package/dist/types/protocols/Aws_query.d.ts +0 -185
  813. package/dist/types/runtimeConfig.browser.d.ts +0 -36
  814. package/dist/types/runtimeConfig.d.ts +0 -36
  815. package/dist/types/runtimeConfig.native.d.ts +0 -35
  816. package/dist/types/ts3.4/AutoScaling.d.ts +0 -941
  817. package/dist/types/ts3.4/AutoScalingClient.d.ts +0 -206
  818. package/dist/types/ts3.4/commands/AttachInstancesCommand.d.ts +0 -44
  819. package/dist/types/ts3.4/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +0 -53
  820. package/dist/types/ts3.4/commands/AttachLoadBalancersCommand.d.ts +0 -45
  821. package/dist/types/ts3.4/commands/BatchDeleteScheduledActionCommand.d.ts +0 -35
  822. package/dist/types/ts3.4/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +0 -35
  823. package/dist/types/ts3.4/commands/CancelInstanceRefreshCommand.d.ts +0 -40
  824. package/dist/types/ts3.4/commands/CompleteLifecycleActionCommand.d.ts +0 -66
  825. package/dist/types/ts3.4/commands/CreateAutoScalingGroupCommand.d.ts +0 -53
  826. package/dist/types/ts3.4/commands/CreateLaunchConfigurationCommand.d.ts +0 -41
  827. package/dist/types/ts3.4/commands/CreateOrUpdateTagsCommand.d.ts +0 -39
  828. package/dist/types/ts3.4/commands/DeleteAutoScalingGroupCommand.d.ts +0 -44
  829. package/dist/types/ts3.4/commands/DeleteLaunchConfigurationCommand.d.ts +0 -37
  830. package/dist/types/ts3.4/commands/DeleteLifecycleHookCommand.d.ts +0 -38
  831. package/dist/types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +0 -35
  832. package/dist/types/ts3.4/commands/DeletePolicyCommand.d.ts +0 -40
  833. package/dist/types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +0 -35
  834. package/dist/types/ts3.4/commands/DeleteTagsCommand.d.ts +0 -35
  835. package/dist/types/ts3.4/commands/DeleteWarmPoolCommand.d.ts +0 -37
  836. package/dist/types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +0 -39
  837. package/dist/types/ts3.4/commands/DescribeAdjustmentTypesCommand.d.ts +0 -54
  838. package/dist/types/ts3.4/commands/DescribeAutoScalingGroupsCommand.d.ts +0 -37
  839. package/dist/types/ts3.4/commands/DescribeAutoScalingInstancesCommand.d.ts +0 -35
  840. package/dist/types/ts3.4/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +0 -35
  841. package/dist/types/ts3.4/commands/DescribeInstanceRefreshesCommand.d.ts +0 -73
  842. package/dist/types/ts3.4/commands/DescribeLaunchConfigurationsCommand.d.ts +0 -35
  843. package/dist/types/ts3.4/commands/DescribeLifecycleHookTypesCommand.d.ts +0 -48
  844. package/dist/types/ts3.4/commands/DescribeLifecycleHooksCommand.d.ts +0 -35
  845. package/dist/types/ts3.4/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +0 -54
  846. package/dist/types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +0 -56
  847. package/dist/types/ts3.4/commands/DescribeMetricCollectionTypesCommand.d.ts +0 -37
  848. package/dist/types/ts3.4/commands/DescribeNotificationConfigurationsCommand.d.ts +0 -36
  849. package/dist/types/ts3.4/commands/DescribePoliciesCommand.d.ts +0 -35
  850. package/dist/types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +0 -43
  851. package/dist/types/ts3.4/commands/DescribeScalingProcessTypesCommand.d.ts +0 -36
  852. package/dist/types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +0 -38
  853. package/dist/types/ts3.4/commands/DescribeTagsCommand.d.ts +0 -43
  854. package/dist/types/ts3.4/commands/DescribeTerminationPolicyTypesCommand.d.ts +0 -38
  855. package/dist/types/ts3.4/commands/DescribeWarmPoolCommand.d.ts +0 -37
  856. package/dist/types/ts3.4/commands/DetachInstancesCommand.d.ts +0 -44
  857. package/dist/types/ts3.4/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +0 -35
  858. package/dist/types/ts3.4/commands/DetachLoadBalancersCommand.d.ts +0 -40
  859. package/dist/types/ts3.4/commands/DisableMetricsCollectionCommand.d.ts +0 -35
  860. package/dist/types/ts3.4/commands/EnableMetricsCollectionCommand.d.ts +0 -36
  861. package/dist/types/ts3.4/commands/EnterStandbyCommand.d.ts +0 -44
  862. package/dist/types/ts3.4/commands/ExecutePolicyCommand.d.ts +0 -36
  863. package/dist/types/ts3.4/commands/ExitStandbyCommand.d.ts +0 -40
  864. package/dist/types/ts3.4/commands/GetPredictiveScalingForecastCommand.d.ts +0 -43
  865. package/dist/types/ts3.4/commands/PutLifecycleHookCommand.d.ts +0 -72
  866. package/dist/types/ts3.4/commands/PutNotificationConfigurationCommand.d.ts +0 -43
  867. package/dist/types/ts3.4/commands/PutScalingPolicyCommand.d.ts +0 -44
  868. package/dist/types/ts3.4/commands/PutScheduledUpdateGroupActionCommand.d.ts +0 -39
  869. package/dist/types/ts3.4/commands/PutWarmPoolCommand.d.ts +0 -44
  870. package/dist/types/ts3.4/commands/RecordLifecycleActionHeartbeatCommand.d.ts +0 -67
  871. package/dist/types/ts3.4/commands/ResumeProcessesCommand.d.ts +0 -38
  872. package/dist/types/ts3.4/commands/SetDesiredCapacityCommand.d.ts +0 -40
  873. package/dist/types/ts3.4/commands/SetInstanceHealthCommand.d.ts +0 -37
  874. package/dist/types/ts3.4/commands/SetInstanceProtectionCommand.d.ts +0 -41
  875. package/dist/types/ts3.4/commands/StartInstanceRefreshCommand.d.ts +0 -49
  876. package/dist/types/ts3.4/commands/SuspendProcessesCommand.d.ts +0 -41
  877. package/dist/types/ts3.4/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +0 -46
  878. package/dist/types/ts3.4/commands/UpdateAutoScalingGroupCommand.d.ts +0 -79
  879. package/dist/types/ts3.4/pagination/DescribeAutoScalingGroupsPaginator.d.ts +0 -4
  880. package/dist/types/ts3.4/pagination/DescribeAutoScalingInstancesPaginator.d.ts +0 -4
  881. package/dist/types/ts3.4/pagination/DescribeLaunchConfigurationsPaginator.d.ts +0 -4
  882. package/dist/types/ts3.4/pagination/DescribeNotificationConfigurationsPaginator.d.ts +0 -4
  883. package/dist/types/ts3.4/pagination/DescribePoliciesPaginator.d.ts +0 -4
  884. package/dist/types/ts3.4/pagination/DescribeScalingActivitiesPaginator.d.ts +0 -4
  885. package/dist/types/ts3.4/pagination/DescribeScheduledActionsPaginator.d.ts +0 -4
  886. package/dist/types/ts3.4/pagination/DescribeTagsPaginator.d.ts +0 -4
  887. package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
  888. package/dist/types/ts3.4/protocols/Aws_query.d.ts +0 -185
  889. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +0 -36
  890. package/dist/types/ts3.4/runtimeConfig.d.ts +0 -36
  891. package/dist/types/ts3.4/runtimeConfig.native.d.ts +0 -35
  892. package/dist/types/ts3.4/waiters/waitForGroupExists.d.ts +0 -14
  893. package/dist/types/ts3.4/waiters/waitForGroupInService.d.ts +0 -14
  894. package/dist/types/ts3.4/waiters/waitForGroupNotExists.d.ts +0 -14
  895. package/dist/types/waiters/waitForGroupExists.d.ts +0 -14
  896. package/dist/types/waiters/waitForGroupInService.d.ts +0 -14
  897. package/dist/types/waiters/waitForGroupNotExists.d.ts +0 -14
  898. package/endpoints.ts +0 -57
  899. package/jest.config.js +0 -4
  900. package/models/models_0.ts +0 -6663
  901. package/pagination/DescribeAutoScalingGroupsPaginator.ts +0 -58
  902. package/pagination/DescribeAutoScalingInstancesPaginator.ts +0 -58
  903. package/pagination/DescribeLaunchConfigurationsPaginator.ts +0 -58
  904. package/pagination/DescribeNotificationConfigurationsPaginator.ts +0 -58
  905. package/pagination/DescribePoliciesPaginator.ts +0 -58
  906. package/pagination/DescribeScalingActivitiesPaginator.ts +0 -58
  907. package/pagination/DescribeScheduledActionsPaginator.ts +0 -58
  908. package/pagination/DescribeTagsPaginator.ts +0 -58
  909. package/pagination/Interfaces.ts +0 -7
  910. package/protocols/Aws_query.ts +0 -10044
  911. package/runtimeConfig.browser.ts +0 -40
  912. package/runtimeConfig.native.ts +0 -16
  913. package/runtimeConfig.shared.ts +0 -16
  914. package/runtimeConfig.ts +0 -45
  915. package/tsconfig.es.json +0 -12
  916. package/tsconfig.json +0 -32
  917. package/waiters/waitForGroupExists.ts +0 -60
  918. package/waiters/waitForGroupInService.ts +0 -82
  919. package/waiters/waitForGroupNotExists.ts +0 -60
package/AutoScaling.ts DELETED
@@ -1,2732 +0,0 @@
1
- import { AutoScalingClient } from "./AutoScalingClient";
2
- import {
3
- AttachInstancesCommand,
4
- AttachInstancesCommandInput,
5
- AttachInstancesCommandOutput,
6
- } from "./commands/AttachInstancesCommand";
7
- import {
8
- AttachLoadBalancerTargetGroupsCommand,
9
- AttachLoadBalancerTargetGroupsCommandInput,
10
- AttachLoadBalancerTargetGroupsCommandOutput,
11
- } from "./commands/AttachLoadBalancerTargetGroupsCommand";
12
- import {
13
- AttachLoadBalancersCommand,
14
- AttachLoadBalancersCommandInput,
15
- AttachLoadBalancersCommandOutput,
16
- } from "./commands/AttachLoadBalancersCommand";
17
- import {
18
- BatchDeleteScheduledActionCommand,
19
- BatchDeleteScheduledActionCommandInput,
20
- BatchDeleteScheduledActionCommandOutput,
21
- } from "./commands/BatchDeleteScheduledActionCommand";
22
- import {
23
- BatchPutScheduledUpdateGroupActionCommand,
24
- BatchPutScheduledUpdateGroupActionCommandInput,
25
- BatchPutScheduledUpdateGroupActionCommandOutput,
26
- } from "./commands/BatchPutScheduledUpdateGroupActionCommand";
27
- import {
28
- CancelInstanceRefreshCommand,
29
- CancelInstanceRefreshCommandInput,
30
- CancelInstanceRefreshCommandOutput,
31
- } from "./commands/CancelInstanceRefreshCommand";
32
- import {
33
- CompleteLifecycleActionCommand,
34
- CompleteLifecycleActionCommandInput,
35
- CompleteLifecycleActionCommandOutput,
36
- } from "./commands/CompleteLifecycleActionCommand";
37
- import {
38
- CreateAutoScalingGroupCommand,
39
- CreateAutoScalingGroupCommandInput,
40
- CreateAutoScalingGroupCommandOutput,
41
- } from "./commands/CreateAutoScalingGroupCommand";
42
- import {
43
- CreateLaunchConfigurationCommand,
44
- CreateLaunchConfigurationCommandInput,
45
- CreateLaunchConfigurationCommandOutput,
46
- } from "./commands/CreateLaunchConfigurationCommand";
47
- import {
48
- CreateOrUpdateTagsCommand,
49
- CreateOrUpdateTagsCommandInput,
50
- CreateOrUpdateTagsCommandOutput,
51
- } from "./commands/CreateOrUpdateTagsCommand";
52
- import {
53
- DeleteAutoScalingGroupCommand,
54
- DeleteAutoScalingGroupCommandInput,
55
- DeleteAutoScalingGroupCommandOutput,
56
- } from "./commands/DeleteAutoScalingGroupCommand";
57
- import {
58
- DeleteLaunchConfigurationCommand,
59
- DeleteLaunchConfigurationCommandInput,
60
- DeleteLaunchConfigurationCommandOutput,
61
- } from "./commands/DeleteLaunchConfigurationCommand";
62
- import {
63
- DeleteLifecycleHookCommand,
64
- DeleteLifecycleHookCommandInput,
65
- DeleteLifecycleHookCommandOutput,
66
- } from "./commands/DeleteLifecycleHookCommand";
67
- import {
68
- DeleteNotificationConfigurationCommand,
69
- DeleteNotificationConfigurationCommandInput,
70
- DeleteNotificationConfigurationCommandOutput,
71
- } from "./commands/DeleteNotificationConfigurationCommand";
72
- import {
73
- DeletePolicyCommand,
74
- DeletePolicyCommandInput,
75
- DeletePolicyCommandOutput,
76
- } from "./commands/DeletePolicyCommand";
77
- import {
78
- DeleteScheduledActionCommand,
79
- DeleteScheduledActionCommandInput,
80
- DeleteScheduledActionCommandOutput,
81
- } from "./commands/DeleteScheduledActionCommand";
82
- import { DeleteTagsCommand, DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
83
- import {
84
- DeleteWarmPoolCommand,
85
- DeleteWarmPoolCommandInput,
86
- DeleteWarmPoolCommandOutput,
87
- } from "./commands/DeleteWarmPoolCommand";
88
- import {
89
- DescribeAccountLimitsCommand,
90
- DescribeAccountLimitsCommandInput,
91
- DescribeAccountLimitsCommandOutput,
92
- } from "./commands/DescribeAccountLimitsCommand";
93
- import {
94
- DescribeAdjustmentTypesCommand,
95
- DescribeAdjustmentTypesCommandInput,
96
- DescribeAdjustmentTypesCommandOutput,
97
- } from "./commands/DescribeAdjustmentTypesCommand";
98
- import {
99
- DescribeAutoScalingGroupsCommand,
100
- DescribeAutoScalingGroupsCommandInput,
101
- DescribeAutoScalingGroupsCommandOutput,
102
- } from "./commands/DescribeAutoScalingGroupsCommand";
103
- import {
104
- DescribeAutoScalingInstancesCommand,
105
- DescribeAutoScalingInstancesCommandInput,
106
- DescribeAutoScalingInstancesCommandOutput,
107
- } from "./commands/DescribeAutoScalingInstancesCommand";
108
- import {
109
- DescribeAutoScalingNotificationTypesCommand,
110
- DescribeAutoScalingNotificationTypesCommandInput,
111
- DescribeAutoScalingNotificationTypesCommandOutput,
112
- } from "./commands/DescribeAutoScalingNotificationTypesCommand";
113
- import {
114
- DescribeInstanceRefreshesCommand,
115
- DescribeInstanceRefreshesCommandInput,
116
- DescribeInstanceRefreshesCommandOutput,
117
- } from "./commands/DescribeInstanceRefreshesCommand";
118
- import {
119
- DescribeLaunchConfigurationsCommand,
120
- DescribeLaunchConfigurationsCommandInput,
121
- DescribeLaunchConfigurationsCommandOutput,
122
- } from "./commands/DescribeLaunchConfigurationsCommand";
123
- import {
124
- DescribeLifecycleHookTypesCommand,
125
- DescribeLifecycleHookTypesCommandInput,
126
- DescribeLifecycleHookTypesCommandOutput,
127
- } from "./commands/DescribeLifecycleHookTypesCommand";
128
- import {
129
- DescribeLifecycleHooksCommand,
130
- DescribeLifecycleHooksCommandInput,
131
- DescribeLifecycleHooksCommandOutput,
132
- } from "./commands/DescribeLifecycleHooksCommand";
133
- import {
134
- DescribeLoadBalancerTargetGroupsCommand,
135
- DescribeLoadBalancerTargetGroupsCommandInput,
136
- DescribeLoadBalancerTargetGroupsCommandOutput,
137
- } from "./commands/DescribeLoadBalancerTargetGroupsCommand";
138
- import {
139
- DescribeLoadBalancersCommand,
140
- DescribeLoadBalancersCommandInput,
141
- DescribeLoadBalancersCommandOutput,
142
- } from "./commands/DescribeLoadBalancersCommand";
143
- import {
144
- DescribeMetricCollectionTypesCommand,
145
- DescribeMetricCollectionTypesCommandInput,
146
- DescribeMetricCollectionTypesCommandOutput,
147
- } from "./commands/DescribeMetricCollectionTypesCommand";
148
- import {
149
- DescribeNotificationConfigurationsCommand,
150
- DescribeNotificationConfigurationsCommandInput,
151
- DescribeNotificationConfigurationsCommandOutput,
152
- } from "./commands/DescribeNotificationConfigurationsCommand";
153
- import {
154
- DescribePoliciesCommand,
155
- DescribePoliciesCommandInput,
156
- DescribePoliciesCommandOutput,
157
- } from "./commands/DescribePoliciesCommand";
158
- import {
159
- DescribeScalingActivitiesCommand,
160
- DescribeScalingActivitiesCommandInput,
161
- DescribeScalingActivitiesCommandOutput,
162
- } from "./commands/DescribeScalingActivitiesCommand";
163
- import {
164
- DescribeScalingProcessTypesCommand,
165
- DescribeScalingProcessTypesCommandInput,
166
- DescribeScalingProcessTypesCommandOutput,
167
- } from "./commands/DescribeScalingProcessTypesCommand";
168
- import {
169
- DescribeScheduledActionsCommand,
170
- DescribeScheduledActionsCommandInput,
171
- DescribeScheduledActionsCommandOutput,
172
- } from "./commands/DescribeScheduledActionsCommand";
173
- import {
174
- DescribeTagsCommand,
175
- DescribeTagsCommandInput,
176
- DescribeTagsCommandOutput,
177
- } from "./commands/DescribeTagsCommand";
178
- import {
179
- DescribeTerminationPolicyTypesCommand,
180
- DescribeTerminationPolicyTypesCommandInput,
181
- DescribeTerminationPolicyTypesCommandOutput,
182
- } from "./commands/DescribeTerminationPolicyTypesCommand";
183
- import {
184
- DescribeWarmPoolCommand,
185
- DescribeWarmPoolCommandInput,
186
- DescribeWarmPoolCommandOutput,
187
- } from "./commands/DescribeWarmPoolCommand";
188
- import {
189
- DetachInstancesCommand,
190
- DetachInstancesCommandInput,
191
- DetachInstancesCommandOutput,
192
- } from "./commands/DetachInstancesCommand";
193
- import {
194
- DetachLoadBalancerTargetGroupsCommand,
195
- DetachLoadBalancerTargetGroupsCommandInput,
196
- DetachLoadBalancerTargetGroupsCommandOutput,
197
- } from "./commands/DetachLoadBalancerTargetGroupsCommand";
198
- import {
199
- DetachLoadBalancersCommand,
200
- DetachLoadBalancersCommandInput,
201
- DetachLoadBalancersCommandOutput,
202
- } from "./commands/DetachLoadBalancersCommand";
203
- import {
204
- DisableMetricsCollectionCommand,
205
- DisableMetricsCollectionCommandInput,
206
- DisableMetricsCollectionCommandOutput,
207
- } from "./commands/DisableMetricsCollectionCommand";
208
- import {
209
- EnableMetricsCollectionCommand,
210
- EnableMetricsCollectionCommandInput,
211
- EnableMetricsCollectionCommandOutput,
212
- } from "./commands/EnableMetricsCollectionCommand";
213
- import {
214
- EnterStandbyCommand,
215
- EnterStandbyCommandInput,
216
- EnterStandbyCommandOutput,
217
- } from "./commands/EnterStandbyCommand";
218
- import {
219
- ExecutePolicyCommand,
220
- ExecutePolicyCommandInput,
221
- ExecutePolicyCommandOutput,
222
- } from "./commands/ExecutePolicyCommand";
223
- import { ExitStandbyCommand, ExitStandbyCommandInput, ExitStandbyCommandOutput } from "./commands/ExitStandbyCommand";
224
- import {
225
- GetPredictiveScalingForecastCommand,
226
- GetPredictiveScalingForecastCommandInput,
227
- GetPredictiveScalingForecastCommandOutput,
228
- } from "./commands/GetPredictiveScalingForecastCommand";
229
- import {
230
- PutLifecycleHookCommand,
231
- PutLifecycleHookCommandInput,
232
- PutLifecycleHookCommandOutput,
233
- } from "./commands/PutLifecycleHookCommand";
234
- import {
235
- PutNotificationConfigurationCommand,
236
- PutNotificationConfigurationCommandInput,
237
- PutNotificationConfigurationCommandOutput,
238
- } from "./commands/PutNotificationConfigurationCommand";
239
- import {
240
- PutScalingPolicyCommand,
241
- PutScalingPolicyCommandInput,
242
- PutScalingPolicyCommandOutput,
243
- } from "./commands/PutScalingPolicyCommand";
244
- import {
245
- PutScheduledUpdateGroupActionCommand,
246
- PutScheduledUpdateGroupActionCommandInput,
247
- PutScheduledUpdateGroupActionCommandOutput,
248
- } from "./commands/PutScheduledUpdateGroupActionCommand";
249
- import { PutWarmPoolCommand, PutWarmPoolCommandInput, PutWarmPoolCommandOutput } from "./commands/PutWarmPoolCommand";
250
- import {
251
- RecordLifecycleActionHeartbeatCommand,
252
- RecordLifecycleActionHeartbeatCommandInput,
253
- RecordLifecycleActionHeartbeatCommandOutput,
254
- } from "./commands/RecordLifecycleActionHeartbeatCommand";
255
- import {
256
- ResumeProcessesCommand,
257
- ResumeProcessesCommandInput,
258
- ResumeProcessesCommandOutput,
259
- } from "./commands/ResumeProcessesCommand";
260
- import {
261
- SetDesiredCapacityCommand,
262
- SetDesiredCapacityCommandInput,
263
- SetDesiredCapacityCommandOutput,
264
- } from "./commands/SetDesiredCapacityCommand";
265
- import {
266
- SetInstanceHealthCommand,
267
- SetInstanceHealthCommandInput,
268
- SetInstanceHealthCommandOutput,
269
- } from "./commands/SetInstanceHealthCommand";
270
- import {
271
- SetInstanceProtectionCommand,
272
- SetInstanceProtectionCommandInput,
273
- SetInstanceProtectionCommandOutput,
274
- } from "./commands/SetInstanceProtectionCommand";
275
- import {
276
- StartInstanceRefreshCommand,
277
- StartInstanceRefreshCommandInput,
278
- StartInstanceRefreshCommandOutput,
279
- } from "./commands/StartInstanceRefreshCommand";
280
- import {
281
- SuspendProcessesCommand,
282
- SuspendProcessesCommandInput,
283
- SuspendProcessesCommandOutput,
284
- } from "./commands/SuspendProcessesCommand";
285
- import {
286
- TerminateInstanceInAutoScalingGroupCommand,
287
- TerminateInstanceInAutoScalingGroupCommandInput,
288
- TerminateInstanceInAutoScalingGroupCommandOutput,
289
- } from "./commands/TerminateInstanceInAutoScalingGroupCommand";
290
- import {
291
- UpdateAutoScalingGroupCommand,
292
- UpdateAutoScalingGroupCommandInput,
293
- UpdateAutoScalingGroupCommandOutput,
294
- } from "./commands/UpdateAutoScalingGroupCommand";
295
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
296
-
297
- /**
298
- * <fullname>Amazon EC2 Auto Scaling</fullname>
299
- *
300
- *
301
- *
302
- *
303
- *
304
- *
305
- *
306
- * <p>Amazon EC2 Auto Scaling is designed to automatically launch or terminate EC2 instances
307
- * based on user-defined scaling policies, scheduled actions, and health checks.</p>
308
- * <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
309
- * 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
310
- * IAM users required permissions for Amazon EC2 Auto Scaling resources</a> in the
311
- * <i>Amazon EC2 Auto Scaling API Reference</i>.</p>
312
- */
313
- export class AutoScaling extends AutoScalingClient {
314
- /**
315
- * <p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p>
316
- * <p>When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the
317
- * number of instances being attached. If the number of instances being attached plus the
318
- * desired capacity of the group exceeds the maximum size of the group, the operation
319
- * fails.</p>
320
- * <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are
321
- * also registered with the load balancer. If there are target groups attached to your Auto Scaling
322
- * group, the instances are also registered with the target groups.</p>
323
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html">Attach EC2 instances to
324
- * your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
325
- */
326
- public attachInstances(
327
- args: AttachInstancesCommandInput,
328
- options?: __HttpHandlerOptions
329
- ): Promise<AttachInstancesCommandOutput>;
330
- public attachInstances(
331
- args: AttachInstancesCommandInput,
332
- cb: (err: any, data?: AttachInstancesCommandOutput) => void
333
- ): void;
334
- public attachInstances(
335
- args: AttachInstancesCommandInput,
336
- options: __HttpHandlerOptions,
337
- cb: (err: any, data?: AttachInstancesCommandOutput) => void
338
- ): void;
339
- public attachInstances(
340
- args: AttachInstancesCommandInput,
341
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachInstancesCommandOutput) => void),
342
- cb?: (err: any, data?: AttachInstancesCommandOutput) => void
343
- ): Promise<AttachInstancesCommandOutput> | void {
344
- const command = new AttachInstancesCommand(args);
345
- if (typeof optionsOrCb === "function") {
346
- this.send(command, optionsOrCb);
347
- } else if (typeof cb === "function") {
348
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
349
- this.send(command, optionsOrCb || {}, cb);
350
- } else {
351
- return this.send(command, optionsOrCb);
352
- }
353
- }
354
-
355
- /**
356
- * <note>
357
- * <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load
358
- * Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation
359
- * instead.</p>
360
- * </note>
361
- * <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling
362
- * registers the running instances with these Classic Load Balancers.</p>
363
- * <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
364
- * group, call the <a>DetachLoadBalancers</a> API.</p>
365
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
366
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
367
- */
368
- public attachLoadBalancers(
369
- args: AttachLoadBalancersCommandInput,
370
- options?: __HttpHandlerOptions
371
- ): Promise<AttachLoadBalancersCommandOutput>;
372
- public attachLoadBalancers(
373
- args: AttachLoadBalancersCommandInput,
374
- cb: (err: any, data?: AttachLoadBalancersCommandOutput) => void
375
- ): void;
376
- public attachLoadBalancers(
377
- args: AttachLoadBalancersCommandInput,
378
- options: __HttpHandlerOptions,
379
- cb: (err: any, data?: AttachLoadBalancersCommandOutput) => void
380
- ): void;
381
- public attachLoadBalancers(
382
- args: AttachLoadBalancersCommandInput,
383
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachLoadBalancersCommandOutput) => void),
384
- cb?: (err: any, data?: AttachLoadBalancersCommandOutput) => void
385
- ): Promise<AttachLoadBalancersCommandOutput> | void {
386
- const command = new AttachLoadBalancersCommand(args);
387
- if (typeof optionsOrCb === "function") {
388
- this.send(command, optionsOrCb);
389
- } else if (typeof cb === "function") {
390
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
391
- this.send(command, optionsOrCb || {}, cb);
392
- } else {
393
- return this.send(command, optionsOrCb);
394
- }
395
- }
396
-
397
- /**
398
- * <p>Attaches one or more target groups to the specified Auto Scaling group.</p>
399
- * <p>This operation is used with the following load balancer types: </p>
400
- * <ul>
401
- * <li>
402
- * <p> Application Load Balancer - Operates at the application layer (layer 7) and
403
- * supports HTTP and HTTPS. </p>
404
- * </li>
405
- * <li>
406
- * <p> Network Load Balancer - Operates at the transport layer (layer 4) and
407
- * supports TCP, TLS, and UDP. </p>
408
- * </li>
409
- * <li>
410
- * <p> Gateway Load Balancer - Operates at the network layer (layer 3).</p>
411
- * </li>
412
- * </ul>
413
- * <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from
414
- * the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>
415
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
416
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
417
- */
418
- public attachLoadBalancerTargetGroups(
419
- args: AttachLoadBalancerTargetGroupsCommandInput,
420
- options?: __HttpHandlerOptions
421
- ): Promise<AttachLoadBalancerTargetGroupsCommandOutput>;
422
- public attachLoadBalancerTargetGroups(
423
- args: AttachLoadBalancerTargetGroupsCommandInput,
424
- cb: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void
425
- ): void;
426
- public attachLoadBalancerTargetGroups(
427
- args: AttachLoadBalancerTargetGroupsCommandInput,
428
- options: __HttpHandlerOptions,
429
- cb: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void
430
- ): void;
431
- public attachLoadBalancerTargetGroups(
432
- args: AttachLoadBalancerTargetGroupsCommandInput,
433
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void),
434
- cb?: (err: any, data?: AttachLoadBalancerTargetGroupsCommandOutput) => void
435
- ): Promise<AttachLoadBalancerTargetGroupsCommandOutput> | void {
436
- const command = new AttachLoadBalancerTargetGroupsCommand(args);
437
- if (typeof optionsOrCb === "function") {
438
- this.send(command, optionsOrCb);
439
- } else if (typeof cb === "function") {
440
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
441
- this.send(command, optionsOrCb || {}, cb);
442
- } else {
443
- return this.send(command, optionsOrCb);
444
- }
445
- }
446
-
447
- /**
448
- * <p>Deletes one or more scheduled actions for the specified Auto Scaling group.</p>
449
- */
450
- public batchDeleteScheduledAction(
451
- args: BatchDeleteScheduledActionCommandInput,
452
- options?: __HttpHandlerOptions
453
- ): Promise<BatchDeleteScheduledActionCommandOutput>;
454
- public batchDeleteScheduledAction(
455
- args: BatchDeleteScheduledActionCommandInput,
456
- cb: (err: any, data?: BatchDeleteScheduledActionCommandOutput) => void
457
- ): void;
458
- public batchDeleteScheduledAction(
459
- args: BatchDeleteScheduledActionCommandInput,
460
- options: __HttpHandlerOptions,
461
- cb: (err: any, data?: BatchDeleteScheduledActionCommandOutput) => void
462
- ): void;
463
- public batchDeleteScheduledAction(
464
- args: BatchDeleteScheduledActionCommandInput,
465
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDeleteScheduledActionCommandOutput) => void),
466
- cb?: (err: any, data?: BatchDeleteScheduledActionCommandOutput) => void
467
- ): Promise<BatchDeleteScheduledActionCommandOutput> | void {
468
- const command = new BatchDeleteScheduledActionCommand(args);
469
- if (typeof optionsOrCb === "function") {
470
- this.send(command, optionsOrCb);
471
- } else if (typeof cb === "function") {
472
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
473
- this.send(command, optionsOrCb || {}, cb);
474
- } else {
475
- return this.send(command, optionsOrCb);
476
- }
477
- }
478
-
479
- /**
480
- * <p>Creates or updates one or more scheduled scaling actions for an Auto Scaling group.</p>
481
- */
482
- public batchPutScheduledUpdateGroupAction(
483
- args: BatchPutScheduledUpdateGroupActionCommandInput,
484
- options?: __HttpHandlerOptions
485
- ): Promise<BatchPutScheduledUpdateGroupActionCommandOutput>;
486
- public batchPutScheduledUpdateGroupAction(
487
- args: BatchPutScheduledUpdateGroupActionCommandInput,
488
- cb: (err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void
489
- ): void;
490
- public batchPutScheduledUpdateGroupAction(
491
- args: BatchPutScheduledUpdateGroupActionCommandInput,
492
- options: __HttpHandlerOptions,
493
- cb: (err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void
494
- ): void;
495
- public batchPutScheduledUpdateGroupAction(
496
- args: BatchPutScheduledUpdateGroupActionCommandInput,
497
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void),
498
- cb?: (err: any, data?: BatchPutScheduledUpdateGroupActionCommandOutput) => void
499
- ): Promise<BatchPutScheduledUpdateGroupActionCommandOutput> | void {
500
- const command = new BatchPutScheduledUpdateGroupActionCommand(args);
501
- if (typeof optionsOrCb === "function") {
502
- this.send(command, optionsOrCb);
503
- } else if (typeof cb === "function") {
504
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
505
- this.send(command, optionsOrCb || {}, cb);
506
- } else {
507
- return this.send(command, optionsOrCb);
508
- }
509
- }
510
-
511
- /**
512
- * <p>Cancels an instance refresh operation in progress. Cancellation does not roll back any
513
- * replacements that have already been completed, but it prevents new replacements from
514
- * being started. </p>
515
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
516
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
517
- * after you make configuration changes.</p>
518
- */
519
- public cancelInstanceRefresh(
520
- args: CancelInstanceRefreshCommandInput,
521
- options?: __HttpHandlerOptions
522
- ): Promise<CancelInstanceRefreshCommandOutput>;
523
- public cancelInstanceRefresh(
524
- args: CancelInstanceRefreshCommandInput,
525
- cb: (err: any, data?: CancelInstanceRefreshCommandOutput) => void
526
- ): void;
527
- public cancelInstanceRefresh(
528
- args: CancelInstanceRefreshCommandInput,
529
- options: __HttpHandlerOptions,
530
- cb: (err: any, data?: CancelInstanceRefreshCommandOutput) => void
531
- ): void;
532
- public cancelInstanceRefresh(
533
- args: CancelInstanceRefreshCommandInput,
534
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelInstanceRefreshCommandOutput) => void),
535
- cb?: (err: any, data?: CancelInstanceRefreshCommandOutput) => void
536
- ): Promise<CancelInstanceRefreshCommandOutput> | void {
537
- const command = new CancelInstanceRefreshCommand(args);
538
- if (typeof optionsOrCb === "function") {
539
- this.send(command, optionsOrCb);
540
- } else if (typeof cb === "function") {
541
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
542
- this.send(command, optionsOrCb || {}, cb);
543
- } else {
544
- return this.send(command, optionsOrCb);
545
- }
546
- }
547
-
548
- /**
549
- * <p>Completes the lifecycle action for the specified token or instance with the specified
550
- * result.</p>
551
- * <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
552
- * group:</p>
553
- * <ol>
554
- * <li>
555
- * <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
556
- * invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
557
- * instances.</p>
558
- * </li>
559
- * <li>
560
- * <p>(Optional) Create a notification target and an IAM role. The target can be
561
- * either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
562
- * publish lifecycle notifications to the target.</p>
563
- * </li>
564
- * <li>
565
- * <p>Create the lifecycle hook. Specify whether the hook is used when the instances
566
- * launch or terminate.</p>
567
- * </li>
568
- * <li>
569
- * <p>If you need more time, record the lifecycle action heartbeat to keep the
570
- * instance in a pending state.</p>
571
- * </li>
572
- * <li>
573
- * <p>
574
- * <b>If you finish before the timeout period ends, complete the
575
- * lifecycle action.</b>
576
- * </p>
577
- * </li>
578
- * </ol>
579
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
580
- * hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
581
- */
582
- public completeLifecycleAction(
583
- args: CompleteLifecycleActionCommandInput,
584
- options?: __HttpHandlerOptions
585
- ): Promise<CompleteLifecycleActionCommandOutput>;
586
- public completeLifecycleAction(
587
- args: CompleteLifecycleActionCommandInput,
588
- cb: (err: any, data?: CompleteLifecycleActionCommandOutput) => void
589
- ): void;
590
- public completeLifecycleAction(
591
- args: CompleteLifecycleActionCommandInput,
592
- options: __HttpHandlerOptions,
593
- cb: (err: any, data?: CompleteLifecycleActionCommandOutput) => void
594
- ): void;
595
- public completeLifecycleAction(
596
- args: CompleteLifecycleActionCommandInput,
597
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CompleteLifecycleActionCommandOutput) => void),
598
- cb?: (err: any, data?: CompleteLifecycleActionCommandOutput) => void
599
- ): Promise<CompleteLifecycleActionCommandOutput> | void {
600
- const command = new CompleteLifecycleActionCommand(args);
601
- if (typeof optionsOrCb === "function") {
602
- this.send(command, optionsOrCb);
603
- } else if (typeof cb === "function") {
604
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
605
- this.send(command, optionsOrCb || {}, cb);
606
- } else {
607
- return this.send(command, optionsOrCb);
608
- }
609
- }
610
-
611
- /**
612
- * <p>
613
- * <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>
614
- * </p>
615
- * <p>Creates an Auto Scaling group with
616
- * the specified name and attributes. </p>
617
- * <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,
618
- * call the <a>DescribeAccountLimits</a> API. For information about updating
619
- * this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
620
- * quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
621
- * <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
622
- * 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
623
- * scaled and load-balanced application</a> in the
624
- * <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
625
- * groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
626
- * <p>Every Auto Scaling group has three size parameters (<code>DesiredCapacity</code>,
627
- * <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based
628
- * on a specific number of instances. However, if you configure a mixed instances policy
629
- * that defines weights for the instance types, you must specify these sizes with the same
630
- * units that you use for weighting instances.</p>
631
- */
632
- public createAutoScalingGroup(
633
- args: CreateAutoScalingGroupCommandInput,
634
- options?: __HttpHandlerOptions
635
- ): Promise<CreateAutoScalingGroupCommandOutput>;
636
- public createAutoScalingGroup(
637
- args: CreateAutoScalingGroupCommandInput,
638
- cb: (err: any, data?: CreateAutoScalingGroupCommandOutput) => void
639
- ): void;
640
- public createAutoScalingGroup(
641
- args: CreateAutoScalingGroupCommandInput,
642
- options: __HttpHandlerOptions,
643
- cb: (err: any, data?: CreateAutoScalingGroupCommandOutput) => void
644
- ): void;
645
- public createAutoScalingGroup(
646
- args: CreateAutoScalingGroupCommandInput,
647
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAutoScalingGroupCommandOutput) => void),
648
- cb?: (err: any, data?: CreateAutoScalingGroupCommandOutput) => void
649
- ): Promise<CreateAutoScalingGroupCommandOutput> | void {
650
- const command = new CreateAutoScalingGroupCommand(args);
651
- if (typeof optionsOrCb === "function") {
652
- this.send(command, optionsOrCb);
653
- } else if (typeof cb === "function") {
654
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
655
- this.send(command, optionsOrCb || {}, cb);
656
- } else {
657
- return this.send(command, optionsOrCb);
658
- }
659
- }
660
-
661
- /**
662
- * <p>Creates a launch configuration.</p>
663
- * <p>If you exceed your maximum limit of launch configurations, the call fails. To query
664
- * this limit, call the <a>DescribeAccountLimits</a> API. For information about
665
- * updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
666
- * quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
667
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html">Launch
668
- * configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
669
- */
670
- public createLaunchConfiguration(
671
- args: CreateLaunchConfigurationCommandInput,
672
- options?: __HttpHandlerOptions
673
- ): Promise<CreateLaunchConfigurationCommandOutput>;
674
- public createLaunchConfiguration(
675
- args: CreateLaunchConfigurationCommandInput,
676
- cb: (err: any, data?: CreateLaunchConfigurationCommandOutput) => void
677
- ): void;
678
- public createLaunchConfiguration(
679
- args: CreateLaunchConfigurationCommandInput,
680
- options: __HttpHandlerOptions,
681
- cb: (err: any, data?: CreateLaunchConfigurationCommandOutput) => void
682
- ): void;
683
- public createLaunchConfiguration(
684
- args: CreateLaunchConfigurationCommandInput,
685
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLaunchConfigurationCommandOutput) => void),
686
- cb?: (err: any, data?: CreateLaunchConfigurationCommandOutput) => void
687
- ): Promise<CreateLaunchConfigurationCommandOutput> | void {
688
- const command = new CreateLaunchConfigurationCommand(args);
689
- if (typeof optionsOrCb === "function") {
690
- this.send(command, optionsOrCb);
691
- } else if (typeof cb === "function") {
692
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
693
- this.send(command, optionsOrCb || {}, cb);
694
- } else {
695
- return this.send(command, optionsOrCb);
696
- }
697
- }
698
-
699
- /**
700
- * <p>Creates or updates tags for the specified Auto Scaling group.</p>
701
- * <p>When you specify a tag with a key that already exists, the operation overwrites the
702
- * previous tag definition, and you do not get an error message.</p>
703
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html">Tagging Auto Scaling groups and
704
- * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
705
- */
706
- public createOrUpdateTags(
707
- args: CreateOrUpdateTagsCommandInput,
708
- options?: __HttpHandlerOptions
709
- ): Promise<CreateOrUpdateTagsCommandOutput>;
710
- public createOrUpdateTags(
711
- args: CreateOrUpdateTagsCommandInput,
712
- cb: (err: any, data?: CreateOrUpdateTagsCommandOutput) => void
713
- ): void;
714
- public createOrUpdateTags(
715
- args: CreateOrUpdateTagsCommandInput,
716
- options: __HttpHandlerOptions,
717
- cb: (err: any, data?: CreateOrUpdateTagsCommandOutput) => void
718
- ): void;
719
- public createOrUpdateTags(
720
- args: CreateOrUpdateTagsCommandInput,
721
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateOrUpdateTagsCommandOutput) => void),
722
- cb?: (err: any, data?: CreateOrUpdateTagsCommandOutput) => void
723
- ): Promise<CreateOrUpdateTagsCommandOutput> | void {
724
- const command = new CreateOrUpdateTagsCommand(args);
725
- if (typeof optionsOrCb === "function") {
726
- this.send(command, optionsOrCb);
727
- } else if (typeof cb === "function") {
728
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
729
- this.send(command, optionsOrCb || {}, cb);
730
- } else {
731
- return this.send(command, optionsOrCb);
732
- }
733
- }
734
-
735
- /**
736
- * <p>Deletes the specified Auto Scaling group.</p>
737
- * <p>If the group has instances or scaling activities in progress, you must specify the
738
- * option to force the deletion in order for it to succeed.</p>
739
- * <p>If the group has policies, deleting the group deletes the policies, the underlying
740
- * alarm actions, and any alarm that no longer has an associated action.</p>
741
- * <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
742
- * decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement
743
- * instances.</p>
744
- * <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
745
- * of the Auto Scaling group to zero.</p>
746
- */
747
- public deleteAutoScalingGroup(
748
- args: DeleteAutoScalingGroupCommandInput,
749
- options?: __HttpHandlerOptions
750
- ): Promise<DeleteAutoScalingGroupCommandOutput>;
751
- public deleteAutoScalingGroup(
752
- args: DeleteAutoScalingGroupCommandInput,
753
- cb: (err: any, data?: DeleteAutoScalingGroupCommandOutput) => void
754
- ): void;
755
- public deleteAutoScalingGroup(
756
- args: DeleteAutoScalingGroupCommandInput,
757
- options: __HttpHandlerOptions,
758
- cb: (err: any, data?: DeleteAutoScalingGroupCommandOutput) => void
759
- ): void;
760
- public deleteAutoScalingGroup(
761
- args: DeleteAutoScalingGroupCommandInput,
762
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAutoScalingGroupCommandOutput) => void),
763
- cb?: (err: any, data?: DeleteAutoScalingGroupCommandOutput) => void
764
- ): Promise<DeleteAutoScalingGroupCommandOutput> | void {
765
- const command = new DeleteAutoScalingGroupCommand(args);
766
- if (typeof optionsOrCb === "function") {
767
- this.send(command, optionsOrCb);
768
- } else if (typeof cb === "function") {
769
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
770
- this.send(command, optionsOrCb || {}, cb);
771
- } else {
772
- return this.send(command, optionsOrCb);
773
- }
774
- }
775
-
776
- /**
777
- * <p>Deletes the specified launch configuration.</p>
778
- * <p>The launch configuration must not be attached to an Auto Scaling group. When this call
779
- * completes, the launch configuration is no longer available for use.</p>
780
- */
781
- public deleteLaunchConfiguration(
782
- args: DeleteLaunchConfigurationCommandInput,
783
- options?: __HttpHandlerOptions
784
- ): Promise<DeleteLaunchConfigurationCommandOutput>;
785
- public deleteLaunchConfiguration(
786
- args: DeleteLaunchConfigurationCommandInput,
787
- cb: (err: any, data?: DeleteLaunchConfigurationCommandOutput) => void
788
- ): void;
789
- public deleteLaunchConfiguration(
790
- args: DeleteLaunchConfigurationCommandInput,
791
- options: __HttpHandlerOptions,
792
- cb: (err: any, data?: DeleteLaunchConfigurationCommandOutput) => void
793
- ): void;
794
- public deleteLaunchConfiguration(
795
- args: DeleteLaunchConfigurationCommandInput,
796
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLaunchConfigurationCommandOutput) => void),
797
- cb?: (err: any, data?: DeleteLaunchConfigurationCommandOutput) => void
798
- ): Promise<DeleteLaunchConfigurationCommandOutput> | void {
799
- const command = new DeleteLaunchConfigurationCommand(args);
800
- if (typeof optionsOrCb === "function") {
801
- this.send(command, optionsOrCb);
802
- } else if (typeof cb === "function") {
803
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
804
- this.send(command, optionsOrCb || {}, cb);
805
- } else {
806
- return this.send(command, optionsOrCb);
807
- }
808
- }
809
-
810
- /**
811
- * <p>Deletes the specified lifecycle hook.</p>
812
- * <p>If there are any outstanding lifecycle actions, they are completed first
813
- * (<code>ABANDON</code> for launching instances, <code>CONTINUE</code> for terminating
814
- * instances).</p>
815
- */
816
- public deleteLifecycleHook(
817
- args: DeleteLifecycleHookCommandInput,
818
- options?: __HttpHandlerOptions
819
- ): Promise<DeleteLifecycleHookCommandOutput>;
820
- public deleteLifecycleHook(
821
- args: DeleteLifecycleHookCommandInput,
822
- cb: (err: any, data?: DeleteLifecycleHookCommandOutput) => void
823
- ): void;
824
- public deleteLifecycleHook(
825
- args: DeleteLifecycleHookCommandInput,
826
- options: __HttpHandlerOptions,
827
- cb: (err: any, data?: DeleteLifecycleHookCommandOutput) => void
828
- ): void;
829
- public deleteLifecycleHook(
830
- args: DeleteLifecycleHookCommandInput,
831
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLifecycleHookCommandOutput) => void),
832
- cb?: (err: any, data?: DeleteLifecycleHookCommandOutput) => void
833
- ): Promise<DeleteLifecycleHookCommandOutput> | void {
834
- const command = new DeleteLifecycleHookCommand(args);
835
- if (typeof optionsOrCb === "function") {
836
- this.send(command, optionsOrCb);
837
- } else if (typeof cb === "function") {
838
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
839
- this.send(command, optionsOrCb || {}, cb);
840
- } else {
841
- return this.send(command, optionsOrCb);
842
- }
843
- }
844
-
845
- /**
846
- * <p>Deletes the specified notification.</p>
847
- */
848
- public deleteNotificationConfiguration(
849
- args: DeleteNotificationConfigurationCommandInput,
850
- options?: __HttpHandlerOptions
851
- ): Promise<DeleteNotificationConfigurationCommandOutput>;
852
- public deleteNotificationConfiguration(
853
- args: DeleteNotificationConfigurationCommandInput,
854
- cb: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void
855
- ): void;
856
- public deleteNotificationConfiguration(
857
- args: DeleteNotificationConfigurationCommandInput,
858
- options: __HttpHandlerOptions,
859
- cb: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void
860
- ): void;
861
- public deleteNotificationConfiguration(
862
- args: DeleteNotificationConfigurationCommandInput,
863
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteNotificationConfigurationCommandOutput) => void),
864
- cb?: (err: any, data?: DeleteNotificationConfigurationCommandOutput) => void
865
- ): Promise<DeleteNotificationConfigurationCommandOutput> | void {
866
- const command = new DeleteNotificationConfigurationCommand(args);
867
- if (typeof optionsOrCb === "function") {
868
- this.send(command, optionsOrCb);
869
- } else if (typeof cb === "function") {
870
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
871
- this.send(command, optionsOrCb || {}, cb);
872
- } else {
873
- return this.send(command, optionsOrCb);
874
- }
875
- }
876
-
877
- /**
878
- * <p>Deletes the specified scaling policy.</p>
879
- * <p>Deleting either a step scaling policy or a simple scaling policy deletes the
880
- * underlying alarm action, but does not delete the alarm, even if it no longer has an
881
- * associated action.</p>
882
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html">Deleting a scaling
883
- * policy</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
884
- */
885
- public deletePolicy(
886
- args: DeletePolicyCommandInput,
887
- options?: __HttpHandlerOptions
888
- ): Promise<DeletePolicyCommandOutput>;
889
- public deletePolicy(args: DeletePolicyCommandInput, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
890
- public deletePolicy(
891
- args: DeletePolicyCommandInput,
892
- options: __HttpHandlerOptions,
893
- cb: (err: any, data?: DeletePolicyCommandOutput) => void
894
- ): void;
895
- public deletePolicy(
896
- args: DeletePolicyCommandInput,
897
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePolicyCommandOutput) => void),
898
- cb?: (err: any, data?: DeletePolicyCommandOutput) => void
899
- ): Promise<DeletePolicyCommandOutput> | void {
900
- const command = new DeletePolicyCommand(args);
901
- if (typeof optionsOrCb === "function") {
902
- this.send(command, optionsOrCb);
903
- } else if (typeof cb === "function") {
904
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
905
- this.send(command, optionsOrCb || {}, cb);
906
- } else {
907
- return this.send(command, optionsOrCb);
908
- }
909
- }
910
-
911
- /**
912
- * <p>Deletes the specified scheduled action.</p>
913
- */
914
- public deleteScheduledAction(
915
- args: DeleteScheduledActionCommandInput,
916
- options?: __HttpHandlerOptions
917
- ): Promise<DeleteScheduledActionCommandOutput>;
918
- public deleteScheduledAction(
919
- args: DeleteScheduledActionCommandInput,
920
- cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void
921
- ): void;
922
- public deleteScheduledAction(
923
- args: DeleteScheduledActionCommandInput,
924
- options: __HttpHandlerOptions,
925
- cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void
926
- ): void;
927
- public deleteScheduledAction(
928
- args: DeleteScheduledActionCommandInput,
929
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteScheduledActionCommandOutput) => void),
930
- cb?: (err: any, data?: DeleteScheduledActionCommandOutput) => void
931
- ): Promise<DeleteScheduledActionCommandOutput> | void {
932
- const command = new DeleteScheduledActionCommand(args);
933
- if (typeof optionsOrCb === "function") {
934
- this.send(command, optionsOrCb);
935
- } else if (typeof cb === "function") {
936
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
937
- this.send(command, optionsOrCb || {}, cb);
938
- } else {
939
- return this.send(command, optionsOrCb);
940
- }
941
- }
942
-
943
- /**
944
- * <p>Deletes the specified tags.</p>
945
- */
946
- public deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
947
- public deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
948
- public deleteTags(
949
- args: DeleteTagsCommandInput,
950
- options: __HttpHandlerOptions,
951
- cb: (err: any, data?: DeleteTagsCommandOutput) => void
952
- ): void;
953
- public deleteTags(
954
- args: DeleteTagsCommandInput,
955
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTagsCommandOutput) => void),
956
- cb?: (err: any, data?: DeleteTagsCommandOutput) => void
957
- ): Promise<DeleteTagsCommandOutput> | void {
958
- const command = new DeleteTagsCommand(args);
959
- if (typeof optionsOrCb === "function") {
960
- this.send(command, optionsOrCb);
961
- } else if (typeof cb === "function") {
962
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
963
- this.send(command, optionsOrCb || {}, cb);
964
- } else {
965
- return this.send(command, optionsOrCb);
966
- }
967
- }
968
-
969
- /**
970
- * <p>Deletes the warm pool for the specified Auto Scaling group.</p>
971
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
972
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
973
- */
974
- public deleteWarmPool(
975
- args: DeleteWarmPoolCommandInput,
976
- options?: __HttpHandlerOptions
977
- ): Promise<DeleteWarmPoolCommandOutput>;
978
- public deleteWarmPool(
979
- args: DeleteWarmPoolCommandInput,
980
- cb: (err: any, data?: DeleteWarmPoolCommandOutput) => void
981
- ): void;
982
- public deleteWarmPool(
983
- args: DeleteWarmPoolCommandInput,
984
- options: __HttpHandlerOptions,
985
- cb: (err: any, data?: DeleteWarmPoolCommandOutput) => void
986
- ): void;
987
- public deleteWarmPool(
988
- args: DeleteWarmPoolCommandInput,
989
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWarmPoolCommandOutput) => void),
990
- cb?: (err: any, data?: DeleteWarmPoolCommandOutput) => void
991
- ): Promise<DeleteWarmPoolCommandOutput> | void {
992
- const command = new DeleteWarmPoolCommand(args);
993
- if (typeof optionsOrCb === "function") {
994
- this.send(command, optionsOrCb);
995
- } else if (typeof cb === "function") {
996
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
997
- this.send(command, optionsOrCb || {}, cb);
998
- } else {
999
- return this.send(command, optionsOrCb);
1000
- }
1001
- }
1002
-
1003
- /**
1004
- * <p>Describes the current Amazon EC2 Auto Scaling resource quotas for your account.</p>
1005
- * <p>When you establish an account, the account has initial quotas on the maximum
1006
- * number of Auto Scaling groups and launch configurations that you can create in a given Region.
1007
- * For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
1008
- * quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1009
- */
1010
- public describeAccountLimits(
1011
- args: DescribeAccountLimitsCommandInput,
1012
- options?: __HttpHandlerOptions
1013
- ): Promise<DescribeAccountLimitsCommandOutput>;
1014
- public describeAccountLimits(
1015
- args: DescribeAccountLimitsCommandInput,
1016
- cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
1017
- ): void;
1018
- public describeAccountLimits(
1019
- args: DescribeAccountLimitsCommandInput,
1020
- options: __HttpHandlerOptions,
1021
- cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
1022
- ): void;
1023
- public describeAccountLimits(
1024
- args: DescribeAccountLimitsCommandInput,
1025
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountLimitsCommandOutput) => void),
1026
- cb?: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
1027
- ): Promise<DescribeAccountLimitsCommandOutput> | void {
1028
- const command = new DescribeAccountLimitsCommand(args);
1029
- if (typeof optionsOrCb === "function") {
1030
- this.send(command, optionsOrCb);
1031
- } else if (typeof cb === "function") {
1032
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1033
- this.send(command, optionsOrCb || {}, cb);
1034
- } else {
1035
- return this.send(command, optionsOrCb);
1036
- }
1037
- }
1038
-
1039
- /**
1040
- * <p>Describes the available adjustment types for step scaling and simple scaling
1041
- * policies.</p>
1042
- * <p>The following adjustment types are supported:</p>
1043
- * <ul>
1044
- * <li>
1045
- * <p>
1046
- * <code>ChangeInCapacity</code>
1047
- * </p>
1048
- * </li>
1049
- * <li>
1050
- * <p>
1051
- * <code>ExactCapacity</code>
1052
- * </p>
1053
- * </li>
1054
- * <li>
1055
- * <p>
1056
- * <code>PercentChangeInCapacity</code>
1057
- * </p>
1058
- * </li>
1059
- * </ul>
1060
- */
1061
- public describeAdjustmentTypes(
1062
- args: DescribeAdjustmentTypesCommandInput,
1063
- options?: __HttpHandlerOptions
1064
- ): Promise<DescribeAdjustmentTypesCommandOutput>;
1065
- public describeAdjustmentTypes(
1066
- args: DescribeAdjustmentTypesCommandInput,
1067
- cb: (err: any, data?: DescribeAdjustmentTypesCommandOutput) => void
1068
- ): void;
1069
- public describeAdjustmentTypes(
1070
- args: DescribeAdjustmentTypesCommandInput,
1071
- options: __HttpHandlerOptions,
1072
- cb: (err: any, data?: DescribeAdjustmentTypesCommandOutput) => void
1073
- ): void;
1074
- public describeAdjustmentTypes(
1075
- args: DescribeAdjustmentTypesCommandInput,
1076
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAdjustmentTypesCommandOutput) => void),
1077
- cb?: (err: any, data?: DescribeAdjustmentTypesCommandOutput) => void
1078
- ): Promise<DescribeAdjustmentTypesCommandOutput> | void {
1079
- const command = new DescribeAdjustmentTypesCommand(args);
1080
- if (typeof optionsOrCb === "function") {
1081
- this.send(command, optionsOrCb);
1082
- } else if (typeof cb === "function") {
1083
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1084
- this.send(command, optionsOrCb || {}, cb);
1085
- } else {
1086
- return this.send(command, optionsOrCb);
1087
- }
1088
- }
1089
-
1090
- /**
1091
- * <p>Gets information about the Auto Scaling groups in the account and Region.</p>
1092
- * <p>This operation returns information about instances in Auto Scaling groups. To retrieve
1093
- * information about the instances in a warm pool, you must call the <a>DescribeWarmPool</a> API. </p>
1094
- */
1095
- public describeAutoScalingGroups(
1096
- args: DescribeAutoScalingGroupsCommandInput,
1097
- options?: __HttpHandlerOptions
1098
- ): Promise<DescribeAutoScalingGroupsCommandOutput>;
1099
- public describeAutoScalingGroups(
1100
- args: DescribeAutoScalingGroupsCommandInput,
1101
- cb: (err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void
1102
- ): void;
1103
- public describeAutoScalingGroups(
1104
- args: DescribeAutoScalingGroupsCommandInput,
1105
- options: __HttpHandlerOptions,
1106
- cb: (err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void
1107
- ): void;
1108
- public describeAutoScalingGroups(
1109
- args: DescribeAutoScalingGroupsCommandInput,
1110
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void),
1111
- cb?: (err: any, data?: DescribeAutoScalingGroupsCommandOutput) => void
1112
- ): Promise<DescribeAutoScalingGroupsCommandOutput> | void {
1113
- const command = new DescribeAutoScalingGroupsCommand(args);
1114
- if (typeof optionsOrCb === "function") {
1115
- this.send(command, optionsOrCb);
1116
- } else if (typeof cb === "function") {
1117
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1118
- this.send(command, optionsOrCb || {}, cb);
1119
- } else {
1120
- return this.send(command, optionsOrCb);
1121
- }
1122
- }
1123
-
1124
- /**
1125
- * <p>Gets information about the Auto Scaling instances in the account and Region.</p>
1126
- */
1127
- public describeAutoScalingInstances(
1128
- args: DescribeAutoScalingInstancesCommandInput,
1129
- options?: __HttpHandlerOptions
1130
- ): Promise<DescribeAutoScalingInstancesCommandOutput>;
1131
- public describeAutoScalingInstances(
1132
- args: DescribeAutoScalingInstancesCommandInput,
1133
- cb: (err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void
1134
- ): void;
1135
- public describeAutoScalingInstances(
1136
- args: DescribeAutoScalingInstancesCommandInput,
1137
- options: __HttpHandlerOptions,
1138
- cb: (err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void
1139
- ): void;
1140
- public describeAutoScalingInstances(
1141
- args: DescribeAutoScalingInstancesCommandInput,
1142
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void),
1143
- cb?: (err: any, data?: DescribeAutoScalingInstancesCommandOutput) => void
1144
- ): Promise<DescribeAutoScalingInstancesCommandOutput> | void {
1145
- const command = new DescribeAutoScalingInstancesCommand(args);
1146
- if (typeof optionsOrCb === "function") {
1147
- this.send(command, optionsOrCb);
1148
- } else if (typeof cb === "function") {
1149
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1150
- this.send(command, optionsOrCb || {}, cb);
1151
- } else {
1152
- return this.send(command, optionsOrCb);
1153
- }
1154
- }
1155
-
1156
- /**
1157
- * <p>Describes the notification types that are supported by Amazon EC2 Auto Scaling.</p>
1158
- */
1159
- public describeAutoScalingNotificationTypes(
1160
- args: DescribeAutoScalingNotificationTypesCommandInput,
1161
- options?: __HttpHandlerOptions
1162
- ): Promise<DescribeAutoScalingNotificationTypesCommandOutput>;
1163
- public describeAutoScalingNotificationTypes(
1164
- args: DescribeAutoScalingNotificationTypesCommandInput,
1165
- cb: (err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void
1166
- ): void;
1167
- public describeAutoScalingNotificationTypes(
1168
- args: DescribeAutoScalingNotificationTypesCommandInput,
1169
- options: __HttpHandlerOptions,
1170
- cb: (err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void
1171
- ): void;
1172
- public describeAutoScalingNotificationTypes(
1173
- args: DescribeAutoScalingNotificationTypesCommandInput,
1174
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void),
1175
- cb?: (err: any, data?: DescribeAutoScalingNotificationTypesCommandOutput) => void
1176
- ): Promise<DescribeAutoScalingNotificationTypesCommandOutput> | void {
1177
- const command = new DescribeAutoScalingNotificationTypesCommand(args);
1178
- if (typeof optionsOrCb === "function") {
1179
- this.send(command, optionsOrCb);
1180
- } else if (typeof cb === "function") {
1181
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1182
- this.send(command, optionsOrCb || {}, cb);
1183
- } else {
1184
- return this.send(command, optionsOrCb);
1185
- }
1186
- }
1187
-
1188
- /**
1189
- * <p>Gets information about the instance refreshes for the specified Auto Scaling group.</p>
1190
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
1191
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
1192
- * after you make configuration changes.</p>
1193
- * <p>To help you determine the status of an instance refresh, this operation returns
1194
- * information about the instance refreshes you previously initiated, including their
1195
- * status, end time, the percentage of the instance refresh that is complete, and the
1196
- * number of instances remaining to update before the instance refresh is complete.</p>
1197
- * <p>The following are the possible statuses: </p>
1198
- * <ul>
1199
- * <li>
1200
- * <p>
1201
- * <code>Pending</code> - The request was created, but the operation has not
1202
- * started.</p>
1203
- * </li>
1204
- * <li>
1205
- * <p>
1206
- * <code>InProgress</code> - The operation is in progress.</p>
1207
- * </li>
1208
- * <li>
1209
- * <p>
1210
- * <code>Successful</code> - The operation completed successfully.</p>
1211
- * </li>
1212
- * <li>
1213
- * <p>
1214
- * <code>Failed</code> - The operation failed to complete. You can troubleshoot
1215
- * using the status reason and the scaling activities. </p>
1216
- * </li>
1217
- * <li>
1218
- * <p>
1219
- * <code>Cancelling</code> - An ongoing operation is being cancelled.
1220
- * Cancellation does not roll back any replacements that have already been
1221
- * completed, but it prevents new replacements from being started. </p>
1222
- * </li>
1223
- * <li>
1224
- * <p>
1225
- * <code>Cancelled</code> - The operation is cancelled. </p>
1226
- * </li>
1227
- * </ul>
1228
- */
1229
- public describeInstanceRefreshes(
1230
- args: DescribeInstanceRefreshesCommandInput,
1231
- options?: __HttpHandlerOptions
1232
- ): Promise<DescribeInstanceRefreshesCommandOutput>;
1233
- public describeInstanceRefreshes(
1234
- args: DescribeInstanceRefreshesCommandInput,
1235
- cb: (err: any, data?: DescribeInstanceRefreshesCommandOutput) => void
1236
- ): void;
1237
- public describeInstanceRefreshes(
1238
- args: DescribeInstanceRefreshesCommandInput,
1239
- options: __HttpHandlerOptions,
1240
- cb: (err: any, data?: DescribeInstanceRefreshesCommandOutput) => void
1241
- ): void;
1242
- public describeInstanceRefreshes(
1243
- args: DescribeInstanceRefreshesCommandInput,
1244
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeInstanceRefreshesCommandOutput) => void),
1245
- cb?: (err: any, data?: DescribeInstanceRefreshesCommandOutput) => void
1246
- ): Promise<DescribeInstanceRefreshesCommandOutput> | void {
1247
- const command = new DescribeInstanceRefreshesCommand(args);
1248
- if (typeof optionsOrCb === "function") {
1249
- this.send(command, optionsOrCb);
1250
- } else if (typeof cb === "function") {
1251
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1252
- this.send(command, optionsOrCb || {}, cb);
1253
- } else {
1254
- return this.send(command, optionsOrCb);
1255
- }
1256
- }
1257
-
1258
- /**
1259
- * <p>Gets information about the launch configurations in the account and Region.</p>
1260
- */
1261
- public describeLaunchConfigurations(
1262
- args: DescribeLaunchConfigurationsCommandInput,
1263
- options?: __HttpHandlerOptions
1264
- ): Promise<DescribeLaunchConfigurationsCommandOutput>;
1265
- public describeLaunchConfigurations(
1266
- args: DescribeLaunchConfigurationsCommandInput,
1267
- cb: (err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void
1268
- ): void;
1269
- public describeLaunchConfigurations(
1270
- args: DescribeLaunchConfigurationsCommandInput,
1271
- options: __HttpHandlerOptions,
1272
- cb: (err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void
1273
- ): void;
1274
- public describeLaunchConfigurations(
1275
- args: DescribeLaunchConfigurationsCommandInput,
1276
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void),
1277
- cb?: (err: any, data?: DescribeLaunchConfigurationsCommandOutput) => void
1278
- ): Promise<DescribeLaunchConfigurationsCommandOutput> | void {
1279
- const command = new DescribeLaunchConfigurationsCommand(args);
1280
- if (typeof optionsOrCb === "function") {
1281
- this.send(command, optionsOrCb);
1282
- } else if (typeof cb === "function") {
1283
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1284
- this.send(command, optionsOrCb || {}, cb);
1285
- } else {
1286
- return this.send(command, optionsOrCb);
1287
- }
1288
- }
1289
-
1290
- /**
1291
- * <p>Gets information about the lifecycle hooks for the specified Auto Scaling group.</p>
1292
- */
1293
- public describeLifecycleHooks(
1294
- args: DescribeLifecycleHooksCommandInput,
1295
- options?: __HttpHandlerOptions
1296
- ): Promise<DescribeLifecycleHooksCommandOutput>;
1297
- public describeLifecycleHooks(
1298
- args: DescribeLifecycleHooksCommandInput,
1299
- cb: (err: any, data?: DescribeLifecycleHooksCommandOutput) => void
1300
- ): void;
1301
- public describeLifecycleHooks(
1302
- args: DescribeLifecycleHooksCommandInput,
1303
- options: __HttpHandlerOptions,
1304
- cb: (err: any, data?: DescribeLifecycleHooksCommandOutput) => void
1305
- ): void;
1306
- public describeLifecycleHooks(
1307
- args: DescribeLifecycleHooksCommandInput,
1308
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLifecycleHooksCommandOutput) => void),
1309
- cb?: (err: any, data?: DescribeLifecycleHooksCommandOutput) => void
1310
- ): Promise<DescribeLifecycleHooksCommandOutput> | void {
1311
- const command = new DescribeLifecycleHooksCommand(args);
1312
- if (typeof optionsOrCb === "function") {
1313
- this.send(command, optionsOrCb);
1314
- } else if (typeof cb === "function") {
1315
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1316
- this.send(command, optionsOrCb || {}, cb);
1317
- } else {
1318
- return this.send(command, optionsOrCb);
1319
- }
1320
- }
1321
-
1322
- /**
1323
- * <p>Describes the available types of lifecycle hooks.</p>
1324
- * <p>The following hook types are supported:</p>
1325
- * <ul>
1326
- * <li>
1327
- * <p>
1328
- * <code>autoscaling:EC2_INSTANCE_LAUNCHING</code>
1329
- * </p>
1330
- * </li>
1331
- * <li>
1332
- * <p>
1333
- * <code>autoscaling:EC2_INSTANCE_TERMINATING</code>
1334
- * </p>
1335
- * </li>
1336
- * </ul>
1337
- */
1338
- public describeLifecycleHookTypes(
1339
- args: DescribeLifecycleHookTypesCommandInput,
1340
- options?: __HttpHandlerOptions
1341
- ): Promise<DescribeLifecycleHookTypesCommandOutput>;
1342
- public describeLifecycleHookTypes(
1343
- args: DescribeLifecycleHookTypesCommandInput,
1344
- cb: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void
1345
- ): void;
1346
- public describeLifecycleHookTypes(
1347
- args: DescribeLifecycleHookTypesCommandInput,
1348
- options: __HttpHandlerOptions,
1349
- cb: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void
1350
- ): void;
1351
- public describeLifecycleHookTypes(
1352
- args: DescribeLifecycleHookTypesCommandInput,
1353
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void),
1354
- cb?: (err: any, data?: DescribeLifecycleHookTypesCommandOutput) => void
1355
- ): Promise<DescribeLifecycleHookTypesCommandOutput> | void {
1356
- const command = new DescribeLifecycleHookTypesCommand(args);
1357
- if (typeof optionsOrCb === "function") {
1358
- this.send(command, optionsOrCb);
1359
- } else if (typeof cb === "function") {
1360
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1361
- this.send(command, optionsOrCb || {}, cb);
1362
- } else {
1363
- return this.send(command, optionsOrCb);
1364
- }
1365
- }
1366
-
1367
- /**
1368
- * <p>Gets information about the load balancers for the specified Auto Scaling group.</p>
1369
- * <p>This operation describes only Classic Load Balancers. If you have Application Load
1370
- * Balancers, Network Load Balancers, or Gateway Load Balancers, use the <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>
1371
- * <p>To determine the availability of registered instances, use the <code>State</code>
1372
- * element in the response. When you attach a load balancer to an Auto Scaling group, the initial
1373
- * <code>State</code> value is <code>Adding</code>. The state transitions to
1374
- * <code>Added</code> after all Auto Scaling instances are registered with the load balancer.
1375
- * If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to
1376
- * <code>InService</code> after at least one Auto Scaling instance passes the health check.
1377
- * When the load balancer is in the <code>InService</code> state, Amazon EC2 Auto Scaling can terminate
1378
- * and replace any instances that are reported as unhealthy. If no registered instances
1379
- * pass the health checks, the load balancer doesn't enter the <code>InService</code>
1380
- * state. </p>
1381
- * <p>Load balancers also have an <code>InService</code> state if you attach them in the
1382
- * <a>CreateAutoScalingGroup</a> API call. If your load balancer state is
1383
- * <code>InService</code>, but it is not working properly, check the scaling activities
1384
- * by calling <a>DescribeScalingActivities</a> and take any corrective actions
1385
- * necessary.</p>
1386
- * <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:
1387
- * Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
1388
- * information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
1389
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
1390
- */
1391
- public describeLoadBalancers(
1392
- args: DescribeLoadBalancersCommandInput,
1393
- options?: __HttpHandlerOptions
1394
- ): Promise<DescribeLoadBalancersCommandOutput>;
1395
- public describeLoadBalancers(
1396
- args: DescribeLoadBalancersCommandInput,
1397
- cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
1398
- ): void;
1399
- public describeLoadBalancers(
1400
- args: DescribeLoadBalancersCommandInput,
1401
- options: __HttpHandlerOptions,
1402
- cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
1403
- ): void;
1404
- public describeLoadBalancers(
1405
- args: DescribeLoadBalancersCommandInput,
1406
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoadBalancersCommandOutput) => void),
1407
- cb?: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
1408
- ): Promise<DescribeLoadBalancersCommandOutput> | void {
1409
- const command = new DescribeLoadBalancersCommand(args);
1410
- if (typeof optionsOrCb === "function") {
1411
- this.send(command, optionsOrCb);
1412
- } else if (typeof cb === "function") {
1413
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1414
- this.send(command, optionsOrCb || {}, cb);
1415
- } else {
1416
- return this.send(command, optionsOrCb);
1417
- }
1418
- }
1419
-
1420
- /**
1421
- * <p>Gets information about the load balancer target groups for the specified Auto Scaling
1422
- * group.</p>
1423
- * <p>To determine the availability of registered instances, use the <code>State</code>
1424
- * element in the response. When you attach a target group to an Auto Scaling group, the initial
1425
- * <code>State</code> value is <code>Adding</code>. The state transitions to
1426
- * <code>Added</code> after all Auto Scaling instances are registered with the target group. If
1427
- * Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to
1428
- * <code>InService</code> after at least one Auto Scaling instance passes the health check.
1429
- * When the target group is in the <code>InService</code> state, Amazon EC2 Auto Scaling can terminate and
1430
- * replace any instances that are reported as unhealthy. If no registered instances pass
1431
- * the health checks, the target group doesn't enter the <code>InService</code> state. </p>
1432
- * <p>Target groups also have an <code>InService</code> state if you attach them in the
1433
- * <a>CreateAutoScalingGroup</a> API call. If your target group state is
1434
- * <code>InService</code>, but it is not working properly, check the scaling activities
1435
- * by calling <a>DescribeScalingActivities</a> and take any corrective actions
1436
- * necessary.</p>
1437
- * <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:
1438
- * Health checks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For more
1439
- * information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Elastic Load Balancing and
1440
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
1441
- */
1442
- public describeLoadBalancerTargetGroups(
1443
- args: DescribeLoadBalancerTargetGroupsCommandInput,
1444
- options?: __HttpHandlerOptions
1445
- ): Promise<DescribeLoadBalancerTargetGroupsCommandOutput>;
1446
- public describeLoadBalancerTargetGroups(
1447
- args: DescribeLoadBalancerTargetGroupsCommandInput,
1448
- cb: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void
1449
- ): void;
1450
- public describeLoadBalancerTargetGroups(
1451
- args: DescribeLoadBalancerTargetGroupsCommandInput,
1452
- options: __HttpHandlerOptions,
1453
- cb: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void
1454
- ): void;
1455
- public describeLoadBalancerTargetGroups(
1456
- args: DescribeLoadBalancerTargetGroupsCommandInput,
1457
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void),
1458
- cb?: (err: any, data?: DescribeLoadBalancerTargetGroupsCommandOutput) => void
1459
- ): Promise<DescribeLoadBalancerTargetGroupsCommandOutput> | void {
1460
- const command = new DescribeLoadBalancerTargetGroupsCommand(args);
1461
- if (typeof optionsOrCb === "function") {
1462
- this.send(command, optionsOrCb);
1463
- } else if (typeof cb === "function") {
1464
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1465
- this.send(command, optionsOrCb || {}, cb);
1466
- } else {
1467
- return this.send(command, optionsOrCb);
1468
- }
1469
- }
1470
-
1471
- /**
1472
- * <p>Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.</p>
1473
- * <p>The <code>GroupStandbyInstances</code> metric is not returned by default. You must
1474
- * explicitly request this metric when calling the <a>EnableMetricsCollection</a> API.</p>
1475
- */
1476
- public describeMetricCollectionTypes(
1477
- args: DescribeMetricCollectionTypesCommandInput,
1478
- options?: __HttpHandlerOptions
1479
- ): Promise<DescribeMetricCollectionTypesCommandOutput>;
1480
- public describeMetricCollectionTypes(
1481
- args: DescribeMetricCollectionTypesCommandInput,
1482
- cb: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void
1483
- ): void;
1484
- public describeMetricCollectionTypes(
1485
- args: DescribeMetricCollectionTypesCommandInput,
1486
- options: __HttpHandlerOptions,
1487
- cb: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void
1488
- ): void;
1489
- public describeMetricCollectionTypes(
1490
- args: DescribeMetricCollectionTypesCommandInput,
1491
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void),
1492
- cb?: (err: any, data?: DescribeMetricCollectionTypesCommandOutput) => void
1493
- ): Promise<DescribeMetricCollectionTypesCommandOutput> | void {
1494
- const command = new DescribeMetricCollectionTypesCommand(args);
1495
- if (typeof optionsOrCb === "function") {
1496
- this.send(command, optionsOrCb);
1497
- } else if (typeof cb === "function") {
1498
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1499
- this.send(command, optionsOrCb || {}, cb);
1500
- } else {
1501
- return this.send(command, optionsOrCb);
1502
- }
1503
- }
1504
-
1505
- /**
1506
- * <p>Gets information about the Amazon SNS notifications that are configured for one or more
1507
- * Auto Scaling groups.</p>
1508
- */
1509
- public describeNotificationConfigurations(
1510
- args: DescribeNotificationConfigurationsCommandInput,
1511
- options?: __HttpHandlerOptions
1512
- ): Promise<DescribeNotificationConfigurationsCommandOutput>;
1513
- public describeNotificationConfigurations(
1514
- args: DescribeNotificationConfigurationsCommandInput,
1515
- cb: (err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void
1516
- ): void;
1517
- public describeNotificationConfigurations(
1518
- args: DescribeNotificationConfigurationsCommandInput,
1519
- options: __HttpHandlerOptions,
1520
- cb: (err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void
1521
- ): void;
1522
- public describeNotificationConfigurations(
1523
- args: DescribeNotificationConfigurationsCommandInput,
1524
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void),
1525
- cb?: (err: any, data?: DescribeNotificationConfigurationsCommandOutput) => void
1526
- ): Promise<DescribeNotificationConfigurationsCommandOutput> | void {
1527
- const command = new DescribeNotificationConfigurationsCommand(args);
1528
- if (typeof optionsOrCb === "function") {
1529
- this.send(command, optionsOrCb);
1530
- } else if (typeof cb === "function") {
1531
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1532
- this.send(command, optionsOrCb || {}, cb);
1533
- } else {
1534
- return this.send(command, optionsOrCb);
1535
- }
1536
- }
1537
-
1538
- /**
1539
- * <p>Gets information about the scaling policies in the account and Region.</p>
1540
- */
1541
- public describePolicies(
1542
- args: DescribePoliciesCommandInput,
1543
- options?: __HttpHandlerOptions
1544
- ): Promise<DescribePoliciesCommandOutput>;
1545
- public describePolicies(
1546
- args: DescribePoliciesCommandInput,
1547
- cb: (err: any, data?: DescribePoliciesCommandOutput) => void
1548
- ): void;
1549
- public describePolicies(
1550
- args: DescribePoliciesCommandInput,
1551
- options: __HttpHandlerOptions,
1552
- cb: (err: any, data?: DescribePoliciesCommandOutput) => void
1553
- ): void;
1554
- public describePolicies(
1555
- args: DescribePoliciesCommandInput,
1556
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribePoliciesCommandOutput) => void),
1557
- cb?: (err: any, data?: DescribePoliciesCommandOutput) => void
1558
- ): Promise<DescribePoliciesCommandOutput> | void {
1559
- const command = new DescribePoliciesCommand(args);
1560
- if (typeof optionsOrCb === "function") {
1561
- this.send(command, optionsOrCb);
1562
- } else if (typeof cb === "function") {
1563
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1564
- this.send(command, optionsOrCb || {}, cb);
1565
- } else {
1566
- return this.send(command, optionsOrCb);
1567
- }
1568
- }
1569
-
1570
- /**
1571
- * <p>Gets information about the scaling activities in the account and Region.</p>
1572
- * <p>When scaling events occur, you see a record of the scaling activity in the scaling
1573
- * activities. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html">Verifying a scaling
1574
- * activity for an Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1575
- * <p>If the scaling event succeeds, the value of the <code>StatusCode</code> element in the
1576
- * response is <code>Successful</code>. If an attempt to launch instances failed, the
1577
- * <code>StatusCode</code> value is <code>Failed</code> or <code>Cancelled</code> and
1578
- * the <code>StatusMessage</code> element in the response indicates the cause of the
1579
- * 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>
1580
- */
1581
- public describeScalingActivities(
1582
- args: DescribeScalingActivitiesCommandInput,
1583
- options?: __HttpHandlerOptions
1584
- ): Promise<DescribeScalingActivitiesCommandOutput>;
1585
- public describeScalingActivities(
1586
- args: DescribeScalingActivitiesCommandInput,
1587
- cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void
1588
- ): void;
1589
- public describeScalingActivities(
1590
- args: DescribeScalingActivitiesCommandInput,
1591
- options: __HttpHandlerOptions,
1592
- cb: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void
1593
- ): void;
1594
- public describeScalingActivities(
1595
- args: DescribeScalingActivitiesCommandInput,
1596
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeScalingActivitiesCommandOutput) => void),
1597
- cb?: (err: any, data?: DescribeScalingActivitiesCommandOutput) => void
1598
- ): Promise<DescribeScalingActivitiesCommandOutput> | void {
1599
- const command = new DescribeScalingActivitiesCommand(args);
1600
- if (typeof optionsOrCb === "function") {
1601
- this.send(command, optionsOrCb);
1602
- } else if (typeof cb === "function") {
1603
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1604
- this.send(command, optionsOrCb || {}, cb);
1605
- } else {
1606
- return this.send(command, optionsOrCb);
1607
- }
1608
- }
1609
-
1610
- /**
1611
- * <p>Describes the scaling process types for use with the <a>ResumeProcesses</a>
1612
- * and <a>SuspendProcesses</a> APIs.</p>
1613
- */
1614
- public describeScalingProcessTypes(
1615
- args: DescribeScalingProcessTypesCommandInput,
1616
- options?: __HttpHandlerOptions
1617
- ): Promise<DescribeScalingProcessTypesCommandOutput>;
1618
- public describeScalingProcessTypes(
1619
- args: DescribeScalingProcessTypesCommandInput,
1620
- cb: (err: any, data?: DescribeScalingProcessTypesCommandOutput) => void
1621
- ): void;
1622
- public describeScalingProcessTypes(
1623
- args: DescribeScalingProcessTypesCommandInput,
1624
- options: __HttpHandlerOptions,
1625
- cb: (err: any, data?: DescribeScalingProcessTypesCommandOutput) => void
1626
- ): void;
1627
- public describeScalingProcessTypes(
1628
- args: DescribeScalingProcessTypesCommandInput,
1629
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeScalingProcessTypesCommandOutput) => void),
1630
- cb?: (err: any, data?: DescribeScalingProcessTypesCommandOutput) => void
1631
- ): Promise<DescribeScalingProcessTypesCommandOutput> | void {
1632
- const command = new DescribeScalingProcessTypesCommand(args);
1633
- if (typeof optionsOrCb === "function") {
1634
- this.send(command, optionsOrCb);
1635
- } else if (typeof cb === "function") {
1636
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1637
- this.send(command, optionsOrCb || {}, cb);
1638
- } else {
1639
- return this.send(command, optionsOrCb);
1640
- }
1641
- }
1642
-
1643
- /**
1644
- * <p>Gets information about the scheduled actions that haven't run or that have not reached
1645
- * their end time.</p>
1646
- * <p>To describe the scaling activities for scheduled actions that have already run, call
1647
- * the <a>DescribeScalingActivities</a> API.</p>
1648
- */
1649
- public describeScheduledActions(
1650
- args: DescribeScheduledActionsCommandInput,
1651
- options?: __HttpHandlerOptions
1652
- ): Promise<DescribeScheduledActionsCommandOutput>;
1653
- public describeScheduledActions(
1654
- args: DescribeScheduledActionsCommandInput,
1655
- cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void
1656
- ): void;
1657
- public describeScheduledActions(
1658
- args: DescribeScheduledActionsCommandInput,
1659
- options: __HttpHandlerOptions,
1660
- cb: (err: any, data?: DescribeScheduledActionsCommandOutput) => void
1661
- ): void;
1662
- public describeScheduledActions(
1663
- args: DescribeScheduledActionsCommandInput,
1664
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeScheduledActionsCommandOutput) => void),
1665
- cb?: (err: any, data?: DescribeScheduledActionsCommandOutput) => void
1666
- ): Promise<DescribeScheduledActionsCommandOutput> | void {
1667
- const command = new DescribeScheduledActionsCommand(args);
1668
- if (typeof optionsOrCb === "function") {
1669
- this.send(command, optionsOrCb);
1670
- } else if (typeof cb === "function") {
1671
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1672
- this.send(command, optionsOrCb || {}, cb);
1673
- } else {
1674
- return this.send(command, optionsOrCb);
1675
- }
1676
- }
1677
-
1678
- /**
1679
- * <p>Describes the specified tags.</p>
1680
- * <p>You can use filters to limit the results. For example, you can query for the tags for
1681
- * a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at
1682
- * least one of the specified values for it to be included in the results.</p>
1683
- * <p>You can also specify multiple filters. The result includes information for a
1684
- * particular tag only if it matches all the filters. If there's no match, no special
1685
- * message is returned.</p>
1686
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html">Tagging Auto Scaling groups and
1687
- * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1688
- */
1689
- public describeTags(
1690
- args: DescribeTagsCommandInput,
1691
- options?: __HttpHandlerOptions
1692
- ): Promise<DescribeTagsCommandOutput>;
1693
- public describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
1694
- public describeTags(
1695
- args: DescribeTagsCommandInput,
1696
- options: __HttpHandlerOptions,
1697
- cb: (err: any, data?: DescribeTagsCommandOutput) => void
1698
- ): void;
1699
- public describeTags(
1700
- args: DescribeTagsCommandInput,
1701
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTagsCommandOutput) => void),
1702
- cb?: (err: any, data?: DescribeTagsCommandOutput) => void
1703
- ): Promise<DescribeTagsCommandOutput> | void {
1704
- const command = new DescribeTagsCommand(args);
1705
- if (typeof optionsOrCb === "function") {
1706
- this.send(command, optionsOrCb);
1707
- } else if (typeof cb === "function") {
1708
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1709
- this.send(command, optionsOrCb || {}, cb);
1710
- } else {
1711
- return this.send(command, optionsOrCb);
1712
- }
1713
- }
1714
-
1715
- /**
1716
- * <p>Describes the termination policies supported by Amazon EC2 Auto Scaling.</p>
1717
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html">Controlling which Auto Scaling
1718
- * instances terminate during scale in</a> in the
1719
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1720
- */
1721
- public describeTerminationPolicyTypes(
1722
- args: DescribeTerminationPolicyTypesCommandInput,
1723
- options?: __HttpHandlerOptions
1724
- ): Promise<DescribeTerminationPolicyTypesCommandOutput>;
1725
- public describeTerminationPolicyTypes(
1726
- args: DescribeTerminationPolicyTypesCommandInput,
1727
- cb: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void
1728
- ): void;
1729
- public describeTerminationPolicyTypes(
1730
- args: DescribeTerminationPolicyTypesCommandInput,
1731
- options: __HttpHandlerOptions,
1732
- cb: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void
1733
- ): void;
1734
- public describeTerminationPolicyTypes(
1735
- args: DescribeTerminationPolicyTypesCommandInput,
1736
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void),
1737
- cb?: (err: any, data?: DescribeTerminationPolicyTypesCommandOutput) => void
1738
- ): Promise<DescribeTerminationPolicyTypesCommandOutput> | void {
1739
- const command = new DescribeTerminationPolicyTypesCommand(args);
1740
- if (typeof optionsOrCb === "function") {
1741
- this.send(command, optionsOrCb);
1742
- } else if (typeof cb === "function") {
1743
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1744
- this.send(command, optionsOrCb || {}, cb);
1745
- } else {
1746
- return this.send(command, optionsOrCb);
1747
- }
1748
- }
1749
-
1750
- /**
1751
- * <p>Gets information about a warm pool and its instances.</p>
1752
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
1753
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1754
- */
1755
- public describeWarmPool(
1756
- args: DescribeWarmPoolCommandInput,
1757
- options?: __HttpHandlerOptions
1758
- ): Promise<DescribeWarmPoolCommandOutput>;
1759
- public describeWarmPool(
1760
- args: DescribeWarmPoolCommandInput,
1761
- cb: (err: any, data?: DescribeWarmPoolCommandOutput) => void
1762
- ): void;
1763
- public describeWarmPool(
1764
- args: DescribeWarmPoolCommandInput,
1765
- options: __HttpHandlerOptions,
1766
- cb: (err: any, data?: DescribeWarmPoolCommandOutput) => void
1767
- ): void;
1768
- public describeWarmPool(
1769
- args: DescribeWarmPoolCommandInput,
1770
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWarmPoolCommandOutput) => void),
1771
- cb?: (err: any, data?: DescribeWarmPoolCommandOutput) => void
1772
- ): Promise<DescribeWarmPoolCommandOutput> | void {
1773
- const command = new DescribeWarmPoolCommand(args);
1774
- if (typeof optionsOrCb === "function") {
1775
- this.send(command, optionsOrCb);
1776
- } else if (typeof cb === "function") {
1777
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1778
- this.send(command, optionsOrCb || {}, cb);
1779
- } else {
1780
- return this.send(command, optionsOrCb);
1781
- }
1782
- }
1783
-
1784
- /**
1785
- * <p>Removes one or more instances from the specified Auto Scaling group.</p>
1786
- * <p>After the instances are detached, you can manage them independent of the Auto Scaling
1787
- * group.</p>
1788
- * <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches
1789
- * instances to replace the ones that are detached.</p>
1790
- * <p>If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are
1791
- * deregistered from the load balancer. If there are target groups attached to the Auto Scaling
1792
- * group, the instances are deregistered from the target groups.</p>
1793
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html">Detach EC2 instances from
1794
- * your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1795
- */
1796
- public detachInstances(
1797
- args: DetachInstancesCommandInput,
1798
- options?: __HttpHandlerOptions
1799
- ): Promise<DetachInstancesCommandOutput>;
1800
- public detachInstances(
1801
- args: DetachInstancesCommandInput,
1802
- cb: (err: any, data?: DetachInstancesCommandOutput) => void
1803
- ): void;
1804
- public detachInstances(
1805
- args: DetachInstancesCommandInput,
1806
- options: __HttpHandlerOptions,
1807
- cb: (err: any, data?: DetachInstancesCommandOutput) => void
1808
- ): void;
1809
- public detachInstances(
1810
- args: DetachInstancesCommandInput,
1811
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachInstancesCommandOutput) => void),
1812
- cb?: (err: any, data?: DetachInstancesCommandOutput) => void
1813
- ): Promise<DetachInstancesCommandOutput> | void {
1814
- const command = new DetachInstancesCommand(args);
1815
- if (typeof optionsOrCb === "function") {
1816
- this.send(command, optionsOrCb);
1817
- } else if (typeof cb === "function") {
1818
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1819
- this.send(command, optionsOrCb || {}, cb);
1820
- } else {
1821
- return this.send(command, optionsOrCb);
1822
- }
1823
- }
1824
-
1825
- /**
1826
- * <p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>
1827
- * <p>This operation detaches only Classic Load Balancers. If you have Application Load
1828
- * Balancers, Network Load Balancers, or Gateway Load Balancers, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>
1829
- * <p>When you detach a load balancer, it enters the <code>Removing</code> state while
1830
- * deregistering the instances in the group. When all instances are deregistered, then you
1831
- * can no longer describe the load balancer using the <a>DescribeLoadBalancers</a> API call. The instances remain running.</p>
1832
- */
1833
- public detachLoadBalancers(
1834
- args: DetachLoadBalancersCommandInput,
1835
- options?: __HttpHandlerOptions
1836
- ): Promise<DetachLoadBalancersCommandOutput>;
1837
- public detachLoadBalancers(
1838
- args: DetachLoadBalancersCommandInput,
1839
- cb: (err: any, data?: DetachLoadBalancersCommandOutput) => void
1840
- ): void;
1841
- public detachLoadBalancers(
1842
- args: DetachLoadBalancersCommandInput,
1843
- options: __HttpHandlerOptions,
1844
- cb: (err: any, data?: DetachLoadBalancersCommandOutput) => void
1845
- ): void;
1846
- public detachLoadBalancers(
1847
- args: DetachLoadBalancersCommandInput,
1848
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachLoadBalancersCommandOutput) => void),
1849
- cb?: (err: any, data?: DetachLoadBalancersCommandOutput) => void
1850
- ): Promise<DetachLoadBalancersCommandOutput> | void {
1851
- const command = new DetachLoadBalancersCommand(args);
1852
- if (typeof optionsOrCb === "function") {
1853
- this.send(command, optionsOrCb);
1854
- } else if (typeof cb === "function") {
1855
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1856
- this.send(command, optionsOrCb || {}, cb);
1857
- } else {
1858
- return this.send(command, optionsOrCb);
1859
- }
1860
- }
1861
-
1862
- /**
1863
- * <p>Detaches one or more target groups from the specified Auto Scaling group.</p>
1864
- */
1865
- public detachLoadBalancerTargetGroups(
1866
- args: DetachLoadBalancerTargetGroupsCommandInput,
1867
- options?: __HttpHandlerOptions
1868
- ): Promise<DetachLoadBalancerTargetGroupsCommandOutput>;
1869
- public detachLoadBalancerTargetGroups(
1870
- args: DetachLoadBalancerTargetGroupsCommandInput,
1871
- cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void
1872
- ): void;
1873
- public detachLoadBalancerTargetGroups(
1874
- args: DetachLoadBalancerTargetGroupsCommandInput,
1875
- options: __HttpHandlerOptions,
1876
- cb: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void
1877
- ): void;
1878
- public detachLoadBalancerTargetGroups(
1879
- args: DetachLoadBalancerTargetGroupsCommandInput,
1880
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void),
1881
- cb?: (err: any, data?: DetachLoadBalancerTargetGroupsCommandOutput) => void
1882
- ): Promise<DetachLoadBalancerTargetGroupsCommandOutput> | void {
1883
- const command = new DetachLoadBalancerTargetGroupsCommand(args);
1884
- if (typeof optionsOrCb === "function") {
1885
- this.send(command, optionsOrCb);
1886
- } else if (typeof cb === "function") {
1887
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1888
- this.send(command, optionsOrCb || {}, cb);
1889
- } else {
1890
- return this.send(command, optionsOrCb);
1891
- }
1892
- }
1893
-
1894
- /**
1895
- * <p>Disables group metrics for the specified Auto Scaling group.</p>
1896
- */
1897
- public disableMetricsCollection(
1898
- args: DisableMetricsCollectionCommandInput,
1899
- options?: __HttpHandlerOptions
1900
- ): Promise<DisableMetricsCollectionCommandOutput>;
1901
- public disableMetricsCollection(
1902
- args: DisableMetricsCollectionCommandInput,
1903
- cb: (err: any, data?: DisableMetricsCollectionCommandOutput) => void
1904
- ): void;
1905
- public disableMetricsCollection(
1906
- args: DisableMetricsCollectionCommandInput,
1907
- options: __HttpHandlerOptions,
1908
- cb: (err: any, data?: DisableMetricsCollectionCommandOutput) => void
1909
- ): void;
1910
- public disableMetricsCollection(
1911
- args: DisableMetricsCollectionCommandInput,
1912
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableMetricsCollectionCommandOutput) => void),
1913
- cb?: (err: any, data?: DisableMetricsCollectionCommandOutput) => void
1914
- ): Promise<DisableMetricsCollectionCommandOutput> | void {
1915
- const command = new DisableMetricsCollectionCommand(args);
1916
- if (typeof optionsOrCb === "function") {
1917
- this.send(command, optionsOrCb);
1918
- } else if (typeof cb === "function") {
1919
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1920
- this.send(command, optionsOrCb || {}, cb);
1921
- } else {
1922
- return this.send(command, optionsOrCb);
1923
- }
1924
- }
1925
-
1926
- /**
1927
- * <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
1928
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1929
- */
1930
- public enableMetricsCollection(
1931
- args: EnableMetricsCollectionCommandInput,
1932
- options?: __HttpHandlerOptions
1933
- ): Promise<EnableMetricsCollectionCommandOutput>;
1934
- public enableMetricsCollection(
1935
- args: EnableMetricsCollectionCommandInput,
1936
- cb: (err: any, data?: EnableMetricsCollectionCommandOutput) => void
1937
- ): void;
1938
- public enableMetricsCollection(
1939
- args: EnableMetricsCollectionCommandInput,
1940
- options: __HttpHandlerOptions,
1941
- cb: (err: any, data?: EnableMetricsCollectionCommandOutput) => void
1942
- ): void;
1943
- public enableMetricsCollection(
1944
- args: EnableMetricsCollectionCommandInput,
1945
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableMetricsCollectionCommandOutput) => void),
1946
- cb?: (err: any, data?: EnableMetricsCollectionCommandOutput) => void
1947
- ): Promise<EnableMetricsCollectionCommandOutput> | void {
1948
- const command = new EnableMetricsCollectionCommand(args);
1949
- if (typeof optionsOrCb === "function") {
1950
- this.send(command, optionsOrCb);
1951
- } else if (typeof cb === "function") {
1952
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1953
- this.send(command, optionsOrCb || {}, cb);
1954
- } else {
1955
- return this.send(command, optionsOrCb);
1956
- }
1957
- }
1958
-
1959
- /**
1960
- * <p>Moves the specified instances into the standby state.</p>
1961
- * <p>If you choose to decrement the desired capacity of the Auto Scaling group, the instances can
1962
- * enter standby as long as the desired capacity of the Auto Scaling group after the instances are
1963
- * placed into standby is equal to or greater than the minimum capacity of the
1964
- * group.</p>
1965
- * <p>If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group
1966
- * launches new instances to replace the instances on standby.</p>
1967
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html">Temporarily removing
1968
- * instances from your Auto Scaling group</a> in the
1969
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1970
- */
1971
- public enterStandby(
1972
- args: EnterStandbyCommandInput,
1973
- options?: __HttpHandlerOptions
1974
- ): Promise<EnterStandbyCommandOutput>;
1975
- public enterStandby(args: EnterStandbyCommandInput, cb: (err: any, data?: EnterStandbyCommandOutput) => void): void;
1976
- public enterStandby(
1977
- args: EnterStandbyCommandInput,
1978
- options: __HttpHandlerOptions,
1979
- cb: (err: any, data?: EnterStandbyCommandOutput) => void
1980
- ): void;
1981
- public enterStandby(
1982
- args: EnterStandbyCommandInput,
1983
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnterStandbyCommandOutput) => void),
1984
- cb?: (err: any, data?: EnterStandbyCommandOutput) => void
1985
- ): Promise<EnterStandbyCommandOutput> | void {
1986
- const command = new EnterStandbyCommand(args);
1987
- if (typeof optionsOrCb === "function") {
1988
- this.send(command, optionsOrCb);
1989
- } else if (typeof cb === "function") {
1990
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1991
- this.send(command, optionsOrCb || {}, cb);
1992
- } else {
1993
- return this.send(command, optionsOrCb);
1994
- }
1995
- }
1996
-
1997
- /**
1998
- * <p>Executes the specified policy. This can be useful for testing the design of your
1999
- * scaling policy.</p>
2000
- */
2001
- public executePolicy(
2002
- args: ExecutePolicyCommandInput,
2003
- options?: __HttpHandlerOptions
2004
- ): Promise<ExecutePolicyCommandOutput>;
2005
- public executePolicy(
2006
- args: ExecutePolicyCommandInput,
2007
- cb: (err: any, data?: ExecutePolicyCommandOutput) => void
2008
- ): void;
2009
- public executePolicy(
2010
- args: ExecutePolicyCommandInput,
2011
- options: __HttpHandlerOptions,
2012
- cb: (err: any, data?: ExecutePolicyCommandOutput) => void
2013
- ): void;
2014
- public executePolicy(
2015
- args: ExecutePolicyCommandInput,
2016
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ExecutePolicyCommandOutput) => void),
2017
- cb?: (err: any, data?: ExecutePolicyCommandOutput) => void
2018
- ): Promise<ExecutePolicyCommandOutput> | void {
2019
- const command = new ExecutePolicyCommand(args);
2020
- if (typeof optionsOrCb === "function") {
2021
- this.send(command, optionsOrCb);
2022
- } else if (typeof cb === "function") {
2023
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2024
- this.send(command, optionsOrCb || {}, cb);
2025
- } else {
2026
- return this.send(command, optionsOrCb);
2027
- }
2028
- }
2029
-
2030
- /**
2031
- * <p>Moves the specified instances out of the standby state.</p>
2032
- * <p>After you put the instances back in service, the desired capacity is
2033
- * incremented.</p>
2034
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html">Temporarily removing
2035
- * instances from your Auto Scaling group</a> in the
2036
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2037
- */
2038
- public exitStandby(args: ExitStandbyCommandInput, options?: __HttpHandlerOptions): Promise<ExitStandbyCommandOutput>;
2039
- public exitStandby(args: ExitStandbyCommandInput, cb: (err: any, data?: ExitStandbyCommandOutput) => void): void;
2040
- public exitStandby(
2041
- args: ExitStandbyCommandInput,
2042
- options: __HttpHandlerOptions,
2043
- cb: (err: any, data?: ExitStandbyCommandOutput) => void
2044
- ): void;
2045
- public exitStandby(
2046
- args: ExitStandbyCommandInput,
2047
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ExitStandbyCommandOutput) => void),
2048
- cb?: (err: any, data?: ExitStandbyCommandOutput) => void
2049
- ): Promise<ExitStandbyCommandOutput> | void {
2050
- const command = new ExitStandbyCommand(args);
2051
- if (typeof optionsOrCb === "function") {
2052
- this.send(command, optionsOrCb);
2053
- } else if (typeof cb === "function") {
2054
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2055
- this.send(command, optionsOrCb || {}, cb);
2056
- } else {
2057
- return this.send(command, optionsOrCb);
2058
- }
2059
- }
2060
-
2061
- /**
2062
- * <p>Retrieves the forecast data for a predictive scaling policy.</p>
2063
- * <p>Load forecasts are predictions of the hourly load values using historical load data
2064
- * from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as
2065
- * predicted values for the minimum capacity that is needed on an hourly basis, based on
2066
- * the hourly load forecast.</p>
2067
- * <p>A minimum of 24 hours of data is required to create the initial forecasts. However,
2068
- * having a full 14 days of historical data results in more accurate forecasts.</p>
2069
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html">Predictive
2070
- * scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2071
- */
2072
- public getPredictiveScalingForecast(
2073
- args: GetPredictiveScalingForecastCommandInput,
2074
- options?: __HttpHandlerOptions
2075
- ): Promise<GetPredictiveScalingForecastCommandOutput>;
2076
- public getPredictiveScalingForecast(
2077
- args: GetPredictiveScalingForecastCommandInput,
2078
- cb: (err: any, data?: GetPredictiveScalingForecastCommandOutput) => void
2079
- ): void;
2080
- public getPredictiveScalingForecast(
2081
- args: GetPredictiveScalingForecastCommandInput,
2082
- options: __HttpHandlerOptions,
2083
- cb: (err: any, data?: GetPredictiveScalingForecastCommandOutput) => void
2084
- ): void;
2085
- public getPredictiveScalingForecast(
2086
- args: GetPredictiveScalingForecastCommandInput,
2087
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPredictiveScalingForecastCommandOutput) => void),
2088
- cb?: (err: any, data?: GetPredictiveScalingForecastCommandOutput) => void
2089
- ): Promise<GetPredictiveScalingForecastCommandOutput> | void {
2090
- const command = new GetPredictiveScalingForecastCommand(args);
2091
- if (typeof optionsOrCb === "function") {
2092
- this.send(command, optionsOrCb);
2093
- } else if (typeof cb === "function") {
2094
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2095
- this.send(command, optionsOrCb || {}, cb);
2096
- } else {
2097
- return this.send(command, optionsOrCb);
2098
- }
2099
- }
2100
-
2101
- /**
2102
- * <p>Creates or updates a lifecycle hook for the specified Auto Scaling group.</p>
2103
- * <p>A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance
2104
- * launches (before it is put into service) or as the instance terminates (before it is
2105
- * fully terminated).</p>
2106
- * <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
2107
- * group:</p>
2108
- * <ol>
2109
- * <li>
2110
- * <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
2111
- * invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
2112
- * instances.</p>
2113
- * </li>
2114
- * <li>
2115
- * <p>(Optional) Create a notification target and an IAM role. The target can be
2116
- * either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
2117
- * publish lifecycle notifications to the target.</p>
2118
- * </li>
2119
- * <li>
2120
- * <p>
2121
- * <b>Create the lifecycle hook. Specify whether the hook is
2122
- * used when the instances launch or terminate.</b>
2123
- * </p>
2124
- * </li>
2125
- * <li>
2126
- * <p>If you need more time, record the lifecycle action heartbeat to keep the
2127
- * instance in a pending state using the <a>RecordLifecycleActionHeartbeat</a> API call.</p>
2128
- * </li>
2129
- * <li>
2130
- * <p>If you finish before the timeout period ends, complete the lifecycle action
2131
- * using the <a>CompleteLifecycleAction</a> API call.</p>
2132
- * </li>
2133
- * </ol>
2134
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
2135
- * hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2136
- * <p>If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling
2137
- * group, the call fails.</p>
2138
- * <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
2139
- * hook, you can delete it by calling the <a>DeleteLifecycleHook</a> API.</p>
2140
- */
2141
- public putLifecycleHook(
2142
- args: PutLifecycleHookCommandInput,
2143
- options?: __HttpHandlerOptions
2144
- ): Promise<PutLifecycleHookCommandOutput>;
2145
- public putLifecycleHook(
2146
- args: PutLifecycleHookCommandInput,
2147
- cb: (err: any, data?: PutLifecycleHookCommandOutput) => void
2148
- ): void;
2149
- public putLifecycleHook(
2150
- args: PutLifecycleHookCommandInput,
2151
- options: __HttpHandlerOptions,
2152
- cb: (err: any, data?: PutLifecycleHookCommandOutput) => void
2153
- ): void;
2154
- public putLifecycleHook(
2155
- args: PutLifecycleHookCommandInput,
2156
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutLifecycleHookCommandOutput) => void),
2157
- cb?: (err: any, data?: PutLifecycleHookCommandOutput) => void
2158
- ): Promise<PutLifecycleHookCommandOutput> | void {
2159
- const command = new PutLifecycleHookCommand(args);
2160
- if (typeof optionsOrCb === "function") {
2161
- this.send(command, optionsOrCb);
2162
- } else if (typeof cb === "function") {
2163
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2164
- this.send(command, optionsOrCb || {}, cb);
2165
- } else {
2166
- return this.send(command, optionsOrCb);
2167
- }
2168
- }
2169
-
2170
- /**
2171
- * <p>Configures an Auto Scaling group to send notifications when specified events take place.
2172
- * Subscribers to the specified topic can have messages delivered to an endpoint such as a
2173
- * web server or an email address.</p>
2174
- * <p>This configuration overwrites any existing configuration.</p>
2175
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html">Getting Amazon SNS
2176
- * notifications when your Auto Scaling group scales</a> in the
2177
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2178
- * <p>If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call
2179
- * fails.</p>
2180
- */
2181
- public putNotificationConfiguration(
2182
- args: PutNotificationConfigurationCommandInput,
2183
- options?: __HttpHandlerOptions
2184
- ): Promise<PutNotificationConfigurationCommandOutput>;
2185
- public putNotificationConfiguration(
2186
- args: PutNotificationConfigurationCommandInput,
2187
- cb: (err: any, data?: PutNotificationConfigurationCommandOutput) => void
2188
- ): void;
2189
- public putNotificationConfiguration(
2190
- args: PutNotificationConfigurationCommandInput,
2191
- options: __HttpHandlerOptions,
2192
- cb: (err: any, data?: PutNotificationConfigurationCommandOutput) => void
2193
- ): void;
2194
- public putNotificationConfiguration(
2195
- args: PutNotificationConfigurationCommandInput,
2196
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutNotificationConfigurationCommandOutput) => void),
2197
- cb?: (err: any, data?: PutNotificationConfigurationCommandOutput) => void
2198
- ): Promise<PutNotificationConfigurationCommandOutput> | void {
2199
- const command = new PutNotificationConfigurationCommand(args);
2200
- if (typeof optionsOrCb === "function") {
2201
- this.send(command, optionsOrCb);
2202
- } else if (typeof cb === "function") {
2203
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2204
- this.send(command, optionsOrCb || {}, cb);
2205
- } else {
2206
- return this.send(command, optionsOrCb);
2207
- }
2208
- }
2209
-
2210
- /**
2211
- * <p>Creates or updates a scaling policy for an Auto Scaling group. Scaling policies are used to
2212
- * scale an Auto Scaling group based on configurable metrics. If no policies are defined, the
2213
- * dynamic scaling and predictive scaling features are not used. </p>
2214
- * <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
2215
- * scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html">Step and simple scaling
2216
- * policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2217
- * <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
2218
- * scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2219
- * <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,
2220
- * you can delete it by calling the <a>DeletePolicy</a> API.</p>
2221
- */
2222
- public putScalingPolicy(
2223
- args: PutScalingPolicyCommandInput,
2224
- options?: __HttpHandlerOptions
2225
- ): Promise<PutScalingPolicyCommandOutput>;
2226
- public putScalingPolicy(
2227
- args: PutScalingPolicyCommandInput,
2228
- cb: (err: any, data?: PutScalingPolicyCommandOutput) => void
2229
- ): void;
2230
- public putScalingPolicy(
2231
- args: PutScalingPolicyCommandInput,
2232
- options: __HttpHandlerOptions,
2233
- cb: (err: any, data?: PutScalingPolicyCommandOutput) => void
2234
- ): void;
2235
- public putScalingPolicy(
2236
- args: PutScalingPolicyCommandInput,
2237
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutScalingPolicyCommandOutput) => void),
2238
- cb?: (err: any, data?: PutScalingPolicyCommandOutput) => void
2239
- ): Promise<PutScalingPolicyCommandOutput> | void {
2240
- const command = new PutScalingPolicyCommand(args);
2241
- if (typeof optionsOrCb === "function") {
2242
- this.send(command, optionsOrCb);
2243
- } else if (typeof cb === "function") {
2244
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2245
- this.send(command, optionsOrCb || {}, cb);
2246
- } else {
2247
- return this.send(command, optionsOrCb);
2248
- }
2249
- }
2250
-
2251
- /**
2252
- * <p>Creates or updates a scheduled scaling action for an Auto Scaling group.</p>
2253
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html">Scheduled scaling</a> in the
2254
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2255
- * <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
2256
- * scheduled action, you can delete it by calling the <a>DeleteScheduledAction</a> API.</p>
2257
- */
2258
- public putScheduledUpdateGroupAction(
2259
- args: PutScheduledUpdateGroupActionCommandInput,
2260
- options?: __HttpHandlerOptions
2261
- ): Promise<PutScheduledUpdateGroupActionCommandOutput>;
2262
- public putScheduledUpdateGroupAction(
2263
- args: PutScheduledUpdateGroupActionCommandInput,
2264
- cb: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void
2265
- ): void;
2266
- public putScheduledUpdateGroupAction(
2267
- args: PutScheduledUpdateGroupActionCommandInput,
2268
- options: __HttpHandlerOptions,
2269
- cb: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void
2270
- ): void;
2271
- public putScheduledUpdateGroupAction(
2272
- args: PutScheduledUpdateGroupActionCommandInput,
2273
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void),
2274
- cb?: (err: any, data?: PutScheduledUpdateGroupActionCommandOutput) => void
2275
- ): Promise<PutScheduledUpdateGroupActionCommandOutput> | void {
2276
- const command = new PutScheduledUpdateGroupActionCommand(args);
2277
- if (typeof optionsOrCb === "function") {
2278
- this.send(command, optionsOrCb);
2279
- } else if (typeof cb === "function") {
2280
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2281
- this.send(command, optionsOrCb || {}, cb);
2282
- } else {
2283
- return this.send(command, optionsOrCb);
2284
- }
2285
- }
2286
-
2287
- /**
2288
- * <p>Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of
2289
- * pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your
2290
- * application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new
2291
- * 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
2292
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2293
- * <p>This operation must be called from the Region in which the Auto Scaling group was created.
2294
- * This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a
2295
- * launch template or launch configuration that requests Spot Instances.</p>
2296
- * <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
2297
- * <a>DeleteWarmPool</a> API.</p>
2298
- */
2299
- public putWarmPool(args: PutWarmPoolCommandInput, options?: __HttpHandlerOptions): Promise<PutWarmPoolCommandOutput>;
2300
- public putWarmPool(args: PutWarmPoolCommandInput, cb: (err: any, data?: PutWarmPoolCommandOutput) => void): void;
2301
- public putWarmPool(
2302
- args: PutWarmPoolCommandInput,
2303
- options: __HttpHandlerOptions,
2304
- cb: (err: any, data?: PutWarmPoolCommandOutput) => void
2305
- ): void;
2306
- public putWarmPool(
2307
- args: PutWarmPoolCommandInput,
2308
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutWarmPoolCommandOutput) => void),
2309
- cb?: (err: any, data?: PutWarmPoolCommandOutput) => void
2310
- ): Promise<PutWarmPoolCommandOutput> | void {
2311
- const command = new PutWarmPoolCommand(args);
2312
- if (typeof optionsOrCb === "function") {
2313
- this.send(command, optionsOrCb);
2314
- } else if (typeof cb === "function") {
2315
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2316
- this.send(command, optionsOrCb || {}, cb);
2317
- } else {
2318
- return this.send(command, optionsOrCb);
2319
- }
2320
- }
2321
-
2322
- /**
2323
- * <p>Records a heartbeat for the lifecycle action associated with the specified token or
2324
- * instance. This extends the timeout by the length of time defined using the <a>PutLifecycleHook</a> API call.</p>
2325
- *
2326
- * <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling
2327
- * group:</p>
2328
- * <ol>
2329
- * <li>
2330
- * <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to
2331
- * invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
2332
- * instances.</p>
2333
- * </li>
2334
- * <li>
2335
- * <p>(Optional) Create a notification target and an IAM role. The target can be
2336
- * either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to
2337
- * publish lifecycle notifications to the target.</p>
2338
- * </li>
2339
- * <li>
2340
- * <p>Create the lifecycle hook. Specify whether the hook is used when the instances
2341
- * launch or terminate.</p>
2342
- * </li>
2343
- * <li>
2344
- * <p>
2345
- * <b>If you need more time, record the lifecycle action
2346
- * heartbeat to keep the instance in a pending state.</b>
2347
- * </p>
2348
- * </li>
2349
- * <li>
2350
- * <p>If you finish before the timeout period ends, complete the lifecycle
2351
- * action.</p>
2352
- * </li>
2353
- * </ol>
2354
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html">Amazon EC2 Auto Scaling lifecycle
2355
- * hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2356
- */
2357
- public recordLifecycleActionHeartbeat(
2358
- args: RecordLifecycleActionHeartbeatCommandInput,
2359
- options?: __HttpHandlerOptions
2360
- ): Promise<RecordLifecycleActionHeartbeatCommandOutput>;
2361
- public recordLifecycleActionHeartbeat(
2362
- args: RecordLifecycleActionHeartbeatCommandInput,
2363
- cb: (err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void
2364
- ): void;
2365
- public recordLifecycleActionHeartbeat(
2366
- args: RecordLifecycleActionHeartbeatCommandInput,
2367
- options: __HttpHandlerOptions,
2368
- cb: (err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void
2369
- ): void;
2370
- public recordLifecycleActionHeartbeat(
2371
- args: RecordLifecycleActionHeartbeatCommandInput,
2372
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void),
2373
- cb?: (err: any, data?: RecordLifecycleActionHeartbeatCommandOutput) => void
2374
- ): Promise<RecordLifecycleActionHeartbeatCommandOutput> | void {
2375
- const command = new RecordLifecycleActionHeartbeatCommand(args);
2376
- if (typeof optionsOrCb === "function") {
2377
- this.send(command, optionsOrCb);
2378
- } else if (typeof cb === "function") {
2379
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2380
- this.send(command, optionsOrCb || {}, cb);
2381
- } else {
2382
- return this.send(command, optionsOrCb);
2383
- }
2384
- }
2385
-
2386
- /**
2387
- * <p>Resumes the specified suspended auto scaling processes, or all suspended process, for
2388
- * the specified Auto Scaling group.</p>
2389
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
2390
- * resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2391
- */
2392
- public resumeProcesses(
2393
- args: ResumeProcessesCommandInput,
2394
- options?: __HttpHandlerOptions
2395
- ): Promise<ResumeProcessesCommandOutput>;
2396
- public resumeProcesses(
2397
- args: ResumeProcessesCommandInput,
2398
- cb: (err: any, data?: ResumeProcessesCommandOutput) => void
2399
- ): void;
2400
- public resumeProcesses(
2401
- args: ResumeProcessesCommandInput,
2402
- options: __HttpHandlerOptions,
2403
- cb: (err: any, data?: ResumeProcessesCommandOutput) => void
2404
- ): void;
2405
- public resumeProcesses(
2406
- args: ResumeProcessesCommandInput,
2407
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResumeProcessesCommandOutput) => void),
2408
- cb?: (err: any, data?: ResumeProcessesCommandOutput) => void
2409
- ): Promise<ResumeProcessesCommandOutput> | void {
2410
- const command = new ResumeProcessesCommand(args);
2411
- if (typeof optionsOrCb === "function") {
2412
- this.send(command, optionsOrCb);
2413
- } else if (typeof cb === "function") {
2414
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2415
- this.send(command, optionsOrCb || {}, cb);
2416
- } else {
2417
- return this.send(command, optionsOrCb);
2418
- }
2419
- }
2420
-
2421
- /**
2422
- * <p>Sets the size of the specified Auto Scaling group.</p>
2423
- * <p>If a scale-in activity occurs as a result of a new <code>DesiredCapacity</code> value
2424
- * that is lower than the current size of the group, the Auto Scaling group uses its termination
2425
- * policy to determine which instances to terminate. </p>
2426
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html">Manual scaling</a> in the
2427
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2428
- */
2429
- public setDesiredCapacity(
2430
- args: SetDesiredCapacityCommandInput,
2431
- options?: __HttpHandlerOptions
2432
- ): Promise<SetDesiredCapacityCommandOutput>;
2433
- public setDesiredCapacity(
2434
- args: SetDesiredCapacityCommandInput,
2435
- cb: (err: any, data?: SetDesiredCapacityCommandOutput) => void
2436
- ): void;
2437
- public setDesiredCapacity(
2438
- args: SetDesiredCapacityCommandInput,
2439
- options: __HttpHandlerOptions,
2440
- cb: (err: any, data?: SetDesiredCapacityCommandOutput) => void
2441
- ): void;
2442
- public setDesiredCapacity(
2443
- args: SetDesiredCapacityCommandInput,
2444
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetDesiredCapacityCommandOutput) => void),
2445
- cb?: (err: any, data?: SetDesiredCapacityCommandOutput) => void
2446
- ): Promise<SetDesiredCapacityCommandOutput> | void {
2447
- const command = new SetDesiredCapacityCommand(args);
2448
- if (typeof optionsOrCb === "function") {
2449
- this.send(command, optionsOrCb);
2450
- } else if (typeof cb === "function") {
2451
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2452
- this.send(command, optionsOrCb || {}, cb);
2453
- } else {
2454
- return this.send(command, optionsOrCb);
2455
- }
2456
- }
2457
-
2458
- /**
2459
- * <p>Sets the health status of the specified instance.</p>
2460
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html">Health checks for Auto Scaling
2461
- * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2462
- */
2463
- public setInstanceHealth(
2464
- args: SetInstanceHealthCommandInput,
2465
- options?: __HttpHandlerOptions
2466
- ): Promise<SetInstanceHealthCommandOutput>;
2467
- public setInstanceHealth(
2468
- args: SetInstanceHealthCommandInput,
2469
- cb: (err: any, data?: SetInstanceHealthCommandOutput) => void
2470
- ): void;
2471
- public setInstanceHealth(
2472
- args: SetInstanceHealthCommandInput,
2473
- options: __HttpHandlerOptions,
2474
- cb: (err: any, data?: SetInstanceHealthCommandOutput) => void
2475
- ): void;
2476
- public setInstanceHealth(
2477
- args: SetInstanceHealthCommandInput,
2478
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetInstanceHealthCommandOutput) => void),
2479
- cb?: (err: any, data?: SetInstanceHealthCommandOutput) => void
2480
- ): Promise<SetInstanceHealthCommandOutput> | void {
2481
- const command = new SetInstanceHealthCommand(args);
2482
- if (typeof optionsOrCb === "function") {
2483
- this.send(command, optionsOrCb);
2484
- } else if (typeof cb === "function") {
2485
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2486
- this.send(command, optionsOrCb || {}, cb);
2487
- } else {
2488
- return this.send(command, optionsOrCb);
2489
- }
2490
- }
2491
-
2492
- /**
2493
- * <p>Updates the instance protection settings of the specified instances. This operation
2494
- * cannot be called on instances in a warm pool.</p>
2495
- * <p>For more information about preventing instances that are part of an Auto Scaling group from
2496
- * 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
2497
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2498
- * <p>If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call
2499
- * fails.</p>
2500
- */
2501
- public setInstanceProtection(
2502
- args: SetInstanceProtectionCommandInput,
2503
- options?: __HttpHandlerOptions
2504
- ): Promise<SetInstanceProtectionCommandOutput>;
2505
- public setInstanceProtection(
2506
- args: SetInstanceProtectionCommandInput,
2507
- cb: (err: any, data?: SetInstanceProtectionCommandOutput) => void
2508
- ): void;
2509
- public setInstanceProtection(
2510
- args: SetInstanceProtectionCommandInput,
2511
- options: __HttpHandlerOptions,
2512
- cb: (err: any, data?: SetInstanceProtectionCommandOutput) => void
2513
- ): void;
2514
- public setInstanceProtection(
2515
- args: SetInstanceProtectionCommandInput,
2516
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetInstanceProtectionCommandOutput) => void),
2517
- cb?: (err: any, data?: SetInstanceProtectionCommandOutput) => void
2518
- ): Promise<SetInstanceProtectionCommandOutput> | void {
2519
- const command = new SetInstanceProtectionCommand(args);
2520
- if (typeof optionsOrCb === "function") {
2521
- this.send(command, optionsOrCb);
2522
- } else if (typeof cb === "function") {
2523
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2524
- this.send(command, optionsOrCb || {}, cb);
2525
- } else {
2526
- return this.send(command, optionsOrCb);
2527
- }
2528
- }
2529
-
2530
- /**
2531
- * <p>Starts a new instance refresh operation. An instance refresh performs a rolling
2532
- * replacement of all or some instances in an Auto Scaling group. Each instance is terminated first
2533
- * and then replaced, which temporarily reduces the capacity available within your Auto Scaling
2534
- * group.</p>
2535
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
2536
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group.
2537
- * This feature is helpful, for example, when you have a new AMI or a new user data script.
2538
- * You just need to create a new launch template that specifies the new AMI or user data
2539
- * script. Then start an instance refresh to immediately begin the process of updating
2540
- * instances in the group. </p>
2541
- * <p>If the call succeeds, it creates a new instance refresh request with a unique ID that
2542
- * you can use to track its progress. To query its status, call the <a>DescribeInstanceRefreshes</a> API. To describe the instance refreshes that
2543
- * have already run, call the <a>DescribeInstanceRefreshes</a> API. To cancel an
2544
- * instance refresh operation in progress, use the <a>CancelInstanceRefresh</a>
2545
- * API. </p>
2546
- */
2547
- public startInstanceRefresh(
2548
- args: StartInstanceRefreshCommandInput,
2549
- options?: __HttpHandlerOptions
2550
- ): Promise<StartInstanceRefreshCommandOutput>;
2551
- public startInstanceRefresh(
2552
- args: StartInstanceRefreshCommandInput,
2553
- cb: (err: any, data?: StartInstanceRefreshCommandOutput) => void
2554
- ): void;
2555
- public startInstanceRefresh(
2556
- args: StartInstanceRefreshCommandInput,
2557
- options: __HttpHandlerOptions,
2558
- cb: (err: any, data?: StartInstanceRefreshCommandOutput) => void
2559
- ): void;
2560
- public startInstanceRefresh(
2561
- args: StartInstanceRefreshCommandInput,
2562
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartInstanceRefreshCommandOutput) => void),
2563
- cb?: (err: any, data?: StartInstanceRefreshCommandOutput) => void
2564
- ): Promise<StartInstanceRefreshCommandOutput> | void {
2565
- const command = new StartInstanceRefreshCommand(args);
2566
- if (typeof optionsOrCb === "function") {
2567
- this.send(command, optionsOrCb);
2568
- } else if (typeof cb === "function") {
2569
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2570
- this.send(command, optionsOrCb || {}, cb);
2571
- } else {
2572
- return this.send(command, optionsOrCb);
2573
- }
2574
- }
2575
-
2576
- /**
2577
- * <p>Suspends the specified auto scaling processes, or all processes, for the specified
2578
- * Auto Scaling group.</p>
2579
- * <p>If you suspend either the <code>Launch</code> or <code>Terminate</code> process types,
2580
- * it can prevent other process types from functioning properly. For more information, see
2581
- * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
2582
- * resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2583
- * <p>To resume processes that have been suspended, call the <a>ResumeProcesses</a> API.</p>
2584
- */
2585
- public suspendProcesses(
2586
- args: SuspendProcessesCommandInput,
2587
- options?: __HttpHandlerOptions
2588
- ): Promise<SuspendProcessesCommandOutput>;
2589
- public suspendProcesses(
2590
- args: SuspendProcessesCommandInput,
2591
- cb: (err: any, data?: SuspendProcessesCommandOutput) => void
2592
- ): void;
2593
- public suspendProcesses(
2594
- args: SuspendProcessesCommandInput,
2595
- options: __HttpHandlerOptions,
2596
- cb: (err: any, data?: SuspendProcessesCommandOutput) => void
2597
- ): void;
2598
- public suspendProcesses(
2599
- args: SuspendProcessesCommandInput,
2600
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SuspendProcessesCommandOutput) => void),
2601
- cb?: (err: any, data?: SuspendProcessesCommandOutput) => void
2602
- ): Promise<SuspendProcessesCommandOutput> | void {
2603
- const command = new SuspendProcessesCommand(args);
2604
- if (typeof optionsOrCb === "function") {
2605
- this.send(command, optionsOrCb);
2606
- } else if (typeof cb === "function") {
2607
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2608
- this.send(command, optionsOrCb || {}, cb);
2609
- } else {
2610
- return this.send(command, optionsOrCb);
2611
- }
2612
- }
2613
-
2614
- /**
2615
- * <p>Terminates the specified instance and optionally adjusts the desired group size. This
2616
- * operation cannot be called on instances in a warm pool.</p>
2617
- * <p>This call simply makes a termination request. The instance is not terminated
2618
- * immediately. When an instance is terminated, the instance status changes to
2619
- * <code>terminated</code>. You can't connect to or start an instance after you've
2620
- * terminated it.</p>
2621
- * <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches
2622
- * instances to replace the ones that are terminated. </p>
2623
- * <p>By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you
2624
- * decrement the desired capacity, your Auto Scaling group can become unbalanced between
2625
- * Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might
2626
- * 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>
2627
- */
2628
- public terminateInstanceInAutoScalingGroup(
2629
- args: TerminateInstanceInAutoScalingGroupCommandInput,
2630
- options?: __HttpHandlerOptions
2631
- ): Promise<TerminateInstanceInAutoScalingGroupCommandOutput>;
2632
- public terminateInstanceInAutoScalingGroup(
2633
- args: TerminateInstanceInAutoScalingGroupCommandInput,
2634
- cb: (err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void
2635
- ): void;
2636
- public terminateInstanceInAutoScalingGroup(
2637
- args: TerminateInstanceInAutoScalingGroupCommandInput,
2638
- options: __HttpHandlerOptions,
2639
- cb: (err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void
2640
- ): void;
2641
- public terminateInstanceInAutoScalingGroup(
2642
- args: TerminateInstanceInAutoScalingGroupCommandInput,
2643
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void),
2644
- cb?: (err: any, data?: TerminateInstanceInAutoScalingGroupCommandOutput) => void
2645
- ): Promise<TerminateInstanceInAutoScalingGroupCommandOutput> | void {
2646
- const command = new TerminateInstanceInAutoScalingGroupCommand(args);
2647
- if (typeof optionsOrCb === "function") {
2648
- this.send(command, optionsOrCb);
2649
- } else if (typeof cb === "function") {
2650
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2651
- this.send(command, optionsOrCb || {}, cb);
2652
- } else {
2653
- return this.send(command, optionsOrCb);
2654
- }
2655
- }
2656
-
2657
- /**
2658
- * <p>
2659
- * <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>
2660
- * </p>
2661
- * <p>Updates the configuration for
2662
- * the specified Auto Scaling group.</p>
2663
- * <p>To update an Auto Scaling group, specify the name of the group and the parameter that you want
2664
- * to change. Any parameters that you don't specify are not changed by this update request.
2665
- * The new settings take effect on any scaling activities after this call returns.
2666
- * </p>
2667
- * <p>If you associate a new launch configuration or template with an Auto Scaling group, all new
2668
- * instances will get the updated configuration. Existing instances continue to run with
2669
- * the configuration that they were originally launched with. When you update a group to
2670
- * specify a mixed instances policy instead of a launch configuration or template, existing
2671
- * instances may be replaced to match the new purchasing options that you specified in the
2672
- * policy. For example, if the group currently has 100% On-Demand capacity and the policy
2673
- * specifies 50% Spot capacity, this means that half of your instances will be gradually
2674
- * terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches
2675
- * new instances before terminating the old ones, so that updating your group does not
2676
- * compromise the performance or availability of your application.</p>
2677
- * <p>Note the following about changing <code>DesiredCapacity</code>, <code>MaxSize</code>,
2678
- * or <code>MinSize</code>:</p>
2679
- * <ul>
2680
- * <li>
2681
- * <p>If a scale-in activity occurs as a result of a new
2682
- * <code>DesiredCapacity</code> value that is lower than the current size of
2683
- * the group, the Auto Scaling group uses its termination policy to determine which
2684
- * instances to terminate.</p>
2685
- * </li>
2686
- * <li>
2687
- * <p>If you specify a new value for <code>MinSize</code> without specifying a value
2688
- * for <code>DesiredCapacity</code>, and the new <code>MinSize</code> is larger
2689
- * than the current size of the group, this sets the group's
2690
- * <code>DesiredCapacity</code> to the new <code>MinSize</code> value.</p>
2691
- * </li>
2692
- * <li>
2693
- * <p>If you specify a new value for <code>MaxSize</code> without specifying a value
2694
- * for <code>DesiredCapacity</code>, and the new <code>MaxSize</code> is smaller
2695
- * than the current size of the group, this sets the group's
2696
- * <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.</p>
2697
- * </li>
2698
- * </ul>
2699
- * <p>To see which parameters have been set, call the <a>DescribeAutoScalingGroups</a> API. To view the scaling policies for an Auto Scaling
2700
- * group, call the <a>DescribePolicies</a> API. If the group has scaling
2701
- * policies, you can update them by calling the <a>PutScalingPolicy</a>
2702
- * API.</p>
2703
- */
2704
- public updateAutoScalingGroup(
2705
- args: UpdateAutoScalingGroupCommandInput,
2706
- options?: __HttpHandlerOptions
2707
- ): Promise<UpdateAutoScalingGroupCommandOutput>;
2708
- public updateAutoScalingGroup(
2709
- args: UpdateAutoScalingGroupCommandInput,
2710
- cb: (err: any, data?: UpdateAutoScalingGroupCommandOutput) => void
2711
- ): void;
2712
- public updateAutoScalingGroup(
2713
- args: UpdateAutoScalingGroupCommandInput,
2714
- options: __HttpHandlerOptions,
2715
- cb: (err: any, data?: UpdateAutoScalingGroupCommandOutput) => void
2716
- ): void;
2717
- public updateAutoScalingGroup(
2718
- args: UpdateAutoScalingGroupCommandInput,
2719
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAutoScalingGroupCommandOutput) => void),
2720
- cb?: (err: any, data?: UpdateAutoScalingGroupCommandOutput) => void
2721
- ): Promise<UpdateAutoScalingGroupCommandOutput> | void {
2722
- const command = new UpdateAutoScalingGroupCommand(args);
2723
- if (typeof optionsOrCb === "function") {
2724
- this.send(command, optionsOrCb);
2725
- } else if (typeof cb === "function") {
2726
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2727
- this.send(command, optionsOrCb || {}, cb);
2728
- } else {
2729
- return this.send(command, optionsOrCb);
2730
- }
2731
- }
2732
- }