@aws-sdk/client-auto-scaling 3.296.0 → 3.297.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 (81) hide show
  1. package/dist-cjs/protocols/Aws_query.js +112 -610
  2. package/dist-es/protocols/Aws_query.js +112 -610
  3. package/dist-types/AutoScaling.d.ts +66 -0
  4. package/dist-types/AutoScalingClient.d.ts +24 -4
  5. package/dist-types/commands/AttachInstancesCommand.d.ts +16 -0
  6. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +16 -0
  7. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +16 -0
  8. package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +16 -0
  9. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +16 -0
  10. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +16 -0
  11. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +16 -0
  12. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +16 -0
  13. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +16 -0
  14. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +16 -0
  15. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +16 -0
  16. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +16 -0
  17. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +16 -0
  18. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +16 -0
  19. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +16 -0
  20. package/dist-types/commands/DeletePolicyCommand.d.ts +16 -0
  21. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +16 -0
  22. package/dist-types/commands/DeleteTagsCommand.d.ts +16 -0
  23. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +16 -0
  24. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +16 -0
  25. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +16 -0
  26. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +16 -0
  27. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +16 -0
  28. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +16 -0
  29. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +16 -0
  30. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +16 -0
  31. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +16 -0
  32. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +16 -0
  33. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +16 -0
  34. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +16 -0
  35. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +16 -0
  36. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +16 -0
  37. package/dist-types/commands/DescribePoliciesCommand.d.ts +16 -0
  38. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +16 -0
  39. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +16 -0
  40. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +16 -0
  41. package/dist-types/commands/DescribeTagsCommand.d.ts +16 -0
  42. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +16 -0
  43. package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +16 -0
  44. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +16 -0
  45. package/dist-types/commands/DetachInstancesCommand.d.ts +16 -0
  46. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +16 -0
  47. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +16 -0
  48. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +16 -0
  49. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +16 -0
  50. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +16 -0
  51. package/dist-types/commands/EnterStandbyCommand.d.ts +16 -0
  52. package/dist-types/commands/ExecutePolicyCommand.d.ts +16 -0
  53. package/dist-types/commands/ExitStandbyCommand.d.ts +16 -0
  54. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +16 -0
  55. package/dist-types/commands/PutLifecycleHookCommand.d.ts +16 -0
  56. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +16 -0
  57. package/dist-types/commands/PutScalingPolicyCommand.d.ts +16 -0
  58. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +16 -0
  59. package/dist-types/commands/PutWarmPoolCommand.d.ts +16 -0
  60. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +16 -0
  61. package/dist-types/commands/ResumeProcessesCommand.d.ts +16 -0
  62. package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +16 -0
  63. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +16 -0
  64. package/dist-types/commands/SetInstanceHealthCommand.d.ts +16 -0
  65. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +16 -0
  66. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +16 -0
  67. package/dist-types/commands/SuspendProcessesCommand.d.ts +16 -0
  68. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +16 -0
  69. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +16 -0
  70. package/dist-types/models/AutoScalingServiceException.d.ts +2 -0
  71. package/dist-types/models/models_0.d.ts +466 -0
  72. package/dist-types/pagination/DescribeAutoScalingGroupsPaginator.d.ts +3 -0
  73. package/dist-types/pagination/DescribeAutoScalingInstancesPaginator.d.ts +3 -0
  74. package/dist-types/pagination/DescribeLaunchConfigurationsPaginator.d.ts +3 -0
  75. package/dist-types/pagination/DescribeNotificationConfigurationsPaginator.d.ts +3 -0
  76. package/dist-types/pagination/DescribePoliciesPaginator.d.ts +3 -0
  77. package/dist-types/pagination/DescribeScalingActivitiesPaginator.d.ts +3 -0
  78. package/dist-types/pagination/DescribeScheduledActionsPaginator.d.ts +3 -0
  79. package/dist-types/pagination/DescribeTagsPaginator.d.ts +3 -0
  80. package/dist-types/pagination/Interfaces.d.ts +3 -0
  81. package/package.json +3 -3
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
5
5
  import { StartInstanceRefreshAnswer, StartInstanceRefreshType } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link StartInstanceRefreshCommand}.
