@aws-sdk/client-auto-scaling 3.35.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 (426) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/AutoScaling.js +0 -1
  3. package/dist-cjs/AutoScalingClient.js +0 -1
  4. package/dist-cjs/commands/AttachInstancesCommand.js +0 -1
  5. package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js +0 -1
  6. package/dist-cjs/commands/AttachLoadBalancersCommand.js +0 -1
  7. package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js +0 -1
  8. package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js +0 -1
  9. package/dist-cjs/commands/CancelInstanceRefreshCommand.js +0 -1
  10. package/dist-cjs/commands/CompleteLifecycleActionCommand.js +0 -1
  11. package/dist-cjs/commands/CreateAutoScalingGroupCommand.js +0 -1
  12. package/dist-cjs/commands/CreateLaunchConfigurationCommand.js +0 -1
  13. package/dist-cjs/commands/CreateOrUpdateTagsCommand.js +0 -1
  14. package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js +0 -1
  15. package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js +0 -1
  16. package/dist-cjs/commands/DeleteLifecycleHookCommand.js +0 -1
  17. package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +0 -1
  18. package/dist-cjs/commands/DeletePolicyCommand.js +0 -1
  19. package/dist-cjs/commands/DeleteScheduledActionCommand.js +0 -1
  20. package/dist-cjs/commands/DeleteTagsCommand.js +0 -1
  21. package/dist-cjs/commands/DeleteWarmPoolCommand.js +0 -1
  22. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -1
  23. package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js +0 -1
  24. package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js +0 -1
  25. package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js +0 -1
  26. package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js +0 -1
  27. package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js +0 -1
  28. package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js +0 -1
  29. package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js +0 -1
  30. package/dist-cjs/commands/DescribeLifecycleHooksCommand.js +0 -1
  31. package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js +0 -1
  32. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -1
  33. package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js +0 -1
  34. package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js +0 -1
  35. package/dist-cjs/commands/DescribePoliciesCommand.js +0 -1
  36. package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +0 -1
  37. package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js +0 -1
  38. package/dist-cjs/commands/DescribeScheduledActionsCommand.js +0 -1
  39. package/dist-cjs/commands/DescribeTagsCommand.js +0 -1
  40. package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js +0 -1
  41. package/dist-cjs/commands/DescribeWarmPoolCommand.js +0 -1
  42. package/dist-cjs/commands/DetachInstancesCommand.js +0 -1
  43. package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js +0 -1
  44. package/dist-cjs/commands/DetachLoadBalancersCommand.js +0 -1
  45. package/dist-cjs/commands/DisableMetricsCollectionCommand.js +0 -1
  46. package/dist-cjs/commands/EnableMetricsCollectionCommand.js +0 -1
  47. package/dist-cjs/commands/EnterStandbyCommand.js +0 -1
  48. package/dist-cjs/commands/ExecutePolicyCommand.js +0 -1
  49. package/dist-cjs/commands/ExitStandbyCommand.js +0 -1
  50. package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js +0 -1
  51. package/dist-cjs/commands/PutLifecycleHookCommand.js +0 -1
  52. package/dist-cjs/commands/PutNotificationConfigurationCommand.js +0 -1
  53. package/dist-cjs/commands/PutScalingPolicyCommand.js +0 -1
  54. package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js +0 -1
  55. package/dist-cjs/commands/PutWarmPoolCommand.js +0 -1
  56. package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js +0 -1
  57. package/dist-cjs/commands/ResumeProcessesCommand.js +0 -1
  58. package/dist-cjs/commands/SetDesiredCapacityCommand.js +0 -1
  59. package/dist-cjs/commands/SetInstanceHealthCommand.js +0 -1
  60. package/dist-cjs/commands/SetInstanceProtectionCommand.js +0 -1
  61. package/dist-cjs/commands/StartInstanceRefreshCommand.js +0 -1
  62. package/dist-cjs/commands/SuspendProcessesCommand.js +0 -1
  63. package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js +0 -1
  64. package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js +0 -1
  65. package/dist-cjs/endpoints.js +0 -1
  66. package/dist-cjs/index.js +0 -1
  67. package/dist-cjs/models/index.js +0 -1
  68. package/dist-cjs/models/models_0.js +0 -1
  69. package/dist-cjs/pagination/DescribeAutoScalingGroupsPaginator.js +0 -1
  70. package/dist-cjs/pagination/DescribeAutoScalingInstancesPaginator.js +0 -1
  71. package/dist-cjs/pagination/DescribeLaunchConfigurationsPaginator.js +0 -1
  72. package/dist-cjs/pagination/DescribeNotificationConfigurationsPaginator.js +0 -1
  73. package/dist-cjs/pagination/DescribePoliciesPaginator.js +0 -1
  74. package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js +0 -1
  75. package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +0 -1
  76. package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -1
  77. package/dist-cjs/pagination/Interfaces.js +0 -1
  78. package/dist-cjs/protocols/Aws_query.js +0 -1
  79. package/dist-cjs/runtimeConfig.browser.js +2 -3
  80. package/dist-cjs/runtimeConfig.js +3 -4
  81. package/dist-cjs/runtimeConfig.native.js +0 -1
  82. package/dist-cjs/runtimeConfig.shared.js +0 -1
  83. package/dist-cjs/waiters/waitForGroupExists.js +0 -1
  84. package/dist-cjs/waiters/waitForGroupInService.js +0 -1
  85. package/dist-cjs/waiters/waitForGroupNotExists.js +0 -1
  86. package/dist-es/AutoScaling.js +0 -1
  87. package/dist-es/AutoScalingClient.js +0 -1
  88. package/dist-es/commands/AttachInstancesCommand.js +0 -1
  89. package/dist-es/commands/AttachLoadBalancerTargetGroupsCommand.js +0 -1
  90. package/dist-es/commands/AttachLoadBalancersCommand.js +0 -1
  91. package/dist-es/commands/BatchDeleteScheduledActionCommand.js +0 -1
  92. package/dist-es/commands/BatchPutScheduledUpdateGroupActionCommand.js +0 -1
  93. package/dist-es/commands/CancelInstanceRefreshCommand.js +0 -1
  94. package/dist-es/commands/CompleteLifecycleActionCommand.js +0 -1
  95. package/dist-es/commands/CreateAutoScalingGroupCommand.js +0 -1
  96. package/dist-es/commands/CreateLaunchConfigurationCommand.js +0 -1
  97. package/dist-es/commands/CreateOrUpdateTagsCommand.js +0 -1
  98. package/dist-es/commands/DeleteAutoScalingGroupCommand.js +0 -1
  99. package/dist-es/commands/DeleteLaunchConfigurationCommand.js +0 -1
  100. package/dist-es/commands/DeleteLifecycleHookCommand.js +0 -1
  101. package/dist-es/commands/DeleteNotificationConfigurationCommand.js +0 -1
  102. package/dist-es/commands/DeletePolicyCommand.js +0 -1
  103. package/dist-es/commands/DeleteScheduledActionCommand.js +0 -1
  104. package/dist-es/commands/DeleteTagsCommand.js +0 -1
  105. package/dist-es/commands/DeleteWarmPoolCommand.js +0 -1
  106. package/dist-es/commands/DescribeAccountLimitsCommand.js +0 -1
  107. package/dist-es/commands/DescribeAdjustmentTypesCommand.js +0 -1
  108. package/dist-es/commands/DescribeAutoScalingGroupsCommand.js +0 -1
  109. package/dist-es/commands/DescribeAutoScalingInstancesCommand.js +0 -1
  110. package/dist-es/commands/DescribeAutoScalingNotificationTypesCommand.js +0 -1
  111. package/dist-es/commands/DescribeInstanceRefreshesCommand.js +0 -1
  112. package/dist-es/commands/DescribeLaunchConfigurationsCommand.js +0 -1
  113. package/dist-es/commands/DescribeLifecycleHookTypesCommand.js +0 -1
  114. package/dist-es/commands/DescribeLifecycleHooksCommand.js +0 -1
  115. package/dist-es/commands/DescribeLoadBalancerTargetGroupsCommand.js +0 -1
  116. package/dist-es/commands/DescribeLoadBalancersCommand.js +0 -1
  117. package/dist-es/commands/DescribeMetricCollectionTypesCommand.js +0 -1
  118. package/dist-es/commands/DescribeNotificationConfigurationsCommand.js +0 -1
  119. package/dist-es/commands/DescribePoliciesCommand.js +0 -1
  120. package/dist-es/commands/DescribeScalingActivitiesCommand.js +0 -1
  121. package/dist-es/commands/DescribeScalingProcessTypesCommand.js +0 -1
  122. package/dist-es/commands/DescribeScheduledActionsCommand.js +0 -1
  123. package/dist-es/commands/DescribeTagsCommand.js +0 -1
  124. package/dist-es/commands/DescribeTerminationPolicyTypesCommand.js +0 -1
  125. package/dist-es/commands/DescribeWarmPoolCommand.js +0 -1
  126. package/dist-es/commands/DetachInstancesCommand.js +0 -1
  127. package/dist-es/commands/DetachLoadBalancerTargetGroupsCommand.js +0 -1
  128. package/dist-es/commands/DetachLoadBalancersCommand.js +0 -1
  129. package/dist-es/commands/DisableMetricsCollectionCommand.js +0 -1
  130. package/dist-es/commands/EnableMetricsCollectionCommand.js +0 -1
  131. package/dist-es/commands/EnterStandbyCommand.js +0 -1
  132. package/dist-es/commands/ExecutePolicyCommand.js +0 -1
  133. package/dist-es/commands/ExitStandbyCommand.js +0 -1
  134. package/dist-es/commands/GetPredictiveScalingForecastCommand.js +0 -1
  135. package/dist-es/commands/PutLifecycleHookCommand.js +0 -1
  136. package/dist-es/commands/PutNotificationConfigurationCommand.js +0 -1
  137. package/dist-es/commands/PutScalingPolicyCommand.js +0 -1
  138. package/dist-es/commands/PutScheduledUpdateGroupActionCommand.js +0 -1
  139. package/dist-es/commands/PutWarmPoolCommand.js +0 -1
  140. package/dist-es/commands/RecordLifecycleActionHeartbeatCommand.js +0 -1
  141. package/dist-es/commands/ResumeProcessesCommand.js +0 -1
  142. package/dist-es/commands/SetDesiredCapacityCommand.js +0 -1
  143. package/dist-es/commands/SetInstanceHealthCommand.js +0 -1
  144. package/dist-es/commands/SetInstanceProtectionCommand.js +0 -1
  145. package/dist-es/commands/StartInstanceRefreshCommand.js +0 -1
  146. package/dist-es/commands/SuspendProcessesCommand.js +0 -1
  147. package/dist-es/commands/TerminateInstanceInAutoScalingGroupCommand.js +0 -1
  148. package/dist-es/commands/UpdateAutoScalingGroupCommand.js +0 -1
  149. package/dist-es/endpoints.js +0 -1
  150. package/dist-es/index.js +0 -1
  151. package/dist-es/models/index.js +0 -1
  152. package/dist-es/models/models_0.js +0 -1
  153. package/dist-es/pagination/DescribeAutoScalingGroupsPaginator.js +0 -1
  154. package/dist-es/pagination/DescribeAutoScalingInstancesPaginator.js +0 -1
  155. package/dist-es/pagination/DescribeLaunchConfigurationsPaginator.js +0 -1
  156. package/dist-es/pagination/DescribeNotificationConfigurationsPaginator.js +0 -1
  157. package/dist-es/pagination/DescribePoliciesPaginator.js +0 -1
  158. package/dist-es/pagination/DescribeScalingActivitiesPaginator.js +0 -1
  159. package/dist-es/pagination/DescribeScheduledActionsPaginator.js +0 -1
  160. package/dist-es/pagination/DescribeTagsPaginator.js +0 -1
  161. package/dist-es/pagination/Interfaces.js +0 -1
  162. package/dist-es/protocols/Aws_query.js +0 -1
  163. package/dist-es/runtimeConfig.browser.js +1 -2
  164. package/dist-es/runtimeConfig.js +2 -3
  165. package/dist-es/runtimeConfig.native.js +0 -1
  166. package/dist-es/runtimeConfig.shared.js +0 -1
  167. package/dist-es/waiters/waitForGroupExists.js +0 -1
  168. package/dist-es/waiters/waitForGroupInService.js +0 -1
  169. package/dist-es/waiters/waitForGroupNotExists.js +0 -1
  170. package/package.json +34 -31
  171. package/dist-cjs/AutoScaling.js.map +0 -1
  172. package/dist-cjs/AutoScalingClient.js.map +0 -1
  173. package/dist-cjs/commands/AttachInstancesCommand.js.map +0 -1
  174. package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js.map +0 -1
  175. package/dist-cjs/commands/AttachLoadBalancersCommand.js.map +0 -1
  176. package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js.map +0 -1
  177. package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js.map +0 -1
  178. package/dist-cjs/commands/CancelInstanceRefreshCommand.js.map +0 -1
  179. package/dist-cjs/commands/CompleteLifecycleActionCommand.js.map +0 -1
  180. package/dist-cjs/commands/CreateAutoScalingGroupCommand.js.map +0 -1
  181. package/dist-cjs/commands/CreateLaunchConfigurationCommand.js.map +0 -1
  182. package/dist-cjs/commands/CreateOrUpdateTagsCommand.js.map +0 -1
  183. package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js.map +0 -1
  184. package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js.map +0 -1
  185. package/dist-cjs/commands/DeleteLifecycleHookCommand.js.map +0 -1
  186. package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js.map +0 -1
  187. package/dist-cjs/commands/DeletePolicyCommand.js.map +0 -1
  188. package/dist-cjs/commands/DeleteScheduledActionCommand.js.map +0 -1
  189. package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
  190. package/dist-cjs/commands/DeleteWarmPoolCommand.js.map +0 -1
  191. package/dist-cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
  192. package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js.map +0 -1
  193. package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js.map +0 -1
  194. package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js.map +0 -1
  195. package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js.map +0 -1
  196. package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js.map +0 -1
  197. package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js.map +0 -1
  198. package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js.map +0 -1
  199. package/dist-cjs/commands/DescribeLifecycleHooksCommand.js.map +0 -1
  200. package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js.map +0 -1
  201. package/dist-cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
  202. package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js.map +0 -1
  203. package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js.map +0 -1
  204. package/dist-cjs/commands/DescribePoliciesCommand.js.map +0 -1
  205. package/dist-cjs/commands/DescribeScalingActivitiesCommand.js.map +0 -1
  206. package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js.map +0 -1
  207. package/dist-cjs/commands/DescribeScheduledActionsCommand.js.map +0 -1
  208. package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
  209. package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js.map +0 -1
  210. package/dist-cjs/commands/DescribeWarmPoolCommand.js.map +0 -1
  211. package/dist-cjs/commands/DetachInstancesCommand.js.map +0 -1
  212. package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js.map +0 -1
  213. package/dist-cjs/commands/DetachLoadBalancersCommand.js.map +0 -1
  214. package/dist-cjs/commands/DisableMetricsCollectionCommand.js.map +0 -1
  215. package/dist-cjs/commands/EnableMetricsCollectionCommand.js.map +0 -1
  216. package/dist-cjs/commands/EnterStandbyCommand.js.map +0 -1
  217. package/dist-cjs/commands/ExecutePolicyCommand.js.map +0 -1
  218. package/dist-cjs/commands/ExitStandbyCommand.js.map +0 -1
  219. package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js.map +0 -1
  220. package/dist-cjs/commands/PutLifecycleHookCommand.js.map +0 -1
  221. package/dist-cjs/commands/PutNotificationConfigurationCommand.js.map +0 -1
  222. package/dist-cjs/commands/PutScalingPolicyCommand.js.map +0 -1
  223. package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js.map +0 -1
  224. package/dist-cjs/commands/PutWarmPoolCommand.js.map +0 -1
  225. package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js.map +0 -1
  226. package/dist-cjs/commands/ResumeProcessesCommand.js.map +0 -1
  227. package/dist-cjs/commands/SetDesiredCapacityCommand.js.map +0 -1
  228. package/dist-cjs/commands/SetInstanceHealthCommand.js.map +0 -1
  229. package/dist-cjs/commands/SetInstanceProtectionCommand.js.map +0 -1
  230. package/dist-cjs/commands/StartInstanceRefreshCommand.js.map +0 -1
  231. package/dist-cjs/commands/SuspendProcessesCommand.js.map +0 -1
  232. package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js.map +0 -1
  233. package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js.map +0 -1
  234. package/dist-cjs/endpoints.js.map +0 -1
  235. package/dist-cjs/index.js.map +0 -1
  236. package/dist-cjs/models/index.js.map +0 -1
  237. package/dist-cjs/models/models_0.js.map +0 -1
  238. package/dist-cjs/pagination/DescribeAutoScalingGroupsPaginator.js.map +0 -1
  239. package/dist-cjs/pagination/DescribeAutoScalingInstancesPaginator.js.map +0 -1
  240. package/dist-cjs/pagination/DescribeLaunchConfigurationsPaginator.js.map +0 -1
  241. package/dist-cjs/pagination/DescribeNotificationConfigurationsPaginator.js.map +0 -1
  242. package/dist-cjs/pagination/DescribePoliciesPaginator.js.map +0 -1
  243. package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js.map +0 -1
  244. package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js.map +0 -1
  245. package/dist-cjs/pagination/DescribeTagsPaginator.js.map +0 -1
  246. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  247. package/dist-cjs/protocols/Aws_query.js.map +0 -1
  248. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  249. package/dist-cjs/runtimeConfig.js.map +0 -1
  250. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  251. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  252. package/dist-cjs/waiters/waitForGroupExists.js.map +0 -1
  253. package/dist-cjs/waiters/waitForGroupInService.js.map +0 -1
  254. package/dist-cjs/waiters/waitForGroupNotExists.js.map +0 -1
  255. package/dist-es/AutoScaling.js.map +0 -1
  256. package/dist-es/AutoScalingClient.js.map +0 -1
  257. package/dist-es/commands/AttachInstancesCommand.js.map +0 -1
  258. package/dist-es/commands/AttachLoadBalancerTargetGroupsCommand.js.map +0 -1
  259. package/dist-es/commands/AttachLoadBalancersCommand.js.map +0 -1
  260. package/dist-es/commands/BatchDeleteScheduledActionCommand.js.map +0 -1
  261. package/dist-es/commands/BatchPutScheduledUpdateGroupActionCommand.js.map +0 -1
  262. package/dist-es/commands/CancelInstanceRefreshCommand.js.map +0 -1
  263. package/dist-es/commands/CompleteLifecycleActionCommand.js.map +0 -1
  264. package/dist-es/commands/CreateAutoScalingGroupCommand.js.map +0 -1
  265. package/dist-es/commands/CreateLaunchConfigurationCommand.js.map +0 -1
  266. package/dist-es/commands/CreateOrUpdateTagsCommand.js.map +0 -1
  267. package/dist-es/commands/DeleteAutoScalingGroupCommand.js.map +0 -1
  268. package/dist-es/commands/DeleteLaunchConfigurationCommand.js.map +0 -1
  269. package/dist-es/commands/DeleteLifecycleHookCommand.js.map +0 -1
  270. package/dist-es/commands/DeleteNotificationConfigurationCommand.js.map +0 -1
  271. package/dist-es/commands/DeletePolicyCommand.js.map +0 -1
  272. package/dist-es/commands/DeleteScheduledActionCommand.js.map +0 -1
  273. package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
  274. package/dist-es/commands/DeleteWarmPoolCommand.js.map +0 -1
  275. package/dist-es/commands/DescribeAccountLimitsCommand.js.map +0 -1
  276. package/dist-es/commands/DescribeAdjustmentTypesCommand.js.map +0 -1
  277. package/dist-es/commands/DescribeAutoScalingGroupsCommand.js.map +0 -1
  278. package/dist-es/commands/DescribeAutoScalingInstancesCommand.js.map +0 -1
  279. package/dist-es/commands/DescribeAutoScalingNotificationTypesCommand.js.map +0 -1
  280. package/dist-es/commands/DescribeInstanceRefreshesCommand.js.map +0 -1
  281. package/dist-es/commands/DescribeLaunchConfigurationsCommand.js.map +0 -1
  282. package/dist-es/commands/DescribeLifecycleHookTypesCommand.js.map +0 -1
  283. package/dist-es/commands/DescribeLifecycleHooksCommand.js.map +0 -1
  284. package/dist-es/commands/DescribeLoadBalancerTargetGroupsCommand.js.map +0 -1
  285. package/dist-es/commands/DescribeLoadBalancersCommand.js.map +0 -1
  286. package/dist-es/commands/DescribeMetricCollectionTypesCommand.js.map +0 -1
  287. package/dist-es/commands/DescribeNotificationConfigurationsCommand.js.map +0 -1
  288. package/dist-es/commands/DescribePoliciesCommand.js.map +0 -1
  289. package/dist-es/commands/DescribeScalingActivitiesCommand.js.map +0 -1
  290. package/dist-es/commands/DescribeScalingProcessTypesCommand.js.map +0 -1
  291. package/dist-es/commands/DescribeScheduledActionsCommand.js.map +0 -1
  292. package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
  293. package/dist-es/commands/DescribeTerminationPolicyTypesCommand.js.map +0 -1
  294. package/dist-es/commands/DescribeWarmPoolCommand.js.map +0 -1
  295. package/dist-es/commands/DetachInstancesCommand.js.map +0 -1
  296. package/dist-es/commands/DetachLoadBalancerTargetGroupsCommand.js.map +0 -1
  297. package/dist-es/commands/DetachLoadBalancersCommand.js.map +0 -1
  298. package/dist-es/commands/DisableMetricsCollectionCommand.js.map +0 -1
  299. package/dist-es/commands/EnableMetricsCollectionCommand.js.map +0 -1
  300. package/dist-es/commands/EnterStandbyCommand.js.map +0 -1
  301. package/dist-es/commands/ExecutePolicyCommand.js.map +0 -1
  302. package/dist-es/commands/ExitStandbyCommand.js.map +0 -1
  303. package/dist-es/commands/GetPredictiveScalingForecastCommand.js.map +0 -1
  304. package/dist-es/commands/PutLifecycleHookCommand.js.map +0 -1
  305. package/dist-es/commands/PutNotificationConfigurationCommand.js.map +0 -1
  306. package/dist-es/commands/PutScalingPolicyCommand.js.map +0 -1
  307. package/dist-es/commands/PutScheduledUpdateGroupActionCommand.js.map +0 -1
  308. package/dist-es/commands/PutWarmPoolCommand.js.map +0 -1
  309. package/dist-es/commands/RecordLifecycleActionHeartbeatCommand.js.map +0 -1
  310. package/dist-es/commands/ResumeProcessesCommand.js.map +0 -1
  311. package/dist-es/commands/SetDesiredCapacityCommand.js.map +0 -1
  312. package/dist-es/commands/SetInstanceHealthCommand.js.map +0 -1
  313. package/dist-es/commands/SetInstanceProtectionCommand.js.map +0 -1
  314. package/dist-es/commands/StartInstanceRefreshCommand.js.map +0 -1
  315. package/dist-es/commands/SuspendProcessesCommand.js.map +0 -1
  316. package/dist-es/commands/TerminateInstanceInAutoScalingGroupCommand.js.map +0 -1
  317. package/dist-es/commands/UpdateAutoScalingGroupCommand.js.map +0 -1
  318. package/dist-es/endpoints.js.map +0 -1
  319. package/dist-es/index.js.map +0 -1
  320. package/dist-es/models/index.js.map +0 -1
  321. package/dist-es/models/models_0.js.map +0 -1
  322. package/dist-es/pagination/DescribeAutoScalingGroupsPaginator.js.map +0 -1
  323. package/dist-es/pagination/DescribeAutoScalingInstancesPaginator.js.map +0 -1
  324. package/dist-es/pagination/DescribeLaunchConfigurationsPaginator.js.map +0 -1
  325. package/dist-es/pagination/DescribeNotificationConfigurationsPaginator.js.map +0 -1
  326. package/dist-es/pagination/DescribePoliciesPaginator.js.map +0 -1
  327. package/dist-es/pagination/DescribeScalingActivitiesPaginator.js.map +0 -1
  328. package/dist-es/pagination/DescribeScheduledActionsPaginator.js.map +0 -1
  329. package/dist-es/pagination/DescribeTagsPaginator.js.map +0 -1
  330. package/dist-es/pagination/Interfaces.js.map +0 -1
  331. package/dist-es/protocols/Aws_query.js.map +0 -1
  332. package/dist-es/runtimeConfig.browser.js.map +0 -1
  333. package/dist-es/runtimeConfig.js.map +0 -1
  334. package/dist-es/runtimeConfig.native.js.map +0 -1
  335. package/dist-es/runtimeConfig.shared.js.map +0 -1
  336. package/dist-es/waiters/waitForGroupExists.js.map +0 -1
  337. package/dist-es/waiters/waitForGroupInService.js.map +0 -1
  338. package/dist-es/waiters/waitForGroupNotExists.js.map +0 -1
  339. package/jest.config.js +0 -4
  340. package/src/AutoScaling.ts +0 -2733
  341. package/src/AutoScalingClient.ts +0 -558
  342. package/src/commands/AttachInstancesCommand.ts +0 -104
  343. package/src/commands/AttachLoadBalancerTargetGroupsCommand.ts +0 -121
  344. package/src/commands/AttachLoadBalancersCommand.ts +0 -105
  345. package/src/commands/BatchDeleteScheduledActionCommand.ts +0 -98
  346. package/src/commands/BatchPutScheduledUpdateGroupActionCommand.ts +0 -103
  347. package/src/commands/CancelInstanceRefreshCommand.ts +0 -100
  348. package/src/commands/CompleteLifecycleActionCommand.ts +0 -126
  349. package/src/commands/CreateAutoScalingGroupCommand.ts +0 -113
  350. package/src/commands/CreateLaunchConfigurationCommand.ts +0 -104
  351. package/src/commands/CreateOrUpdateTagsCommand.ts +0 -99
  352. package/src/commands/DeleteAutoScalingGroupCommand.ts +0 -104
  353. package/src/commands/DeleteLaunchConfigurationCommand.ts +0 -100
  354. package/src/commands/DeleteLifecycleHookCommand.ts +0 -98
  355. package/src/commands/DeleteNotificationConfigurationCommand.ts +0 -101
  356. package/src/commands/DeletePolicyCommand.ts +0 -97
  357. package/src/commands/DeleteScheduledActionCommand.ts +0 -95
  358. package/src/commands/DeleteTagsCommand.ts +0 -92
  359. package/src/commands/DeleteWarmPoolCommand.ts +0 -97
  360. package/src/commands/DescribeAccountLimitsCommand.ts +0 -99
  361. package/src/commands/DescribeAdjustmentTypesCommand.ts +0 -114
  362. package/src/commands/DescribeAutoScalingGroupsCommand.ts +0 -100
  363. package/src/commands/DescribeAutoScalingInstancesCommand.ts +0 -98
  364. package/src/commands/DescribeAutoScalingNotificationTypesCommand.ts +0 -103
  365. package/src/commands/DescribeInstanceRefreshesCommand.ts +0 -136
  366. package/src/commands/DescribeLaunchConfigurationsCommand.ts +0 -98
  367. package/src/commands/DescribeLifecycleHookTypesCommand.ts +0 -111
  368. package/src/commands/DescribeLifecycleHooksCommand.ts +0 -95
  369. package/src/commands/DescribeLoadBalancerTargetGroupsCommand.ts +0 -122
  370. package/src/commands/DescribeLoadBalancersCommand.ts +0 -116
  371. package/src/commands/DescribeMetricCollectionTypesCommand.ts +0 -102
  372. package/src/commands/DescribeNotificationConfigurationsCommand.ts +0 -104
  373. package/src/commands/DescribePoliciesCommand.ts +0 -95
  374. package/src/commands/DescribeScalingActivitiesCommand.ts +0 -106
  375. package/src/commands/DescribeScalingProcessTypesCommand.ts +0 -99
  376. package/src/commands/DescribeScheduledActionsCommand.ts +0 -98
  377. package/src/commands/DescribeTagsCommand.ts +0 -100
  378. package/src/commands/DescribeTerminationPolicyTypesCommand.ts +0 -106
  379. package/src/commands/DescribeWarmPoolCommand.ts +0 -97
  380. package/src/commands/DetachInstancesCommand.ts +0 -104
  381. package/src/commands/DetachLoadBalancerTargetGroupsCommand.ts +0 -103
  382. package/src/commands/DetachLoadBalancersCommand.ts +0 -100
  383. package/src/commands/DisableMetricsCollectionCommand.ts +0 -95
  384. package/src/commands/EnableMetricsCollectionCommand.ts +0 -96
  385. package/src/commands/EnterStandbyCommand.ts +0 -101
  386. package/src/commands/ExecutePolicyCommand.ts +0 -96
  387. package/src/commands/ExitStandbyCommand.ts +0 -97
  388. package/src/commands/GetPredictiveScalingForecastCommand.ts +0 -108
  389. package/src/commands/PutLifecycleHookCommand.ts +0 -132
  390. package/src/commands/PutNotificationConfigurationCommand.ts +0 -106
  391. package/src/commands/PutScalingPolicyCommand.ts +0 -104
  392. package/src/commands/PutScheduledUpdateGroupActionCommand.ts +0 -102
  393. package/src/commands/PutWarmPoolCommand.ts +0 -101
  394. package/src/commands/RecordLifecycleActionHeartbeatCommand.ts +0 -135
  395. package/src/commands/ResumeProcessesCommand.ts +0 -98
  396. package/src/commands/SetDesiredCapacityCommand.ts +0 -100
  397. package/src/commands/SetInstanceHealthCommand.ts +0 -97
  398. package/src/commands/SetInstanceProtectionCommand.ts +0 -101
  399. package/src/commands/StartInstanceRefreshCommand.ts +0 -109
  400. package/src/commands/SuspendProcessesCommand.ts +0 -101
  401. package/src/commands/TerminateInstanceInAutoScalingGroupCommand.ts +0 -112
  402. package/src/commands/UpdateAutoScalingGroupCommand.ts +0 -139
  403. package/src/endpoints.ts +0 -57
  404. package/src/index.ts +0 -76
  405. package/src/models/index.ts +0 -1
  406. package/src/models/models_0.ts +0 -6663
  407. package/src/pagination/DescribeAutoScalingGroupsPaginator.ts +0 -59
  408. package/src/pagination/DescribeAutoScalingInstancesPaginator.ts +0 -59
  409. package/src/pagination/DescribeLaunchConfigurationsPaginator.ts +0 -59
  410. package/src/pagination/DescribeNotificationConfigurationsPaginator.ts +0 -59
  411. package/src/pagination/DescribePoliciesPaginator.ts +0 -59
  412. package/src/pagination/DescribeScalingActivitiesPaginator.ts +0 -59
  413. package/src/pagination/DescribeScheduledActionsPaginator.ts +0 -59
  414. package/src/pagination/DescribeTagsPaginator.ts +0 -59
  415. package/src/pagination/Interfaces.ts +0 -8
  416. package/src/protocols/Aws_query.ts +0 -10045
  417. package/src/runtimeConfig.browser.ts +0 -41
  418. package/src/runtimeConfig.native.ts +0 -17
  419. package/src/runtimeConfig.shared.ts +0 -17
  420. package/src/runtimeConfig.ts +0 -46
  421. package/src/waiters/waitForGroupExists.ts +0 -61
  422. package/src/waiters/waitForGroupInService.ts +0 -83
  423. package/src/waiters/waitForGroupNotExists.ts +0 -61
  424. package/tsconfig.es.json +0 -10
  425. package/tsconfig.json +0 -33
  426. package/tsconfig.types.json +0 -9
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
15
- import { SetInstanceHealthQuery } from "../models/models_0";
16
- import {
17
- deserializeAws_querySetInstanceHealthCommand,
18
- serializeAws_querySetInstanceHealthCommand,
19
- } from "../protocols/Aws_query";
20
-
21
- export interface SetInstanceHealthCommandInput extends SetInstanceHealthQuery {}
22
- export interface SetInstanceHealthCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Sets the health status of the specified instance.</p>
26
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html">Health checks for Auto Scaling
27
- * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { AutoScalingClient, SetInstanceHealthCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
32
- * // const { AutoScalingClient, SetInstanceHealthCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
33
- * const client = new AutoScalingClient(config);
34
- * const command = new SetInstanceHealthCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link SetInstanceHealthCommandInput} for command's `input` shape.
39
- * @see {@link SetInstanceHealthCommandOutput} for command's `response` shape.
40
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class SetInstanceHealthCommand extends $Command<
44
- SetInstanceHealthCommandInput,
45
- SetInstanceHealthCommandOutput,
46
- AutoScalingClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: SetInstanceHealthCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: AutoScalingClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<SetInstanceHealthCommandInput, SetInstanceHealthCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "AutoScalingClient";
71
- const commandName = "SetInstanceHealthCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: SetInstanceHealthQuery.filterSensitiveLog,
77
- outputFilterSensitiveLog: (output: any) => output,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: SetInstanceHealthCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_querySetInstanceHealthCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SetInstanceHealthCommandOutput> {
92
- return deserializeAws_querySetInstanceHealthCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
15
- import { SetInstanceProtectionAnswer, SetInstanceProtectionQuery } from "../models/models_0";
16
- import {
17
- deserializeAws_querySetInstanceProtectionCommand,
18
- serializeAws_querySetInstanceProtectionCommand,
19
- } from "../protocols/Aws_query";
20
-
21
- export interface SetInstanceProtectionCommandInput extends SetInstanceProtectionQuery {}
22
- export interface SetInstanceProtectionCommandOutput extends SetInstanceProtectionAnswer, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates the instance protection settings of the specified instances. This operation
26
- * cannot be called on instances in a warm pool.</p>
27
- * <p>For more information about preventing instances that are part of an Auto Scaling group from
28
- * 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
29
- * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
30
- * <p>If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call
31
- * fails.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { AutoScalingClient, SetInstanceProtectionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
36
- * // const { AutoScalingClient, SetInstanceProtectionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
37
- * const client = new AutoScalingClient(config);
38
- * const command = new SetInstanceProtectionCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link SetInstanceProtectionCommandInput} for command's `input` shape.
43
- * @see {@link SetInstanceProtectionCommandOutput} for command's `response` shape.
44
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class SetInstanceProtectionCommand extends $Command<
48
- SetInstanceProtectionCommandInput,
49
- SetInstanceProtectionCommandOutput,
50
- AutoScalingClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: SetInstanceProtectionCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: AutoScalingClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<SetInstanceProtectionCommandInput, SetInstanceProtectionCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "AutoScalingClient";
75
- const commandName = "SetInstanceProtectionCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: SetInstanceProtectionQuery.filterSensitiveLog,
81
- outputFilterSensitiveLog: SetInstanceProtectionAnswer.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: SetInstanceProtectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_querySetInstanceProtectionCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SetInstanceProtectionCommandOutput> {
96
- return deserializeAws_querySetInstanceProtectionCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,109 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
15
- import { StartInstanceRefreshAnswer, StartInstanceRefreshType } from "../models/models_0";
16
- import {
17
- deserializeAws_queryStartInstanceRefreshCommand,
18
- serializeAws_queryStartInstanceRefreshCommand,
19
- } from "../protocols/Aws_query";
20
-
21
- export interface StartInstanceRefreshCommandInput extends StartInstanceRefreshType {}
22
- export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshAnswer, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Starts a new instance refresh operation. An instance refresh performs a rolling
26
- * replacement of all or some instances in an Auto Scaling group. Each instance is terminated first
27
- * and then replaced, which temporarily reduces the capacity available within your Auto Scaling
28
- * group.</p>
29
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
30
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group.
31
- * This feature is helpful, for example, when you have a new AMI or a new user data script.
32
- * You just need to create a new launch template that specifies the new AMI or user data
33
- * script. Then start an instance refresh to immediately begin the process of updating
34
- * instances in the group. </p>
35
- * <p>If the call succeeds, it creates a new instance refresh request with a unique ID that
36
- * you can use to track its progress. To query its status, call the <a>DescribeInstanceRefreshes</a> API. To describe the instance refreshes that
37
- * have already run, call the <a>DescribeInstanceRefreshes</a> API. To cancel an
38
- * instance refresh operation in progress, use the <a>CancelInstanceRefresh</a>
39
- * API. </p>
40
- * @example
41
- * Use a bare-bones client and the command you need to make an API call.
42
- * ```javascript
43
- * import { AutoScalingClient, StartInstanceRefreshCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
44
- * // const { AutoScalingClient, StartInstanceRefreshCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
45
- * const client = new AutoScalingClient(config);
46
- * const command = new StartInstanceRefreshCommand(input);
47
- * const response = await client.send(command);
48
- * ```
49
- *
50
- * @see {@link StartInstanceRefreshCommandInput} for command's `input` shape.
51
- * @see {@link StartInstanceRefreshCommandOutput} for command's `response` shape.
52
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
53
- *
54
- */
55
- export class StartInstanceRefreshCommand extends $Command<
56
- StartInstanceRefreshCommandInput,
57
- StartInstanceRefreshCommandOutput,
58
- AutoScalingClientResolvedConfig
59
- > {
60
- // Start section: command_properties
61
- // End section: command_properties
62
-
63
- constructor(readonly input: StartInstanceRefreshCommandInput) {
64
- // Start section: command_constructor
65
- super();
66
- // End section: command_constructor
67
- }
68
-
69
- /**
70
- * @internal
71
- */
72
- resolveMiddleware(
73
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
74
- configuration: AutoScalingClientResolvedConfig,
75
- options?: __HttpHandlerOptions
76
- ): Handler<StartInstanceRefreshCommandInput, StartInstanceRefreshCommandOutput> {
77
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
78
-
79
- const stack = clientStack.concat(this.middlewareStack);
80
-
81
- const { logger } = configuration;
82
- const clientName = "AutoScalingClient";
83
- const commandName = "StartInstanceRefreshCommand";
84
- const handlerExecutionContext: HandlerExecutionContext = {
85
- logger,
86
- clientName,
87
- commandName,
88
- inputFilterSensitiveLog: StartInstanceRefreshType.filterSensitiveLog,
89
- outputFilterSensitiveLog: StartInstanceRefreshAnswer.filterSensitiveLog,
90
- };
91
- const { requestHandler } = configuration;
92
- return stack.resolve(
93
- (request: FinalizeHandlerArguments<any>) =>
94
- requestHandler.handle(request.request as __HttpRequest, options || {}),
95
- handlerExecutionContext
96
- );
97
- }
98
-
99
- private serialize(input: StartInstanceRefreshCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
100
- return serializeAws_queryStartInstanceRefreshCommand(input, context);
101
- }
102
-
103
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartInstanceRefreshCommandOutput> {
104
- return deserializeAws_queryStartInstanceRefreshCommand(output, context);
105
- }
106
-
107
- // Start section: command_body_extra
108
- // End section: command_body_extra
109
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
15
- import { ScalingProcessQuery } from "../models/models_0";
16
- import {
17
- deserializeAws_querySuspendProcessesCommand,
18
- serializeAws_querySuspendProcessesCommand,
19
- } from "../protocols/Aws_query";
20
-
21
- export interface SuspendProcessesCommandInput extends ScalingProcessQuery {}
22
- export interface SuspendProcessesCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Suspends the specified auto scaling processes, or all processes, for the specified
26
- * Auto Scaling group.</p>
27
- * <p>If you suspend either the <code>Launch</code> or <code>Terminate</code> process types,
28
- * it can prevent other process types from functioning properly. For more information, see
29
- * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspending and
30
- * resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
31
- * <p>To resume processes that have been suspended, call the <a>ResumeProcesses</a> API.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { AutoScalingClient, SuspendProcessesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
36
- * // const { AutoScalingClient, SuspendProcessesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
37
- * const client = new AutoScalingClient(config);
38
- * const command = new SuspendProcessesCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link SuspendProcessesCommandInput} for command's `input` shape.
43
- * @see {@link SuspendProcessesCommandOutput} for command's `response` shape.
44
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class SuspendProcessesCommand extends $Command<
48
- SuspendProcessesCommandInput,
49
- SuspendProcessesCommandOutput,
50
- AutoScalingClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: SuspendProcessesCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: AutoScalingClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<SuspendProcessesCommandInput, SuspendProcessesCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "AutoScalingClient";
75
- const commandName = "SuspendProcessesCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: ScalingProcessQuery.filterSensitiveLog,
81
- outputFilterSensitiveLog: (output: any) => output,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: SuspendProcessesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_querySuspendProcessesCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SuspendProcessesCommandOutput> {
96
- return deserializeAws_querySuspendProcessesCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,112 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
15
- import { ActivityType, TerminateInstanceInAutoScalingGroupType } from "../models/models_0";
16
- import {
17
- deserializeAws_queryTerminateInstanceInAutoScalingGroupCommand,
18
- serializeAws_queryTerminateInstanceInAutoScalingGroupCommand,
19
- } from "../protocols/Aws_query";
20
-
21
- export interface TerminateInstanceInAutoScalingGroupCommandInput extends TerminateInstanceInAutoScalingGroupType {}
22
- export interface TerminateInstanceInAutoScalingGroupCommandOutput extends ActivityType, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Terminates the specified instance and optionally adjusts the desired group size. This
26
- * operation cannot be called on instances in a warm pool.</p>
27
- * <p>This call simply makes a termination request. The instance is not terminated
28
- * immediately. When an instance is terminated, the instance status changes to
29
- * <code>terminated</code>. You can't connect to or start an instance after you've
30
- * terminated it.</p>
31
- * <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches
32
- * instances to replace the ones that are terminated. </p>
33
- * <p>By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you
34
- * decrement the desired capacity, your Auto Scaling group can become unbalanced between
35
- * Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might
36
- * 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>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { AutoScalingClient, TerminateInstanceInAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
41
- * // const { AutoScalingClient, TerminateInstanceInAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
42
- * const client = new AutoScalingClient(config);
43
- * const command = new TerminateInstanceInAutoScalingGroupCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link TerminateInstanceInAutoScalingGroupCommandInput} for command's `input` shape.
48
- * @see {@link TerminateInstanceInAutoScalingGroupCommandOutput} for command's `response` shape.
49
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- export class TerminateInstanceInAutoScalingGroupCommand extends $Command<
53
- TerminateInstanceInAutoScalingGroupCommandInput,
54
- TerminateInstanceInAutoScalingGroupCommandOutput,
55
- AutoScalingClientResolvedConfig
56
- > {
57
- // Start section: command_properties
58
- // End section: command_properties
59
-
60
- constructor(readonly input: TerminateInstanceInAutoScalingGroupCommandInput) {
61
- // Start section: command_constructor
62
- super();
63
- // End section: command_constructor
64
- }
65
-
66
- /**
67
- * @internal
68
- */
69
- resolveMiddleware(
70
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
71
- configuration: AutoScalingClientResolvedConfig,
72
- options?: __HttpHandlerOptions
73
- ): Handler<TerminateInstanceInAutoScalingGroupCommandInput, TerminateInstanceInAutoScalingGroupCommandOutput> {
74
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
75
-
76
- const stack = clientStack.concat(this.middlewareStack);
77
-
78
- const { logger } = configuration;
79
- const clientName = "AutoScalingClient";
80
- const commandName = "TerminateInstanceInAutoScalingGroupCommand";
81
- const handlerExecutionContext: HandlerExecutionContext = {
82
- logger,
83
- clientName,
84
- commandName,
85
- inputFilterSensitiveLog: TerminateInstanceInAutoScalingGroupType.filterSensitiveLog,
86
- outputFilterSensitiveLog: ActivityType.filterSensitiveLog,
87
- };
88
- const { requestHandler } = configuration;
89
- return stack.resolve(
90
- (request: FinalizeHandlerArguments<any>) =>
91
- requestHandler.handle(request.request as __HttpRequest, options || {}),
92
- handlerExecutionContext
93
- );
94
- }
95
-
96
- private serialize(
97
- input: TerminateInstanceInAutoScalingGroupCommandInput,
98
- context: __SerdeContext
99
- ): Promise<__HttpRequest> {
100
- return serializeAws_queryTerminateInstanceInAutoScalingGroupCommand(input, context);
101
- }
102
-
103
- private deserialize(
104
- output: __HttpResponse,
105
- context: __SerdeContext
106
- ): Promise<TerminateInstanceInAutoScalingGroupCommandOutput> {
107
- return deserializeAws_queryTerminateInstanceInAutoScalingGroupCommand(output, context);
108
- }
109
-
110
- // Start section: command_body_extra
111
- // End section: command_body_extra
112
- }
@@ -1,139 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
15
- import { UpdateAutoScalingGroupType } from "../models/models_0";
16
- import {
17
- deserializeAws_queryUpdateAutoScalingGroupCommand,
18
- serializeAws_queryUpdateAutoScalingGroupCommand,
19
- } from "../protocols/Aws_query";
20
-
21
- export interface UpdateAutoScalingGroupCommandInput extends UpdateAutoScalingGroupType {}
22
- export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>
26
- * <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>
27
- * </p>
28
- * <p>Updates the configuration for
29
- * the specified Auto Scaling group.</p>
30
- * <p>To update an Auto Scaling group, specify the name of the group and the parameter that you want
31
- * to change. Any parameters that you don't specify are not changed by this update request.
32
- * The new settings take effect on any scaling activities after this call returns.
33
- * </p>
34
- * <p>If you associate a new launch configuration or template with an Auto Scaling group, all new
35
- * instances will get the updated configuration. Existing instances continue to run with
36
- * the configuration that they were originally launched with. When you update a group to
37
- * specify a mixed instances policy instead of a launch configuration or template, existing
38
- * instances may be replaced to match the new purchasing options that you specified in the
39
- * policy. For example, if the group currently has 100% On-Demand capacity and the policy
40
- * specifies 50% Spot capacity, this means that half of your instances will be gradually
41
- * terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches
42
- * new instances before terminating the old ones, so that updating your group does not
43
- * compromise the performance or availability of your application.</p>
44
- * <p>Note the following about changing <code>DesiredCapacity</code>, <code>MaxSize</code>,
45
- * or <code>MinSize</code>:</p>
46
- * <ul>
47
- * <li>
48
- * <p>If a scale-in activity occurs as a result of a new
49
- * <code>DesiredCapacity</code> value that is lower than the current size of
50
- * the group, the Auto Scaling group uses its termination policy to determine which
51
- * instances to terminate.</p>
52
- * </li>
53
- * <li>
54
- * <p>If you specify a new value for <code>MinSize</code> without specifying a value
55
- * for <code>DesiredCapacity</code>, and the new <code>MinSize</code> is larger
56
- * than the current size of the group, this sets the group's
57
- * <code>DesiredCapacity</code> to the new <code>MinSize</code> value.</p>
58
- * </li>
59
- * <li>
60
- * <p>If you specify a new value for <code>MaxSize</code> without specifying a value
61
- * for <code>DesiredCapacity</code>, and the new <code>MaxSize</code> is smaller
62
- * than the current size of the group, this sets the group's
63
- * <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.</p>
64
- * </li>
65
- * </ul>
66
- * <p>To see which parameters have been set, call the <a>DescribeAutoScalingGroups</a> API. To view the scaling policies for an Auto Scaling
67
- * group, call the <a>DescribePolicies</a> API. If the group has scaling
68
- * policies, you can update them by calling the <a>PutScalingPolicy</a>
69
- * API.</p>
70
- * @example
71
- * Use a bare-bones client and the command you need to make an API call.
72
- * ```javascript
73
- * import { AutoScalingClient, UpdateAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
74
- * // const { AutoScalingClient, UpdateAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
75
- * const client = new AutoScalingClient(config);
76
- * const command = new UpdateAutoScalingGroupCommand(input);
77
- * const response = await client.send(command);
78
- * ```
79
- *
80
- * @see {@link UpdateAutoScalingGroupCommandInput} for command's `input` shape.
81
- * @see {@link UpdateAutoScalingGroupCommandOutput} for command's `response` shape.
82
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
83
- *
84
- */
85
- export class UpdateAutoScalingGroupCommand extends $Command<
86
- UpdateAutoScalingGroupCommandInput,
87
- UpdateAutoScalingGroupCommandOutput,
88
- AutoScalingClientResolvedConfig
89
- > {
90
- // Start section: command_properties
91
- // End section: command_properties
92
-
93
- constructor(readonly input: UpdateAutoScalingGroupCommandInput) {
94
- // Start section: command_constructor
95
- super();
96
- // End section: command_constructor
97
- }
98
-
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(
103
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
104
- configuration: AutoScalingClientResolvedConfig,
105
- options?: __HttpHandlerOptions
106
- ): Handler<UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput> {
107
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
108
-
109
- const stack = clientStack.concat(this.middlewareStack);
110
-
111
- const { logger } = configuration;
112
- const clientName = "AutoScalingClient";
113
- const commandName = "UpdateAutoScalingGroupCommand";
114
- const handlerExecutionContext: HandlerExecutionContext = {
115
- logger,
116
- clientName,
117
- commandName,
118
- inputFilterSensitiveLog: UpdateAutoScalingGroupType.filterSensitiveLog,
119
- outputFilterSensitiveLog: (output: any) => output,
120
- };
121
- const { requestHandler } = configuration;
122
- return stack.resolve(
123
- (request: FinalizeHandlerArguments<any>) =>
124
- requestHandler.handle(request.request as __HttpRequest, options || {}),
125
- handlerExecutionContext
126
- );
127
- }
128
-
129
- private serialize(input: UpdateAutoScalingGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
130
- return serializeAws_queryUpdateAutoScalingGroupCommand(input, context);
131
- }
132
-
133
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateAutoScalingGroupCommandOutput> {
134
- return deserializeAws_queryUpdateAutoScalingGroupCommand(output, context);
135
- }
136
-
137
- // Start section: command_body_extra
138
- // End section: command_body_extra
139
- }