@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
|
@@ -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. */
|
|
@@ -99,28 +99,28 @@ declare const DescribeLoadBalancersCommand_base: {
|
|
|
99
99
|
* @throws {@link AutoScalingServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
101
101
|
*
|
|
102
|
-
*
|
|
102
|
+
*
|
|
103
103
|
* @example To describe the load balancers for an Auto Scaling group
|
|
104
104
|
* ```javascript
|
|
105
105
|
* // This example describes the load balancers attached to the specified Auto Scaling group.
|
|
106
106
|
* const input = {
|
|
107
|
-
*
|
|
107
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
108
108
|
* };
|
|
109
109
|
* const command = new DescribeLoadBalancersCommand(input);
|
|
110
110
|
* const response = await client.send(command);
|
|
111
|
-
* /* response
|
|
111
|
+
* /* response is
|
|
112
112
|
* {
|
|
113
|
-
*
|
|
113
|
+
* LoadBalancers: [
|
|
114
114
|
* {
|
|
115
|
-
*
|
|
116
|
-
*
|
|
115
|
+
* LoadBalancerName: "my-load-balancer",
|
|
116
|
+
* State: "Added"
|
|
117
117
|
* }
|
|
118
118
|
* ]
|
|
119
119
|
* }
|
|
120
120
|
* *\/
|
|
121
|
-
* // example id: autoscaling-describe-load-balancers-1
|
|
122
121
|
* ```
|
|
123
122
|
*
|
|
123
|
+
* @public
|
|
124
124
|
*/
|
|
125
125
|
export declare class DescribeLoadBalancersCommand extends DescribeLoadBalancersCommand_base {
|
|
126
126
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,51 +65,51 @@ declare const DescribeMetricCollectionTypesCommand_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 describe the Auto Scaling metric collection types
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // This example describes the available metric collection types.
|
|
72
|
-
* const input = {};
|
|
72
|
+
* const input = { /* empty *\/ };
|
|
73
73
|
* const command = new DescribeMetricCollectionTypesCommand(input);
|
|
74
74
|
* const response = await client.send(command);
|
|
75
|
-
* /* response
|
|
75
|
+
* /* response is
|
|
76
76
|
* {
|
|
77
|
-
*
|
|
77
|
+
* Granularities: [
|
|
78
78
|
* {
|
|
79
|
-
*
|
|
79
|
+
* Granularity: "1Minute"
|
|
80
80
|
* }
|
|
81
81
|
* ],
|
|
82
|
-
*
|
|
82
|
+
* Metrics: [
|
|
83
83
|
* {
|
|
84
|
-
*
|
|
84
|
+
* Metric: "GroupMinSize"
|
|
85
85
|
* },
|
|
86
86
|
* {
|
|
87
|
-
*
|
|
87
|
+
* Metric: "GroupMaxSize"
|
|
88
88
|
* },
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
90
|
+
* Metric: "GroupDesiredCapacity"
|
|
91
91
|
* },
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
93
|
+
* Metric: "GroupInServiceInstances"
|
|
94
94
|
* },
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
96
|
+
* Metric: "GroupPendingInstances"
|
|
97
97
|
* },
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
99
|
+
* Metric: "GroupTerminatingInstances"
|
|
100
100
|
* },
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
102
|
+
* Metric: "GroupStandbyInstances"
|
|
103
103
|
* },
|
|
104
104
|
* {
|
|
105
|
-
*
|
|
105
|
+
* Metric: "GroupTotalInstances"
|
|
106
106
|
* }
|
|
107
107
|
* ]
|
|
108
108
|
* }
|
|
109
109
|
* *\/
|
|
110
|
-
* // example id: autoscaling-describe-metric-collection-types-1
|
|
111
110
|
* ```
|
|
112
111
|
*
|
|
112
|
+
* @public
|
|
113
113
|
*/
|
|
114
114
|
export declare class DescribeMetricCollectionTypesCommand extends DescribeMetricCollectionTypesCommand_base {
|
|
115
115
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,36 +73,36 @@ declare const DescribeNotificationConfigurationsCommand_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 Auto Scaling notification configurations
|
|
78
78
|
* ```javascript
|
|
79
79
|
* // This example describes the notification configurations for the specified Auto Scaling group.
|
|
80
80
|
* const input = {
|
|
81
|
-
*
|
|
81
|
+
* AutoScalingGroupNames: [
|
|
82
82
|
* "my-auto-scaling-group"
|
|
83
83
|
* ]
|
|
84
84
|
* };
|
|
85
85
|
* const command = new DescribeNotificationConfigurationsCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
89
|
+
* NotificationConfigurations: [
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
91
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
92
|
+
* NotificationType: "autoscaling:TEST_NOTIFICATION",
|
|
93
|
+
* TopicARN: "arn:aws:sns:us-west-2:123456789012:my-sns-topic-2"
|
|
94
94
|
* },
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
96
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
97
|
+
* NotificationType: "autoscaling:TEST_NOTIFICATION",
|
|
98
|
+
* TopicARN: "arn:aws:sns:us-west-2:123456789012:my-sns-topic"
|
|
99
99
|
* }
|
|
100
100
|
* ]
|
|
101
101
|
* }
|
|
102
102
|
* *\/
|
|
103
|
-
* // example id: autoscaling-describe-notification-configurations-1
|
|
104
103
|
* ```
|
|
105
104
|
*
|
|
105
|
+
* @public
|
|
106
106
|
*/
|
|
107
107
|
export declare class DescribeNotificationConfigurationsCommand extends DescribeNotificationConfigurationsCommand_base {
|
|
108
108
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -226,42 +226,42 @@ declare const DescribePoliciesCommand_base: {
|
|
|
226
226
|
* @throws {@link AutoScalingServiceException}
|
|
227
227
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
228
228
|
*
|
|
229
|
-
*
|
|
229
|
+
*
|
|
230
230
|
* @example To describe scaling policies
|
|
231
231
|
* ```javascript
|
|
232
232
|
* // This example describes the policies for the specified Auto Scaling group.
|
|
233
233
|
* const input = {
|
|
234
|
-
*
|
|
234
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
235
235
|
* };
|
|
236
236
|
* const command = new DescribePoliciesCommand(input);
|
|
237
237
|
* const response = await client.send(command);
|
|
238
|
-
* /* response
|
|
238
|
+
* /* response is
|
|
239
239
|
* {
|
|
240
|
-
*
|
|
240
|
+
* ScalingPolicies: [
|
|
241
241
|
* {
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
242
|
+
* AdjustmentType: "ChangeInCapacity",
|
|
243
|
+
* Alarms: [],
|
|
244
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
245
|
+
* PolicyARN: "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2233f3d7-6290-403b-b632-93c553560106:autoScalingGroupName/my-auto-scaling-group:policyName/ScaleIn",
|
|
246
|
+
* PolicyName: "ScaleIn",
|
|
247
|
+
* ScalingAdjustment: -1
|
|
248
248
|
* },
|
|
249
249
|
* {
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
250
|
+
* AdjustmentType: "PercentChangeInCapacity",
|
|
251
|
+
* Alarms: [],
|
|
252
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
253
|
+
* Cooldown: 60,
|
|
254
|
+
* MinAdjustmentStep: 2,
|
|
255
|
+
* PolicyARN: "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2b435159-cf77-4e89-8c0e-d63b497baad7:autoScalingGroupName/my-auto-scaling-group:policyName/ScalePercentChange",
|
|
256
|
+
* PolicyName: "ScalePercentChange",
|
|
257
|
+
* ScalingAdjustment: 25
|
|
258
258
|
* }
|
|
259
259
|
* ]
|
|
260
260
|
* }
|
|
261
261
|
* *\/
|
|
262
|
-
* // example id: autoscaling-describe-policies-1
|
|
263
262
|
* ```
|
|
264
263
|
*
|
|
264
|
+
* @public
|
|
265
265
|
*/
|
|
266
266
|
export declare class DescribePoliciesCommand extends DescribePoliciesCommand_base {
|
|
267
267
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -91,36 +91,36 @@ declare const DescribeScalingActivitiesCommand_base: {
|
|
|
91
91
|
* @throws {@link AutoScalingServiceException}
|
|
92
92
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
93
93
|
*
|
|
94
|
-
*
|
|
94
|
+
*
|
|
95
95
|
* @example To describe the scaling activities for an Auto Scaling group
|
|
96
96
|
* ```javascript
|
|
97
97
|
* // This example describes the scaling activities for the specified Auto Scaling group.
|
|
98
98
|
* const input = {
|
|
99
|
-
*
|
|
99
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
100
100
|
* };
|
|
101
101
|
* const command = new DescribeScalingActivitiesCommand(input);
|
|
102
102
|
* const response = await client.send(command);
|
|
103
|
-
* /* response
|
|
103
|
+
* /* response is
|
|
104
104
|
* {
|
|
105
|
-
*
|
|
105
|
+
* Activities: [
|
|
106
106
|
* {
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
107
|
+
* ActivityId: "f9f2d65b-f1f2-43e7-b46d-d86756459699",
|
|
108
|
+
* AutoScalingGroupARN: "arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
|
|
109
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
110
|
+
* Cause: "At 2013-08-19T20:53:25Z a user request created an AutoScalingGroup changing the desired capacity from 0 to 1. At 2013-08-19T20:53:29Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.",
|
|
111
|
+
* Description: "Launching a new EC2 instance: i-4ba0837f",
|
|
112
|
+
* Details: "details",
|
|
113
|
+
* EndTime: "2013-08-19T20:54:02Z",
|
|
114
|
+
* Progress: 100,
|
|
115
|
+
* StartTime: "2013-08-19T20:53:29.930Z",
|
|
116
|
+
* StatusCode: "Successful"
|
|
117
117
|
* }
|
|
118
118
|
* ]
|
|
119
119
|
* }
|
|
120
120
|
* *\/
|
|
121
|
-
* // example id: autoscaling-describe-scaling-activities-1
|
|
122
121
|
* ```
|
|
123
122
|
*
|
|
123
|
+
* @public
|
|
124
124
|
*/
|
|
125
125
|
export declare class DescribeScalingActivitiesCommand extends DescribeScalingActivitiesCommand_base {
|
|
126
126
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -61,46 +61,46 @@ declare const DescribeScalingProcessTypesCommand_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 describe the Auto Scaling process types
|
|
66
66
|
* ```javascript
|
|
67
67
|
* // This example describes the Auto Scaling process types.
|
|
68
|
-
* const input = {};
|
|
68
|
+
* const input = { /* empty *\/ };
|
|
69
69
|
* const command = new DescribeScalingProcessTypesCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
71
|
-
* /* response
|
|
71
|
+
* /* response is
|
|
72
72
|
* {
|
|
73
|
-
*
|
|
73
|
+
* Processes: [
|
|
74
74
|
* {
|
|
75
|
-
*
|
|
75
|
+
* ProcessName: "AZRebalance"
|
|
76
76
|
* },
|
|
77
77
|
* {
|
|
78
|
-
*
|
|
78
|
+
* ProcessName: "AddToLoadBalancer"
|
|
79
79
|
* },
|
|
80
80
|
* {
|
|
81
|
-
*
|
|
81
|
+
* ProcessName: "AlarmNotification"
|
|
82
82
|
* },
|
|
83
83
|
* {
|
|
84
|
-
*
|
|
84
|
+
* ProcessName: "HealthCheck"
|
|
85
85
|
* },
|
|
86
86
|
* {
|
|
87
|
-
*
|
|
87
|
+
* ProcessName: "Launch"
|
|
88
88
|
* },
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
90
|
+
* ProcessName: "ReplaceUnhealthy"
|
|
91
91
|
* },
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
93
|
+
* ProcessName: "ScheduledActions"
|
|
94
94
|
* },
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
96
|
+
* ProcessName: "Terminate"
|
|
97
97
|
* }
|
|
98
98
|
* ]
|
|
99
99
|
* }
|
|
100
100
|
* *\/
|
|
101
|
-
* // example id: autoscaling-describe-scaling-process-types-1
|
|
102
101
|
* ```
|
|
103
102
|
*
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
export declare class DescribeScalingProcessTypesCommand extends DescribeScalingProcessTypesCommand_base {
|
|
106
106
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -86,35 +86,35 @@ declare const DescribeScheduledActionsCommand_base: {
|
|
|
86
86
|
* @throws {@link AutoScalingServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
88
88
|
*
|
|
89
|
-
*
|
|
89
|
+
*
|
|
90
90
|
* @example To describe scheduled actions
|
|
91
91
|
* ```javascript
|
|
92
92
|
* // This example describes the scheduled actions for the specified Auto Scaling group.
|
|
93
93
|
* const input = {
|
|
94
|
-
*
|
|
94
|
+
* AutoScalingGroupName: "my-auto-scaling-group"
|
|
95
95
|
* };
|
|
96
96
|
* const command = new DescribeScheduledActionsCommand(input);
|
|
97
97
|
* const response = await client.send(command);
|
|
98
|
-
* /* response
|
|
98
|
+
* /* response is
|
|
99
99
|
* {
|
|
100
|
-
*
|
|
100
|
+
* ScheduledUpdateGroupActions: [
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
102
|
+
* AutoScalingGroupName: "my-auto-scaling-group",
|
|
103
|
+
* DesiredCapacity: 4,
|
|
104
|
+
* MaxSize: 6,
|
|
105
|
+
* MinSize: 2,
|
|
106
|
+
* Recurrence: "30 0 1 12 0",
|
|
107
|
+
* ScheduledActionARN: "arn:aws:autoscaling:us-west-2:123456789012:scheduledUpdateGroupAction:8e86b655-b2e6-4410-8f29-b4f094d6871c:autoScalingGroupName/my-auto-scaling-group:scheduledActionName/my-scheduled-action",
|
|
108
|
+
* ScheduledActionName: "my-scheduled-action",
|
|
109
|
+
* StartTime: "2016-12-01T00:30:00Z",
|
|
110
|
+
* Time: "2016-12-01T00:30:00Z"
|
|
111
111
|
* }
|
|
112
112
|
* ]
|
|
113
113
|
* }
|
|
114
114
|
* *\/
|
|
115
|
-
* // example id: autoscaling-describe-scheduled-actions-1
|
|
116
115
|
* ```
|
|
117
116
|
*
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
export declare class DescribeScheduledActionsCommand extends DescribeScheduledActionsCommand_base {
|
|
120
120
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -87,15 +87,15 @@ declare const DescribeTagsCommand_base: {
|
|
|
87
87
|
* @throws {@link AutoScalingServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from AutoScaling service.</p>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
*
|
|
91
91
|
* @example To describe tags
|
|
92
92
|
* ```javascript
|
|
93
93
|
* // This example describes the tags for the specified Auto Scaling group.
|
|
94
94
|
* const input = {
|
|
95
|
-
*
|
|
95
|
+
* Filters: [
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
97
|
+
* Name: "auto-scaling-group",
|
|
98
|
+
* Values: [
|
|
99
99
|
* "my-auto-scaling-group"
|
|
100
100
|
* ]
|
|
101
101
|
* }
|
|
@@ -103,29 +103,29 @@ declare const DescribeTagsCommand_base: {
|
|
|
103
103
|
* };
|
|
104
104
|
* const command = new DescribeTagsCommand(input);
|
|
105
105
|
* const response = await client.send(command);
|
|
106
|
-
* /* response
|
|
106
|
+
* /* response is
|
|
107
107
|
* {
|
|
108
|
-
*
|
|
108
|
+
* Tags: [
|
|
109
109
|
* {
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
110
|
+
* Key: "Dept",
|
|
111
|
+
* PropagateAtLaunch: true,
|
|
112
|
+
* ResourceId: "my-auto-scaling-group",
|
|
113
|
+
* ResourceType: "auto-scaling-group",
|
|
114
|
+
* Value: "Research"
|
|
115
115
|
* },
|
|
116
116
|
* {
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
117
|
+
* Key: "Role",
|
|
118
|
+
* PropagateAtLaunch: true,
|
|
119
|
+
* ResourceId: "my-auto-scaling-group",
|
|
120
|
+
* ResourceType: "auto-scaling-group",
|
|
121
|
+
* Value: "WebServer"
|
|
122
122
|
* }
|
|
123
123
|
* ]
|
|
124
124
|
* }
|
|
125
125
|
* *\/
|
|
126
|
-
* // example id: autoscaling-describe-tags-1
|
|
127
126
|
* ```
|
|
128
127
|
*
|
|
128
|
+
* @public
|
|
129
129
|
*/
|
|
130
130
|
export declare class DescribeTagsCommand extends DescribeTagsCommand_base {
|
|
131
131
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -61,16 +61,16 @@ declare const DescribeTerminationPolicyTypesCommand_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 describe termination policy types
|
|
66
66
|
* ```javascript
|
|
67
67
|
* // This example describes the available termination policy types.
|
|
68
|
-
* const input = {};
|
|
68
|
+
* const input = { /* empty *\/ };
|
|
69
69
|
* const command = new DescribeTerminationPolicyTypesCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
71
|
-
* /* response
|
|
71
|
+
* /* response is
|
|
72
72
|
* {
|
|
73
|
-
*
|
|
73
|
+
* TerminationPolicyTypes: [
|
|
74
74
|
* "ClosestToNextInstanceHour",
|
|
75
75
|
* "Default",
|
|
76
76
|
* "NewestInstance",
|
|
@@ -79,9 +79,9 @@ declare const DescribeTerminationPolicyTypesCommand_base: {
|
|
|
79
79
|
* ]
|
|
80
80
|
* }
|
|
81
81
|
* *\/
|
|
82
|
-
* // example id: autoscaling-describe-termination-policy-types-1
|
|
83
82
|
* ```
|
|
84
83
|
*
|
|
84
|
+
* @public
|
|
85
85
|
*/
|
|
86
86
|
export declare class DescribeTerminationPolicyTypesCommand extends DescribeTerminationPolicyTypesCommand_base {
|
|
87
87
|
/** @internal type navigation helper, not in runtime. */
|