@aws-sdk/client-auto-scaling 3.775.0 → 3.782.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 (66) hide show
  1. package/dist-types/commands/AttachInstancesCommand.d.ts +8 -5
  2. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +8 -5
  3. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +8 -5
  4. package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +9 -6
  5. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +1 -0
  6. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +1 -0
  7. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +5 -5
  8. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +10 -7
  9. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +88 -79
  10. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +11 -8
  11. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +17 -14
  12. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +13 -8
  13. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +7 -4
  14. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +8 -5
  15. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +8 -5
  16. package/dist-types/commands/DeletePolicyCommand.d.ts +8 -5
  17. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +8 -5
  18. package/dist-types/commands/DeleteTagsCommand.d.ts +11 -8
  19. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -0
  20. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +8 -8
  21. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +8 -8
  22. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +41 -41
  23. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +13 -13
  24. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +5 -5
  25. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +1 -63
  26. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +16 -16
  27. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +5 -5
  28. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +13 -13
  29. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +7 -7
  30. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +7 -7
  31. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +15 -15
  32. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +11 -11
  33. package/dist-types/commands/DescribePoliciesCommand.d.ts +19 -19
  34. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +15 -15
  35. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +13 -13
  36. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +14 -14
  37. package/dist-types/commands/DescribeTagsCommand.d.ts +17 -17
  38. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +5 -5
  39. package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +9 -9
  40. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -0
  41. package/dist-types/commands/DetachInstancesCommand.d.ts +15 -15
  42. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +8 -5
  43. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +8 -5
  44. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +9 -6
  45. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +8 -5
  46. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +8 -5
  47. package/dist-types/commands/EnterStandbyCommand.d.ts +15 -15
  48. package/dist-types/commands/ExecutePolicyCommand.d.ts +10 -7
  49. package/dist-types/commands/ExitStandbyCommand.d.ts +14 -14
  50. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -0
  51. package/dist-types/commands/PutLifecycleHookCommand.d.ts +11 -8
  52. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +9 -6
  53. package/dist-types/commands/PutScalingPolicyCommand.d.ts +17 -17
  54. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +13 -10
  55. package/dist-types/commands/PutWarmPoolCommand.d.ts +11 -8
  56. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +9 -6
  57. package/dist-types/commands/ResumeProcessesCommand.d.ts +8 -5
  58. package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +1 -0
  59. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +9 -6
  60. package/dist-types/commands/SetInstanceHealthCommand.d.ts +8 -5
  61. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +16 -11
  62. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +16 -16
  63. package/dist-types/commands/SuspendProcessesCommand.d.ts +8 -5
  64. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +8 -5
  65. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +13 -10
  66. package/package.json +5 -5
