@aws-sdk/client-elastic-load-balancing-v2 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 +106 -204
- package/dist-es/protocols/Aws_query.js +107 -205
- package/package.json +6 -6
|
@@ -8,9 +8,7 @@ const fast_xml_parser_1 = require("fast-xml-parser");
|
|
|
8
8
|
const ElasticLoadBalancingV2ServiceException_1 = require("../models/ElasticLoadBalancingV2ServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_AddListenerCertificatesCommand = async (input, context) => {
|
|
11
|
-
const headers =
|
|
12
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
13
|
-
};
|
|
11
|
+
const headers = SHARED_HEADERS;
|
|
14
12
|
let body;
|
|
15
13
|
body = buildFormUrlencodedString({
|
|
16
14
|
...se_AddListenerCertificatesInput(input, context),
|
|
@@ -21,9 +19,7 @@ const se_AddListenerCertificatesCommand = async (input, context) => {
|
|
|
21
19
|
};
|
|
22
20
|
exports.se_AddListenerCertificatesCommand = se_AddListenerCertificatesCommand;
|
|
23
21
|
const se_AddTagsCommand = async (input, context) => {
|
|
24
|
-
const headers =
|
|
25
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
26
|
-
};
|
|
22
|
+
const headers = SHARED_HEADERS;
|
|
27
23
|
let body;
|
|
28
24
|
body = buildFormUrlencodedString({
|
|
29
25
|
...se_AddTagsInput(input, context),
|
|
@@ -34,9 +30,7 @@ const se_AddTagsCommand = async (input, context) => {
|
|
|
34
30
|
};
|
|
35
31
|
exports.se_AddTagsCommand = se_AddTagsCommand;
|
|
36
32
|
const se_CreateListenerCommand = async (input, context) => {
|
|
37
|
-
const headers =
|
|
38
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
39
|
-
};
|
|
33
|
+
const headers = SHARED_HEADERS;
|
|
40
34
|
let body;
|
|
41
35
|
body = buildFormUrlencodedString({
|
|
42
36
|
...se_CreateListenerInput(input, context),
|
|
@@ -47,9 +41,7 @@ const se_CreateListenerCommand = async (input, context) => {
|
|
|
47
41
|
};
|
|
48
42
|
exports.se_CreateListenerCommand = se_CreateListenerCommand;
|
|
49
43
|
const se_CreateLoadBalancerCommand = async (input, context) => {
|
|
50
|
-
const headers =
|
|
51
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
52
|
-
};
|
|
44
|
+
const headers = SHARED_HEADERS;
|
|
53
45
|
let body;
|
|
54
46
|
body = buildFormUrlencodedString({
|
|
55
47
|
...se_CreateLoadBalancerInput(input, context),
|
|
@@ -60,9 +52,7 @@ const se_CreateLoadBalancerCommand = async (input, context) => {
|
|
|
60
52
|
};
|
|
61
53
|
exports.se_CreateLoadBalancerCommand = se_CreateLoadBalancerCommand;
|
|
62
54
|
const se_CreateRuleCommand = async (input, context) => {
|
|
63
|
-
const headers =
|
|
64
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
65
|
-
};
|
|
55
|
+
const headers = SHARED_HEADERS;
|
|
66
56
|
let body;
|
|
67
57
|
body = buildFormUrlencodedString({
|
|
68
58
|
...se_CreateRuleInput(input, context),
|
|
@@ -73,9 +63,7 @@ const se_CreateRuleCommand = async (input, context) => {
|
|
|
73
63
|
};
|
|
74
64
|
exports.se_CreateRuleCommand = se_CreateRuleCommand;
|
|
75
65
|
const se_CreateTargetGroupCommand = async (input, context) => {
|
|
76
|
-
const headers =
|
|
77
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
78
|
-
};
|
|
66
|
+
const headers = SHARED_HEADERS;
|
|
79
67
|
let body;
|
|
80
68
|
body = buildFormUrlencodedString({
|
|
81
69
|
...se_CreateTargetGroupInput(input, context),
|
|
@@ -86,9 +74,7 @@ const se_CreateTargetGroupCommand = async (input, context) => {
|
|
|
86
74
|
};
|
|
87
75
|
exports.se_CreateTargetGroupCommand = se_CreateTargetGroupCommand;
|
|
88
76
|
const se_DeleteListenerCommand = async (input, context) => {
|
|
89
|
-
const headers =
|
|
90
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
91
|
-
};
|
|
77
|
+
const headers = SHARED_HEADERS;
|
|
92
78
|
let body;
|
|
93
79
|
body = buildFormUrlencodedString({
|
|
94
80
|
...se_DeleteListenerInput(input, context),
|
|
@@ -99,9 +85,7 @@ const se_DeleteListenerCommand = async (input, context) => {
|
|
|
99
85
|
};
|
|
100
86
|
exports.se_DeleteListenerCommand = se_DeleteListenerCommand;
|
|
101
87
|
const se_DeleteLoadBalancerCommand = async (input, context) => {
|
|
102
|
-
const headers =
|
|
103
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
104
|
-
};
|
|
88
|
+
const headers = SHARED_HEADERS;
|
|
105
89
|
let body;
|
|
106
90
|
body = buildFormUrlencodedString({
|
|
107
91
|
...se_DeleteLoadBalancerInput(input, context),
|
|
@@ -112,9 +96,7 @@ const se_DeleteLoadBalancerCommand = async (input, context) => {
|
|
|
112
96
|
};
|
|
113
97
|
exports.se_DeleteLoadBalancerCommand = se_DeleteLoadBalancerCommand;
|
|
114
98
|
const se_DeleteRuleCommand = async (input, context) => {
|
|
115
|
-
const headers =
|
|
116
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
117
|
-
};
|
|
99
|
+
const headers = SHARED_HEADERS;
|
|
118
100
|
let body;
|
|
119
101
|
body = buildFormUrlencodedString({
|
|
120
102
|
...se_DeleteRuleInput(input, context),
|
|
@@ -125,9 +107,7 @@ const se_DeleteRuleCommand = async (input, context) => {
|
|
|
125
107
|
};
|
|
126
108
|
exports.se_DeleteRuleCommand = se_DeleteRuleCommand;
|
|
127
109
|
const se_DeleteTargetGroupCommand = async (input, context) => {
|
|
128
|
-
const headers =
|
|
129
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
130
|
-
};
|
|
110
|
+
const headers = SHARED_HEADERS;
|
|
131
111
|
let body;
|
|
132
112
|
body = buildFormUrlencodedString({
|
|
133
113
|
...se_DeleteTargetGroupInput(input, context),
|
|
@@ -138,9 +118,7 @@ const se_DeleteTargetGroupCommand = async (input, context) => {
|
|
|
138
118
|
};
|
|
139
119
|
exports.se_DeleteTargetGroupCommand = se_DeleteTargetGroupCommand;
|
|
140
120
|
const se_DeregisterTargetsCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
143
|
-
};
|
|
121
|
+
const headers = SHARED_HEADERS;
|
|
144
122
|
let body;
|
|
145
123
|
body = buildFormUrlencodedString({
|
|
146
124
|
...se_DeregisterTargetsInput(input, context),
|
|
@@ -151,9 +129,7 @@ const se_DeregisterTargetsCommand = async (input, context) => {
|
|
|
151
129
|
};
|
|
152
130
|
exports.se_DeregisterTargetsCommand = se_DeregisterTargetsCommand;
|
|
153
131
|
const se_DescribeAccountLimitsCommand = async (input, context) => {
|
|
154
|
-
const headers =
|
|
155
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
156
|
-
};
|
|
132
|
+
const headers = SHARED_HEADERS;
|
|
157
133
|
let body;
|
|
158
134
|
body = buildFormUrlencodedString({
|
|
159
135
|
...se_DescribeAccountLimitsInput(input, context),
|
|
@@ -164,9 +140,7 @@ const se_DescribeAccountLimitsCommand = async (input, context) => {
|
|
|
164
140
|
};
|
|
165
141
|
exports.se_DescribeAccountLimitsCommand = se_DescribeAccountLimitsCommand;
|
|
166
142
|
const se_DescribeListenerCertificatesCommand = async (input, context) => {
|
|
167
|
-
const headers =
|
|
168
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
169
|
-
};
|
|
143
|
+
const headers = SHARED_HEADERS;
|
|
170
144
|
let body;
|
|
171
145
|
body = buildFormUrlencodedString({
|
|
172
146
|
...se_DescribeListenerCertificatesInput(input, context),
|
|
@@ -177,9 +151,7 @@ const se_DescribeListenerCertificatesCommand = async (input, context) => {
|
|
|
177
151
|
};
|
|
178
152
|
exports.se_DescribeListenerCertificatesCommand = se_DescribeListenerCertificatesCommand;
|
|
179
153
|
const se_DescribeListenersCommand = async (input, context) => {
|
|
180
|
-
const headers =
|
|
181
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
182
|
-
};
|
|
154
|
+
const headers = SHARED_HEADERS;
|
|
183
155
|
let body;
|
|
184
156
|
body = buildFormUrlencodedString({
|
|
185
157
|
...se_DescribeListenersInput(input, context),
|
|
@@ -190,9 +162,7 @@ const se_DescribeListenersCommand = async (input, context) => {
|
|
|
190
162
|
};
|
|
191
163
|
exports.se_DescribeListenersCommand = se_DescribeListenersCommand;
|
|
192
164
|
const se_DescribeLoadBalancerAttributesCommand = async (input, context) => {
|
|
193
|
-
const headers =
|
|
194
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
195
|
-
};
|
|
165
|
+
const headers = SHARED_HEADERS;
|
|
196
166
|
let body;
|
|
197
167
|
body = buildFormUrlencodedString({
|
|
198
168
|
...se_DescribeLoadBalancerAttributesInput(input, context),
|
|
@@ -203,9 +173,7 @@ const se_DescribeLoadBalancerAttributesCommand = async (input, context) => {
|
|
|
203
173
|
};
|
|
204
174
|
exports.se_DescribeLoadBalancerAttributesCommand = se_DescribeLoadBalancerAttributesCommand;
|
|
205
175
|
const se_DescribeLoadBalancersCommand = async (input, context) => {
|
|
206
|
-
const headers =
|
|
207
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
208
|
-
};
|
|
176
|
+
const headers = SHARED_HEADERS;
|
|
209
177
|
let body;
|
|
210
178
|
body = buildFormUrlencodedString({
|
|
211
179
|
...se_DescribeLoadBalancersInput(input, context),
|
|
@@ -216,9 +184,7 @@ const se_DescribeLoadBalancersCommand = async (input, context) => {
|
|
|
216
184
|
};
|
|
217
185
|
exports.se_DescribeLoadBalancersCommand = se_DescribeLoadBalancersCommand;
|
|
218
186
|
const se_DescribeRulesCommand = async (input, context) => {
|
|
219
|
-
const headers =
|
|
220
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
221
|
-
};
|
|
187
|
+
const headers = SHARED_HEADERS;
|
|
222
188
|
let body;
|
|
223
189
|
body = buildFormUrlencodedString({
|
|
224
190
|
...se_DescribeRulesInput(input, context),
|
|
@@ -229,9 +195,7 @@ const se_DescribeRulesCommand = async (input, context) => {
|
|
|
229
195
|
};
|
|
230
196
|
exports.se_DescribeRulesCommand = se_DescribeRulesCommand;
|
|
231
197
|
const se_DescribeSSLPoliciesCommand = async (input, context) => {
|
|
232
|
-
const headers =
|
|
233
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
234
|
-
};
|
|
198
|
+
const headers = SHARED_HEADERS;
|
|
235
199
|
let body;
|
|
236
200
|
body = buildFormUrlencodedString({
|
|
237
201
|
...se_DescribeSSLPoliciesInput(input, context),
|
|
@@ -242,9 +206,7 @@ const se_DescribeSSLPoliciesCommand = async (input, context) => {
|
|
|
242
206
|
};
|
|
243
207
|
exports.se_DescribeSSLPoliciesCommand = se_DescribeSSLPoliciesCommand;
|
|
244
208
|
const se_DescribeTagsCommand = async (input, context) => {
|
|
245
|
-
const headers =
|
|
246
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
247
|
-
};
|
|
209
|
+
const headers = SHARED_HEADERS;
|
|
248
210
|
let body;
|
|
249
211
|
body = buildFormUrlencodedString({
|
|
250
212
|
...se_DescribeTagsInput(input, context),
|
|
@@ -255,9 +217,7 @@ const se_DescribeTagsCommand = async (input, context) => {
|
|
|
255
217
|
};
|
|
256
218
|
exports.se_DescribeTagsCommand = se_DescribeTagsCommand;
|
|
257
219
|
const se_DescribeTargetGroupAttributesCommand = async (input, context) => {
|
|
258
|
-
const headers =
|
|
259
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
260
|
-
};
|
|
220
|
+
const headers = SHARED_HEADERS;
|
|
261
221
|
let body;
|
|
262
222
|
body = buildFormUrlencodedString({
|
|
263
223
|
...se_DescribeTargetGroupAttributesInput(input, context),
|
|
@@ -268,9 +228,7 @@ const se_DescribeTargetGroupAttributesCommand = async (input, context) => {
|
|
|
268
228
|
};
|
|
269
229
|
exports.se_DescribeTargetGroupAttributesCommand = se_DescribeTargetGroupAttributesCommand;
|
|
270
230
|
const se_DescribeTargetGroupsCommand = async (input, context) => {
|
|
271
|
-
const headers =
|
|
272
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
273
|
-
};
|
|
231
|
+
const headers = SHARED_HEADERS;
|
|
274
232
|
let body;
|
|
275
233
|
body = buildFormUrlencodedString({
|
|
276
234
|
...se_DescribeTargetGroupsInput(input, context),
|
|
@@ -281,9 +239,7 @@ const se_DescribeTargetGroupsCommand = async (input, context) => {
|
|
|
281
239
|
};
|
|
282
240
|
exports.se_DescribeTargetGroupsCommand = se_DescribeTargetGroupsCommand;
|
|
283
241
|
const se_DescribeTargetHealthCommand = async (input, context) => {
|
|
284
|
-
const headers =
|
|
285
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
286
|
-
};
|
|
242
|
+
const headers = SHARED_HEADERS;
|
|
287
243
|
let body;
|
|
288
244
|
body = buildFormUrlencodedString({
|
|
289
245
|
...se_DescribeTargetHealthInput(input, context),
|
|
@@ -294,9 +250,7 @@ const se_DescribeTargetHealthCommand = async (input, context) => {
|
|
|
294
250
|
};
|
|
295
251
|
exports.se_DescribeTargetHealthCommand = se_DescribeTargetHealthCommand;
|
|
296
252
|
const se_ModifyListenerCommand = async (input, context) => {
|
|
297
|
-
const headers =
|
|
298
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
299
|
-
};
|
|
253
|
+
const headers = SHARED_HEADERS;
|
|
300
254
|
let body;
|
|
301
255
|
body = buildFormUrlencodedString({
|
|
302
256
|
...se_ModifyListenerInput(input, context),
|
|
@@ -307,9 +261,7 @@ const se_ModifyListenerCommand = async (input, context) => {
|
|
|
307
261
|
};
|
|
308
262
|
exports.se_ModifyListenerCommand = se_ModifyListenerCommand;
|
|
309
263
|
const se_ModifyLoadBalancerAttributesCommand = async (input, context) => {
|
|
310
|
-
const headers =
|
|
311
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
312
|
-
};
|
|
264
|
+
const headers = SHARED_HEADERS;
|
|
313
265
|
let body;
|
|
314
266
|
body = buildFormUrlencodedString({
|
|
315
267
|
...se_ModifyLoadBalancerAttributesInput(input, context),
|
|
@@ -320,9 +272,7 @@ const se_ModifyLoadBalancerAttributesCommand = async (input, context) => {
|
|
|
320
272
|
};
|
|
321
273
|
exports.se_ModifyLoadBalancerAttributesCommand = se_ModifyLoadBalancerAttributesCommand;
|
|
322
274
|
const se_ModifyRuleCommand = async (input, context) => {
|
|
323
|
-
const headers =
|
|
324
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
325
|
-
};
|
|
275
|
+
const headers = SHARED_HEADERS;
|
|
326
276
|
let body;
|
|
327
277
|
body = buildFormUrlencodedString({
|
|
328
278
|
...se_ModifyRuleInput(input, context),
|
|
@@ -333,9 +283,7 @@ const se_ModifyRuleCommand = async (input, context) => {
|
|
|
333
283
|
};
|
|
334
284
|
exports.se_ModifyRuleCommand = se_ModifyRuleCommand;
|
|
335
285
|
const se_ModifyTargetGroupCommand = async (input, context) => {
|
|
336
|
-
const headers =
|
|
337
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
338
|
-
};
|
|
286
|
+
const headers = SHARED_HEADERS;
|
|
339
287
|
let body;
|
|
340
288
|
body = buildFormUrlencodedString({
|
|
341
289
|
...se_ModifyTargetGroupInput(input, context),
|
|
@@ -346,9 +294,7 @@ const se_ModifyTargetGroupCommand = async (input, context) => {
|
|
|
346
294
|
};
|
|
347
295
|
exports.se_ModifyTargetGroupCommand = se_ModifyTargetGroupCommand;
|
|
348
296
|
const se_ModifyTargetGroupAttributesCommand = async (input, context) => {
|
|
349
|
-
const headers =
|
|
350
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
351
|
-
};
|
|
297
|
+
const headers = SHARED_HEADERS;
|
|
352
298
|
let body;
|
|
353
299
|
body = buildFormUrlencodedString({
|
|
354
300
|
...se_ModifyTargetGroupAttributesInput(input, context),
|
|
@@ -359,9 +305,7 @@ const se_ModifyTargetGroupAttributesCommand = async (input, context) => {
|
|
|
359
305
|
};
|
|
360
306
|
exports.se_ModifyTargetGroupAttributesCommand = se_ModifyTargetGroupAttributesCommand;
|
|
361
307
|
const se_RegisterTargetsCommand = async (input, context) => {
|
|
362
|
-
const headers =
|
|
363
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
364
|
-
};
|
|
308
|
+
const headers = SHARED_HEADERS;
|
|
365
309
|
let body;
|
|
366
310
|
body = buildFormUrlencodedString({
|
|
367
311
|
...se_RegisterTargetsInput(input, context),
|
|
@@ -372,9 +316,7 @@ const se_RegisterTargetsCommand = async (input, context) => {
|
|
|
372
316
|
};
|
|
373
317
|
exports.se_RegisterTargetsCommand = se_RegisterTargetsCommand;
|
|
374
318
|
const se_RemoveListenerCertificatesCommand = async (input, context) => {
|
|
375
|
-
const headers =
|
|
376
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
377
|
-
};
|
|
319
|
+
const headers = SHARED_HEADERS;
|
|
378
320
|
let body;
|
|
379
321
|
body = buildFormUrlencodedString({
|
|
380
322
|
...se_RemoveListenerCertificatesInput(input, context),
|
|
@@ -385,9 +327,7 @@ const se_RemoveListenerCertificatesCommand = async (input, context) => {
|
|
|
385
327
|
};
|
|
386
328
|
exports.se_RemoveListenerCertificatesCommand = se_RemoveListenerCertificatesCommand;
|
|
387
329
|
const se_RemoveTagsCommand = async (input, context) => {
|
|
388
|
-
const headers =
|
|
389
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
390
|
-
};
|
|
330
|
+
const headers = SHARED_HEADERS;
|
|
391
331
|
let body;
|
|
392
332
|
body = buildFormUrlencodedString({
|
|
393
333
|
...se_RemoveTagsInput(input, context),
|
|
@@ -398,9 +338,7 @@ const se_RemoveTagsCommand = async (input, context) => {
|
|
|
398
338
|
};
|
|
399
339
|
exports.se_RemoveTagsCommand = se_RemoveTagsCommand;
|
|
400
340
|
const se_SetIpAddressTypeCommand = async (input, context) => {
|
|
401
|
-
const headers =
|
|
402
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
403
|
-
};
|
|
341
|
+
const headers = SHARED_HEADERS;
|
|
404
342
|
let body;
|
|
405
343
|
body = buildFormUrlencodedString({
|
|
406
344
|
...se_SetIpAddressTypeInput(input, context),
|
|
@@ -411,9 +349,7 @@ const se_SetIpAddressTypeCommand = async (input, context) => {
|
|
|
411
349
|
};
|
|
412
350
|
exports.se_SetIpAddressTypeCommand = se_SetIpAddressTypeCommand;
|
|
413
351
|
const se_SetRulePrioritiesCommand = async (input, context) => {
|
|
414
|
-
const headers =
|
|
415
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
416
|
-
};
|
|
352
|
+
const headers = SHARED_HEADERS;
|
|
417
353
|
let body;
|
|
418
354
|
body = buildFormUrlencodedString({
|
|
419
355
|
...se_SetRulePrioritiesInput(input, context),
|
|
@@ -424,9 +360,7 @@ const se_SetRulePrioritiesCommand = async (input, context) => {
|
|
|
424
360
|
};
|
|
425
361
|
exports.se_SetRulePrioritiesCommand = se_SetRulePrioritiesCommand;
|
|
426
362
|
const se_SetSecurityGroupsCommand = async (input, context) => {
|
|
427
|
-
const headers =
|
|
428
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
429
|
-
};
|
|
363
|
+
const headers = SHARED_HEADERS;
|
|
430
364
|
let body;
|
|
431
365
|
body = buildFormUrlencodedString({
|
|
432
366
|
...se_SetSecurityGroupsInput(input, context),
|
|
@@ -437,9 +371,7 @@ const se_SetSecurityGroupsCommand = async (input, context) => {
|
|
|
437
371
|
};
|
|
438
372
|
exports.se_SetSecurityGroupsCommand = se_SetSecurityGroupsCommand;
|
|
439
373
|
const se_SetSubnetsCommand = async (input, context) => {
|
|
440
|
-
const headers =
|
|
441
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
442
|
-
};
|
|
374
|
+
const headers = SHARED_HEADERS;
|
|
443
375
|
let body;
|
|
444
376
|
body = buildFormUrlencodedString({
|
|
445
377
|
...se_SetSubnetsInput(input, context),
|
|
@@ -460,7 +392,7 @@ const de_AddListenerCertificatesCommand = async (output, context) => {
|
|
|
460
392
|
$metadata: deserializeMetadata(output),
|
|
461
393
|
...contents,
|
|
462
394
|
};
|
|
463
|
-
return
|
|
395
|
+
return response;
|
|
464
396
|
};
|
|
465
397
|
exports.de_AddListenerCertificatesCommand = de_AddListenerCertificatesCommand;
|
|
466
398
|
const de_AddListenerCertificatesCommandError = async (output, context) => {
|
|
@@ -481,10 +413,9 @@ const de_AddListenerCertificatesCommandError = async (output, context) => {
|
|
|
481
413
|
throw await de_TooManyCertificatesExceptionRes(parsedOutput, context);
|
|
482
414
|
default:
|
|
483
415
|
const parsedBody = parsedOutput.body;
|
|
484
|
-
|
|
416
|
+
return throwDefaultError({
|
|
485
417
|
output,
|
|
486
418
|
parsedBody: parsedBody.Error,
|
|
487
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
488
419
|
errorCode,
|
|
489
420
|
});
|
|
490
421
|
}
|
|
@@ -500,7 +431,7 @@ const de_AddTagsCommand = async (output, context) => {
|
|
|
500
431
|
$metadata: deserializeMetadata(output),
|
|
501
432
|
...contents,
|
|
502
433
|
};
|
|
503
|
-
return
|
|
434
|
+
return response;
|
|
504
435
|
};
|
|
505
436
|
exports.de_AddTagsCommand = de_AddTagsCommand;
|
|
506
437
|
const de_AddTagsCommandError = async (output, context) => {
|
|
@@ -530,10 +461,9 @@ const de_AddTagsCommandError = async (output, context) => {
|
|
|
530
461
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
531
462
|
default:
|
|
532
463
|
const parsedBody = parsedOutput.body;
|
|
533
|
-
|
|
464
|
+
return throwDefaultError({
|
|
534
465
|
output,
|
|
535
466
|
parsedBody: parsedBody.Error,
|
|
536
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
537
467
|
errorCode,
|
|
538
468
|
});
|
|
539
469
|
}
|
|
@@ -549,7 +479,7 @@ const de_CreateListenerCommand = async (output, context) => {
|
|
|
549
479
|
$metadata: deserializeMetadata(output),
|
|
550
480
|
...contents,
|
|
551
481
|
};
|
|
552
|
-
return
|
|
482
|
+
return response;
|
|
553
483
|
};
|
|
554
484
|
exports.de_CreateListenerCommand = de_CreateListenerCommand;
|
|
555
485
|
const de_CreateListenerCommandError = async (output, context) => {
|
|
@@ -615,10 +545,9 @@ const de_CreateListenerCommandError = async (output, context) => {
|
|
|
615
545
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
616
546
|
default:
|
|
617
547
|
const parsedBody = parsedOutput.body;
|
|
618
|
-
|
|
548
|
+
return throwDefaultError({
|
|
619
549
|
output,
|
|
620
550
|
parsedBody: parsedBody.Error,
|
|
621
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
622
551
|
errorCode,
|
|
623
552
|
});
|
|
624
553
|
}
|
|
@@ -634,7 +563,7 @@ const de_CreateLoadBalancerCommand = async (output, context) => {
|
|
|
634
563
|
$metadata: deserializeMetadata(output),
|
|
635
564
|
...contents,
|
|
636
565
|
};
|
|
637
|
-
return
|
|
566
|
+
return response;
|
|
638
567
|
};
|
|
639
568
|
exports.de_CreateLoadBalancerCommand = de_CreateLoadBalancerCommand;
|
|
640
569
|
const de_CreateLoadBalancerCommandError = async (output, context) => {
|
|
@@ -685,10 +614,9 @@ const de_CreateLoadBalancerCommandError = async (output, context) => {
|
|
|
685
614
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
686
615
|
default:
|
|
687
616
|
const parsedBody = parsedOutput.body;
|
|
688
|
-
|
|
617
|
+
return throwDefaultError({
|
|
689
618
|
output,
|
|
690
619
|
parsedBody: parsedBody.Error,
|
|
691
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
692
620
|
errorCode,
|
|
693
621
|
});
|
|
694
622
|
}
|
|
@@ -704,7 +632,7 @@ const de_CreateRuleCommand = async (output, context) => {
|
|
|
704
632
|
$metadata: deserializeMetadata(output),
|
|
705
633
|
...contents,
|
|
706
634
|
};
|
|
707
|
-
return
|
|
635
|
+
return response;
|
|
708
636
|
};
|
|
709
637
|
exports.de_CreateRuleCommand = de_CreateRuleCommand;
|
|
710
638
|
const de_CreateRuleCommandError = async (output, context) => {
|
|
@@ -761,10 +689,9 @@ const de_CreateRuleCommandError = async (output, context) => {
|
|
|
761
689
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
762
690
|
default:
|
|
763
691
|
const parsedBody = parsedOutput.body;
|
|
764
|
-
|
|
692
|
+
return throwDefaultError({
|
|
765
693
|
output,
|
|
766
694
|
parsedBody: parsedBody.Error,
|
|
767
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
768
695
|
errorCode,
|
|
769
696
|
});
|
|
770
697
|
}
|
|
@@ -780,7 +707,7 @@ const de_CreateTargetGroupCommand = async (output, context) => {
|
|
|
780
707
|
$metadata: deserializeMetadata(output),
|
|
781
708
|
...contents,
|
|
782
709
|
};
|
|
783
|
-
return
|
|
710
|
+
return response;
|
|
784
711
|
};
|
|
785
712
|
exports.de_CreateTargetGroupCommand = de_CreateTargetGroupCommand;
|
|
786
713
|
const de_CreateTargetGroupCommandError = async (output, context) => {
|
|
@@ -804,10 +731,9 @@ const de_CreateTargetGroupCommandError = async (output, context) => {
|
|
|
804
731
|
throw await de_TooManyTargetGroupsExceptionRes(parsedOutput, context);
|
|
805
732
|
default:
|
|
806
733
|
const parsedBody = parsedOutput.body;
|
|
807
|
-
|
|
734
|
+
return throwDefaultError({
|
|
808
735
|
output,
|
|
809
736
|
parsedBody: parsedBody.Error,
|
|
810
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
811
737
|
errorCode,
|
|
812
738
|
});
|
|
813
739
|
}
|
|
@@ -823,7 +749,7 @@ const de_DeleteListenerCommand = async (output, context) => {
|
|
|
823
749
|
$metadata: deserializeMetadata(output),
|
|
824
750
|
...contents,
|
|
825
751
|
};
|
|
826
|
-
return
|
|
752
|
+
return response;
|
|
827
753
|
};
|
|
828
754
|
exports.de_DeleteListenerCommand = de_DeleteListenerCommand;
|
|
829
755
|
const de_DeleteListenerCommandError = async (output, context) => {
|
|
@@ -841,10 +767,9 @@ const de_DeleteListenerCommandError = async (output, context) => {
|
|
|
841
767
|
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
842
768
|
default:
|
|
843
769
|
const parsedBody = parsedOutput.body;
|
|
844
|
-
|
|
770
|
+
return throwDefaultError({
|
|
845
771
|
output,
|
|
846
772
|
parsedBody: parsedBody.Error,
|
|
847
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
848
773
|
errorCode,
|
|
849
774
|
});
|
|
850
775
|
}
|
|
@@ -860,7 +785,7 @@ const de_DeleteLoadBalancerCommand = async (output, context) => {
|
|
|
860
785
|
$metadata: deserializeMetadata(output),
|
|
861
786
|
...contents,
|
|
862
787
|
};
|
|
863
|
-
return
|
|
788
|
+
return response;
|
|
864
789
|
};
|
|
865
790
|
exports.de_DeleteLoadBalancerCommand = de_DeleteLoadBalancerCommand;
|
|
866
791
|
const de_DeleteLoadBalancerCommandError = async (output, context) => {
|
|
@@ -881,10 +806,9 @@ const de_DeleteLoadBalancerCommandError = async (output, context) => {
|
|
|
881
806
|
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
882
807
|
default:
|
|
883
808
|
const parsedBody = parsedOutput.body;
|
|
884
|
-
|
|
809
|
+
return throwDefaultError({
|
|
885
810
|
output,
|
|
886
811
|
parsedBody: parsedBody.Error,
|
|
887
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
888
812
|
errorCode,
|
|
889
813
|
});
|
|
890
814
|
}
|
|
@@ -900,7 +824,7 @@ const de_DeleteRuleCommand = async (output, context) => {
|
|
|
900
824
|
$metadata: deserializeMetadata(output),
|
|
901
825
|
...contents,
|
|
902
826
|
};
|
|
903
|
-
return
|
|
827
|
+
return response;
|
|
904
828
|
};
|
|
905
829
|
exports.de_DeleteRuleCommand = de_DeleteRuleCommand;
|
|
906
830
|
const de_DeleteRuleCommandError = async (output, context) => {
|
|
@@ -918,10 +842,9 @@ const de_DeleteRuleCommandError = async (output, context) => {
|
|
|
918
842
|
throw await de_RuleNotFoundExceptionRes(parsedOutput, context);
|
|
919
843
|
default:
|
|
920
844
|
const parsedBody = parsedOutput.body;
|
|
921
|
-
|
|
845
|
+
return throwDefaultError({
|
|
922
846
|
output,
|
|
923
847
|
parsedBody: parsedBody.Error,
|
|
924
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
925
848
|
errorCode,
|
|
926
849
|
});
|
|
927
850
|
}
|
|
@@ -937,7 +860,7 @@ const de_DeleteTargetGroupCommand = async (output, context) => {
|
|
|
937
860
|
$metadata: deserializeMetadata(output),
|
|
938
861
|
...contents,
|
|
939
862
|
};
|
|
940
|
-
return
|
|
863
|
+
return response;
|
|
941
864
|
};
|
|
942
865
|
exports.de_DeleteTargetGroupCommand = de_DeleteTargetGroupCommand;
|
|
943
866
|
const de_DeleteTargetGroupCommandError = async (output, context) => {
|
|
@@ -952,10 +875,9 @@ const de_DeleteTargetGroupCommandError = async (output, context) => {
|
|
|
952
875
|
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
953
876
|
default:
|
|
954
877
|
const parsedBody = parsedOutput.body;
|
|
955
|
-
|
|
878
|
+
return throwDefaultError({
|
|
956
879
|
output,
|
|
957
880
|
parsedBody: parsedBody.Error,
|
|
958
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
959
881
|
errorCode,
|
|
960
882
|
});
|
|
961
883
|
}
|
|
@@ -971,7 +893,7 @@ const de_DeregisterTargetsCommand = async (output, context) => {
|
|
|
971
893
|
$metadata: deserializeMetadata(output),
|
|
972
894
|
...contents,
|
|
973
895
|
};
|
|
974
|
-
return
|
|
896
|
+
return response;
|
|
975
897
|
};
|
|
976
898
|
exports.de_DeregisterTargetsCommand = de_DeregisterTargetsCommand;
|
|
977
899
|
const de_DeregisterTargetsCommandError = async (output, context) => {
|
|
@@ -989,10 +911,9 @@ const de_DeregisterTargetsCommandError = async (output, context) => {
|
|
|
989
911
|
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
990
912
|
default:
|
|
991
913
|
const parsedBody = parsedOutput.body;
|
|
992
|
-
|
|
914
|
+
return throwDefaultError({
|
|
993
915
|
output,
|
|
994
916
|
parsedBody: parsedBody.Error,
|
|
995
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
996
917
|
errorCode,
|
|
997
918
|
});
|
|
998
919
|
}
|
|
@@ -1008,7 +929,7 @@ const de_DescribeAccountLimitsCommand = async (output, context) => {
|
|
|
1008
929
|
$metadata: deserializeMetadata(output),
|
|
1009
930
|
...contents,
|
|
1010
931
|
};
|
|
1011
|
-
return
|
|
932
|
+
return response;
|
|
1012
933
|
};
|
|
1013
934
|
exports.de_DescribeAccountLimitsCommand = de_DescribeAccountLimitsCommand;
|
|
1014
935
|
const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
@@ -1018,10 +939,9 @@ const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
|
1018
939
|
};
|
|
1019
940
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1020
941
|
const parsedBody = parsedOutput.body;
|
|
1021
|
-
|
|
942
|
+
return throwDefaultError({
|
|
1022
943
|
output,
|
|
1023
944
|
parsedBody: parsedBody.Error,
|
|
1024
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1025
945
|
errorCode,
|
|
1026
946
|
});
|
|
1027
947
|
};
|
|
@@ -1036,7 +956,7 @@ const de_DescribeListenerCertificatesCommand = async (output, context) => {
|
|
|
1036
956
|
$metadata: deserializeMetadata(output),
|
|
1037
957
|
...contents,
|
|
1038
958
|
};
|
|
1039
|
-
return
|
|
959
|
+
return response;
|
|
1040
960
|
};
|
|
1041
961
|
exports.de_DescribeListenerCertificatesCommand = de_DescribeListenerCertificatesCommand;
|
|
1042
962
|
const de_DescribeListenerCertificatesCommandError = async (output, context) => {
|
|
@@ -1051,10 +971,9 @@ const de_DescribeListenerCertificatesCommandError = async (output, context) => {
|
|
|
1051
971
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1052
972
|
default:
|
|
1053
973
|
const parsedBody = parsedOutput.body;
|
|
1054
|
-
|
|
974
|
+
return throwDefaultError({
|
|
1055
975
|
output,
|
|
1056
976
|
parsedBody: parsedBody.Error,
|
|
1057
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1058
977
|
errorCode,
|
|
1059
978
|
});
|
|
1060
979
|
}
|
|
@@ -1070,7 +989,7 @@ const de_DescribeListenersCommand = async (output, context) => {
|
|
|
1070
989
|
$metadata: deserializeMetadata(output),
|
|
1071
990
|
...contents,
|
|
1072
991
|
};
|
|
1073
|
-
return
|
|
992
|
+
return response;
|
|
1074
993
|
};
|
|
1075
994
|
exports.de_DescribeListenersCommand = de_DescribeListenersCommand;
|
|
1076
995
|
const de_DescribeListenersCommandError = async (output, context) => {
|
|
@@ -1091,10 +1010,9 @@ const de_DescribeListenersCommandError = async (output, context) => {
|
|
|
1091
1010
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1092
1011
|
default:
|
|
1093
1012
|
const parsedBody = parsedOutput.body;
|
|
1094
|
-
|
|
1013
|
+
return throwDefaultError({
|
|
1095
1014
|
output,
|
|
1096
1015
|
parsedBody: parsedBody.Error,
|
|
1097
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1098
1016
|
errorCode,
|
|
1099
1017
|
});
|
|
1100
1018
|
}
|
|
@@ -1110,7 +1028,7 @@ const de_DescribeLoadBalancerAttributesCommand = async (output, context) => {
|
|
|
1110
1028
|
$metadata: deserializeMetadata(output),
|
|
1111
1029
|
...contents,
|
|
1112
1030
|
};
|
|
1113
|
-
return
|
|
1031
|
+
return response;
|
|
1114
1032
|
};
|
|
1115
1033
|
exports.de_DescribeLoadBalancerAttributesCommand = de_DescribeLoadBalancerAttributesCommand;
|
|
1116
1034
|
const de_DescribeLoadBalancerAttributesCommandError = async (output, context) => {
|
|
@@ -1125,10 +1043,9 @@ const de_DescribeLoadBalancerAttributesCommandError = async (output, context) =>
|
|
|
1125
1043
|
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
1126
1044
|
default:
|
|
1127
1045
|
const parsedBody = parsedOutput.body;
|
|
1128
|
-
|
|
1046
|
+
return throwDefaultError({
|
|
1129
1047
|
output,
|
|
1130
1048
|
parsedBody: parsedBody.Error,
|
|
1131
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1132
1049
|
errorCode,
|
|
1133
1050
|
});
|
|
1134
1051
|
}
|
|
@@ -1144,7 +1061,7 @@ const de_DescribeLoadBalancersCommand = async (output, context) => {
|
|
|
1144
1061
|
$metadata: deserializeMetadata(output),
|
|
1145
1062
|
...contents,
|
|
1146
1063
|
};
|
|
1147
|
-
return
|
|
1064
|
+
return response;
|
|
1148
1065
|
};
|
|
1149
1066
|
exports.de_DescribeLoadBalancersCommand = de_DescribeLoadBalancersCommand;
|
|
1150
1067
|
const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
@@ -1159,10 +1076,9 @@ const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
|
1159
1076
|
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
1160
1077
|
default:
|
|
1161
1078
|
const parsedBody = parsedOutput.body;
|
|
1162
|
-
|
|
1079
|
+
return throwDefaultError({
|
|
1163
1080
|
output,
|
|
1164
1081
|
parsedBody: parsedBody.Error,
|
|
1165
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1166
1082
|
errorCode,
|
|
1167
1083
|
});
|
|
1168
1084
|
}
|
|
@@ -1178,7 +1094,7 @@ const de_DescribeRulesCommand = async (output, context) => {
|
|
|
1178
1094
|
$metadata: deserializeMetadata(output),
|
|
1179
1095
|
...contents,
|
|
1180
1096
|
};
|
|
1181
|
-
return
|
|
1097
|
+
return response;
|
|
1182
1098
|
};
|
|
1183
1099
|
exports.de_DescribeRulesCommand = de_DescribeRulesCommand;
|
|
1184
1100
|
const de_DescribeRulesCommandError = async (output, context) => {
|
|
@@ -1199,10 +1115,9 @@ const de_DescribeRulesCommandError = async (output, context) => {
|
|
|
1199
1115
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1200
1116
|
default:
|
|
1201
1117
|
const parsedBody = parsedOutput.body;
|
|
1202
|
-
|
|
1118
|
+
return throwDefaultError({
|
|
1203
1119
|
output,
|
|
1204
1120
|
parsedBody: parsedBody.Error,
|
|
1205
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1206
1121
|
errorCode,
|
|
1207
1122
|
});
|
|
1208
1123
|
}
|
|
@@ -1218,7 +1133,7 @@ const de_DescribeSSLPoliciesCommand = async (output, context) => {
|
|
|
1218
1133
|
$metadata: deserializeMetadata(output),
|
|
1219
1134
|
...contents,
|
|
1220
1135
|
};
|
|
1221
|
-
return
|
|
1136
|
+
return response;
|
|
1222
1137
|
};
|
|
1223
1138
|
exports.de_DescribeSSLPoliciesCommand = de_DescribeSSLPoliciesCommand;
|
|
1224
1139
|
const de_DescribeSSLPoliciesCommandError = async (output, context) => {
|
|
@@ -1233,10 +1148,9 @@ const de_DescribeSSLPoliciesCommandError = async (output, context) => {
|
|
|
1233
1148
|
throw await de_SSLPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1234
1149
|
default:
|
|
1235
1150
|
const parsedBody = parsedOutput.body;
|
|
1236
|
-
|
|
1151
|
+
return throwDefaultError({
|
|
1237
1152
|
output,
|
|
1238
1153
|
parsedBody: parsedBody.Error,
|
|
1239
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1240
1154
|
errorCode,
|
|
1241
1155
|
});
|
|
1242
1156
|
}
|
|
@@ -1252,7 +1166,7 @@ const de_DescribeTagsCommand = async (output, context) => {
|
|
|
1252
1166
|
$metadata: deserializeMetadata(output),
|
|
1253
1167
|
...contents,
|
|
1254
1168
|
};
|
|
1255
|
-
return
|
|
1169
|
+
return response;
|
|
1256
1170
|
};
|
|
1257
1171
|
exports.de_DescribeTagsCommand = de_DescribeTagsCommand;
|
|
1258
1172
|
const de_DescribeTagsCommandError = async (output, context) => {
|
|
@@ -1276,10 +1190,9 @@ const de_DescribeTagsCommandError = async (output, context) => {
|
|
|
1276
1190
|
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1277
1191
|
default:
|
|
1278
1192
|
const parsedBody = parsedOutput.body;
|
|
1279
|
-
|
|
1193
|
+
return throwDefaultError({
|
|
1280
1194
|
output,
|
|
1281
1195
|
parsedBody: parsedBody.Error,
|
|
1282
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1283
1196
|
errorCode,
|
|
1284
1197
|
});
|
|
1285
1198
|
}
|
|
@@ -1295,7 +1208,7 @@ const de_DescribeTargetGroupAttributesCommand = async (output, context) => {
|
|
|
1295
1208
|
$metadata: deserializeMetadata(output),
|
|
1296
1209
|
...contents,
|
|
1297
1210
|
};
|
|
1298
|
-
return
|
|
1211
|
+
return response;
|
|
1299
1212
|
};
|
|
1300
1213
|
exports.de_DescribeTargetGroupAttributesCommand = de_DescribeTargetGroupAttributesCommand;
|
|
1301
1214
|
const de_DescribeTargetGroupAttributesCommandError = async (output, context) => {
|
|
@@ -1310,10 +1223,9 @@ const de_DescribeTargetGroupAttributesCommandError = async (output, context) =>
|
|
|
1310
1223
|
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1311
1224
|
default:
|
|
1312
1225
|
const parsedBody = parsedOutput.body;
|
|
1313
|
-
|
|
1226
|
+
return throwDefaultError({
|
|
1314
1227
|
output,
|
|
1315
1228
|
parsedBody: parsedBody.Error,
|
|
1316
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1317
1229
|
errorCode,
|
|
1318
1230
|
});
|
|
1319
1231
|
}
|
|
@@ -1329,7 +1241,7 @@ const de_DescribeTargetGroupsCommand = async (output, context) => {
|
|
|
1329
1241
|
$metadata: deserializeMetadata(output),
|
|
1330
1242
|
...contents,
|
|
1331
1243
|
};
|
|
1332
|
-
return
|
|
1244
|
+
return response;
|
|
1333
1245
|
};
|
|
1334
1246
|
exports.de_DescribeTargetGroupsCommand = de_DescribeTargetGroupsCommand;
|
|
1335
1247
|
const de_DescribeTargetGroupsCommandError = async (output, context) => {
|
|
@@ -1347,10 +1259,9 @@ const de_DescribeTargetGroupsCommandError = async (output, context) => {
|
|
|
1347
1259
|
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1348
1260
|
default:
|
|
1349
1261
|
const parsedBody = parsedOutput.body;
|
|
1350
|
-
|
|
1262
|
+
return throwDefaultError({
|
|
1351
1263
|
output,
|
|
1352
1264
|
parsedBody: parsedBody.Error,
|
|
1353
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1354
1265
|
errorCode,
|
|
1355
1266
|
});
|
|
1356
1267
|
}
|
|
@@ -1366,7 +1277,7 @@ const de_DescribeTargetHealthCommand = async (output, context) => {
|
|
|
1366
1277
|
$metadata: deserializeMetadata(output),
|
|
1367
1278
|
...contents,
|
|
1368
1279
|
};
|
|
1369
|
-
return
|
|
1280
|
+
return response;
|
|
1370
1281
|
};
|
|
1371
1282
|
exports.de_DescribeTargetHealthCommand = de_DescribeTargetHealthCommand;
|
|
1372
1283
|
const de_DescribeTargetHealthCommandError = async (output, context) => {
|
|
@@ -1387,10 +1298,9 @@ const de_DescribeTargetHealthCommandError = async (output, context) => {
|
|
|
1387
1298
|
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1388
1299
|
default:
|
|
1389
1300
|
const parsedBody = parsedOutput.body;
|
|
1390
|
-
|
|
1301
|
+
return throwDefaultError({
|
|
1391
1302
|
output,
|
|
1392
1303
|
parsedBody: parsedBody.Error,
|
|
1393
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1394
1304
|
errorCode,
|
|
1395
1305
|
});
|
|
1396
1306
|
}
|
|
@@ -1406,7 +1316,7 @@ const de_ModifyListenerCommand = async (output, context) => {
|
|
|
1406
1316
|
$metadata: deserializeMetadata(output),
|
|
1407
1317
|
...contents,
|
|
1408
1318
|
};
|
|
1409
|
-
return
|
|
1319
|
+
return response;
|
|
1410
1320
|
};
|
|
1411
1321
|
exports.de_ModifyListenerCommand = de_ModifyListenerCommand;
|
|
1412
1322
|
const de_ModifyListenerCommandError = async (output, context) => {
|
|
@@ -1469,10 +1379,9 @@ const de_ModifyListenerCommandError = async (output, context) => {
|
|
|
1469
1379
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1470
1380
|
default:
|
|
1471
1381
|
const parsedBody = parsedOutput.body;
|
|
1472
|
-
|
|
1382
|
+
return throwDefaultError({
|
|
1473
1383
|
output,
|
|
1474
1384
|
parsedBody: parsedBody.Error,
|
|
1475
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1476
1385
|
errorCode,
|
|
1477
1386
|
});
|
|
1478
1387
|
}
|
|
@@ -1488,7 +1397,7 @@ const de_ModifyLoadBalancerAttributesCommand = async (output, context) => {
|
|
|
1488
1397
|
$metadata: deserializeMetadata(output),
|
|
1489
1398
|
...contents,
|
|
1490
1399
|
};
|
|
1491
|
-
return
|
|
1400
|
+
return response;
|
|
1492
1401
|
};
|
|
1493
1402
|
exports.de_ModifyLoadBalancerAttributesCommand = de_ModifyLoadBalancerAttributesCommand;
|
|
1494
1403
|
const de_ModifyLoadBalancerAttributesCommandError = async (output, context) => {
|
|
@@ -1506,10 +1415,9 @@ const de_ModifyLoadBalancerAttributesCommandError = async (output, context) => {
|
|
|
1506
1415
|
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
1507
1416
|
default:
|
|
1508
1417
|
const parsedBody = parsedOutput.body;
|
|
1509
|
-
|
|
1418
|
+
return throwDefaultError({
|
|
1510
1419
|
output,
|
|
1511
1420
|
parsedBody: parsedBody.Error,
|
|
1512
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1513
1421
|
errorCode,
|
|
1514
1422
|
});
|
|
1515
1423
|
}
|
|
@@ -1525,7 +1433,7 @@ const de_ModifyRuleCommand = async (output, context) => {
|
|
|
1525
1433
|
$metadata: deserializeMetadata(output),
|
|
1526
1434
|
...contents,
|
|
1527
1435
|
};
|
|
1528
|
-
return
|
|
1436
|
+
return response;
|
|
1529
1437
|
};
|
|
1530
1438
|
exports.de_ModifyRuleCommand = de_ModifyRuleCommand;
|
|
1531
1439
|
const de_ModifyRuleCommandError = async (output, context) => {
|
|
@@ -1570,10 +1478,9 @@ const de_ModifyRuleCommandError = async (output, context) => {
|
|
|
1570
1478
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1571
1479
|
default:
|
|
1572
1480
|
const parsedBody = parsedOutput.body;
|
|
1573
|
-
|
|
1481
|
+
return throwDefaultError({
|
|
1574
1482
|
output,
|
|
1575
1483
|
parsedBody: parsedBody.Error,
|
|
1576
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1577
1484
|
errorCode,
|
|
1578
1485
|
});
|
|
1579
1486
|
}
|
|
@@ -1589,7 +1496,7 @@ const de_ModifyTargetGroupCommand = async (output, context) => {
|
|
|
1589
1496
|
$metadata: deserializeMetadata(output),
|
|
1590
1497
|
...contents,
|
|
1591
1498
|
};
|
|
1592
|
-
return
|
|
1499
|
+
return response;
|
|
1593
1500
|
};
|
|
1594
1501
|
exports.de_ModifyTargetGroupCommand = de_ModifyTargetGroupCommand;
|
|
1595
1502
|
const de_ModifyTargetGroupCommandError = async (output, context) => {
|
|
@@ -1607,10 +1514,9 @@ const de_ModifyTargetGroupCommandError = async (output, context) => {
|
|
|
1607
1514
|
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1608
1515
|
default:
|
|
1609
1516
|
const parsedBody = parsedOutput.body;
|
|
1610
|
-
|
|
1517
|
+
return throwDefaultError({
|
|
1611
1518
|
output,
|
|
1612
1519
|
parsedBody: parsedBody.Error,
|
|
1613
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1614
1520
|
errorCode,
|
|
1615
1521
|
});
|
|
1616
1522
|
}
|
|
@@ -1626,7 +1532,7 @@ const de_ModifyTargetGroupAttributesCommand = async (output, context) => {
|
|
|
1626
1532
|
$metadata: deserializeMetadata(output),
|
|
1627
1533
|
...contents,
|
|
1628
1534
|
};
|
|
1629
|
-
return
|
|
1535
|
+
return response;
|
|
1630
1536
|
};
|
|
1631
1537
|
exports.de_ModifyTargetGroupAttributesCommand = de_ModifyTargetGroupAttributesCommand;
|
|
1632
1538
|
const de_ModifyTargetGroupAttributesCommandError = async (output, context) => {
|
|
@@ -1644,10 +1550,9 @@ const de_ModifyTargetGroupAttributesCommandError = async (output, context) => {
|
|
|
1644
1550
|
throw await de_TargetGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1645
1551
|
default:
|
|
1646
1552
|
const parsedBody = parsedOutput.body;
|
|
1647
|
-
|
|
1553
|
+
return throwDefaultError({
|
|
1648
1554
|
output,
|
|
1649
1555
|
parsedBody: parsedBody.Error,
|
|
1650
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1651
1556
|
errorCode,
|
|
1652
1557
|
});
|
|
1653
1558
|
}
|
|
@@ -1663,7 +1568,7 @@ const de_RegisterTargetsCommand = async (output, context) => {
|
|
|
1663
1568
|
$metadata: deserializeMetadata(output),
|
|
1664
1569
|
...contents,
|
|
1665
1570
|
};
|
|
1666
|
-
return
|
|
1571
|
+
return response;
|
|
1667
1572
|
};
|
|
1668
1573
|
exports.de_RegisterTargetsCommand = de_RegisterTargetsCommand;
|
|
1669
1574
|
const de_RegisterTargetsCommandError = async (output, context) => {
|
|
@@ -1687,10 +1592,9 @@ const de_RegisterTargetsCommandError = async (output, context) => {
|
|
|
1687
1592
|
throw await de_TooManyTargetsExceptionRes(parsedOutput, context);
|
|
1688
1593
|
default:
|
|
1689
1594
|
const parsedBody = parsedOutput.body;
|
|
1690
|
-
|
|
1595
|
+
return throwDefaultError({
|
|
1691
1596
|
output,
|
|
1692
1597
|
parsedBody: parsedBody.Error,
|
|
1693
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1694
1598
|
errorCode,
|
|
1695
1599
|
});
|
|
1696
1600
|
}
|
|
@@ -1706,7 +1610,7 @@ const de_RemoveListenerCertificatesCommand = async (output, context) => {
|
|
|
1706
1610
|
$metadata: deserializeMetadata(output),
|
|
1707
1611
|
...contents,
|
|
1708
1612
|
};
|
|
1709
|
-
return
|
|
1613
|
+
return response;
|
|
1710
1614
|
};
|
|
1711
1615
|
exports.de_RemoveListenerCertificatesCommand = de_RemoveListenerCertificatesCommand;
|
|
1712
1616
|
const de_RemoveListenerCertificatesCommandError = async (output, context) => {
|
|
@@ -1724,10 +1628,9 @@ const de_RemoveListenerCertificatesCommandError = async (output, context) => {
|
|
|
1724
1628
|
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1725
1629
|
default:
|
|
1726
1630
|
const parsedBody = parsedOutput.body;
|
|
1727
|
-
|
|
1631
|
+
return throwDefaultError({
|
|
1728
1632
|
output,
|
|
1729
1633
|
parsedBody: parsedBody.Error,
|
|
1730
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1731
1634
|
errorCode,
|
|
1732
1635
|
});
|
|
1733
1636
|
}
|
|
@@ -1743,7 +1646,7 @@ const de_RemoveTagsCommand = async (output, context) => {
|
|
|
1743
1646
|
$metadata: deserializeMetadata(output),
|
|
1744
1647
|
...contents,
|
|
1745
1648
|
};
|
|
1746
|
-
return
|
|
1649
|
+
return response;
|
|
1747
1650
|
};
|
|
1748
1651
|
exports.de_RemoveTagsCommand = de_RemoveTagsCommand;
|
|
1749
1652
|
const de_RemoveTagsCommandError = async (output, context) => {
|
|
@@ -1770,10 +1673,9 @@ const de_RemoveTagsCommandError = async (output, context) => {
|
|
|
1770
1673
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1771
1674
|
default:
|
|
1772
1675
|
const parsedBody = parsedOutput.body;
|
|
1773
|
-
|
|
1676
|
+
return throwDefaultError({
|
|
1774
1677
|
output,
|
|
1775
1678
|
parsedBody: parsedBody.Error,
|
|
1776
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1777
1679
|
errorCode,
|
|
1778
1680
|
});
|
|
1779
1681
|
}
|
|
@@ -1789,7 +1691,7 @@ const de_SetIpAddressTypeCommand = async (output, context) => {
|
|
|
1789
1691
|
$metadata: deserializeMetadata(output),
|
|
1790
1692
|
...contents,
|
|
1791
1693
|
};
|
|
1792
|
-
return
|
|
1694
|
+
return response;
|
|
1793
1695
|
};
|
|
1794
1696
|
exports.de_SetIpAddressTypeCommand = de_SetIpAddressTypeCommand;
|
|
1795
1697
|
const de_SetIpAddressTypeCommandError = async (output, context) => {
|
|
@@ -1810,10 +1712,9 @@ const de_SetIpAddressTypeCommandError = async (output, context) => {
|
|
|
1810
1712
|
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
1811
1713
|
default:
|
|
1812
1714
|
const parsedBody = parsedOutput.body;
|
|
1813
|
-
|
|
1715
|
+
return throwDefaultError({
|
|
1814
1716
|
output,
|
|
1815
1717
|
parsedBody: parsedBody.Error,
|
|
1816
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1817
1718
|
errorCode,
|
|
1818
1719
|
});
|
|
1819
1720
|
}
|
|
@@ -1829,7 +1730,7 @@ const de_SetRulePrioritiesCommand = async (output, context) => {
|
|
|
1829
1730
|
$metadata: deserializeMetadata(output),
|
|
1830
1731
|
...contents,
|
|
1831
1732
|
};
|
|
1832
|
-
return
|
|
1733
|
+
return response;
|
|
1833
1734
|
};
|
|
1834
1735
|
exports.de_SetRulePrioritiesCommand = de_SetRulePrioritiesCommand;
|
|
1835
1736
|
const de_SetRulePrioritiesCommandError = async (output, context) => {
|
|
@@ -1850,10 +1751,9 @@ const de_SetRulePrioritiesCommandError = async (output, context) => {
|
|
|
1850
1751
|
throw await de_RuleNotFoundExceptionRes(parsedOutput, context);
|
|
1851
1752
|
default:
|
|
1852
1753
|
const parsedBody = parsedOutput.body;
|
|
1853
|
-
|
|
1754
|
+
return throwDefaultError({
|
|
1854
1755
|
output,
|
|
1855
1756
|
parsedBody: parsedBody.Error,
|
|
1856
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1857
1757
|
errorCode,
|
|
1858
1758
|
});
|
|
1859
1759
|
}
|
|
@@ -1869,7 +1769,7 @@ const de_SetSecurityGroupsCommand = async (output, context) => {
|
|
|
1869
1769
|
$metadata: deserializeMetadata(output),
|
|
1870
1770
|
...contents,
|
|
1871
1771
|
};
|
|
1872
|
-
return
|
|
1772
|
+
return response;
|
|
1873
1773
|
};
|
|
1874
1774
|
exports.de_SetSecurityGroupsCommand = de_SetSecurityGroupsCommand;
|
|
1875
1775
|
const de_SetSecurityGroupsCommandError = async (output, context) => {
|
|
@@ -1890,10 +1790,9 @@ const de_SetSecurityGroupsCommandError = async (output, context) => {
|
|
|
1890
1790
|
throw await de_LoadBalancerNotFoundExceptionRes(parsedOutput, context);
|
|
1891
1791
|
default:
|
|
1892
1792
|
const parsedBody = parsedOutput.body;
|
|
1893
|
-
|
|
1793
|
+
return throwDefaultError({
|
|
1894
1794
|
output,
|
|
1895
1795
|
parsedBody: parsedBody.Error,
|
|
1896
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1897
1796
|
errorCode,
|
|
1898
1797
|
});
|
|
1899
1798
|
}
|
|
@@ -1909,7 +1808,7 @@ const de_SetSubnetsCommand = async (output, context) => {
|
|
|
1909
1808
|
$metadata: deserializeMetadata(output),
|
|
1910
1809
|
...contents,
|
|
1911
1810
|
};
|
|
1912
|
-
return
|
|
1811
|
+
return response;
|
|
1913
1812
|
};
|
|
1914
1813
|
exports.de_SetSubnetsCommand = de_SetSubnetsCommand;
|
|
1915
1814
|
const de_SetSubnetsCommandError = async (output, context) => {
|
|
@@ -1939,10 +1838,9 @@ const de_SetSubnetsCommandError = async (output, context) => {
|
|
|
1939
1838
|
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
1940
1839
|
default:
|
|
1941
1840
|
const parsedBody = parsedOutput.body;
|
|
1942
|
-
|
|
1841
|
+
return throwDefaultError({
|
|
1943
1842
|
output,
|
|
1944
1843
|
parsedBody: parsedBody.Error,
|
|
1945
|
-
exceptionCtor: ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException,
|
|
1946
1844
|
errorCode,
|
|
1947
1845
|
});
|
|
1948
1846
|
}
|
|
@@ -5258,6 +5156,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5258
5156
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5259
5157
|
};
|
|
5260
5158
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5159
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException);
|
|
5261
5160
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5262
5161
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5263
5162
|
const contents = {
|
|
@@ -5276,6 +5175,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
5276
5175
|
}
|
|
5277
5176
|
return new protocol_http_1.HttpRequest(contents);
|
|
5278
5177
|
};
|
|
5178
|
+
const SHARED_HEADERS = {
|
|
5179
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5180
|
+
};
|
|
5279
5181
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5280
5182
|
if (encoded.length) {
|
|
5281
5183
|
const parser = new fast_xml_parser_1.XMLParser({
|