8
10
  */
9
11
  export interface StartInstanceRefreshCommandInput extends StartInstanceRefreshType {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link StartInstanceRefreshCommand}.
13
17
  */
14
18
  export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshAnswer, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Starts an instance refresh. During an instance refresh, Amazon EC2 Auto Scaling performs a rolling
18
23
  * update of instances in an Auto Scaling group. Instances are terminated first and then replaced,
19
24
  * which temporarily reduces the capacity available within your Auto Scaling group.</p>
@@ -48,6 +53,8 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
48
53
  * const response = await client.send(command);
49
54
  * ```
50
55
  *
56
+ * @param StartInstanceRefreshCommandInput - {@link StartInstanceRefreshCommandInput}
57
+ * @returns {@link StartInstanceRefreshCommandOutput}
51
58
  * @see {@link StartInstanceRefreshCommandInput} for command's `input` shape.
52
59
  * @see {@link StartInstanceRefreshCommandOutput} for command's `response` shape.
53
60
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
@@ -98,11 +105,20 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
98
105
  export declare class StartInstanceRefreshCommand extends $Command<StartInstanceRefreshCommandInput, StartInstanceRefreshCommandOutput, AutoScalingClientResolvedConfig> {
99
106
  readonly input: StartInstanceRefreshCommandInput;
100
107
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
108
+ /**
109
+ * @public
110
+ */
101
111
  constructor(input: StartInstanceRefreshCommandInput);
102
112
  /**
103
113
  * @internal
104
114
  */
105
115
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartInstanceRefreshCommandInput, StartInstanceRefreshCommandOutput>;
116
+ /**
117
+ * @internal
118
+ */
106
119
  private serialize;
120
+ /**
121
+ * @internal
122
+ */
107
123
  private deserialize;
108
124
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
5
5
  import { ScalingProcessQuery } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link SuspendProcessesCommand}.
8
10
  */
9
11
  export interface SuspendProcessesCommandInput extends ScalingProcessQuery {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link SuspendProcessesCommand}.
13
17
  */
14
18
  export interface SuspendProcessesCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Suspends the specified auto scaling processes, or all processes, for the specified
18
23
  * Auto Scaling group.</p>
19
24
  * <p>If you suspend either the <code>Launch</code> or <code>Terminate</code> process types,
@@ -31,6 +36,8 @@ export interface SuspendProcessesCommandOutput extends __MetadataBearer {
31
36
  * const response = await client.send(command);
32
37
  * ```
33
38
  *
39
+ * @param SuspendProcessesCommandInput - {@link SuspendProcessesCommandInput}
40
+ * @returns {@link SuspendProcessesCommandOutput}
34
41
  * @see {@link SuspendProcessesCommandInput} for command's `input` shape.
35
42
  * @see {@link SuspendProcessesCommandOutput} for command's `response` shape.
