@aws-sdk/client-apprunner 3.52.0 → 3.53.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/CHANGELOG.md +12 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AppRunnerServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +76 -2
- package/dist-cjs/protocols/Aws_json1_0.js +221 -786
- package/dist-es/index.js +1 -0
- package/dist-es/models/AppRunnerServiceException.js +12 -0
- package/dist-es/models/models_0.js +70 -1
- package/dist-es/protocols/Aws_json1_0.js +512 -881
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AppRunnerServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +40 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AppRunnerServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -16
- package/package.json +25 -25
|
@@ -4,6 +4,8 @@ exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_
|
|
|
4
4
|
exports.deserializeAws_json1_0UpdateServiceCommand = exports.deserializeAws_json1_0UntagResourceCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const AppRunnerServiceException_1 = require("../models/AppRunnerServiceException");
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
7
9
|
const serializeAws_json1_0AssociateCustomDomainCommand = async (input, context) => {
|
|
8
10
|
const headers = {
|
|
9
11
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -289,43 +291,22 @@ const deserializeAws_json1_0AssociateCustomDomainCommandError = async (output, c
|
|
|
289
291
|
switch (errorCode) {
|
|
290
292
|
case "InternalServiceErrorException":
|
|
291
293
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
292
|
-
|
|
293
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
294
|
-
name: errorCode,
|
|
295
|
-
$metadata: deserializeMetadata(output),
|
|
296
|
-
};
|
|
297
|
-
break;
|
|
294
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
298
295
|
case "InvalidRequestException":
|
|
299
296
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
300
|
-
|
|
301
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
302
|
-
name: errorCode,
|
|
303
|
-
$metadata: deserializeMetadata(output),
|
|
304
|
-
};
|
|
305
|
-
break;
|
|
297
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
306
298
|
case "InvalidStateException":
|
|
307
299
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
308
|
-
|
|
309
|
-
...(await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context)),
|
|
310
|
-
name: errorCode,
|
|
311
|
-
$metadata: deserializeMetadata(output),
|
|
312
|
-
};
|
|
313
|
-
break;
|
|
300
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
314
301
|
default:
|
|
315
302
|
const parsedBody = parsedOutput.body;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
...parsedBody,
|
|
319
|
-
name: `${errorCode}`,
|
|
320
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
303
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
304
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
321
305
|
$fault: "client",
|
|
322
306
|
$metadata: deserializeMetadata(output),
|
|
323
|
-
};
|
|
307
|
+
});
|
|
308
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
324
309
|
}
|
|
325
|
-
const message = response.message || response.Message || errorCode;
|
|
326
|
-
response.message = message;
|
|
327
|
-
delete response.Message;
|
|
328
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
329
310
|
};
|
|
330
311
|
const deserializeAws_json1_0CreateAutoScalingConfigurationCommand = async (output, context) => {
|
|
331
312
|
if (output.statusCode >= 300) {
|
|
@@ -352,43 +333,22 @@ const deserializeAws_json1_0CreateAutoScalingConfigurationCommandError = async (
|
|
|
352
333
|
switch (errorCode) {
|
|
353
334
|
case "InternalServiceErrorException":
|
|
354
335
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
355
|
-
|
|
356
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
357
|
-
name: errorCode,
|
|
358
|
-
$metadata: deserializeMetadata(output),
|
|
359
|
-
};
|
|
360
|
-
break;
|
|
336
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
361
337
|
case "InvalidRequestException":
|
|
362
338
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
363
|
-
|
|
364
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
365
|
-
name: errorCode,
|
|
366
|
-
$metadata: deserializeMetadata(output),
|
|
367
|
-
};
|
|
368
|
-
break;
|
|
339
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
369
340
|
case "ServiceQuotaExceededException":
|
|
370
341
|
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
371
|
-
|
|
372
|
-
...(await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context)),
|
|
373
|
-
name: errorCode,
|
|
374
|
-
$metadata: deserializeMetadata(output),
|
|
375
|
-
};
|
|
376
|
-
break;
|
|
342
|
+
throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
377
343
|
default:
|
|
378
344
|
const parsedBody = parsedOutput.body;
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
...parsedBody,
|
|
382
|
-
name: `${errorCode}`,
|
|
383
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
345
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
346
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
384
347
|
$fault: "client",
|
|
385
348
|
$metadata: deserializeMetadata(output),
|
|
386
|
-
};
|
|
349
|
+
});
|
|
350
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
387
351
|
}
|
|
388
|
-
const message = response.message || response.Message || errorCode;
|
|
389
|
-
response.message = message;
|
|
390
|
-
delete response.Message;
|
|
391
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
392
352
|
};
|
|
393
353
|
const deserializeAws_json1_0CreateConnectionCommand = async (output, context) => {
|
|
394
354
|
if (output.statusCode >= 300) {
|
|
@@ -415,43 +375,22 @@ const deserializeAws_json1_0CreateConnectionCommandError = async (output, contex
|
|
|
415
375
|
switch (errorCode) {
|
|
416
376
|
case "InternalServiceErrorException":
|
|
417
377
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
418
|
-
|
|
419
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
420
|
-
name: errorCode,
|
|
421
|
-
$metadata: deserializeMetadata(output),
|
|
422
|
-
};
|
|
423
|
-
break;
|
|
378
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
424
379
|
case "InvalidRequestException":
|
|
425
380
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
426
|
-
|
|
427
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
428
|
-
name: errorCode,
|
|
429
|
-
$metadata: deserializeMetadata(output),
|
|
430
|
-
};
|
|
431
|
-
break;
|
|
381
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
432
382
|
case "ServiceQuotaExceededException":
|
|
433
383
|
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
434
|
-
|
|
435
|
-
...(await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context)),
|
|
436
|
-
name: errorCode,
|
|
437
|
-
$metadata: deserializeMetadata(output),
|
|
438
|
-
};
|
|
439
|
-
break;
|
|
384
|
+
throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
440
385
|
default:
|
|
441
386
|
const parsedBody = parsedOutput.body;
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
...parsedBody,
|
|
445
|
-
name: `${errorCode}`,
|
|
446
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
387
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
388
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
447
389
|
$fault: "client",
|
|
448
390
|
$metadata: deserializeMetadata(output),
|
|
449
|
-
};
|
|
391
|
+
});
|
|
392
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
450
393
|
}
|
|
451
|
-
const message = response.message || response.Message || errorCode;
|
|
452
|
-
response.message = message;
|
|
453
|
-
delete response.Message;
|
|
454
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
455
394
|
};
|
|
456
395
|
const deserializeAws_json1_0CreateServiceCommand = async (output, context) => {
|
|
457
396
|
if (output.statusCode >= 300) {
|
|
@@ -478,43 +417,22 @@ const deserializeAws_json1_0CreateServiceCommandError = async (output, context)
|
|
|
478
417
|
switch (errorCode) {
|
|
479
418
|
case "InternalServiceErrorException":
|
|
480
419
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
481
|
-
|
|
482
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
483
|
-
name: errorCode,
|
|
484
|
-
$metadata: deserializeMetadata(output),
|
|
485
|
-
};
|
|
486
|
-
break;
|
|
420
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
487
421
|
case "InvalidRequestException":
|
|
488
422
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
489
|
-
|
|
490
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
491
|
-
name: errorCode,
|
|
492
|
-
$metadata: deserializeMetadata(output),
|
|
493
|
-
};
|
|
494
|
-
break;
|
|
423
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
495
424
|
case "ServiceQuotaExceededException":
|
|
496
425
|
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
497
|
-
|
|
498
|
-
...(await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context)),
|
|
499
|
-
name: errorCode,
|
|
500
|
-
$metadata: deserializeMetadata(output),
|
|
501
|
-
};
|
|
502
|
-
break;
|
|
426
|
+
throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
503
427
|
default:
|
|
504
428
|
const parsedBody = parsedOutput.body;
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
...parsedBody,
|
|
508
|
-
name: `${errorCode}`,
|
|
509
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
429
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
430
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
510
431
|
$fault: "client",
|
|
511
432
|
$metadata: deserializeMetadata(output),
|
|
512
|
-
};
|
|
433
|
+
});
|
|
434
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
513
435
|
}
|
|
514
|
-
const message = response.message || response.Message || errorCode;
|
|
515
|
-
response.message = message;
|
|
516
|
-
delete response.Message;
|
|
517
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
518
436
|
};
|
|
519
437
|
const deserializeAws_json1_0CreateVpcConnectorCommand = async (output, context) => {
|
|
520
438
|
if (output.statusCode >= 300) {
|
|
@@ -541,43 +459,22 @@ const deserializeAws_json1_0CreateVpcConnectorCommandError = async (output, cont
|
|
|
541
459
|
switch (errorCode) {
|
|
542
460
|
case "InternalServiceErrorException":
|
|
543
461
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
544
|
-
|
|
545
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
546
|
-
name: errorCode,
|
|
547
|
-
$metadata: deserializeMetadata(output),
|
|
548
|
-
};
|
|
549
|
-
break;
|
|
462
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
550
463
|
case "InvalidRequestException":
|
|
551
464
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
552
|
-
|
|
553
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
554
|
-
name: errorCode,
|
|
555
|
-
$metadata: deserializeMetadata(output),
|
|
556
|
-
};
|
|
557
|
-
break;
|
|
465
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
558
466
|
case "ServiceQuotaExceededException":
|
|
559
467
|
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
560
|
-
|
|
561
|
-
...(await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context)),
|
|
562
|
-
name: errorCode,
|
|
563
|
-
$metadata: deserializeMetadata(output),
|
|
564
|
-
};
|
|
565
|
-
break;
|
|
468
|
+
throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
566
469
|
default:
|
|
567
470
|
const parsedBody = parsedOutput.body;
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
...parsedBody,
|
|
571
|
-
name: `${errorCode}`,
|
|
572
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
471
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
472
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
573
473
|
$fault: "client",
|
|
574
474
|
$metadata: deserializeMetadata(output),
|
|
575
|
-
};
|
|
475
|
+
});
|
|
476
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
576
477
|
}
|
|
577
|
-
const message = response.message || response.Message || errorCode;
|
|
578
|
-
response.message = message;
|
|
579
|
-
delete response.Message;
|
|
580
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
581
478
|
};
|
|
582
479
|
const deserializeAws_json1_0DeleteAutoScalingConfigurationCommand = async (output, context) => {
|
|
583
480
|
if (output.statusCode >= 300) {
|
|
@@ -604,43 +501,22 @@ const deserializeAws_json1_0DeleteAutoScalingConfigurationCommandError = async (
|
|
|
604
501
|
switch (errorCode) {
|
|
605
502
|
case "InternalServiceErrorException":
|
|
606
503
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
607
|
-
|
|
608
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
609
|
-
name: errorCode,
|
|
610
|
-
$metadata: deserializeMetadata(output),
|
|
611
|
-
};
|
|
612
|
-
break;
|
|
504
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
613
505
|
case "InvalidRequestException":
|
|
614
506
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
615
|
-
|
|
616
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
617
|
-
name: errorCode,
|
|
618
|
-
$metadata: deserializeMetadata(output),
|
|
619
|
-
};
|
|
620
|
-
break;
|
|
507
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
621
508
|
case "ResourceNotFoundException":
|
|
622
509
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
623
|
-
|
|
624
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
625
|
-
name: errorCode,
|
|
626
|
-
$metadata: deserializeMetadata(output),
|
|
627
|
-
};
|
|
628
|
-
break;
|
|
510
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
629
511
|
default:
|
|
630
512
|
const parsedBody = parsedOutput.body;
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
...parsedBody,
|
|
634
|
-
name: `${errorCode}`,
|
|
635
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
513
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
514
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
636
515
|
$fault: "client",
|
|
637
516
|
$metadata: deserializeMetadata(output),
|
|
638
|
-
};
|
|
517
|
+
});
|
|
518
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
639
519
|
}
|
|
640
|
-
const message = response.message || response.Message || errorCode;
|
|
641
|
-
response.message = message;
|
|
642
|
-
delete response.Message;
|
|
643
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
644
520
|
};
|
|
645
521
|
const deserializeAws_json1_0DeleteConnectionCommand = async (output, context) => {
|
|
646
522
|
if (output.statusCode >= 300) {
|
|
@@ -667,43 +543,22 @@ const deserializeAws_json1_0DeleteConnectionCommandError = async (output, contex
|
|
|
667
543
|
switch (errorCode) {
|
|
668
544
|
case "InternalServiceErrorException":
|
|
669
545
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
670
|
-
|
|
671
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
672
|
-
name: errorCode,
|
|
673
|
-
$metadata: deserializeMetadata(output),
|
|
674
|
-
};
|
|
675
|
-
break;
|
|
546
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
676
547
|
case "InvalidRequestException":
|
|
677
548
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
678
|
-
|
|
679
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
680
|
-
name: errorCode,
|
|
681
|
-
$metadata: deserializeMetadata(output),
|
|
682
|
-
};
|
|
683
|
-
break;
|
|
549
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
684
550
|
case "ResourceNotFoundException":
|
|
685
551
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
686
|
-
|
|
687
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
688
|
-
name: errorCode,
|
|
689
|
-
$metadata: deserializeMetadata(output),
|
|
690
|
-
};
|
|
691
|
-
break;
|
|
552
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
692
553
|
default:
|
|
693
554
|
const parsedBody = parsedOutput.body;
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
...parsedBody,
|
|
697
|
-
name: `${errorCode}`,
|
|
698
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
555
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
556
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
699
557
|
$fault: "client",
|
|
700
558
|
$metadata: deserializeMetadata(output),
|
|
701
|
-
};
|
|
559
|
+
});
|
|
560
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
702
561
|
}
|
|
703
|
-
const message = response.message || response.Message || errorCode;
|
|
704
|
-
response.message = message;
|
|
705
|
-
delete response.Message;
|
|
706
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
707
562
|
};
|
|
708
563
|
const deserializeAws_json1_0DeleteServiceCommand = async (output, context) => {
|
|
709
564
|
if (output.statusCode >= 300) {
|
|
@@ -730,51 +585,25 @@ const deserializeAws_json1_0DeleteServiceCommandError = async (output, context)
|
|
|
730
585
|
switch (errorCode) {
|
|
731
586
|
case "InternalServiceErrorException":
|
|
732
587
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
733
|
-
|
|
734
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
735
|
-
name: errorCode,
|
|
736
|
-
$metadata: deserializeMetadata(output),
|
|
737
|
-
};
|
|
738
|
-
break;
|
|
588
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
739
589
|
case "InvalidRequestException":
|
|
740
590
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
741
|
-
|
|
742
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
743
|
-
name: errorCode,
|
|
744
|
-
$metadata: deserializeMetadata(output),
|
|
745
|
-
};
|
|
746
|
-
break;
|
|
591
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
747
592
|
case "InvalidStateException":
|
|
748
593
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
749
|
-
|
|
750
|
-
...(await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context)),
|
|
751
|
-
name: errorCode,
|
|
752
|
-
$metadata: deserializeMetadata(output),
|
|
753
|
-
};
|
|
754
|
-
break;
|
|
594
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
755
595
|
case "ResourceNotFoundException":
|
|
756
596
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
757
|
-
|
|
758
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
759
|
-
name: errorCode,
|
|
760
|
-
$metadata: deserializeMetadata(output),
|
|
761
|
-
};
|
|
762
|
-
break;
|
|
597
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
763
598
|
default:
|
|
764
599
|
const parsedBody = parsedOutput.body;
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
...parsedBody,
|
|
768
|
-
name: `${errorCode}`,
|
|
769
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
600
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
601
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
770
602
|
$fault: "client",
|
|
771
603
|
$metadata: deserializeMetadata(output),
|
|
772
|
-
};
|
|
604
|
+
});
|
|
605
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
773
606
|
}
|
|
774
|
-
const message = response.message || response.Message || errorCode;
|
|
775
|
-
response.message = message;
|
|
776
|
-
delete response.Message;
|
|
777
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
778
607
|
};
|
|
779
608
|
const deserializeAws_json1_0DeleteVpcConnectorCommand = async (output, context) => {
|
|
780
609
|
if (output.statusCode >= 300) {
|
|
@@ -801,43 +630,22 @@ const deserializeAws_json1_0DeleteVpcConnectorCommandError = async (output, cont
|
|
|
801
630
|
switch (errorCode) {
|
|
802
631
|
case "InternalServiceErrorException":
|
|
803
632
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
804
|
-
|
|
805
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
806
|
-
name: errorCode,
|
|
807
|
-
$metadata: deserializeMetadata(output),
|
|
808
|
-
};
|
|
809
|
-
break;
|
|
633
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
810
634
|
case "InvalidRequestException":
|
|
811
635
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
812
|
-
|
|
813
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
814
|
-
name: errorCode,
|
|
815
|
-
$metadata: deserializeMetadata(output),
|
|
816
|
-
};
|
|
817
|
-
break;
|
|
636
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
818
637
|
case "ResourceNotFoundException":
|
|
819
638
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
820
|
-
|
|
821
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
822
|
-
name: errorCode,
|
|
823
|
-
$metadata: deserializeMetadata(output),
|
|
824
|
-
};
|
|
825
|
-
break;
|
|
639
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
826
640
|
default:
|
|
827
641
|
const parsedBody = parsedOutput.body;
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
...parsedBody,
|
|
831
|
-
name: `${errorCode}`,
|
|
832
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
642
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
643
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
833
644
|
$fault: "client",
|
|
834
645
|
$metadata: deserializeMetadata(output),
|
|
835
|
-
};
|
|
646
|
+
});
|
|
647
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
836
648
|
}
|
|
837
|
-
const message = response.message || response.Message || errorCode;
|
|
838
|
-
response.message = message;
|
|
839
|
-
delete response.Message;
|
|
840
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
841
649
|
};
|
|
842
650
|
const deserializeAws_json1_0DescribeAutoScalingConfigurationCommand = async (output, context) => {
|
|
843
651
|
if (output.statusCode >= 300) {
|
|
@@ -864,43 +672,22 @@ const deserializeAws_json1_0DescribeAutoScalingConfigurationCommandError = async
|
|
|
864
672
|
switch (errorCode) {
|
|
865
673
|
case "InternalServiceErrorException":
|
|
866
674
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
867
|
-
|
|
868
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
869
|
-
name: errorCode,
|
|
870
|
-
$metadata: deserializeMetadata(output),
|
|
871
|
-
};
|
|
872
|
-
break;
|
|
675
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
873
676
|
case "InvalidRequestException":
|
|
874
677
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
875
|
-
|
|
876
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
877
|
-
name: errorCode,
|
|
878
|
-
$metadata: deserializeMetadata(output),
|
|
879
|
-
};
|
|
880
|
-
break;
|
|
678
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
881
679
|
case "ResourceNotFoundException":
|
|
882
680
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
883
|
-
|
|
884
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
885
|
-
name: errorCode,
|
|
886
|
-
$metadata: deserializeMetadata(output),
|
|
887
|
-
};
|
|
888
|
-
break;
|
|
681
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
889
682
|
default:
|
|
890
683
|
const parsedBody = parsedOutput.body;
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
...parsedBody,
|
|
894
|
-
name: `${errorCode}`,
|
|
895
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
684
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
685
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
896
686
|
$fault: "client",
|
|
897
687
|
$metadata: deserializeMetadata(output),
|
|
898
|
-
};
|
|
688
|
+
});
|
|
689
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
899
690
|
}
|
|
900
|
-
const message = response.message || response.Message || errorCode;
|
|
901
|
-
response.message = message;
|
|
902
|
-
delete response.Message;
|
|
903
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
904
691
|
};
|
|
905
692
|
const deserializeAws_json1_0DescribeCustomDomainsCommand = async (output, context) => {
|
|
906
693
|
if (output.statusCode >= 300) {
|
|
@@ -927,43 +714,22 @@ const deserializeAws_json1_0DescribeCustomDomainsCommandError = async (output, c
|
|
|
927
714
|
switch (errorCode) {
|
|
928
715
|
case "InternalServiceErrorException":
|
|
929
716
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
930
|
-
|
|
931
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
932
|
-
name: errorCode,
|
|
933
|
-
$metadata: deserializeMetadata(output),
|
|
934
|
-
};
|
|
935
|
-
break;
|
|
717
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
936
718
|
case "InvalidRequestException":
|
|
937
719
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
938
|
-
|
|
939
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
940
|
-
name: errorCode,
|
|
941
|
-
$metadata: deserializeMetadata(output),
|
|
942
|
-
};
|
|
943
|
-
break;
|
|
720
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
944
721
|
case "ResourceNotFoundException":
|
|
945
722
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
946
|
-
|
|
947
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
948
|
-
name: errorCode,
|
|
949
|
-
$metadata: deserializeMetadata(output),
|
|
950
|
-
};
|
|
951
|
-
break;
|
|
723
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
952
724
|
default:
|
|
953
725
|
const parsedBody = parsedOutput.body;
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
...parsedBody,
|
|
957
|
-
name: `${errorCode}`,
|
|
958
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
726
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
727
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
959
728
|
$fault: "client",
|
|
960
729
|
$metadata: deserializeMetadata(output),
|
|
961
|
-
};
|
|
730
|
+
});
|
|
731
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
962
732
|
}
|
|
963
|
-
const message = response.message || response.Message || errorCode;
|
|
964
|
-
response.message = message;
|
|
965
|
-
delete response.Message;
|
|
966
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
967
733
|
};
|
|
968
734
|
const deserializeAws_json1_0DescribeServiceCommand = async (output, context) => {
|
|
969
735
|
if (output.statusCode >= 300) {
|
|
@@ -990,43 +756,22 @@ const deserializeAws_json1_0DescribeServiceCommandError = async (output, context
|
|
|
990
756
|
switch (errorCode) {
|
|
991
757
|
case "InternalServiceErrorException":
|
|
992
758
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
993
|
-
|
|
994
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
995
|
-
name: errorCode,
|
|
996
|
-
$metadata: deserializeMetadata(output),
|
|
997
|
-
};
|
|
998
|
-
break;
|
|
759
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
999
760
|
case "InvalidRequestException":
|
|
1000
761
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1001
|
-
|
|
1002
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1003
|
-
name: errorCode,
|
|
1004
|
-
$metadata: deserializeMetadata(output),
|
|
1005
|
-
};
|
|
1006
|
-
break;
|
|
762
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1007
763
|
case "ResourceNotFoundException":
|
|
1008
764
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1009
|
-
|
|
1010
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1011
|
-
name: errorCode,
|
|
1012
|
-
$metadata: deserializeMetadata(output),
|
|
1013
|
-
};
|
|
1014
|
-
break;
|
|
765
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1015
766
|
default:
|
|
1016
767
|
const parsedBody = parsedOutput.body;
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
...parsedBody,
|
|
1020
|
-
name: `${errorCode}`,
|
|
1021
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
768
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
769
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1022
770
|
$fault: "client",
|
|
1023
771
|
$metadata: deserializeMetadata(output),
|
|
1024
|
-
};
|
|
772
|
+
});
|
|
773
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1025
774
|
}
|
|
1026
|
-
const message = response.message || response.Message || errorCode;
|
|
1027
|
-
response.message = message;
|
|
1028
|
-
delete response.Message;
|
|
1029
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1030
775
|
};
|
|
1031
776
|
const deserializeAws_json1_0DescribeVpcConnectorCommand = async (output, context) => {
|
|
1032
777
|
if (output.statusCode >= 300) {
|
|
@@ -1053,43 +798,22 @@ const deserializeAws_json1_0DescribeVpcConnectorCommandError = async (output, co
|
|
|
1053
798
|
switch (errorCode) {
|
|
1054
799
|
case "InternalServiceErrorException":
|
|
1055
800
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1056
|
-
|
|
1057
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1058
|
-
name: errorCode,
|
|
1059
|
-
$metadata: deserializeMetadata(output),
|
|
1060
|
-
};
|
|
1061
|
-
break;
|
|
801
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1062
802
|
case "InvalidRequestException":
|
|
1063
803
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1064
|
-
|
|
1065
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1066
|
-
name: errorCode,
|
|
1067
|
-
$metadata: deserializeMetadata(output),
|
|
1068
|
-
};
|
|
1069
|
-
break;
|
|
804
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1070
805
|
case "ResourceNotFoundException":
|
|
1071
806
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1072
|
-
|
|
1073
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1074
|
-
name: errorCode,
|
|
1075
|
-
$metadata: deserializeMetadata(output),
|
|
1076
|
-
};
|
|
1077
|
-
break;
|
|
807
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1078
808
|
default:
|
|
1079
809
|
const parsedBody = parsedOutput.body;
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
...parsedBody,
|
|
1083
|
-
name: `${errorCode}`,
|
|
1084
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
810
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
811
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1085
812
|
$fault: "client",
|
|
1086
813
|
$metadata: deserializeMetadata(output),
|
|
1087
|
-
};
|
|
814
|
+
});
|
|
815
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1088
816
|
}
|
|
1089
|
-
const message = response.message || response.Message || errorCode;
|
|
1090
|
-
response.message = message;
|
|
1091
|
-
delete response.Message;
|
|
1092
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1093
817
|
};
|
|
1094
818
|
const deserializeAws_json1_0DisassociateCustomDomainCommand = async (output, context) => {
|
|
1095
819
|
if (output.statusCode >= 300) {
|
|
@@ -1116,51 +840,25 @@ const deserializeAws_json1_0DisassociateCustomDomainCommandError = async (output
|
|
|
1116
840
|
switch (errorCode) {
|
|
1117
841
|
case "InternalServiceErrorException":
|
|
1118
842
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1119
|
-
|
|
1120
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1121
|
-
name: errorCode,
|
|
1122
|
-
$metadata: deserializeMetadata(output),
|
|
1123
|
-
};
|
|
1124
|
-
break;
|
|
843
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1125
844
|
case "InvalidRequestException":
|
|
1126
845
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1127
|
-
|
|
1128
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1129
|
-
name: errorCode,
|
|
1130
|
-
$metadata: deserializeMetadata(output),
|
|
1131
|
-
};
|
|
1132
|
-
break;
|
|
846
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1133
847
|
case "InvalidStateException":
|
|
1134
848
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1135
|
-
|
|
1136
|
-
...(await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context)),
|
|
1137
|
-
name: errorCode,
|
|
1138
|
-
$metadata: deserializeMetadata(output),
|
|
1139
|
-
};
|
|
1140
|
-
break;
|
|
849
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
1141
850
|
case "ResourceNotFoundException":
|
|
1142
851
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1143
|
-
|
|
1144
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1145
|
-
name: errorCode,
|
|
1146
|
-
$metadata: deserializeMetadata(output),
|
|
1147
|
-
};
|
|
1148
|
-
break;
|
|
852
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1149
853
|
default:
|
|
1150
854
|
const parsedBody = parsedOutput.body;
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
...parsedBody,
|
|
1154
|
-
name: `${errorCode}`,
|
|
1155
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
855
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
856
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1156
857
|
$fault: "client",
|
|
1157
858
|
$metadata: deserializeMetadata(output),
|
|
1158
|
-
};
|
|
859
|
+
});
|
|
860
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1159
861
|
}
|
|
1160
|
-
const message = response.message || response.Message || errorCode;
|
|
1161
|
-
response.message = message;
|
|
1162
|
-
delete response.Message;
|
|
1163
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1164
862
|
};
|
|
1165
863
|
const deserializeAws_json1_0ListAutoScalingConfigurationsCommand = async (output, context) => {
|
|
1166
864
|
if (output.statusCode >= 300) {
|
|
@@ -1187,35 +885,19 @@ const deserializeAws_json1_0ListAutoScalingConfigurationsCommandError = async (o
|
|
|
1187
885
|
switch (errorCode) {
|
|
1188
886
|
case "InternalServiceErrorException":
|
|
1189
887
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1190
|
-
|
|
1191
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1192
|
-
name: errorCode,
|
|
1193
|
-
$metadata: deserializeMetadata(output),
|
|
1194
|
-
};
|
|
1195
|
-
break;
|
|
888
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1196
889
|
case "InvalidRequestException":
|
|
1197
890
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1198
|
-
|
|
1199
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1200
|
-
name: errorCode,
|
|
1201
|
-
$metadata: deserializeMetadata(output),
|
|
1202
|
-
};
|
|
1203
|
-
break;
|
|
891
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1204
892
|
default:
|
|
1205
893
|
const parsedBody = parsedOutput.body;
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
...parsedBody,
|
|
1209
|
-
name: `${errorCode}`,
|
|
1210
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
894
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
895
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1211
896
|
$fault: "client",
|
|
1212
897
|
$metadata: deserializeMetadata(output),
|
|
1213
|
-
};
|
|
898
|
+
});
|
|
899
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1214
900
|
}
|
|
1215
|
-
const message = response.message || response.Message || errorCode;
|
|
1216
|
-
response.message = message;
|
|
1217
|
-
delete response.Message;
|
|
1218
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1219
901
|
};
|
|
1220
902
|
const deserializeAws_json1_0ListConnectionsCommand = async (output, context) => {
|
|
1221
903
|
if (output.statusCode >= 300) {
|
|
@@ -1242,35 +924,19 @@ const deserializeAws_json1_0ListConnectionsCommandError = async (output, context
|
|
|
1242
924
|
switch (errorCode) {
|
|
1243
925
|
case "InternalServiceErrorException":
|
|
1244
926
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1245
|
-
|
|
1246
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1247
|
-
name: errorCode,
|
|
1248
|
-
$metadata: deserializeMetadata(output),
|
|
1249
|
-
};
|
|
1250
|
-
break;
|
|
927
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1251
928
|
case "InvalidRequestException":
|
|
1252
929
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1253
|
-
|
|
1254
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1255
|
-
name: errorCode,
|
|
1256
|
-
$metadata: deserializeMetadata(output),
|
|
1257
|
-
};
|
|
1258
|
-
break;
|
|
930
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1259
931
|
default:
|
|
1260
932
|
const parsedBody = parsedOutput.body;
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
...parsedBody,
|
|
1264
|
-
name: `${errorCode}`,
|
|
1265
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
933
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
934
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1266
935
|
$fault: "client",
|
|
1267
936
|
$metadata: deserializeMetadata(output),
|
|
1268
|
-
};
|
|
937
|
+
});
|
|
938
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1269
939
|
}
|
|
1270
|
-
const message = response.message || response.Message || errorCode;
|
|
1271
|
-
response.message = message;
|
|
1272
|
-
delete response.Message;
|
|
1273
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1274
940
|
};
|
|
1275
941
|
const deserializeAws_json1_0ListOperationsCommand = async (output, context) => {
|
|
1276
942
|
if (output.statusCode >= 300) {
|
|
@@ -1297,43 +963,22 @@ const deserializeAws_json1_0ListOperationsCommandError = async (output, context)
|
|
|
1297
963
|
switch (errorCode) {
|
|
1298
964
|
case "InternalServiceErrorException":
|
|
1299
965
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1300
|
-
|
|
1301
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1302
|
-
name: errorCode,
|
|
1303
|
-
$metadata: deserializeMetadata(output),
|
|
1304
|
-
};
|
|
1305
|
-
break;
|
|
966
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1306
967
|
case "InvalidRequestException":
|
|
1307
968
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1308
|
-
|
|
1309
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1310
|
-
name: errorCode,
|
|
1311
|
-
$metadata: deserializeMetadata(output),
|
|
1312
|
-
};
|
|
1313
|
-
break;
|
|
969
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1314
970
|
case "ResourceNotFoundException":
|
|
1315
971
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1316
|
-
|
|
1317
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1318
|
-
name: errorCode,
|
|
1319
|
-
$metadata: deserializeMetadata(output),
|
|
1320
|
-
};
|
|
1321
|
-
break;
|
|
972
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1322
973
|
default:
|
|
1323
974
|
const parsedBody = parsedOutput.body;
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
...parsedBody,
|
|
1327
|
-
name: `${errorCode}`,
|
|
1328
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
975
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
976
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1329
977
|
$fault: "client",
|
|
1330
978
|
$metadata: deserializeMetadata(output),
|
|
1331
|
-
};
|
|
979
|
+
});
|
|
980
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1332
981
|
}
|
|
1333
|
-
const message = response.message || response.Message || errorCode;
|
|
1334
|
-
response.message = message;
|
|
1335
|
-
delete response.Message;
|
|
1336
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1337
982
|
};
|
|
1338
983
|
const deserializeAws_json1_0ListServicesCommand = async (output, context) => {
|
|
1339
984
|
if (output.statusCode >= 300) {
|
|
@@ -1360,35 +1005,19 @@ const deserializeAws_json1_0ListServicesCommandError = async (output, context) =
|
|
|
1360
1005
|
switch (errorCode) {
|
|
1361
1006
|
case "InternalServiceErrorException":
|
|
1362
1007
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1363
|
-
|
|
1364
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1365
|
-
name: errorCode,
|
|
1366
|
-
$metadata: deserializeMetadata(output),
|
|
1367
|
-
};
|
|
1368
|
-
break;
|
|
1008
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1369
1009
|
case "InvalidRequestException":
|
|
1370
1010
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1371
|
-
|
|
1372
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1373
|
-
name: errorCode,
|
|
1374
|
-
$metadata: deserializeMetadata(output),
|
|
1375
|
-
};
|
|
1376
|
-
break;
|
|
1011
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1377
1012
|
default:
|
|
1378
1013
|
const parsedBody = parsedOutput.body;
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
...parsedBody,
|
|
1382
|
-
name: `${errorCode}`,
|
|
1383
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1014
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
1015
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1384
1016
|
$fault: "client",
|
|
1385
1017
|
$metadata: deserializeMetadata(output),
|
|
1386
|
-
};
|
|
1018
|
+
});
|
|
1019
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1387
1020
|
}
|
|
1388
|
-
const message = response.message || response.Message || errorCode;
|
|
1389
|
-
response.message = message;
|
|
1390
|
-
delete response.Message;
|
|
1391
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1392
1021
|
};
|
|
1393
1022
|
const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
|
|
1394
1023
|
if (output.statusCode >= 300) {
|
|
@@ -1415,51 +1044,25 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
1415
1044
|
switch (errorCode) {
|
|
1416
1045
|
case "InternalServiceErrorException":
|
|
1417
1046
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1418
|
-
|
|
1419
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1420
|
-
name: errorCode,
|
|
1421
|
-
$metadata: deserializeMetadata(output),
|
|
1422
|
-
};
|
|
1423
|
-
break;
|
|
1047
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1424
1048
|
case "InvalidRequestException":
|
|
1425
1049
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1426
|
-
|
|
1427
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1428
|
-
name: errorCode,
|
|
1429
|
-
$metadata: deserializeMetadata(output),
|
|
1430
|
-
};
|
|
1431
|
-
break;
|
|
1050
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1432
1051
|
case "InvalidStateException":
|
|
1433
1052
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1434
|
-
|
|
1435
|
-
...(await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context)),
|
|
1436
|
-
name: errorCode,
|
|
1437
|
-
$metadata: deserializeMetadata(output),
|
|
1438
|
-
};
|
|
1439
|
-
break;
|
|
1053
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
1440
1054
|
case "ResourceNotFoundException":
|
|
1441
1055
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1442
|
-
|
|
1443
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1444
|
-
name: errorCode,
|
|
1445
|
-
$metadata: deserializeMetadata(output),
|
|
1446
|
-
};
|
|
1447
|
-
break;
|
|
1056
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1448
1057
|
default:
|
|
1449
1058
|
const parsedBody = parsedOutput.body;
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
...parsedBody,
|
|
1453
|
-
name: `${errorCode}`,
|
|
1454
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1059
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
1060
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1455
1061
|
$fault: "client",
|
|
1456
1062
|
$metadata: deserializeMetadata(output),
|
|
1457
|
-
};
|
|
1063
|
+
});
|
|
1064
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1458
1065
|
}
|
|
1459
|
-
const message = response.message || response.Message || errorCode;
|
|
1460
|
-
response.message = message;
|
|
1461
|
-
delete response.Message;
|
|
1462
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1463
1066
|
};
|
|
1464
1067
|
const deserializeAws_json1_0ListVpcConnectorsCommand = async (output, context) => {
|
|
1465
1068
|
if (output.statusCode >= 300) {
|
|
@@ -1486,35 +1089,19 @@ const deserializeAws_json1_0ListVpcConnectorsCommandError = async (output, conte
|
|
|
1486
1089
|
switch (errorCode) {
|
|
1487
1090
|
case "InternalServiceErrorException":
|
|
1488
1091
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1489
|
-
|
|
1490
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1491
|
-
name: errorCode,
|
|
1492
|
-
$metadata: deserializeMetadata(output),
|
|
1493
|
-
};
|
|
1494
|
-
break;
|
|
1092
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1495
1093
|
case "InvalidRequestException":
|
|
1496
1094
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1497
|
-
|
|
1498
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1499
|
-
name: errorCode,
|
|
1500
|
-
$metadata: deserializeMetadata(output),
|
|
1501
|
-
};
|
|
1502
|
-
break;
|
|
1095
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1503
1096
|
default:
|
|
1504
1097
|
const parsedBody = parsedOutput.body;
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
...parsedBody,
|
|
1508
|
-
name: `${errorCode}`,
|
|
1509
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1098
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
1099
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1510
1100
|
$fault: "client",
|
|
1511
1101
|
$metadata: deserializeMetadata(output),
|
|
1512
|
-
};
|
|
1102
|
+
});
|
|
1103
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1513
1104
|
}
|
|
1514
|
-
const message = response.message || response.Message || errorCode;
|
|
1515
|
-
response.message = message;
|
|
1516
|
-
delete response.Message;
|
|
1517
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1518
1105
|
};
|
|
1519
1106
|
const deserializeAws_json1_0PauseServiceCommand = async (output, context) => {
|
|
1520
1107
|
if (output.statusCode >= 300) {
|
|
@@ -1541,51 +1128,25 @@ const deserializeAws_json1_0PauseServiceCommandError = async (output, context) =
|
|
|
1541
1128
|
switch (errorCode) {
|
|
1542
1129
|
case "InternalServiceErrorException":
|
|
1543
1130
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1544
|
-
|
|
1545
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1546
|
-
name: errorCode,
|
|
1547
|
-
$metadata: deserializeMetadata(output),
|
|
1548
|
-
};
|
|
1549
|
-
break;
|
|
1131
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1550
1132
|
case "InvalidRequestException":
|
|
1551
1133
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1552
|
-
|
|
1553
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1554
|
-
name: errorCode,
|
|
1555
|
-
$metadata: deserializeMetadata(output),
|
|
1556
|
-
};
|
|
1557
|
-
break;
|
|
1134
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1558
1135
|
case "InvalidStateException":
|
|
1559
1136
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1560
|
-
|
|
1561
|
-
...(await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context)),
|
|
1562
|
-
name: errorCode,
|
|
1563
|
-
$metadata: deserializeMetadata(output),
|
|
1564
|
-
};
|
|
1565
|
-
break;
|
|
1137
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
1566
1138
|
case "ResourceNotFoundException":
|
|
1567
1139
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1568
|
-
|
|
1569
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1570
|
-
name: errorCode,
|
|
1571
|
-
$metadata: deserializeMetadata(output),
|
|
1572
|
-
};
|
|
1573
|
-
break;
|
|
1140
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1574
1141
|
default:
|
|
1575
1142
|
const parsedBody = parsedOutput.body;
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
...parsedBody,
|
|
1579
|
-
name: `${errorCode}`,
|
|
1580
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1143
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
1144
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1581
1145
|
$fault: "client",
|
|
1582
1146
|
$metadata: deserializeMetadata(output),
|
|
1583
|
-
};
|
|
1147
|
+
});
|
|
1148
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1584
1149
|
}
|
|
1585
|
-
const message = response.message || response.Message || errorCode;
|
|
1586
|
-
response.message = message;
|
|
1587
|
-
delete response.Message;
|
|
1588
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1589
1150
|
};
|
|
1590
1151
|
const deserializeAws_json1_0ResumeServiceCommand = async (output, context) => {
|
|
1591
1152
|
if (output.statusCode >= 300) {
|
|
@@ -1612,51 +1173,25 @@ const deserializeAws_json1_0ResumeServiceCommandError = async (output, context)
|
|
|
1612
1173
|
switch (errorCode) {
|
|
1613
1174
|
case "InternalServiceErrorException":
|
|
1614
1175
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1615
|
-
|
|
1616
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1617
|
-
name: errorCode,
|
|
1618
|
-
$metadata: deserializeMetadata(output),
|
|
1619
|
-
};
|
|
1620
|
-
break;
|
|
1176
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1621
1177
|
case "InvalidRequestException":
|
|
1622
1178
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1623
|
-
|
|
1624
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1625
|
-
name: errorCode,
|
|
1626
|
-
$metadata: deserializeMetadata(output),
|
|
1627
|
-
};
|
|
1628
|
-
break;
|
|
1179
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1629
1180
|
case "InvalidStateException":
|
|
1630
1181
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1631
|
-
|
|
1632
|
-
...(await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context)),
|
|
1633
|
-
name: errorCode,
|
|
1634
|
-
$metadata: deserializeMetadata(output),
|
|
1635
|
-
};
|
|
1636
|
-
break;
|
|
1182
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
1637
1183
|
case "ResourceNotFoundException":
|
|
1638
1184
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1639
|
-
|
|
1640
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1641
|
-
name: errorCode,
|
|
1642
|
-
$metadata: deserializeMetadata(output),
|
|
1643
|
-
};
|
|
1644
|
-
break;
|
|
1185
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1645
1186
|
default:
|
|
1646
1187
|
const parsedBody = parsedOutput.body;
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
...parsedBody,
|
|
1650
|
-
name: `${errorCode}`,
|
|
1651
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1188
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
1189
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1652
1190
|
$fault: "client",
|
|
1653
1191
|
$metadata: deserializeMetadata(output),
|
|
1654
|
-
};
|
|
1192
|
+
});
|
|
1193
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1655
1194
|
}
|
|
1656
|
-
const message = response.message || response.Message || errorCode;
|
|
1657
|
-
response.message = message;
|
|
1658
|
-
delete response.Message;
|
|
1659
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1660
1195
|
};
|
|
1661
1196
|
const deserializeAws_json1_0StartDeploymentCommand = async (output, context) => {
|
|
1662
1197
|
if (output.statusCode >= 300) {
|
|
@@ -1683,43 +1218,22 @@ const deserializeAws_json1_0StartDeploymentCommandError = async (output, context
|
|
|
1683
1218
|
switch (errorCode) {
|
|
1684
1219
|
case "InternalServiceErrorException":
|
|
1685
1220
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1686
|
-
|
|
1687
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1688
|
-
name: errorCode,
|
|
1689
|
-
$metadata: deserializeMetadata(output),
|
|
1690
|
-
};
|
|
1691
|
-
break;
|
|
1221
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1692
1222
|
case "InvalidRequestException":
|
|
1693
1223
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1694
|
-
|
|
1695
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1696
|
-
name: errorCode,
|
|
1697
|
-
$metadata: deserializeMetadata(output),
|
|
1698
|
-
};
|
|
1699
|
-
break;
|
|
1224
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1700
1225
|
case "ResourceNotFoundException":
|
|
1701
1226
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1702
|
-
|
|
1703
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1704
|
-
name: errorCode,
|
|
1705
|
-
$metadata: deserializeMetadata(output),
|
|
1706
|
-
};
|
|
1707
|
-
break;
|
|
1227
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1708
1228
|
default:
|
|
1709
1229
|
const parsedBody = parsedOutput.body;
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
...parsedBody,
|
|
1713
|
-
name: `${errorCode}`,
|
|
1714
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1230
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
1231
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1715
1232
|
$fault: "client",
|
|
1716
1233
|
$metadata: deserializeMetadata(output),
|
|
1717
|
-
};
|
|
1234
|
+
});
|
|
1235
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1718
1236
|
}
|
|
1719
|
-
const message = response.message || response.Message || errorCode;
|
|
1720
|
-
response.message = message;
|
|
1721
|
-
delete response.Message;
|
|
1722
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1723
1237
|
};
|
|
1724
1238
|
const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
|
|
1725
1239
|
if (output.statusCode >= 300) {
|
|
@@ -1746,51 +1260,25 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1746
1260
|
switch (errorCode) {
|
|
1747
1261
|
case "InternalServiceErrorException":
|
|
1748
1262
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1749
|
-
|
|
1750
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1751
|
-
name: errorCode,
|
|
1752
|
-
$metadata: deserializeMetadata(output),
|
|
1753
|
-
};
|
|
1754
|
-
break;
|
|
1263
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1755
1264
|
case "InvalidRequestException":
|
|
1756
1265
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1757
|
-
|
|
1758
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1759
|
-
name: errorCode,
|
|
1760
|
-
$metadata: deserializeMetadata(output),
|
|
1761
|
-
};
|
|
1762
|
-
break;
|
|
1266
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1763
1267
|
case "InvalidStateException":
|
|
1764
1268
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1765
|
-
|
|
1766
|
-
...(await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context)),
|
|
1767
|
-
name: errorCode,
|
|
1768
|
-
$metadata: deserializeMetadata(output),
|
|
1769
|
-
};
|
|
1770
|
-
break;
|
|
1269
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
1771
1270
|
case "ResourceNotFoundException":
|
|
1772
1271
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1773
|
-
|
|
1774
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1775
|
-
name: errorCode,
|
|
1776
|
-
$metadata: deserializeMetadata(output),
|
|
1777
|
-
};
|
|
1778
|
-
break;
|
|
1272
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1779
1273
|
default:
|
|
1780
1274
|
const parsedBody = parsedOutput.body;
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
...parsedBody,
|
|
1784
|
-
name: `${errorCode}`,
|
|
1785
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1275
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
1276
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1786
1277
|
$fault: "client",
|
|
1787
1278
|
$metadata: deserializeMetadata(output),
|
|
1788
|
-
};
|
|
1279
|
+
});
|
|
1280
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1789
1281
|
}
|
|
1790
|
-
const message = response.message || response.Message || errorCode;
|
|
1791
|
-
response.message = message;
|
|
1792
|
-
delete response.Message;
|
|
1793
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1794
1282
|
};
|
|
1795
1283
|
const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
|
|
1796
1284
|
if (output.statusCode >= 300) {
|
|
@@ -1817,51 +1305,25 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1817
1305
|
switch (errorCode) {
|
|
1818
1306
|
case "InternalServiceErrorException":
|
|
1819
1307
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1820
|
-
|
|
1821
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1822
|
-
name: errorCode,
|
|
1823
|
-
$metadata: deserializeMetadata(output),
|
|
1824
|
-
};
|
|
1825
|
-
break;
|
|
1308
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1826
1309
|
case "InvalidRequestException":
|
|
1827
1310
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1828
|
-
|
|
1829
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1830
|
-
name: errorCode,
|
|
1831
|
-
$metadata: deserializeMetadata(output),
|
|
1832
|
-
};
|
|
1833
|
-
break;
|
|
1311
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1834
1312
|
case "InvalidStateException":
|
|
1835
1313
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1836
|
-
|
|
1837
|
-
...(await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context)),
|
|
1838
|
-
name: errorCode,
|
|
1839
|
-
$metadata: deserializeMetadata(output),
|
|
1840
|
-
};
|
|
1841
|
-
break;
|
|
1314
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
1842
1315
|
case "ResourceNotFoundException":
|
|
1843
1316
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1844
|
-
|
|
1845
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1846
|
-
name: errorCode,
|
|
1847
|
-
$metadata: deserializeMetadata(output),
|
|
1848
|
-
};
|
|
1849
|
-
break;
|
|
1317
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1850
1318
|
default:
|
|
1851
1319
|
const parsedBody = parsedOutput.body;
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
...parsedBody,
|
|
1855
|
-
name: `${errorCode}`,
|
|
1856
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1320
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
1321
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1857
1322
|
$fault: "client",
|
|
1858
1323
|
$metadata: deserializeMetadata(output),
|
|
1859
|
-
};
|
|
1324
|
+
});
|
|
1325
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1860
1326
|
}
|
|
1861
|
-
const message = response.message || response.Message || errorCode;
|
|
1862
|
-
response.message = message;
|
|
1863
|
-
delete response.Message;
|
|
1864
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1865
1327
|
};
|
|
1866
1328
|
const deserializeAws_json1_0UpdateServiceCommand = async (output, context) => {
|
|
1867
1329
|
if (output.statusCode >= 300) {
|
|
@@ -1888,106 +1350,70 @@ const deserializeAws_json1_0UpdateServiceCommandError = async (output, context)
|
|
|
1888
1350
|
switch (errorCode) {
|
|
1889
1351
|
case "InternalServiceErrorException":
|
|
1890
1352
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1891
|
-
|
|
1892
|
-
...(await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context)),
|
|
1893
|
-
name: errorCode,
|
|
1894
|
-
$metadata: deserializeMetadata(output),
|
|
1895
|
-
};
|
|
1896
|
-
break;
|
|
1353
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1897
1354
|
case "InvalidRequestException":
|
|
1898
1355
|
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1899
|
-
|
|
1900
|
-
...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1901
|
-
name: errorCode,
|
|
1902
|
-
$metadata: deserializeMetadata(output),
|
|
1903
|
-
};
|
|
1904
|
-
break;
|
|
1356
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1905
1357
|
case "InvalidStateException":
|
|
1906
1358
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1907
|
-
|
|
1908
|
-
...(await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context)),
|
|
1909
|
-
name: errorCode,
|
|
1910
|
-
$metadata: deserializeMetadata(output),
|
|
1911
|
-
};
|
|
1912
|
-
break;
|
|
1359
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
1913
1360
|
case "ResourceNotFoundException":
|
|
1914
1361
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1915
|
-
|
|
1916
|
-
...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1917
|
-
name: errorCode,
|
|
1918
|
-
$metadata: deserializeMetadata(output),
|
|
1919
|
-
};
|
|
1920
|
-
break;
|
|
1362
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1921
1363
|
default:
|
|
1922
1364
|
const parsedBody = parsedOutput.body;
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
...parsedBody,
|
|
1926
|
-
name: `${errorCode}`,
|
|
1927
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1365
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
1366
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1928
1367
|
$fault: "client",
|
|
1929
1368
|
$metadata: deserializeMetadata(output),
|
|
1930
|
-
};
|
|
1369
|
+
});
|
|
1370
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1931
1371
|
}
|
|
1932
|
-
const message = response.message || response.Message || errorCode;
|
|
1933
|
-
response.message = message;
|
|
1934
|
-
delete response.Message;
|
|
1935
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1936
1372
|
};
|
|
1937
1373
|
const deserializeAws_json1_0InternalServiceErrorExceptionResponse = async (parsedOutput, context) => {
|
|
1938
1374
|
const body = parsedOutput.body;
|
|
1939
1375
|
const deserialized = deserializeAws_json1_0InternalServiceErrorException(body, context);
|
|
1940
|
-
const
|
|
1941
|
-
name: "InternalServiceErrorException",
|
|
1942
|
-
$fault: "server",
|
|
1376
|
+
const exception = new models_0_1.InternalServiceErrorException({
|
|
1943
1377
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1944
1378
|
...deserialized,
|
|
1945
|
-
};
|
|
1946
|
-
return
|
|
1379
|
+
});
|
|
1380
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
1947
1381
|
};
|
|
1948
1382
|
const deserializeAws_json1_0InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
1949
1383
|
const body = parsedOutput.body;
|
|
1950
1384
|
const deserialized = deserializeAws_json1_0InvalidRequestException(body, context);
|
|
1951
|
-
const
|
|
1952
|
-
name: "InvalidRequestException",
|
|
1953
|
-
$fault: "client",
|
|
1385
|
+
const exception = new models_0_1.InvalidRequestException({
|
|
1954
1386
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1955
1387
|
...deserialized,
|
|
1956
|
-
};
|
|
1957
|
-
return
|
|
1388
|
+
});
|
|
1389
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
1958
1390
|
};
|
|
1959
1391
|
const deserializeAws_json1_0InvalidStateExceptionResponse = async (parsedOutput, context) => {
|
|
1960
1392
|
const body = parsedOutput.body;
|
|
1961
1393
|
const deserialized = deserializeAws_json1_0InvalidStateException(body, context);
|
|
1962
|
-
const
|
|
1963
|
-
name: "InvalidStateException",
|
|
1964
|
-
$fault: "client",
|
|
1394
|
+
const exception = new models_0_1.InvalidStateException({
|
|
1965
1395
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1966
1396
|
...deserialized,
|
|
1967
|
-
};
|
|
1968
|
-
return
|
|
1397
|
+
});
|
|
1398
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
1969
1399
|
};
|
|
1970
1400
|
const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1971
1401
|
const body = parsedOutput.body;
|
|
1972
1402
|
const deserialized = deserializeAws_json1_0ResourceNotFoundException(body, context);
|
|
1973
|
-
const
|
|
1974
|
-
name: "ResourceNotFoundException",
|
|
1975
|
-
$fault: "client",
|
|
1403
|
+
const exception = new models_0_1.ResourceNotFoundException({
|
|
1976
1404
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1977
1405
|
...deserialized,
|
|
1978
|
-
};
|
|
1979
|
-
return
|
|
1406
|
+
});
|
|
1407
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
1980
1408
|
};
|
|
1981
1409
|
const deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1982
1410
|
const body = parsedOutput.body;
|
|
1983
1411
|
const deserialized = deserializeAws_json1_0ServiceQuotaExceededException(body, context);
|
|
1984
|
-
const
|
|
1985
|
-
name: "ServiceQuotaExceededException",
|
|
1986
|
-
$fault: "client",
|
|
1412
|
+
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1987
1413
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1988
1414
|
...deserialized,
|
|
1989
|
-
};
|
|
1990
|
-
return
|
|
1415
|
+
});
|
|
1416
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
1991
1417
|
};
|
|
1992
1418
|
const serializeAws_json1_0AssociateCustomDomainRequest = (input, context) => {
|
|
1993
1419
|
return {
|
|
@@ -2420,7 +1846,7 @@ const deserializeAws_json1_0AutoScalingConfigurationSummary = (output, context)
|
|
|
2420
1846
|
};
|
|
2421
1847
|
};
|
|
2422
1848
|
const deserializeAws_json1_0AutoScalingConfigurationSummaryList = (output, context) => {
|
|
2423
|
-
|
|
1849
|
+
const retVal = (output || [])
|
|
2424
1850
|
.filter((e) => e != null)
|
|
2425
1851
|
.map((entry) => {
|
|
2426
1852
|
if (entry === null) {
|
|
@@ -2428,6 +1854,7 @@ const deserializeAws_json1_0AutoScalingConfigurationSummaryList = (output, conte
|
|
|
2428
1854
|
}
|
|
2429
1855
|
return deserializeAws_json1_0AutoScalingConfigurationSummary(entry, context);
|
|
2430
1856
|
});
|
|
1857
|
+
return retVal;
|
|
2431
1858
|
};
|
|
2432
1859
|
const deserializeAws_json1_0CertificateValidationRecord = (output, context) => {
|
|
2433
1860
|
return {
|
|
@@ -2438,7 +1865,7 @@ const deserializeAws_json1_0CertificateValidationRecord = (output, context) => {
|
|
|
2438
1865
|
};
|
|
2439
1866
|
};
|
|
2440
1867
|
const deserializeAws_json1_0CertificateValidationRecordList = (output, context) => {
|
|
2441
|
-
|
|
1868
|
+
const retVal = (output || [])
|
|
2442
1869
|
.filter((e) => e != null)
|
|
2443
1870
|
.map((entry) => {
|
|
2444
1871
|
if (entry === null) {
|
|
@@ -2446,6 +1873,7 @@ const deserializeAws_json1_0CertificateValidationRecordList = (output, context)
|
|
|
2446
1873
|
}
|
|
2447
1874
|
return deserializeAws_json1_0CertificateValidationRecord(entry, context);
|
|
2448
1875
|
});
|
|
1876
|
+
return retVal;
|
|
2449
1877
|
};
|
|
2450
1878
|
const deserializeAws_json1_0CodeConfiguration = (output, context) => {
|
|
2451
1879
|
return {
|
|
@@ -2500,7 +1928,7 @@ const deserializeAws_json1_0ConnectionSummary = (output, context) => {
|
|
|
2500
1928
|
};
|
|
2501
1929
|
};
|
|
2502
1930
|
const deserializeAws_json1_0ConnectionSummaryList = (output, context) => {
|
|
2503
|
-
|
|
1931
|
+
const retVal = (output || [])
|
|
2504
1932
|
.filter((e) => e != null)
|
|
2505
1933
|
.map((entry) => {
|
|
2506
1934
|
if (entry === null) {
|
|
@@ -2508,6 +1936,7 @@ const deserializeAws_json1_0ConnectionSummaryList = (output, context) => {
|
|
|
2508
1936
|
}
|
|
2509
1937
|
return deserializeAws_json1_0ConnectionSummary(entry, context);
|
|
2510
1938
|
});
|
|
1939
|
+
return retVal;
|
|
2511
1940
|
};
|
|
2512
1941
|
const deserializeAws_json1_0CreateAutoScalingConfigurationResponse = (output, context) => {
|
|
2513
1942
|
return {
|
|
@@ -2549,7 +1978,7 @@ const deserializeAws_json1_0CustomDomain = (output, context) => {
|
|
|
2549
1978
|
};
|
|
2550
1979
|
};
|
|
2551
1980
|
const deserializeAws_json1_0CustomDomainList = (output, context) => {
|
|
2552
|
-
|
|
1981
|
+
const retVal = (output || [])
|
|
2553
1982
|
.filter((e) => e != null)
|
|
2554
1983
|
.map((entry) => {
|
|
2555
1984
|
if (entry === null) {
|
|
@@ -2557,6 +1986,7 @@ const deserializeAws_json1_0CustomDomainList = (output, context) => {
|
|
|
2557
1986
|
}
|
|
2558
1987
|
return deserializeAws_json1_0CustomDomain(entry, context);
|
|
2559
1988
|
});
|
|
1989
|
+
return retVal;
|
|
2560
1990
|
};
|
|
2561
1991
|
const deserializeAws_json1_0DeleteAutoScalingConfigurationResponse = (output, context) => {
|
|
2562
1992
|
return {
|
|
@@ -2760,7 +2190,7 @@ const deserializeAws_json1_0OperationSummary = (output, context) => {
|
|
|
2760
2190
|
};
|
|
2761
2191
|
};
|
|
2762
2192
|
const deserializeAws_json1_0OperationSummaryList = (output, context) => {
|
|
2763
|
-
|
|
2193
|
+
const retVal = (output || [])
|
|
2764
2194
|
.filter((e) => e != null)
|
|
2765
2195
|
.map((entry) => {
|
|
2766
2196
|
if (entry === null) {
|
|
@@ -2768,6 +2198,7 @@ const deserializeAws_json1_0OperationSummaryList = (output, context) => {
|
|
|
2768
2198
|
}
|
|
2769
2199
|
return deserializeAws_json1_0OperationSummary(entry, context);
|
|
2770
2200
|
});
|
|
2201
|
+
return retVal;
|
|
2771
2202
|
};
|
|
2772
2203
|
const deserializeAws_json1_0PauseServiceResponse = (output, context) => {
|
|
2773
2204
|
return {
|
|
@@ -2858,7 +2289,7 @@ const deserializeAws_json1_0ServiceSummary = (output, context) => {
|
|
|
2858
2289
|
};
|
|
2859
2290
|
};
|
|
2860
2291
|
const deserializeAws_json1_0ServiceSummaryList = (output, context) => {
|
|
2861
|
-
|
|
2292
|
+
const retVal = (output || [])
|
|
2862
2293
|
.filter((e) => e != null)
|
|
2863
2294
|
.map((entry) => {
|
|
2864
2295
|
if (entry === null) {
|
|
@@ -2866,6 +2297,7 @@ const deserializeAws_json1_0ServiceSummaryList = (output, context) => {
|
|
|
2866
2297
|
}
|
|
2867
2298
|
return deserializeAws_json1_0ServiceSummary(entry, context);
|
|
2868
2299
|
});
|
|
2300
|
+
return retVal;
|
|
2869
2301
|
};
|
|
2870
2302
|
const deserializeAws_json1_0SourceCodeVersion = (output, context) => {
|
|
2871
2303
|
return {
|
|
@@ -2893,7 +2325,7 @@ const deserializeAws_json1_0StartDeploymentResponse = (output, context) => {
|
|
|
2893
2325
|
};
|
|
2894
2326
|
};
|
|
2895
2327
|
const deserializeAws_json1_0StringList = (output, context) => {
|
|
2896
|
-
|
|
2328
|
+
const retVal = (output || [])
|
|
2897
2329
|
.filter((e) => e != null)
|
|
2898
2330
|
.map((entry) => {
|
|
2899
2331
|
if (entry === null) {
|
|
@@ -2901,6 +2333,7 @@ const deserializeAws_json1_0StringList = (output, context) => {
|
|
|
2901
2333
|
}
|
|
2902
2334
|
return smithy_client_1.expectString(entry);
|
|
2903
2335
|
});
|
|
2336
|
+
return retVal;
|
|
2904
2337
|
};
|
|
2905
2338
|
const deserializeAws_json1_0Tag = (output, context) => {
|
|
2906
2339
|
return {
|
|
@@ -2909,7 +2342,7 @@ const deserializeAws_json1_0Tag = (output, context) => {
|
|
|
2909
2342
|
};
|
|
2910
2343
|
};
|
|
2911
2344
|
const deserializeAws_json1_0TagList = (output, context) => {
|
|
2912
|
-
|
|
2345
|
+
const retVal = (output || [])
|
|
2913
2346
|
.filter((e) => e != null)
|
|
2914
2347
|
.map((entry) => {
|
|
2915
2348
|
if (entry === null) {
|
|
@@ -2917,6 +2350,7 @@ const deserializeAws_json1_0TagList = (output, context) => {
|
|
|
2917
2350
|
}
|
|
2918
2351
|
return deserializeAws_json1_0Tag(entry, context);
|
|
2919
2352
|
});
|
|
2353
|
+
return retVal;
|
|
2920
2354
|
};
|
|
2921
2355
|
const deserializeAws_json1_0TagResourceResponse = (output, context) => {
|
|
2922
2356
|
return {};
|
|
@@ -2953,7 +2387,7 @@ const deserializeAws_json1_0VpcConnector = (output, context) => {
|
|
|
2953
2387
|
};
|
|
2954
2388
|
};
|
|
2955
2389
|
const deserializeAws_json1_0VpcConnectors = (output, context) => {
|
|
2956
|
-
|
|
2390
|
+
const retVal = (output || [])
|
|
2957
2391
|
.filter((e) => e != null)
|
|
2958
2392
|
.map((entry) => {
|
|
2959
2393
|
if (entry === null) {
|
|
@@ -2961,6 +2395,7 @@ const deserializeAws_json1_0VpcConnectors = (output, context) => {
|
|
|
2961
2395
|
}
|
|
2962
2396
|
return deserializeAws_json1_0VpcConnector(entry, context);
|
|
2963
2397
|
});
|
|
2398
|
+
return retVal;
|
|
2964
2399
|
};
|
|
2965
2400
|
const deserializeMetadata = (output) => {
|
|
2966
2401
|
var _a;
|