@@ -219,40 +219,40 @@ declare const StartInstanceRefreshCommand_base: {
219
219
  * @throws {@link AutoScalingServiceException}
220
220
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
221
221
  *
222
- * @public
222
+ *
223
223
  * @example To start an instance refresh
224
224
  * ```javascript
225
225
  * // This example starts an instance refresh for the specified Auto Scaling group.
226
226
  * const input = {
227
- * "AutoScalingGroupName": "my-auto-scaling-group",
228
- * "DesiredConfiguration": {
229
- * "LaunchTemplate": {
230
- * "LaunchTemplateName": "my-template-for-auto-scaling",
231
- * "Version": "$Latest"
227
+ * AutoScalingGroupName: "my-auto-scaling-group",
228
+ * DesiredConfiguration: {
229
+ * LaunchTemplate: {
230
+ * LaunchTemplateName: "my-template-for-auto-scaling",
231
+ * Version: "$Latest"
232
232
  * }
233
233
  * },
234
- * "Preferences": {
235
- * "AlarmSpecification": {
236
- * "Alarms": [
234
+ * Preferences: {
235
+ * AlarmSpecification: {
236
+ * Alarms: [
237
237
  * "my-alarm"
238
238
  * ]
239
239
  * },
240
- * "AutoRollback": true,
241
- * "InstanceWarmup": 200,
242
- * "MaxHealthyPercentage": 120,
243
- * "MinHealthyPercentage": 90
240
+ * AutoRollback: true,
241
+ * InstanceWarmup: 200,
242
+ * MaxHealthyPercentage: 120,
243
+ * MinHealthyPercentage: 90
244
244
  * }
245
245
  * };
246
246
  * const command = new StartInstanceRefreshCommand(input);
247
247
  * const response = await client.send(command);
248
- * /* response ==
248
+ * /* response is
249
249
  * {
250
- * "InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b"
250
+ * InstanceRefreshId: "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b"
251
251
  * }
252
252
  * *\/
253
- * // example id: to-start-an-instance-refresh-1592957271522
254
253
  * ```
255
254
  *
255
+ * @public
256
256
  */
257
257
  export declare class StartInstanceRefreshCommand extends StartInstanceRefreshCommand_base {
258
258
  /** @internal type navigation helper, not in runtime. */
@@ -68,21 +68,24 @@ declare const SuspendProcessesCommand_base: {
68
68
  * @throws {@link AutoScalingServiceException}
69
69
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
70
70
  *
71
- * @public
71
+ *
72
72
  * @example To suspend Auto Scaling processes
73
73
  * ```javascript
74
74
  * // This example suspends the specified scaling process for the specified Auto Scaling group.
75
75
  * const input = {
76
- * "AutoScalingGroupName": "my-auto-scaling-group",
77
- * "ScalingProcesses": [
76
+ * AutoScalingGroupName: "my-auto-scaling-group",
77
+ * ScalingProcesses: [
78
78
  * "AlarmNotification"
79
79
  * ]
80
80
  * };
81
81
  * const command = new SuspendProcessesCommand(input);
82
- * await client.send(command);
83
- * // example id: autoscaling-suspend-processes-1
82
+ * const response = await client.send(command);
83
+ * /* response is
84
+ * { /* metadata only *\/ }
85
+ * *\/
84
86
  * ```
85
87
  *
88
+ * @public
86
89
  */
87
90
  export declare class SuspendProcessesCommand extends SuspendProcessesCommand_base {
88
91
  /** @internal type navigation helper, not in runtime. */
@@ -88,19 +88,22 @@ declare const TerminateInstanceInAutoScalingGroupCommand_base: {
88
88
  * @throws {@link AutoScalingServiceException}
89
89
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
90
90
  *
91
- * @public
91
+ *
92
92
  * @example To terminate an instance in an Auto Scaling group
93
93
  * ```javascript
94
94
  * // This example terminates the specified instance from the specified Auto Scaling group without updating the size of the group. Auto Scaling launches a replacement instance after the specified instance terminates.
95
95
  * const input = {
96
- * "InstanceId": "i-93633f9b",
97
- * "ShouldDecrementDesiredCapacity": false
96
+ * InstanceId: "i-93633f9b",
97
+ * ShouldDecrementDesiredCapacity: false
98
98
  * };
99
99
  * const command = new TerminateInstanceInAutoScalingGroupCommand(input);
100
- * await client.send(command);
101
- * // example id: autoscaling-terminate-instance-in-auto-scaling-group-1
100
+ * const response = await client.send(command);
101
+ * /* response is
102
+ * { /* metadata only *\/ }
103
+ * *\/
102
104
  * ```
103
105
  *
106
+ * @public
104
107
  */
105
108
  export declare class TerminateInstanceInAutoScalingGroupCommand extends TerminateInstanceInAutoScalingGroupCommand_base {
106
109
  /** @internal type navigation helper, not in runtime. */
@@ -258,25 +258,28 @@ declare const UpdateAutoScalingGroupCommand_base: {
258
258
  * @throws {@link AutoScalingServiceException}
259
259
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
260
260
  *
261
- * @public
261
+ *
262
262
  * @example To update an Auto Scaling group
263
263
  * ```javascript
264
264
  * // This example updates multiple properties at the same time.
265
265
  * const input = {
266
- * "AutoScalingGroupName": "my-auto-scaling-group",
267
- * "LaunchTemplate": {
268
- * "LaunchTemplateName": "my-template-for-auto-scaling",
269
- * "Version": "2"
266
+ * AutoScalingGroupName: "my-auto-scaling-group",
267
+ * LaunchTemplate: {
268
+ * LaunchTemplateName: "my-template-for-auto-scaling",
269
+ * Version: "2"
270
270
  * },
271
- * "MaxSize": 5,
272
- * "MinSize": 1,
273
- * "NewInstancesProtectedFromScaleIn": true
271
+ * MaxSize: 5,
272
+ * MinSize: 1,
273
+ * NewInstancesProtectedFromScaleIn: true
274
274
  * };
275
275
  * const command = new UpdateAutoScalingGroupCommand(input);
276
- * await client.send(command);
277
- * // example id: autoscaling-update-auto-scaling-group-1
276
+ * const response = await client.send(command);
277
+ * /* response is
278
+ * { /* metadata only *\/ }
279
+ * *\/
278
280
  * ```
279
281
  *
282
+ * @public
280
283
  */
281
284
  export declare class UpdateAutoScalingGroupCommand extends UpdateAutoScalingGroupCommand_base {
282
285
  /** @internal type navigation helper, not in runtime. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
4
- "version": "3.775.0",
4
+ "version": "3.782.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-auto-scaling",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.782.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.782.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.782.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.782.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",