36
43
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
@@ -61,11 +68,20 @@ export interface SuspendProcessesCommandOutput extends __MetadataBearer {
61
68
  export declare class SuspendProcessesCommand extends $Command<SuspendProcessesCommandInput, SuspendProcessesCommandOutput, AutoScalingClientResolvedConfig> {
62
69
  readonly input: SuspendProcessesCommandInput;
63
70
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
+ /**
72
+ * @public
73
+ */
64
74
  constructor(input: SuspendProcessesCommandInput);
65
75
  /**
66
76
  * @internal
67
77
  */
68
78
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SuspendProcessesCommandInput, SuspendProcessesCommandOutput>;
79
+ /**
80
+ * @internal
81
+ */
69
82
  private serialize;
83
+ /**
84
+ * @internal
85
+ */
70
86
  private deserialize;
71
87
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
5
5
  import { ActivityType, TerminateInstanceInAutoScalingGroupType } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link TerminateInstanceInAutoScalingGroupCommand}.
8
10
  */
9
11
  export interface TerminateInstanceInAutoScalingGroupCommandInput extends TerminateInstanceInAutoScalingGroupType {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link TerminateInstanceInAutoScalingGroupCommand}.
13
17
  */
14
18
  export interface TerminateInstanceInAutoScalingGroupCommandOutput extends ActivityType, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Terminates the specified instance and optionally adjusts the desired group size. This
18
23
  * operation cannot be called on instances in a warm pool.</p>
19
24
  * <p>This call simply makes a termination request. The instance is not terminated
@@ -36,6 +41,8 @@ export interface TerminateInstanceInAutoScalingGroupCommandOutput extends Activi
36
41
  * const response = await client.send(command);
37
42
  * ```
38
43
  *
44
+ * @param TerminateInstanceInAutoScalingGroupCommandInput - {@link TerminateInstanceInAutoScalingGroupCommandInput}
45
+ * @returns {@link TerminateInstanceInAutoScalingGroupCommandOutput}
39
46
  * @see {@link TerminateInstanceInAutoScalingGroupCommandInput} for command's `input` shape.
40
47
  * @see {@link TerminateInstanceInAutoScalingGroupCommandOutput} for command's `response` shape.
41
48
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
@@ -65,11 +72,20 @@ export interface TerminateInstanceInAutoScalingGroupCommandOutput extends Activi
65
72
  export declare class TerminateInstanceInAutoScalingGroupCommand extends $Command<TerminateInstanceInAutoScalingGroupCommandInput, TerminateInstanceInAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig> {
66
73
  readonly input: TerminateInstanceInAutoScalingGroupCommandInput;
67
74
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
75
+ /**
76
+ * @public
77
+ */
68
78
  constructor(input: TerminateInstanceInAutoScalingGroupCommandInput);
69
79
  /**
70
80
  * @internal
71
81
  */
72
82
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TerminateInstanceInAutoScalingGroupCommandInput, TerminateInstanceInAutoScalingGroupCommandOutput>;
83
+ /**
84
+ * @internal
85
+ */
73
86
  private serialize;
87
+ /**
88
+ * @internal
89
+ */
74
90
  private deserialize;
75
91
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { AutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AutoScalingClient";
5
5
  import { UpdateAutoScalingGroupType } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateAutoScalingGroupCommand}.
8
10
  */
9
11
  export interface UpdateAutoScalingGroupCommandInput extends UpdateAutoScalingGroupType {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateAutoScalingGroupCommand}.
13
17
  */
14
18
  export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>
18
23
  * <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>
19
24
  * </p>
@@ -68,6 +73,8 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
68
73
  * const response = await client.send(command);
69
74
  * ```
70
75
  *
76
+ * @param UpdateAutoScalingGroupCommandInput - {@link UpdateAutoScalingGroupCommandInput}
77
+ * @returns {@link UpdateAutoScalingGroupCommandOutput}
71
78
  * @see {@link UpdateAutoScalingGroupCommandInput} for command's `input` shape.
72
79
  * @see {@link UpdateAutoScalingGroupCommandOutput} for command's `response` shape.
73
80
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
@@ -106,11 +113,20 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
106
113
  export declare class UpdateAutoScalingGroupCommand extends $Command<UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig> {
107
114
  readonly input: UpdateAutoScalingGroupCommandInput;
108
115
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
116
+ /**
117
+ * @public
118
+ */
109
119
  constructor(input: UpdateAutoScalingGroupCommandInput);
110
120
  /**
111
121
  * @internal
112
122
  */
113
123
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAutoScalingGroupCommandInput, UpdateAutoScalingGroupCommandOutput>;
124
+ /**
125
+ * @internal
126
+ */
114
127
  private serialize;
128
+ /**
129
+ * @internal
130
+ */
115
131
  private deserialize;
116
132
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from AutoScaling service.
4
6
  */
5
7
  export declare class AutoScalingServiceException extends __ServiceException {