@aws-sdk/client-auto-scaling 3.310.0 → 3.315.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/protocols/Aws_query.js +199 -390
- package/dist-es/protocols/Aws_query.js +200 -391
- package/package.json +6 -6
|
@@ -9,9 +9,7 @@ const fast_xml_parser_1 = require("fast-xml-parser");
|
|
|
9
9
|
const AutoScalingServiceException_1 = require("../models/AutoScalingServiceException");
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
11
11
|
const se_AttachInstancesCommand = async (input, context) => {
|
|
12
|
-
const headers =
|
|
13
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
14
|
-
};
|
|
12
|
+
const headers = SHARED_HEADERS;
|
|
15
13
|
let body;
|
|
16
14
|
body = buildFormUrlencodedString({
|
|
17
15
|
...se_AttachInstancesQuery(input, context),
|
|
@@ -22,9 +20,7 @@ const se_AttachInstancesCommand = async (input, context) => {
|
|
|
22
20
|
};
|
|
23
21
|
exports.se_AttachInstancesCommand = se_AttachInstancesCommand;
|
|
24
22
|
const se_AttachLoadBalancersCommand = async (input, context) => {
|
|
25
|
-
const headers =
|
|
26
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
27
|
-
};
|
|
23
|
+
const headers = SHARED_HEADERS;
|
|
28
24
|
let body;
|
|
29
25
|
body = buildFormUrlencodedString({
|
|
30
26
|
...se_AttachLoadBalancersType(input, context),
|
|
@@ -35,9 +31,7 @@ const se_AttachLoadBalancersCommand = async (input, context) => {
|
|
|
35
31
|
};
|
|
36
32
|
exports.se_AttachLoadBalancersCommand = se_AttachLoadBalancersCommand;
|
|
37
33
|
const se_AttachLoadBalancerTargetGroupsCommand = async (input, context) => {
|
|
38
|
-
const headers =
|
|
39
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
40
|
-
};
|
|
34
|
+
const headers = SHARED_HEADERS;
|
|
41
35
|
let body;
|
|
42
36
|
body = buildFormUrlencodedString({
|
|
43
37
|
...se_AttachLoadBalancerTargetGroupsType(input, context),
|
|
@@ -48,9 +42,7 @@ const se_AttachLoadBalancerTargetGroupsCommand = async (input, context) => {
|
|
|
48
42
|
};
|
|
49
43
|
exports.se_AttachLoadBalancerTargetGroupsCommand = se_AttachLoadBalancerTargetGroupsCommand;
|
|
50
44
|
const se_AttachTrafficSourcesCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
53
|
-
};
|
|
45
|
+
const headers = SHARED_HEADERS;
|
|
54
46
|
let body;
|
|
55
47
|
body = buildFormUrlencodedString({
|
|
56
48
|
...se_AttachTrafficSourcesType(input, context),
|
|
@@ -61,9 +53,7 @@ const se_AttachTrafficSourcesCommand = async (input, context) => {
|
|
|
61
53
|
};
|
|
62
54
|
exports.se_AttachTrafficSourcesCommand = se_AttachTrafficSourcesCommand;
|
|
63
55
|
const se_BatchDeleteScheduledActionCommand = async (input, context) => {
|
|
64
|
-
const headers =
|
|
65
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
66
|
-
};
|
|
56
|
+
const headers = SHARED_HEADERS;
|
|
67
57
|
let body;
|
|
68
58
|
body = buildFormUrlencodedString({
|
|
69
59
|
...se_BatchDeleteScheduledActionType(input, context),
|
|
@@ -74,9 +64,7 @@ const se_BatchDeleteScheduledActionCommand = async (input, context) => {
|
|
|
74
64
|
};
|
|
75
65
|
exports.se_BatchDeleteScheduledActionCommand = se_BatchDeleteScheduledActionCommand;
|
|
76
66
|
const se_BatchPutScheduledUpdateGroupActionCommand = async (input, context) => {
|
|
77
|
-
const headers =
|
|
78
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
79
|
-
};
|
|
67
|
+
const headers = SHARED_HEADERS;
|
|
80
68
|
let body;
|
|
81
69
|
body = buildFormUrlencodedString({
|
|
82
70
|
...se_BatchPutScheduledUpdateGroupActionType(input, context),
|
|
@@ -87,9 +75,7 @@ const se_BatchPutScheduledUpdateGroupActionCommand = async (input, context) => {
|
|
|
87
75
|
};
|
|
88
76
|
exports.se_BatchPutScheduledUpdateGroupActionCommand = se_BatchPutScheduledUpdateGroupActionCommand;
|
|
89
77
|
const se_CancelInstanceRefreshCommand = async (input, context) => {
|
|
90
|
-
const headers =
|
|
91
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
92
|
-
};
|
|
78
|
+
const headers = SHARED_HEADERS;
|
|
93
79
|
let body;
|
|
94
80
|
body = buildFormUrlencodedString({
|
|
95
81
|
...se_CancelInstanceRefreshType(input, context),
|
|
@@ -100,9 +86,7 @@ const se_CancelInstanceRefreshCommand = async (input, context) => {
|
|
|
100
86
|
};
|
|
101
87
|
exports.se_CancelInstanceRefreshCommand = se_CancelInstanceRefreshCommand;
|
|
102
88
|
const se_CompleteLifecycleActionCommand = async (input, context) => {
|
|
103
|
-
const headers =
|
|
104
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
105
|
-
};
|
|
89
|
+
const headers = SHARED_HEADERS;
|
|
106
90
|
let body;
|
|
107
91
|
body = buildFormUrlencodedString({
|
|
108
92
|
...se_CompleteLifecycleActionType(input, context),
|
|
@@ -113,9 +97,7 @@ const se_CompleteLifecycleActionCommand = async (input, context) => {
|
|
|
113
97
|
};
|
|
114
98
|
exports.se_CompleteLifecycleActionCommand = se_CompleteLifecycleActionCommand;
|
|
115
99
|
const se_CreateAutoScalingGroupCommand = async (input, context) => {
|
|
116
|
-
const headers =
|
|
117
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
118
|
-
};
|
|
100
|
+
const headers = SHARED_HEADERS;
|
|
119
101
|
let body;
|
|
120
102
|
body = buildFormUrlencodedString({
|
|
121
103
|
...se_CreateAutoScalingGroupType(input, context),
|
|
@@ -126,9 +108,7 @@ const se_CreateAutoScalingGroupCommand = async (input, context) => {
|
|
|
126
108
|
};
|
|
127
109
|
exports.se_CreateAutoScalingGroupCommand = se_CreateAutoScalingGroupCommand;
|
|
128
110
|
const se_CreateLaunchConfigurationCommand = async (input, context) => {
|
|
129
|
-
const headers =
|
|
130
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
131
|
-
};
|
|
111
|
+
const headers = SHARED_HEADERS;
|
|
132
112
|
let body;
|
|
133
113
|
body = buildFormUrlencodedString({
|
|
134
114
|
...se_CreateLaunchConfigurationType(input, context),
|
|
@@ -139,9 +119,7 @@ const se_CreateLaunchConfigurationCommand = async (input, context) => {
|
|
|
139
119
|
};
|
|
140
120
|
exports.se_CreateLaunchConfigurationCommand = se_CreateLaunchConfigurationCommand;
|
|
141
121
|
const se_CreateOrUpdateTagsCommand = async (input, context) => {
|
|
142
|
-
const headers =
|
|
143
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
144
|
-
};
|
|
122
|
+
const headers = SHARED_HEADERS;
|
|
145
123
|
let body;
|
|
146
124
|
body = buildFormUrlencodedString({
|
|
147
125
|
...se_CreateOrUpdateTagsType(input, context),
|
|
@@ -152,9 +130,7 @@ const se_CreateOrUpdateTagsCommand = async (input, context) => {
|
|
|
152
130
|
};
|
|
153
131
|
exports.se_CreateOrUpdateTagsCommand = se_CreateOrUpdateTagsCommand;
|
|
154
132
|
const se_DeleteAutoScalingGroupCommand = async (input, context) => {
|
|
155
|
-
const headers =
|
|
156
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
157
|
-
};
|
|
133
|
+
const headers = SHARED_HEADERS;
|
|
158
134
|
let body;
|
|
159
135
|
body = buildFormUrlencodedString({
|
|
160
136
|
...se_DeleteAutoScalingGroupType(input, context),
|
|
@@ -165,9 +141,7 @@ const se_DeleteAutoScalingGroupCommand = async (input, context) => {
|
|
|
165
141
|
};
|
|
166
142
|
exports.se_DeleteAutoScalingGroupCommand = se_DeleteAutoScalingGroupCommand;
|
|
167
143
|
const se_DeleteLaunchConfigurationCommand = async (input, context) => {
|
|
168
|
-
const headers =
|
|
169
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
170
|
-
};
|
|
144
|
+
const headers = SHARED_HEADERS;
|
|
171
145
|
let body;
|
|
172
146
|
body = buildFormUrlencodedString({
|
|
173
147
|
...se_LaunchConfigurationNameType(input, context),
|
|
@@ -178,9 +152,7 @@ const se_DeleteLaunchConfigurationCommand = async (input, context) => {
|
|
|
178
152
|
};
|
|
179
153
|
exports.se_DeleteLaunchConfigurationCommand = se_DeleteLaunchConfigurationCommand;
|
|
180
154
|
const se_DeleteLifecycleHookCommand = async (input, context) => {
|
|
181
|
-
const headers =
|
|
182
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
183
|
-
};
|
|
155
|
+
const headers = SHARED_HEADERS;
|
|
184
156
|
let body;
|
|
185
157
|
body = buildFormUrlencodedString({
|
|
186
158
|
...se_DeleteLifecycleHookType(input, context),
|
|
@@ -191,9 +163,7 @@ const se_DeleteLifecycleHookCommand = async (input, context) => {
|
|
|
191
163
|
};
|
|
192
164
|
exports.se_DeleteLifecycleHookCommand = se_DeleteLifecycleHookCommand;
|
|
193
165
|
const se_DeleteNotificationConfigurationCommand = async (input, context) => {
|
|
194
|
-
const headers =
|
|
195
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
196
|
-
};
|
|
166
|
+
const headers = SHARED_HEADERS;
|
|
197
167
|
let body;
|
|
198
168
|
body = buildFormUrlencodedString({
|
|
199
169
|
...se_DeleteNotificationConfigurationType(input, context),
|
|
@@ -204,9 +174,7 @@ const se_DeleteNotificationConfigurationCommand = async (input, context) => {
|
|
|
204
174
|
};
|
|
205
175
|
exports.se_DeleteNotificationConfigurationCommand = se_DeleteNotificationConfigurationCommand;
|
|
206
176
|
const se_DeletePolicyCommand = async (input, context) => {
|
|
207
|
-
const headers =
|
|
208
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
209
|
-
};
|
|
177
|
+
const headers = SHARED_HEADERS;
|
|
210
178
|
let body;
|
|
211
179
|
body = buildFormUrlencodedString({
|
|
212
180
|
...se_DeletePolicyType(input, context),
|
|
@@ -217,9 +185,7 @@ const se_DeletePolicyCommand = async (input, context) => {
|
|
|
217
185
|
};
|
|
218
186
|
exports.se_DeletePolicyCommand = se_DeletePolicyCommand;
|
|
219
187
|
const se_DeleteScheduledActionCommand = async (input, context) => {
|
|
220
|
-
const headers =
|
|
221
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
222
|
-
};
|
|
188
|
+
const headers = SHARED_HEADERS;
|
|
223
189
|
let body;
|
|
224
190
|
body = buildFormUrlencodedString({
|
|
225
191
|
...se_DeleteScheduledActionType(input, context),
|
|
@@ -230,9 +196,7 @@ const se_DeleteScheduledActionCommand = async (input, context) => {
|
|
|
230
196
|
};
|
|
231
197
|
exports.se_DeleteScheduledActionCommand = se_DeleteScheduledActionCommand;
|
|
232
198
|
const se_DeleteTagsCommand = async (input, context) => {
|
|
233
|
-
const headers =
|
|
234
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
235
|
-
};
|
|
199
|
+
const headers = SHARED_HEADERS;
|
|
236
200
|
let body;
|
|
237
201
|
body = buildFormUrlencodedString({
|
|
238
202
|
...se_DeleteTagsType(input, context),
|
|
@@ -243,9 +207,7 @@ const se_DeleteTagsCommand = async (input, context) => {
|
|
|
243
207
|
};
|
|
244
208
|
exports.se_DeleteTagsCommand = se_DeleteTagsCommand;
|
|
245
209
|
const se_DeleteWarmPoolCommand = async (input, context) => {
|
|
246
|
-
const headers =
|
|
247
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
248
|
-
};
|
|
210
|
+
const headers = SHARED_HEADERS;
|
|
249
211
|
let body;
|
|
250
212
|
body = buildFormUrlencodedString({
|
|
251
213
|
...se_DeleteWarmPoolType(input, context),
|
|
@@ -256,9 +218,7 @@ const se_DeleteWarmPoolCommand = async (input, context) => {
|
|
|
256
218
|
};
|
|
257
219
|
exports.se_DeleteWarmPoolCommand = se_DeleteWarmPoolCommand;
|
|
258
220
|
const se_DescribeAccountLimitsCommand = async (input, context) => {
|
|
259
|
-
const headers =
|
|
260
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
261
|
-
};
|
|
221
|
+
const headers = SHARED_HEADERS;
|
|
262
222
|
const body = buildFormUrlencodedString({
|
|
263
223
|
Action: "DescribeAccountLimits",
|
|
264
224
|
Version: "2011-01-01",
|
|
@@ -267,9 +227,7 @@ const se_DescribeAccountLimitsCommand = async (input, context) => {
|
|
|
267
227
|
};
|
|
268
228
|
exports.se_DescribeAccountLimitsCommand = se_DescribeAccountLimitsCommand;
|
|
269
229
|
const se_DescribeAdjustmentTypesCommand = async (input, context) => {
|
|
270
|
-
const headers =
|
|
271
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
272
|
-
};
|
|
230
|
+
const headers = SHARED_HEADERS;
|
|
273
231
|
const body = buildFormUrlencodedString({
|
|
274
232
|
Action: "DescribeAdjustmentTypes",
|
|
275
233
|
Version: "2011-01-01",
|
|
@@ -278,9 +236,7 @@ const se_DescribeAdjustmentTypesCommand = async (input, context) => {
|
|
|
278
236
|
};
|
|
279
237
|
exports.se_DescribeAdjustmentTypesCommand = se_DescribeAdjustmentTypesCommand;
|
|
280
238
|
const se_DescribeAutoScalingGroupsCommand = async (input, context) => {
|
|
281
|
-
const headers =
|
|
282
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
283
|
-
};
|
|
239
|
+
const headers = SHARED_HEADERS;
|
|
284
240
|
let body;
|
|
285
241
|
body = buildFormUrlencodedString({
|
|
286
242
|
...se_AutoScalingGroupNamesType(input, context),
|
|
@@ -291,9 +247,7 @@ const se_DescribeAutoScalingGroupsCommand = async (input, context) => {
|
|
|
291
247
|
};
|
|
292
248
|
exports.se_DescribeAutoScalingGroupsCommand = se_DescribeAutoScalingGroupsCommand;
|
|
293
249
|
const se_DescribeAutoScalingInstancesCommand = async (input, context) => {
|
|
294
|
-
const headers =
|
|
295
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
296
|
-
};
|
|
250
|
+
const headers = SHARED_HEADERS;
|
|
297
251
|
let body;
|
|
298
252
|
body = buildFormUrlencodedString({
|
|
299
253
|
...se_DescribeAutoScalingInstancesType(input, context),
|
|
@@ -304,9 +258,7 @@ const se_DescribeAutoScalingInstancesCommand = async (input, context) => {
|
|
|
304
258
|
};
|
|
305
259
|
exports.se_DescribeAutoScalingInstancesCommand = se_DescribeAutoScalingInstancesCommand;
|
|
306
260
|
const se_DescribeAutoScalingNotificationTypesCommand = async (input, context) => {
|
|
307
|
-
const headers =
|
|
308
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
309
|
-
};
|
|
261
|
+
const headers = SHARED_HEADERS;
|
|
310
262
|
const body = buildFormUrlencodedString({
|
|
311
263
|
Action: "DescribeAutoScalingNotificationTypes",
|
|
312
264
|
Version: "2011-01-01",
|
|
@@ -315,9 +267,7 @@ const se_DescribeAutoScalingNotificationTypesCommand = async (input, context) =>
|
|
|
315
267
|
};
|
|
316
268
|
exports.se_DescribeAutoScalingNotificationTypesCommand = se_DescribeAutoScalingNotificationTypesCommand;
|
|
317
269
|
const se_DescribeInstanceRefreshesCommand = async (input, context) => {
|
|
318
|
-
const headers =
|
|
319
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
320
|
-
};
|
|
270
|
+
const headers = SHARED_HEADERS;
|
|
321
271
|
let body;
|
|
322
272
|
body = buildFormUrlencodedString({
|
|
323
273
|
...se_DescribeInstanceRefreshesType(input, context),
|
|
@@ -328,9 +278,7 @@ const se_DescribeInstanceRefreshesCommand = async (input, context) => {
|
|
|
328
278
|
};
|
|
329
279
|
exports.se_DescribeInstanceRefreshesCommand = se_DescribeInstanceRefreshesCommand;
|
|
330
280
|
const se_DescribeLaunchConfigurationsCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
333
|
-
};
|
|
281
|
+
const headers = SHARED_HEADERS;
|
|
334
282
|
let body;
|
|
335
283
|
body = buildFormUrlencodedString({
|
|
336
284
|
...se_LaunchConfigurationNamesType(input, context),
|
|
@@ -341,9 +289,7 @@ const se_DescribeLaunchConfigurationsCommand = async (input, context) => {
|
|
|
341
289
|
};
|
|
342
290
|
exports.se_DescribeLaunchConfigurationsCommand = se_DescribeLaunchConfigurationsCommand;
|
|
343
291
|
const se_DescribeLifecycleHooksCommand = async (input, context) => {
|
|
344
|
-
const headers =
|
|
345
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
346
|
-
};
|
|
292
|
+
const headers = SHARED_HEADERS;
|
|
347
293
|
let body;
|
|
348
294
|
body = buildFormUrlencodedString({
|
|
349
295
|
...se_DescribeLifecycleHooksType(input, context),
|
|
@@ -354,9 +300,7 @@ const se_DescribeLifecycleHooksCommand = async (input, context) => {
|
|
|
354
300
|
};
|
|
355
301
|
exports.se_DescribeLifecycleHooksCommand = se_DescribeLifecycleHooksCommand;
|
|
356
302
|
const se_DescribeLifecycleHookTypesCommand = async (input, context) => {
|
|
357
|
-
const headers =
|
|
358
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
359
|
-
};
|
|
303
|
+
const headers = SHARED_HEADERS;
|
|
360
304
|
const body = buildFormUrlencodedString({
|
|
361
305
|
Action: "DescribeLifecycleHookTypes",
|
|
362
306
|
Version: "2011-01-01",
|
|
@@ -365,9 +309,7 @@ const se_DescribeLifecycleHookTypesCommand = async (input, context) => {
|
|
|
365
309
|
};
|
|
366
310
|
exports.se_DescribeLifecycleHookTypesCommand = se_DescribeLifecycleHookTypesCommand;
|
|
367
311
|
const se_DescribeLoadBalancersCommand = async (input, context) => {
|
|
368
|
-
const headers =
|
|
369
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
370
|
-
};
|
|
312
|
+
const headers = SHARED_HEADERS;
|
|
371
313
|
let body;
|
|
372
314
|
body = buildFormUrlencodedString({
|
|
373
315
|
...se_DescribeLoadBalancersRequest(input, context),
|
|
@@ -378,9 +320,7 @@ const se_DescribeLoadBalancersCommand = async (input, context) => {
|
|
|
378
320
|
};
|
|
379
321
|
exports.se_DescribeLoadBalancersCommand = se_DescribeLoadBalancersCommand;
|
|
380
322
|
const se_DescribeLoadBalancerTargetGroupsCommand = async (input, context) => {
|
|
381
|
-
const headers =
|
|
382
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
383
|
-
};
|
|
323
|
+
const headers = SHARED_HEADERS;
|
|
384
324
|
let body;
|
|
385
325
|
body = buildFormUrlencodedString({
|
|
386
326
|
...se_DescribeLoadBalancerTargetGroupsRequest(input, context),
|
|
@@ -391,9 +331,7 @@ const se_DescribeLoadBalancerTargetGroupsCommand = async (input, context) => {
|
|
|
391
331
|
};
|
|
392
332
|
exports.se_DescribeLoadBalancerTargetGroupsCommand = se_DescribeLoadBalancerTargetGroupsCommand;
|
|
393
333
|
const se_DescribeMetricCollectionTypesCommand = async (input, context) => {
|
|
394
|
-
const headers =
|
|
395
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
396
|
-
};
|
|
334
|
+
const headers = SHARED_HEADERS;
|
|
397
335
|
const body = buildFormUrlencodedString({
|
|
398
336
|
Action: "DescribeMetricCollectionTypes",
|
|
399
337
|
Version: "2011-01-01",
|
|
@@ -402,9 +340,7 @@ const se_DescribeMetricCollectionTypesCommand = async (input, context) => {
|
|
|
402
340
|
};
|
|
403
341
|
exports.se_DescribeMetricCollectionTypesCommand = se_DescribeMetricCollectionTypesCommand;
|
|
404
342
|
const se_DescribeNotificationConfigurationsCommand = async (input, context) => {
|
|
405
|
-
const headers =
|
|
406
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
407
|
-
};
|
|
343
|
+
const headers = SHARED_HEADERS;
|
|
408
344
|
let body;
|
|
409
345
|
body = buildFormUrlencodedString({
|
|
410
346
|
...se_DescribeNotificationConfigurationsType(input, context),
|
|
@@ -415,9 +351,7 @@ const se_DescribeNotificationConfigurationsCommand = async (input, context) => {
|
|
|
415
351
|
};
|
|
416
352
|
exports.se_DescribeNotificationConfigurationsCommand = se_DescribeNotificationConfigurationsCommand;
|
|
417
353
|
const se_DescribePoliciesCommand = async (input, context) => {
|
|
418
|
-
const headers =
|
|
419
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
420
|
-
};
|
|
354
|
+
const headers = SHARED_HEADERS;
|
|
421
355
|
let body;
|
|
422
356
|
body = buildFormUrlencodedString({
|
|
423
357
|
...se_DescribePoliciesType(input, context),
|
|
@@ -428,9 +362,7 @@ const se_DescribePoliciesCommand = async (input, context) => {
|
|
|
428
362
|
};
|
|
429
363
|
exports.se_DescribePoliciesCommand = se_DescribePoliciesCommand;
|
|
430
364
|
const se_DescribeScalingActivitiesCommand = async (input, context) => {
|
|
431
|
-
const headers =
|
|
432
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
433
|
-
};
|
|
365
|
+
const headers = SHARED_HEADERS;
|
|
434
366
|
let body;
|
|
435
367
|
body = buildFormUrlencodedString({
|
|
436
368
|
...se_DescribeScalingActivitiesType(input, context),
|
|
@@ -441,9 +373,7 @@ const se_DescribeScalingActivitiesCommand = async (input, context) => {
|
|
|
441
373
|
};
|
|
442
374
|
exports.se_DescribeScalingActivitiesCommand = se_DescribeScalingActivitiesCommand;
|
|
443
375
|
const se_DescribeScalingProcessTypesCommand = async (input, context) => {
|
|
444
|
-
const headers =
|
|
445
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
446
|
-
};
|
|
376
|
+
const headers = SHARED_HEADERS;
|
|
447
377
|
const body = buildFormUrlencodedString({
|
|
448
378
|
Action: "DescribeScalingProcessTypes",
|
|
449
379
|
Version: "2011-01-01",
|
|
@@ -452,9 +382,7 @@ const se_DescribeScalingProcessTypesCommand = async (input, context) => {
|
|
|
452
382
|
};
|
|
453
383
|
exports.se_DescribeScalingProcessTypesCommand = se_DescribeScalingProcessTypesCommand;
|
|
454
384
|
const se_DescribeScheduledActionsCommand = async (input, context) => {
|
|
455
|
-
const headers =
|
|
456
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
457
|
-
};
|
|
385
|
+
const headers = SHARED_HEADERS;
|
|
458
386
|
let body;
|
|
459
387
|
body = buildFormUrlencodedString({
|
|
460
388
|
...se_DescribeScheduledActionsType(input, context),
|
|
@@ -465,9 +393,7 @@ const se_DescribeScheduledActionsCommand = async (input, context) => {
|
|
|
465
393
|
};
|
|
466
394
|
exports.se_DescribeScheduledActionsCommand = se_DescribeScheduledActionsCommand;
|
|
467
395
|
const se_DescribeTagsCommand = async (input, context) => {
|
|
468
|
-
const headers =
|
|
469
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
470
|
-
};
|
|
396
|
+
const headers = SHARED_HEADERS;
|
|
471
397
|
let body;
|
|
472
398
|
body = buildFormUrlencodedString({
|
|
473
399
|
...se_DescribeTagsType(input, context),
|
|
@@ -478,9 +404,7 @@ const se_DescribeTagsCommand = async (input, context) => {
|
|
|
478
404
|
};
|
|
479
405
|
exports.se_DescribeTagsCommand = se_DescribeTagsCommand;
|
|
480
406
|
const se_DescribeTerminationPolicyTypesCommand = async (input, context) => {
|
|
481
|
-
const headers =
|
|
482
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
483
|
-
};
|
|
407
|
+
const headers = SHARED_HEADERS;
|
|
484
408
|
const body = buildFormUrlencodedString({
|
|
485
409
|
Action: "DescribeTerminationPolicyTypes",
|
|
486
410
|
Version: "2011-01-01",
|
|
@@ -489,9 +413,7 @@ const se_DescribeTerminationPolicyTypesCommand = async (input, context) => {
|
|
|
489
413
|
};
|
|
490
414
|
exports.se_DescribeTerminationPolicyTypesCommand = se_DescribeTerminationPolicyTypesCommand;
|
|
491
415
|
const se_DescribeTrafficSourcesCommand = async (input, context) => {
|
|
492
|
-
const headers =
|
|
493
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
494
|
-
};
|
|
416
|
+
const headers = SHARED_HEADERS;
|
|
495
417
|
let body;
|
|
496
418
|
body = buildFormUrlencodedString({
|
|
497
419
|
...se_DescribeTrafficSourcesRequest(input, context),
|
|
@@ -502,9 +424,7 @@ const se_DescribeTrafficSourcesCommand = async (input, context) => {
|
|
|
502
424
|
};
|
|
503
425
|
exports.se_DescribeTrafficSourcesCommand = se_DescribeTrafficSourcesCommand;
|
|
504
426
|
const se_DescribeWarmPoolCommand = async (input, context) => {
|
|
505
|
-
const headers =
|
|
506
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
507
|
-
};
|
|
427
|
+
const headers = SHARED_HEADERS;
|
|
508
428
|
let body;
|
|
509
429
|
body = buildFormUrlencodedString({
|
|
510
430
|
...se_DescribeWarmPoolType(input, context),
|
|
@@ -515,9 +435,7 @@ const se_DescribeWarmPoolCommand = async (input, context) => {
|
|
|
515
435
|
};
|
|
516
436
|
exports.se_DescribeWarmPoolCommand = se_DescribeWarmPoolCommand;
|
|
517
437
|
const se_DetachInstancesCommand = async (input, context) => {
|
|
518
|
-
const headers =
|
|
519
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
520
|
-
};
|
|
438
|
+
const headers = SHARED_HEADERS;
|
|
521
439
|
let body;
|
|
522
440
|
body = buildFormUrlencodedString({
|
|
523
441
|
...se_DetachInstancesQuery(input, context),
|
|
@@ -528,9 +446,7 @@ const se_DetachInstancesCommand = async (input, context) => {
|
|
|
528
446
|
};
|
|
529
447
|
exports.se_DetachInstancesCommand = se_DetachInstancesCommand;
|
|
530
448
|
const se_DetachLoadBalancersCommand = async (input, context) => {
|
|
531
|
-
const headers =
|
|
532
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
533
|
-
};
|
|
449
|
+
const headers = SHARED_HEADERS;
|
|
534
450
|
let body;
|
|
535
451
|
body = buildFormUrlencodedString({
|
|
536
452
|
...se_DetachLoadBalancersType(input, context),
|
|
@@ -541,9 +457,7 @@ const se_DetachLoadBalancersCommand = async (input, context) => {
|
|
|
541
457
|
};
|
|
542
458
|
exports.se_DetachLoadBalancersCommand = se_DetachLoadBalancersCommand;
|
|
543
459
|
const se_DetachLoadBalancerTargetGroupsCommand = async (input, context) => {
|
|
544
|
-
const headers =
|
|
545
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
546
|
-
};
|
|
460
|
+
const headers = SHARED_HEADERS;
|
|
547
461
|
let body;
|
|
548
462
|
body = buildFormUrlencodedString({
|
|
549
463
|
...se_DetachLoadBalancerTargetGroupsType(input, context),
|
|
@@ -554,9 +468,7 @@ const se_DetachLoadBalancerTargetGroupsCommand = async (input, context) => {
|
|
|
554
468
|
};
|
|
555
469
|
exports.se_DetachLoadBalancerTargetGroupsCommand = se_DetachLoadBalancerTargetGroupsCommand;
|
|
556
470
|
const se_DetachTrafficSourcesCommand = async (input, context) => {
|
|
557
|
-
const headers =
|
|
558
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
559
|
-
};
|
|
471
|
+
const headers = SHARED_HEADERS;
|
|
560
472
|
let body;
|
|
561
473
|
body = buildFormUrlencodedString({
|
|
562
474
|
...se_DetachTrafficSourcesType(input, context),
|
|
@@ -567,9 +479,7 @@ const se_DetachTrafficSourcesCommand = async (input, context) => {
|
|
|
567
479
|
};
|
|
568
480
|
exports.se_DetachTrafficSourcesCommand = se_DetachTrafficSourcesCommand;
|
|
569
481
|
const se_DisableMetricsCollectionCommand = async (input, context) => {
|
|
570
|
-
const headers =
|
|
571
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
572
|
-
};
|
|
482
|
+
const headers = SHARED_HEADERS;
|
|
573
483
|
let body;
|
|
574
484
|
body = buildFormUrlencodedString({
|
|
575
485
|
...se_DisableMetricsCollectionQuery(input, context),
|
|
@@ -580,9 +490,7 @@ const se_DisableMetricsCollectionCommand = async (input, context) => {
|
|
|
580
490
|
};
|
|
581
491
|
exports.se_DisableMetricsCollectionCommand = se_DisableMetricsCollectionCommand;
|
|
582
492
|
const se_EnableMetricsCollectionCommand = async (input, context) => {
|
|
583
|
-
const headers =
|
|
584
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
585
|
-
};
|
|
493
|
+
const headers = SHARED_HEADERS;
|
|
586
494
|
let body;
|
|
587
495
|
body = buildFormUrlencodedString({
|
|
588
496
|
...se_EnableMetricsCollectionQuery(input, context),
|
|
@@ -593,9 +501,7 @@ const se_EnableMetricsCollectionCommand = async (input, context) => {
|
|
|
593
501
|
};
|
|
594
502
|
exports.se_EnableMetricsCollectionCommand = se_EnableMetricsCollectionCommand;
|
|
595
503
|
const se_EnterStandbyCommand = async (input, context) => {
|
|
596
|
-
const headers =
|
|
597
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
598
|
-
};
|
|
504
|
+
const headers = SHARED_HEADERS;
|
|
599
505
|
let body;
|
|
600
506
|
body = buildFormUrlencodedString({
|
|
601
507
|
...se_EnterStandbyQuery(input, context),
|
|
@@ -606,9 +512,7 @@ const se_EnterStandbyCommand = async (input, context) => {
|
|
|
606
512
|
};
|
|
607
513
|
exports.se_EnterStandbyCommand = se_EnterStandbyCommand;
|
|
608
514
|
const se_ExecutePolicyCommand = async (input, context) => {
|
|
609
|
-
const headers =
|
|
610
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
611
|
-
};
|
|
515
|
+
const headers = SHARED_HEADERS;
|
|
612
516
|
let body;
|
|
613
517
|
body = buildFormUrlencodedString({
|
|
614
518
|
...se_ExecutePolicyType(input, context),
|
|
@@ -619,9 +523,7 @@ const se_ExecutePolicyCommand = async (input, context) => {
|
|
|
619
523
|
};
|
|
620
524
|
exports.se_ExecutePolicyCommand = se_ExecutePolicyCommand;
|
|
621
525
|
const se_ExitStandbyCommand = async (input, context) => {
|
|
622
|
-
const headers =
|
|
623
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
624
|
-
};
|
|
526
|
+
const headers = SHARED_HEADERS;
|
|
625
527
|
let body;
|
|
626
528
|
body = buildFormUrlencodedString({
|
|
627
529
|
...se_ExitStandbyQuery(input, context),
|
|
@@ -632,9 +534,7 @@ const se_ExitStandbyCommand = async (input, context) => {
|
|
|
632
534
|
};
|
|
633
535
|
exports.se_ExitStandbyCommand = se_ExitStandbyCommand;
|
|
634
536
|
const se_GetPredictiveScalingForecastCommand = async (input, context) => {
|
|
635
|
-
const headers =
|
|
636
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
637
|
-
};
|
|
537
|
+
const headers = SHARED_HEADERS;
|
|
638
538
|
let body;
|
|
639
539
|
body = buildFormUrlencodedString({
|
|
640
540
|
...se_GetPredictiveScalingForecastType(input, context),
|
|
@@ -645,9 +545,7 @@ const se_GetPredictiveScalingForecastCommand = async (input, context) => {
|
|
|
645
545
|
};
|
|
646
546
|
exports.se_GetPredictiveScalingForecastCommand = se_GetPredictiveScalingForecastCommand;
|
|
647
547
|
const se_PutLifecycleHookCommand = async (input, context) => {
|
|
648
|
-
const headers =
|
|
649
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
650
|
-
};
|
|
548
|
+
const headers = SHARED_HEADERS;
|
|
651
549
|
let body;
|
|
652
550
|
body = buildFormUrlencodedString({
|
|
653
551
|
...se_PutLifecycleHookType(input, context),
|
|
@@ -658,9 +556,7 @@ const se_PutLifecycleHookCommand = async (input, context) => {
|
|
|
658
556
|
};
|
|
659
557
|
exports.se_PutLifecycleHookCommand = se_PutLifecycleHookCommand;
|
|
660
558
|
const se_PutNotificationConfigurationCommand = async (input, context) => {
|
|
661
|
-
const headers =
|
|
662
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
663
|
-
};
|
|
559
|
+
const headers = SHARED_HEADERS;
|
|
664
560
|
let body;
|
|
665
561
|
body = buildFormUrlencodedString({
|
|
666
562
|
...se_PutNotificationConfigurationType(input, context),
|
|
@@ -671,9 +567,7 @@ const se_PutNotificationConfigurationCommand = async (input, context) => {
|
|
|
671
567
|
};
|
|
672
568
|
exports.se_PutNotificationConfigurationCommand = se_PutNotificationConfigurationCommand;
|
|
673
569
|
const se_PutScalingPolicyCommand = async (input, context) => {
|
|
674
|
-
const headers =
|
|
675
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
676
|
-
};
|
|
570
|
+
const headers = SHARED_HEADERS;
|
|
677
571
|
let body;
|
|
678
572
|
body = buildFormUrlencodedString({
|
|
679
573
|
...se_PutScalingPolicyType(input, context),
|
|
@@ -684,9 +578,7 @@ const se_PutScalingPolicyCommand = async (input, context) => {
|
|
|
684
578
|
};
|
|
685
579
|
exports.se_PutScalingPolicyCommand = se_PutScalingPolicyCommand;
|
|
686
580
|
const se_PutScheduledUpdateGroupActionCommand = async (input, context) => {
|
|
687
|
-
const headers =
|
|
688
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
689
|
-
};
|
|
581
|
+
const headers = SHARED_HEADERS;
|
|
690
582
|
let body;
|
|
691
583
|
body = buildFormUrlencodedString({
|
|
692
584
|
...se_PutScheduledUpdateGroupActionType(input, context),
|
|
@@ -697,9 +589,7 @@ const se_PutScheduledUpdateGroupActionCommand = async (input, context) => {
|
|
|
697
589
|
};
|
|
698
590
|
exports.se_PutScheduledUpdateGroupActionCommand = se_PutScheduledUpdateGroupActionCommand;
|
|
699
591
|
const se_PutWarmPoolCommand = async (input, context) => {
|
|
700
|
-
const headers =
|
|
701
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
702
|
-
};
|
|
592
|
+
const headers = SHARED_HEADERS;
|
|
703
593
|
let body;
|
|
704
594
|
body = buildFormUrlencodedString({
|
|
705
595
|
...se_PutWarmPoolType(input, context),
|
|
@@ -710,9 +600,7 @@ const se_PutWarmPoolCommand = async (input, context) => {
|
|
|
710
600
|
};
|
|
711
601
|
exports.se_PutWarmPoolCommand = se_PutWarmPoolCommand;
|
|
712
602
|
const se_RecordLifecycleActionHeartbeatCommand = async (input, context) => {
|
|
713
|
-
const headers =
|
|
714
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
715
|
-
};
|
|
603
|
+
const headers = SHARED_HEADERS;
|
|
716
604
|
let body;
|
|
717
605
|
body = buildFormUrlencodedString({
|
|
718
606
|
...se_RecordLifecycleActionHeartbeatType(input, context),
|
|
@@ -723,9 +611,7 @@ const se_RecordLifecycleActionHeartbeatCommand = async (input, context) => {
|
|
|
723
611
|
};
|
|
724
612
|
exports.se_RecordLifecycleActionHeartbeatCommand = se_RecordLifecycleActionHeartbeatCommand;
|
|
725
613
|
const se_ResumeProcessesCommand = async (input, context) => {
|
|
726
|
-
const headers =
|
|
727
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
728
|
-
};
|
|
614
|
+
const headers = SHARED_HEADERS;
|
|
729
615
|
let body;
|
|
730
616
|
body = buildFormUrlencodedString({
|
|
731
617
|
...se_ScalingProcessQuery(input, context),
|
|
@@ -736,9 +622,7 @@ const se_ResumeProcessesCommand = async (input, context) => {
|
|
|
736
622
|
};
|
|
737
623
|
exports.se_ResumeProcessesCommand = se_ResumeProcessesCommand;
|
|
738
624
|
const se_RollbackInstanceRefreshCommand = async (input, context) => {
|
|
739
|
-
const headers =
|
|
740
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
741
|
-
};
|
|
625
|
+
const headers = SHARED_HEADERS;
|
|
742
626
|
let body;
|
|
743
627
|
body = buildFormUrlencodedString({
|
|
744
628
|
...se_RollbackInstanceRefreshType(input, context),
|
|
@@ -749,9 +633,7 @@ const se_RollbackInstanceRefreshCommand = async (input, context) => {
|
|
|
749
633
|
};
|
|
750
634
|
exports.se_RollbackInstanceRefreshCommand = se_RollbackInstanceRefreshCommand;
|
|
751
635
|
const se_SetDesiredCapacityCommand = async (input, context) => {
|
|
752
|
-
const headers =
|
|
753
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
754
|
-
};
|
|
636
|
+
const headers = SHARED_HEADERS;
|
|
755
637
|
let body;
|
|
756
638
|
body = buildFormUrlencodedString({
|
|
757
639
|
...se_SetDesiredCapacityType(input, context),
|
|
@@ -762,9 +644,7 @@ const se_SetDesiredCapacityCommand = async (input, context) => {
|
|
|
762
644
|
};
|
|
763
645
|
exports.se_SetDesiredCapacityCommand = se_SetDesiredCapacityCommand;
|
|
764
646
|
const se_SetInstanceHealthCommand = async (input, context) => {
|
|
765
|
-
const headers =
|
|
766
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
767
|
-
};
|
|
647
|
+
const headers = SHARED_HEADERS;
|
|
768
648
|
let body;
|
|
769
649
|
body = buildFormUrlencodedString({
|
|
770
650
|
...se_SetInstanceHealthQuery(input, context),
|
|
@@ -775,9 +655,7 @@ const se_SetInstanceHealthCommand = async (input, context) => {
|
|
|
775
655
|
};
|
|
776
656
|
exports.se_SetInstanceHealthCommand = se_SetInstanceHealthCommand;
|
|
777
657
|
const se_SetInstanceProtectionCommand = async (input, context) => {
|
|
778
|
-
const headers =
|
|
779
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
780
|
-
};
|
|
658
|
+
const headers = SHARED_HEADERS;
|
|
781
659
|
let body;
|
|
782
660
|
body = buildFormUrlencodedString({
|
|
783
661
|
...se_SetInstanceProtectionQuery(input, context),
|
|
@@ -788,9 +666,7 @@ const se_SetInstanceProtectionCommand = async (input, context) => {
|
|
|
788
666
|
};
|
|
789
667
|
exports.se_SetInstanceProtectionCommand = se_SetInstanceProtectionCommand;
|
|
790
668
|
const se_StartInstanceRefreshCommand = async (input, context) => {
|
|
791
|
-
const headers =
|
|
792
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
793
|
-
};
|
|
669
|
+
const headers = SHARED_HEADERS;
|
|
794
670
|
let body;
|
|
795
671
|
body = buildFormUrlencodedString({
|
|
796
672
|
...se_StartInstanceRefreshType(input, context),
|
|
@@ -801,9 +677,7 @@ const se_StartInstanceRefreshCommand = async (input, context) => {
|
|
|
801
677
|
};
|
|
802
678
|
exports.se_StartInstanceRefreshCommand = se_StartInstanceRefreshCommand;
|
|
803
679
|
const se_SuspendProcessesCommand = async (input, context) => {
|
|
804
|
-
const headers =
|
|
805
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
806
|
-
};
|
|
680
|
+
const headers = SHARED_HEADERS;
|
|
807
681
|
let body;
|
|
808
682
|
body = buildFormUrlencodedString({
|
|
809
683
|
...se_ScalingProcessQuery(input, context),
|
|
@@ -814,9 +688,7 @@ const se_SuspendProcessesCommand = async (input, context) => {
|
|
|
814
688
|
};
|
|
815
689
|
exports.se_SuspendProcessesCommand = se_SuspendProcessesCommand;
|
|
816
690
|
const se_TerminateInstanceInAutoScalingGroupCommand = async (input, context) => {
|
|
817
|
-
const headers =
|
|
818
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
819
|
-
};
|
|
691
|
+
const headers = SHARED_HEADERS;
|
|
820
692
|
let body;
|
|
821
693
|
body = buildFormUrlencodedString({
|
|
822
694
|
...se_TerminateInstanceInAutoScalingGroupType(input, context),
|
|
@@ -827,9 +699,7 @@ const se_TerminateInstanceInAutoScalingGroupCommand = async (input, context) =>
|
|
|
827
699
|
};
|
|
828
700
|
exports.se_TerminateInstanceInAutoScalingGroupCommand = se_TerminateInstanceInAutoScalingGroupCommand;
|
|
829
701
|
const se_UpdateAutoScalingGroupCommand = async (input, context) => {
|
|
830
|
-
const headers =
|
|
831
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
832
|
-
};
|
|
702
|
+
const headers = SHARED_HEADERS;
|
|
833
703
|
let body;
|
|
834
704
|
body = buildFormUrlencodedString({
|
|
835
705
|
...se_UpdateAutoScalingGroupType(input, context),
|
|
@@ -847,7 +717,7 @@ const de_AttachInstancesCommand = async (output, context) => {
|
|
|
847
717
|
const response = {
|
|
848
718
|
$metadata: deserializeMetadata(output),
|
|
849
719
|
};
|
|
850
|
-
return
|
|
720
|
+
return response;
|
|
851
721
|
};
|
|
852
722
|
exports.de_AttachInstancesCommand = de_AttachInstancesCommand;
|
|
853
723
|
const de_AttachInstancesCommandError = async (output, context) => {
|
|
@@ -865,10 +735,9 @@ const de_AttachInstancesCommandError = async (output, context) => {
|
|
|
865
735
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
866
736
|
default:
|
|
867
737
|
const parsedBody = parsedOutput.body;
|
|
868
|
-
|
|
738
|
+
return throwDefaultError({
|
|
869
739
|
output,
|
|
870
740
|
parsedBody: parsedBody.Error,
|
|
871
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
872
741
|
errorCode,
|
|
873
742
|
});
|
|
874
743
|
}
|
|
@@ -884,7 +753,7 @@ const de_AttachLoadBalancersCommand = async (output, context) => {
|
|
|
884
753
|
$metadata: deserializeMetadata(output),
|
|
885
754
|
...contents,
|
|
886
755
|
};
|
|
887
|
-
return
|
|
756
|
+
return response;
|
|
888
757
|
};
|
|
889
758
|
exports.de_AttachLoadBalancersCommand = de_AttachLoadBalancersCommand;
|
|
890
759
|
const de_AttachLoadBalancersCommandError = async (output, context) => {
|
|
@@ -902,10 +771,9 @@ const de_AttachLoadBalancersCommandError = async (output, context) => {
|
|
|
902
771
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
903
772
|
default:
|
|
904
773
|
const parsedBody = parsedOutput.body;
|
|
905
|
-
|
|
774
|
+
return throwDefaultError({
|
|
906
775
|
output,
|
|
907
776
|
parsedBody: parsedBody.Error,
|
|
908
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
909
777
|
errorCode,
|
|
910
778
|
});
|
|
911
779
|
}
|
|
@@ -921,7 +789,7 @@ const de_AttachLoadBalancerTargetGroupsCommand = async (output, context) => {
|
|
|
921
789
|
$metadata: deserializeMetadata(output),
|
|
922
790
|
...contents,
|
|
923
791
|
};
|
|
924
|
-
return
|
|
792
|
+
return response;
|
|
925
793
|
};
|
|
926
794
|
exports.de_AttachLoadBalancerTargetGroupsCommand = de_AttachLoadBalancerTargetGroupsCommand;
|
|
927
795
|
const de_AttachLoadBalancerTargetGroupsCommandError = async (output, context) => {
|
|
@@ -939,10 +807,9 @@ const de_AttachLoadBalancerTargetGroupsCommandError = async (output, context) =>
|
|
|
939
807
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
940
808
|
default:
|
|
941
809
|
const parsedBody = parsedOutput.body;
|
|
942
|
-
|
|
810
|
+
return throwDefaultError({
|
|
943
811
|
output,
|
|
944
812
|
parsedBody: parsedBody.Error,
|
|
945
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
946
813
|
errorCode,
|
|
947
814
|
});
|
|
948
815
|
}
|
|
@@ -958,7 +825,7 @@ const de_AttachTrafficSourcesCommand = async (output, context) => {
|
|
|
958
825
|
$metadata: deserializeMetadata(output),
|
|
959
826
|
...contents,
|
|
960
827
|
};
|
|
961
|
-
return
|
|
828
|
+
return response;
|
|
962
829
|
};
|
|
963
830
|
exports.de_AttachTrafficSourcesCommand = de_AttachTrafficSourcesCommand;
|
|
964
831
|
const de_AttachTrafficSourcesCommandError = async (output, context) => {
|
|
@@ -976,10 +843,9 @@ const de_AttachTrafficSourcesCommandError = async (output, context) => {
|
|
|
976
843
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
977
844
|
default:
|
|
978
845
|
const parsedBody = parsedOutput.body;
|
|
979
|
-
|
|
846
|
+
return throwDefaultError({
|
|
980
847
|
output,
|
|
981
848
|
parsedBody: parsedBody.Error,
|
|
982
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
983
849
|
errorCode,
|
|
984
850
|
});
|
|
985
851
|
}
|
|
@@ -995,7 +861,7 @@ const de_BatchDeleteScheduledActionCommand = async (output, context) => {
|
|
|
995
861
|
$metadata: deserializeMetadata(output),
|
|
996
862
|
...contents,
|
|
997
863
|
};
|
|
998
|
-
return
|
|
864
|
+
return response;
|
|
999
865
|
};
|
|
1000
866
|
exports.de_BatchDeleteScheduledActionCommand = de_BatchDeleteScheduledActionCommand;
|
|
1001
867
|
const de_BatchDeleteScheduledActionCommandError = async (output, context) => {
|
|
@@ -1010,10 +876,9 @@ const de_BatchDeleteScheduledActionCommandError = async (output, context) => {
|
|
|
1010
876
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1011
877
|
default:
|
|
1012
878
|
const parsedBody = parsedOutput.body;
|
|
1013
|
-
|
|
879
|
+
return throwDefaultError({
|
|
1014
880
|
output,
|
|
1015
881
|
parsedBody: parsedBody.Error,
|
|
1016
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1017
882
|
errorCode,
|
|
1018
883
|
});
|
|
1019
884
|
}
|
|
@@ -1029,7 +894,7 @@ const de_BatchPutScheduledUpdateGroupActionCommand = async (output, context) =>
|
|
|
1029
894
|
$metadata: deserializeMetadata(output),
|
|
1030
895
|
...contents,
|
|
1031
896
|
};
|
|
1032
|
-
return
|
|
897
|
+
return response;
|
|
1033
898
|
};
|
|
1034
899
|
exports.de_BatchPutScheduledUpdateGroupActionCommand = de_BatchPutScheduledUpdateGroupActionCommand;
|
|
1035
900
|
const de_BatchPutScheduledUpdateGroupActionCommandError = async (output, context) => {
|
|
@@ -1050,10 +915,9 @@ const de_BatchPutScheduledUpdateGroupActionCommandError = async (output, context
|
|
|
1050
915
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1051
916
|
default:
|
|
1052
917
|
const parsedBody = parsedOutput.body;
|
|
1053
|
-
|
|
918
|
+
return throwDefaultError({
|
|
1054
919
|
output,
|
|
1055
920
|
parsedBody: parsedBody.Error,
|
|
1056
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1057
921
|
errorCode,
|
|
1058
922
|
});
|
|
1059
923
|
}
|
|
@@ -1069,7 +933,7 @@ const de_CancelInstanceRefreshCommand = async (output, context) => {
|
|
|
1069
933
|
$metadata: deserializeMetadata(output),
|
|
1070
934
|
...contents,
|
|
1071
935
|
};
|
|
1072
|
-
return
|
|
936
|
+
return response;
|
|
1073
937
|
};
|
|
1074
938
|
exports.de_CancelInstanceRefreshCommand = de_CancelInstanceRefreshCommand;
|
|
1075
939
|
const de_CancelInstanceRefreshCommandError = async (output, context) => {
|
|
@@ -1090,10 +954,9 @@ const de_CancelInstanceRefreshCommandError = async (output, context) => {
|
|
|
1090
954
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1091
955
|
default:
|
|
1092
956
|
const parsedBody = parsedOutput.body;
|
|
1093
|
-
|
|
957
|
+
return throwDefaultError({
|
|
1094
958
|
output,
|
|
1095
959
|
parsedBody: parsedBody.Error,
|
|
1096
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1097
960
|
errorCode,
|
|
1098
961
|
});
|
|
1099
962
|
}
|
|
@@ -1109,7 +972,7 @@ const de_CompleteLifecycleActionCommand = async (output, context) => {
|
|
|
1109
972
|
$metadata: deserializeMetadata(output),
|
|
1110
973
|
...contents,
|
|
1111
974
|
};
|
|
1112
|
-
return
|
|
975
|
+
return response;
|
|
1113
976
|
};
|
|
1114
977
|
exports.de_CompleteLifecycleActionCommand = de_CompleteLifecycleActionCommand;
|
|
1115
978
|
const de_CompleteLifecycleActionCommandError = async (output, context) => {
|
|
@@ -1124,10 +987,9 @@ const de_CompleteLifecycleActionCommandError = async (output, context) => {
|
|
|
1124
987
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1125
988
|
default:
|
|
1126
989
|
const parsedBody = parsedOutput.body;
|
|
1127
|
-
|
|
990
|
+
return throwDefaultError({
|
|
1128
991
|
output,
|
|
1129
992
|
parsedBody: parsedBody.Error,
|
|
1130
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1131
993
|
errorCode,
|
|
1132
994
|
});
|
|
1133
995
|
}
|
|
@@ -1140,7 +1002,7 @@ const de_CreateAutoScalingGroupCommand = async (output, context) => {
|
|
|
1140
1002
|
const response = {
|
|
1141
1003
|
$metadata: deserializeMetadata(output),
|
|
1142
1004
|
};
|
|
1143
|
-
return
|
|
1005
|
+
return response;
|
|
1144
1006
|
};
|
|
1145
1007
|
exports.de_CreateAutoScalingGroupCommand = de_CreateAutoScalingGroupCommand;
|
|
1146
1008
|
const de_CreateAutoScalingGroupCommandError = async (output, context) => {
|
|
@@ -1164,10 +1026,9 @@ const de_CreateAutoScalingGroupCommandError = async (output, context) => {
|
|
|
1164
1026
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
1165
1027
|
default:
|
|
1166
1028
|
const parsedBody = parsedOutput.body;
|
|
1167
|
-
|
|
1029
|
+
return throwDefaultError({
|
|
1168
1030
|
output,
|
|
1169
1031
|
parsedBody: parsedBody.Error,
|
|
1170
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1171
1032
|
errorCode,
|
|
1172
1033
|
});
|
|
1173
1034
|
}
|
|
@@ -1180,7 +1041,7 @@ const de_CreateLaunchConfigurationCommand = async (output, context) => {
|
|
|
1180
1041
|
const response = {
|
|
1181
1042
|
$metadata: deserializeMetadata(output),
|
|
1182
1043
|
};
|
|
1183
|
-
return
|
|
1044
|
+
return response;
|
|
1184
1045
|
};
|
|
1185
1046
|
exports.de_CreateLaunchConfigurationCommand = de_CreateLaunchConfigurationCommand;
|
|
1186
1047
|
const de_CreateLaunchConfigurationCommandError = async (output, context) => {
|
|
@@ -1201,10 +1062,9 @@ const de_CreateLaunchConfigurationCommandError = async (output, context) => {
|
|
|
1201
1062
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1202
1063
|
default:
|
|
1203
1064
|
const parsedBody = parsedOutput.body;
|
|
1204
|
-
|
|
1065
|
+
return throwDefaultError({
|
|
1205
1066
|
output,
|
|
1206
1067
|
parsedBody: parsedBody.Error,
|
|
1207
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1208
1068
|
errorCode,
|
|
1209
1069
|
});
|
|
1210
1070
|
}
|
|
@@ -1217,7 +1077,7 @@ const de_CreateOrUpdateTagsCommand = async (output, context) => {
|
|
|
1217
1077
|
const response = {
|
|
1218
1078
|
$metadata: deserializeMetadata(output),
|
|
1219
1079
|
};
|
|
1220
|
-
return
|
|
1080
|
+
return response;
|
|
1221
1081
|
};
|
|
1222
1082
|
exports.de_CreateOrUpdateTagsCommand = de_CreateOrUpdateTagsCommand;
|
|
1223
1083
|
const de_CreateOrUpdateTagsCommandError = async (output, context) => {
|
|
@@ -1241,10 +1101,9 @@ const de_CreateOrUpdateTagsCommandError = async (output, context) => {
|
|
|
1241
1101
|
throw await de_ResourceInUseFaultRes(parsedOutput, context);
|
|
1242
1102
|
default:
|
|
1243
1103
|
const parsedBody = parsedOutput.body;
|
|
1244
|
-
|
|
1104
|
+
return throwDefaultError({
|
|
1245
1105
|
output,
|
|
1246
1106
|
parsedBody: parsedBody.Error,
|
|
1247
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1248
1107
|
errorCode,
|
|
1249
1108
|
});
|
|
1250
1109
|
}
|
|
@@ -1257,7 +1116,7 @@ const de_DeleteAutoScalingGroupCommand = async (output, context) => {
|
|
|
1257
1116
|
const response = {
|
|
1258
1117
|
$metadata: deserializeMetadata(output),
|
|
1259
1118
|
};
|
|
1260
|
-
return
|
|
1119
|
+
return response;
|
|
1261
1120
|
};
|
|
1262
1121
|
exports.de_DeleteAutoScalingGroupCommand = de_DeleteAutoScalingGroupCommand;
|
|
1263
1122
|
const de_DeleteAutoScalingGroupCommandError = async (output, context) => {
|
|
@@ -1278,10 +1137,9 @@ const de_DeleteAutoScalingGroupCommandError = async (output, context) => {
|
|
|
1278
1137
|
throw await de_ScalingActivityInProgressFaultRes(parsedOutput, context);
|
|
1279
1138
|
default:
|
|
1280
1139
|
const parsedBody = parsedOutput.body;
|
|
1281
|
-
|
|
1140
|
+
return throwDefaultError({
|
|
1282
1141
|
output,
|
|
1283
1142
|
parsedBody: parsedBody.Error,
|
|
1284
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1285
1143
|
errorCode,
|
|
1286
1144
|
});
|
|
1287
1145
|
}
|
|
@@ -1294,7 +1152,7 @@ const de_DeleteLaunchConfigurationCommand = async (output, context) => {
|
|
|
1294
1152
|
const response = {
|
|
1295
1153
|
$metadata: deserializeMetadata(output),
|
|
1296
1154
|
};
|
|
1297
|
-
return
|
|
1155
|
+
return response;
|
|
1298
1156
|
};
|
|
1299
1157
|
exports.de_DeleteLaunchConfigurationCommand = de_DeleteLaunchConfigurationCommand;
|
|
1300
1158
|
const de_DeleteLaunchConfigurationCommandError = async (output, context) => {
|
|
@@ -1312,10 +1170,9 @@ const de_DeleteLaunchConfigurationCommandError = async (output, context) => {
|
|
|
1312
1170
|
throw await de_ResourceInUseFaultRes(parsedOutput, context);
|
|
1313
1171
|
default:
|
|
1314
1172
|
const parsedBody = parsedOutput.body;
|
|
1315
|
-
|
|
1173
|
+
return throwDefaultError({
|
|
1316
1174
|
output,
|
|
1317
1175
|
parsedBody: parsedBody.Error,
|
|
1318
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1319
1176
|
errorCode,
|
|
1320
1177
|
});
|
|
1321
1178
|
}
|
|
@@ -1331,7 +1188,7 @@ const de_DeleteLifecycleHookCommand = async (output, context) => {
|
|
|
1331
1188
|
$metadata: deserializeMetadata(output),
|
|
1332
1189
|
...contents,
|
|
1333
1190
|
};
|
|
1334
|
-
return
|
|
1191
|
+
return response;
|
|
1335
1192
|
};
|
|
1336
1193
|
exports.de_DeleteLifecycleHookCommand = de_DeleteLifecycleHookCommand;
|
|
1337
1194
|
const de_DeleteLifecycleHookCommandError = async (output, context) => {
|
|
@@ -1346,10 +1203,9 @@ const de_DeleteLifecycleHookCommandError = async (output, context) => {
|
|
|
1346
1203
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1347
1204
|
default:
|
|
1348
1205
|
const parsedBody = parsedOutput.body;
|
|
1349
|
-
|
|
1206
|
+
return throwDefaultError({
|
|
1350
1207
|
output,
|
|
1351
1208
|
parsedBody: parsedBody.Error,
|
|
1352
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1353
1209
|
errorCode,
|
|
1354
1210
|
});
|
|
1355
1211
|
}
|
|
@@ -1362,7 +1218,7 @@ const de_DeleteNotificationConfigurationCommand = async (output, context) => {
|
|
|
1362
1218
|
const response = {
|
|
1363
1219
|
$metadata: deserializeMetadata(output),
|
|
1364
1220
|
};
|
|
1365
|
-
return
|
|
1221
|
+
return response;
|
|
1366
1222
|
};
|
|
1367
1223
|
exports.de_DeleteNotificationConfigurationCommand = de_DeleteNotificationConfigurationCommand;
|
|
1368
1224
|
const de_DeleteNotificationConfigurationCommandError = async (output, context) => {
|
|
@@ -1377,10 +1233,9 @@ const de_DeleteNotificationConfigurationCommandError = async (output, context) =
|
|
|
1377
1233
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1378
1234
|
default:
|
|
1379
1235
|
const parsedBody = parsedOutput.body;
|
|
1380
|
-
|
|
1236
|
+
return throwDefaultError({
|
|
1381
1237
|
output,
|
|
1382
1238
|
parsedBody: parsedBody.Error,
|
|
1383
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1384
1239
|
errorCode,
|
|
1385
1240
|
});
|
|
1386
1241
|
}
|
|
@@ -1393,7 +1248,7 @@ const de_DeletePolicyCommand = async (output, context) => {
|
|
|
1393
1248
|
const response = {
|
|
1394
1249
|
$metadata: deserializeMetadata(output),
|
|
1395
1250
|
};
|
|
1396
|
-
return
|
|
1251
|
+
return response;
|
|
1397
1252
|
};
|
|
1398
1253
|
exports.de_DeletePolicyCommand = de_DeletePolicyCommand;
|
|
1399
1254
|
const de_DeletePolicyCommandError = async (output, context) => {
|
|
@@ -1411,10 +1266,9 @@ const de_DeletePolicyCommandError = async (output, context) => {
|
|
|
1411
1266
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
1412
1267
|
default:
|
|
1413
1268
|
const parsedBody = parsedOutput.body;
|
|
1414
|
-
|
|
1269
|
+
return throwDefaultError({
|
|
1415
1270
|
output,
|
|
1416
1271
|
parsedBody: parsedBody.Error,
|
|
1417
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1418
1272
|
errorCode,
|
|
1419
1273
|
});
|
|
1420
1274
|
}
|
|
@@ -1427,7 +1281,7 @@ const de_DeleteScheduledActionCommand = async (output, context) => {
|
|
|
1427
1281
|
const response = {
|
|
1428
1282
|
$metadata: deserializeMetadata(output),
|
|
1429
1283
|
};
|
|
1430
|
-
return
|
|
1284
|
+
return response;
|
|
1431
1285
|
};
|
|
1432
1286
|
exports.de_DeleteScheduledActionCommand = de_DeleteScheduledActionCommand;
|
|
1433
1287
|
const de_DeleteScheduledActionCommandError = async (output, context) => {
|
|
@@ -1442,10 +1296,9 @@ const de_DeleteScheduledActionCommandError = async (output, context) => {
|
|
|
1442
1296
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1443
1297
|
default:
|
|
1444
1298
|
const parsedBody = parsedOutput.body;
|
|
1445
|
-
|
|
1299
|
+
return throwDefaultError({
|
|
1446
1300
|
output,
|
|
1447
1301
|
parsedBody: parsedBody.Error,
|
|
1448
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1449
1302
|
errorCode,
|
|
1450
1303
|
});
|
|
1451
1304
|
}
|
|
@@ -1458,7 +1311,7 @@ const de_DeleteTagsCommand = async (output, context) => {
|
|
|
1458
1311
|
const response = {
|
|
1459
1312
|
$metadata: deserializeMetadata(output),
|
|
1460
1313
|
};
|
|
1461
|
-
return
|
|
1314
|
+
return response;
|
|
1462
1315
|
};
|
|
1463
1316
|
exports.de_DeleteTagsCommand = de_DeleteTagsCommand;
|
|
1464
1317
|
const de_DeleteTagsCommandError = async (output, context) => {
|
|
@@ -1476,10 +1329,9 @@ const de_DeleteTagsCommandError = async (output, context) => {
|
|
|
1476
1329
|
throw await de_ResourceInUseFaultRes(parsedOutput, context);
|
|
1477
1330
|
default:
|
|
1478
1331
|
const parsedBody = parsedOutput.body;
|
|
1479
|
-
|
|
1332
|
+
return throwDefaultError({
|
|
1480
1333
|
output,
|
|
1481
1334
|
parsedBody: parsedBody.Error,
|
|
1482
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1483
1335
|
errorCode,
|
|
1484
1336
|
});
|
|
1485
1337
|
}
|
|
@@ -1495,7 +1347,7 @@ const de_DeleteWarmPoolCommand = async (output, context) => {
|
|
|
1495
1347
|
$metadata: deserializeMetadata(output),
|
|
1496
1348
|
...contents,
|
|
1497
1349
|
};
|
|
1498
|
-
return
|
|
1350
|
+
return response;
|
|
1499
1351
|
};
|
|
1500
1352
|
exports.de_DeleteWarmPoolCommand = de_DeleteWarmPoolCommand;
|
|
1501
1353
|
const de_DeleteWarmPoolCommandError = async (output, context) => {
|
|
@@ -1519,10 +1371,9 @@ const de_DeleteWarmPoolCommandError = async (output, context) => {
|
|
|
1519
1371
|
throw await de_ScalingActivityInProgressFaultRes(parsedOutput, context);
|
|
1520
1372
|
default:
|
|
1521
1373
|
const parsedBody = parsedOutput.body;
|
|
1522
|
-
|
|
1374
|
+
return throwDefaultError({
|
|
1523
1375
|
output,
|
|
1524
1376
|
parsedBody: parsedBody.Error,
|
|
1525
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1526
1377
|
errorCode,
|
|
1527
1378
|
});
|
|
1528
1379
|
}
|
|
@@ -1538,7 +1389,7 @@ const de_DescribeAccountLimitsCommand = async (output, context) => {
|
|
|
1538
1389
|
$metadata: deserializeMetadata(output),
|
|
1539
1390
|
...contents,
|
|
1540
1391
|
};
|
|
1541
|
-
return
|
|
1392
|
+
return response;
|
|
1542
1393
|
};
|
|
1543
1394
|
exports.de_DescribeAccountLimitsCommand = de_DescribeAccountLimitsCommand;
|
|
1544
1395
|
const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
@@ -1553,10 +1404,9 @@ const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
|
1553
1404
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1554
1405
|
default:
|
|
1555
1406
|
const parsedBody = parsedOutput.body;
|
|
1556
|
-
|
|
1407
|
+
return throwDefaultError({
|
|
1557
1408
|
output,
|
|
1558
1409
|
parsedBody: parsedBody.Error,
|
|
1559
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1560
1410
|
errorCode,
|
|
1561
1411
|
});
|
|
1562
1412
|
}
|
|
@@ -1572,7 +1422,7 @@ const de_DescribeAdjustmentTypesCommand = async (output, context) => {
|
|
|
1572
1422
|
$metadata: deserializeMetadata(output),
|
|
1573
1423
|
...contents,
|
|
1574
1424
|
};
|
|
1575
|
-
return
|
|
1425
|
+
return response;
|
|
1576
1426
|
};
|
|
1577
1427
|
exports.de_DescribeAdjustmentTypesCommand = de_DescribeAdjustmentTypesCommand;
|
|
1578
1428
|
const de_DescribeAdjustmentTypesCommandError = async (output, context) => {
|
|
@@ -1587,10 +1437,9 @@ const de_DescribeAdjustmentTypesCommandError = async (output, context) => {
|
|
|
1587
1437
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1588
1438
|
default:
|
|
1589
1439
|
const parsedBody = parsedOutput.body;
|
|
1590
|
-
|
|
1440
|
+
return throwDefaultError({
|
|
1591
1441
|
output,
|
|
1592
1442
|
parsedBody: parsedBody.Error,
|
|
1593
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1594
1443
|
errorCode,
|
|
1595
1444
|
});
|
|
1596
1445
|
}
|
|
@@ -1606,7 +1455,7 @@ const de_DescribeAutoScalingGroupsCommand = async (output, context) => {
|
|
|
1606
1455
|
$metadata: deserializeMetadata(output),
|
|
1607
1456
|
...contents,
|
|
1608
1457
|
};
|
|
1609
|
-
return
|
|
1458
|
+
return response;
|
|
1610
1459
|
};
|
|
1611
1460
|
exports.de_DescribeAutoScalingGroupsCommand = de_DescribeAutoScalingGroupsCommand;
|
|
1612
1461
|
const de_DescribeAutoScalingGroupsCommandError = async (output, context) => {
|
|
@@ -1624,10 +1473,9 @@ const de_DescribeAutoScalingGroupsCommandError = async (output, context) => {
|
|
|
1624
1473
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1625
1474
|
default:
|
|
1626
1475
|
const parsedBody = parsedOutput.body;
|
|
1627
|
-
|
|
1476
|
+
return throwDefaultError({
|
|
1628
1477
|
output,
|
|
1629
1478
|
parsedBody: parsedBody.Error,
|
|
1630
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1631
1479
|
errorCode,
|
|
1632
1480
|
});
|
|
1633
1481
|
}
|
|
@@ -1643,7 +1491,7 @@ const de_DescribeAutoScalingInstancesCommand = async (output, context) => {
|
|
|
1643
1491
|
$metadata: deserializeMetadata(output),
|
|
1644
1492
|
...contents,
|
|
1645
1493
|
};
|
|
1646
|
-
return
|
|
1494
|
+
return response;
|
|
1647
1495
|
};
|
|
1648
1496
|
exports.de_DescribeAutoScalingInstancesCommand = de_DescribeAutoScalingInstancesCommand;
|
|
1649
1497
|
const de_DescribeAutoScalingInstancesCommandError = async (output, context) => {
|
|
@@ -1661,10 +1509,9 @@ const de_DescribeAutoScalingInstancesCommandError = async (output, context) => {
|
|
|
1661
1509
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1662
1510
|
default:
|
|
1663
1511
|
const parsedBody = parsedOutput.body;
|
|
1664
|
-
|
|
1512
|
+
return throwDefaultError({
|
|
1665
1513
|
output,
|
|
1666
1514
|
parsedBody: parsedBody.Error,
|
|
1667
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1668
1515
|
errorCode,
|
|
1669
1516
|
});
|
|
1670
1517
|
}
|
|
@@ -1680,7 +1527,7 @@ const de_DescribeAutoScalingNotificationTypesCommand = async (output, context) =
|
|
|
1680
1527
|
$metadata: deserializeMetadata(output),
|
|
1681
1528
|
...contents,
|
|
1682
1529
|
};
|
|
1683
|
-
return
|
|
1530
|
+
return response;
|
|
1684
1531
|
};
|
|
1685
1532
|
exports.de_DescribeAutoScalingNotificationTypesCommand = de_DescribeAutoScalingNotificationTypesCommand;
|
|
1686
1533
|
const de_DescribeAutoScalingNotificationTypesCommandError = async (output, context) => {
|
|
@@ -1695,10 +1542,9 @@ const de_DescribeAutoScalingNotificationTypesCommandError = async (output, conte
|
|
|
1695
1542
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1696
1543
|
default:
|
|
1697
1544
|
const parsedBody = parsedOutput.body;
|
|
1698
|
-
|
|
1545
|
+
return throwDefaultError({
|
|
1699
1546
|
output,
|
|
1700
1547
|
parsedBody: parsedBody.Error,
|
|
1701
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1702
1548
|
errorCode,
|
|
1703
1549
|
});
|
|
1704
1550
|
}
|
|
@@ -1714,7 +1560,7 @@ const de_DescribeInstanceRefreshesCommand = async (output, context) => {
|
|
|
1714
1560
|
$metadata: deserializeMetadata(output),
|
|
1715
1561
|
...contents,
|
|
1716
1562
|
};
|
|
1717
|
-
return
|
|
1563
|
+
return response;
|
|
1718
1564
|
};
|
|
1719
1565
|
exports.de_DescribeInstanceRefreshesCommand = de_DescribeInstanceRefreshesCommand;
|
|
1720
1566
|
const de_DescribeInstanceRefreshesCommandError = async (output, context) => {
|
|
@@ -1732,10 +1578,9 @@ const de_DescribeInstanceRefreshesCommandError = async (output, context) => {
|
|
|
1732
1578
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1733
1579
|
default:
|
|
1734
1580
|
const parsedBody = parsedOutput.body;
|
|
1735
|
-
|
|
1581
|
+
return throwDefaultError({
|
|
1736
1582
|
output,
|
|
1737
1583
|
parsedBody: parsedBody.Error,
|
|
1738
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1739
1584
|
errorCode,
|
|
1740
1585
|
});
|
|
1741
1586
|
}
|
|
@@ -1751,7 +1596,7 @@ const de_DescribeLaunchConfigurationsCommand = async (output, context) => {
|
|
|
1751
1596
|
$metadata: deserializeMetadata(output),
|
|
1752
1597
|
...contents,
|
|
1753
1598
|
};
|
|
1754
|
-
return
|
|
1599
|
+
return response;
|
|
1755
1600
|
};
|
|
1756
1601
|
exports.de_DescribeLaunchConfigurationsCommand = de_DescribeLaunchConfigurationsCommand;
|
|
1757
1602
|
const de_DescribeLaunchConfigurationsCommandError = async (output, context) => {
|
|
@@ -1769,10 +1614,9 @@ const de_DescribeLaunchConfigurationsCommandError = async (output, context) => {
|
|
|
1769
1614
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1770
1615
|
default:
|
|
1771
1616
|
const parsedBody = parsedOutput.body;
|
|
1772
|
-
|
|
1617
|
+
return throwDefaultError({
|
|
1773
1618
|
output,
|
|
1774
1619
|
parsedBody: parsedBody.Error,
|
|
1775
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1776
1620
|
errorCode,
|
|
1777
1621
|
});
|
|
1778
1622
|
}
|
|
@@ -1788,7 +1632,7 @@ const de_DescribeLifecycleHooksCommand = async (output, context) => {
|
|
|
1788
1632
|
$metadata: deserializeMetadata(output),
|
|
1789
1633
|
...contents,
|
|
1790
1634
|
};
|
|
1791
|
-
return
|
|
1635
|
+
return response;
|
|
1792
1636
|
};
|
|
1793
1637
|
exports.de_DescribeLifecycleHooksCommand = de_DescribeLifecycleHooksCommand;
|
|
1794
1638
|
const de_DescribeLifecycleHooksCommandError = async (output, context) => {
|
|
@@ -1803,10 +1647,9 @@ const de_DescribeLifecycleHooksCommandError = async (output, context) => {
|
|
|
1803
1647
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1804
1648
|
default:
|
|
1805
1649
|
const parsedBody = parsedOutput.body;
|
|
1806
|
-
|
|
1650
|
+
return throwDefaultError({
|
|
1807
1651
|
output,
|
|
1808
1652
|
parsedBody: parsedBody.Error,
|
|
1809
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1810
1653
|
errorCode,
|
|
1811
1654
|
});
|
|
1812
1655
|
}
|
|
@@ -1822,7 +1665,7 @@ const de_DescribeLifecycleHookTypesCommand = async (output, context) => {
|
|
|
1822
1665
|
$metadata: deserializeMetadata(output),
|
|
1823
1666
|
...contents,
|
|
1824
1667
|
};
|
|
1825
|
-
return
|
|
1668
|
+
return response;
|
|
1826
1669
|
};
|
|
1827
1670
|
exports.de_DescribeLifecycleHookTypesCommand = de_DescribeLifecycleHookTypesCommand;
|
|
1828
1671
|
const de_DescribeLifecycleHookTypesCommandError = async (output, context) => {
|
|
@@ -1837,10 +1680,9 @@ const de_DescribeLifecycleHookTypesCommandError = async (output, context) => {
|
|
|
1837
1680
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1838
1681
|
default:
|
|
1839
1682
|
const parsedBody = parsedOutput.body;
|
|
1840
|
-
|
|
1683
|
+
return throwDefaultError({
|
|
1841
1684
|
output,
|
|
1842
1685
|
parsedBody: parsedBody.Error,
|
|
1843
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1844
1686
|
errorCode,
|
|
1845
1687
|
});
|
|
1846
1688
|
}
|
|
@@ -1856,7 +1698,7 @@ const de_DescribeLoadBalancersCommand = async (output, context) => {
|
|
|
1856
1698
|
$metadata: deserializeMetadata(output),
|
|
1857
1699
|
...contents,
|
|
1858
1700
|
};
|
|
1859
|
-
return
|
|
1701
|
+
return response;
|
|
1860
1702
|
};
|
|
1861
1703
|
exports.de_DescribeLoadBalancersCommand = de_DescribeLoadBalancersCommand;
|
|
1862
1704
|
const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
@@ -1874,10 +1716,9 @@ const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
|
1874
1716
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1875
1717
|
default:
|
|
1876
1718
|
const parsedBody = parsedOutput.body;
|
|
1877
|
-
|
|
1719
|
+
return throwDefaultError({
|
|
1878
1720
|
output,
|
|
1879
1721
|
parsedBody: parsedBody.Error,
|
|
1880
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1881
1722
|
errorCode,
|
|
1882
1723
|
});
|
|
1883
1724
|
}
|
|
@@ -1893,7 +1734,7 @@ const de_DescribeLoadBalancerTargetGroupsCommand = async (output, context) => {
|
|
|
1893
1734
|
$metadata: deserializeMetadata(output),
|
|
1894
1735
|
...contents,
|
|
1895
1736
|
};
|
|
1896
|
-
return
|
|
1737
|
+
return response;
|
|
1897
1738
|
};
|
|
1898
1739
|
exports.de_DescribeLoadBalancerTargetGroupsCommand = de_DescribeLoadBalancerTargetGroupsCommand;
|
|
1899
1740
|
const de_DescribeLoadBalancerTargetGroupsCommandError = async (output, context) => {
|
|
@@ -1911,10 +1752,9 @@ const de_DescribeLoadBalancerTargetGroupsCommandError = async (output, context)
|
|
|
1911
1752
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1912
1753
|
default:
|
|
1913
1754
|
const parsedBody = parsedOutput.body;
|
|
1914
|
-
|
|
1755
|
+
return throwDefaultError({
|
|
1915
1756
|
output,
|
|
1916
1757
|
parsedBody: parsedBody.Error,
|
|
1917
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1918
1758
|
errorCode,
|
|
1919
1759
|
});
|
|
1920
1760
|
}
|
|
@@ -1930,7 +1770,7 @@ const de_DescribeMetricCollectionTypesCommand = async (output, context) => {
|
|
|
1930
1770
|
$metadata: deserializeMetadata(output),
|
|
1931
1771
|
...contents,
|
|
1932
1772
|
};
|
|
1933
|
-
return
|
|
1773
|
+
return response;
|
|
1934
1774
|
};
|
|
1935
1775
|
exports.de_DescribeMetricCollectionTypesCommand = de_DescribeMetricCollectionTypesCommand;
|
|
1936
1776
|
const de_DescribeMetricCollectionTypesCommandError = async (output, context) => {
|
|
@@ -1945,10 +1785,9 @@ const de_DescribeMetricCollectionTypesCommandError = async (output, context) =>
|
|
|
1945
1785
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1946
1786
|
default:
|
|
1947
1787
|
const parsedBody = parsedOutput.body;
|
|
1948
|
-
|
|
1788
|
+
return throwDefaultError({
|
|
1949
1789
|
output,
|
|
1950
1790
|
parsedBody: parsedBody.Error,
|
|
1951
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1952
1791
|
errorCode,
|
|
1953
1792
|
});
|
|
1954
1793
|
}
|
|
@@ -1964,7 +1803,7 @@ const de_DescribeNotificationConfigurationsCommand = async (output, context) =>
|
|
|
1964
1803
|
$metadata: deserializeMetadata(output),
|
|
1965
1804
|
...contents,
|
|
1966
1805
|
};
|
|
1967
|
-
return
|
|
1806
|
+
return response;
|
|
1968
1807
|
};
|
|
1969
1808
|
exports.de_DescribeNotificationConfigurationsCommand = de_DescribeNotificationConfigurationsCommand;
|
|
1970
1809
|
const de_DescribeNotificationConfigurationsCommandError = async (output, context) => {
|
|
@@ -1982,10 +1821,9 @@ const de_DescribeNotificationConfigurationsCommandError = async (output, context
|
|
|
1982
1821
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1983
1822
|
default:
|
|
1984
1823
|
const parsedBody = parsedOutput.body;
|
|
1985
|
-
|
|
1824
|
+
return throwDefaultError({
|
|
1986
1825
|
output,
|
|
1987
1826
|
parsedBody: parsedBody.Error,
|
|
1988
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1989
1827
|
errorCode,
|
|
1990
1828
|
});
|
|
1991
1829
|
}
|
|
@@ -2001,7 +1839,7 @@ const de_DescribePoliciesCommand = async (output, context) => {
|
|
|
2001
1839
|
$metadata: deserializeMetadata(output),
|
|
2002
1840
|
...contents,
|
|
2003
1841
|
};
|
|
2004
|
-
return
|
|
1842
|
+
return response;
|
|
2005
1843
|
};
|
|
2006
1844
|
exports.de_DescribePoliciesCommand = de_DescribePoliciesCommand;
|
|
2007
1845
|
const de_DescribePoliciesCommandError = async (output, context) => {
|
|
@@ -2022,10 +1860,9 @@ const de_DescribePoliciesCommandError = async (output, context) => {
|
|
|
2022
1860
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
2023
1861
|
default:
|
|
2024
1862
|
const parsedBody = parsedOutput.body;
|
|
2025
|
-
|
|
1863
|
+
return throwDefaultError({
|
|
2026
1864
|
output,
|
|
2027
1865
|
parsedBody: parsedBody.Error,
|
|
2028
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2029
1866
|
errorCode,
|
|
2030
1867
|
});
|
|
2031
1868
|
}
|
|
@@ -2041,7 +1878,7 @@ const de_DescribeScalingActivitiesCommand = async (output, context) => {
|
|
|
2041
1878
|
$metadata: deserializeMetadata(output),
|
|
2042
1879
|
...contents,
|
|
2043
1880
|
};
|
|
2044
|
-
return
|
|
1881
|
+
return response;
|
|
2045
1882
|
};
|
|
2046
1883
|
exports.de_DescribeScalingActivitiesCommand = de_DescribeScalingActivitiesCommand;
|
|
2047
1884
|
const de_DescribeScalingActivitiesCommandError = async (output, context) => {
|
|
@@ -2059,10 +1896,9 @@ const de_DescribeScalingActivitiesCommandError = async (output, context) => {
|
|
|
2059
1896
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2060
1897
|
default:
|
|
2061
1898
|
const parsedBody = parsedOutput.body;
|
|
2062
|
-
|
|
1899
|
+
return throwDefaultError({
|
|
2063
1900
|
output,
|
|
2064
1901
|
parsedBody: parsedBody.Error,
|
|
2065
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2066
1902
|
errorCode,
|
|
2067
1903
|
});
|
|
2068
1904
|
}
|
|
@@ -2078,7 +1914,7 @@ const de_DescribeScalingProcessTypesCommand = async (output, context) => {
|
|
|
2078
1914
|
$metadata: deserializeMetadata(output),
|
|
2079
1915
|
...contents,
|
|
2080
1916
|
};
|
|
2081
|
-
return
|
|
1917
|
+
return response;
|
|
2082
1918
|
};
|
|
2083
1919
|
exports.de_DescribeScalingProcessTypesCommand = de_DescribeScalingProcessTypesCommand;
|
|
2084
1920
|
const de_DescribeScalingProcessTypesCommandError = async (output, context) => {
|
|
@@ -2093,10 +1929,9 @@ const de_DescribeScalingProcessTypesCommandError = async (output, context) => {
|
|
|
2093
1929
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2094
1930
|
default:
|
|
2095
1931
|
const parsedBody = parsedOutput.body;
|
|
2096
|
-
|
|
1932
|
+
return throwDefaultError({
|
|
2097
1933
|
output,
|
|
2098
1934
|
parsedBody: parsedBody.Error,
|
|
2099
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2100
1935
|
errorCode,
|
|
2101
1936
|
});
|
|
2102
1937
|
}
|
|
@@ -2112,7 +1947,7 @@ const de_DescribeScheduledActionsCommand = async (output, context) => {
|
|
|
2112
1947
|
$metadata: deserializeMetadata(output),
|
|
2113
1948
|
...contents,
|
|
2114
1949
|
};
|
|
2115
|
-
return
|
|
1950
|
+
return response;
|
|
2116
1951
|
};
|
|
2117
1952
|
exports.de_DescribeScheduledActionsCommand = de_DescribeScheduledActionsCommand;
|
|
2118
1953
|
const de_DescribeScheduledActionsCommandError = async (output, context) => {
|
|
@@ -2130,10 +1965,9 @@ const de_DescribeScheduledActionsCommandError = async (output, context) => {
|
|
|
2130
1965
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2131
1966
|
default:
|
|
2132
1967
|
const parsedBody = parsedOutput.body;
|
|
2133
|
-
|
|
1968
|
+
return throwDefaultError({
|
|
2134
1969
|
output,
|
|
2135
1970
|
parsedBody: parsedBody.Error,
|
|
2136
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2137
1971
|
errorCode,
|
|
2138
1972
|
});
|
|
2139
1973
|
}
|
|
@@ -2149,7 +1983,7 @@ const de_DescribeTagsCommand = async (output, context) => {
|
|
|
2149
1983
|
$metadata: deserializeMetadata(output),
|
|
2150
1984
|
...contents,
|
|
2151
1985
|
};
|
|
2152
|
-
return
|
|
1986
|
+
return response;
|
|
2153
1987
|
};
|
|
2154
1988
|
exports.de_DescribeTagsCommand = de_DescribeTagsCommand;
|
|
2155
1989
|
const de_DescribeTagsCommandError = async (output, context) => {
|
|
@@ -2167,10 +2001,9 @@ const de_DescribeTagsCommandError = async (output, context) => {
|
|
|
2167
2001
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2168
2002
|
default:
|
|
2169
2003
|
const parsedBody = parsedOutput.body;
|
|
2170
|
-
|
|
2004
|
+
return throwDefaultError({
|
|
2171
2005
|
output,
|
|
2172
2006
|
parsedBody: parsedBody.Error,
|
|
2173
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2174
2007
|
errorCode,
|
|
2175
2008
|
});
|
|
2176
2009
|
}
|
|
@@ -2186,7 +2019,7 @@ const de_DescribeTerminationPolicyTypesCommand = async (output, context) => {
|
|
|
2186
2019
|
$metadata: deserializeMetadata(output),
|
|
2187
2020
|
...contents,
|
|
2188
2021
|
};
|
|
2189
|
-
return
|
|
2022
|
+
return response;
|
|
2190
2023
|
};
|
|
2191
2024
|
exports.de_DescribeTerminationPolicyTypesCommand = de_DescribeTerminationPolicyTypesCommand;
|
|
2192
2025
|
const de_DescribeTerminationPolicyTypesCommandError = async (output, context) => {
|
|
@@ -2201,10 +2034,9 @@ const de_DescribeTerminationPolicyTypesCommandError = async (output, context) =>
|
|
|
2201
2034
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2202
2035
|
default:
|
|
2203
2036
|
const parsedBody = parsedOutput.body;
|
|
2204
|
-
|
|
2037
|
+
return throwDefaultError({
|
|
2205
2038
|
output,
|
|
2206
2039
|
parsedBody: parsedBody.Error,
|
|
2207
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2208
2040
|
errorCode,
|
|
2209
2041
|
});
|
|
2210
2042
|
}
|
|
@@ -2220,7 +2052,7 @@ const de_DescribeTrafficSourcesCommand = async (output, context) => {
|
|
|
2220
2052
|
$metadata: deserializeMetadata(output),
|
|
2221
2053
|
...contents,
|
|
2222
2054
|
};
|
|
2223
|
-
return
|
|
2055
|
+
return response;
|
|
2224
2056
|
};
|
|
2225
2057
|
exports.de_DescribeTrafficSourcesCommand = de_DescribeTrafficSourcesCommand;
|
|
2226
2058
|
const de_DescribeTrafficSourcesCommandError = async (output, context) => {
|
|
@@ -2238,10 +2070,9 @@ const de_DescribeTrafficSourcesCommandError = async (output, context) => {
|
|
|
2238
2070
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2239
2071
|
default:
|
|
2240
2072
|
const parsedBody = parsedOutput.body;
|
|
2241
|
-
|
|
2073
|
+
return throwDefaultError({
|
|
2242
2074
|
output,
|
|
2243
2075
|
parsedBody: parsedBody.Error,
|
|
2244
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2245
2076
|
errorCode,
|
|
2246
2077
|
});
|
|
2247
2078
|
}
|
|
@@ -2257,7 +2088,7 @@ const de_DescribeWarmPoolCommand = async (output, context) => {
|
|
|
2257
2088
|
$metadata: deserializeMetadata(output),
|
|
2258
2089
|
...contents,
|
|
2259
2090
|
};
|
|
2260
|
-
return
|
|
2091
|
+
return response;
|
|
2261
2092
|
};
|
|
2262
2093
|
exports.de_DescribeWarmPoolCommand = de_DescribeWarmPoolCommand;
|
|
2263
2094
|
const de_DescribeWarmPoolCommandError = async (output, context) => {
|
|
@@ -2278,10 +2109,9 @@ const de_DescribeWarmPoolCommandError = async (output, context) => {
|
|
|
2278
2109
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2279
2110
|
default:
|
|
2280
2111
|
const parsedBody = parsedOutput.body;
|
|
2281
|
-
|
|
2112
|
+
return throwDefaultError({
|
|
2282
2113
|
output,
|
|
2283
2114
|
parsedBody: parsedBody.Error,
|
|
2284
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2285
2115
|
errorCode,
|
|
2286
2116
|
});
|
|
2287
2117
|
}
|
|
@@ -2297,7 +2127,7 @@ const de_DetachInstancesCommand = async (output, context) => {
|
|
|
2297
2127
|
$metadata: deserializeMetadata(output),
|
|
2298
2128
|
...contents,
|
|
2299
2129
|
};
|
|
2300
|
-
return
|
|
2130
|
+
return response;
|
|
2301
2131
|
};
|
|
2302
2132
|
exports.de_DetachInstancesCommand = de_DetachInstancesCommand;
|
|
2303
2133
|
const de_DetachInstancesCommandError = async (output, context) => {
|
|
@@ -2312,10 +2142,9 @@ const de_DetachInstancesCommandError = async (output, context) => {
|
|
|
2312
2142
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2313
2143
|
default:
|
|
2314
2144
|
const parsedBody = parsedOutput.body;
|
|
2315
|
-
|
|
2145
|
+
return throwDefaultError({
|
|
2316
2146
|
output,
|
|
2317
2147
|
parsedBody: parsedBody.Error,
|
|
2318
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2319
2148
|
errorCode,
|
|
2320
2149
|
});
|
|
2321
2150
|
}
|
|
@@ -2331,7 +2160,7 @@ const de_DetachLoadBalancersCommand = async (output, context) => {
|
|
|
2331
2160
|
$metadata: deserializeMetadata(output),
|
|
2332
2161
|
...contents,
|
|
2333
2162
|
};
|
|
2334
|
-
return
|
|
2163
|
+
return response;
|
|
2335
2164
|
};
|
|
2336
2165
|
exports.de_DetachLoadBalancersCommand = de_DetachLoadBalancersCommand;
|
|
2337
2166
|
const de_DetachLoadBalancersCommandError = async (output, context) => {
|
|
@@ -2346,10 +2175,9 @@ const de_DetachLoadBalancersCommandError = async (output, context) => {
|
|
|
2346
2175
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2347
2176
|
default:
|
|
2348
2177
|
const parsedBody = parsedOutput.body;
|
|
2349
|
-
|
|
2178
|
+
return throwDefaultError({
|
|
2350
2179
|
output,
|
|
2351
2180
|
parsedBody: parsedBody.Error,
|
|
2352
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2353
2181
|
errorCode,
|
|
2354
2182
|
});
|
|
2355
2183
|
}
|
|
@@ -2365,7 +2193,7 @@ const de_DetachLoadBalancerTargetGroupsCommand = async (output, context) => {
|
|
|
2365
2193
|
$metadata: deserializeMetadata(output),
|
|
2366
2194
|
...contents,
|
|
2367
2195
|
};
|
|
2368
|
-
return
|
|
2196
|
+
return response;
|
|
2369
2197
|
};
|
|
2370
2198
|
exports.de_DetachLoadBalancerTargetGroupsCommand = de_DetachLoadBalancerTargetGroupsCommand;
|
|
2371
2199
|
const de_DetachLoadBalancerTargetGroupsCommandError = async (output, context) => {
|
|
@@ -2380,10 +2208,9 @@ const de_DetachLoadBalancerTargetGroupsCommandError = async (output, context) =>
|
|
|
2380
2208
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2381
2209
|
default:
|
|
2382
2210
|
const parsedBody = parsedOutput.body;
|
|
2383
|
-
|
|
2211
|
+
return throwDefaultError({
|
|
2384
2212
|
output,
|
|
2385
2213
|
parsedBody: parsedBody.Error,
|
|
2386
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2387
2214
|
errorCode,
|
|
2388
2215
|
});
|
|
2389
2216
|
}
|
|
@@ -2399,7 +2226,7 @@ const de_DetachTrafficSourcesCommand = async (output, context) => {
|
|
|
2399
2226
|
$metadata: deserializeMetadata(output),
|
|
2400
2227
|
...contents,
|
|
2401
2228
|
};
|
|
2402
|
-
return
|
|
2229
|
+
return response;
|
|
2403
2230
|
};
|
|
2404
2231
|
exports.de_DetachTrafficSourcesCommand = de_DetachTrafficSourcesCommand;
|
|
2405
2232
|
const de_DetachTrafficSourcesCommandError = async (output, context) => {
|
|
@@ -2414,10 +2241,9 @@ const de_DetachTrafficSourcesCommandError = async (output, context) => {
|
|
|
2414
2241
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2415
2242
|
default:
|
|
2416
2243
|
const parsedBody = parsedOutput.body;
|
|
2417
|
-
|
|
2244
|
+
return throwDefaultError({
|
|
2418
2245
|
output,
|
|
2419
2246
|
parsedBody: parsedBody.Error,
|
|
2420
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2421
2247
|
errorCode,
|
|
2422
2248
|
});
|
|
2423
2249
|
}
|
|
@@ -2430,7 +2256,7 @@ const de_DisableMetricsCollectionCommand = async (output, context) => {
|
|
|
2430
2256
|
const response = {
|
|
2431
2257
|
$metadata: deserializeMetadata(output),
|
|
2432
2258
|
};
|
|
2433
|
-
return
|
|
2259
|
+
return response;
|
|
2434
2260
|
};
|
|
2435
2261
|
exports.de_DisableMetricsCollectionCommand = de_DisableMetricsCollectionCommand;
|
|
2436
2262
|
const de_DisableMetricsCollectionCommandError = async (output, context) => {
|
|
@@ -2445,10 +2271,9 @@ const de_DisableMetricsCollectionCommandError = async (output, context) => {
|
|
|
2445
2271
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2446
2272
|
default:
|
|
2447
2273
|
const parsedBody = parsedOutput.body;
|
|
2448
|
-
|
|
2274
|
+
return throwDefaultError({
|
|
2449
2275
|
output,
|
|
2450
2276
|
parsedBody: parsedBody.Error,
|
|
2451
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2452
2277
|
errorCode,
|
|
2453
2278
|
});
|
|
2454
2279
|
}
|
|
@@ -2461,7 +2286,7 @@ const de_EnableMetricsCollectionCommand = async (output, context) => {
|
|
|
2461
2286
|
const response = {
|
|
2462
2287
|
$metadata: deserializeMetadata(output),
|
|
2463
2288
|
};
|
|
2464
|
-
return
|
|
2289
|
+
return response;
|
|
2465
2290
|
};
|
|
2466
2291
|
exports.de_EnableMetricsCollectionCommand = de_EnableMetricsCollectionCommand;
|
|
2467
2292
|
const de_EnableMetricsCollectionCommandError = async (output, context) => {
|
|
@@ -2476,10 +2301,9 @@ const de_EnableMetricsCollectionCommandError = async (output, context) => {
|
|
|
2476
2301
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2477
2302
|
default:
|
|
2478
2303
|
const parsedBody = parsedOutput.body;
|
|
2479
|
-
|
|
2304
|
+
return throwDefaultError({
|
|
2480
2305
|
output,
|
|
2481
2306
|
parsedBody: parsedBody.Error,
|
|
2482
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2483
2307
|
errorCode,
|
|
2484
2308
|
});
|
|
2485
2309
|
}
|
|
@@ -2495,7 +2319,7 @@ const de_EnterStandbyCommand = async (output, context) => {
|
|
|
2495
2319
|
$metadata: deserializeMetadata(output),
|
|
2496
2320
|
...contents,
|
|
2497
2321
|
};
|
|
2498
|
-
return
|
|
2322
|
+
return response;
|
|
2499
2323
|
};
|
|
2500
2324
|
exports.de_EnterStandbyCommand = de_EnterStandbyCommand;
|
|
2501
2325
|
const de_EnterStandbyCommandError = async (output, context) => {
|
|
@@ -2510,10 +2334,9 @@ const de_EnterStandbyCommandError = async (output, context) => {
|
|
|
2510
2334
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2511
2335
|
default:
|
|
2512
2336
|
const parsedBody = parsedOutput.body;
|
|
2513
|
-
|
|
2337
|
+
return throwDefaultError({
|
|
2514
2338
|
output,
|
|
2515
2339
|
parsedBody: parsedBody.Error,
|
|
2516
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2517
2340
|
errorCode,
|
|
2518
2341
|
});
|
|
2519
2342
|
}
|
|
@@ -2526,7 +2349,7 @@ const de_ExecutePolicyCommand = async (output, context) => {
|
|
|
2526
2349
|
const response = {
|
|
2527
2350
|
$metadata: deserializeMetadata(output),
|
|
2528
2351
|
};
|
|
2529
|
-
return
|
|
2352
|
+
return response;
|
|
2530
2353
|
};
|
|
2531
2354
|
exports.de_ExecutePolicyCommand = de_ExecutePolicyCommand;
|
|
2532
2355
|
const de_ExecutePolicyCommandError = async (output, context) => {
|
|
@@ -2544,10 +2367,9 @@ const de_ExecutePolicyCommandError = async (output, context) => {
|
|
|
2544
2367
|
throw await de_ScalingActivityInProgressFaultRes(parsedOutput, context);
|
|
2545
2368
|
default:
|
|
2546
2369
|
const parsedBody = parsedOutput.body;
|
|
2547
|
-
|
|
2370
|
+
return throwDefaultError({
|
|
2548
2371
|
output,
|
|
2549
2372
|
parsedBody: parsedBody.Error,
|
|
2550
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2551
2373
|
errorCode,
|
|
2552
2374
|
});
|
|
2553
2375
|
}
|
|
@@ -2563,7 +2385,7 @@ const de_ExitStandbyCommand = async (output, context) => {
|
|
|
2563
2385
|
$metadata: deserializeMetadata(output),
|
|
2564
2386
|
...contents,
|
|
2565
2387
|
};
|
|
2566
|
-
return
|
|
2388
|
+
return response;
|
|
2567
2389
|
};
|
|
2568
2390
|
exports.de_ExitStandbyCommand = de_ExitStandbyCommand;
|
|
2569
2391
|
const de_ExitStandbyCommandError = async (output, context) => {
|
|
@@ -2578,10 +2400,9 @@ const de_ExitStandbyCommandError = async (output, context) => {
|
|
|
2578
2400
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2579
2401
|
default:
|
|
2580
2402
|
const parsedBody = parsedOutput.body;
|
|
2581
|
-
|
|
2403
|
+
return throwDefaultError({
|
|
2582
2404
|
output,
|
|
2583
2405
|
parsedBody: parsedBody.Error,
|
|
2584
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2585
2406
|
errorCode,
|
|
2586
2407
|
});
|
|
2587
2408
|
}
|
|
@@ -2597,7 +2418,7 @@ const de_GetPredictiveScalingForecastCommand = async (output, context) => {
|
|
|
2597
2418
|
$metadata: deserializeMetadata(output),
|
|
2598
2419
|
...contents,
|
|
2599
2420
|
};
|
|
2600
|
-
return
|
|
2421
|
+
return response;
|
|
2601
2422
|
};
|
|
2602
2423
|
exports.de_GetPredictiveScalingForecastCommand = de_GetPredictiveScalingForecastCommand;
|
|
2603
2424
|
const de_GetPredictiveScalingForecastCommandError = async (output, context) => {
|
|
@@ -2612,10 +2433,9 @@ const de_GetPredictiveScalingForecastCommandError = async (output, context) => {
|
|
|
2612
2433
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2613
2434
|
default:
|
|
2614
2435
|
const parsedBody = parsedOutput.body;
|
|
2615
|
-
|
|
2436
|
+
return throwDefaultError({
|
|
2616
2437
|
output,
|
|
2617
2438
|
parsedBody: parsedBody.Error,
|
|
2618
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2619
2439
|
errorCode,
|
|
2620
2440
|
});
|
|
2621
2441
|
}
|
|
@@ -2631,7 +2451,7 @@ const de_PutLifecycleHookCommand = async (output, context) => {
|
|
|
2631
2451
|
$metadata: deserializeMetadata(output),
|
|
2632
2452
|
...contents,
|
|
2633
2453
|
};
|
|
2634
|
-
return
|
|
2454
|
+
return response;
|
|
2635
2455
|
};
|
|
2636
2456
|
exports.de_PutLifecycleHookCommand = de_PutLifecycleHookCommand;
|
|
2637
2457
|
const de_PutLifecycleHookCommandError = async (output, context) => {
|
|
@@ -2649,10 +2469,9 @@ const de_PutLifecycleHookCommandError = async (output, context) => {
|
|
|
2649
2469
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2650
2470
|
default:
|
|
2651
2471
|
const parsedBody = parsedOutput.body;
|
|
2652
|
-
|
|
2472
|
+
return throwDefaultError({
|
|
2653
2473
|
output,
|
|
2654
2474
|
parsedBody: parsedBody.Error,
|
|
2655
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2656
2475
|
errorCode,
|
|
2657
2476
|
});
|
|
2658
2477
|
}
|
|
@@ -2665,7 +2484,7 @@ const de_PutNotificationConfigurationCommand = async (output, context) => {
|
|
|
2665
2484
|
const response = {
|
|
2666
2485
|
$metadata: deserializeMetadata(output),
|
|
2667
2486
|
};
|
|
2668
|
-
return
|
|
2487
|
+
return response;
|
|
2669
2488
|
};
|
|
2670
2489
|
exports.de_PutNotificationConfigurationCommand = de_PutNotificationConfigurationCommand;
|
|
2671
2490
|
const de_PutNotificationConfigurationCommandError = async (output, context) => {
|
|
@@ -2686,10 +2505,9 @@ const de_PutNotificationConfigurationCommandError = async (output, context) => {
|
|
|
2686
2505
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
2687
2506
|
default:
|
|
2688
2507
|
const parsedBody = parsedOutput.body;
|
|
2689
|
-
|
|
2508
|
+
return throwDefaultError({
|
|
2690
2509
|
output,
|
|
2691
2510
|
parsedBody: parsedBody.Error,
|
|
2692
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2693
2511
|
errorCode,
|
|
2694
2512
|
});
|
|
2695
2513
|
}
|
|
@@ -2705,7 +2523,7 @@ const de_PutScalingPolicyCommand = async (output, context) => {
|
|
|
2705
2523
|
$metadata: deserializeMetadata(output),
|
|
2706
2524
|
...contents,
|
|
2707
2525
|
};
|
|
2708
|
-
return
|
|
2526
|
+
return response;
|
|
2709
2527
|
};
|
|
2710
2528
|
exports.de_PutScalingPolicyCommand = de_PutScalingPolicyCommand;
|
|
2711
2529
|
const de_PutScalingPolicyCommandError = async (output, context) => {
|
|
@@ -2726,10 +2544,9 @@ const de_PutScalingPolicyCommandError = async (output, context) => {
|
|
|
2726
2544
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
2727
2545
|
default:
|
|
2728
2546
|
const parsedBody = parsedOutput.body;
|
|
2729
|
-
|
|
2547
|
+
return throwDefaultError({
|
|
2730
2548
|
output,
|
|
2731
2549
|
parsedBody: parsedBody.Error,
|
|
2732
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2733
2550
|
errorCode,
|
|
2734
2551
|
});
|
|
2735
2552
|
}
|
|
@@ -2742,7 +2559,7 @@ const de_PutScheduledUpdateGroupActionCommand = async (output, context) => {
|
|
|
2742
2559
|
const response = {
|
|
2743
2560
|
$metadata: deserializeMetadata(output),
|
|
2744
2561
|
};
|
|
2745
|
-
return
|
|
2562
|
+
return response;
|
|
2746
2563
|
};
|
|
2747
2564
|
exports.de_PutScheduledUpdateGroupActionCommand = de_PutScheduledUpdateGroupActionCommand;
|
|
2748
2565
|
const de_PutScheduledUpdateGroupActionCommandError = async (output, context) => {
|
|
@@ -2763,10 +2580,9 @@ const de_PutScheduledUpdateGroupActionCommandError = async (output, context) =>
|
|
|
2763
2580
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2764
2581
|
default:
|
|
2765
2582
|
const parsedBody = parsedOutput.body;
|
|
2766
|
-
|
|
2583
|
+
return throwDefaultError({
|
|
2767
2584
|
output,
|
|
2768
2585
|
parsedBody: parsedBody.Error,
|
|
2769
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2770
2586
|
errorCode,
|
|
2771
2587
|
});
|
|
2772
2588
|
}
|
|
@@ -2782,7 +2598,7 @@ const de_PutWarmPoolCommand = async (output, context) => {
|
|
|
2782
2598
|
$metadata: deserializeMetadata(output),
|
|
2783
2599
|
...contents,
|
|
2784
2600
|
};
|
|
2785
|
-
return
|
|
2601
|
+
return response;
|
|
2786
2602
|
};
|
|
2787
2603
|
exports.de_PutWarmPoolCommand = de_PutWarmPoolCommand;
|
|
2788
2604
|
const de_PutWarmPoolCommandError = async (output, context) => {
|
|
@@ -2800,10 +2616,9 @@ const de_PutWarmPoolCommandError = async (output, context) => {
|
|
|
2800
2616
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2801
2617
|
default:
|
|
2802
2618
|
const parsedBody = parsedOutput.body;
|
|
2803
|
-
|
|
2619
|
+
return throwDefaultError({
|
|
2804
2620
|
output,
|
|
2805
2621
|
parsedBody: parsedBody.Error,
|
|
2806
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2807
2622
|
errorCode,
|
|
2808
2623
|
});
|
|
2809
2624
|
}
|
|
@@ -2819,7 +2634,7 @@ const de_RecordLifecycleActionHeartbeatCommand = async (output, context) => {
|
|
|
2819
2634
|
$metadata: deserializeMetadata(output),
|
|
2820
2635
|
...contents,
|
|
2821
2636
|
};
|
|
2822
|
-
return
|
|
2637
|
+
return response;
|
|
2823
2638
|
};
|
|
2824
2639
|
exports.de_RecordLifecycleActionHeartbeatCommand = de_RecordLifecycleActionHeartbeatCommand;
|
|
2825
2640
|
const de_RecordLifecycleActionHeartbeatCommandError = async (output, context) => {
|
|
@@ -2834,10 +2649,9 @@ const de_RecordLifecycleActionHeartbeatCommandError = async (output, context) =>
|
|
|
2834
2649
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2835
2650
|
default:
|
|
2836
2651
|
const parsedBody = parsedOutput.body;
|
|
2837
|
-
|
|
2652
|
+
return throwDefaultError({
|
|
2838
2653
|
output,
|
|
2839
2654
|
parsedBody: parsedBody.Error,
|
|
2840
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2841
2655
|
errorCode,
|
|
2842
2656
|
});
|
|
2843
2657
|
}
|
|
@@ -2850,7 +2664,7 @@ const de_ResumeProcessesCommand = async (output, context) => {
|
|
|
2850
2664
|
const response = {
|
|
2851
2665
|
$metadata: deserializeMetadata(output),
|
|
2852
2666
|
};
|
|
2853
|
-
return
|
|
2667
|
+
return response;
|
|
2854
2668
|
};
|
|
2855
2669
|
exports.de_ResumeProcessesCommand = de_ResumeProcessesCommand;
|
|
2856
2670
|
const de_ResumeProcessesCommandError = async (output, context) => {
|
|
@@ -2868,10 +2682,9 @@ const de_ResumeProcessesCommandError = async (output, context) => {
|
|
|
2868
2682
|
throw await de_ResourceInUseFaultRes(parsedOutput, context);
|
|
2869
2683
|
default:
|
|
2870
2684
|
const parsedBody = parsedOutput.body;
|
|
2871
|
-
|
|
2685
|
+
return throwDefaultError({
|
|
2872
2686
|
output,
|
|
2873
2687
|
parsedBody: parsedBody.Error,
|
|
2874
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2875
2688
|
errorCode,
|
|
2876
2689
|
});
|
|
2877
2690
|
}
|
|
@@ -2887,7 +2700,7 @@ const de_RollbackInstanceRefreshCommand = async (output, context) => {
|
|
|
2887
2700
|
$metadata: deserializeMetadata(output),
|
|
2888
2701
|
...contents,
|
|
2889
2702
|
};
|
|
2890
|
-
return
|
|
2703
|
+
return response;
|
|
2891
2704
|
};
|
|
2892
2705
|
exports.de_RollbackInstanceRefreshCommand = de_RollbackInstanceRefreshCommand;
|
|
2893
2706
|
const de_RollbackInstanceRefreshCommandError = async (output, context) => {
|
|
@@ -2911,10 +2724,9 @@ const de_RollbackInstanceRefreshCommandError = async (output, context) => {
|
|
|
2911
2724
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2912
2725
|
default:
|
|
2913
2726
|
const parsedBody = parsedOutput.body;
|
|
2914
|
-
|
|
2727
|
+
return throwDefaultError({
|
|
2915
2728
|
output,
|
|
2916
2729
|
parsedBody: parsedBody.Error,
|
|
2917
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2918
2730
|
errorCode,
|
|
2919
2731
|
});
|
|
2920
2732
|
}
|
|
@@ -2927,7 +2739,7 @@ const de_SetDesiredCapacityCommand = async (output, context) => {
|
|
|
2927
2739
|
const response = {
|
|
2928
2740
|
$metadata: deserializeMetadata(output),
|
|
2929
2741
|
};
|
|
2930
|
-
return
|
|
2742
|
+
return response;
|
|
2931
2743
|
};
|
|
2932
2744
|
exports.de_SetDesiredCapacityCommand = de_SetDesiredCapacityCommand;
|
|
2933
2745
|
const de_SetDesiredCapacityCommandError = async (output, context) => {
|
|
@@ -2945,10 +2757,9 @@ const de_SetDesiredCapacityCommandError = async (output, context) => {
|
|
|
2945
2757
|
throw await de_ScalingActivityInProgressFaultRes(parsedOutput, context);
|
|
2946
2758
|
default:
|
|
2947
2759
|
const parsedBody = parsedOutput.body;
|
|
2948
|
-
|
|
2760
|
+
return throwDefaultError({
|
|
2949
2761
|
output,
|
|
2950
2762
|
parsedBody: parsedBody.Error,
|
|
2951
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2952
2763
|
errorCode,
|
|
2953
2764
|
});
|
|
2954
2765
|
}
|
|
@@ -2961,7 +2772,7 @@ const de_SetInstanceHealthCommand = async (output, context) => {
|
|
|
2961
2772
|
const response = {
|
|
2962
2773
|
$metadata: deserializeMetadata(output),
|
|
2963
2774
|
};
|
|
2964
|
-
return
|
|
2775
|
+
return response;
|
|
2965
2776
|
};
|
|
2966
2777
|
exports.de_SetInstanceHealthCommand = de_SetInstanceHealthCommand;
|
|
2967
2778
|
const de_SetInstanceHealthCommandError = async (output, context) => {
|
|
@@ -2976,10 +2787,9 @@ const de_SetInstanceHealthCommandError = async (output, context) => {
|
|
|
2976
2787
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2977
2788
|
default:
|
|
2978
2789
|
const parsedBody = parsedOutput.body;
|
|
2979
|
-
|
|
2790
|
+
return throwDefaultError({
|
|
2980
2791
|
output,
|
|
2981
2792
|
parsedBody: parsedBody.Error,
|
|
2982
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2983
2793
|
errorCode,
|
|
2984
2794
|
});
|
|
2985
2795
|
}
|
|
@@ -2995,7 +2805,7 @@ const de_SetInstanceProtectionCommand = async (output, context) => {
|
|
|
2995
2805
|
$metadata: deserializeMetadata(output),
|
|
2996
2806
|
...contents,
|
|
2997
2807
|
};
|
|
2998
|
-
return
|
|
2808
|
+
return response;
|
|
2999
2809
|
};
|
|
3000
2810
|
exports.de_SetInstanceProtectionCommand = de_SetInstanceProtectionCommand;
|
|
3001
2811
|
const de_SetInstanceProtectionCommandError = async (output, context) => {
|
|
@@ -3013,10 +2823,9 @@ const de_SetInstanceProtectionCommandError = async (output, context) => {
|
|
|
3013
2823
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
3014
2824
|
default:
|
|
3015
2825
|
const parsedBody = parsedOutput.body;
|
|
3016
|
-
|
|
2826
|
+
return throwDefaultError({
|
|
3017
2827
|
output,
|
|
3018
2828
|
parsedBody: parsedBody.Error,
|
|
3019
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
3020
2829
|
errorCode,
|
|
3021
2830
|
});
|
|
3022
2831
|
}
|
|
@@ -3032,7 +2841,7 @@ const de_StartInstanceRefreshCommand = async (output, context) => {
|
|
|
3032
2841
|
$metadata: deserializeMetadata(output),
|
|
3033
2842
|
...contents,
|
|
3034
2843
|
};
|
|
3035
|
-
return
|
|
2844
|
+
return response;
|
|
3036
2845
|
};
|
|
3037
2846
|
exports.de_StartInstanceRefreshCommand = de_StartInstanceRefreshCommand;
|
|
3038
2847
|
const de_StartInstanceRefreshCommandError = async (output, context) => {
|
|
@@ -3053,10 +2862,9 @@ const de_StartInstanceRefreshCommandError = async (output, context) => {
|
|
|
3053
2862
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
3054
2863
|
default:
|
|
3055
2864
|
const parsedBody = parsedOutput.body;
|
|
3056
|
-
|
|
2865
|
+
return throwDefaultError({
|
|
3057
2866
|
output,
|
|
3058
2867
|
parsedBody: parsedBody.Error,
|
|
3059
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
3060
2868
|
errorCode,
|
|
3061
2869
|
});
|
|
3062
2870
|
}
|
|
@@ -3069,7 +2877,7 @@ const de_SuspendProcessesCommand = async (output, context) => {
|
|
|
3069
2877
|
const response = {
|
|
3070
2878
|
$metadata: deserializeMetadata(output),
|
|
3071
2879
|
};
|
|
3072
|
-
return
|
|
2880
|
+
return response;
|
|
3073
2881
|
};
|
|
3074
2882
|
exports.de_SuspendProcessesCommand = de_SuspendProcessesCommand;
|
|
3075
2883
|
const de_SuspendProcessesCommandError = async (output, context) => {
|
|
@@ -3087,10 +2895,9 @@ const de_SuspendProcessesCommandError = async (output, context) => {
|
|
|
3087
2895
|
throw await de_ResourceInUseFaultRes(parsedOutput, context);
|
|
3088
2896
|
default:
|
|
3089
2897
|
const parsedBody = parsedOutput.body;
|
|
3090
|
-
|
|
2898
|
+
return throwDefaultError({
|
|
3091
2899
|
output,
|
|
3092
2900
|
parsedBody: parsedBody.Error,
|
|
3093
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
3094
2901
|
errorCode,
|
|
3095
2902
|
});
|
|
3096
2903
|
}
|
|
@@ -3106,7 +2913,7 @@ const de_TerminateInstanceInAutoScalingGroupCommand = async (output, context) =>
|
|
|
3106
2913
|
$metadata: deserializeMetadata(output),
|
|
3107
2914
|
...contents,
|
|
3108
2915
|
};
|
|
3109
|
-
return
|
|
2916
|
+
return response;
|
|
3110
2917
|
};
|
|
3111
2918
|
exports.de_TerminateInstanceInAutoScalingGroupCommand = de_TerminateInstanceInAutoScalingGroupCommand;
|
|
3112
2919
|
const de_TerminateInstanceInAutoScalingGroupCommandError = async (output, context) => {
|
|
@@ -3124,10 +2931,9 @@ const de_TerminateInstanceInAutoScalingGroupCommandError = async (output, contex
|
|
|
3124
2931
|
throw await de_ScalingActivityInProgressFaultRes(parsedOutput, context);
|
|
3125
2932
|
default:
|
|
3126
2933
|
const parsedBody = parsedOutput.body;
|
|
3127
|
-
|
|
2934
|
+
return throwDefaultError({
|
|
3128
2935
|
output,
|
|
3129
2936
|
parsedBody: parsedBody.Error,
|
|
3130
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
3131
2937
|
errorCode,
|
|
3132
2938
|
});
|
|
3133
2939
|
}
|
|
@@ -3140,7 +2946,7 @@ const de_UpdateAutoScalingGroupCommand = async (output, context) => {
|
|
|
3140
2946
|
const response = {
|
|
3141
2947
|
$metadata: deserializeMetadata(output),
|
|
3142
2948
|
};
|
|
3143
|
-
return
|
|
2949
|
+
return response;
|
|
3144
2950
|
};
|
|
3145
2951
|
exports.de_UpdateAutoScalingGroupCommand = de_UpdateAutoScalingGroupCommand;
|
|
3146
2952
|
const de_UpdateAutoScalingGroupCommandError = async (output, context) => {
|
|
@@ -3161,10 +2967,9 @@ const de_UpdateAutoScalingGroupCommandError = async (output, context) => {
|
|
|
3161
2967
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
3162
2968
|
default:
|
|
3163
2969
|
const parsedBody = parsedOutput.body;
|
|
3164
|
-
|
|
2970
|
+
return throwDefaultError({
|
|
3165
2971
|
output,
|
|
3166
2972
|
parsedBody: parsedBody.Error,
|
|
3167
|
-
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
3168
2973
|
errorCode,
|
|
3169
2974
|
});
|
|
3170
2975
|
}
|
|
@@ -8216,6 +8021,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
8216
8021
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
8217
8022
|
};
|
|
8218
8023
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
8024
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(AutoScalingServiceException_1.AutoScalingServiceException);
|
|
8219
8025
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
8220
8026
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8221
8027
|
const contents = {
|
|
@@ -8234,6 +8040,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
8234
8040
|
}
|
|
8235
8041
|
return new protocol_http_1.HttpRequest(contents);
|
|
8236
8042
|
};
|
|
8043
|
+
const SHARED_HEADERS = {
|
|
8044
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
8045
|
+
};
|
|
8237
8046
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
8238
8047
|
if (encoded.length) {
|
|
8239
8048
|
const parser = new fast_xml_parser_1.XMLParser({
|