@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.
- package/dist-types/commands/AttachInstancesCommand.d.ts +8 -5
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +8 -5
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +8 -5
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +9 -6
- package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +1 -0
- package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +1 -0
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +5 -5
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +10 -7
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +88 -79
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +11 -8
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +17 -14
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +13 -8
- package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +7 -4
- package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +8 -5
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +8 -5
- package/dist-types/commands/DeletePolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +8 -5
- package/dist-types/commands/DeleteTagsCommand.d.ts +11 -8
- package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +8 -8
- package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +8 -8
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +41 -41
- package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +13 -13
- package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +5 -5
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +1 -63
- package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +16 -16
- package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +5 -5
- package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +13 -13
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +7 -7
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +7 -7
- package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +15 -15
- package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +11 -11
- package/dist-types/commands/DescribePoliciesCommand.d.ts +19 -19
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +15 -15
- package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +13 -13
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +14 -14
- package/dist-types/commands/DescribeTagsCommand.d.ts +17 -17
- package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +5 -5
- package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +9 -9
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -0
- package/dist-types/commands/DetachInstancesCommand.d.ts +15 -15
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +8 -5
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +8 -5
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +9 -6
- package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +8 -5
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +8 -5
- package/dist-types/commands/EnterStandbyCommand.d.ts +15 -15
- package/dist-types/commands/ExecutePolicyCommand.d.ts +10 -7
- package/dist-types/commands/ExitStandbyCommand.d.ts +14 -14
- package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -0
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +11 -8
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +9 -6
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +17 -17
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +13 -10
- package/dist-types/commands/PutWarmPoolCommand.d.ts +11 -8
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +9 -6
- package/dist-types/commands/ResumeProcessesCommand.d.ts +8 -5
- package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +1 -0
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +9 -6
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +8 -5
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +16 -11
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +16 -16
- package/dist-types/commands/SuspendProcessesCommand.d.ts +8 -5
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +13 -10
- package/package.json +5 -5
|
@@ -65,19 +65,22 @@ declare const DeletePolicyCommand_base: {
|
|
|
65
65
|
* @throws {@link AutoScalingServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @example To delete an Auto Scaling policy
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // This example deletes the specified Auto Scaling policy.
|
|
72
72
|
* const input = {
|
|
73
|
-
*
|
|
74
|
-
*
|
|
73
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
74
|
+
* PolicyName: "my-step-scale-out-policy"
|
|
75
75
|
* };
|
|
76
76
|
* const command = new DeletePolicyCommand(input);
|
|
77
|
-
* await client.send(command);
|
|
78
|
-
*
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* /* response is
|
|
79
|
+
* { /* metadata only *\/ }
|
|
80
|
+
* *\/
|
|
79
81
|
* ```
|
|
80
82
|
*
|
|
83
|
+
* @public
|
|
81
84
|
*/
|
|
82
85
|
export declare class DeletePolicyCommand extends DeletePolicyCommand_base {
|
|
83
86
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -57,19 +57,22 @@ declare const DeleteScheduledActionCommand_base: {
|
|
|
57
57
|
* @throws {@link AutoScalingServiceException}
|
|
58
58
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
59
59
|
*
|
|
60
|
-
*
|
|
60
|
+
*
|
|
61
61
|
* @example To delete a scheduled action from an Auto Scaling group
|
|
62
62
|
* ```javascript
|
|
63
63
|
* // This example deletes the specified scheduled action from the specified Auto Scaling group.
|
|
64
64
|
* const input = {
|
|
65
|
-
*
|
|
66
|
-
*
|
|
65
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
66
|
+
* ScheduledActionName: "my-scheduled-action"
|
|
67
67
|
* };
|
|
68
68
|
* const command = new DeleteScheduledActionCommand(input);
|
|
69
|
-
* await client.send(command);
|
|
70
|
-
*
|
|
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 DeleteScheduledActionCommand extends DeleteScheduledActionCommand_base {
|
|
75
78
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -67,25 +67,28 @@ declare const DeleteTagsCommand_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
71
|
* @example To delete a tag from an Auto Scaling group
|
|
72
72
|
* ```javascript
|
|
73
73
|
* // This example deletes the specified tag from the specified Auto Scaling group.
|
|
74
74
|
* const input = {
|
|
75
|
-
*
|
|
75
|
+
* Tags: [
|
|
76
76
|
* {
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
77
|
+
* Key: "Dept",
|
|
78
|
+
* ResourceId: "my-auto-scaling-group",
|
|
79
|
+
* ResourceType: "auto-scaling-group",
|
|
80
|
+
* Value: "Research"
|
|
81
81
|
* }
|
|
82
82
|
* ]
|
|
83
83
|
* };
|
|
84
84
|
* const command = new DeleteTagsCommand(input);
|
|
85
|
-
* await client.send(command);
|
|
86
|
-
*
|
|
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 DeleteTagsCommand extends DeleteTagsCommand_base {
|
|
91
94
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,6 +72,7 @@ declare const DeleteWarmPoolCommand_base: {
|
|
|
72
72
|
* @throws {@link AutoScalingServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class DeleteWarmPoolCommand extends DeleteWarmPoolCommand_base {
|
|
@@ -63,24 +63,24 @@ declare const DescribeAccountLimitsCommand_base: {
|
|
|
63
63
|
* @throws {@link AutoScalingServiceException}
|
|
64
64
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
65
65
|
*
|
|
66
|
-
*
|
|
66
|
+
*
|
|
67
67
|
* @example To describe your Auto Scaling account limits
|
|
68
68
|
* ```javascript
|
|
69
69
|
* // This example describes the Amazon EC2 Auto Scaling service quotas for your account.
|
|
70
|
-
* const input = {};
|
|
70
|
+
* const input = { /* empty *\/ };
|
|
71
71
|
* const command = new DescribeAccountLimitsCommand(input);
|
|
72
72
|
* const response = await client.send(command);
|
|
73
|
-
* /* response
|
|
73
|
+
* /* response is
|
|
74
74
|
* {
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
75
|
+
* MaxNumberOfAutoScalingGroups: 20,
|
|
76
|
+
* MaxNumberOfLaunchConfigurations: 100,
|
|
77
|
+
* NumberOfAutoScalingGroups: 3,
|
|
78
|
+
* NumberOfLaunchConfigurations: 5
|
|
79
79
|
* }
|
|
80
80
|
* *\/
|
|
81
|
-
* // example id: autoscaling-describe-account-limits-1
|
|
82
81
|
* ```
|
|
83
82
|
*
|
|
83
|
+
* @public
|
|
84
84
|
*/
|
|
85
85
|
export declare class DescribeAccountLimitsCommand extends DescribeAccountLimitsCommand_base {
|
|
86
86
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,31 +79,31 @@ declare const DescribeAdjustmentTypesCommand_base: {
|
|
|
79
79
|
* @throws {@link AutoScalingServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
*
|
|
83
83
|
* @example To describe the Amazon EC2 Auto Scaling adjustment types
|
|
84
84
|
* ```javascript
|
|
85
85
|
* // This example describes the available adjustment types.
|
|
86
|
-
* const input = {};
|
|
86
|
+
* const input = { /* empty *\/ };
|
|
87
87
|
* const command = new DescribeAdjustmentTypesCommand(input);
|
|
88
88
|
* const response = await client.send(command);
|
|
89
|
-
* /* response
|
|
89
|
+
* /* response is
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
91
|
+
* AdjustmentTypes: [
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
93
|
+
* AdjustmentType: "ChangeInCapacity"
|
|
94
94
|
* },
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
96
|
+
* AdjustmentType: "ExactCapcity"
|
|
97
97
|
* },
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
99
|
+
* AdjustmentType: "PercentChangeInCapacity"
|
|
100
100
|
* }
|
|
101
101
|
* ]
|
|
102
102
|
* }
|
|
103
103
|
* *\/
|
|
104
|
-
* // example id: autoscaling-describe-adjustment-types-1
|
|
105
104
|
* ```
|
|
106
105
|
*
|
|
106
|
+
* @public
|
|
107
107
|
*/
|
|
108
108
|
export declare class DescribeAdjustmentTypesCommand extends DescribeAdjustmentTypesCommand_base {
|
|
109
109
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -296,75 +296,75 @@ declare const DescribeAutoScalingGroupsCommand_base: {
|
|
|
296
296
|
* @throws {@link AutoScalingServiceException}
|
|
297
297
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
298
298
|
*
|
|
299
|
-
*
|
|
299
|
+
*
|
|
300
300
|
* @example To describe an Auto Scaling group
|
|
301
301
|
* ```javascript
|
|
302
302
|
* // This example describes the specified Auto Scaling group.
|
|
303
303
|
* const input = {
|
|
304
|
-
*
|
|
304
|
+
* AutoScalingGroupNames: [
|
|
305
305
|
* "my-auto-scaling-group"
|
|
306
306
|
* ]
|
|
307
307
|
* };
|
|
308
308
|
* const command = new DescribeAutoScalingGroupsCommand(input);
|
|
309
309
|
* const response = await client.send(command);
|
|
310
|
-
* /* response
|
|
310
|
+
* /* response is
|
|
311
311
|
* {
|
|
312
|
-
*
|
|
312
|
+
* AutoScalingGroups: [
|
|
313
313
|
* {
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
314
|
+
* AutoScalingGroupARN: "arn:aws:autoscaling:us-west-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
|
|
315
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
316
|
+
* AvailabilityZones: [
|
|
317
317
|
* "us-west-2a",
|
|
318
318
|
* "us-west-2b",
|
|
319
319
|
* "us-west-2c"
|
|
320
320
|
* ],
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
321
|
+
* CreatedTime: "2023-03-09T22:15:11.611Z",
|
|
322
|
+
* DefaultCooldown: 300,
|
|
323
|
+
* DesiredCapacity: 2,
|
|
324
|
+
* EnabledMetrics: [],
|
|
325
|
+
* HealthCheckGracePeriod: 300,
|
|
326
|
+
* HealthCheckType: "EC2",
|
|
327
|
+
* Instances: [
|
|
328
328
|
* {
|
|
329
|
-
*
|
|
330
|
-
*
|
|
331
|
-
*
|
|
332
|
-
*
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
*
|
|
329
|
+
* AvailabilityZone: "us-west-2c",
|
|
330
|
+
* HealthStatus: "Healthy",
|
|
331
|
+
* InstanceId: "i-05b4f7d5be44822a6",
|
|
332
|
+
* InstanceType: "t3.micro",
|
|
333
|
+
* LaunchConfigurationName: "my-launch-config",
|
|
334
|
+
* LifecycleState: "InService",
|
|
335
|
+
* ProtectedFromScaleIn: false
|
|
336
336
|
* },
|
|
337
337
|
* {
|
|
338
|
-
*
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
*
|
|
344
|
-
*
|
|
338
|
+
* AvailabilityZone: "us-west-2b",
|
|
339
|
+
* HealthStatus: "Healthy",
|
|
340
|
+
* InstanceId: "i-0c20ac468fa3049e8",
|
|
341
|
+
* InstanceType: "t3.micro",
|
|
342
|
+
* LaunchConfigurationName: "my-launch-config",
|
|
343
|
+
* LifecycleState: "InService",
|
|
344
|
+
* ProtectedFromScaleIn: false
|
|
345
345
|
* }
|
|
346
346
|
* ],
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
*
|
|
351
|
-
*
|
|
352
|
-
*
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
356
|
-
*
|
|
347
|
+
* LaunchConfigurationName: "my-launch-config",
|
|
348
|
+
* LoadBalancerNames: [],
|
|
349
|
+
* MaxSize: 5,
|
|
350
|
+
* MinSize: 1,
|
|
351
|
+
* NewInstancesProtectedFromScaleIn: false,
|
|
352
|
+
* ServiceLinkedRoleARN: "arn:aws:iam::123456789012:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling",
|
|
353
|
+
* SuspendedProcesses: [],
|
|
354
|
+
* Tags: [],
|
|
355
|
+
* TargetGroupARNs: [],
|
|
356
|
+
* TerminationPolicies: [
|
|
357
357
|
* "Default"
|
|
358
358
|
* ],
|
|
359
|
-
*
|
|
360
|
-
*
|
|
359
|
+
* TrafficSources: [],
|
|
360
|
+
* VPCZoneIdentifier: "subnet-5ea0c127,subnet-6194ea3b,subnet-c934b782"
|
|
361
361
|
* }
|
|
362
362
|
* ]
|
|
363
363
|
* }
|
|
364
364
|
* *\/
|
|
365
|
-
* // example id: autoscaling-describe-auto-scaling-groups-1
|
|
366
365
|
* ```
|
|
367
366
|
*
|
|
367
|
+
* @public
|
|
368
368
|
*/
|
|
369
369
|
export declare class DescribeAutoScalingGroupsCommand extends DescribeAutoScalingGroupsCommand_base {
|
|
370
370
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -83,36 +83,36 @@ declare const DescribeAutoScalingInstancesCommand_base: {
|
|
|
83
83
|
* @throws {@link AutoScalingServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example To describe one or more Auto Scaling instances
|
|
88
88
|
* ```javascript
|
|
89
89
|
* // This example describes the specified Auto Scaling instance.
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
91
|
+
* InstanceIds: [
|
|
92
92
|
* "i-05b4f7d5be44822a6"
|
|
93
93
|
* ]
|
|
94
94
|
* };
|
|
95
95
|
* const command = new DescribeAutoScalingInstancesCommand(input);
|
|
96
96
|
* const response = await client.send(command);
|
|
97
|
-
* /* response
|
|
97
|
+
* /* response is
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
99
|
+
* AutoScalingInstances: [
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
101
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
102
|
+
* AvailabilityZone: "us-west-2c",
|
|
103
|
+
* HealthStatus: "HEALTHY",
|
|
104
|
+
* InstanceId: "i-05b4f7d5be44822a6",
|
|
105
|
+
* InstanceType: "t3.micro",
|
|
106
|
+
* LaunchConfigurationName: "my-launch-config",
|
|
107
|
+
* LifecycleState: "InService",
|
|
108
|
+
* ProtectedFromScaleIn: false
|
|
109
109
|
* }
|
|
110
110
|
* ]
|
|
111
111
|
* }
|
|
112
112
|
* *\/
|
|
113
|
-
* // example id: autoscaling-describe-auto-scaling-instances-1
|
|
114
113
|
* ```
|
|
115
114
|
*
|
|
115
|
+
* @public
|
|
116
116
|
*/
|
|
117
117
|
export declare class DescribeAutoScalingInstancesCommand extends DescribeAutoScalingInstancesCommand_base {
|
|
118
118
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -58,16 +58,16 @@ declare const DescribeAutoScalingNotificationTypesCommand_base: {
|
|
|
58
58
|
* @throws {@link AutoScalingServiceException}
|
|
59
59
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
60
60
|
*
|
|
61
|
-
*
|
|
61
|
+
*
|
|
62
62
|
* @example To describe the Auto Scaling notification types
|
|
63
63
|
* ```javascript
|
|
64
64
|
* // This example describes the available notification types.
|
|
65
|
-
* const input = {};
|
|
65
|
+
* const input = { /* empty *\/ };
|
|
66
66
|
* const command = new DescribeAutoScalingNotificationTypesCommand(input);
|
|
67
67
|
* const response = await client.send(command);
|
|
68
|
-
* /* response
|
|
68
|
+
* /* response is
|
|
69
69
|
* {
|
|
70
|
-
*
|
|
70
|
+
* AutoScalingNotificationTypes: [
|
|
71
71
|
* "autoscaling:EC2_INSTANCE_LAUNCH",
|
|
72
72
|
* "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
|
|
73
73
|
* "autoscaling:EC2_INSTANCE_TERMINATE",
|
|
@@ -76,9 +76,9 @@ declare const DescribeAutoScalingNotificationTypesCommand_base: {
|
|
|
76
76
|
* ]
|
|
77
77
|
* }
|
|
78
78
|
* *\/
|
|
79
|
-
* // example id: autoscaling-describe-auto-scaling-notification-types-1
|
|
80
79
|
* ```
|
|
81
80
|
*
|
|
81
|
+
* @public
|
|
82
82
|
*/
|
|
83
83
|
export declare class DescribeAutoScalingNotificationTypesCommand extends DescribeAutoScalingNotificationTypesCommand_base {
|
|
84
84
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -242,70 +242,8 @@ declare const DescribeInstanceRefreshesCommand_base: {
|
|
|
242
242
|
* @throws {@link AutoScalingServiceException}
|
|
243
243
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
244
244
|
*
|
|
245
|
-
* @public
|
|
246
|
-
* @example To list instance refreshes
|
|
247
|
-
* ```javascript
|
|
248
|
-
* // This example describes the instance refreshes for the specified Auto Scaling group.
|
|
249
|
-
* const input = {
|
|
250
|
-
* "AutoScalingGroupName": "my-auto-scaling-group"
|
|
251
|
-
* };
|
|
252
|
-
* const command = new DescribeInstanceRefreshesCommand(input);
|
|
253
|
-
* const response = await client.send(command);
|
|
254
|
-
* /* response ==
|
|
255
|
-
* {
|
|
256
|
-
* "InstanceRefreshes": [
|
|
257
|
-
* {
|
|
258
|
-
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
259
|
-
* "InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b",
|
|
260
|
-
* "InstancesToUpdate": 0,
|
|
261
|
-
* "PercentageComplete": 50,
|
|
262
|
-
* "Preferences": {
|
|
263
|
-
* "AlarmSpecification": {
|
|
264
|
-
* "Alarms": [
|
|
265
|
-
* "my-alarm"
|
|
266
|
-
* ]
|
|
267
|
-
* },
|
|
268
|
-
* "AutoRollback": true,
|
|
269
|
-
* "InstanceWarmup": 200,
|
|
270
|
-
* "MaxHealthyPercentage": 120,
|
|
271
|
-
* "MinHealthyPercentage": 90,
|
|
272
|
-
* "ScaleInProtectedInstances": "Ignore",
|
|
273
|
-
* "SkipMatching": false,
|
|
274
|
-
* "StandbyInstances": "Ignore"
|
|
275
|
-
* },
|
|
276
|
-
* "StartTime": "2023-06-13T16:46:52+00:00",
|
|
277
|
-
* "Status": "InProgress",
|
|
278
|
-
* "StatusReason": "Waiting for instances to warm up before continuing. For example: i-0645704820a8e83ff is warming up."
|
|
279
|
-
* },
|
|
280
|
-
* {
|
|
281
|
-
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
282
|
-
* "EndTime": "2023-06-02T13:59:45+00:00",
|
|
283
|
-
* "InstanceRefreshId": "0e151305-1e57-4a32-a256-1fd14157c5ec",
|
|
284
|
-
* "InstancesToUpdate": 0,
|
|
285
|
-
* "PercentageComplete": 100,
|
|
286
|
-
* "Preferences": {
|
|
287
|
-
* "AlarmSpecification": {
|
|
288
|
-
* "Alarms": [
|
|
289
|
-
* "my-alarm"
|
|
290
|
-
* ]
|
|
291
|
-
* },
|
|
292
|
-
* "AutoRollback": true,
|
|
293
|
-
* "InstanceWarmup": 200,
|
|
294
|
-
* "MaxHealthyPercentage": 120,
|
|
295
|
-
* "MinHealthyPercentage": 90,
|
|
296
|
-
* "ScaleInProtectedInstances": "Ignore",
|
|
297
|
-
* "SkipMatching": false,
|
|
298
|
-
* "StandbyInstances": "Ignore"
|
|
299
|
-
* },
|
|
300
|
-
* "StartTime": "2023-06-02T13:53:37+00:00",
|
|
301
|
-
* "Status": "Successful"
|
|
302
|
-
* }
|
|
303
|
-
* ]
|
|
304
|
-
* }
|
|
305
|
-
* *\/
|
|
306
|
-
* // example id: to-list-instance-refreshes-1592959593746
|
|
307
|
-
* ```
|
|
308
245
|
*
|
|
246
|
+
* @public
|
|
309
247
|
*/
|
|
310
248
|
export declare class DescribeInstanceRefreshesCommand extends DescribeInstanceRefreshesCommand_base {
|
|
311
249
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -114,42 +114,42 @@ declare const DescribeLaunchConfigurationsCommand_base: {
|
|
|
114
114
|
* @throws {@link AutoScalingServiceException}
|
|
115
115
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
116
116
|
*
|
|
117
|
-
*
|
|
117
|
+
*
|
|
118
118
|
* @example To describe Auto Scaling launch configurations
|
|
119
119
|
* ```javascript
|
|
120
120
|
* // This example describes the specified launch configuration.
|
|
121
121
|
* const input = {
|
|
122
|
-
*
|
|
122
|
+
* LaunchConfigurationNames: [
|
|
123
123
|
* "my-launch-config"
|
|
124
124
|
* ]
|
|
125
125
|
* };
|
|
126
126
|
* const command = new DescribeLaunchConfigurationsCommand(input);
|
|
127
127
|
* const response = await client.send(command);
|
|
128
|
-
* /* response
|
|
128
|
+
* /* response is
|
|
129
129
|
* {
|
|
130
|
-
*
|
|
130
|
+
* LaunchConfigurations: [
|
|
131
131
|
* {
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
132
|
+
* AssociatePublicIpAddress: true,
|
|
133
|
+
* BlockDeviceMappings: [],
|
|
134
|
+
* CreatedTime: "2014-05-07T17:39:28.599Z",
|
|
135
|
+
* EbsOptimized: false,
|
|
136
|
+
* ImageId: "ami-043a5034",
|
|
137
|
+
* InstanceMonitoring: {
|
|
138
|
+
* Enabled: true
|
|
139
139
|
* },
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
140
|
+
* InstanceType: "t1.micro",
|
|
141
|
+
* LaunchConfigurationARN: "arn:aws:autoscaling:us-west-2:123456789012:launchConfiguration:98d3b196-4cf9-4e88-8ca1-8547c24ced8b:launchConfigurationName/my-launch-config",
|
|
142
|
+
* LaunchConfigurationName: "my-launch-config",
|
|
143
|
+
* SecurityGroups: [
|
|
144
144
|
* "sg-67ef0308"
|
|
145
145
|
* ]
|
|
146
146
|
* }
|
|
147
147
|
* ]
|
|
148
148
|
* }
|
|
149
149
|
* *\/
|
|
150
|
-
* // example id: autoscaling-describe-launch-configurations-1
|
|
151
150
|
* ```
|
|
152
151
|
*
|
|
152
|
+
* @public
|
|
153
153
|
*/
|
|
154
154
|
export declare class DescribeLaunchConfigurationsCommand extends DescribeLaunchConfigurationsCommand_base {
|
|
155
155
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,24 +71,24 @@ declare const DescribeLifecycleHookTypesCommand_base: {
|
|
|
71
71
|
* @throws {@link AutoScalingServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
73
73
|
*
|
|
74
|
-
*
|
|
74
|
+
*
|
|
75
75
|
* @example To describe the available types of lifecycle hooks
|
|
76
76
|
* ```javascript
|
|
77
77
|
* // This example describes the available lifecycle hook types.
|
|
78
|
-
* const input = {};
|
|
78
|
+
* const input = { /* empty *\/ };
|
|
79
79
|
* const command = new DescribeLifecycleHookTypesCommand(input);
|
|
80
80
|
* const response = await client.send(command);
|
|
81
|
-
* /* response
|
|
81
|
+
* /* response is
|
|
82
82
|
* {
|
|
83
|
-
*
|
|
83
|
+
* LifecycleHookTypes: [
|
|
84
84
|
* "autoscaling:EC2_INSTANCE_LAUNCHING",
|
|
85
85
|
* "autoscaling:EC2_INSTANCE_TERMINATING"
|
|
86
86
|
* ]
|
|
87
87
|
* }
|
|
88
88
|
* *\/
|
|
89
|
-
* // example id: autoscaling-describe-lifecycle-hook-types-1
|
|
90
89
|
* ```
|
|
91
90
|
*
|
|
91
|
+
* @public
|
|
92
92
|
*/
|
|
93
93
|
export declare class DescribeLifecycleHookTypesCommand extends DescribeLifecycleHookTypesCommand_base {
|
|
94
94
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,34 +73,34 @@ declare const DescribeLifecycleHooksCommand_base: {
|
|
|
73
73
|
* @throws {@link AutoScalingServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
75
75
|
*
|
|
76
|
-
*
|
|
76
|
+
*
|
|
77
77
|
* @example To describe your lifecycle hooks
|
|
78
78
|
* ```javascript
|
|
79
79
|
* // This example describes the lifecycle hooks for the specified Auto Scaling group.
|
|
80
80
|
* const input = {
|
|
81
|
-
*
|
|
81
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
82
82
|
* };
|
|
83
83
|
* const command = new DescribeLifecycleHooksCommand(input);
|
|
84
84
|
* const response = await client.send(command);
|
|
85
|
-
* /* response
|
|
85
|
+
* /* response is
|
|
86
86
|
* {
|
|
87
|
-
*
|
|
87
|
+
* LifecycleHooks: [
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
89
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
90
|
+
* DefaultResult: "ABANDON",
|
|
91
|
+
* GlobalTimeout: 172800,
|
|
92
|
+
* HeartbeatTimeout: 3600,
|
|
93
|
+
* LifecycleHookName: "my-lifecycle-hook",
|
|
94
|
+
* LifecycleTransition: "autoscaling:EC2_INSTANCE_LAUNCHING",
|
|
95
|
+
* NotificationTargetARN: "arn:aws:sns:us-west-2:123456789012:my-sns-topic",
|
|
96
|
+
* RoleARN: "arn:aws:iam::123456789012:role/my-auto-scaling-role"
|
|
97
97
|
* }
|
|
98
98
|
* ]
|
|
99
99
|
* }
|
|
100
100
|
* *\/
|
|
101
|
-
* // example id: autoscaling-describe-lifecycle-hooks-1
|
|
102
101
|
* ```
|
|
103
102
|
*
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
export declare class DescribeLifecycleHooksCommand extends DescribeLifecycleHooksCommand_base {
|
|
106
106
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -101,28 +101,28 @@ declare const DescribeLoadBalancerTargetGroupsCommand_base: {
|
|
|
101
101
|
* @throws {@link AutoScalingServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
103
103
|
*
|
|
104
|
-
*
|
|
104
|
+
*
|
|
105
105
|
* @example To describe the target groups for an Auto Scaling group
|
|
106
106
|
* ```javascript
|
|
107
107
|
* // This example describes the target groups attached to the specified Auto Scaling group.
|
|
108
108
|
* const input = {
|
|
109
|
-
*
|
|
109
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
110
110
|
* };
|
|
111
111
|
* const command = new DescribeLoadBalancerTargetGroupsCommand(input);
|
|
112
112
|
* const response = await client.send(command);
|
|
113
|
-
* /* response
|
|
113
|
+
* /* response is
|
|
114
114
|
* {
|
|
115
|
-
*
|
|
115
|
+
* LoadBalancerTargetGroups: [
|
|
116
116
|
* {
|
|
117
|
-
*
|
|
118
|
-
*
|
|
117
|
+
* LoadBalancerTargetGroupARN: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
118
|
+
* State: "Added"
|
|
119
119
|
* }
|
|
120
120
|
* ]
|
|
121
121
|
* }
|
|
122
122
|
* *\/
|
|
123
|
-
* // example id: autoscaling-describe-load-balancer-target-groups-1
|
|
124
123
|
* ```
|
|
125
124
|
*
|
|
125
|
+
* @public
|
|
126
126
|
*/
|
|
127
127
|
export declare class DescribeLoadBalancerTargetGroupsCommand extends DescribeLoadBalancerTargetGroupsCommand_base {
|
|
128
128
|
/** @internal type navigation helper, not in runtime. */
|