@aws-sdk/client-apprunner 3.503.1 → 3.507.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/index.js +62 -971
- package/dist-es/protocols/Aws_json1_0.js +42 -951
- package/package.json +3 -3
|
@@ -226,7 +226,7 @@ export const se_UpdateVpcIngressConnectionCommand = async (input, context) => {
|
|
|
226
226
|
};
|
|
227
227
|
export const de_AssociateCustomDomainCommand = async (output, context) => {
|
|
228
228
|
if (output.statusCode >= 300) {
|
|
229
|
-
return
|
|
229
|
+
return de_CommandError(output, context);
|
|
230
230
|
}
|
|
231
231
|
const data = await parseBody(output.body, context);
|
|
232
232
|
let contents = {};
|
|
@@ -237,34 +237,9 @@ export const de_AssociateCustomDomainCommand = async (output, context) => {
|
|
|
237
237
|
};
|
|
238
238
|
return response;
|
|
239
239
|
};
|
|
240
|
-
const de_AssociateCustomDomainCommandError = async (output, context) => {
|
|
241
|
-
const parsedOutput = {
|
|
242
|
-
...output,
|
|
243
|
-
body: await parseErrorBody(output.body, context),
|
|
244
|
-
};
|
|
245
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
246
|
-
switch (errorCode) {
|
|
247
|
-
case "InternalServiceErrorException":
|
|
248
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
249
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
250
|
-
case "InvalidRequestException":
|
|
251
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
252
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
253
|
-
case "InvalidStateException":
|
|
254
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
255
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
256
|
-
default:
|
|
257
|
-
const parsedBody = parsedOutput.body;
|
|
258
|
-
return throwDefaultError({
|
|
259
|
-
output,
|
|
260
|
-
parsedBody,
|
|
261
|
-
errorCode,
|
|
262
|
-
});
|
|
263
|
-
}
|
|
264
|
-
};
|
|
265
240
|
export const de_CreateAutoScalingConfigurationCommand = async (output, context) => {
|
|
266
241
|
if (output.statusCode >= 300) {
|
|
267
|
-
return
|
|
242
|
+
return de_CommandError(output, context);
|
|
268
243
|
}
|
|
269
244
|
const data = await parseBody(output.body, context);
|
|
270
245
|
let contents = {};
|
|
@@ -275,34 +250,9 @@ export const de_CreateAutoScalingConfigurationCommand = async (output, context)
|
|
|
275
250
|
};
|
|
276
251
|
return response;
|
|
277
252
|
};
|
|
278
|
-
const de_CreateAutoScalingConfigurationCommandError = async (output, context) => {
|
|
279
|
-
const parsedOutput = {
|
|
280
|
-
...output,
|
|
281
|
-
body: await parseErrorBody(output.body, context),
|
|
282
|
-
};
|
|
283
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
284
|
-
switch (errorCode) {
|
|
285
|
-
case "InternalServiceErrorException":
|
|
286
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
287
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
288
|
-
case "InvalidRequestException":
|
|
289
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
290
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
291
|
-
case "ServiceQuotaExceededException":
|
|
292
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
293
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
294
|
-
default:
|
|
295
|
-
const parsedBody = parsedOutput.body;
|
|
296
|
-
return throwDefaultError({
|
|
297
|
-
output,
|
|
298
|
-
parsedBody,
|
|
299
|
-
errorCode,
|
|
300
|
-
});
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
253
|
export const de_CreateConnectionCommand = async (output, context) => {
|
|
304
254
|
if (output.statusCode >= 300) {
|
|
305
|
-
return
|
|
255
|
+
return de_CommandError(output, context);
|
|
306
256
|
}
|
|
307
257
|
const data = await parseBody(output.body, context);
|
|
308
258
|
let contents = {};
|
|
@@ -313,34 +263,9 @@ export const de_CreateConnectionCommand = async (output, context) => {
|
|
|
313
263
|
};
|
|
314
264
|
return response;
|
|
315
265
|
};
|
|
316
|
-
const de_CreateConnectionCommandError = async (output, context) => {
|
|
317
|
-
const parsedOutput = {
|
|
318
|
-
...output,
|
|
319
|
-
body: await parseErrorBody(output.body, context),
|
|
320
|
-
};
|
|
321
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
322
|
-
switch (errorCode) {
|
|
323
|
-
case "InternalServiceErrorException":
|
|
324
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
325
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
326
|
-
case "InvalidRequestException":
|
|
327
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
328
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
329
|
-
case "ServiceQuotaExceededException":
|
|
330
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
331
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
332
|
-
default:
|
|
333
|
-
const parsedBody = parsedOutput.body;
|
|
334
|
-
return throwDefaultError({
|
|
335
|
-
output,
|
|
336
|
-
parsedBody,
|
|
337
|
-
errorCode,
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
};
|
|
341
266
|
export const de_CreateObservabilityConfigurationCommand = async (output, context) => {
|
|
342
267
|
if (output.statusCode >= 300) {
|
|
343
|
-
return
|
|
268
|
+
return de_CommandError(output, context);
|
|
344
269
|
}
|
|
345
270
|
const data = await parseBody(output.body, context);
|
|
346
271
|
let contents = {};
|
|
@@ -351,34 +276,9 @@ export const de_CreateObservabilityConfigurationCommand = async (output, context
|
|
|
351
276
|
};
|
|
352
277
|
return response;
|
|
353
278
|
};
|
|
354
|
-
const de_CreateObservabilityConfigurationCommandError = async (output, context) => {
|
|
355
|
-
const parsedOutput = {
|
|
356
|
-
...output,
|
|
357
|
-
body: await parseErrorBody(output.body, context),
|
|
358
|
-
};
|
|
359
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
360
|
-
switch (errorCode) {
|
|
361
|
-
case "InternalServiceErrorException":
|
|
362
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
363
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
364
|
-
case "InvalidRequestException":
|
|
365
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
366
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
367
|
-
case "ServiceQuotaExceededException":
|
|
368
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
369
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
370
|
-
default:
|
|
371
|
-
const parsedBody = parsedOutput.body;
|
|
372
|
-
return throwDefaultError({
|
|
373
|
-
output,
|
|
374
|
-
parsedBody,
|
|
375
|
-
errorCode,
|
|
376
|
-
});
|
|
377
|
-
}
|
|
378
|
-
};
|
|
379
279
|
export const de_CreateServiceCommand = async (output, context) => {
|
|
380
280
|
if (output.statusCode >= 300) {
|
|
381
|
-
return
|
|
281
|
+
return de_CommandError(output, context);
|
|
382
282
|
}
|
|
383
283
|
const data = await parseBody(output.body, context);
|
|
384
284
|
let contents = {};
|
|
@@ -389,34 +289,9 @@ export const de_CreateServiceCommand = async (output, context) => {
|
|
|
389
289
|
};
|
|
390
290
|
return response;
|
|
391
291
|
};
|
|
392
|
-
const de_CreateServiceCommandError = async (output, context) => {
|
|
393
|
-
const parsedOutput = {
|
|
394
|
-
...output,
|
|
395
|
-
body: await parseErrorBody(output.body, context),
|
|
396
|
-
};
|
|
397
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
398
|
-
switch (errorCode) {
|
|
399
|
-
case "InternalServiceErrorException":
|
|
400
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
401
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
402
|
-
case "InvalidRequestException":
|
|
403
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
404
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
405
|
-
case "ServiceQuotaExceededException":
|
|
406
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
407
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
408
|
-
default:
|
|
409
|
-
const parsedBody = parsedOutput.body;
|
|
410
|
-
return throwDefaultError({
|
|
411
|
-
output,
|
|
412
|
-
parsedBody,
|
|
413
|
-
errorCode,
|
|
414
|
-
});
|
|
415
|
-
}
|
|
416
|
-
};
|
|
417
292
|
export const de_CreateVpcConnectorCommand = async (output, context) => {
|
|
418
293
|
if (output.statusCode >= 300) {
|
|
419
|
-
return
|
|
294
|
+
return de_CommandError(output, context);
|
|
420
295
|
}
|
|
421
296
|
const data = await parseBody(output.body, context);
|
|
422
297
|
let contents = {};
|
|
@@ -427,34 +302,9 @@ export const de_CreateVpcConnectorCommand = async (output, context) => {
|
|
|
427
302
|
};
|
|
428
303
|
return response;
|
|
429
304
|
};
|
|
430
|
-
const de_CreateVpcConnectorCommandError = async (output, context) => {
|
|
431
|
-
const parsedOutput = {
|
|
432
|
-
...output,
|
|
433
|
-
body: await parseErrorBody(output.body, context),
|
|
434
|
-
};
|
|
435
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
436
|
-
switch (errorCode) {
|
|
437
|
-
case "InternalServiceErrorException":
|
|
438
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
439
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
440
|
-
case "InvalidRequestException":
|
|
441
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
442
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
443
|
-
case "ServiceQuotaExceededException":
|
|
444
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
445
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
446
|
-
default:
|
|
447
|
-
const parsedBody = parsedOutput.body;
|
|
448
|
-
return throwDefaultError({
|
|
449
|
-
output,
|
|
450
|
-
parsedBody,
|
|
451
|
-
errorCode,
|
|
452
|
-
});
|
|
453
|
-
}
|
|
454
|
-
};
|
|
455
305
|
export const de_CreateVpcIngressConnectionCommand = async (output, context) => {
|
|
456
306
|
if (output.statusCode >= 300) {
|
|
457
|
-
return
|
|
307
|
+
return de_CommandError(output, context);
|
|
458
308
|
}
|
|
459
309
|
const data = await parseBody(output.body, context);
|
|
460
310
|
let contents = {};
|
|
@@ -465,37 +315,9 @@ export const de_CreateVpcIngressConnectionCommand = async (output, context) => {
|
|
|
465
315
|
};
|
|
466
316
|
return response;
|
|
467
317
|
};
|
|
468
|
-
const de_CreateVpcIngressConnectionCommandError = async (output, context) => {
|
|
469
|
-
const parsedOutput = {
|
|
470
|
-
...output,
|
|
471
|
-
body: await parseErrorBody(output.body, context),
|
|
472
|
-
};
|
|
473
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
474
|
-
switch (errorCode) {
|
|
475
|
-
case "InternalServiceErrorException":
|
|
476
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
477
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
478
|
-
case "InvalidRequestException":
|
|
479
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
480
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
481
|
-
case "InvalidStateException":
|
|
482
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
483
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
484
|
-
case "ServiceQuotaExceededException":
|
|
485
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
486
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
487
|
-
default:
|
|
488
|
-
const parsedBody = parsedOutput.body;
|
|
489
|
-
return throwDefaultError({
|
|
490
|
-
output,
|
|
491
|
-
parsedBody,
|
|
492
|
-
errorCode,
|
|
493
|
-
});
|
|
494
|
-
}
|
|
495
|
-
};
|
|
496
318
|
export const de_DeleteAutoScalingConfigurationCommand = async (output, context) => {
|
|
497
319
|
if (output.statusCode >= 300) {
|
|
498
|
-
return
|
|
320
|
+
return de_CommandError(output, context);
|
|
499
321
|
}
|
|
500
322
|
const data = await parseBody(output.body, context);
|
|
501
323
|
let contents = {};
|
|
@@ -506,34 +328,9 @@ export const de_DeleteAutoScalingConfigurationCommand = async (output, context)
|
|
|
506
328
|
};
|
|
507
329
|
return response;
|
|
508
330
|
};
|
|
509
|
-
const de_DeleteAutoScalingConfigurationCommandError = async (output, context) => {
|
|
510
|
-
const parsedOutput = {
|
|
511
|
-
...output,
|
|
512
|
-
body: await parseErrorBody(output.body, context),
|
|
513
|
-
};
|
|
514
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
515
|
-
switch (errorCode) {
|
|
516
|
-
case "InternalServiceErrorException":
|
|
517
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
518
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
519
|
-
case "InvalidRequestException":
|
|
520
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
521
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
522
|
-
case "ResourceNotFoundException":
|
|
523
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
524
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
525
|
-
default:
|
|
526
|
-
const parsedBody = parsedOutput.body;
|
|
527
|
-
return throwDefaultError({
|
|
528
|
-
output,
|
|
529
|
-
parsedBody,
|
|
530
|
-
errorCode,
|
|
531
|
-
});
|
|
532
|
-
}
|
|
533
|
-
};
|
|
534
331
|
export const de_DeleteConnectionCommand = async (output, context) => {
|
|
535
332
|
if (output.statusCode >= 300) {
|
|
536
|
-
return
|
|
333
|
+
return de_CommandError(output, context);
|
|
537
334
|
}
|
|
538
335
|
const data = await parseBody(output.body, context);
|
|
539
336
|
let contents = {};
|
|
@@ -544,34 +341,9 @@ export const de_DeleteConnectionCommand = async (output, context) => {
|
|
|
544
341
|
};
|
|
545
342
|
return response;
|
|
546
343
|
};
|
|
547
|
-
const de_DeleteConnectionCommandError = async (output, context) => {
|
|
548
|
-
const parsedOutput = {
|
|
549
|
-
...output,
|
|
550
|
-
body: await parseErrorBody(output.body, context),
|
|
551
|
-
};
|
|
552
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
553
|
-
switch (errorCode) {
|
|
554
|
-
case "InternalServiceErrorException":
|
|
555
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
556
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
557
|
-
case "InvalidRequestException":
|
|
558
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
559
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
560
|
-
case "ResourceNotFoundException":
|
|
561
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
562
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
563
|
-
default:
|
|
564
|
-
const parsedBody = parsedOutput.body;
|
|
565
|
-
return throwDefaultError({
|
|
566
|
-
output,
|
|
567
|
-
parsedBody,
|
|
568
|
-
errorCode,
|
|
569
|
-
});
|
|
570
|
-
}
|
|
571
|
-
};
|
|
572
344
|
export const de_DeleteObservabilityConfigurationCommand = async (output, context) => {
|
|
573
345
|
if (output.statusCode >= 300) {
|
|
574
|
-
return
|
|
346
|
+
return de_CommandError(output, context);
|
|
575
347
|
}
|
|
576
348
|
const data = await parseBody(output.body, context);
|
|
577
349
|
let contents = {};
|
|
@@ -582,34 +354,9 @@ export const de_DeleteObservabilityConfigurationCommand = async (output, context
|
|
|
582
354
|
};
|
|
583
355
|
return response;
|
|
584
356
|
};
|
|
585
|
-
const de_DeleteObservabilityConfigurationCommandError = async (output, context) => {
|
|
586
|
-
const parsedOutput = {
|
|
587
|
-
...output,
|
|
588
|
-
body: await parseErrorBody(output.body, context),
|
|
589
|
-
};
|
|
590
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
591
|
-
switch (errorCode) {
|
|
592
|
-
case "InternalServiceErrorException":
|
|
593
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
594
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
595
|
-
case "InvalidRequestException":
|
|
596
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
597
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
598
|
-
case "ResourceNotFoundException":
|
|
599
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
600
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
601
|
-
default:
|
|
602
|
-
const parsedBody = parsedOutput.body;
|
|
603
|
-
return throwDefaultError({
|
|
604
|
-
output,
|
|
605
|
-
parsedBody,
|
|
606
|
-
errorCode,
|
|
607
|
-
});
|
|
608
|
-
}
|
|
609
|
-
};
|
|
610
357
|
export const de_DeleteServiceCommand = async (output, context) => {
|
|
611
358
|
if (output.statusCode >= 300) {
|
|
612
|
-
return
|
|
359
|
+
return de_CommandError(output, context);
|
|
613
360
|
}
|
|
614
361
|
const data = await parseBody(output.body, context);
|
|
615
362
|
let contents = {};
|
|
@@ -620,37 +367,9 @@ export const de_DeleteServiceCommand = async (output, context) => {
|
|
|
620
367
|
};
|
|
621
368
|
return response;
|
|
622
369
|
};
|
|
623
|
-
const de_DeleteServiceCommandError = async (output, context) => {
|
|
624
|
-
const parsedOutput = {
|
|
625
|
-
...output,
|
|
626
|
-
body: await parseErrorBody(output.body, context),
|
|
627
|
-
};
|
|
628
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
629
|
-
switch (errorCode) {
|
|
630
|
-
case "InternalServiceErrorException":
|
|
631
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
632
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
633
|
-
case "InvalidRequestException":
|
|
634
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
635
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
636
|
-
case "InvalidStateException":
|
|
637
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
638
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
639
|
-
case "ResourceNotFoundException":
|
|
640
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
641
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
642
|
-
default:
|
|
643
|
-
const parsedBody = parsedOutput.body;
|
|
644
|
-
return throwDefaultError({
|
|
645
|
-
output,
|
|
646
|
-
parsedBody,
|
|
647
|
-
errorCode,
|
|
648
|
-
});
|
|
649
|
-
}
|
|
650
|
-
};
|
|
651
370
|
export const de_DeleteVpcConnectorCommand = async (output, context) => {
|
|
652
371
|
if (output.statusCode >= 300) {
|
|
653
|
-
return
|
|
372
|
+
return de_CommandError(output, context);
|
|
654
373
|
}
|
|
655
374
|
const data = await parseBody(output.body, context);
|
|
656
375
|
let contents = {};
|
|
@@ -661,34 +380,9 @@ export const de_DeleteVpcConnectorCommand = async (output, context) => {
|
|
|
661
380
|
};
|
|
662
381
|
return response;
|
|
663
382
|
};
|
|
664
|
-
const de_DeleteVpcConnectorCommandError = async (output, context) => {
|
|
665
|
-
const parsedOutput = {
|
|
666
|
-
...output,
|
|
667
|
-
body: await parseErrorBody(output.body, context),
|
|
668
|
-
};
|
|
669
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
670
|
-
switch (errorCode) {
|
|
671
|
-
case "InternalServiceErrorException":
|
|
672
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
673
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
674
|
-
case "InvalidRequestException":
|
|
675
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
676
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
677
|
-
case "ResourceNotFoundException":
|
|
678
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
679
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
680
|
-
default:
|
|
681
|
-
const parsedBody = parsedOutput.body;
|
|
682
|
-
return throwDefaultError({
|
|
683
|
-
output,
|
|
684
|
-
parsedBody,
|
|
685
|
-
errorCode,
|
|
686
|
-
});
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
383
|
export const de_DeleteVpcIngressConnectionCommand = async (output, context) => {
|
|
690
384
|
if (output.statusCode >= 300) {
|
|
691
|
-
return
|
|
385
|
+
return de_CommandError(output, context);
|
|
692
386
|
}
|
|
693
387
|
const data = await parseBody(output.body, context);
|
|
694
388
|
let contents = {};
|
|
@@ -699,37 +393,9 @@ export const de_DeleteVpcIngressConnectionCommand = async (output, context) => {
|
|
|
699
393
|
};
|
|
700
394
|
return response;
|
|
701
395
|
};
|
|
702
|
-
const de_DeleteVpcIngressConnectionCommandError = async (output, context) => {
|
|
703
|
-
const parsedOutput = {
|
|
704
|
-
...output,
|
|
705
|
-
body: await parseErrorBody(output.body, context),
|
|
706
|
-
};
|
|
707
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
708
|
-
switch (errorCode) {
|
|
709
|
-
case "InternalServiceErrorException":
|
|
710
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
711
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
712
|
-
case "InvalidRequestException":
|
|
713
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
714
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
715
|
-
case "InvalidStateException":
|
|
716
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
717
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
718
|
-
case "ResourceNotFoundException":
|
|
719
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
720
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
721
|
-
default:
|
|
722
|
-
const parsedBody = parsedOutput.body;
|
|
723
|
-
return throwDefaultError({
|
|
724
|
-
output,
|
|
725
|
-
parsedBody,
|
|
726
|
-
errorCode,
|
|
727
|
-
});
|
|
728
|
-
}
|
|
729
|
-
};
|
|
730
396
|
export const de_DescribeAutoScalingConfigurationCommand = async (output, context) => {
|
|
731
397
|
if (output.statusCode >= 300) {
|
|
732
|
-
return
|
|
398
|
+
return de_CommandError(output, context);
|
|
733
399
|
}
|
|
734
400
|
const data = await parseBody(output.body, context);
|
|
735
401
|
let contents = {};
|
|
@@ -740,34 +406,9 @@ export const de_DescribeAutoScalingConfigurationCommand = async (output, context
|
|
|
740
406
|
};
|
|
741
407
|
return response;
|
|
742
408
|
};
|
|
743
|
-
const de_DescribeAutoScalingConfigurationCommandError = async (output, context) => {
|
|
744
|
-
const parsedOutput = {
|
|
745
|
-
...output,
|
|
746
|
-
body: await parseErrorBody(output.body, context),
|
|
747
|
-
};
|
|
748
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
749
|
-
switch (errorCode) {
|
|
750
|
-
case "InternalServiceErrorException":
|
|
751
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
752
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
753
|
-
case "InvalidRequestException":
|
|
754
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
755
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
756
|
-
case "ResourceNotFoundException":
|
|
757
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
758
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
759
|
-
default:
|
|
760
|
-
const parsedBody = parsedOutput.body;
|
|
761
|
-
return throwDefaultError({
|
|
762
|
-
output,
|
|
763
|
-
parsedBody,
|
|
764
|
-
errorCode,
|
|
765
|
-
});
|
|
766
|
-
}
|
|
767
|
-
};
|
|
768
409
|
export const de_DescribeCustomDomainsCommand = async (output, context) => {
|
|
769
410
|
if (output.statusCode >= 300) {
|
|
770
|
-
return
|
|
411
|
+
return de_CommandError(output, context);
|
|
771
412
|
}
|
|
772
413
|
const data = await parseBody(output.body, context);
|
|
773
414
|
let contents = {};
|
|
@@ -778,34 +419,9 @@ export const de_DescribeCustomDomainsCommand = async (output, context) => {
|
|
|
778
419
|
};
|
|
779
420
|
return response;
|
|
780
421
|
};
|
|
781
|
-
const de_DescribeCustomDomainsCommandError = async (output, context) => {
|
|
782
|
-
const parsedOutput = {
|
|
783
|
-
...output,
|
|
784
|
-
body: await parseErrorBody(output.body, context),
|
|
785
|
-
};
|
|
786
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
787
|
-
switch (errorCode) {
|
|
788
|
-
case "InternalServiceErrorException":
|
|
789
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
790
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
791
|
-
case "InvalidRequestException":
|
|
792
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
793
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
794
|
-
case "ResourceNotFoundException":
|
|
795
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
796
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
797
|
-
default:
|
|
798
|
-
const parsedBody = parsedOutput.body;
|
|
799
|
-
return throwDefaultError({
|
|
800
|
-
output,
|
|
801
|
-
parsedBody,
|
|
802
|
-
errorCode,
|
|
803
|
-
});
|
|
804
|
-
}
|
|
805
|
-
};
|
|
806
422
|
export const de_DescribeObservabilityConfigurationCommand = async (output, context) => {
|
|
807
423
|
if (output.statusCode >= 300) {
|
|
808
|
-
return
|
|
424
|
+
return de_CommandError(output, context);
|
|
809
425
|
}
|
|
810
426
|
const data = await parseBody(output.body, context);
|
|
811
427
|
let contents = {};
|
|
@@ -816,34 +432,9 @@ export const de_DescribeObservabilityConfigurationCommand = async (output, conte
|
|
|
816
432
|
};
|
|
817
433
|
return response;
|
|
818
434
|
};
|
|
819
|
-
const de_DescribeObservabilityConfigurationCommandError = async (output, context) => {
|
|
820
|
-
const parsedOutput = {
|
|
821
|
-
...output,
|
|
822
|
-
body: await parseErrorBody(output.body, context),
|
|
823
|
-
};
|
|
824
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
825
|
-
switch (errorCode) {
|
|
826
|
-
case "InternalServiceErrorException":
|
|
827
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
828
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
829
|
-
case "InvalidRequestException":
|
|
830
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
831
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
832
|
-
case "ResourceNotFoundException":
|
|
833
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
834
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
835
|
-
default:
|
|
836
|
-
const parsedBody = parsedOutput.body;
|
|
837
|
-
return throwDefaultError({
|
|
838
|
-
output,
|
|
839
|
-
parsedBody,
|
|
840
|
-
errorCode,
|
|
841
|
-
});
|
|
842
|
-
}
|
|
843
|
-
};
|
|
844
435
|
export const de_DescribeServiceCommand = async (output, context) => {
|
|
845
436
|
if (output.statusCode >= 300) {
|
|
846
|
-
return
|
|
437
|
+
return de_CommandError(output, context);
|
|
847
438
|
}
|
|
848
439
|
const data = await parseBody(output.body, context);
|
|
849
440
|
let contents = {};
|
|
@@ -854,34 +445,9 @@ export const de_DescribeServiceCommand = async (output, context) => {
|
|
|
854
445
|
};
|
|
855
446
|
return response;
|
|
856
447
|
};
|
|
857
|
-
const de_DescribeServiceCommandError = async (output, context) => {
|
|
858
|
-
const parsedOutput = {
|
|
859
|
-
...output,
|
|
860
|
-
body: await parseErrorBody(output.body, context),
|
|
861
|
-
};
|
|
862
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
863
|
-
switch (errorCode) {
|
|
864
|
-
case "InternalServiceErrorException":
|
|
865
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
866
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
867
|
-
case "InvalidRequestException":
|
|
868
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
869
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
870
|
-
case "ResourceNotFoundException":
|
|
871
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
872
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
873
|
-
default:
|
|
874
|
-
const parsedBody = parsedOutput.body;
|
|
875
|
-
return throwDefaultError({
|
|
876
|
-
output,
|
|
877
|
-
parsedBody,
|
|
878
|
-
errorCode,
|
|
879
|
-
});
|
|
880
|
-
}
|
|
881
|
-
};
|
|
882
448
|
export const de_DescribeVpcConnectorCommand = async (output, context) => {
|
|
883
449
|
if (output.statusCode >= 300) {
|
|
884
|
-
return
|
|
450
|
+
return de_CommandError(output, context);
|
|
885
451
|
}
|
|
886
452
|
const data = await parseBody(output.body, context);
|
|
887
453
|
let contents = {};
|
|
@@ -892,34 +458,9 @@ export const de_DescribeVpcConnectorCommand = async (output, context) => {
|
|
|
892
458
|
};
|
|
893
459
|
return response;
|
|
894
460
|
};
|
|
895
|
-
const de_DescribeVpcConnectorCommandError = async (output, context) => {
|
|
896
|
-
const parsedOutput = {
|
|
897
|
-
...output,
|
|
898
|
-
body: await parseErrorBody(output.body, context),
|
|
899
|
-
};
|
|
900
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
901
|
-
switch (errorCode) {
|
|
902
|
-
case "InternalServiceErrorException":
|
|
903
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
904
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
905
|
-
case "InvalidRequestException":
|
|
906
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
907
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
908
|
-
case "ResourceNotFoundException":
|
|
909
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
910
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
911
|
-
default:
|
|
912
|
-
const parsedBody = parsedOutput.body;
|
|
913
|
-
return throwDefaultError({
|
|
914
|
-
output,
|
|
915
|
-
parsedBody,
|
|
916
|
-
errorCode,
|
|
917
|
-
});
|
|
918
|
-
}
|
|
919
|
-
};
|
|
920
461
|
export const de_DescribeVpcIngressConnectionCommand = async (output, context) => {
|
|
921
462
|
if (output.statusCode >= 300) {
|
|
922
|
-
return
|
|
463
|
+
return de_CommandError(output, context);
|
|
923
464
|
}
|
|
924
465
|
const data = await parseBody(output.body, context);
|
|
925
466
|
let contents = {};
|
|
@@ -930,34 +471,9 @@ export const de_DescribeVpcIngressConnectionCommand = async (output, context) =>
|
|
|
930
471
|
};
|
|
931
472
|
return response;
|
|
932
473
|
};
|
|
933
|
-
const de_DescribeVpcIngressConnectionCommandError = async (output, context) => {
|
|
934
|
-
const parsedOutput = {
|
|
935
|
-
...output,
|
|
936
|
-
body: await parseErrorBody(output.body, context),
|
|
937
|
-
};
|
|
938
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
939
|
-
switch (errorCode) {
|
|
940
|
-
case "InternalServiceErrorException":
|
|
941
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
942
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
943
|
-
case "InvalidRequestException":
|
|
944
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
945
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
946
|
-
case "ResourceNotFoundException":
|
|
947
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
948
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
949
|
-
default:
|
|
950
|
-
const parsedBody = parsedOutput.body;
|
|
951
|
-
return throwDefaultError({
|
|
952
|
-
output,
|
|
953
|
-
parsedBody,
|
|
954
|
-
errorCode,
|
|
955
|
-
});
|
|
956
|
-
}
|
|
957
|
-
};
|
|
958
474
|
export const de_DisassociateCustomDomainCommand = async (output, context) => {
|
|
959
475
|
if (output.statusCode >= 300) {
|
|
960
|
-
return
|
|
476
|
+
return de_CommandError(output, context);
|
|
961
477
|
}
|
|
962
478
|
const data = await parseBody(output.body, context);
|
|
963
479
|
let contents = {};
|
|
@@ -968,37 +484,9 @@ export const de_DisassociateCustomDomainCommand = async (output, context) => {
|
|
|
968
484
|
};
|
|
969
485
|
return response;
|
|
970
486
|
};
|
|
971
|
-
const de_DisassociateCustomDomainCommandError = async (output, context) => {
|
|
972
|
-
const parsedOutput = {
|
|
973
|
-
...output,
|
|
974
|
-
body: await parseErrorBody(output.body, context),
|
|
975
|
-
};
|
|
976
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
977
|
-
switch (errorCode) {
|
|
978
|
-
case "InternalServiceErrorException":
|
|
979
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
980
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
981
|
-
case "InvalidRequestException":
|
|
982
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
983
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
984
|
-
case "InvalidStateException":
|
|
985
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
986
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
987
|
-
case "ResourceNotFoundException":
|
|
988
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
989
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
990
|
-
default:
|
|
991
|
-
const parsedBody = parsedOutput.body;
|
|
992
|
-
return throwDefaultError({
|
|
993
|
-
output,
|
|
994
|
-
parsedBody,
|
|
995
|
-
errorCode,
|
|
996
|
-
});
|
|
997
|
-
}
|
|
998
|
-
};
|
|
999
487
|
export const de_ListAutoScalingConfigurationsCommand = async (output, context) => {
|
|
1000
488
|
if (output.statusCode >= 300) {
|
|
1001
|
-
return
|
|
489
|
+
return de_CommandError(output, context);
|
|
1002
490
|
}
|
|
1003
491
|
const data = await parseBody(output.body, context);
|
|
1004
492
|
let contents = {};
|
|
@@ -1009,31 +497,9 @@ export const de_ListAutoScalingConfigurationsCommand = async (output, context) =
|
|
|
1009
497
|
};
|
|
1010
498
|
return response;
|
|
1011
499
|
};
|
|
1012
|
-
const de_ListAutoScalingConfigurationsCommandError = async (output, context) => {
|
|
1013
|
-
const parsedOutput = {
|
|
1014
|
-
...output,
|
|
1015
|
-
body: await parseErrorBody(output.body, context),
|
|
1016
|
-
};
|
|
1017
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1018
|
-
switch (errorCode) {
|
|
1019
|
-
case "InternalServiceErrorException":
|
|
1020
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1021
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1022
|
-
case "InvalidRequestException":
|
|
1023
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1024
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1025
|
-
default:
|
|
1026
|
-
const parsedBody = parsedOutput.body;
|
|
1027
|
-
return throwDefaultError({
|
|
1028
|
-
output,
|
|
1029
|
-
parsedBody,
|
|
1030
|
-
errorCode,
|
|
1031
|
-
});
|
|
1032
|
-
}
|
|
1033
|
-
};
|
|
1034
500
|
export const de_ListConnectionsCommand = async (output, context) => {
|
|
1035
501
|
if (output.statusCode >= 300) {
|
|
1036
|
-
return
|
|
502
|
+
return de_CommandError(output, context);
|
|
1037
503
|
}
|
|
1038
504
|
const data = await parseBody(output.body, context);
|
|
1039
505
|
let contents = {};
|
|
@@ -1044,31 +510,9 @@ export const de_ListConnectionsCommand = async (output, context) => {
|
|
|
1044
510
|
};
|
|
1045
511
|
return response;
|
|
1046
512
|
};
|
|
1047
|
-
const de_ListConnectionsCommandError = async (output, context) => {
|
|
1048
|
-
const parsedOutput = {
|
|
1049
|
-
...output,
|
|
1050
|
-
body: await parseErrorBody(output.body, context),
|
|
1051
|
-
};
|
|
1052
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1053
|
-
switch (errorCode) {
|
|
1054
|
-
case "InternalServiceErrorException":
|
|
1055
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1056
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1057
|
-
case "InvalidRequestException":
|
|
1058
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1059
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1060
|
-
default:
|
|
1061
|
-
const parsedBody = parsedOutput.body;
|
|
1062
|
-
return throwDefaultError({
|
|
1063
|
-
output,
|
|
1064
|
-
parsedBody,
|
|
1065
|
-
errorCode,
|
|
1066
|
-
});
|
|
1067
|
-
}
|
|
1068
|
-
};
|
|
1069
513
|
export const de_ListObservabilityConfigurationsCommand = async (output, context) => {
|
|
1070
514
|
if (output.statusCode >= 300) {
|
|
1071
|
-
return
|
|
515
|
+
return de_CommandError(output, context);
|
|
1072
516
|
}
|
|
1073
517
|
const data = await parseBody(output.body, context);
|
|
1074
518
|
let contents = {};
|
|
@@ -1079,31 +523,9 @@ export const de_ListObservabilityConfigurationsCommand = async (output, context)
|
|
|
1079
523
|
};
|
|
1080
524
|
return response;
|
|
1081
525
|
};
|
|
1082
|
-
const de_ListObservabilityConfigurationsCommandError = async (output, context) => {
|
|
1083
|
-
const parsedOutput = {
|
|
1084
|
-
...output,
|
|
1085
|
-
body: await parseErrorBody(output.body, context),
|
|
1086
|
-
};
|
|
1087
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1088
|
-
switch (errorCode) {
|
|
1089
|
-
case "InternalServiceErrorException":
|
|
1090
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1091
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1092
|
-
case "InvalidRequestException":
|
|
1093
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1094
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1095
|
-
default:
|
|
1096
|
-
const parsedBody = parsedOutput.body;
|
|
1097
|
-
return throwDefaultError({
|
|
1098
|
-
output,
|
|
1099
|
-
parsedBody,
|
|
1100
|
-
errorCode,
|
|
1101
|
-
});
|
|
1102
|
-
}
|
|
1103
|
-
};
|
|
1104
526
|
export const de_ListOperationsCommand = async (output, context) => {
|
|
1105
527
|
if (output.statusCode >= 300) {
|
|
1106
|
-
return
|
|
528
|
+
return de_CommandError(output, context);
|
|
1107
529
|
}
|
|
1108
530
|
const data = await parseBody(output.body, context);
|
|
1109
531
|
let contents = {};
|
|
@@ -1114,34 +536,9 @@ export const de_ListOperationsCommand = async (output, context) => {
|
|
|
1114
536
|
};
|
|
1115
537
|
return response;
|
|
1116
538
|
};
|
|
1117
|
-
const de_ListOperationsCommandError = async (output, context) => {
|
|
1118
|
-
const parsedOutput = {
|
|
1119
|
-
...output,
|
|
1120
|
-
body: await parseErrorBody(output.body, context),
|
|
1121
|
-
};
|
|
1122
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1123
|
-
switch (errorCode) {
|
|
1124
|
-
case "InternalServiceErrorException":
|
|
1125
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1126
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1127
|
-
case "InvalidRequestException":
|
|
1128
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1129
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1130
|
-
case "ResourceNotFoundException":
|
|
1131
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1132
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1133
|
-
default:
|
|
1134
|
-
const parsedBody = parsedOutput.body;
|
|
1135
|
-
return throwDefaultError({
|
|
1136
|
-
output,
|
|
1137
|
-
parsedBody,
|
|
1138
|
-
errorCode,
|
|
1139
|
-
});
|
|
1140
|
-
}
|
|
1141
|
-
};
|
|
1142
539
|
export const de_ListServicesCommand = async (output, context) => {
|
|
1143
540
|
if (output.statusCode >= 300) {
|
|
1144
|
-
return
|
|
541
|
+
return de_CommandError(output, context);
|
|
1145
542
|
}
|
|
1146
543
|
const data = await parseBody(output.body, context);
|
|
1147
544
|
let contents = {};
|
|
@@ -1152,31 +549,9 @@ export const de_ListServicesCommand = async (output, context) => {
|
|
|
1152
549
|
};
|
|
1153
550
|
return response;
|
|
1154
551
|
};
|
|
1155
|
-
const de_ListServicesCommandError = async (output, context) => {
|
|
1156
|
-
const parsedOutput = {
|
|
1157
|
-
...output,
|
|
1158
|
-
body: await parseErrorBody(output.body, context),
|
|
1159
|
-
};
|
|
1160
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1161
|
-
switch (errorCode) {
|
|
1162
|
-
case "InternalServiceErrorException":
|
|
1163
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1164
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1165
|
-
case "InvalidRequestException":
|
|
1166
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1167
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1168
|
-
default:
|
|
1169
|
-
const parsedBody = parsedOutput.body;
|
|
1170
|
-
return throwDefaultError({
|
|
1171
|
-
output,
|
|
1172
|
-
parsedBody,
|
|
1173
|
-
errorCode,
|
|
1174
|
-
});
|
|
1175
|
-
}
|
|
1176
|
-
};
|
|
1177
552
|
export const de_ListServicesForAutoScalingConfigurationCommand = async (output, context) => {
|
|
1178
553
|
if (output.statusCode >= 300) {
|
|
1179
|
-
return
|
|
554
|
+
return de_CommandError(output, context);
|
|
1180
555
|
}
|
|
1181
556
|
const data = await parseBody(output.body, context);
|
|
1182
557
|
let contents = {};
|
|
@@ -1185,36 +560,11 @@ export const de_ListServicesForAutoScalingConfigurationCommand = async (output,
|
|
|
1185
560
|
$metadata: deserializeMetadata(output),
|
|
1186
561
|
...contents,
|
|
1187
562
|
};
|
|
1188
|
-
return response;
|
|
1189
|
-
};
|
|
1190
|
-
const de_ListServicesForAutoScalingConfigurationCommandError = async (output, context) => {
|
|
1191
|
-
const parsedOutput = {
|
|
1192
|
-
...output,
|
|
1193
|
-
body: await parseErrorBody(output.body, context),
|
|
1194
|
-
};
|
|
1195
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1196
|
-
switch (errorCode) {
|
|
1197
|
-
case "InternalServiceErrorException":
|
|
1198
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1199
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1200
|
-
case "InvalidRequestException":
|
|
1201
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1202
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1203
|
-
case "ResourceNotFoundException":
|
|
1204
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1205
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1206
|
-
default:
|
|
1207
|
-
const parsedBody = parsedOutput.body;
|
|
1208
|
-
return throwDefaultError({
|
|
1209
|
-
output,
|
|
1210
|
-
parsedBody,
|
|
1211
|
-
errorCode,
|
|
1212
|
-
});
|
|
1213
|
-
}
|
|
563
|
+
return response;
|
|
1214
564
|
};
|
|
1215
565
|
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1216
566
|
if (output.statusCode >= 300) {
|
|
1217
|
-
return
|
|
567
|
+
return de_CommandError(output, context);
|
|
1218
568
|
}
|
|
1219
569
|
const data = await parseBody(output.body, context);
|
|
1220
570
|
let contents = {};
|
|
@@ -1225,37 +575,9 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1225
575
|
};
|
|
1226
576
|
return response;
|
|
1227
577
|
};
|
|
1228
|
-
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1229
|
-
const parsedOutput = {
|
|
1230
|
-
...output,
|
|
1231
|
-
body: await parseErrorBody(output.body, context),
|
|
1232
|
-
};
|
|
1233
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1234
|
-
switch (errorCode) {
|
|
1235
|
-
case "InternalServiceErrorException":
|
|
1236
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1237
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1238
|
-
case "InvalidRequestException":
|
|
1239
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1240
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1241
|
-
case "InvalidStateException":
|
|
1242
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1243
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1244
|
-
case "ResourceNotFoundException":
|
|
1245
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1246
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1247
|
-
default:
|
|
1248
|
-
const parsedBody = parsedOutput.body;
|
|
1249
|
-
return throwDefaultError({
|
|
1250
|
-
output,
|
|
1251
|
-
parsedBody,
|
|
1252
|
-
errorCode,
|
|
1253
|
-
});
|
|
1254
|
-
}
|
|
1255
|
-
};
|
|
1256
578
|
export const de_ListVpcConnectorsCommand = async (output, context) => {
|
|
1257
579
|
if (output.statusCode >= 300) {
|
|
1258
|
-
return
|
|
580
|
+
return de_CommandError(output, context);
|
|
1259
581
|
}
|
|
1260
582
|
const data = await parseBody(output.body, context);
|
|
1261
583
|
let contents = {};
|
|
@@ -1266,31 +588,9 @@ export const de_ListVpcConnectorsCommand = async (output, context) => {
|
|
|
1266
588
|
};
|
|
1267
589
|
return response;
|
|
1268
590
|
};
|
|
1269
|
-
const de_ListVpcConnectorsCommandError = async (output, context) => {
|
|
1270
|
-
const parsedOutput = {
|
|
1271
|
-
...output,
|
|
1272
|
-
body: await parseErrorBody(output.body, context),
|
|
1273
|
-
};
|
|
1274
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1275
|
-
switch (errorCode) {
|
|
1276
|
-
case "InternalServiceErrorException":
|
|
1277
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1278
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1279
|
-
case "InvalidRequestException":
|
|
1280
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1281
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1282
|
-
default:
|
|
1283
|
-
const parsedBody = parsedOutput.body;
|
|
1284
|
-
return throwDefaultError({
|
|
1285
|
-
output,
|
|
1286
|
-
parsedBody,
|
|
1287
|
-
errorCode,
|
|
1288
|
-
});
|
|
1289
|
-
}
|
|
1290
|
-
};
|
|
1291
591
|
export const de_ListVpcIngressConnectionsCommand = async (output, context) => {
|
|
1292
592
|
if (output.statusCode >= 300) {
|
|
1293
|
-
return
|
|
593
|
+
return de_CommandError(output, context);
|
|
1294
594
|
}
|
|
1295
595
|
const data = await parseBody(output.body, context);
|
|
1296
596
|
let contents = {};
|
|
@@ -1301,31 +601,9 @@ export const de_ListVpcIngressConnectionsCommand = async (output, context) => {
|
|
|
1301
601
|
};
|
|
1302
602
|
return response;
|
|
1303
603
|
};
|
|
1304
|
-
const de_ListVpcIngressConnectionsCommandError = async (output, context) => {
|
|
1305
|
-
const parsedOutput = {
|
|
1306
|
-
...output,
|
|
1307
|
-
body: await parseErrorBody(output.body, context),
|
|
1308
|
-
};
|
|
1309
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1310
|
-
switch (errorCode) {
|
|
1311
|
-
case "InternalServiceErrorException":
|
|
1312
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1313
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1314
|
-
case "InvalidRequestException":
|
|
1315
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1316
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1317
|
-
default:
|
|
1318
|
-
const parsedBody = parsedOutput.body;
|
|
1319
|
-
return throwDefaultError({
|
|
1320
|
-
output,
|
|
1321
|
-
parsedBody,
|
|
1322
|
-
errorCode,
|
|
1323
|
-
});
|
|
1324
|
-
}
|
|
1325
|
-
};
|
|
1326
604
|
export const de_PauseServiceCommand = async (output, context) => {
|
|
1327
605
|
if (output.statusCode >= 300) {
|
|
1328
|
-
return
|
|
606
|
+
return de_CommandError(output, context);
|
|
1329
607
|
}
|
|
1330
608
|
const data = await parseBody(output.body, context);
|
|
1331
609
|
let contents = {};
|
|
@@ -1336,37 +614,9 @@ export const de_PauseServiceCommand = async (output, context) => {
|
|
|
1336
614
|
};
|
|
1337
615
|
return response;
|
|
1338
616
|
};
|
|
1339
|
-
const de_PauseServiceCommandError = async (output, context) => {
|
|
1340
|
-
const parsedOutput = {
|
|
1341
|
-
...output,
|
|
1342
|
-
body: await parseErrorBody(output.body, context),
|
|
1343
|
-
};
|
|
1344
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1345
|
-
switch (errorCode) {
|
|
1346
|
-
case "InternalServiceErrorException":
|
|
1347
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1348
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1349
|
-
case "InvalidRequestException":
|
|
1350
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1351
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1352
|
-
case "InvalidStateException":
|
|
1353
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1354
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1355
|
-
case "ResourceNotFoundException":
|
|
1356
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1357
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1358
|
-
default:
|
|
1359
|
-
const parsedBody = parsedOutput.body;
|
|
1360
|
-
return throwDefaultError({
|
|
1361
|
-
output,
|
|
1362
|
-
parsedBody,
|
|
1363
|
-
errorCode,
|
|
1364
|
-
});
|
|
1365
|
-
}
|
|
1366
|
-
};
|
|
1367
617
|
export const de_ResumeServiceCommand = async (output, context) => {
|
|
1368
618
|
if (output.statusCode >= 300) {
|
|
1369
|
-
return
|
|
619
|
+
return de_CommandError(output, context);
|
|
1370
620
|
}
|
|
1371
621
|
const data = await parseBody(output.body, context);
|
|
1372
622
|
let contents = {};
|
|
@@ -1377,37 +627,9 @@ export const de_ResumeServiceCommand = async (output, context) => {
|
|
|
1377
627
|
};
|
|
1378
628
|
return response;
|
|
1379
629
|
};
|
|
1380
|
-
const de_ResumeServiceCommandError = async (output, context) => {
|
|
1381
|
-
const parsedOutput = {
|
|
1382
|
-
...output,
|
|
1383
|
-
body: await parseErrorBody(output.body, context),
|
|
1384
|
-
};
|
|
1385
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1386
|
-
switch (errorCode) {
|
|
1387
|
-
case "InternalServiceErrorException":
|
|
1388
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1389
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1390
|
-
case "InvalidRequestException":
|
|
1391
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1392
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1393
|
-
case "InvalidStateException":
|
|
1394
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1395
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1396
|
-
case "ResourceNotFoundException":
|
|
1397
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1398
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1399
|
-
default:
|
|
1400
|
-
const parsedBody = parsedOutput.body;
|
|
1401
|
-
return throwDefaultError({
|
|
1402
|
-
output,
|
|
1403
|
-
parsedBody,
|
|
1404
|
-
errorCode,
|
|
1405
|
-
});
|
|
1406
|
-
}
|
|
1407
|
-
};
|
|
1408
630
|
export const de_StartDeploymentCommand = async (output, context) => {
|
|
1409
631
|
if (output.statusCode >= 300) {
|
|
1410
|
-
return
|
|
632
|
+
return de_CommandError(output, context);
|
|
1411
633
|
}
|
|
1412
634
|
const data = await parseBody(output.body, context);
|
|
1413
635
|
let contents = {};
|
|
@@ -1418,34 +640,9 @@ export const de_StartDeploymentCommand = async (output, context) => {
|
|
|
1418
640
|
};
|
|
1419
641
|
return response;
|
|
1420
642
|
};
|
|
1421
|
-
const de_StartDeploymentCommandError = async (output, context) => {
|
|
1422
|
-
const parsedOutput = {
|
|
1423
|
-
...output,
|
|
1424
|
-
body: await parseErrorBody(output.body, context),
|
|
1425
|
-
};
|
|
1426
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1427
|
-
switch (errorCode) {
|
|
1428
|
-
case "InternalServiceErrorException":
|
|
1429
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1430
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1431
|
-
case "InvalidRequestException":
|
|
1432
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1433
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1434
|
-
case "ResourceNotFoundException":
|
|
1435
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1436
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1437
|
-
default:
|
|
1438
|
-
const parsedBody = parsedOutput.body;
|
|
1439
|
-
return throwDefaultError({
|
|
1440
|
-
output,
|
|
1441
|
-
parsedBody,
|
|
1442
|
-
errorCode,
|
|
1443
|
-
});
|
|
1444
|
-
}
|
|
1445
|
-
};
|
|
1446
643
|
export const de_TagResourceCommand = async (output, context) => {
|
|
1447
644
|
if (output.statusCode >= 300) {
|
|
1448
|
-
return
|
|
645
|
+
return de_CommandError(output, context);
|
|
1449
646
|
}
|
|
1450
647
|
const data = await parseBody(output.body, context);
|
|
1451
648
|
let contents = {};
|
|
@@ -1456,37 +653,9 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
1456
653
|
};
|
|
1457
654
|
return response;
|
|
1458
655
|
};
|
|
1459
|
-
const de_TagResourceCommandError = async (output, context) => {
|
|
1460
|
-
const parsedOutput = {
|
|
1461
|
-
...output,
|
|
1462
|
-
body: await parseErrorBody(output.body, context),
|
|
1463
|
-
};
|
|
1464
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1465
|
-
switch (errorCode) {
|
|
1466
|
-
case "InternalServiceErrorException":
|
|
1467
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1468
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1469
|
-
case "InvalidRequestException":
|
|
1470
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1471
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1472
|
-
case "InvalidStateException":
|
|
1473
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1474
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1475
|
-
case "ResourceNotFoundException":
|
|
1476
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1477
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1478
|
-
default:
|
|
1479
|
-
const parsedBody = parsedOutput.body;
|
|
1480
|
-
return throwDefaultError({
|
|
1481
|
-
output,
|
|
1482
|
-
parsedBody,
|
|
1483
|
-
errorCode,
|
|
1484
|
-
});
|
|
1485
|
-
}
|
|
1486
|
-
};
|
|
1487
656
|
export const de_UntagResourceCommand = async (output, context) => {
|
|
1488
657
|
if (output.statusCode >= 300) {
|
|
1489
|
-
return
|
|
658
|
+
return de_CommandError(output, context);
|
|
1490
659
|
}
|
|
1491
660
|
const data = await parseBody(output.body, context);
|
|
1492
661
|
let contents = {};
|
|
@@ -1497,37 +666,9 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1497
666
|
};
|
|
1498
667
|
return response;
|
|
1499
668
|
};
|
|
1500
|
-
const de_UntagResourceCommandError = async (output, context) => {
|
|
1501
|
-
const parsedOutput = {
|
|
1502
|
-
...output,
|
|
1503
|
-
body: await parseErrorBody(output.body, context),
|
|
1504
|
-
};
|
|
1505
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1506
|
-
switch (errorCode) {
|
|
1507
|
-
case "InternalServiceErrorException":
|
|
1508
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1509
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1510
|
-
case "InvalidRequestException":
|
|
1511
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1512
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1513
|
-
case "InvalidStateException":
|
|
1514
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1515
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1516
|
-
case "ResourceNotFoundException":
|
|
1517
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1518
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1519
|
-
default:
|
|
1520
|
-
const parsedBody = parsedOutput.body;
|
|
1521
|
-
return throwDefaultError({
|
|
1522
|
-
output,
|
|
1523
|
-
parsedBody,
|
|
1524
|
-
errorCode,
|
|
1525
|
-
});
|
|
1526
|
-
}
|
|
1527
|
-
};
|
|
1528
669
|
export const de_UpdateDefaultAutoScalingConfigurationCommand = async (output, context) => {
|
|
1529
670
|
if (output.statusCode >= 300) {
|
|
1530
|
-
return
|
|
671
|
+
return de_CommandError(output, context);
|
|
1531
672
|
}
|
|
1532
673
|
const data = await parseBody(output.body, context);
|
|
1533
674
|
let contents = {};
|
|
@@ -1538,34 +679,9 @@ export const de_UpdateDefaultAutoScalingConfigurationCommand = async (output, co
|
|
|
1538
679
|
};
|
|
1539
680
|
return response;
|
|
1540
681
|
};
|
|
1541
|
-
const de_UpdateDefaultAutoScalingConfigurationCommandError = async (output, context) => {
|
|
1542
|
-
const parsedOutput = {
|
|
1543
|
-
...output,
|
|
1544
|
-
body: await parseErrorBody(output.body, context),
|
|
1545
|
-
};
|
|
1546
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1547
|
-
switch (errorCode) {
|
|
1548
|
-
case "InternalServiceErrorException":
|
|
1549
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1550
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1551
|
-
case "InvalidRequestException":
|
|
1552
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1553
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1554
|
-
case "ResourceNotFoundException":
|
|
1555
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1556
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1557
|
-
default:
|
|
1558
|
-
const parsedBody = parsedOutput.body;
|
|
1559
|
-
return throwDefaultError({
|
|
1560
|
-
output,
|
|
1561
|
-
parsedBody,
|
|
1562
|
-
errorCode,
|
|
1563
|
-
});
|
|
1564
|
-
}
|
|
1565
|
-
};
|
|
1566
682
|
export const de_UpdateServiceCommand = async (output, context) => {
|
|
1567
683
|
if (output.statusCode >= 300) {
|
|
1568
|
-
return
|
|
684
|
+
return de_CommandError(output, context);
|
|
1569
685
|
}
|
|
1570
686
|
const data = await parseBody(output.body, context);
|
|
1571
687
|
let contents = {};
|
|
@@ -1576,37 +692,9 @@ export const de_UpdateServiceCommand = async (output, context) => {
|
|
|
1576
692
|
};
|
|
1577
693
|
return response;
|
|
1578
694
|
};
|
|
1579
|
-
const de_UpdateServiceCommandError = async (output, context) => {
|
|
1580
|
-
const parsedOutput = {
|
|
1581
|
-
...output,
|
|
1582
|
-
body: await parseErrorBody(output.body, context),
|
|
1583
|
-
};
|
|
1584
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1585
|
-
switch (errorCode) {
|
|
1586
|
-
case "InternalServiceErrorException":
|
|
1587
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1588
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1589
|
-
case "InvalidRequestException":
|
|
1590
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1591
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1592
|
-
case "InvalidStateException":
|
|
1593
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1594
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1595
|
-
case "ResourceNotFoundException":
|
|
1596
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1597
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1598
|
-
default:
|
|
1599
|
-
const parsedBody = parsedOutput.body;
|
|
1600
|
-
return throwDefaultError({
|
|
1601
|
-
output,
|
|
1602
|
-
parsedBody,
|
|
1603
|
-
errorCode,
|
|
1604
|
-
});
|
|
1605
|
-
}
|
|
1606
|
-
};
|
|
1607
695
|
export const de_UpdateVpcIngressConnectionCommand = async (output, context) => {
|
|
1608
696
|
if (output.statusCode >= 300) {
|
|
1609
|
-
return
|
|
697
|
+
return de_CommandError(output, context);
|
|
1610
698
|
}
|
|
1611
699
|
const data = await parseBody(output.body, context);
|
|
1612
700
|
let contents = {};
|
|
@@ -1617,7 +705,7 @@ export const de_UpdateVpcIngressConnectionCommand = async (output, context) => {
|
|
|
1617
705
|
};
|
|
1618
706
|
return response;
|
|
1619
707
|
};
|
|
1620
|
-
const
|
|
708
|
+
const de_CommandError = async (output, context) => {
|
|
1621
709
|
const parsedOutput = {
|
|
1622
710
|
...output,
|
|
1623
711
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1633,6 +721,9 @@ const de_UpdateVpcIngressConnectionCommandError = async (output, context) => {
|
|
|
1633
721
|
case "InvalidStateException":
|
|
1634
722
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1635
723
|
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
724
|
+
case "ServiceQuotaExceededException":
|
|
725
|
+
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
726
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1636
727
|
case "ResourceNotFoundException":
|
|
1637
728
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1638
729
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|