@aws-sdk/client-auto-scaling 3.36.0 → 3.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/AutoScaling.js +0 -16
  3. package/dist-cjs/AutoScalingClient.js +0 -21
  4. package/dist-cjs/commands/AttachInstancesCommand.js +0 -33
  5. package/dist-cjs/commands/AttachLoadBalancerTargetGroupsCommand.js +0 -42
  6. package/dist-cjs/commands/AttachLoadBalancersCommand.js +0 -34
  7. package/dist-cjs/commands/BatchDeleteScheduledActionCommand.js +0 -24
  8. package/dist-cjs/commands/BatchPutScheduledUpdateGroupActionCommand.js +0 -24
  9. package/dist-cjs/commands/CancelInstanceRefreshCommand.js +0 -29
  10. package/dist-cjs/commands/CompleteLifecycleActionCommand.js +0 -55
  11. package/dist-cjs/commands/CreateAutoScalingGroupCommand.js +0 -42
  12. package/dist-cjs/commands/CreateLaunchConfigurationCommand.js +0 -30
  13. package/dist-cjs/commands/CreateOrUpdateTagsCommand.js +0 -28
  14. package/dist-cjs/commands/DeleteAutoScalingGroupCommand.js +0 -33
  15. package/dist-cjs/commands/DeleteLaunchConfigurationCommand.js +0 -26
  16. package/dist-cjs/commands/DeleteLifecycleHookCommand.js +0 -27
  17. package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +0 -24
  18. package/dist-cjs/commands/DeletePolicyCommand.js +0 -29
  19. package/dist-cjs/commands/DeleteScheduledActionCommand.js +0 -24
  20. package/dist-cjs/commands/DeleteTagsCommand.js +0 -24
  21. package/dist-cjs/commands/DeleteWarmPoolCommand.js +0 -26
  22. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -28
  23. package/dist-cjs/commands/DescribeAdjustmentTypesCommand.js +0 -43
  24. package/dist-cjs/commands/DescribeAutoScalingGroupsCommand.js +0 -26
  25. package/dist-cjs/commands/DescribeAutoScalingInstancesCommand.js +0 -24
  26. package/dist-cjs/commands/DescribeAutoScalingNotificationTypesCommand.js +0 -24
  27. package/dist-cjs/commands/DescribeInstanceRefreshesCommand.js +0 -62
  28. package/dist-cjs/commands/DescribeLaunchConfigurationsCommand.js +0 -24
  29. package/dist-cjs/commands/DescribeLifecycleHookTypesCommand.js +0 -37
  30. package/dist-cjs/commands/DescribeLifecycleHooksCommand.js +0 -24
  31. package/dist-cjs/commands/DescribeLoadBalancerTargetGroupsCommand.js +0 -43
  32. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -45
  33. package/dist-cjs/commands/DescribeMetricCollectionTypesCommand.js +0 -26
  34. package/dist-cjs/commands/DescribeNotificationConfigurationsCommand.js +0 -25
  35. package/dist-cjs/commands/DescribePoliciesCommand.js +0 -24
  36. package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +0 -32
  37. package/dist-cjs/commands/DescribeScalingProcessTypesCommand.js +0 -25
  38. package/dist-cjs/commands/DescribeScheduledActionsCommand.js +0 -27
  39. package/dist-cjs/commands/DescribeTagsCommand.js +0 -32
  40. package/dist-cjs/commands/DescribeTerminationPolicyTypesCommand.js +0 -27
  41. package/dist-cjs/commands/DescribeWarmPoolCommand.js +0 -26
  42. package/dist-cjs/commands/DetachInstancesCommand.js +0 -33
  43. package/dist-cjs/commands/DetachLoadBalancerTargetGroupsCommand.js +0 -24
  44. package/dist-cjs/commands/DetachLoadBalancersCommand.js +0 -29
  45. package/dist-cjs/commands/DisableMetricsCollectionCommand.js +0 -24
  46. package/dist-cjs/commands/EnableMetricsCollectionCommand.js +0 -25
  47. package/dist-cjs/commands/EnterStandbyCommand.js +0 -33
  48. package/dist-cjs/commands/ExecutePolicyCommand.js +0 -25
  49. package/dist-cjs/commands/ExitStandbyCommand.js +0 -29
  50. package/dist-cjs/commands/GetPredictiveScalingForecastCommand.js +0 -32
  51. package/dist-cjs/commands/PutLifecycleHookCommand.js +0 -61
  52. package/dist-cjs/commands/PutNotificationConfigurationCommand.js +0 -32
  53. package/dist-cjs/commands/PutScalingPolicyCommand.js +0 -33
  54. package/dist-cjs/commands/PutScheduledUpdateGroupActionCommand.js +0 -28
  55. package/dist-cjs/commands/PutWarmPoolCommand.js +0 -33
  56. package/dist-cjs/commands/RecordLifecycleActionHeartbeatCommand.js +0 -56
  57. package/dist-cjs/commands/ResumeProcessesCommand.js +0 -27
  58. package/dist-cjs/commands/SetDesiredCapacityCommand.js +0 -29
  59. package/dist-cjs/commands/SetInstanceHealthCommand.js +0 -26
  60. package/dist-cjs/commands/SetInstanceProtectionCommand.js +0 -30
  61. package/dist-cjs/commands/StartInstanceRefreshCommand.js +0 -38
  62. package/dist-cjs/commands/SuspendProcessesCommand.js +0 -30
  63. package/dist-cjs/commands/TerminateInstanceInAutoScalingGroupCommand.js +0 -35
  64. package/dist-cjs/commands/UpdateAutoScalingGroupCommand.js +0 -68
  65. package/dist-cjs/commands/index.js +64 -0
  66. package/dist-cjs/endpoints.js +6 -1
  67. package/dist-cjs/index.js +5 -75
  68. package/dist-cjs/models/models_0.js +121 -475
  69. package/dist-cjs/pagination/DescribeAutoScalingGroupsPaginator.js +0 -10
  70. package/dist-cjs/pagination/DescribeAutoScalingInstancesPaginator.js +0 -10
  71. package/dist-cjs/pagination/DescribeLaunchConfigurationsPaginator.js +0 -10
  72. package/dist-cjs/pagination/DescribeNotificationConfigurationsPaginator.js +0 -10
  73. package/dist-cjs/pagination/DescribePoliciesPaginator.js +0 -10
  74. package/dist-cjs/pagination/DescribeScalingActivitiesPaginator.js +0 -10
  75. package/dist-cjs/pagination/DescribeScheduledActionsPaginator.js +0 -10
  76. package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -10
  77. package/dist-cjs/pagination/index.js +12 -0
  78. package/dist-cjs/protocols/Aws_query.js +621 -2
  79. package/dist-cjs/runtimeConfig.browser.js +1 -5
  80. package/dist-cjs/runtimeConfig.js +1 -5
  81. package/dist-cjs/runtimeConfig.native.js +0 -3
  82. package/dist-cjs/runtimeConfig.shared.js +0 -3
  83. package/dist-cjs/waiters/index.js +6 -0
  84. package/dist-cjs/waiters/waitForGroupExists.js +0 -9
  85. package/dist-cjs/waiters/waitForGroupInService.js +0 -9
  86. package/dist-cjs/waiters/waitForGroupNotExists.js +0 -9
  87. package/dist-es/commands/index.js +61 -0
  88. package/dist-es/endpoints.js +6 -1
  89. package/dist-es/index.js +5 -75
  90. package/dist-es/models/models_0.js +97 -4
  91. package/dist-es/pagination/index.js +9 -0
  92. package/dist-es/protocols/Aws_query.js +922 -207
  93. package/dist-es/waiters/index.js +3 -0
  94. package/dist-types/AutoScaling.d.ts +8 -2
  95. package/dist-types/AutoScalingClient.d.ts +2 -0
  96. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
  97. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +5 -1
  98. package/dist-types/commands/index.d.ts +61 -0
  99. package/dist-types/index.d.ts +5 -75
  100. package/dist-types/models/models_0.d.ts +672 -125
  101. package/dist-types/pagination/index.d.ts +9 -0
  102. package/dist-types/ts3.4/AutoScaling.d.ts +62 -693
  103. package/dist-types/ts3.4/AutoScalingClient.d.ts +24 -102
  104. package/dist-types/ts3.4/commands/AttachInstancesCommand.d.ts +2 -29
  105. package/dist-types/ts3.4/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +2 -38
  106. package/dist-types/ts3.4/commands/AttachLoadBalancersCommand.d.ts +2 -30
  107. package/dist-types/ts3.4/commands/BatchDeleteScheduledActionCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/CancelInstanceRefreshCommand.d.ts +2 -25
  110. package/dist-types/ts3.4/commands/CompleteLifecycleActionCommand.d.ts +2 -51
  111. package/dist-types/ts3.4/commands/CreateAutoScalingGroupCommand.d.ts +2 -38
  112. package/dist-types/ts3.4/commands/CreateLaunchConfigurationCommand.d.ts +2 -26
  113. package/dist-types/ts3.4/commands/CreateOrUpdateTagsCommand.d.ts +2 -24
  114. package/dist-types/ts3.4/commands/DeleteAutoScalingGroupCommand.d.ts +2 -29
  115. package/dist-types/ts3.4/commands/DeleteLaunchConfigurationCommand.d.ts +2 -22
  116. package/dist-types/ts3.4/commands/DeleteLifecycleHookCommand.d.ts +2 -23
  117. package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -25
  119. package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/DeleteWarmPoolCommand.d.ts +2 -22
  122. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -24
  123. package/dist-types/ts3.4/commands/DescribeAdjustmentTypesCommand.d.ts +2 -39
  124. package/dist-types/ts3.4/commands/DescribeAutoScalingGroupsCommand.d.ts +2 -22
  125. package/dist-types/ts3.4/commands/DescribeAutoScalingInstancesCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/DescribeInstanceRefreshesCommand.d.ts +2 -58
  128. package/dist-types/ts3.4/commands/DescribeLaunchConfigurationsCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/DescribeLifecycleHookTypesCommand.d.ts +2 -33
  130. package/dist-types/ts3.4/commands/DescribeLifecycleHooksCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +2 -39
  132. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -41
  133. package/dist-types/ts3.4/commands/DescribeMetricCollectionTypesCommand.d.ts +2 -22
  134. package/dist-types/ts3.4/commands/DescribeNotificationConfigurationsCommand.d.ts +2 -21
  135. package/dist-types/ts3.4/commands/DescribePoliciesCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +2 -28
  137. package/dist-types/ts3.4/commands/DescribeScalingProcessTypesCommand.d.ts +2 -21
  138. package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +2 -23
  139. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -28
  140. package/dist-types/ts3.4/commands/DescribeTerminationPolicyTypesCommand.d.ts +2 -23
  141. package/dist-types/ts3.4/commands/DescribeWarmPoolCommand.d.ts +2 -22
  142. package/dist-types/ts3.4/commands/DetachInstancesCommand.d.ts +2 -29
  143. package/dist-types/ts3.4/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/DetachLoadBalancersCommand.d.ts +2 -25
  145. package/dist-types/ts3.4/commands/DisableMetricsCollectionCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/EnableMetricsCollectionCommand.d.ts +2 -21
  147. package/dist-types/ts3.4/commands/EnterStandbyCommand.d.ts +2 -29
  148. package/dist-types/ts3.4/commands/ExecutePolicyCommand.d.ts +2 -21
  149. package/dist-types/ts3.4/commands/ExitStandbyCommand.d.ts +2 -25
  150. package/dist-types/ts3.4/commands/GetPredictiveScalingForecastCommand.d.ts +2 -28
  151. package/dist-types/ts3.4/commands/PutLifecycleHookCommand.d.ts +2 -57
  152. package/dist-types/ts3.4/commands/PutNotificationConfigurationCommand.d.ts +2 -28
  153. package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +2 -29
  154. package/dist-types/ts3.4/commands/PutScheduledUpdateGroupActionCommand.d.ts +2 -24
  155. package/dist-types/ts3.4/commands/PutWarmPoolCommand.d.ts +2 -29
  156. package/dist-types/ts3.4/commands/RecordLifecycleActionHeartbeatCommand.d.ts +2 -52
  157. package/dist-types/ts3.4/commands/ResumeProcessesCommand.d.ts +2 -23
  158. package/dist-types/ts3.4/commands/SetDesiredCapacityCommand.d.ts +2 -25
  159. package/dist-types/ts3.4/commands/SetInstanceHealthCommand.d.ts +2 -22
  160. package/dist-types/ts3.4/commands/SetInstanceProtectionCommand.d.ts +2 -26
  161. package/dist-types/ts3.4/commands/StartInstanceRefreshCommand.d.ts +2 -34
  162. package/dist-types/ts3.4/commands/SuspendProcessesCommand.d.ts +2 -26
  163. package/dist-types/ts3.4/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +2 -31
  164. package/dist-types/ts3.4/commands/UpdateAutoScalingGroupCommand.d.ts +2 -64
  165. package/dist-types/ts3.4/commands/index.d.ts +61 -0
  166. package/dist-types/ts3.4/index.d.ts +5 -75
  167. package/dist-types/ts3.4/models/models_0.d.ts +960 -4205
  168. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  169. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  170. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  171. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  172. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  173. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  174. package/dist-types/ts3.4/waiters/waitForGroupExists.d.ts +2 -9
  175. package/dist-types/ts3.4/waiters/waitForGroupInService.d.ts +2 -9
  176. package/dist-types/ts3.4/waiters/waitForGroupNotExists.d.ts +2 -9
  177. package/dist-types/waiters/index.d.ts +3 -0
  178. package/package.json +33 -33
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deletes the specified launch configuration.</p>
10
- * <p>The launch configuration must not be attached to an Auto Scaling group. When this call
11
- * completes, the launch configuration is no longer available for use.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { AutoScalingClient, DeleteLaunchConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
16
- * // const { AutoScalingClient, DeleteLaunchConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
17
- * const client = new AutoScalingClient(config);
18
- * const command = new DeleteLaunchConfigurationCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteLaunchConfigurationCommandInput} for command's `input` shape.
23
- * @see {@link DeleteLaunchConfigurationCommandOutput} for command's `response` shape.
24
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteLaunchConfigurationCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deletes the specified lifecycle hook.</p>
10
- * <p>If there are any outstanding lifecycle actions, they are completed first
11
- * (<code>ABANDON</code> for launching instances, <code>CONTINUE</code> for terminating
12
- * instances).</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { AutoScalingClient, DeleteLifecycleHookCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
17
- * // const { AutoScalingClient, DeleteLifecycleHookCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
18
- * const client = new AutoScalingClient(config);
19
- * const command = new DeleteLifecycleHookCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DeleteLifecycleHookCommandInput} for command's `input` shape.
24
- * @see {@link DeleteLifecycleHookCommandOutput} for command's `response` shape.
25
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DeleteLifecycleHookCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deletes the specified notification.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AutoScalingClient, DeleteNotificationConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
14
- * // const { AutoScalingClient, DeleteNotificationConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
15
- * const client = new AutoScalingClient(config);
16
- * const command = new DeleteNotificationConfigurationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteNotificationConfigurationCommandInput} for command's `input` shape.
21
- * @see {@link DeleteNotificationConfigurationCommandOutput} for command's `response` shape.
22
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteNotificationConfigurationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deletes the specified scaling policy.</p>
10
- * <p>Deleting either a step scaling policy or a simple scaling policy deletes the
11
- * underlying alarm action, but does not delete the alarm, even if it no longer has an
12
- * associated action.</p>
13
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html">Deleting a scaling
14
- * policy</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { AutoScalingClient, DeletePolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
19
- * // const { AutoScalingClient, DeletePolicyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
20
- * const client = new AutoScalingClient(config);
21
- * const command = new DeletePolicyCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DeletePolicyCommandInput} for command's `input` shape.
26
- * @see {@link DeletePolicyCommandOutput} for command's `response` shape.
27
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class DeletePolicyCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deletes the specified scheduled action.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AutoScalingClient, DeleteScheduledActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
14
- * // const { AutoScalingClient, DeleteScheduledActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
15
- * const client = new AutoScalingClient(config);
16
- * const command = new DeleteScheduledActionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteScheduledActionCommandInput} for command's `input` shape.
21
- * @see {@link DeleteScheduledActionCommandOutput} for command's `response` shape.
22
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteScheduledActionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deletes the specified tags.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AutoScalingClient, DeleteTagsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
14
- * // const { AutoScalingClient, DeleteTagsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
15
- * const client = new AutoScalingClient(config);
16
- * const command = new DeleteTagsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteTagsCommandInput} for command's `input` shape.
21
- * @see {@link DeleteTagsCommandOutput} for command's `response` shape.
22
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteTagsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deletes the warm pool for the specified Auto Scaling group.</p>
10
- * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
11
- * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { AutoScalingClient, DeleteWarmPoolCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
16
- * // const { AutoScalingClient, DeleteWarmPoolCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
17
- * const client = new AutoScalingClient(config);
18
- * const command = new DeleteWarmPoolCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteWarmPoolCommandInput} for command's `input` shape.
23
- * @see {@link DeleteWarmPoolCommandOutput} for command's `response` shape.
24
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteWarmPoolCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the current Amazon EC2 Auto Scaling resource quotas for your account.</p>
10
- * <p>When you establish an account, the account has initial quotas on the maximum
11
- * number of Auto Scaling groups and launch configurations that you can create in a given Region.
12
- * For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html">Amazon EC2 Auto Scaling service
13
- * quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { AutoScalingClient, DescribeAccountLimitsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
18
- * // const { AutoScalingClient, DescribeAccountLimitsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
19
- * const client = new AutoScalingClient(config);
20
- * const command = new DescribeAccountLimitsCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DescribeAccountLimitsCommandInput} for command's `input` shape.
25
- * @see {@link DescribeAccountLimitsCommandOutput} for command's `response` shape.
26
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class DescribeAccountLimitsCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,54 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the available adjustment types for step scaling and simple scaling
10
- * policies.</p>
11
- * <p>The following adjustment types are supported:</p>
12
- * <ul>
13
- * <li>
14
- * <p>
15
- * <code>ChangeInCapacity</code>
16
- * </p>
17
- * </li>
18
- * <li>
19
- * <p>
20
- * <code>ExactCapacity</code>
21
- * </p>
22
- * </li>
23
- * <li>
24
- * <p>
25
- * <code>PercentChangeInCapacity</code>
26
- * </p>
27
- * </li>
28
- * </ul>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { AutoScalingClient, DescribeAdjustmentTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
33
- * // const { AutoScalingClient, DescribeAdjustmentTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
34
- * const client = new AutoScalingClient(config);
35
- * const command = new DescribeAdjustmentTypesCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DescribeAdjustmentTypesCommandInput} for command's `input` shape.
40
- * @see {@link DescribeAdjustmentTypesCommandOutput} for command's `response` shape.
41
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
8
  class DescribeAdjustmentTypesCommand extends smithy_client_1.Command {
45
- // Start section: command_properties
46
- // End section: command_properties
47
9
  constructor(input) {
48
- // Start section: command_constructor
49
10
  super();
50
11
  this.input = input;
51
- // End section: command_constructor
52
12
  }
53
- /**
54
- * @internal
55
- */
56
13
  resolveMiddleware(clientStack, configuration, options) {
57
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
58
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Gets information about the Auto Scaling groups in the account and Region.</p>
10
- * <p>This operation returns information about instances in Auto Scaling groups. To retrieve
11
- * information about the instances in a warm pool, you must call the <a>DescribeWarmPool</a> API. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { AutoScalingClient, DescribeAutoScalingGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
16
- * // const { AutoScalingClient, DescribeAutoScalingGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
17
- * const client = new AutoScalingClient(config);
18
- * const command = new DescribeAutoScalingGroupsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeAutoScalingGroupsCommandInput} for command's `input` shape.
23
- * @see {@link DescribeAutoScalingGroupsCommandOutput} for command's `response` shape.
24
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeAutoScalingGroupsCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Gets information about the Auto Scaling instances in the account and Region.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AutoScalingClient, DescribeAutoScalingInstancesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
14
- * // const { AutoScalingClient, DescribeAutoScalingInstancesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
15
- * const client = new AutoScalingClient(config);
16
- * const command = new DescribeAutoScalingInstancesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeAutoScalingInstancesCommandInput} for command's `input` shape.
21
- * @see {@link DescribeAutoScalingInstancesCommandOutput} for command's `response` shape.
22
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeAutoScalingInstancesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the notification types that are supported by Amazon EC2 Auto Scaling.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AutoScalingClient, DescribeAutoScalingNotificationTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
14
- * // const { AutoScalingClient, DescribeAutoScalingNotificationTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
15
- * const client = new AutoScalingClient(config);
16
- * const command = new DescribeAutoScalingNotificationTypesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeAutoScalingNotificationTypesCommandInput} for command's `input` shape.
21
- * @see {@link DescribeAutoScalingNotificationTypesCommandOutput} for command's `response` shape.
22
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeAutoScalingNotificationTypesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,73 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Gets information about the instance refreshes for the specified Auto Scaling group.</p>
10
- * <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
11
- * feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group
12
- * after you make configuration changes.</p>
13
- * <p>To help you determine the status of an instance refresh, this operation returns
14
- * information about the instance refreshes you previously initiated, including their
15
- * status, end time, the percentage of the instance refresh that is complete, and the
16
- * number of instances remaining to update before the instance refresh is complete.</p>
17
- * <p>The following are the possible statuses: </p>
18
- * <ul>
19
- * <li>
20
- * <p>
21
- * <code>Pending</code> - The request was created, but the operation has not
22
- * started.</p>
23
- * </li>
24
- * <li>
25
- * <p>
26
- * <code>InProgress</code> - The operation is in progress.</p>
27
- * </li>
28
- * <li>
29
- * <p>
30
- * <code>Successful</code> - The operation completed successfully.</p>
31
- * </li>
32
- * <li>
33
- * <p>
34
- * <code>Failed</code> - The operation failed to complete. You can troubleshoot
35
- * using the status reason and the scaling activities. </p>
36
- * </li>
37
- * <li>
38
- * <p>
39
- * <code>Cancelling</code> - An ongoing operation is being cancelled.
40
- * Cancellation does not roll back any replacements that have already been
41
- * completed, but it prevents new replacements from being started. </p>
42
- * </li>
43
- * <li>
44
- * <p>
45
- * <code>Cancelled</code> - The operation is cancelled. </p>
46
- * </li>
47
- * </ul>
48
- * @example
49
- * Use a bare-bones client and the command you need to make an API call.
50
- * ```javascript
51
- * import { AutoScalingClient, DescribeInstanceRefreshesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
52
- * // const { AutoScalingClient, DescribeInstanceRefreshesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
53
- * const client = new AutoScalingClient(config);
54
- * const command = new DescribeInstanceRefreshesCommand(input);
55
- * const response = await client.send(command);
56
- * ```
57
- *
58
- * @see {@link DescribeInstanceRefreshesCommandInput} for command's `input` shape.
59
- * @see {@link DescribeInstanceRefreshesCommandOutput} for command's `response` shape.
60
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
61
- *
62
- */
63
8
  class DescribeInstanceRefreshesCommand extends smithy_client_1.Command {
64
- // Start section: command_properties
65
- // End section: command_properties
66
9
  constructor(input) {
67
- // Start section: command_constructor
68
10
  super();
69
11
  this.input = input;
70
- // End section: command_constructor
71
12
  }
72
- /**
73
- * @internal
74
- */
75
13
  resolveMiddleware(clientStack, configuration, options) {
76
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
77
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Gets information about the launch configurations in the account and Region.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { AutoScalingClient, DescribeLaunchConfigurationsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
14
- * // const { AutoScalingClient, DescribeLaunchConfigurationsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
15
- * const client = new AutoScalingClient(config);
16
- * const command = new DescribeLaunchConfigurationsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeLaunchConfigurationsCommandInput} for command's `input` shape.
21
- * @see {@link DescribeLaunchConfigurationsCommandOutput} for command's `response` shape.
22
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeLaunchConfigurationsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the available types of lifecycle hooks.</p>
10
- * <p>The following hook types are supported:</p>
11
- * <ul>
12
- * <li>
13
- * <p>
14
- * <code>autoscaling:EC2_INSTANCE_LAUNCHING</code>
15
- * </p>
16
- * </li>
17
- * <li>
18
- * <p>
19
- * <code>autoscaling:EC2_INSTANCE_TERMINATING</code>
20
- * </p>
21
- * </li>
22
- * </ul>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { AutoScalingClient, DescribeLifecycleHookTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
27
- * // const { AutoScalingClient, DescribeLifecycleHookTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
28
- * const client = new AutoScalingClient(config);
29
- * const command = new DescribeLifecycleHookTypesCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link DescribeLifecycleHookTypesCommandInput} for command's `input` shape.
34
- * @see {@link DescribeLifecycleHookTypesCommandOutput} for command's `response` shape.
35
- * @see {@link AutoScalingClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
8
  class DescribeLifecycleHookTypesCommand extends smithy_client_1.Command {
39
- // Start section: command_properties
40
- // End section: command_properties
41
9
  constructor(input) {
42
- // Start section: command_constructor
43
10
  super();
44
11
  this.input = input;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  resolveMiddleware(clientStack, configuration, options) {
51
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  const stack = clientStack.concat(this.middlewareStack);