@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
@@ -71,21 +71,24 @@ declare const AttachInstancesCommand_base: {
71
71
  * @throws {@link AutoScalingServiceException}
72
72
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
73
73
  *
74
- * @public
74
+ *
75
75
  * @example To attach an instance to an Auto Scaling group
76
76
  * ```javascript
77
77
  * // This example attaches the specified instance to the specified Auto Scaling group.
78
78
  * const input = {
79
- * "AutoScalingGroupName": "my-auto-scaling-group",
80
- * "InstanceIds": [
79
+ * AutoScalingGroupName: "my-auto-scaling-group",
80
+ * InstanceIds: [
81
81
  * "i-93633f9b"
82
82
  * ]
83
83
  * };
84
84
  * const command = new AttachInstancesCommand(input);
85
- * await client.send(command);
86
- * // example id: autoscaling-attach-instances-1
85
+ * const response = await client.send(command);
86
+ * /* response is
87
+ * { /* metadata only *\/ }
88
+ * *\/
87
89
  * ```
88
90
  *
91
+ * @public
89
92
  */
90
93
  export declare class AttachInstancesCommand extends AttachInstancesCommand_base {
91
94
  /** @internal type navigation helper, not in runtime. */
@@ -92,21 +92,24 @@ declare const AttachLoadBalancerTargetGroupsCommand_base: {
92
92
  * @throws {@link AutoScalingServiceException}
93
93
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
94
94
  *
95
- * @public
95
+ *
96
96
  * @example To attach a target group to an Auto Scaling group
97
97
  * ```javascript
98
98
  * // This example attaches the specified target group to the specified Auto Scaling group.
99
99
  * const input = {
100
- * "AutoScalingGroupName": "my-auto-scaling-group",
101
- * "TargetGroupARNs": [
100
+ * AutoScalingGroupName: "my-auto-scaling-group",
101
+ * TargetGroupARNs: [
102
102
  * "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
103
103
  * ]
104
104
  * };
105
105
  * const command = new AttachLoadBalancerTargetGroupsCommand(input);
106
- * await client.send(command);
107
- * // example id: autoscaling-attach-load-balancer-target-groups-1
106
+ * const response = await client.send(command);
107
+ * /* response is
108
+ * { /* metadata only *\/ }
109
+ * *\/
108
110
  * ```
109
111
  *
112
+ * @public
110
113
  */
111
114
  export declare class AttachLoadBalancerTargetGroupsCommand extends AttachLoadBalancerTargetGroupsCommand_base {
112
115
  /** @internal type navigation helper, not in runtime. */
@@ -79,21 +79,24 @@ declare const AttachLoadBalancersCommand_base: {
79
79
  * @throws {@link AutoScalingServiceException}
80
80
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
81
81
  *
82
- * @public
82
+ *
83
83
  * @example To attach a load balancer to an Auto Scaling group
84
84
  * ```javascript
85
85
  * // This example attaches the specified load balancer to the specified Auto Scaling group.
86
86
  * const input = {
87
- * "AutoScalingGroupName": "my-auto-scaling-group",
88
- * "LoadBalancerNames": [
87
+ * AutoScalingGroupName: "my-auto-scaling-group",
88
+ * LoadBalancerNames: [
89
89
  * "my-load-balancer"
90
90
  * ]
91
91
  * };
92
92
  * const command = new AttachLoadBalancersCommand(input);
93
- * await client.send(command);
94
- * // example id: autoscaling-attach-load-balancers-1
93
+ * const response = await client.send(command);
94
+ * /* response is
95
+ * { /* metadata only *\/ }
96
+ * *\/
95
97
  * ```
96
98
  *
99
+ * @public
97
100
  */
98
101
  export declare class AttachLoadBalancersCommand extends AttachLoadBalancersCommand_base {
99
102
  /** @internal type navigation helper, not in runtime. */
@@ -90,23 +90,26 @@ declare const AttachTrafficSourcesCommand_base: {
90
90
  * @throws {@link AutoScalingServiceException}
91
91
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
92
92
  *
93
- * @public
93
+ *
94
94
  * @example To attach a target group to an Auto Scaling group
95
95
  * ```javascript
96
96
  * // This example attaches the specified target group to the specified Auto Scaling group.
97
97
  * const input = {
98
- * "AutoScalingGroupName": "my-auto-scaling-group",
99
- * "TrafficSources": [
98
+ * AutoScalingGroupName: "my-auto-scaling-group",
99
+ * TrafficSources: [
100
100
  * {
101
- * "Identifier": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
101
+ * Identifier: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
102
102
  * }
103
103
  * ]
104
104
  * };
105
105
  * const command = new AttachTrafficSourcesCommand(input);
106
- * await client.send(command);
107
- * // example id: to-attach-a-target-group-to-an-auto-scaling-group-1680036570089
106
+ * const response = await client.send(command);
107
+ * /* response is
108
+ * { /* empty *\/ }
109
+ * *\/
108
110
  * ```
109
111
  *
112
+ * @public
110
113
  */
111
114
  export declare class AttachTrafficSourcesCommand extends AttachTrafficSourcesCommand_base {
112
115
  /** @internal type navigation helper, not in runtime. */
@@ -67,6 +67,7 @@ declare const BatchDeleteScheduledActionCommand_base: {
67
67
  * @throws {@link AutoScalingServiceException}
68
68
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
69
69
  *
70
+ *
70
71
  * @public
71
72
  */
72
73
  export declare class BatchDeleteScheduledActionCommand extends BatchDeleteScheduledActionCommand_base {
@@ -85,6 +85,7 @@ declare const BatchPutScheduledUpdateGroupActionCommand_base: {
85
85
  * @throws {@link AutoScalingServiceException}
86
86
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
87
87
  *
88
+ *
88
89
  * @public
89
90
  */
90
91
  export declare class BatchPutScheduledUpdateGroupActionCommand extends BatchPutScheduledUpdateGroupActionCommand_base {
@@ -75,23 +75,23 @@ declare const CancelInstanceRefreshCommand_base: {
75
75
  * @throws {@link AutoScalingServiceException}
76
76
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
77
77
  *
78
- * @public
78
+ *
79
79
  * @example To cancel an instance refresh
80
80
  * ```javascript
81
81
  * // This example cancels an instance refresh operation in progress.
82
82
  * const input = {
83
- * "AutoScalingGroupName": "my-auto-scaling-group"
83
+ * AutoScalingGroupName: "my-auto-scaling-group"
84
84
  * };
85
85
  * const command = new CancelInstanceRefreshCommand(input);
86
86
  * const response = await client.send(command);
87
- * /* response ==
87
+ * /* response is
88
88
  * {
89
- * "InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b"
89
+ * InstanceRefreshId: "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b"
90
90
  * }
91
91
  * *\/
92
- * // example id: to-cancel-an-instance-refresh-1592960979817
93
92
  * ```
94
93
  *
94
+ * @public
95
95
  */
96
96
  export declare class CancelInstanceRefreshCommand extends CancelInstanceRefreshCommand_base {
97
97
  /** @internal type navigation helper, not in runtime. */
@@ -97,21 +97,24 @@ declare const CompleteLifecycleActionCommand_base: {
97
97
  * @throws {@link AutoScalingServiceException}
98
98
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
99
99
  *
100
- * @public
100
+ *
101
101
  * @example To complete the lifecycle action
102
102
  * ```javascript
103
103
  * // This example notifies Auto Scaling that the specified lifecycle action is complete so that it can finish launching or terminating the instance.
104
104
  * const input = {
105
- * "AutoScalingGroupName": "my-auto-scaling-group",
106
- * "LifecycleActionResult": "CONTINUE",
107
- * "LifecycleActionToken": "bcd2f1b8-9a78-44d3-8a7a-4dd07d7cf635",
108
- * "LifecycleHookName": "my-lifecycle-hook"
105
+ * AutoScalingGroupName: "my-auto-scaling-group",
106
+ * LifecycleActionResult: "CONTINUE",
107
+ * LifecycleActionToken: "bcd2f1b8-9a78-44d3-8a7a-4dd07d7cf635",
108
+ * LifecycleHookName: "my-lifecycle-hook"
109
109
  * };
110
110
  * const command = new CompleteLifecycleActionCommand(input);
111
- * await client.send(command);
112
- * // example id: autoscaling-complete-lifecycle-action-1
111
+ * const response = await client.send(command);
112
+ * /* response is
113
+ * { /* metadata only *\/ }
114
+ * *\/
113
115
  * ```
114
116
  *
117
+ * @public
115
118
  */
116
119
  export declare class CompleteLifecycleActionCommand extends CompleteLifecycleActionCommand_base {
117
120
  /** @internal type navigation helper, not in runtime. */
@@ -267,137 +267,146 @@ declare const CreateAutoScalingGroupCommand_base: {
267
267
  * @throws {@link AutoScalingServiceException}
268
268
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
269
269
  *
270
- * @public
271
- * @example To create an Auto Scaling group
272
- * ```javascript
273
- * // This example creates an Auto Scaling group.
274
- * const input = {
275
- * "AutoScalingGroupName": "my-auto-scaling-group",
276
- * "DefaultInstanceWarmup": 120,
277
- * "LaunchTemplate": {
278
- * "LaunchTemplateName": "my-template-for-auto-scaling",
279
- * "Version": "$Default"
280
- * },
281
- * "MaxInstanceLifetime": 2592000,
282
- * "MaxSize": 3,
283
- * "MinSize": 1,
284
- * "VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE"
285
- * };
286
- * const command = new CreateAutoScalingGroupCommand(input);
287
- * await client.send(command);
288
- * // example id: autoscaling-create-auto-scaling-group-1
289
- * ```
290
270
  *
291
271
  * @example To create an Auto Scaling group with an attached target group
292
272
  * ```javascript
293
273
  * // This example creates an Auto Scaling group and attaches the specified target group.
294
274
  * const input = {
295
- * "AutoScalingGroupName": "my-auto-scaling-group",
296
- * "HealthCheckGracePeriod": 300,
297
- * "HealthCheckType": "ELB",
298
- * "LaunchTemplate": {
299
- * "LaunchTemplateName": "my-template-for-auto-scaling",
300
- * "Version": "$Default"
275
+ * AutoScalingGroupName: "my-auto-scaling-group",
276
+ * HealthCheckGracePeriod: 300,
277
+ * HealthCheckType: "ELB",
278
+ * LaunchTemplate: {
279
+ * LaunchTemplateName: "my-template-for-auto-scaling",
280
+ * Version: "$Default"
301
281
  * },
302
- * "MaxSize": 3,
303
- * "MinSize": 1,
304
- * "TargetGroupARNs": [
282
+ * MaxSize: 3,
283
+ * MinSize: 1,
284
+ * TargetGroupARNs: [
305
285
  * "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
306
286
  * ],
307
- * "VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE"
287
+ * VPCZoneIdentifier: "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE"
308
288
  * };
309
289
  * const command = new CreateAutoScalingGroupCommand(input);
310
- * await client.send(command);
311
- * // example id: autoscaling-create-auto-scaling-group-2
290
+ * const response = await client.send(command);
291
+ * /* response is
292
+ * { /* metadata only *\/ }
293
+ * *\/
312
294
  * ```
313
295
  *
314
296
  * @example To create an Auto Scaling group with a mixed instances policy
315
297
  * ```javascript
316
298
  * // This example creates an Auto Scaling group with a mixed instances policy. It specifies the c5.large, c5a.large, and c6g.large instance types and defines a different launch template for the c6g.large instance type.
317
299
  * const input = {
318
- * "AutoScalingGroupName": "my-asg",
319
- * "DesiredCapacity": 3,
320
- * "MaxSize": 5,
321
- * "MinSize": 1,
322
- * "MixedInstancesPolicy": {
323
- * "InstancesDistribution": {
324
- * "OnDemandBaseCapacity": 1,
325
- * "OnDemandPercentageAboveBaseCapacity": 50,
326
- * "SpotAllocationStrategy": "price-capacity-optimized"
300
+ * AutoScalingGroupName: "my-asg",
301
+ * DesiredCapacity: 3,
302
+ * MaxSize: 5,
303
+ * MinSize: 1,
304
+ * MixedInstancesPolicy: {
305
+ * InstancesDistribution: {
306
+ * OnDemandBaseCapacity: 1,
307
+ * OnDemandPercentageAboveBaseCapacity: 50,
308
+ * SpotAllocationStrategy: "price-capacity-optimized"
327
309
  * },
328
- * "LaunchTemplate": {
329
- * "LaunchTemplateSpecification": {
330
- * "LaunchTemplateName": "my-launch-template-for-x86",
331
- * "Version": "$Default"
310
+ * LaunchTemplate: {
311
+ * LaunchTemplateSpecification: {
312
+ * LaunchTemplateName: "my-launch-template-for-x86",
313
+ * Version: "$Default"
332
314
  * },
333
- * "Overrides": [
315
+ * Overrides: [
334
316
  * {
335
- * "InstanceType": "c6g.large",
336
- * "LaunchTemplateSpecification": {
337
- * "LaunchTemplateName": "my-launch-template-for-arm",
338
- * "Version": "$Default"
317
+ * InstanceType: "c6g.large",
318
+ * LaunchTemplateSpecification: {
319
+ * LaunchTemplateName: "my-launch-template-for-arm",
320
+ * Version: "$Default"
339
321
  * }
340
322
  * },
341
323
  * {
342
- * "InstanceType": "c5.large"
324
+ * InstanceType: "c5.large"
343
325
  * },
344
326
  * {
345
- * "InstanceType": "c5a.large"
327
+ * InstanceType: "c5a.large"
346
328
  * }
347
329
  * ]
348
330
  * }
349
331
  * },
350
- * "VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE"
332
+ * VPCZoneIdentifier: "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE"
351
333
  * };
352
334
  * const command = new CreateAutoScalingGroupCommand(input);
353
- * await client.send(command);
354
- * // example id: autoscaling-create-auto-scaling-group-3
335
+ * const response = await client.send(command);
336
+ * /* response is
337
+ * { /* metadata only *\/ }
338
+ * *\/
355
339
  * ```
356
340
  *
357
341
  * @example To create an Auto Scaling group using attribute-based instance type selection
358
342
  * ```javascript
359
343
  * // This example creates an Auto Scaling group using attribute-based instance type selection. It requires the instance types to have a minimum of four vCPUs and a maximum of eight vCPUs, a minimum of 16,384 MiB of memory, and an Intel manufactured CPU.
360
344
  * const input = {
361
- * "AutoScalingGroupName": "my-asg",
362
- * "DesiredCapacity": 4,
363
- * "DesiredCapacityType": "units",
364
- * "MaxSize": 100,
365
- * "MinSize": 0,
366
- * "MixedInstancesPolicy": {
367
- * "InstancesDistribution": {
368
- * "OnDemandPercentageAboveBaseCapacity": 50,
369
- * "SpotAllocationStrategy": "price-capacity-optimized"
345
+ * AutoScalingGroupName: "my-asg",
346
+ * DesiredCapacity: 4,
347
+ * DesiredCapacityType: "units",
348
+ * MaxSize: 100,
349
+ * MinSize: 0,
350
+ * MixedInstancesPolicy: {
351
+ * InstancesDistribution: {
352
+ * OnDemandPercentageAboveBaseCapacity: 50,
353
+ * SpotAllocationStrategy: "price-capacity-optimized"
370
354
  * },
371
- * "LaunchTemplate": {
372
- * "LaunchTemplateSpecification": {
373
- * "LaunchTemplateName": "my-template-for-auto-scaling",
374
- * "Version": "$Default"
355
+ * LaunchTemplate: {
356
+ * LaunchTemplateSpecification: {
357
+ * LaunchTemplateName: "my-template-for-auto-scaling",
358
+ * Version: "$Default"
375
359
  * },
376
- * "Overrides": [
360
+ * Overrides: [
377
361
  * {
378
- * "InstanceRequirements": {
379
- * "CpuManufacturers": [
362
+ * InstanceRequirements: {
363
+ * CpuManufacturers: [
380
364
  * "intel"
381
365
  * ],
382
- * "MemoryMiB": {
383
- * "Min": 16384
366
+ * MemoryMiB: {
367
+ * Min: 16384
384
368
  * },
385
- * "VCpuCount": {
386
- * "Max": 8,
387
- * "Min": 4
369
+ * VCpuCount: {
370
+ * Max: 8,
371
+ * Min: 4
388
372
  * }
389
373
  * }
390
374
  * }
391
375
  * ]
392
376
  * }
393
377
  * },
394
- * "VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE"
378
+ * VPCZoneIdentifier: "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE"
395
379
  * };
396
380
  * const command = new CreateAutoScalingGroupCommand(input);
397
- * await client.send(command);
398
- * // example id: autoscaling-create-auto-scaling-group-4
381
+ * const response = await client.send(command);
382
+ * /* response is
383
+ * { /* metadata only *\/ }
384
+ * *\/
385
+ * ```
386
+ *
387
+ * @example To create an Auto Scaling group
388
+ * ```javascript
389
+ * // This example creates an Auto Scaling group.
390
+ * const input = {
391
+ * AutoScalingGroupName: "my-auto-scaling-group",
392
+ * DefaultInstanceWarmup: 120,
393
+ * LaunchTemplate: {
394
+ * LaunchTemplateName: "my-template-for-auto-scaling",
395
+ * Version: "$Default"
396
+ * },
397
+ * MaxInstanceLifetime: 2592000,
398
+ * MaxSize: 3,
399
+ * MinSize: 1,
400
+ * VPCZoneIdentifier: "subnet-057fa0918fEXAMPLE"
401
+ * };
402
+ * const command = new CreateAutoScalingGroupCommand(input);
403
+ * const response = await client.send(command);
404
+ * /* response is
405
+ * { /* metadata only *\/ }
406
+ * *\/
399
407
  * ```
400
408
  *
409
+ * @public
401
410
  */
402
411
  export declare class CreateAutoScalingGroupCommand extends CreateAutoScalingGroupCommand_base {
403
412
  /** @internal type navigation helper, not in runtime. */
@@ -120,24 +120,27 @@ declare const CreateLaunchConfigurationCommand_base: {
120
120
  * @throws {@link AutoScalingServiceException}
121
121
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
122
122
  *
123
- * @public
123
+ *
124
124
  * @example To create a launch configuration
125
125
  * ```javascript
126
126
  * // This example creates a launch configuration.
127
127
  * const input = {
128
- * "IamInstanceProfile": "my-iam-role",
129
- * "ImageId": "ami-12345678",
130
- * "InstanceType": "m3.medium",
131
- * "LaunchConfigurationName": "my-launch-config",
132
- * "SecurityGroups": [
128
+ * IamInstanceProfile: "my-iam-role",
129
+ * ImageId: "ami-12345678",
130
+ * InstanceType: "m3.medium",
131
+ * LaunchConfigurationName: "my-launch-config",
132
+ * SecurityGroups: [
133
133
  * "sg-eb2af88e"
134
134
  * ]
135
135
  * };
136
136
  * const command = new CreateLaunchConfigurationCommand(input);
137
- * await client.send(command);
138
- * // example id: autoscaling-create-launch-configuration-1
137
+ * const response = await client.send(command);
138
+ * /* response is
139
+ * { /* metadata only *\/ }
140
+ * *\/
139
141
  * ```
140
142
  *
143
+ * @public
141
144
  */
142
145
  export declare class CreateLaunchConfigurationCommand extends CreateLaunchConfigurationCommand_base {
143
146
  /** @internal type navigation helper, not in runtime. */
@@ -80,33 +80,36 @@ declare const CreateOrUpdateTagsCommand_base: {
80
80
  * @throws {@link AutoScalingServiceException}
81
81
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
82
82
  *
83
- * @public
83
+ *
84
84
  * @example To create or update tags for an Auto Scaling group
85
85
  * ```javascript
86
86
  * // This example adds two tags to the specified Auto Scaling group.
87
87
  * const input = {
88
- * "Tags": [
88
+ * Tags: [
89
89
  * {
90
- * "Key": "Role",
91
- * "PropagateAtLaunch": true,
92
- * "ResourceId": "my-auto-scaling-group",
93
- * "ResourceType": "auto-scaling-group",
94
- * "Value": "WebServer"
90
+ * Key: "Role",
91
+ * PropagateAtLaunch: true,
92
+ * ResourceId: "my-auto-scaling-group",
93
+ * ResourceType: "auto-scaling-group",
94
+ * Value: "WebServer"
95
95
  * },
96
96
  * {
97
- * "Key": "Dept",
98
- * "PropagateAtLaunch": true,
99
- * "ResourceId": "my-auto-scaling-group",
100
- * "ResourceType": "auto-scaling-group",
101
- * "Value": "Research"
97
+ * Key: "Dept",
98
+ * PropagateAtLaunch: true,
99
+ * ResourceId: "my-auto-scaling-group",
100
+ * ResourceType: "auto-scaling-group",
101
+ * Value: "Research"
102
102
  * }
103
103
  * ]
104
104
  * };
105
105
  * const command = new CreateOrUpdateTagsCommand(input);
106
- * await client.send(command);
107
- * // example id: autoscaling-create-or-update-tags-1
106
+ * const response = await client.send(command);
107
+ * /* response is
108
+ * { /* metadata only *\/ }
109
+ * *\/
108
110
  * ```
109
111
  *
112
+ * @public
110
113
  */
111
114
  export declare class CreateOrUpdateTagsCommand extends CreateOrUpdateTagsCommand_base {
112
115
  /** @internal type navigation helper, not in runtime. */
@@ -80,30 +80,35 @@ declare const DeleteAutoScalingGroupCommand_base: {
80
80
  * @throws {@link AutoScalingServiceException}
81
81
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
82
82
  *
83
- * @public
83
+ *
84
84
  * @example To delete an Auto Scaling group
85
85
  * ```javascript
86
86
  * // This example deletes the specified Auto Scaling group.
87
87
  * const input = {
88
- * "AutoScalingGroupName": "my-auto-scaling-group"
88
+ * AutoScalingGroupName: "my-auto-scaling-group"
89
89
  * };
90
90
  * const command = new DeleteAutoScalingGroupCommand(input);
91
- * await client.send(command);
92
- * // example id: autoscaling-delete-auto-scaling-group-1
91
+ * const response = await client.send(command);
92
+ * /* response is
93
+ * { /* metadata only *\/ }
94
+ * *\/
93
95
  * ```
94
96
  *
95
97
  * @example To delete an Auto Scaling group and all its instances
96
98
  * ```javascript
97
99
  * // This example deletes the specified Auto Scaling group and all its instances.
98
100
  * const input = {
99
- * "AutoScalingGroupName": "my-auto-scaling-group",
100
- * "ForceDelete": true
101
+ * AutoScalingGroupName: "my-auto-scaling-group",
102
+ * ForceDelete: true
101
103
  * };
102
104
  * const command = new DeleteAutoScalingGroupCommand(input);
103
- * await client.send(command);
104
- * // example id: autoscaling-delete-auto-scaling-group-2
105
+ * const response = await client.send(command);
106
+ * /* response is
107
+ * { /* metadata only *\/ }
108
+ * *\/
105
109
  * ```
106
110
  *
111
+ * @public
107
112
  */
108
113
  export declare class DeleteAutoScalingGroupCommand extends DeleteAutoScalingGroupCommand_base {
109
114
  /** @internal type navigation helper, not in runtime. */
@@ -61,18 +61,21 @@ declare const DeleteLaunchConfigurationCommand_base: {
61
61
  * @throws {@link AutoScalingServiceException}
62
62
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
63
63
  *
64
- * @public
64
+ *
65
65
  * @example To delete a launch configuration
66
66
  * ```javascript
67
67
  * // This example deletes the specified launch configuration.
68
68
  * const input = {
69
- * "LaunchConfigurationName": "my-launch-config"
69
+ * LaunchConfigurationName: "my-launch-config"
70
70
  * };
71
71
  * const command = new DeleteLaunchConfigurationCommand(input);
72
- * await client.send(command);
73
- * // example id: autoscaling-delete-launch-configuration-1
72
+ * const response = await client.send(command);
73
+ * /* response is
74
+ * { /* metadata only *\/ }
75
+ * *\/
74
76
  * ```
75
77
  *
78
+ * @public
76
79
  */
77
80
  export declare class DeleteLaunchConfigurationCommand extends DeleteLaunchConfigurationCommand_base {
78
81
  /** @internal type navigation helper, not in runtime. */
@@ -60,19 +60,22 @@ declare const DeleteLifecycleHookCommand_base: {
60
60
  * @throws {@link AutoScalingServiceException}
61
61
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
62
62
  *
63
- * @public
63
+ *
64
64
  * @example To delete a lifecycle hook
65
65
  * ```javascript
66
66
  * // This example deletes the specified lifecycle hook.
67
67
  * const input = {
68
- * "AutoScalingGroupName": "my-auto-scaling-group",
69
- * "LifecycleHookName": "my-lifecycle-hook"
68
+ * AutoScalingGroupName: "my-auto-scaling-group",
69
+ * LifecycleHookName: "my-lifecycle-hook"
70
70
  * };
71
71
  * const command = new DeleteLifecycleHookCommand(input);
72
- * await client.send(command);
73
- * // example id: autoscaling-delete-lifecycle-hook-1
72
+ * const response = await client.send(command);
73
+ * /* response is
74
+ * { /* metadata only *\/ }
75
+ * *\/
74
76
  * ```
75
77
  *
78
+ * @public
76
79
  */
77
80
  export declare class DeleteLifecycleHookCommand extends DeleteLifecycleHookCommand_base {
78
81
  /** @internal type navigation helper, not in runtime. */
@@ -57,19 +57,22 @@ declare const DeleteNotificationConfigurationCommand_base: {
57
57
  * @throws {@link AutoScalingServiceException}
58
58
  * <p>Base exception class for all service exceptions from AutoScaling service.</p>
59
59
  *
60
- * @public
60
+ *
61
61
  * @example To delete an Auto Scaling notification
62
62
  * ```javascript
63
63
  * // This example deletes the specified notification from the specified Auto Scaling group.
64
64
  * const input = {
65
- * "AutoScalingGroupName": "my-auto-scaling-group",
66
- * "TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic"
65
+ * AutoScalingGroupName: "my-auto-scaling-group",
66
+ * TopicARN: "arn:aws:sns:us-west-2:123456789012:my-sns-topic"
67
67
  * };
68
68
  * const command = new DeleteNotificationConfigurationCommand(input);
69
- * await client.send(command);
70
- * // example id: autoscaling-delete-notification-configuration-1
69
+ * const response = await client.send(command);
70
+ * /* response is
71
+ * { /* metadata only *\/ }
72
+ * *\/
71
73
  * ```
72
74
  *
75
+ * @public
73
76
  */
74
77
  export declare class DeleteNotificationConfigurationCommand extends DeleteNotificationConfigurationCommand_base {
75
78
  /** @internal type navigation helper, not in runtime. */