@aws-sdk/client-auto-scaling 3.312.0 → 3.316.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/AutoScaling.js +69 -910
- package/dist-cjs/protocols/Aws_query.js +131 -195
- package/dist-es/AutoScaling.js +69 -910
- package/dist-es/protocols/Aws_query.js +132 -196
- package/dist-types/AutoScaling.d.ts +76 -764
- package/dist-types/ts3.4/AutoScaling.d.ts +4 -1
- package/package.json +6 -6
package/dist-cjs/AutoScaling.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AutoScaling = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AutoScalingClient_1 = require("./AutoScalingClient");
|
|
5
6
|
const AttachInstancesCommand_1 = require("./commands/AttachInstancesCommand");
|
|
6
7
|
const AttachLoadBalancersCommand_1 = require("./commands/AttachLoadBalancersCommand");
|
|
@@ -67,916 +68,74 @@ const StartInstanceRefreshCommand_1 = require("./commands/StartInstanceRefreshCo
|
|
|
67
68
|
const SuspendProcessesCommand_1 = require("./commands/SuspendProcessesCommand");
|
|
68
69
|
const TerminateInstanceInAutoScalingGroupCommand_1 = require("./commands/TerminateInstanceInAutoScalingGroupCommand");
|
|
69
70
|
const UpdateAutoScalingGroupCommand_1 = require("./commands/UpdateAutoScalingGroupCommand");
|
|
71
|
+
const commands = {
|
|
72
|
+
AttachInstancesCommand: AttachInstancesCommand_1.AttachInstancesCommand,
|
|
73
|
+
AttachLoadBalancersCommand: AttachLoadBalancersCommand_1.AttachLoadBalancersCommand,
|
|
74
|
+
AttachLoadBalancerTargetGroupsCommand: AttachLoadBalancerTargetGroupsCommand_1.AttachLoadBalancerTargetGroupsCommand,
|
|
75
|
+
AttachTrafficSourcesCommand: AttachTrafficSourcesCommand_1.AttachTrafficSourcesCommand,
|
|
76
|
+
BatchDeleteScheduledActionCommand: BatchDeleteScheduledActionCommand_1.BatchDeleteScheduledActionCommand,
|
|
77
|
+
BatchPutScheduledUpdateGroupActionCommand: BatchPutScheduledUpdateGroupActionCommand_1.BatchPutScheduledUpdateGroupActionCommand,
|
|
78
|
+
CancelInstanceRefreshCommand: CancelInstanceRefreshCommand_1.CancelInstanceRefreshCommand,
|
|
79
|
+
CompleteLifecycleActionCommand: CompleteLifecycleActionCommand_1.CompleteLifecycleActionCommand,
|
|
80
|
+
CreateAutoScalingGroupCommand: CreateAutoScalingGroupCommand_1.CreateAutoScalingGroupCommand,
|
|
81
|
+
CreateLaunchConfigurationCommand: CreateLaunchConfigurationCommand_1.CreateLaunchConfigurationCommand,
|
|
82
|
+
CreateOrUpdateTagsCommand: CreateOrUpdateTagsCommand_1.CreateOrUpdateTagsCommand,
|
|
83
|
+
DeleteAutoScalingGroupCommand: DeleteAutoScalingGroupCommand_1.DeleteAutoScalingGroupCommand,
|
|
84
|
+
DeleteLaunchConfigurationCommand: DeleteLaunchConfigurationCommand_1.DeleteLaunchConfigurationCommand,
|
|
85
|
+
DeleteLifecycleHookCommand: DeleteLifecycleHookCommand_1.DeleteLifecycleHookCommand,
|
|
86
|
+
DeleteNotificationConfigurationCommand: DeleteNotificationConfigurationCommand_1.DeleteNotificationConfigurationCommand,
|
|
87
|
+
DeletePolicyCommand: DeletePolicyCommand_1.DeletePolicyCommand,
|
|
88
|
+
DeleteScheduledActionCommand: DeleteScheduledActionCommand_1.DeleteScheduledActionCommand,
|
|
89
|
+
DeleteTagsCommand: DeleteTagsCommand_1.DeleteTagsCommand,
|
|
90
|
+
DeleteWarmPoolCommand: DeleteWarmPoolCommand_1.DeleteWarmPoolCommand,
|
|
91
|
+
DescribeAccountLimitsCommand: DescribeAccountLimitsCommand_1.DescribeAccountLimitsCommand,
|
|
92
|
+
DescribeAdjustmentTypesCommand: DescribeAdjustmentTypesCommand_1.DescribeAdjustmentTypesCommand,
|
|
93
|
+
DescribeAutoScalingGroupsCommand: DescribeAutoScalingGroupsCommand_1.DescribeAutoScalingGroupsCommand,
|
|
94
|
+
DescribeAutoScalingInstancesCommand: DescribeAutoScalingInstancesCommand_1.DescribeAutoScalingInstancesCommand,
|
|
95
|
+
DescribeAutoScalingNotificationTypesCommand: DescribeAutoScalingNotificationTypesCommand_1.DescribeAutoScalingNotificationTypesCommand,
|
|
96
|
+
DescribeInstanceRefreshesCommand: DescribeInstanceRefreshesCommand_1.DescribeInstanceRefreshesCommand,
|
|
97
|
+
DescribeLaunchConfigurationsCommand: DescribeLaunchConfigurationsCommand_1.DescribeLaunchConfigurationsCommand,
|
|
98
|
+
DescribeLifecycleHooksCommand: DescribeLifecycleHooksCommand_1.DescribeLifecycleHooksCommand,
|
|
99
|
+
DescribeLifecycleHookTypesCommand: DescribeLifecycleHookTypesCommand_1.DescribeLifecycleHookTypesCommand,
|
|
100
|
+
DescribeLoadBalancersCommand: DescribeLoadBalancersCommand_1.DescribeLoadBalancersCommand,
|
|
101
|
+
DescribeLoadBalancerTargetGroupsCommand: DescribeLoadBalancerTargetGroupsCommand_1.DescribeLoadBalancerTargetGroupsCommand,
|
|
102
|
+
DescribeMetricCollectionTypesCommand: DescribeMetricCollectionTypesCommand_1.DescribeMetricCollectionTypesCommand,
|
|
103
|
+
DescribeNotificationConfigurationsCommand: DescribeNotificationConfigurationsCommand_1.DescribeNotificationConfigurationsCommand,
|
|
104
|
+
DescribePoliciesCommand: DescribePoliciesCommand_1.DescribePoliciesCommand,
|
|
105
|
+
DescribeScalingActivitiesCommand: DescribeScalingActivitiesCommand_1.DescribeScalingActivitiesCommand,
|
|
106
|
+
DescribeScalingProcessTypesCommand: DescribeScalingProcessTypesCommand_1.DescribeScalingProcessTypesCommand,
|
|
107
|
+
DescribeScheduledActionsCommand: DescribeScheduledActionsCommand_1.DescribeScheduledActionsCommand,
|
|
108
|
+
DescribeTagsCommand: DescribeTagsCommand_1.DescribeTagsCommand,
|
|
109
|
+
DescribeTerminationPolicyTypesCommand: DescribeTerminationPolicyTypesCommand_1.DescribeTerminationPolicyTypesCommand,
|
|
110
|
+
DescribeTrafficSourcesCommand: DescribeTrafficSourcesCommand_1.DescribeTrafficSourcesCommand,
|
|
111
|
+
DescribeWarmPoolCommand: DescribeWarmPoolCommand_1.DescribeWarmPoolCommand,
|
|
112
|
+
DetachInstancesCommand: DetachInstancesCommand_1.DetachInstancesCommand,
|
|
113
|
+
DetachLoadBalancersCommand: DetachLoadBalancersCommand_1.DetachLoadBalancersCommand,
|
|
114
|
+
DetachLoadBalancerTargetGroupsCommand: DetachLoadBalancerTargetGroupsCommand_1.DetachLoadBalancerTargetGroupsCommand,
|
|
115
|
+
DetachTrafficSourcesCommand: DetachTrafficSourcesCommand_1.DetachTrafficSourcesCommand,
|
|
116
|
+
DisableMetricsCollectionCommand: DisableMetricsCollectionCommand_1.DisableMetricsCollectionCommand,
|
|
117
|
+
EnableMetricsCollectionCommand: EnableMetricsCollectionCommand_1.EnableMetricsCollectionCommand,
|
|
118
|
+
EnterStandbyCommand: EnterStandbyCommand_1.EnterStandbyCommand,
|
|
119
|
+
ExecutePolicyCommand: ExecutePolicyCommand_1.ExecutePolicyCommand,
|
|
120
|
+
ExitStandbyCommand: ExitStandbyCommand_1.ExitStandbyCommand,
|
|
121
|
+
GetPredictiveScalingForecastCommand: GetPredictiveScalingForecastCommand_1.GetPredictiveScalingForecastCommand,
|
|
122
|
+
PutLifecycleHookCommand: PutLifecycleHookCommand_1.PutLifecycleHookCommand,
|
|
123
|
+
PutNotificationConfigurationCommand: PutNotificationConfigurationCommand_1.PutNotificationConfigurationCommand,
|
|
124
|
+
PutScalingPolicyCommand: PutScalingPolicyCommand_1.PutScalingPolicyCommand,
|
|
125
|
+
PutScheduledUpdateGroupActionCommand: PutScheduledUpdateGroupActionCommand_1.PutScheduledUpdateGroupActionCommand,
|
|
126
|
+
PutWarmPoolCommand: PutWarmPoolCommand_1.PutWarmPoolCommand,
|
|
127
|
+
RecordLifecycleActionHeartbeatCommand: RecordLifecycleActionHeartbeatCommand_1.RecordLifecycleActionHeartbeatCommand,
|
|
128
|
+
ResumeProcessesCommand: ResumeProcessesCommand_1.ResumeProcessesCommand,
|
|
129
|
+
RollbackInstanceRefreshCommand: RollbackInstanceRefreshCommand_1.RollbackInstanceRefreshCommand,
|
|
130
|
+
SetDesiredCapacityCommand: SetDesiredCapacityCommand_1.SetDesiredCapacityCommand,
|
|
131
|
+
SetInstanceHealthCommand: SetInstanceHealthCommand_1.SetInstanceHealthCommand,
|
|
132
|
+
SetInstanceProtectionCommand: SetInstanceProtectionCommand_1.SetInstanceProtectionCommand,
|
|
133
|
+
StartInstanceRefreshCommand: StartInstanceRefreshCommand_1.StartInstanceRefreshCommand,
|
|
134
|
+
SuspendProcessesCommand: SuspendProcessesCommand_1.SuspendProcessesCommand,
|
|
135
|
+
TerminateInstanceInAutoScalingGroupCommand: TerminateInstanceInAutoScalingGroupCommand_1.TerminateInstanceInAutoScalingGroupCommand,
|
|
136
|
+
UpdateAutoScalingGroupCommand: UpdateAutoScalingGroupCommand_1.UpdateAutoScalingGroupCommand,
|
|
137
|
+
};
|
|
70
138
|
class AutoScaling extends AutoScalingClient_1.AutoScalingClient {
|
|
71
|
-
attachInstances(args, optionsOrCb, cb) {
|
|
72
|
-
const command = new AttachInstancesCommand_1.AttachInstancesCommand(args);
|
|
73
|
-
if (typeof optionsOrCb === "function") {
|
|
74
|
-
this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
else if (typeof cb === "function") {
|
|
77
|
-
if (typeof optionsOrCb !== "object")
|
|
78
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
79
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
return this.send(command, optionsOrCb);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
attachLoadBalancers(args, optionsOrCb, cb) {
|
|
86
|
-
const command = new AttachLoadBalancersCommand_1.AttachLoadBalancersCommand(args);
|
|
87
|
-
if (typeof optionsOrCb === "function") {
|
|
88
|
-
this.send(command, optionsOrCb);
|
|
89
|
-
}
|
|
90
|
-
else if (typeof cb === "function") {
|
|
91
|
-
if (typeof optionsOrCb !== "object")
|
|
92
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
93
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
return this.send(command, optionsOrCb);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
attachLoadBalancerTargetGroups(args, optionsOrCb, cb) {
|
|
100
|
-
const command = new AttachLoadBalancerTargetGroupsCommand_1.AttachLoadBalancerTargetGroupsCommand(args);
|
|
101
|
-
if (typeof optionsOrCb === "function") {
|
|
102
|
-
this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
else if (typeof cb === "function") {
|
|
105
|
-
if (typeof optionsOrCb !== "object")
|
|
106
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
107
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
return this.send(command, optionsOrCb);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
attachTrafficSources(args, optionsOrCb, cb) {
|
|
114
|
-
const command = new AttachTrafficSourcesCommand_1.AttachTrafficSourcesCommand(args);
|
|
115
|
-
if (typeof optionsOrCb === "function") {
|
|
116
|
-
this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
else if (typeof cb === "function") {
|
|
119
|
-
if (typeof optionsOrCb !== "object")
|
|
120
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
121
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
return this.send(command, optionsOrCb);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
batchDeleteScheduledAction(args, optionsOrCb, cb) {
|
|
128
|
-
const command = new BatchDeleteScheduledActionCommand_1.BatchDeleteScheduledActionCommand(args);
|
|
129
|
-
if (typeof optionsOrCb === "function") {
|
|
130
|
-
this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
else if (typeof cb === "function") {
|
|
133
|
-
if (typeof optionsOrCb !== "object")
|
|
134
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
135
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
return this.send(command, optionsOrCb);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
batchPutScheduledUpdateGroupAction(args, optionsOrCb, cb) {
|
|
142
|
-
const command = new BatchPutScheduledUpdateGroupActionCommand_1.BatchPutScheduledUpdateGroupActionCommand(args);
|
|
143
|
-
if (typeof optionsOrCb === "function") {
|
|
144
|
-
this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
else if (typeof cb === "function") {
|
|
147
|
-
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
149
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
return this.send(command, optionsOrCb);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
cancelInstanceRefresh(args, optionsOrCb, cb) {
|
|
156
|
-
const command = new CancelInstanceRefreshCommand_1.CancelInstanceRefreshCommand(args);
|
|
157
|
-
if (typeof optionsOrCb === "function") {
|
|
158
|
-
this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
else if (typeof cb === "function") {
|
|
161
|
-
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
163
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
return this.send(command, optionsOrCb);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
completeLifecycleAction(args, optionsOrCb, cb) {
|
|
170
|
-
const command = new CompleteLifecycleActionCommand_1.CompleteLifecycleActionCommand(args);
|
|
171
|
-
if (typeof optionsOrCb === "function") {
|
|
172
|
-
this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
else if (typeof cb === "function") {
|
|
175
|
-
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
return this.send(command, optionsOrCb);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
createAutoScalingGroup(args, optionsOrCb, cb) {
|
|
184
|
-
const command = new CreateAutoScalingGroupCommand_1.CreateAutoScalingGroupCommand(args);
|
|
185
|
-
if (typeof optionsOrCb === "function") {
|
|
186
|
-
this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
else if (typeof cb === "function") {
|
|
189
|
-
if (typeof optionsOrCb !== "object")
|
|
190
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
191
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
192
|
-
}
|
|
193
|
-
else {
|
|
194
|
-
return this.send(command, optionsOrCb);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
createLaunchConfiguration(args, optionsOrCb, cb) {
|
|
198
|
-
const command = new CreateLaunchConfigurationCommand_1.CreateLaunchConfigurationCommand(args);
|
|
199
|
-
if (typeof optionsOrCb === "function") {
|
|
200
|
-
this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
else if (typeof cb === "function") {
|
|
203
|
-
if (typeof optionsOrCb !== "object")
|
|
204
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
205
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
return this.send(command, optionsOrCb);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
createOrUpdateTags(args, optionsOrCb, cb) {
|
|
212
|
-
const command = new CreateOrUpdateTagsCommand_1.CreateOrUpdateTagsCommand(args);
|
|
213
|
-
if (typeof optionsOrCb === "function") {
|
|
214
|
-
this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
else if (typeof cb === "function") {
|
|
217
|
-
if (typeof optionsOrCb !== "object")
|
|
218
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
219
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
220
|
-
}
|
|
221
|
-
else {
|
|
222
|
-
return this.send(command, optionsOrCb);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
deleteAutoScalingGroup(args, optionsOrCb, cb) {
|
|
226
|
-
const command = new DeleteAutoScalingGroupCommand_1.DeleteAutoScalingGroupCommand(args);
|
|
227
|
-
if (typeof optionsOrCb === "function") {
|
|
228
|
-
this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
else if (typeof cb === "function") {
|
|
231
|
-
if (typeof optionsOrCb !== "object")
|
|
232
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
233
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
234
|
-
}
|
|
235
|
-
else {
|
|
236
|
-
return this.send(command, optionsOrCb);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
deleteLaunchConfiguration(args, optionsOrCb, cb) {
|
|
240
|
-
const command = new DeleteLaunchConfigurationCommand_1.DeleteLaunchConfigurationCommand(args);
|
|
241
|
-
if (typeof optionsOrCb === "function") {
|
|
242
|
-
this.send(command, optionsOrCb);
|
|
243
|
-
}
|
|
244
|
-
else if (typeof cb === "function") {
|
|
245
|
-
if (typeof optionsOrCb !== "object")
|
|
246
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
247
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
return this.send(command, optionsOrCb);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
deleteLifecycleHook(args, optionsOrCb, cb) {
|
|
254
|
-
const command = new DeleteLifecycleHookCommand_1.DeleteLifecycleHookCommand(args);
|
|
255
|
-
if (typeof optionsOrCb === "function") {
|
|
256
|
-
this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
else if (typeof cb === "function") {
|
|
259
|
-
if (typeof optionsOrCb !== "object")
|
|
260
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
261
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
return this.send(command, optionsOrCb);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
deleteNotificationConfiguration(args, optionsOrCb, cb) {
|
|
268
|
-
const command = new DeleteNotificationConfigurationCommand_1.DeleteNotificationConfigurationCommand(args);
|
|
269
|
-
if (typeof optionsOrCb === "function") {
|
|
270
|
-
this.send(command, optionsOrCb);
|
|
271
|
-
}
|
|
272
|
-
else if (typeof cb === "function") {
|
|
273
|
-
if (typeof optionsOrCb !== "object")
|
|
274
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
275
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
276
|
-
}
|
|
277
|
-
else {
|
|
278
|
-
return this.send(command, optionsOrCb);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
deletePolicy(args, optionsOrCb, cb) {
|
|
282
|
-
const command = new DeletePolicyCommand_1.DeletePolicyCommand(args);
|
|
283
|
-
if (typeof optionsOrCb === "function") {
|
|
284
|
-
this.send(command, optionsOrCb);
|
|
285
|
-
}
|
|
286
|
-
else if (typeof cb === "function") {
|
|
287
|
-
if (typeof optionsOrCb !== "object")
|
|
288
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
289
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
290
|
-
}
|
|
291
|
-
else {
|
|
292
|
-
return this.send(command, optionsOrCb);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
deleteScheduledAction(args, optionsOrCb, cb) {
|
|
296
|
-
const command = new DeleteScheduledActionCommand_1.DeleteScheduledActionCommand(args);
|
|
297
|
-
if (typeof optionsOrCb === "function") {
|
|
298
|
-
this.send(command, optionsOrCb);
|
|
299
|
-
}
|
|
300
|
-
else if (typeof cb === "function") {
|
|
301
|
-
if (typeof optionsOrCb !== "object")
|
|
302
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
303
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
304
|
-
}
|
|
305
|
-
else {
|
|
306
|
-
return this.send(command, optionsOrCb);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
deleteTags(args, optionsOrCb, cb) {
|
|
310
|
-
const command = new DeleteTagsCommand_1.DeleteTagsCommand(args);
|
|
311
|
-
if (typeof optionsOrCb === "function") {
|
|
312
|
-
this.send(command, optionsOrCb);
|
|
313
|
-
}
|
|
314
|
-
else if (typeof cb === "function") {
|
|
315
|
-
if (typeof optionsOrCb !== "object")
|
|
316
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
317
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
318
|
-
}
|
|
319
|
-
else {
|
|
320
|
-
return this.send(command, optionsOrCb);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
deleteWarmPool(args, optionsOrCb, cb) {
|
|
324
|
-
const command = new DeleteWarmPoolCommand_1.DeleteWarmPoolCommand(args);
|
|
325
|
-
if (typeof optionsOrCb === "function") {
|
|
326
|
-
this.send(command, optionsOrCb);
|
|
327
|
-
}
|
|
328
|
-
else if (typeof cb === "function") {
|
|
329
|
-
if (typeof optionsOrCb !== "object")
|
|
330
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
-
}
|
|
333
|
-
else {
|
|
334
|
-
return this.send(command, optionsOrCb);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
describeAccountLimits(args, optionsOrCb, cb) {
|
|
338
|
-
const command = new DescribeAccountLimitsCommand_1.DescribeAccountLimitsCommand(args);
|
|
339
|
-
if (typeof optionsOrCb === "function") {
|
|
340
|
-
this.send(command, optionsOrCb);
|
|
341
|
-
}
|
|
342
|
-
else if (typeof cb === "function") {
|
|
343
|
-
if (typeof optionsOrCb !== "object")
|
|
344
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
345
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
346
|
-
}
|
|
347
|
-
else {
|
|
348
|
-
return this.send(command, optionsOrCb);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
describeAdjustmentTypes(args, optionsOrCb, cb) {
|
|
352
|
-
const command = new DescribeAdjustmentTypesCommand_1.DescribeAdjustmentTypesCommand(args);
|
|
353
|
-
if (typeof optionsOrCb === "function") {
|
|
354
|
-
this.send(command, optionsOrCb);
|
|
355
|
-
}
|
|
356
|
-
else if (typeof cb === "function") {
|
|
357
|
-
if (typeof optionsOrCb !== "object")
|
|
358
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
359
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
360
|
-
}
|
|
361
|
-
else {
|
|
362
|
-
return this.send(command, optionsOrCb);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
describeAutoScalingGroups(args, optionsOrCb, cb) {
|
|
366
|
-
const command = new DescribeAutoScalingGroupsCommand_1.DescribeAutoScalingGroupsCommand(args);
|
|
367
|
-
if (typeof optionsOrCb === "function") {
|
|
368
|
-
this.send(command, optionsOrCb);
|
|
369
|
-
}
|
|
370
|
-
else if (typeof cb === "function") {
|
|
371
|
-
if (typeof optionsOrCb !== "object")
|
|
372
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
373
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
374
|
-
}
|
|
375
|
-
else {
|
|
376
|
-
return this.send(command, optionsOrCb);
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
describeAutoScalingInstances(args, optionsOrCb, cb) {
|
|
380
|
-
const command = new DescribeAutoScalingInstancesCommand_1.DescribeAutoScalingInstancesCommand(args);
|
|
381
|
-
if (typeof optionsOrCb === "function") {
|
|
382
|
-
this.send(command, optionsOrCb);
|
|
383
|
-
}
|
|
384
|
-
else if (typeof cb === "function") {
|
|
385
|
-
if (typeof optionsOrCb !== "object")
|
|
386
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
387
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
388
|
-
}
|
|
389
|
-
else {
|
|
390
|
-
return this.send(command, optionsOrCb);
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
describeAutoScalingNotificationTypes(args, optionsOrCb, cb) {
|
|
394
|
-
const command = new DescribeAutoScalingNotificationTypesCommand_1.DescribeAutoScalingNotificationTypesCommand(args);
|
|
395
|
-
if (typeof optionsOrCb === "function") {
|
|
396
|
-
this.send(command, optionsOrCb);
|
|
397
|
-
}
|
|
398
|
-
else if (typeof cb === "function") {
|
|
399
|
-
if (typeof optionsOrCb !== "object")
|
|
400
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
401
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
402
|
-
}
|
|
403
|
-
else {
|
|
404
|
-
return this.send(command, optionsOrCb);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
describeInstanceRefreshes(args, optionsOrCb, cb) {
|
|
408
|
-
const command = new DescribeInstanceRefreshesCommand_1.DescribeInstanceRefreshesCommand(args);
|
|
409
|
-
if (typeof optionsOrCb === "function") {
|
|
410
|
-
this.send(command, optionsOrCb);
|
|
411
|
-
}
|
|
412
|
-
else if (typeof cb === "function") {
|
|
413
|
-
if (typeof optionsOrCb !== "object")
|
|
414
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
415
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
416
|
-
}
|
|
417
|
-
else {
|
|
418
|
-
return this.send(command, optionsOrCb);
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
describeLaunchConfigurations(args, optionsOrCb, cb) {
|
|
422
|
-
const command = new DescribeLaunchConfigurationsCommand_1.DescribeLaunchConfigurationsCommand(args);
|
|
423
|
-
if (typeof optionsOrCb === "function") {
|
|
424
|
-
this.send(command, optionsOrCb);
|
|
425
|
-
}
|
|
426
|
-
else if (typeof cb === "function") {
|
|
427
|
-
if (typeof optionsOrCb !== "object")
|
|
428
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
429
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
430
|
-
}
|
|
431
|
-
else {
|
|
432
|
-
return this.send(command, optionsOrCb);
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
describeLifecycleHooks(args, optionsOrCb, cb) {
|
|
436
|
-
const command = new DescribeLifecycleHooksCommand_1.DescribeLifecycleHooksCommand(args);
|
|
437
|
-
if (typeof optionsOrCb === "function") {
|
|
438
|
-
this.send(command, optionsOrCb);
|
|
439
|
-
}
|
|
440
|
-
else if (typeof cb === "function") {
|
|
441
|
-
if (typeof optionsOrCb !== "object")
|
|
442
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
443
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
444
|
-
}
|
|
445
|
-
else {
|
|
446
|
-
return this.send(command, optionsOrCb);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
describeLifecycleHookTypes(args, optionsOrCb, cb) {
|
|
450
|
-
const command = new DescribeLifecycleHookTypesCommand_1.DescribeLifecycleHookTypesCommand(args);
|
|
451
|
-
if (typeof optionsOrCb === "function") {
|
|
452
|
-
this.send(command, optionsOrCb);
|
|
453
|
-
}
|
|
454
|
-
else if (typeof cb === "function") {
|
|
455
|
-
if (typeof optionsOrCb !== "object")
|
|
456
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
457
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
458
|
-
}
|
|
459
|
-
else {
|
|
460
|
-
return this.send(command, optionsOrCb);
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
describeLoadBalancers(args, optionsOrCb, cb) {
|
|
464
|
-
const command = new DescribeLoadBalancersCommand_1.DescribeLoadBalancersCommand(args);
|
|
465
|
-
if (typeof optionsOrCb === "function") {
|
|
466
|
-
this.send(command, optionsOrCb);
|
|
467
|
-
}
|
|
468
|
-
else if (typeof cb === "function") {
|
|
469
|
-
if (typeof optionsOrCb !== "object")
|
|
470
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
471
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
472
|
-
}
|
|
473
|
-
else {
|
|
474
|
-
return this.send(command, optionsOrCb);
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
describeLoadBalancerTargetGroups(args, optionsOrCb, cb) {
|
|
478
|
-
const command = new DescribeLoadBalancerTargetGroupsCommand_1.DescribeLoadBalancerTargetGroupsCommand(args);
|
|
479
|
-
if (typeof optionsOrCb === "function") {
|
|
480
|
-
this.send(command, optionsOrCb);
|
|
481
|
-
}
|
|
482
|
-
else if (typeof cb === "function") {
|
|
483
|
-
if (typeof optionsOrCb !== "object")
|
|
484
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
485
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
486
|
-
}
|
|
487
|
-
else {
|
|
488
|
-
return this.send(command, optionsOrCb);
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
describeMetricCollectionTypes(args, optionsOrCb, cb) {
|
|
492
|
-
const command = new DescribeMetricCollectionTypesCommand_1.DescribeMetricCollectionTypesCommand(args);
|
|
493
|
-
if (typeof optionsOrCb === "function") {
|
|
494
|
-
this.send(command, optionsOrCb);
|
|
495
|
-
}
|
|
496
|
-
else if (typeof cb === "function") {
|
|
497
|
-
if (typeof optionsOrCb !== "object")
|
|
498
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
499
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
500
|
-
}
|
|
501
|
-
else {
|
|
502
|
-
return this.send(command, optionsOrCb);
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
describeNotificationConfigurations(args, optionsOrCb, cb) {
|
|
506
|
-
const command = new DescribeNotificationConfigurationsCommand_1.DescribeNotificationConfigurationsCommand(args);
|
|
507
|
-
if (typeof optionsOrCb === "function") {
|
|
508
|
-
this.send(command, optionsOrCb);
|
|
509
|
-
}
|
|
510
|
-
else if (typeof cb === "function") {
|
|
511
|
-
if (typeof optionsOrCb !== "object")
|
|
512
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
513
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
514
|
-
}
|
|
515
|
-
else {
|
|
516
|
-
return this.send(command, optionsOrCb);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
describePolicies(args, optionsOrCb, cb) {
|
|
520
|
-
const command = new DescribePoliciesCommand_1.DescribePoliciesCommand(args);
|
|
521
|
-
if (typeof optionsOrCb === "function") {
|
|
522
|
-
this.send(command, optionsOrCb);
|
|
523
|
-
}
|
|
524
|
-
else if (typeof cb === "function") {
|
|
525
|
-
if (typeof optionsOrCb !== "object")
|
|
526
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
527
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
528
|
-
}
|
|
529
|
-
else {
|
|
530
|
-
return this.send(command, optionsOrCb);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
describeScalingActivities(args, optionsOrCb, cb) {
|
|
534
|
-
const command = new DescribeScalingActivitiesCommand_1.DescribeScalingActivitiesCommand(args);
|
|
535
|
-
if (typeof optionsOrCb === "function") {
|
|
536
|
-
this.send(command, optionsOrCb);
|
|
537
|
-
}
|
|
538
|
-
else if (typeof cb === "function") {
|
|
539
|
-
if (typeof optionsOrCb !== "object")
|
|
540
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
541
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
542
|
-
}
|
|
543
|
-
else {
|
|
544
|
-
return this.send(command, optionsOrCb);
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
describeScalingProcessTypes(args, optionsOrCb, cb) {
|
|
548
|
-
const command = new DescribeScalingProcessTypesCommand_1.DescribeScalingProcessTypesCommand(args);
|
|
549
|
-
if (typeof optionsOrCb === "function") {
|
|
550
|
-
this.send(command, optionsOrCb);
|
|
551
|
-
}
|
|
552
|
-
else if (typeof cb === "function") {
|
|
553
|
-
if (typeof optionsOrCb !== "object")
|
|
554
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
555
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
556
|
-
}
|
|
557
|
-
else {
|
|
558
|
-
return this.send(command, optionsOrCb);
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
describeScheduledActions(args, optionsOrCb, cb) {
|
|
562
|
-
const command = new DescribeScheduledActionsCommand_1.DescribeScheduledActionsCommand(args);
|
|
563
|
-
if (typeof optionsOrCb === "function") {
|
|
564
|
-
this.send(command, optionsOrCb);
|
|
565
|
-
}
|
|
566
|
-
else if (typeof cb === "function") {
|
|
567
|
-
if (typeof optionsOrCb !== "object")
|
|
568
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
569
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
570
|
-
}
|
|
571
|
-
else {
|
|
572
|
-
return this.send(command, optionsOrCb);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
describeTags(args, optionsOrCb, cb) {
|
|
576
|
-
const command = new DescribeTagsCommand_1.DescribeTagsCommand(args);
|
|
577
|
-
if (typeof optionsOrCb === "function") {
|
|
578
|
-
this.send(command, optionsOrCb);
|
|
579
|
-
}
|
|
580
|
-
else if (typeof cb === "function") {
|
|
581
|
-
if (typeof optionsOrCb !== "object")
|
|
582
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
583
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
584
|
-
}
|
|
585
|
-
else {
|
|
586
|
-
return this.send(command, optionsOrCb);
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
describeTerminationPolicyTypes(args, optionsOrCb, cb) {
|
|
590
|
-
const command = new DescribeTerminationPolicyTypesCommand_1.DescribeTerminationPolicyTypesCommand(args);
|
|
591
|
-
if (typeof optionsOrCb === "function") {
|
|
592
|
-
this.send(command, optionsOrCb);
|
|
593
|
-
}
|
|
594
|
-
else if (typeof cb === "function") {
|
|
595
|
-
if (typeof optionsOrCb !== "object")
|
|
596
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
597
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
598
|
-
}
|
|
599
|
-
else {
|
|
600
|
-
return this.send(command, optionsOrCb);
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
describeTrafficSources(args, optionsOrCb, cb) {
|
|
604
|
-
const command = new DescribeTrafficSourcesCommand_1.DescribeTrafficSourcesCommand(args);
|
|
605
|
-
if (typeof optionsOrCb === "function") {
|
|
606
|
-
this.send(command, optionsOrCb);
|
|
607
|
-
}
|
|
608
|
-
else if (typeof cb === "function") {
|
|
609
|
-
if (typeof optionsOrCb !== "object")
|
|
610
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
611
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
612
|
-
}
|
|
613
|
-
else {
|
|
614
|
-
return this.send(command, optionsOrCb);
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
describeWarmPool(args, optionsOrCb, cb) {
|
|
618
|
-
const command = new DescribeWarmPoolCommand_1.DescribeWarmPoolCommand(args);
|
|
619
|
-
if (typeof optionsOrCb === "function") {
|
|
620
|
-
this.send(command, optionsOrCb);
|
|
621
|
-
}
|
|
622
|
-
else if (typeof cb === "function") {
|
|
623
|
-
if (typeof optionsOrCb !== "object")
|
|
624
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
625
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
626
|
-
}
|
|
627
|
-
else {
|
|
628
|
-
return this.send(command, optionsOrCb);
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
detachInstances(args, optionsOrCb, cb) {
|
|
632
|
-
const command = new DetachInstancesCommand_1.DetachInstancesCommand(args);
|
|
633
|
-
if (typeof optionsOrCb === "function") {
|
|
634
|
-
this.send(command, optionsOrCb);
|
|
635
|
-
}
|
|
636
|
-
else if (typeof cb === "function") {
|
|
637
|
-
if (typeof optionsOrCb !== "object")
|
|
638
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
639
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
640
|
-
}
|
|
641
|
-
else {
|
|
642
|
-
return this.send(command, optionsOrCb);
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
detachLoadBalancers(args, optionsOrCb, cb) {
|
|
646
|
-
const command = new DetachLoadBalancersCommand_1.DetachLoadBalancersCommand(args);
|
|
647
|
-
if (typeof optionsOrCb === "function") {
|
|
648
|
-
this.send(command, optionsOrCb);
|
|
649
|
-
}
|
|
650
|
-
else if (typeof cb === "function") {
|
|
651
|
-
if (typeof optionsOrCb !== "object")
|
|
652
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
653
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
654
|
-
}
|
|
655
|
-
else {
|
|
656
|
-
return this.send(command, optionsOrCb);
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
detachLoadBalancerTargetGroups(args, optionsOrCb, cb) {
|
|
660
|
-
const command = new DetachLoadBalancerTargetGroupsCommand_1.DetachLoadBalancerTargetGroupsCommand(args);
|
|
661
|
-
if (typeof optionsOrCb === "function") {
|
|
662
|
-
this.send(command, optionsOrCb);
|
|
663
|
-
}
|
|
664
|
-
else if (typeof cb === "function") {
|
|
665
|
-
if (typeof optionsOrCb !== "object")
|
|
666
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
667
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
668
|
-
}
|
|
669
|
-
else {
|
|
670
|
-
return this.send(command, optionsOrCb);
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
detachTrafficSources(args, optionsOrCb, cb) {
|
|
674
|
-
const command = new DetachTrafficSourcesCommand_1.DetachTrafficSourcesCommand(args);
|
|
675
|
-
if (typeof optionsOrCb === "function") {
|
|
676
|
-
this.send(command, optionsOrCb);
|
|
677
|
-
}
|
|
678
|
-
else if (typeof cb === "function") {
|
|
679
|
-
if (typeof optionsOrCb !== "object")
|
|
680
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
681
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
682
|
-
}
|
|
683
|
-
else {
|
|
684
|
-
return this.send(command, optionsOrCb);
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
disableMetricsCollection(args, optionsOrCb, cb) {
|
|
688
|
-
const command = new DisableMetricsCollectionCommand_1.DisableMetricsCollectionCommand(args);
|
|
689
|
-
if (typeof optionsOrCb === "function") {
|
|
690
|
-
this.send(command, optionsOrCb);
|
|
691
|
-
}
|
|
692
|
-
else if (typeof cb === "function") {
|
|
693
|
-
if (typeof optionsOrCb !== "object")
|
|
694
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
695
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
696
|
-
}
|
|
697
|
-
else {
|
|
698
|
-
return this.send(command, optionsOrCb);
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
enableMetricsCollection(args, optionsOrCb, cb) {
|
|
702
|
-
const command = new EnableMetricsCollectionCommand_1.EnableMetricsCollectionCommand(args);
|
|
703
|
-
if (typeof optionsOrCb === "function") {
|
|
704
|
-
this.send(command, optionsOrCb);
|
|
705
|
-
}
|
|
706
|
-
else if (typeof cb === "function") {
|
|
707
|
-
if (typeof optionsOrCb !== "object")
|
|
708
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
709
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
710
|
-
}
|
|
711
|
-
else {
|
|
712
|
-
return this.send(command, optionsOrCb);
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
enterStandby(args, optionsOrCb, cb) {
|
|
716
|
-
const command = new EnterStandbyCommand_1.EnterStandbyCommand(args);
|
|
717
|
-
if (typeof optionsOrCb === "function") {
|
|
718
|
-
this.send(command, optionsOrCb);
|
|
719
|
-
}
|
|
720
|
-
else if (typeof cb === "function") {
|
|
721
|
-
if (typeof optionsOrCb !== "object")
|
|
722
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
723
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
724
|
-
}
|
|
725
|
-
else {
|
|
726
|
-
return this.send(command, optionsOrCb);
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
executePolicy(args, optionsOrCb, cb) {
|
|
730
|
-
const command = new ExecutePolicyCommand_1.ExecutePolicyCommand(args);
|
|
731
|
-
if (typeof optionsOrCb === "function") {
|
|
732
|
-
this.send(command, optionsOrCb);
|
|
733
|
-
}
|
|
734
|
-
else if (typeof cb === "function") {
|
|
735
|
-
if (typeof optionsOrCb !== "object")
|
|
736
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
737
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
738
|
-
}
|
|
739
|
-
else {
|
|
740
|
-
return this.send(command, optionsOrCb);
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
exitStandby(args, optionsOrCb, cb) {
|
|
744
|
-
const command = new ExitStandbyCommand_1.ExitStandbyCommand(args);
|
|
745
|
-
if (typeof optionsOrCb === "function") {
|
|
746
|
-
this.send(command, optionsOrCb);
|
|
747
|
-
}
|
|
748
|
-
else if (typeof cb === "function") {
|
|
749
|
-
if (typeof optionsOrCb !== "object")
|
|
750
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
751
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
752
|
-
}
|
|
753
|
-
else {
|
|
754
|
-
return this.send(command, optionsOrCb);
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
getPredictiveScalingForecast(args, optionsOrCb, cb) {
|
|
758
|
-
const command = new GetPredictiveScalingForecastCommand_1.GetPredictiveScalingForecastCommand(args);
|
|
759
|
-
if (typeof optionsOrCb === "function") {
|
|
760
|
-
this.send(command, optionsOrCb);
|
|
761
|
-
}
|
|
762
|
-
else if (typeof cb === "function") {
|
|
763
|
-
if (typeof optionsOrCb !== "object")
|
|
764
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
765
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
766
|
-
}
|
|
767
|
-
else {
|
|
768
|
-
return this.send(command, optionsOrCb);
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
putLifecycleHook(args, optionsOrCb, cb) {
|
|
772
|
-
const command = new PutLifecycleHookCommand_1.PutLifecycleHookCommand(args);
|
|
773
|
-
if (typeof optionsOrCb === "function") {
|
|
774
|
-
this.send(command, optionsOrCb);
|
|
775
|
-
}
|
|
776
|
-
else if (typeof cb === "function") {
|
|
777
|
-
if (typeof optionsOrCb !== "object")
|
|
778
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
779
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
780
|
-
}
|
|
781
|
-
else {
|
|
782
|
-
return this.send(command, optionsOrCb);
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
putNotificationConfiguration(args, optionsOrCb, cb) {
|
|
786
|
-
const command = new PutNotificationConfigurationCommand_1.PutNotificationConfigurationCommand(args);
|
|
787
|
-
if (typeof optionsOrCb === "function") {
|
|
788
|
-
this.send(command, optionsOrCb);
|
|
789
|
-
}
|
|
790
|
-
else if (typeof cb === "function") {
|
|
791
|
-
if (typeof optionsOrCb !== "object")
|
|
792
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
793
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
794
|
-
}
|
|
795
|
-
else {
|
|
796
|
-
return this.send(command, optionsOrCb);
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
putScalingPolicy(args, optionsOrCb, cb) {
|
|
800
|
-
const command = new PutScalingPolicyCommand_1.PutScalingPolicyCommand(args);
|
|
801
|
-
if (typeof optionsOrCb === "function") {
|
|
802
|
-
this.send(command, optionsOrCb);
|
|
803
|
-
}
|
|
804
|
-
else if (typeof cb === "function") {
|
|
805
|
-
if (typeof optionsOrCb !== "object")
|
|
806
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
807
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
808
|
-
}
|
|
809
|
-
else {
|
|
810
|
-
return this.send(command, optionsOrCb);
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
putScheduledUpdateGroupAction(args, optionsOrCb, cb) {
|
|
814
|
-
const command = new PutScheduledUpdateGroupActionCommand_1.PutScheduledUpdateGroupActionCommand(args);
|
|
815
|
-
if (typeof optionsOrCb === "function") {
|
|
816
|
-
this.send(command, optionsOrCb);
|
|
817
|
-
}
|
|
818
|
-
else if (typeof cb === "function") {
|
|
819
|
-
if (typeof optionsOrCb !== "object")
|
|
820
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
821
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
822
|
-
}
|
|
823
|
-
else {
|
|
824
|
-
return this.send(command, optionsOrCb);
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
putWarmPool(args, optionsOrCb, cb) {
|
|
828
|
-
const command = new PutWarmPoolCommand_1.PutWarmPoolCommand(args);
|
|
829
|
-
if (typeof optionsOrCb === "function") {
|
|
830
|
-
this.send(command, optionsOrCb);
|
|
831
|
-
}
|
|
832
|
-
else if (typeof cb === "function") {
|
|
833
|
-
if (typeof optionsOrCb !== "object")
|
|
834
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
835
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
836
|
-
}
|
|
837
|
-
else {
|
|
838
|
-
return this.send(command, optionsOrCb);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
recordLifecycleActionHeartbeat(args, optionsOrCb, cb) {
|
|
842
|
-
const command = new RecordLifecycleActionHeartbeatCommand_1.RecordLifecycleActionHeartbeatCommand(args);
|
|
843
|
-
if (typeof optionsOrCb === "function") {
|
|
844
|
-
this.send(command, optionsOrCb);
|
|
845
|
-
}
|
|
846
|
-
else if (typeof cb === "function") {
|
|
847
|
-
if (typeof optionsOrCb !== "object")
|
|
848
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
849
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
850
|
-
}
|
|
851
|
-
else {
|
|
852
|
-
return this.send(command, optionsOrCb);
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
resumeProcesses(args, optionsOrCb, cb) {
|
|
856
|
-
const command = new ResumeProcessesCommand_1.ResumeProcessesCommand(args);
|
|
857
|
-
if (typeof optionsOrCb === "function") {
|
|
858
|
-
this.send(command, optionsOrCb);
|
|
859
|
-
}
|
|
860
|
-
else if (typeof cb === "function") {
|
|
861
|
-
if (typeof optionsOrCb !== "object")
|
|
862
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
863
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
864
|
-
}
|
|
865
|
-
else {
|
|
866
|
-
return this.send(command, optionsOrCb);
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
rollbackInstanceRefresh(args, optionsOrCb, cb) {
|
|
870
|
-
const command = new RollbackInstanceRefreshCommand_1.RollbackInstanceRefreshCommand(args);
|
|
871
|
-
if (typeof optionsOrCb === "function") {
|
|
872
|
-
this.send(command, optionsOrCb);
|
|
873
|
-
}
|
|
874
|
-
else if (typeof cb === "function") {
|
|
875
|
-
if (typeof optionsOrCb !== "object")
|
|
876
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
877
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
878
|
-
}
|
|
879
|
-
else {
|
|
880
|
-
return this.send(command, optionsOrCb);
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
setDesiredCapacity(args, optionsOrCb, cb) {
|
|
884
|
-
const command = new SetDesiredCapacityCommand_1.SetDesiredCapacityCommand(args);
|
|
885
|
-
if (typeof optionsOrCb === "function") {
|
|
886
|
-
this.send(command, optionsOrCb);
|
|
887
|
-
}
|
|
888
|
-
else if (typeof cb === "function") {
|
|
889
|
-
if (typeof optionsOrCb !== "object")
|
|
890
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
891
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
892
|
-
}
|
|
893
|
-
else {
|
|
894
|
-
return this.send(command, optionsOrCb);
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
setInstanceHealth(args, optionsOrCb, cb) {
|
|
898
|
-
const command = new SetInstanceHealthCommand_1.SetInstanceHealthCommand(args);
|
|
899
|
-
if (typeof optionsOrCb === "function") {
|
|
900
|
-
this.send(command, optionsOrCb);
|
|
901
|
-
}
|
|
902
|
-
else if (typeof cb === "function") {
|
|
903
|
-
if (typeof optionsOrCb !== "object")
|
|
904
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
905
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
906
|
-
}
|
|
907
|
-
else {
|
|
908
|
-
return this.send(command, optionsOrCb);
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
setInstanceProtection(args, optionsOrCb, cb) {
|
|
912
|
-
const command = new SetInstanceProtectionCommand_1.SetInstanceProtectionCommand(args);
|
|
913
|
-
if (typeof optionsOrCb === "function") {
|
|
914
|
-
this.send(command, optionsOrCb);
|
|
915
|
-
}
|
|
916
|
-
else if (typeof cb === "function") {
|
|
917
|
-
if (typeof optionsOrCb !== "object")
|
|
918
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
919
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
920
|
-
}
|
|
921
|
-
else {
|
|
922
|
-
return this.send(command, optionsOrCb);
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
startInstanceRefresh(args, optionsOrCb, cb) {
|
|
926
|
-
const command = new StartInstanceRefreshCommand_1.StartInstanceRefreshCommand(args);
|
|
927
|
-
if (typeof optionsOrCb === "function") {
|
|
928
|
-
this.send(command, optionsOrCb);
|
|
929
|
-
}
|
|
930
|
-
else if (typeof cb === "function") {
|
|
931
|
-
if (typeof optionsOrCb !== "object")
|
|
932
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
933
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
934
|
-
}
|
|
935
|
-
else {
|
|
936
|
-
return this.send(command, optionsOrCb);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
suspendProcesses(args, optionsOrCb, cb) {
|
|
940
|
-
const command = new SuspendProcessesCommand_1.SuspendProcessesCommand(args);
|
|
941
|
-
if (typeof optionsOrCb === "function") {
|
|
942
|
-
this.send(command, optionsOrCb);
|
|
943
|
-
}
|
|
944
|
-
else if (typeof cb === "function") {
|
|
945
|
-
if (typeof optionsOrCb !== "object")
|
|
946
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
947
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
948
|
-
}
|
|
949
|
-
else {
|
|
950
|
-
return this.send(command, optionsOrCb);
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
terminateInstanceInAutoScalingGroup(args, optionsOrCb, cb) {
|
|
954
|
-
const command = new TerminateInstanceInAutoScalingGroupCommand_1.TerminateInstanceInAutoScalingGroupCommand(args);
|
|
955
|
-
if (typeof optionsOrCb === "function") {
|
|
956
|
-
this.send(command, optionsOrCb);
|
|
957
|
-
}
|
|
958
|
-
else if (typeof cb === "function") {
|
|
959
|
-
if (typeof optionsOrCb !== "object")
|
|
960
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
961
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
962
|
-
}
|
|
963
|
-
else {
|
|
964
|
-
return this.send(command, optionsOrCb);
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
updateAutoScalingGroup(args, optionsOrCb, cb) {
|
|
968
|
-
const command = new UpdateAutoScalingGroupCommand_1.UpdateAutoScalingGroupCommand(args);
|
|
969
|
-
if (typeof optionsOrCb === "function") {
|
|
970
|
-
this.send(command, optionsOrCb);
|
|
971
|
-
}
|
|
972
|
-
else if (typeof cb === "function") {
|
|
973
|
-
if (typeof optionsOrCb !== "object")
|
|
974
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
975
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
976
|
-
}
|
|
977
|
-
else {
|
|
978
|
-
return this.send(command, optionsOrCb);
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
139
|
}
|
|
982
140
|
exports.AutoScaling = AutoScaling;
|
|
141
|
+
(0, smithy_client_1.createAggregatedClient)(commands, AutoScaling);
|