@aws-sdk/client-auto-scaling 3.774.0 → 3.777.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-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/AutoScalingClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- 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 +34 -34
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
88
|
+
* Tags: [
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
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
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
88
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
89
89
|
* };
|
|
90
90
|
* const command = new DeleteAutoScalingGroupCommand(input);
|
|
91
|
-
* await client.send(command);
|
|
92
|
-
*
|
|
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
|
-
*
|
|
100
|
-
*
|
|
101
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
102
|
+
* ForceDelete: true
|
|
101
103
|
* };
|
|
102
104
|
* const command = new DeleteAutoScalingGroupCommand(input);
|
|
103
|
-
* await client.send(command);
|
|
104
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
69
|
+
* LaunchConfigurationName: "my-launch-config"
|
|
70
70
|
* };
|
|
71
71
|
* const command = new DeleteLaunchConfigurationCommand(input);
|
|
72
|
-
* await client.send(command);
|
|
73
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
69
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
66
|
-
*
|
|
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
|
-
*
|
|
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. */
|
|
@@ -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. */
|