@aws-sdk/client-apprunner 3.118.1 → 3.128.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_0.js +338 -424
- package/dist-es/protocols/Aws_json1_0.js +290 -376
- package/package.json +26 -26
|
@@ -352,7 +352,7 @@ export var deserializeAws_json1_0AssociateCustomDomainCommand = function (output
|
|
|
352
352
|
});
|
|
353
353
|
}); };
|
|
354
354
|
var deserializeAws_json1_0AssociateCustomDomainCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
355
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
355
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
356
356
|
var _c;
|
|
357
357
|
return __generator(this, function (_d) {
|
|
358
358
|
switch (_d.label) {
|
|
@@ -362,7 +362,6 @@ var deserializeAws_json1_0AssociateCustomDomainCommandError = function (output,
|
|
|
362
362
|
return [4, parseBody(output.body, context)];
|
|
363
363
|
case 1:
|
|
364
364
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
365
|
-
errorCode = "UnknownError";
|
|
366
365
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
367
366
|
_b = errorCode;
|
|
368
367
|
switch (_b) {
|
|
@@ -382,10 +381,12 @@ var deserializeAws_json1_0AssociateCustomDomainCommandError = function (output,
|
|
|
382
381
|
case 7: throw _d.sent();
|
|
383
382
|
case 8:
|
|
384
383
|
parsedBody = parsedOutput.body;
|
|
384
|
+
$metadata = deserializeMetadata(output);
|
|
385
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
385
386
|
response = new __BaseException({
|
|
386
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
387
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
387
388
|
$fault: "client",
|
|
388
|
-
$metadata:
|
|
389
|
+
$metadata: $metadata,
|
|
389
390
|
});
|
|
390
391
|
throw __decorateServiceException(response, parsedBody);
|
|
391
392
|
}
|
|
@@ -410,7 +411,7 @@ export var deserializeAws_json1_0CreateAutoScalingConfigurationCommand = functio
|
|
|
410
411
|
});
|
|
411
412
|
}); };
|
|
412
413
|
var deserializeAws_json1_0CreateAutoScalingConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
413
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
414
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
414
415
|
var _c;
|
|
415
416
|
return __generator(this, function (_d) {
|
|
416
417
|
switch (_d.label) {
|
|
@@ -420,7 +421,6 @@ var deserializeAws_json1_0CreateAutoScalingConfigurationCommandError = function
|
|
|
420
421
|
return [4, parseBody(output.body, context)];
|
|
421
422
|
case 1:
|
|
422
423
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
423
|
-
errorCode = "UnknownError";
|
|
424
424
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
425
425
|
_b = errorCode;
|
|
426
426
|
switch (_b) {
|
|
@@ -440,10 +440,12 @@ var deserializeAws_json1_0CreateAutoScalingConfigurationCommandError = function
|
|
|
440
440
|
case 7: throw _d.sent();
|
|
441
441
|
case 8:
|
|
442
442
|
parsedBody = parsedOutput.body;
|
|
443
|
+
$metadata = deserializeMetadata(output);
|
|
444
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
443
445
|
response = new __BaseException({
|
|
444
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
446
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
445
447
|
$fault: "client",
|
|
446
|
-
$metadata:
|
|
448
|
+
$metadata: $metadata,
|
|
447
449
|
});
|
|
448
450
|
throw __decorateServiceException(response, parsedBody);
|
|
449
451
|
}
|
|
@@ -468,7 +470,7 @@ export var deserializeAws_json1_0CreateConnectionCommand = function (output, con
|
|
|
468
470
|
});
|
|
469
471
|
}); };
|
|
470
472
|
var deserializeAws_json1_0CreateConnectionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
471
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
473
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
472
474
|
var _c;
|
|
473
475
|
return __generator(this, function (_d) {
|
|
474
476
|
switch (_d.label) {
|
|
@@ -478,7 +480,6 @@ var deserializeAws_json1_0CreateConnectionCommandError = function (output, conte
|
|
|
478
480
|
return [4, parseBody(output.body, context)];
|
|
479
481
|
case 1:
|
|
480
482
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
481
|
-
errorCode = "UnknownError";
|
|
482
483
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
483
484
|
_b = errorCode;
|
|
484
485
|
switch (_b) {
|
|
@@ -498,10 +499,12 @@ var deserializeAws_json1_0CreateConnectionCommandError = function (output, conte
|
|
|
498
499
|
case 7: throw _d.sent();
|
|
499
500
|
case 8:
|
|
500
501
|
parsedBody = parsedOutput.body;
|
|
502
|
+
$metadata = deserializeMetadata(output);
|
|
503
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
501
504
|
response = new __BaseException({
|
|
502
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
505
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
503
506
|
$fault: "client",
|
|
504
|
-
$metadata:
|
|
507
|
+
$metadata: $metadata,
|
|
505
508
|
});
|
|
506
509
|
throw __decorateServiceException(response, parsedBody);
|
|
507
510
|
}
|
|
@@ -526,7 +529,7 @@ export var deserializeAws_json1_0CreateObservabilityConfigurationCommand = funct
|
|
|
526
529
|
});
|
|
527
530
|
}); };
|
|
528
531
|
var deserializeAws_json1_0CreateObservabilityConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
529
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
532
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
530
533
|
var _c;
|
|
531
534
|
return __generator(this, function (_d) {
|
|
532
535
|
switch (_d.label) {
|
|
@@ -536,7 +539,6 @@ var deserializeAws_json1_0CreateObservabilityConfigurationCommandError = functio
|
|
|
536
539
|
return [4, parseBody(output.body, context)];
|
|
537
540
|
case 1:
|
|
538
541
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
539
|
-
errorCode = "UnknownError";
|
|
540
542
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
541
543
|
_b = errorCode;
|
|
542
544
|
switch (_b) {
|
|
@@ -556,10 +558,12 @@ var deserializeAws_json1_0CreateObservabilityConfigurationCommandError = functio
|
|
|
556
558
|
case 7: throw _d.sent();
|
|
557
559
|
case 8:
|
|
558
560
|
parsedBody = parsedOutput.body;
|
|
561
|
+
$metadata = deserializeMetadata(output);
|
|
562
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
559
563
|
response = new __BaseException({
|
|
560
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
564
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
561
565
|
$fault: "client",
|
|
562
|
-
$metadata:
|
|
566
|
+
$metadata: $metadata,
|
|
563
567
|
});
|
|
564
568
|
throw __decorateServiceException(response, parsedBody);
|
|
565
569
|
}
|
|
@@ -584,7 +588,7 @@ export var deserializeAws_json1_0CreateServiceCommand = function (output, contex
|
|
|
584
588
|
});
|
|
585
589
|
}); };
|
|
586
590
|
var deserializeAws_json1_0CreateServiceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
587
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
591
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
588
592
|
var _c;
|
|
589
593
|
return __generator(this, function (_d) {
|
|
590
594
|
switch (_d.label) {
|
|
@@ -594,7 +598,6 @@ var deserializeAws_json1_0CreateServiceCommandError = function (output, context)
|
|
|
594
598
|
return [4, parseBody(output.body, context)];
|
|
595
599
|
case 1:
|
|
596
600
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
597
|
-
errorCode = "UnknownError";
|
|
598
601
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
599
602
|
_b = errorCode;
|
|
600
603
|
switch (_b) {
|
|
@@ -614,10 +617,12 @@ var deserializeAws_json1_0CreateServiceCommandError = function (output, context)
|
|
|
614
617
|
case 7: throw _d.sent();
|
|
615
618
|
case 8:
|
|
616
619
|
parsedBody = parsedOutput.body;
|
|
620
|
+
$metadata = deserializeMetadata(output);
|
|
621
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
617
622
|
response = new __BaseException({
|
|
618
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
623
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
619
624
|
$fault: "client",
|
|
620
|
-
$metadata:
|
|
625
|
+
$metadata: $metadata,
|
|
621
626
|
});
|
|
622
627
|
throw __decorateServiceException(response, parsedBody);
|
|
623
628
|
}
|
|
@@ -642,7 +647,7 @@ export var deserializeAws_json1_0CreateVpcConnectorCommand = function (output, c
|
|
|
642
647
|
});
|
|
643
648
|
}); };
|
|
644
649
|
var deserializeAws_json1_0CreateVpcConnectorCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
645
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
650
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
646
651
|
var _c;
|
|
647
652
|
return __generator(this, function (_d) {
|
|
648
653
|
switch (_d.label) {
|
|
@@ -652,7 +657,6 @@ var deserializeAws_json1_0CreateVpcConnectorCommandError = function (output, con
|
|
|
652
657
|
return [4, parseBody(output.body, context)];
|
|
653
658
|
case 1:
|
|
654
659
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
655
|
-
errorCode = "UnknownError";
|
|
656
660
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
657
661
|
_b = errorCode;
|
|
658
662
|
switch (_b) {
|
|
@@ -672,10 +676,12 @@ var deserializeAws_json1_0CreateVpcConnectorCommandError = function (output, con
|
|
|
672
676
|
case 7: throw _d.sent();
|
|
673
677
|
case 8:
|
|
674
678
|
parsedBody = parsedOutput.body;
|
|
679
|
+
$metadata = deserializeMetadata(output);
|
|
680
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
675
681
|
response = new __BaseException({
|
|
676
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
682
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
677
683
|
$fault: "client",
|
|
678
|
-
$metadata:
|
|
684
|
+
$metadata: $metadata,
|
|
679
685
|
});
|
|
680
686
|
throw __decorateServiceException(response, parsedBody);
|
|
681
687
|
}
|
|
@@ -700,7 +706,7 @@ export var deserializeAws_json1_0DeleteAutoScalingConfigurationCommand = functio
|
|
|
700
706
|
});
|
|
701
707
|
}); };
|
|
702
708
|
var deserializeAws_json1_0DeleteAutoScalingConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
703
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
709
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
704
710
|
var _c;
|
|
705
711
|
return __generator(this, function (_d) {
|
|
706
712
|
switch (_d.label) {
|
|
@@ -710,7 +716,6 @@ var deserializeAws_json1_0DeleteAutoScalingConfigurationCommandError = function
|
|
|
710
716
|
return [4, parseBody(output.body, context)];
|
|
711
717
|
case 1:
|
|
712
718
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
713
|
-
errorCode = "UnknownError";
|
|
714
719
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
715
720
|
_b = errorCode;
|
|
716
721
|
switch (_b) {
|
|
@@ -730,10 +735,12 @@ var deserializeAws_json1_0DeleteAutoScalingConfigurationCommandError = function
|
|
|
730
735
|
case 7: throw _d.sent();
|
|
731
736
|
case 8:
|
|
732
737
|
parsedBody = parsedOutput.body;
|
|
738
|
+
$metadata = deserializeMetadata(output);
|
|
739
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
733
740
|
response = new __BaseException({
|
|
734
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
741
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
735
742
|
$fault: "client",
|
|
736
|
-
$metadata:
|
|
743
|
+
$metadata: $metadata,
|
|
737
744
|
});
|
|
738
745
|
throw __decorateServiceException(response, parsedBody);
|
|
739
746
|
}
|
|
@@ -758,7 +765,7 @@ export var deserializeAws_json1_0DeleteConnectionCommand = function (output, con
|
|
|
758
765
|
});
|
|
759
766
|
}); };
|
|
760
767
|
var deserializeAws_json1_0DeleteConnectionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
761
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
768
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
762
769
|
var _c;
|
|
763
770
|
return __generator(this, function (_d) {
|
|
764
771
|
switch (_d.label) {
|
|
@@ -768,7 +775,6 @@ var deserializeAws_json1_0DeleteConnectionCommandError = function (output, conte
|
|
|
768
775
|
return [4, parseBody(output.body, context)];
|
|
769
776
|
case 1:
|
|
770
777
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
771
|
-
errorCode = "UnknownError";
|
|
772
778
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
773
779
|
_b = errorCode;
|
|
774
780
|
switch (_b) {
|
|
@@ -788,10 +794,12 @@ var deserializeAws_json1_0DeleteConnectionCommandError = function (output, conte
|
|
|
788
794
|
case 7: throw _d.sent();
|
|
789
795
|
case 8:
|
|
790
796
|
parsedBody = parsedOutput.body;
|
|
797
|
+
$metadata = deserializeMetadata(output);
|
|
798
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
791
799
|
response = new __BaseException({
|
|
792
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
800
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
793
801
|
$fault: "client",
|
|
794
|
-
$metadata:
|
|
802
|
+
$metadata: $metadata,
|
|
795
803
|
});
|
|
796
804
|
throw __decorateServiceException(response, parsedBody);
|
|
797
805
|
}
|
|
@@ -816,7 +824,7 @@ export var deserializeAws_json1_0DeleteObservabilityConfigurationCommand = funct
|
|
|
816
824
|
});
|
|
817
825
|
}); };
|
|
818
826
|
var deserializeAws_json1_0DeleteObservabilityConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
819
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
827
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
820
828
|
var _c;
|
|
821
829
|
return __generator(this, function (_d) {
|
|
822
830
|
switch (_d.label) {
|
|
@@ -826,7 +834,6 @@ var deserializeAws_json1_0DeleteObservabilityConfigurationCommandError = functio
|
|
|
826
834
|
return [4, parseBody(output.body, context)];
|
|
827
835
|
case 1:
|
|
828
836
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
829
|
-
errorCode = "UnknownError";
|
|
830
837
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
831
838
|
_b = errorCode;
|
|
832
839
|
switch (_b) {
|
|
@@ -846,10 +853,12 @@ var deserializeAws_json1_0DeleteObservabilityConfigurationCommandError = functio
|
|
|
846
853
|
case 7: throw _d.sent();
|
|
847
854
|
case 8:
|
|
848
855
|
parsedBody = parsedOutput.body;
|
|
856
|
+
$metadata = deserializeMetadata(output);
|
|
857
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
849
858
|
response = new __BaseException({
|
|
850
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
859
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
851
860
|
$fault: "client",
|
|
852
|
-
$metadata:
|
|
861
|
+
$metadata: $metadata,
|
|
853
862
|
});
|
|
854
863
|
throw __decorateServiceException(response, parsedBody);
|
|
855
864
|
}
|
|
@@ -874,7 +883,7 @@ export var deserializeAws_json1_0DeleteServiceCommand = function (output, contex
|
|
|
874
883
|
});
|
|
875
884
|
}); };
|
|
876
885
|
var deserializeAws_json1_0DeleteServiceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
877
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
886
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
878
887
|
var _c;
|
|
879
888
|
return __generator(this, function (_d) {
|
|
880
889
|
switch (_d.label) {
|
|
@@ -884,7 +893,6 @@ var deserializeAws_json1_0DeleteServiceCommandError = function (output, context)
|
|
|
884
893
|
return [4, parseBody(output.body, context)];
|
|
885
894
|
case 1:
|
|
886
895
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
887
|
-
errorCode = "UnknownError";
|
|
888
896
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
889
897
|
_b = errorCode;
|
|
890
898
|
switch (_b) {
|
|
@@ -908,10 +916,12 @@ var deserializeAws_json1_0DeleteServiceCommandError = function (output, context)
|
|
|
908
916
|
case 9: throw _d.sent();
|
|
909
917
|
case 10:
|
|
910
918
|
parsedBody = parsedOutput.body;
|
|
919
|
+
$metadata = deserializeMetadata(output);
|
|
920
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
911
921
|
response = new __BaseException({
|
|
912
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
922
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
913
923
|
$fault: "client",
|
|
914
|
-
$metadata:
|
|
924
|
+
$metadata: $metadata,
|
|
915
925
|
});
|
|
916
926
|
throw __decorateServiceException(response, parsedBody);
|
|
917
927
|
}
|
|
@@ -936,7 +946,7 @@ export var deserializeAws_json1_0DeleteVpcConnectorCommand = function (output, c
|
|
|
936
946
|
});
|
|
937
947
|
}); };
|
|
938
948
|
var deserializeAws_json1_0DeleteVpcConnectorCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
939
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
949
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
940
950
|
var _c;
|
|
941
951
|
return __generator(this, function (_d) {
|
|
942
952
|
switch (_d.label) {
|
|
@@ -946,7 +956,6 @@ var deserializeAws_json1_0DeleteVpcConnectorCommandError = function (output, con
|
|
|
946
956
|
return [4, parseBody(output.body, context)];
|
|
947
957
|
case 1:
|
|
948
958
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
949
|
-
errorCode = "UnknownError";
|
|
950
959
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
951
960
|
_b = errorCode;
|
|
952
961
|
switch (_b) {
|
|
@@ -966,10 +975,12 @@ var deserializeAws_json1_0DeleteVpcConnectorCommandError = function (output, con
|
|
|
966
975
|
case 7: throw _d.sent();
|
|
967
976
|
case 8:
|
|
968
977
|
parsedBody = parsedOutput.body;
|
|
978
|
+
$metadata = deserializeMetadata(output);
|
|
979
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
969
980
|
response = new __BaseException({
|
|
970
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
981
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
971
982
|
$fault: "client",
|
|
972
|
-
$metadata:
|
|
983
|
+
$metadata: $metadata,
|
|
973
984
|
});
|
|
974
985
|
throw __decorateServiceException(response, parsedBody);
|
|
975
986
|
}
|
|
@@ -994,7 +1005,7 @@ export var deserializeAws_json1_0DescribeAutoScalingConfigurationCommand = funct
|
|
|
994
1005
|
});
|
|
995
1006
|
}); };
|
|
996
1007
|
var deserializeAws_json1_0DescribeAutoScalingConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
997
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1008
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
998
1009
|
var _c;
|
|
999
1010
|
return __generator(this, function (_d) {
|
|
1000
1011
|
switch (_d.label) {
|
|
@@ -1004,7 +1015,6 @@ var deserializeAws_json1_0DescribeAutoScalingConfigurationCommandError = functio
|
|
|
1004
1015
|
return [4, parseBody(output.body, context)];
|
|
1005
1016
|
case 1:
|
|
1006
1017
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1007
|
-
errorCode = "UnknownError";
|
|
1008
1018
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1009
1019
|
_b = errorCode;
|
|
1010
1020
|
switch (_b) {
|
|
@@ -1024,10 +1034,12 @@ var deserializeAws_json1_0DescribeAutoScalingConfigurationCommandError = functio
|
|
|
1024
1034
|
case 7: throw _d.sent();
|
|
1025
1035
|
case 8:
|
|
1026
1036
|
parsedBody = parsedOutput.body;
|
|
1037
|
+
$metadata = deserializeMetadata(output);
|
|
1038
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1027
1039
|
response = new __BaseException({
|
|
1028
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1040
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1029
1041
|
$fault: "client",
|
|
1030
|
-
$metadata:
|
|
1042
|
+
$metadata: $metadata,
|
|
1031
1043
|
});
|
|
1032
1044
|
throw __decorateServiceException(response, parsedBody);
|
|
1033
1045
|
}
|
|
@@ -1052,7 +1064,7 @@ export var deserializeAws_json1_0DescribeCustomDomainsCommand = function (output
|
|
|
1052
1064
|
});
|
|
1053
1065
|
}); };
|
|
1054
1066
|
var deserializeAws_json1_0DescribeCustomDomainsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1055
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1067
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1056
1068
|
var _c;
|
|
1057
1069
|
return __generator(this, function (_d) {
|
|
1058
1070
|
switch (_d.label) {
|
|
@@ -1062,7 +1074,6 @@ var deserializeAws_json1_0DescribeCustomDomainsCommandError = function (output,
|
|
|
1062
1074
|
return [4, parseBody(output.body, context)];
|
|
1063
1075
|
case 1:
|
|
1064
1076
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1065
|
-
errorCode = "UnknownError";
|
|
1066
1077
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1067
1078
|
_b = errorCode;
|
|
1068
1079
|
switch (_b) {
|
|
@@ -1082,10 +1093,12 @@ var deserializeAws_json1_0DescribeCustomDomainsCommandError = function (output,
|
|
|
1082
1093
|
case 7: throw _d.sent();
|
|
1083
1094
|
case 8:
|
|
1084
1095
|
parsedBody = parsedOutput.body;
|
|
1096
|
+
$metadata = deserializeMetadata(output);
|
|
1097
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1085
1098
|
response = new __BaseException({
|
|
1086
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1099
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1087
1100
|
$fault: "client",
|
|
1088
|
-
$metadata:
|
|
1101
|
+
$metadata: $metadata,
|
|
1089
1102
|
});
|
|
1090
1103
|
throw __decorateServiceException(response, parsedBody);
|
|
1091
1104
|
}
|
|
@@ -1110,7 +1123,7 @@ export var deserializeAws_json1_0DescribeObservabilityConfigurationCommand = fun
|
|
|
1110
1123
|
});
|
|
1111
1124
|
}); };
|
|
1112
1125
|
var deserializeAws_json1_0DescribeObservabilityConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1113
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1126
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1114
1127
|
var _c;
|
|
1115
1128
|
return __generator(this, function (_d) {
|
|
1116
1129
|
switch (_d.label) {
|
|
@@ -1120,7 +1133,6 @@ var deserializeAws_json1_0DescribeObservabilityConfigurationCommandError = funct
|
|
|
1120
1133
|
return [4, parseBody(output.body, context)];
|
|
1121
1134
|
case 1:
|
|
1122
1135
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1123
|
-
errorCode = "UnknownError";
|
|
1124
1136
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1125
1137
|
_b = errorCode;
|
|
1126
1138
|
switch (_b) {
|
|
@@ -1140,10 +1152,12 @@ var deserializeAws_json1_0DescribeObservabilityConfigurationCommandError = funct
|
|
|
1140
1152
|
case 7: throw _d.sent();
|
|
1141
1153
|
case 8:
|
|
1142
1154
|
parsedBody = parsedOutput.body;
|
|
1155
|
+
$metadata = deserializeMetadata(output);
|
|
1156
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1143
1157
|
response = new __BaseException({
|
|
1144
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1158
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1145
1159
|
$fault: "client",
|
|
1146
|
-
$metadata:
|
|
1160
|
+
$metadata: $metadata,
|
|
1147
1161
|
});
|
|
1148
1162
|
throw __decorateServiceException(response, parsedBody);
|
|
1149
1163
|
}
|
|
@@ -1168,7 +1182,7 @@ export var deserializeAws_json1_0DescribeServiceCommand = function (output, cont
|
|
|
1168
1182
|
});
|
|
1169
1183
|
}); };
|
|
1170
1184
|
var deserializeAws_json1_0DescribeServiceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1171
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1185
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1172
1186
|
var _c;
|
|
1173
1187
|
return __generator(this, function (_d) {
|
|
1174
1188
|
switch (_d.label) {
|
|
@@ -1178,7 +1192,6 @@ var deserializeAws_json1_0DescribeServiceCommandError = function (output, contex
|
|
|
1178
1192
|
return [4, parseBody(output.body, context)];
|
|
1179
1193
|
case 1:
|
|
1180
1194
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1181
|
-
errorCode = "UnknownError";
|
|
1182
1195
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1183
1196
|
_b = errorCode;
|
|
1184
1197
|
switch (_b) {
|
|
@@ -1198,10 +1211,12 @@ var deserializeAws_json1_0DescribeServiceCommandError = function (output, contex
|
|
|
1198
1211
|
case 7: throw _d.sent();
|
|
1199
1212
|
case 8:
|
|
1200
1213
|
parsedBody = parsedOutput.body;
|
|
1214
|
+
$metadata = deserializeMetadata(output);
|
|
1215
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1201
1216
|
response = new __BaseException({
|
|
1202
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1217
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1203
1218
|
$fault: "client",
|
|
1204
|
-
$metadata:
|
|
1219
|
+
$metadata: $metadata,
|
|
1205
1220
|
});
|
|
1206
1221
|
throw __decorateServiceException(response, parsedBody);
|
|
1207
1222
|
}
|
|
@@ -1226,7 +1241,7 @@ export var deserializeAws_json1_0DescribeVpcConnectorCommand = function (output,
|
|
|
1226
1241
|
});
|
|
1227
1242
|
}); };
|
|
1228
1243
|
var deserializeAws_json1_0DescribeVpcConnectorCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1229
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1244
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1230
1245
|
var _c;
|
|
1231
1246
|
return __generator(this, function (_d) {
|
|
1232
1247
|
switch (_d.label) {
|
|
@@ -1236,7 +1251,6 @@ var deserializeAws_json1_0DescribeVpcConnectorCommandError = function (output, c
|
|
|
1236
1251
|
return [4, parseBody(output.body, context)];
|
|
1237
1252
|
case 1:
|
|
1238
1253
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1239
|
-
errorCode = "UnknownError";
|
|
1240
1254
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1241
1255
|
_b = errorCode;
|
|
1242
1256
|
switch (_b) {
|
|
@@ -1256,10 +1270,12 @@ var deserializeAws_json1_0DescribeVpcConnectorCommandError = function (output, c
|
|
|
1256
1270
|
case 7: throw _d.sent();
|
|
1257
1271
|
case 8:
|
|
1258
1272
|
parsedBody = parsedOutput.body;
|
|
1273
|
+
$metadata = deserializeMetadata(output);
|
|
1274
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1259
1275
|
response = new __BaseException({
|
|
1260
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1276
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1261
1277
|
$fault: "client",
|
|
1262
|
-
$metadata:
|
|
1278
|
+
$metadata: $metadata,
|
|
1263
1279
|
});
|
|
1264
1280
|
throw __decorateServiceException(response, parsedBody);
|
|
1265
1281
|
}
|
|
@@ -1284,7 +1300,7 @@ export var deserializeAws_json1_0DisassociateCustomDomainCommand = function (out
|
|
|
1284
1300
|
});
|
|
1285
1301
|
}); };
|
|
1286
1302
|
var deserializeAws_json1_0DisassociateCustomDomainCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1287
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1303
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1288
1304
|
var _c;
|
|
1289
1305
|
return __generator(this, function (_d) {
|
|
1290
1306
|
switch (_d.label) {
|
|
@@ -1294,7 +1310,6 @@ var deserializeAws_json1_0DisassociateCustomDomainCommandError = function (outpu
|
|
|
1294
1310
|
return [4, parseBody(output.body, context)];
|
|
1295
1311
|
case 1:
|
|
1296
1312
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1297
|
-
errorCode = "UnknownError";
|
|
1298
1313
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1299
1314
|
_b = errorCode;
|
|
1300
1315
|
switch (_b) {
|
|
@@ -1318,10 +1333,12 @@ var deserializeAws_json1_0DisassociateCustomDomainCommandError = function (outpu
|
|
|
1318
1333
|
case 9: throw _d.sent();
|
|
1319
1334
|
case 10:
|
|
1320
1335
|
parsedBody = parsedOutput.body;
|
|
1336
|
+
$metadata = deserializeMetadata(output);
|
|
1337
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1321
1338
|
response = new __BaseException({
|
|
1322
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1339
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1323
1340
|
$fault: "client",
|
|
1324
|
-
$metadata:
|
|
1341
|
+
$metadata: $metadata,
|
|
1325
1342
|
});
|
|
1326
1343
|
throw __decorateServiceException(response, parsedBody);
|
|
1327
1344
|
}
|
|
@@ -1346,7 +1363,7 @@ export var deserializeAws_json1_0ListAutoScalingConfigurationsCommand = function
|
|
|
1346
1363
|
});
|
|
1347
1364
|
}); };
|
|
1348
1365
|
var deserializeAws_json1_0ListAutoScalingConfigurationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1349
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1366
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1350
1367
|
var _c;
|
|
1351
1368
|
return __generator(this, function (_d) {
|
|
1352
1369
|
switch (_d.label) {
|
|
@@ -1356,7 +1373,6 @@ var deserializeAws_json1_0ListAutoScalingConfigurationsCommandError = function (
|
|
|
1356
1373
|
return [4, parseBody(output.body, context)];
|
|
1357
1374
|
case 1:
|
|
1358
1375
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1359
|
-
errorCode = "UnknownError";
|
|
1360
1376
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1361
1377
|
_b = errorCode;
|
|
1362
1378
|
switch (_b) {
|
|
@@ -1372,10 +1388,12 @@ var deserializeAws_json1_0ListAutoScalingConfigurationsCommandError = function (
|
|
|
1372
1388
|
case 5: throw _d.sent();
|
|
1373
1389
|
case 6:
|
|
1374
1390
|
parsedBody = parsedOutput.body;
|
|
1391
|
+
$metadata = deserializeMetadata(output);
|
|
1392
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1375
1393
|
response = new __BaseException({
|
|
1376
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1394
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1377
1395
|
$fault: "client",
|
|
1378
|
-
$metadata:
|
|
1396
|
+
$metadata: $metadata,
|
|
1379
1397
|
});
|
|
1380
1398
|
throw __decorateServiceException(response, parsedBody);
|
|
1381
1399
|
}
|
|
@@ -1400,7 +1418,7 @@ export var deserializeAws_json1_0ListConnectionsCommand = function (output, cont
|
|
|
1400
1418
|
});
|
|
1401
1419
|
}); };
|
|
1402
1420
|
var deserializeAws_json1_0ListConnectionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1403
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1421
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1404
1422
|
var _c;
|
|
1405
1423
|
return __generator(this, function (_d) {
|
|
1406
1424
|
switch (_d.label) {
|
|
@@ -1410,7 +1428,6 @@ var deserializeAws_json1_0ListConnectionsCommandError = function (output, contex
|
|
|
1410
1428
|
return [4, parseBody(output.body, context)];
|
|
1411
1429
|
case 1:
|
|
1412
1430
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1413
|
-
errorCode = "UnknownError";
|
|
1414
1431
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1415
1432
|
_b = errorCode;
|
|
1416
1433
|
switch (_b) {
|
|
@@ -1426,10 +1443,12 @@ var deserializeAws_json1_0ListConnectionsCommandError = function (output, contex
|
|
|
1426
1443
|
case 5: throw _d.sent();
|
|
1427
1444
|
case 6:
|
|
1428
1445
|
parsedBody = parsedOutput.body;
|
|
1446
|
+
$metadata = deserializeMetadata(output);
|
|
1447
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1429
1448
|
response = new __BaseException({
|
|
1430
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1449
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1431
1450
|
$fault: "client",
|
|
1432
|
-
$metadata:
|
|
1451
|
+
$metadata: $metadata,
|
|
1433
1452
|
});
|
|
1434
1453
|
throw __decorateServiceException(response, parsedBody);
|
|
1435
1454
|
}
|
|
@@ -1454,7 +1473,7 @@ export var deserializeAws_json1_0ListObservabilityConfigurationsCommand = functi
|
|
|
1454
1473
|
});
|
|
1455
1474
|
}); };
|
|
1456
1475
|
var deserializeAws_json1_0ListObservabilityConfigurationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1457
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1476
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1458
1477
|
var _c;
|
|
1459
1478
|
return __generator(this, function (_d) {
|
|
1460
1479
|
switch (_d.label) {
|
|
@@ -1464,7 +1483,6 @@ var deserializeAws_json1_0ListObservabilityConfigurationsCommandError = function
|
|
|
1464
1483
|
return [4, parseBody(output.body, context)];
|
|
1465
1484
|
case 1:
|
|
1466
1485
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1467
|
-
errorCode = "UnknownError";
|
|
1468
1486
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1469
1487
|
_b = errorCode;
|
|
1470
1488
|
switch (_b) {
|
|
@@ -1480,10 +1498,12 @@ var deserializeAws_json1_0ListObservabilityConfigurationsCommandError = function
|
|
|
1480
1498
|
case 5: throw _d.sent();
|
|
1481
1499
|
case 6:
|
|
1482
1500
|
parsedBody = parsedOutput.body;
|
|
1501
|
+
$metadata = deserializeMetadata(output);
|
|
1502
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1483
1503
|
response = new __BaseException({
|
|
1484
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1504
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1485
1505
|
$fault: "client",
|
|
1486
|
-
$metadata:
|
|
1506
|
+
$metadata: $metadata,
|
|
1487
1507
|
});
|
|
1488
1508
|
throw __decorateServiceException(response, parsedBody);
|
|
1489
1509
|
}
|
|
@@ -1508,7 +1528,7 @@ export var deserializeAws_json1_0ListOperationsCommand = function (output, conte
|
|
|
1508
1528
|
});
|
|
1509
1529
|
}); };
|
|
1510
1530
|
var deserializeAws_json1_0ListOperationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1511
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1531
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1512
1532
|
var _c;
|
|
1513
1533
|
return __generator(this, function (_d) {
|
|
1514
1534
|
switch (_d.label) {
|
|
@@ -1518,7 +1538,6 @@ var deserializeAws_json1_0ListOperationsCommandError = function (output, context
|
|
|
1518
1538
|
return [4, parseBody(output.body, context)];
|
|
1519
1539
|
case 1:
|
|
1520
1540
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1521
|
-
errorCode = "UnknownError";
|
|
1522
1541
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1523
1542
|
_b = errorCode;
|
|
1524
1543
|
switch (_b) {
|
|
@@ -1538,10 +1557,12 @@ var deserializeAws_json1_0ListOperationsCommandError = function (output, context
|
|
|
1538
1557
|
case 7: throw _d.sent();
|
|
1539
1558
|
case 8:
|
|
1540
1559
|
parsedBody = parsedOutput.body;
|
|
1560
|
+
$metadata = deserializeMetadata(output);
|
|
1561
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1541
1562
|
response = new __BaseException({
|
|
1542
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1563
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1543
1564
|
$fault: "client",
|
|
1544
|
-
$metadata:
|
|
1565
|
+
$metadata: $metadata,
|
|
1545
1566
|
});
|
|
1546
1567
|
throw __decorateServiceException(response, parsedBody);
|
|
1547
1568
|
}
|
|
@@ -1566,7 +1587,7 @@ export var deserializeAws_json1_0ListServicesCommand = function (output, context
|
|
|
1566
1587
|
});
|
|
1567
1588
|
}); };
|
|
1568
1589
|
var deserializeAws_json1_0ListServicesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1569
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1590
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1570
1591
|
var _c;
|
|
1571
1592
|
return __generator(this, function (_d) {
|
|
1572
1593
|
switch (_d.label) {
|
|
@@ -1576,7 +1597,6 @@ var deserializeAws_json1_0ListServicesCommandError = function (output, context)
|
|
|
1576
1597
|
return [4, parseBody(output.body, context)];
|
|
1577
1598
|
case 1:
|
|
1578
1599
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1579
|
-
errorCode = "UnknownError";
|
|
1580
1600
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1581
1601
|
_b = errorCode;
|
|
1582
1602
|
switch (_b) {
|
|
@@ -1592,10 +1612,12 @@ var deserializeAws_json1_0ListServicesCommandError = function (output, context)
|
|
|
1592
1612
|
case 5: throw _d.sent();
|
|
1593
1613
|
case 6:
|
|
1594
1614
|
parsedBody = parsedOutput.body;
|
|
1615
|
+
$metadata = deserializeMetadata(output);
|
|
1616
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1595
1617
|
response = new __BaseException({
|
|
1596
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1618
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1597
1619
|
$fault: "client",
|
|
1598
|
-
$metadata:
|
|
1620
|
+
$metadata: $metadata,
|
|
1599
1621
|
});
|
|
1600
1622
|
throw __decorateServiceException(response, parsedBody);
|
|
1601
1623
|
}
|
|
@@ -1620,7 +1642,7 @@ export var deserializeAws_json1_0ListTagsForResourceCommand = function (output,
|
|
|
1620
1642
|
});
|
|
1621
1643
|
}); };
|
|
1622
1644
|
var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1623
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1645
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1624
1646
|
var _c;
|
|
1625
1647
|
return __generator(this, function (_d) {
|
|
1626
1648
|
switch (_d.label) {
|
|
@@ -1630,7 +1652,6 @@ var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, co
|
|
|
1630
1652
|
return [4, parseBody(output.body, context)];
|
|
1631
1653
|
case 1:
|
|
1632
1654
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1633
|
-
errorCode = "UnknownError";
|
|
1634
1655
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1635
1656
|
_b = errorCode;
|
|
1636
1657
|
switch (_b) {
|
|
@@ -1654,10 +1675,12 @@ var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, co
|
|
|
1654
1675
|
case 9: throw _d.sent();
|
|
1655
1676
|
case 10:
|
|
1656
1677
|
parsedBody = parsedOutput.body;
|
|
1678
|
+
$metadata = deserializeMetadata(output);
|
|
1679
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1657
1680
|
response = new __BaseException({
|
|
1658
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1681
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1659
1682
|
$fault: "client",
|
|
1660
|
-
$metadata:
|
|
1683
|
+
$metadata: $metadata,
|
|
1661
1684
|
});
|
|
1662
1685
|
throw __decorateServiceException(response, parsedBody);
|
|
1663
1686
|
}
|
|
@@ -1682,7 +1705,7 @@ export var deserializeAws_json1_0ListVpcConnectorsCommand = function (output, co
|
|
|
1682
1705
|
});
|
|
1683
1706
|
}); };
|
|
1684
1707
|
var deserializeAws_json1_0ListVpcConnectorsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1685
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1708
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1686
1709
|
var _c;
|
|
1687
1710
|
return __generator(this, function (_d) {
|
|
1688
1711
|
switch (_d.label) {
|
|
@@ -1692,7 +1715,6 @@ var deserializeAws_json1_0ListVpcConnectorsCommandError = function (output, cont
|
|
|
1692
1715
|
return [4, parseBody(output.body, context)];
|
|
1693
1716
|
case 1:
|
|
1694
1717
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1695
|
-
errorCode = "UnknownError";
|
|
1696
1718
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1697
1719
|
_b = errorCode;
|
|
1698
1720
|
switch (_b) {
|
|
@@ -1708,10 +1730,12 @@ var deserializeAws_json1_0ListVpcConnectorsCommandError = function (output, cont
|
|
|
1708
1730
|
case 5: throw _d.sent();
|
|
1709
1731
|
case 6:
|
|
1710
1732
|
parsedBody = parsedOutput.body;
|
|
1733
|
+
$metadata = deserializeMetadata(output);
|
|
1734
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1711
1735
|
response = new __BaseException({
|
|
1712
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1736
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1713
1737
|
$fault: "client",
|
|
1714
|
-
$metadata:
|
|
1738
|
+
$metadata: $metadata,
|
|
1715
1739
|
});
|
|
1716
1740
|
throw __decorateServiceException(response, parsedBody);
|
|
1717
1741
|
}
|
|
@@ -1736,7 +1760,7 @@ export var deserializeAws_json1_0PauseServiceCommand = function (output, context
|
|
|
1736
1760
|
});
|
|
1737
1761
|
}); };
|
|
1738
1762
|
var deserializeAws_json1_0PauseServiceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1739
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1763
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1740
1764
|
var _c;
|
|
1741
1765
|
return __generator(this, function (_d) {
|
|
1742
1766
|
switch (_d.label) {
|
|
@@ -1746,7 +1770,6 @@ var deserializeAws_json1_0PauseServiceCommandError = function (output, context)
|
|
|
1746
1770
|
return [4, parseBody(output.body, context)];
|
|
1747
1771
|
case 1:
|
|
1748
1772
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1749
|
-
errorCode = "UnknownError";
|
|
1750
1773
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1751
1774
|
_b = errorCode;
|
|
1752
1775
|
switch (_b) {
|
|
@@ -1770,10 +1793,12 @@ var deserializeAws_json1_0PauseServiceCommandError = function (output, context)
|
|
|
1770
1793
|
case 9: throw _d.sent();
|
|
1771
1794
|
case 10:
|
|
1772
1795
|
parsedBody = parsedOutput.body;
|
|
1796
|
+
$metadata = deserializeMetadata(output);
|
|
1797
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1773
1798
|
response = new __BaseException({
|
|
1774
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1799
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1775
1800
|
$fault: "client",
|
|
1776
|
-
$metadata:
|
|
1801
|
+
$metadata: $metadata,
|
|
1777
1802
|
});
|
|
1778
1803
|
throw __decorateServiceException(response, parsedBody);
|
|
1779
1804
|
}
|
|
@@ -1798,7 +1823,7 @@ export var deserializeAws_json1_0ResumeServiceCommand = function (output, contex
|
|
|
1798
1823
|
});
|
|
1799
1824
|
}); };
|
|
1800
1825
|
var deserializeAws_json1_0ResumeServiceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1801
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1826
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1802
1827
|
var _c;
|
|
1803
1828
|
return __generator(this, function (_d) {
|
|
1804
1829
|
switch (_d.label) {
|
|
@@ -1808,7 +1833,6 @@ var deserializeAws_json1_0ResumeServiceCommandError = function (output, context)
|
|
|
1808
1833
|
return [4, parseBody(output.body, context)];
|
|
1809
1834
|
case 1:
|
|
1810
1835
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1811
|
-
errorCode = "UnknownError";
|
|
1812
1836
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1813
1837
|
_b = errorCode;
|
|
1814
1838
|
switch (_b) {
|
|
@@ -1832,10 +1856,12 @@ var deserializeAws_json1_0ResumeServiceCommandError = function (output, context)
|
|
|
1832
1856
|
case 9: throw _d.sent();
|
|
1833
1857
|
case 10:
|
|
1834
1858
|
parsedBody = parsedOutput.body;
|
|
1859
|
+
$metadata = deserializeMetadata(output);
|
|
1860
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1835
1861
|
response = new __BaseException({
|
|
1836
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1862
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1837
1863
|
$fault: "client",
|
|
1838
|
-
$metadata:
|
|
1864
|
+
$metadata: $metadata,
|
|
1839
1865
|
});
|
|
1840
1866
|
throw __decorateServiceException(response, parsedBody);
|
|
1841
1867
|
}
|
|
@@ -1860,7 +1886,7 @@ export var deserializeAws_json1_0StartDeploymentCommand = function (output, cont
|
|
|
1860
1886
|
});
|
|
1861
1887
|
}); };
|
|
1862
1888
|
var deserializeAws_json1_0StartDeploymentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1863
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1889
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1864
1890
|
var _c;
|
|
1865
1891
|
return __generator(this, function (_d) {
|
|
1866
1892
|
switch (_d.label) {
|
|
@@ -1870,7 +1896,6 @@ var deserializeAws_json1_0StartDeploymentCommandError = function (output, contex
|
|
|
1870
1896
|
return [4, parseBody(output.body, context)];
|
|
1871
1897
|
case 1:
|
|
1872
1898
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1873
|
-
errorCode = "UnknownError";
|
|
1874
1899
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1875
1900
|
_b = errorCode;
|
|
1876
1901
|
switch (_b) {
|
|
@@ -1890,10 +1915,12 @@ var deserializeAws_json1_0StartDeploymentCommandError = function (output, contex
|
|
|
1890
1915
|
case 7: throw _d.sent();
|
|
1891
1916
|
case 8:
|
|
1892
1917
|
parsedBody = parsedOutput.body;
|
|
1918
|
+
$metadata = deserializeMetadata(output);
|
|
1919
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1893
1920
|
response = new __BaseException({
|
|
1894
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1921
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1895
1922
|
$fault: "client",
|
|
1896
|
-
$metadata:
|
|
1923
|
+
$metadata: $metadata,
|
|
1897
1924
|
});
|
|
1898
1925
|
throw __decorateServiceException(response, parsedBody);
|
|
1899
1926
|
}
|
|
@@ -1918,7 +1945,7 @@ export var deserializeAws_json1_0TagResourceCommand = function (output, context)
|
|
|
1918
1945
|
});
|
|
1919
1946
|
}); };
|
|
1920
1947
|
var deserializeAws_json1_0TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1921
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1948
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1922
1949
|
var _c;
|
|
1923
1950
|
return __generator(this, function (_d) {
|
|
1924
1951
|
switch (_d.label) {
|
|
@@ -1928,7 +1955,6 @@ var deserializeAws_json1_0TagResourceCommandError = function (output, context) {
|
|
|
1928
1955
|
return [4, parseBody(output.body, context)];
|
|
1929
1956
|
case 1:
|
|
1930
1957
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1931
|
-
errorCode = "UnknownError";
|
|
1932
1958
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1933
1959
|
_b = errorCode;
|
|
1934
1960
|
switch (_b) {
|
|
@@ -1952,10 +1978,12 @@ var deserializeAws_json1_0TagResourceCommandError = function (output, context) {
|
|
|
1952
1978
|
case 9: throw _d.sent();
|
|
1953
1979
|
case 10:
|
|
1954
1980
|
parsedBody = parsedOutput.body;
|
|
1981
|
+
$metadata = deserializeMetadata(output);
|
|
1982
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1955
1983
|
response = new __BaseException({
|
|
1956
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1984
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1957
1985
|
$fault: "client",
|
|
1958
|
-
$metadata:
|
|
1986
|
+
$metadata: $metadata,
|
|
1959
1987
|
});
|
|
1960
1988
|
throw __decorateServiceException(response, parsedBody);
|
|
1961
1989
|
}
|
|
@@ -1980,7 +2008,7 @@ export var deserializeAws_json1_0UntagResourceCommand = function (output, contex
|
|
|
1980
2008
|
});
|
|
1981
2009
|
}); };
|
|
1982
2010
|
var deserializeAws_json1_0UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1983
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2011
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1984
2012
|
var _c;
|
|
1985
2013
|
return __generator(this, function (_d) {
|
|
1986
2014
|
switch (_d.label) {
|
|
@@ -1990,7 +2018,6 @@ var deserializeAws_json1_0UntagResourceCommandError = function (output, context)
|
|
|
1990
2018
|
return [4, parseBody(output.body, context)];
|
|
1991
2019
|
case 1:
|
|
1992
2020
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1993
|
-
errorCode = "UnknownError";
|
|
1994
2021
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1995
2022
|
_b = errorCode;
|
|
1996
2023
|
switch (_b) {
|
|
@@ -2014,10 +2041,12 @@ var deserializeAws_json1_0UntagResourceCommandError = function (output, context)
|
|
|
2014
2041
|
case 9: throw _d.sent();
|
|
2015
2042
|
case 10:
|
|
2016
2043
|
parsedBody = parsedOutput.body;
|
|
2044
|
+
$metadata = deserializeMetadata(output);
|
|
2045
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2017
2046
|
response = new __BaseException({
|
|
2018
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2047
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2019
2048
|
$fault: "client",
|
|
2020
|
-
$metadata:
|
|
2049
|
+
$metadata: $metadata,
|
|
2021
2050
|
});
|
|
2022
2051
|
throw __decorateServiceException(response, parsedBody);
|
|
2023
2052
|
}
|
|
@@ -2042,7 +2071,7 @@ export var deserializeAws_json1_0UpdateServiceCommand = function (output, contex
|
|
|
2042
2071
|
});
|
|
2043
2072
|
}); };
|
|
2044
2073
|
var deserializeAws_json1_0UpdateServiceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2045
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2074
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2046
2075
|
var _c;
|
|
2047
2076
|
return __generator(this, function (_d) {
|
|
2048
2077
|
switch (_d.label) {
|
|
@@ -2052,7 +2081,6 @@ var deserializeAws_json1_0UpdateServiceCommandError = function (output, context)
|
|
|
2052
2081
|
return [4, parseBody(output.body, context)];
|
|
2053
2082
|
case 1:
|
|
2054
2083
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2055
|
-
errorCode = "UnknownError";
|
|
2056
2084
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2057
2085
|
_b = errorCode;
|
|
2058
2086
|
switch (_b) {
|
|
@@ -2076,10 +2104,12 @@ var deserializeAws_json1_0UpdateServiceCommandError = function (output, context)
|
|
|
2076
2104
|
case 9: throw _d.sent();
|
|
2077
2105
|
case 10:
|
|
2078
2106
|
parsedBody = parsedOutput.body;
|
|
2107
|
+
$metadata = deserializeMetadata(output);
|
|
2108
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2079
2109
|
response = new __BaseException({
|
|
2080
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2110
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2081
2111
|
$fault: "client",
|
|
2082
|
-
$metadata:
|
|
2112
|
+
$metadata: $metadata,
|
|
2083
2113
|
});
|
|
2084
2114
|
throw __decorateServiceException(response, parsedBody);
|
|
2085
2115
|
}
|
|
@@ -2131,196 +2161,163 @@ var deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = function (pars
|
|
|
2131
2161
|
});
|
|
2132
2162
|
}); };
|
|
2133
2163
|
var serializeAws_json1_0AssociateCustomDomainRequest = function (input, context) {
|
|
2134
|
-
return __assign(__assign(__assign({}, (input.DomainName
|
|
2135
|
-
input.EnableWWWSubdomain !== null && { EnableWWWSubdomain: input.EnableWWWSubdomain })), (input.ServiceArn !== undefined && input.ServiceArn !== null && { ServiceArn: input.ServiceArn }));
|
|
2164
|
+
return __assign(__assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.EnableWWWSubdomain != null && { EnableWWWSubdomain: input.EnableWWWSubdomain })), (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2136
2165
|
};
|
|
2137
2166
|
var serializeAws_json1_0AuthenticationConfiguration = function (input, context) {
|
|
2138
|
-
return __assign(__assign({}, (input.AccessRoleArn
|
|
2167
|
+
return __assign(__assign({}, (input.AccessRoleArn != null && { AccessRoleArn: input.AccessRoleArn })), (input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }));
|
|
2139
2168
|
};
|
|
2140
2169
|
var serializeAws_json1_0CodeConfiguration = function (input, context) {
|
|
2141
|
-
return __assign(__assign({}, (input.CodeConfigurationValues
|
|
2142
|
-
input.CodeConfigurationValues !== null && {
|
|
2170
|
+
return __assign(__assign({}, (input.CodeConfigurationValues != null && {
|
|
2143
2171
|
CodeConfigurationValues: serializeAws_json1_0CodeConfigurationValues(input.CodeConfigurationValues, context),
|
|
2144
|
-
})), (input.ConfigurationSource
|
|
2145
|
-
input.ConfigurationSource !== null && { ConfigurationSource: input.ConfigurationSource }));
|
|
2172
|
+
})), (input.ConfigurationSource != null && { ConfigurationSource: input.ConfigurationSource }));
|
|
2146
2173
|
};
|
|
2147
2174
|
var serializeAws_json1_0CodeConfigurationValues = function (input, context) {
|
|
2148
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.BuildCommand
|
|
2149
|
-
input.RuntimeEnvironmentVariables !== null && {
|
|
2175
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.BuildCommand != null && { BuildCommand: input.BuildCommand })), (input.Port != null && { Port: input.Port })), (input.Runtime != null && { Runtime: input.Runtime })), (input.RuntimeEnvironmentVariables != null && {
|
|
2150
2176
|
RuntimeEnvironmentVariables: serializeAws_json1_0RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
|
|
2151
|
-
})), (input.StartCommand
|
|
2177
|
+
})), (input.StartCommand != null && { StartCommand: input.StartCommand }));
|
|
2152
2178
|
};
|
|
2153
2179
|
var serializeAws_json1_0CodeRepository = function (input, context) {
|
|
2154
|
-
return __assign(__assign(__assign({}, (input.CodeConfiguration
|
|
2155
|
-
input.CodeConfiguration !== null && {
|
|
2180
|
+
return __assign(__assign(__assign({}, (input.CodeConfiguration != null && {
|
|
2156
2181
|
CodeConfiguration: serializeAws_json1_0CodeConfiguration(input.CodeConfiguration, context),
|
|
2157
|
-
})), (input.RepositoryUrl
|
|
2158
|
-
input.SourceCodeVersion !== null && {
|
|
2182
|
+
})), (input.RepositoryUrl != null && { RepositoryUrl: input.RepositoryUrl })), (input.SourceCodeVersion != null && {
|
|
2159
2183
|
SourceCodeVersion: serializeAws_json1_0SourceCodeVersion(input.SourceCodeVersion, context),
|
|
2160
2184
|
}));
|
|
2161
2185
|
};
|
|
2162
2186
|
var serializeAws_json1_0CreateAutoScalingConfigurationRequest = function (input, context) {
|
|
2163
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationName
|
|
2164
|
-
input.AutoScalingConfigurationName !== null && {
|
|
2187
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationName != null && {
|
|
2165
2188
|
AutoScalingConfigurationName: input.AutoScalingConfigurationName,
|
|
2166
|
-
})), (input.MaxConcurrency
|
|
2167
|
-
input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxSize !== undefined && input.MaxSize !== null && { MaxSize: input.MaxSize })), (input.MinSize !== undefined && input.MinSize !== null && { MinSize: input.MinSize })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2189
|
+
})), (input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxSize != null && { MaxSize: input.MaxSize })), (input.MinSize != null && { MinSize: input.MinSize })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2168
2190
|
};
|
|
2169
2191
|
var serializeAws_json1_0CreateConnectionRequest = function (input, context) {
|
|
2170
|
-
return __assign(__assign(__assign({}, (input.ConnectionName
|
|
2171
|
-
input.ConnectionName !== null && { ConnectionName: input.ConnectionName })), (input.ProviderType !== undefined && input.ProviderType !== null && { ProviderType: input.ProviderType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2192
|
+
return __assign(__assign(__assign({}, (input.ConnectionName != null && { ConnectionName: input.ConnectionName })), (input.ProviderType != null && { ProviderType: input.ProviderType })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2172
2193
|
};
|
|
2173
2194
|
var serializeAws_json1_0CreateObservabilityConfigurationRequest = function (input, context) {
|
|
2174
|
-
return __assign(__assign(__assign({}, (input.ObservabilityConfigurationName
|
|
2175
|
-
input.ObservabilityConfigurationName !== null && {
|
|
2195
|
+
return __assign(__assign(__assign({}, (input.ObservabilityConfigurationName != null && {
|
|
2176
2196
|
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
2177
|
-
})), (input.Tags
|
|
2178
|
-
input.TraceConfiguration !== null && {
|
|
2197
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) })), (input.TraceConfiguration != null && {
|
|
2179
2198
|
TraceConfiguration: serializeAws_json1_0TraceConfiguration(input.TraceConfiguration, context),
|
|
2180
2199
|
}));
|
|
2181
2200
|
};
|
|
2182
2201
|
var serializeAws_json1_0CreateServiceRequest = function (input, context) {
|
|
2183
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationArn
|
|
2184
|
-
|
|
2185
|
-
|
|
2202
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationArn != null && {
|
|
2203
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2204
|
+
})), (input.EncryptionConfiguration != null && {
|
|
2186
2205
|
EncryptionConfiguration: serializeAws_json1_0EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2187
|
-
})), (input.HealthCheckConfiguration
|
|
2188
|
-
input.HealthCheckConfiguration !== null && {
|
|
2206
|
+
})), (input.HealthCheckConfiguration != null && {
|
|
2189
2207
|
HealthCheckConfiguration: serializeAws_json1_0HealthCheckConfiguration(input.HealthCheckConfiguration, context),
|
|
2190
|
-
})), (input.InstanceConfiguration
|
|
2191
|
-
input.InstanceConfiguration !== null && {
|
|
2208
|
+
})), (input.InstanceConfiguration != null && {
|
|
2192
2209
|
InstanceConfiguration: serializeAws_json1_0InstanceConfiguration(input.InstanceConfiguration, context),
|
|
2193
|
-
})), (input.NetworkConfiguration
|
|
2194
|
-
input.NetworkConfiguration !== null && {
|
|
2210
|
+
})), (input.NetworkConfiguration != null && {
|
|
2195
2211
|
NetworkConfiguration: serializeAws_json1_0NetworkConfiguration(input.NetworkConfiguration, context),
|
|
2196
|
-
})), (input.ObservabilityConfiguration
|
|
2197
|
-
input.ObservabilityConfiguration !== null && {
|
|
2212
|
+
})), (input.ObservabilityConfiguration != null && {
|
|
2198
2213
|
ObservabilityConfiguration: serializeAws_json1_0ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
2199
|
-
})), (input.ServiceName
|
|
2200
|
-
input.SourceConfiguration !== null && {
|
|
2214
|
+
})), (input.ServiceName != null && { ServiceName: input.ServiceName })), (input.SourceConfiguration != null && {
|
|
2201
2215
|
SourceConfiguration: serializeAws_json1_0SourceConfiguration(input.SourceConfiguration, context),
|
|
2202
|
-
})), (input.Tags
|
|
2216
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2203
2217
|
};
|
|
2204
2218
|
var serializeAws_json1_0CreateVpcConnectorRequest = function (input, context) {
|
|
2205
|
-
return __assign(__assign(__assign(__assign({}, (input.SecurityGroups
|
|
2206
|
-
input.SecurityGroups !== null && {
|
|
2219
|
+
return __assign(__assign(__assign(__assign({}, (input.SecurityGroups != null && {
|
|
2207
2220
|
SecurityGroups: serializeAws_json1_0StringList(input.SecurityGroups, context),
|
|
2208
|
-
})), (input.Subnets
|
|
2209
|
-
input.Subnets !== null && { Subnets: serializeAws_json1_0StringList(input.Subnets, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) })), (input.VpcConnectorName !== undefined &&
|
|
2210
|
-
input.VpcConnectorName !== null && { VpcConnectorName: input.VpcConnectorName }));
|
|
2221
|
+
})), (input.Subnets != null && { Subnets: serializeAws_json1_0StringList(input.Subnets, context) })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) })), (input.VpcConnectorName != null && { VpcConnectorName: input.VpcConnectorName }));
|
|
2211
2222
|
};
|
|
2212
2223
|
var serializeAws_json1_0DeleteAutoScalingConfigurationRequest = function (input, context) {
|
|
2213
|
-
return __assign({}, (input.AutoScalingConfigurationArn
|
|
2214
|
-
|
|
2224
|
+
return __assign({}, (input.AutoScalingConfigurationArn != null && {
|
|
2225
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2226
|
+
}));
|
|
2215
2227
|
};
|
|
2216
2228
|
var serializeAws_json1_0DeleteConnectionRequest = function (input, context) {
|
|
2217
|
-
return __assign({}, (input.ConnectionArn
|
|
2229
|
+
return __assign({}, (input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }));
|
|
2218
2230
|
};
|
|
2219
2231
|
var serializeAws_json1_0DeleteObservabilityConfigurationRequest = function (input, context) {
|
|
2220
|
-
return __assign({}, (input.ObservabilityConfigurationArn
|
|
2221
|
-
input.ObservabilityConfigurationArn !== null && {
|
|
2232
|
+
return __assign({}, (input.ObservabilityConfigurationArn != null && {
|
|
2222
2233
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
2223
2234
|
}));
|
|
2224
2235
|
};
|
|
2225
2236
|
var serializeAws_json1_0DeleteServiceRequest = function (input, context) {
|
|
2226
|
-
return __assign({}, (input.ServiceArn
|
|
2237
|
+
return __assign({}, (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2227
2238
|
};
|
|
2228
2239
|
var serializeAws_json1_0DeleteVpcConnectorRequest = function (input, context) {
|
|
2229
|
-
return __assign({}, (input.VpcConnectorArn
|
|
2230
|
-
input.VpcConnectorArn !== null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2240
|
+
return __assign({}, (input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2231
2241
|
};
|
|
2232
2242
|
var serializeAws_json1_0DescribeAutoScalingConfigurationRequest = function (input, context) {
|
|
2233
|
-
return __assign({}, (input.AutoScalingConfigurationArn
|
|
2234
|
-
|
|
2243
|
+
return __assign({}, (input.AutoScalingConfigurationArn != null && {
|
|
2244
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2245
|
+
}));
|
|
2235
2246
|
};
|
|
2236
2247
|
var serializeAws_json1_0DescribeCustomDomainsRequest = function (input, context) {
|
|
2237
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2248
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2238
2249
|
};
|
|
2239
2250
|
var serializeAws_json1_0DescribeObservabilityConfigurationRequest = function (input, context) {
|
|
2240
|
-
return __assign({}, (input.ObservabilityConfigurationArn
|
|
2241
|
-
input.ObservabilityConfigurationArn !== null && {
|
|
2251
|
+
return __assign({}, (input.ObservabilityConfigurationArn != null && {
|
|
2242
2252
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
2243
2253
|
}));
|
|
2244
2254
|
};
|
|
2245
2255
|
var serializeAws_json1_0DescribeServiceRequest = function (input, context) {
|
|
2246
|
-
return __assign({}, (input.ServiceArn
|
|
2256
|
+
return __assign({}, (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2247
2257
|
};
|
|
2248
2258
|
var serializeAws_json1_0DescribeVpcConnectorRequest = function (input, context) {
|
|
2249
|
-
return __assign({}, (input.VpcConnectorArn
|
|
2250
|
-
input.VpcConnectorArn !== null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2259
|
+
return __assign({}, (input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2251
2260
|
};
|
|
2252
2261
|
var serializeAws_json1_0DisassociateCustomDomainRequest = function (input, context) {
|
|
2253
|
-
return __assign(__assign({}, (input.DomainName
|
|
2262
|
+
return __assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2254
2263
|
};
|
|
2255
2264
|
var serializeAws_json1_0EgressConfiguration = function (input, context) {
|
|
2256
|
-
return __assign(__assign({}, (input.EgressType
|
|
2257
|
-
input.VpcConnectorArn !== null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2265
|
+
return __assign(__assign({}, (input.EgressType != null && { EgressType: input.EgressType })), (input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }));
|
|
2258
2266
|
};
|
|
2259
2267
|
var serializeAws_json1_0EncryptionConfiguration = function (input, context) {
|
|
2260
|
-
return __assign({}, (input.KmsKey
|
|
2268
|
+
return __assign({}, (input.KmsKey != null && { KmsKey: input.KmsKey }));
|
|
2261
2269
|
};
|
|
2262
2270
|
var serializeAws_json1_0HealthCheckConfiguration = function (input, context) {
|
|
2263
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.HealthyThreshold
|
|
2264
|
-
input.HealthyThreshold !== null && { HealthyThreshold: input.HealthyThreshold })), (input.Interval !== undefined && input.Interval !== null && { Interval: input.Interval })), (input.Path !== undefined && input.Path !== null && { Path: input.Path })), (input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol })), (input.Timeout !== undefined && input.Timeout !== null && { Timeout: input.Timeout })), (input.UnhealthyThreshold !== undefined &&
|
|
2265
|
-
input.UnhealthyThreshold !== null && { UnhealthyThreshold: input.UnhealthyThreshold }));
|
|
2271
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.HealthyThreshold != null && { HealthyThreshold: input.HealthyThreshold })), (input.Interval != null && { Interval: input.Interval })), (input.Path != null && { Path: input.Path })), (input.Protocol != null && { Protocol: input.Protocol })), (input.Timeout != null && { Timeout: input.Timeout })), (input.UnhealthyThreshold != null && { UnhealthyThreshold: input.UnhealthyThreshold }));
|
|
2266
2272
|
};
|
|
2267
2273
|
var serializeAws_json1_0ImageConfiguration = function (input, context) {
|
|
2268
|
-
return __assign(__assign(__assign({}, (input.Port
|
|
2269
|
-
input.RuntimeEnvironmentVariables !== null && {
|
|
2274
|
+
return __assign(__assign(__assign({}, (input.Port != null && { Port: input.Port })), (input.RuntimeEnvironmentVariables != null && {
|
|
2270
2275
|
RuntimeEnvironmentVariables: serializeAws_json1_0RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
|
|
2271
|
-
})), (input.StartCommand
|
|
2276
|
+
})), (input.StartCommand != null && { StartCommand: input.StartCommand }));
|
|
2272
2277
|
};
|
|
2273
2278
|
var serializeAws_json1_0ImageRepository = function (input, context) {
|
|
2274
|
-
return __assign(__assign(__assign({}, (input.ImageConfiguration
|
|
2275
|
-
input.ImageConfiguration !== null && {
|
|
2279
|
+
return __assign(__assign(__assign({}, (input.ImageConfiguration != null && {
|
|
2276
2280
|
ImageConfiguration: serializeAws_json1_0ImageConfiguration(input.ImageConfiguration, context),
|
|
2277
|
-
})), (input.ImageIdentifier
|
|
2278
|
-
input.ImageIdentifier !== null && { ImageIdentifier: input.ImageIdentifier })), (input.ImageRepositoryType !== undefined &&
|
|
2279
|
-
input.ImageRepositoryType !== null && { ImageRepositoryType: input.ImageRepositoryType }));
|
|
2281
|
+
})), (input.ImageIdentifier != null && { ImageIdentifier: input.ImageIdentifier })), (input.ImageRepositoryType != null && { ImageRepositoryType: input.ImageRepositoryType }));
|
|
2280
2282
|
};
|
|
2281
2283
|
var serializeAws_json1_0InstanceConfiguration = function (input, context) {
|
|
2282
|
-
return __assign(__assign(__assign({}, (input.Cpu
|
|
2283
|
-
input.InstanceRoleArn !== null && { InstanceRoleArn: input.InstanceRoleArn })), (input.Memory !== undefined && input.Memory !== null && { Memory: input.Memory }));
|
|
2284
|
+
return __assign(__assign(__assign({}, (input.Cpu != null && { Cpu: input.Cpu })), (input.InstanceRoleArn != null && { InstanceRoleArn: input.InstanceRoleArn })), (input.Memory != null && { Memory: input.Memory }));
|
|
2284
2285
|
};
|
|
2285
2286
|
var serializeAws_json1_0ListAutoScalingConfigurationsRequest = function (input, context) {
|
|
2286
|
-
return __assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationName
|
|
2287
|
-
input.AutoScalingConfigurationName !== null && {
|
|
2287
|
+
return __assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationName != null && {
|
|
2288
2288
|
AutoScalingConfigurationName: input.AutoScalingConfigurationName,
|
|
2289
|
-
})), (input.LatestOnly
|
|
2289
|
+
})), (input.LatestOnly != null && { LatestOnly: input.LatestOnly })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2290
2290
|
};
|
|
2291
2291
|
var serializeAws_json1_0ListConnectionsRequest = function (input, context) {
|
|
2292
|
-
return __assign(__assign(__assign({}, (input.ConnectionName
|
|
2293
|
-
input.ConnectionName !== null && { ConnectionName: input.ConnectionName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
2292
|
+
return __assign(__assign(__assign({}, (input.ConnectionName != null && { ConnectionName: input.ConnectionName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2294
2293
|
};
|
|
2295
2294
|
var serializeAws_json1_0ListObservabilityConfigurationsRequest = function (input, context) {
|
|
2296
|
-
return __assign(__assign(__assign(__assign({}, (input.LatestOnly
|
|
2297
|
-
input.ObservabilityConfigurationName !== null && {
|
|
2295
|
+
return __assign(__assign(__assign(__assign({}, (input.LatestOnly != null && { LatestOnly: input.LatestOnly })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ObservabilityConfigurationName != null && {
|
|
2298
2296
|
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
2299
2297
|
}));
|
|
2300
2298
|
};
|
|
2301
2299
|
var serializeAws_json1_0ListOperationsRequest = function (input, context) {
|
|
2302
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2300
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2303
2301
|
};
|
|
2304
2302
|
var serializeAws_json1_0ListServicesRequest = function (input, context) {
|
|
2305
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2303
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2306
2304
|
};
|
|
2307
2305
|
var serializeAws_json1_0ListTagsForResourceRequest = function (input, context) {
|
|
2308
|
-
return __assign({}, (input.ResourceArn
|
|
2306
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2309
2307
|
};
|
|
2310
2308
|
var serializeAws_json1_0ListVpcConnectorsRequest = function (input, context) {
|
|
2311
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2309
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2312
2310
|
};
|
|
2313
2311
|
var serializeAws_json1_0NetworkConfiguration = function (input, context) {
|
|
2314
|
-
return __assign({}, (input.EgressConfiguration
|
|
2315
|
-
input.EgressConfiguration !== null && {
|
|
2312
|
+
return __assign({}, (input.EgressConfiguration != null && {
|
|
2316
2313
|
EgressConfiguration: serializeAws_json1_0EgressConfiguration(input.EgressConfiguration, context),
|
|
2317
2314
|
}));
|
|
2318
2315
|
};
|
|
2319
2316
|
var serializeAws_json1_0PauseServiceRequest = function (input, context) {
|
|
2320
|
-
return __assign({}, (input.ServiceArn
|
|
2317
|
+
return __assign({}, (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2321
2318
|
};
|
|
2322
2319
|
var serializeAws_json1_0ResumeServiceRequest = function (input, context) {
|
|
2323
|
-
return __assign({}, (input.ServiceArn
|
|
2320
|
+
return __assign({}, (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2324
2321
|
};
|
|
2325
2322
|
var serializeAws_json1_0RuntimeEnvironmentVariables = function (input, context) {
|
|
2326
2323
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -2333,30 +2330,24 @@ var serializeAws_json1_0RuntimeEnvironmentVariables = function (input, context)
|
|
|
2333
2330
|
}, {});
|
|
2334
2331
|
};
|
|
2335
2332
|
var serializeAws_json1_0ServiceObservabilityConfiguration = function (input, context) {
|
|
2336
|
-
return __assign(__assign({}, (input.ObservabilityConfigurationArn
|
|
2337
|
-
input.ObservabilityConfigurationArn !== null && {
|
|
2333
|
+
return __assign(__assign({}, (input.ObservabilityConfigurationArn != null && {
|
|
2338
2334
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
2339
|
-
})), (input.ObservabilityEnabled
|
|
2340
|
-
input.ObservabilityEnabled !== null && { ObservabilityEnabled: input.ObservabilityEnabled }));
|
|
2335
|
+
})), (input.ObservabilityEnabled != null && { ObservabilityEnabled: input.ObservabilityEnabled }));
|
|
2341
2336
|
};
|
|
2342
2337
|
var serializeAws_json1_0SourceCodeVersion = function (input, context) {
|
|
2343
|
-
return __assign(__assign({}, (input.Type
|
|
2338
|
+
return __assign(__assign({}, (input.Type != null && { Type: input.Type })), (input.Value != null && { Value: input.Value }));
|
|
2344
2339
|
};
|
|
2345
2340
|
var serializeAws_json1_0SourceConfiguration = function (input, context) {
|
|
2346
|
-
return __assign(__assign(__assign(__assign({}, (input.AuthenticationConfiguration
|
|
2347
|
-
input.AuthenticationConfiguration !== null && {
|
|
2341
|
+
return __assign(__assign(__assign(__assign({}, (input.AuthenticationConfiguration != null && {
|
|
2348
2342
|
AuthenticationConfiguration: serializeAws_json1_0AuthenticationConfiguration(input.AuthenticationConfiguration, context),
|
|
2349
|
-
})), (input.AutoDeploymentsEnabled
|
|
2350
|
-
input.AutoDeploymentsEnabled !== null && { AutoDeploymentsEnabled: input.AutoDeploymentsEnabled })), (input.CodeRepository !== undefined &&
|
|
2351
|
-
input.CodeRepository !== null && {
|
|
2343
|
+
})), (input.AutoDeploymentsEnabled != null && { AutoDeploymentsEnabled: input.AutoDeploymentsEnabled })), (input.CodeRepository != null && {
|
|
2352
2344
|
CodeRepository: serializeAws_json1_0CodeRepository(input.CodeRepository, context),
|
|
2353
|
-
})), (input.ImageRepository
|
|
2354
|
-
input.ImageRepository !== null && {
|
|
2345
|
+
})), (input.ImageRepository != null && {
|
|
2355
2346
|
ImageRepository: serializeAws_json1_0ImageRepository(input.ImageRepository, context),
|
|
2356
2347
|
}));
|
|
2357
2348
|
};
|
|
2358
2349
|
var serializeAws_json1_0StartDeploymentRequest = function (input, context) {
|
|
2359
|
-
return __assign({}, (input.ServiceArn
|
|
2350
|
+
return __assign({}, (input.ServiceArn != null && { ServiceArn: input.ServiceArn }));
|
|
2360
2351
|
};
|
|
2361
2352
|
var serializeAws_json1_0StringList = function (input, context) {
|
|
2362
2353
|
return input
|
|
@@ -2369,7 +2360,7 @@ var serializeAws_json1_0StringList = function (input, context) {
|
|
|
2369
2360
|
});
|
|
2370
2361
|
};
|
|
2371
2362
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
2372
|
-
return __assign(__assign({}, (input.Key
|
|
2363
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2373
2364
|
};
|
|
2374
2365
|
var serializeAws_json1_0TagKeyList = function (input, context) {
|
|
2375
2366
|
return input
|
|
@@ -2392,39 +2383,32 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
2392
2383
|
});
|
|
2393
2384
|
};
|
|
2394
2385
|
var serializeAws_json1_0TagResourceRequest = function (input, context) {
|
|
2395
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
2386
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
2396
2387
|
};
|
|
2397
2388
|
var serializeAws_json1_0TraceConfiguration = function (input, context) {
|
|
2398
|
-
return __assign({}, (input.Vendor
|
|
2389
|
+
return __assign({}, (input.Vendor != null && { Vendor: input.Vendor }));
|
|
2399
2390
|
};
|
|
2400
2391
|
var serializeAws_json1_0UntagResourceRequest = function (input, context) {
|
|
2401
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
2402
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
|
|
2392
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
|
|
2403
2393
|
};
|
|
2404
2394
|
var serializeAws_json1_0UpdateServiceRequest = function (input, context) {
|
|
2405
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationArn
|
|
2406
|
-
|
|
2407
|
-
|
|
2395
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingConfigurationArn != null && {
|
|
2396
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2397
|
+
})), (input.HealthCheckConfiguration != null && {
|
|
2408
2398
|
HealthCheckConfiguration: serializeAws_json1_0HealthCheckConfiguration(input.HealthCheckConfiguration, context),
|
|
2409
|
-
})), (input.InstanceConfiguration
|
|
2410
|
-
input.InstanceConfiguration !== null && {
|
|
2399
|
+
})), (input.InstanceConfiguration != null && {
|
|
2411
2400
|
InstanceConfiguration: serializeAws_json1_0InstanceConfiguration(input.InstanceConfiguration, context),
|
|
2412
|
-
})), (input.NetworkConfiguration
|
|
2413
|
-
input.NetworkConfiguration !== null && {
|
|
2401
|
+
})), (input.NetworkConfiguration != null && {
|
|
2414
2402
|
NetworkConfiguration: serializeAws_json1_0NetworkConfiguration(input.NetworkConfiguration, context),
|
|
2415
|
-
})), (input.ObservabilityConfiguration
|
|
2416
|
-
input.ObservabilityConfiguration !== null && {
|
|
2403
|
+
})), (input.ObservabilityConfiguration != null && {
|
|
2417
2404
|
ObservabilityConfiguration: serializeAws_json1_0ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
2418
|
-
})), (input.ServiceArn
|
|
2419
|
-
input.SourceConfiguration !== null && {
|
|
2405
|
+
})), (input.ServiceArn != null && { ServiceArn: input.ServiceArn })), (input.SourceConfiguration != null && {
|
|
2420
2406
|
SourceConfiguration: serializeAws_json1_0SourceConfiguration(input.SourceConfiguration, context),
|
|
2421
2407
|
}));
|
|
2422
2408
|
};
|
|
2423
2409
|
var deserializeAws_json1_0AssociateCustomDomainResponse = function (output, context) {
|
|
2424
2410
|
return {
|
|
2425
|
-
CustomDomain: output.CustomDomain
|
|
2426
|
-
? deserializeAws_json1_0CustomDomain(output.CustomDomain, context)
|
|
2427
|
-
: undefined,
|
|
2411
|
+
CustomDomain: output.CustomDomain != null ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context) : undefined,
|
|
2428
2412
|
DNSTarget: __expectString(output.DNSTarget),
|
|
2429
2413
|
ServiceArn: __expectString(output.ServiceArn),
|
|
2430
2414
|
};
|
|
@@ -2440,12 +2424,8 @@ var deserializeAws_json1_0AutoScalingConfiguration = function (output, context)
|
|
|
2440
2424
|
AutoScalingConfigurationArn: __expectString(output.AutoScalingConfigurationArn),
|
|
2441
2425
|
AutoScalingConfigurationName: __expectString(output.AutoScalingConfigurationName),
|
|
2442
2426
|
AutoScalingConfigurationRevision: __expectInt32(output.AutoScalingConfigurationRevision),
|
|
2443
|
-
CreatedAt: output.CreatedAt
|
|
2444
|
-
|
|
2445
|
-
: undefined,
|
|
2446
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2447
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt)))
|
|
2448
|
-
: undefined,
|
|
2427
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2428
|
+
DeletedAt: output.DeletedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt))) : undefined,
|
|
2449
2429
|
Latest: __expectBoolean(output.Latest),
|
|
2450
2430
|
MaxConcurrency: __expectInt32(output.MaxConcurrency),
|
|
2451
2431
|
MaxSize: __expectInt32(output.MaxSize),
|
|
@@ -2492,7 +2472,7 @@ var deserializeAws_json1_0CertificateValidationRecordList = function (output, co
|
|
|
2492
2472
|
};
|
|
2493
2473
|
var deserializeAws_json1_0CodeConfiguration = function (output, context) {
|
|
2494
2474
|
return {
|
|
2495
|
-
CodeConfigurationValues: output.CodeConfigurationValues
|
|
2475
|
+
CodeConfigurationValues: output.CodeConfigurationValues != null
|
|
2496
2476
|
? deserializeAws_json1_0CodeConfigurationValues(output.CodeConfigurationValues, context)
|
|
2497
2477
|
: undefined,
|
|
2498
2478
|
ConfigurationSource: __expectString(output.ConfigurationSource),
|
|
@@ -2503,7 +2483,7 @@ var deserializeAws_json1_0CodeConfigurationValues = function (output, context) {
|
|
|
2503
2483
|
BuildCommand: __expectString(output.BuildCommand),
|
|
2504
2484
|
Port: __expectString(output.Port),
|
|
2505
2485
|
Runtime: __expectString(output.Runtime),
|
|
2506
|
-
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables
|
|
2486
|
+
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
|
|
2507
2487
|
? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
|
|
2508
2488
|
: undefined,
|
|
2509
2489
|
StartCommand: __expectString(output.StartCommand),
|
|
@@ -2511,11 +2491,11 @@ var deserializeAws_json1_0CodeConfigurationValues = function (output, context) {
|
|
|
2511
2491
|
};
|
|
2512
2492
|
var deserializeAws_json1_0CodeRepository = function (output, context) {
|
|
2513
2493
|
return {
|
|
2514
|
-
CodeConfiguration: output.CodeConfiguration
|
|
2494
|
+
CodeConfiguration: output.CodeConfiguration != null
|
|
2515
2495
|
? deserializeAws_json1_0CodeConfiguration(output.CodeConfiguration, context)
|
|
2516
2496
|
: undefined,
|
|
2517
2497
|
RepositoryUrl: __expectString(output.RepositoryUrl),
|
|
2518
|
-
SourceCodeVersion: output.SourceCodeVersion
|
|
2498
|
+
SourceCodeVersion: output.SourceCodeVersion != null
|
|
2519
2499
|
? deserializeAws_json1_0SourceCodeVersion(output.SourceCodeVersion, context)
|
|
2520
2500
|
: undefined,
|
|
2521
2501
|
};
|
|
@@ -2524,9 +2504,7 @@ var deserializeAws_json1_0Connection = function (output, context) {
|
|
|
2524
2504
|
return {
|
|
2525
2505
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
2526
2506
|
ConnectionName: __expectString(output.ConnectionName),
|
|
2527
|
-
CreatedAt: output.CreatedAt
|
|
2528
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2529
|
-
: undefined,
|
|
2507
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2530
2508
|
ProviderType: __expectString(output.ProviderType),
|
|
2531
2509
|
Status: __expectString(output.Status),
|
|
2532
2510
|
};
|
|
@@ -2535,9 +2513,7 @@ var deserializeAws_json1_0ConnectionSummary = function (output, context) {
|
|
|
2535
2513
|
return {
|
|
2536
2514
|
ConnectionArn: __expectString(output.ConnectionArn),
|
|
2537
2515
|
ConnectionName: __expectString(output.ConnectionName),
|
|
2538
|
-
CreatedAt: output.CreatedAt
|
|
2539
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2540
|
-
: undefined,
|
|
2516
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2541
2517
|
ProviderType: __expectString(output.ProviderType),
|
|
2542
2518
|
Status: __expectString(output.Status),
|
|
2543
2519
|
};
|
|
@@ -2555,21 +2531,19 @@ var deserializeAws_json1_0ConnectionSummaryList = function (output, context) {
|
|
|
2555
2531
|
};
|
|
2556
2532
|
var deserializeAws_json1_0CreateAutoScalingConfigurationResponse = function (output, context) {
|
|
2557
2533
|
return {
|
|
2558
|
-
AutoScalingConfiguration: output.AutoScalingConfiguration
|
|
2534
|
+
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2559
2535
|
? deserializeAws_json1_0AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2560
2536
|
: undefined,
|
|
2561
2537
|
};
|
|
2562
2538
|
};
|
|
2563
2539
|
var deserializeAws_json1_0CreateConnectionResponse = function (output, context) {
|
|
2564
2540
|
return {
|
|
2565
|
-
Connection: output.Connection
|
|
2566
|
-
? deserializeAws_json1_0Connection(output.Connection, context)
|
|
2567
|
-
: undefined,
|
|
2541
|
+
Connection: output.Connection != null ? deserializeAws_json1_0Connection(output.Connection, context) : undefined,
|
|
2568
2542
|
};
|
|
2569
2543
|
};
|
|
2570
2544
|
var deserializeAws_json1_0CreateObservabilityConfigurationResponse = function (output, context) {
|
|
2571
2545
|
return {
|
|
2572
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2546
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2573
2547
|
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2574
2548
|
: undefined,
|
|
2575
2549
|
};
|
|
@@ -2577,21 +2551,17 @@ var deserializeAws_json1_0CreateObservabilityConfigurationResponse = function (o
|
|
|
2577
2551
|
var deserializeAws_json1_0CreateServiceResponse = function (output, context) {
|
|
2578
2552
|
return {
|
|
2579
2553
|
OperationId: __expectString(output.OperationId),
|
|
2580
|
-
Service: output.Service
|
|
2581
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2582
|
-
: undefined,
|
|
2554
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2583
2555
|
};
|
|
2584
2556
|
};
|
|
2585
2557
|
var deserializeAws_json1_0CreateVpcConnectorResponse = function (output, context) {
|
|
2586
2558
|
return {
|
|
2587
|
-
VpcConnector: output.VpcConnector
|
|
2588
|
-
? deserializeAws_json1_0VpcConnector(output.VpcConnector, context)
|
|
2589
|
-
: undefined,
|
|
2559
|
+
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2590
2560
|
};
|
|
2591
2561
|
};
|
|
2592
2562
|
var deserializeAws_json1_0CustomDomain = function (output, context) {
|
|
2593
2563
|
return {
|
|
2594
|
-
CertificateValidationRecords: output.CertificateValidationRecords
|
|
2564
|
+
CertificateValidationRecords: output.CertificateValidationRecords != null
|
|
2595
2565
|
? deserializeAws_json1_0CertificateValidationRecordList(output.CertificateValidationRecords, context)
|
|
2596
2566
|
: undefined,
|
|
2597
2567
|
DomainName: __expectString(output.DomainName),
|
|
@@ -2612,21 +2582,19 @@ var deserializeAws_json1_0CustomDomainList = function (output, context) {
|
|
|
2612
2582
|
};
|
|
2613
2583
|
var deserializeAws_json1_0DeleteAutoScalingConfigurationResponse = function (output, context) {
|
|
2614
2584
|
return {
|
|
2615
|
-
AutoScalingConfiguration: output.AutoScalingConfiguration
|
|
2585
|
+
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2616
2586
|
? deserializeAws_json1_0AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2617
2587
|
: undefined,
|
|
2618
2588
|
};
|
|
2619
2589
|
};
|
|
2620
2590
|
var deserializeAws_json1_0DeleteConnectionResponse = function (output, context) {
|
|
2621
2591
|
return {
|
|
2622
|
-
Connection: output.Connection
|
|
2623
|
-
? deserializeAws_json1_0Connection(output.Connection, context)
|
|
2624
|
-
: undefined,
|
|
2592
|
+
Connection: output.Connection != null ? deserializeAws_json1_0Connection(output.Connection, context) : undefined,
|
|
2625
2593
|
};
|
|
2626
2594
|
};
|
|
2627
2595
|
var deserializeAws_json1_0DeleteObservabilityConfigurationResponse = function (output, context) {
|
|
2628
2596
|
return {
|
|
2629
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2597
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2630
2598
|
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2631
2599
|
: undefined,
|
|
2632
2600
|
};
|
|
@@ -2634,30 +2602,24 @@ var deserializeAws_json1_0DeleteObservabilityConfigurationResponse = function (o
|
|
|
2634
2602
|
var deserializeAws_json1_0DeleteServiceResponse = function (output, context) {
|
|
2635
2603
|
return {
|
|
2636
2604
|
OperationId: __expectString(output.OperationId),
|
|
2637
|
-
Service: output.Service
|
|
2638
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2639
|
-
: undefined,
|
|
2605
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2640
2606
|
};
|
|
2641
2607
|
};
|
|
2642
2608
|
var deserializeAws_json1_0DeleteVpcConnectorResponse = function (output, context) {
|
|
2643
2609
|
return {
|
|
2644
|
-
VpcConnector: output.VpcConnector
|
|
2645
|
-
? deserializeAws_json1_0VpcConnector(output.VpcConnector, context)
|
|
2646
|
-
: undefined,
|
|
2610
|
+
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2647
2611
|
};
|
|
2648
2612
|
};
|
|
2649
2613
|
var deserializeAws_json1_0DescribeAutoScalingConfigurationResponse = function (output, context) {
|
|
2650
2614
|
return {
|
|
2651
|
-
AutoScalingConfiguration: output.AutoScalingConfiguration
|
|
2615
|
+
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2652
2616
|
? deserializeAws_json1_0AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2653
2617
|
: undefined,
|
|
2654
2618
|
};
|
|
2655
2619
|
};
|
|
2656
2620
|
var deserializeAws_json1_0DescribeCustomDomainsResponse = function (output, context) {
|
|
2657
2621
|
return {
|
|
2658
|
-
CustomDomains: output.CustomDomains
|
|
2659
|
-
? deserializeAws_json1_0CustomDomainList(output.CustomDomains, context)
|
|
2660
|
-
: undefined,
|
|
2622
|
+
CustomDomains: output.CustomDomains != null ? deserializeAws_json1_0CustomDomainList(output.CustomDomains, context) : undefined,
|
|
2661
2623
|
DNSTarget: __expectString(output.DNSTarget),
|
|
2662
2624
|
NextToken: __expectString(output.NextToken),
|
|
2663
2625
|
ServiceArn: __expectString(output.ServiceArn),
|
|
@@ -2665,30 +2627,24 @@ var deserializeAws_json1_0DescribeCustomDomainsResponse = function (output, cont
|
|
|
2665
2627
|
};
|
|
2666
2628
|
var deserializeAws_json1_0DescribeObservabilityConfigurationResponse = function (output, context) {
|
|
2667
2629
|
return {
|
|
2668
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2630
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2669
2631
|
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2670
2632
|
: undefined,
|
|
2671
2633
|
};
|
|
2672
2634
|
};
|
|
2673
2635
|
var deserializeAws_json1_0DescribeServiceResponse = function (output, context) {
|
|
2674
2636
|
return {
|
|
2675
|
-
Service: output.Service
|
|
2676
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2677
|
-
: undefined,
|
|
2637
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2678
2638
|
};
|
|
2679
2639
|
};
|
|
2680
2640
|
var deserializeAws_json1_0DescribeVpcConnectorResponse = function (output, context) {
|
|
2681
2641
|
return {
|
|
2682
|
-
VpcConnector: output.VpcConnector
|
|
2683
|
-
? deserializeAws_json1_0VpcConnector(output.VpcConnector, context)
|
|
2684
|
-
: undefined,
|
|
2642
|
+
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2685
2643
|
};
|
|
2686
2644
|
};
|
|
2687
2645
|
var deserializeAws_json1_0DisassociateCustomDomainResponse = function (output, context) {
|
|
2688
2646
|
return {
|
|
2689
|
-
CustomDomain: output.CustomDomain
|
|
2690
|
-
? deserializeAws_json1_0CustomDomain(output.CustomDomain, context)
|
|
2691
|
-
: undefined,
|
|
2647
|
+
CustomDomain: output.CustomDomain != null ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context) : undefined,
|
|
2692
2648
|
DNSTarget: __expectString(output.DNSTarget),
|
|
2693
2649
|
ServiceArn: __expectString(output.ServiceArn),
|
|
2694
2650
|
};
|
|
@@ -2717,7 +2673,7 @@ var deserializeAws_json1_0HealthCheckConfiguration = function (output, context)
|
|
|
2717
2673
|
var deserializeAws_json1_0ImageConfiguration = function (output, context) {
|
|
2718
2674
|
return {
|
|
2719
2675
|
Port: __expectString(output.Port),
|
|
2720
|
-
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables
|
|
2676
|
+
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
|
|
2721
2677
|
? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
|
|
2722
2678
|
: undefined,
|
|
2723
2679
|
StartCommand: __expectString(output.StartCommand),
|
|
@@ -2725,7 +2681,7 @@ var deserializeAws_json1_0ImageConfiguration = function (output, context) {
|
|
|
2725
2681
|
};
|
|
2726
2682
|
var deserializeAws_json1_0ImageRepository = function (output, context) {
|
|
2727
2683
|
return {
|
|
2728
|
-
ImageConfiguration: output.ImageConfiguration
|
|
2684
|
+
ImageConfiguration: output.ImageConfiguration != null
|
|
2729
2685
|
? deserializeAws_json1_0ImageConfiguration(output.ImageConfiguration, context)
|
|
2730
2686
|
: undefined,
|
|
2731
2687
|
ImageIdentifier: __expectString(output.ImageIdentifier),
|
|
@@ -2756,7 +2712,7 @@ var deserializeAws_json1_0InvalidStateException = function (output, context) {
|
|
|
2756
2712
|
};
|
|
2757
2713
|
var deserializeAws_json1_0ListAutoScalingConfigurationsResponse = function (output, context) {
|
|
2758
2714
|
return {
|
|
2759
|
-
AutoScalingConfigurationSummaryList: output.AutoScalingConfigurationSummaryList
|
|
2715
|
+
AutoScalingConfigurationSummaryList: output.AutoScalingConfigurationSummaryList != null
|
|
2760
2716
|
? deserializeAws_json1_0AutoScalingConfigurationSummaryList(output.AutoScalingConfigurationSummaryList, context)
|
|
2761
2717
|
: undefined,
|
|
2762
2718
|
NextToken: __expectString(output.NextToken),
|
|
@@ -2764,7 +2720,7 @@ var deserializeAws_json1_0ListAutoScalingConfigurationsResponse = function (outp
|
|
|
2764
2720
|
};
|
|
2765
2721
|
var deserializeAws_json1_0ListConnectionsResponse = function (output, context) {
|
|
2766
2722
|
return {
|
|
2767
|
-
ConnectionSummaryList: output.ConnectionSummaryList
|
|
2723
|
+
ConnectionSummaryList: output.ConnectionSummaryList != null
|
|
2768
2724
|
? deserializeAws_json1_0ConnectionSummaryList(output.ConnectionSummaryList, context)
|
|
2769
2725
|
: undefined,
|
|
2770
2726
|
NextToken: __expectString(output.NextToken),
|
|
@@ -2773,8 +2729,7 @@ var deserializeAws_json1_0ListConnectionsResponse = function (output, context) {
|
|
|
2773
2729
|
var deserializeAws_json1_0ListObservabilityConfigurationsResponse = function (output, context) {
|
|
2774
2730
|
return {
|
|
2775
2731
|
NextToken: __expectString(output.NextToken),
|
|
2776
|
-
ObservabilityConfigurationSummaryList: output.ObservabilityConfigurationSummaryList
|
|
2777
|
-
output.ObservabilityConfigurationSummaryList !== null
|
|
2732
|
+
ObservabilityConfigurationSummaryList: output.ObservabilityConfigurationSummaryList != null
|
|
2778
2733
|
? deserializeAws_json1_0ObservabilityConfigurationSummaryList(output.ObservabilityConfigurationSummaryList, context)
|
|
2779
2734
|
: undefined,
|
|
2780
2735
|
};
|
|
@@ -2782,7 +2737,7 @@ var deserializeAws_json1_0ListObservabilityConfigurationsResponse = function (ou
|
|
|
2782
2737
|
var deserializeAws_json1_0ListOperationsResponse = function (output, context) {
|
|
2783
2738
|
return {
|
|
2784
2739
|
NextToken: __expectString(output.NextToken),
|
|
2785
|
-
OperationSummaryList: output.OperationSummaryList
|
|
2740
|
+
OperationSummaryList: output.OperationSummaryList != null
|
|
2786
2741
|
? deserializeAws_json1_0OperationSummaryList(output.OperationSummaryList, context)
|
|
2787
2742
|
: undefined,
|
|
2788
2743
|
};
|
|
@@ -2790,47 +2745,39 @@ var deserializeAws_json1_0ListOperationsResponse = function (output, context) {
|
|
|
2790
2745
|
var deserializeAws_json1_0ListServicesResponse = function (output, context) {
|
|
2791
2746
|
return {
|
|
2792
2747
|
NextToken: __expectString(output.NextToken),
|
|
2793
|
-
ServiceSummaryList: output.ServiceSummaryList
|
|
2748
|
+
ServiceSummaryList: output.ServiceSummaryList != null
|
|
2794
2749
|
? deserializeAws_json1_0ServiceSummaryList(output.ServiceSummaryList, context)
|
|
2795
2750
|
: undefined,
|
|
2796
2751
|
};
|
|
2797
2752
|
};
|
|
2798
2753
|
var deserializeAws_json1_0ListTagsForResourceResponse = function (output, context) {
|
|
2799
2754
|
return {
|
|
2800
|
-
Tags: output.Tags
|
|
2801
|
-
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
2802
|
-
: undefined,
|
|
2755
|
+
Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
|
|
2803
2756
|
};
|
|
2804
2757
|
};
|
|
2805
2758
|
var deserializeAws_json1_0ListVpcConnectorsResponse = function (output, context) {
|
|
2806
2759
|
return {
|
|
2807
2760
|
NextToken: __expectString(output.NextToken),
|
|
2808
|
-
VpcConnectors: output.VpcConnectors
|
|
2809
|
-
? deserializeAws_json1_0VpcConnectors(output.VpcConnectors, context)
|
|
2810
|
-
: undefined,
|
|
2761
|
+
VpcConnectors: output.VpcConnectors != null ? deserializeAws_json1_0VpcConnectors(output.VpcConnectors, context) : undefined,
|
|
2811
2762
|
};
|
|
2812
2763
|
};
|
|
2813
2764
|
var deserializeAws_json1_0NetworkConfiguration = function (output, context) {
|
|
2814
2765
|
return {
|
|
2815
|
-
EgressConfiguration: output.EgressConfiguration
|
|
2766
|
+
EgressConfiguration: output.EgressConfiguration != null
|
|
2816
2767
|
? deserializeAws_json1_0EgressConfiguration(output.EgressConfiguration, context)
|
|
2817
2768
|
: undefined,
|
|
2818
2769
|
};
|
|
2819
2770
|
};
|
|
2820
2771
|
var deserializeAws_json1_0ObservabilityConfiguration = function (output, context) {
|
|
2821
2772
|
return {
|
|
2822
|
-
CreatedAt: output.CreatedAt
|
|
2823
|
-
|
|
2824
|
-
: undefined,
|
|
2825
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2826
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt)))
|
|
2827
|
-
: undefined,
|
|
2773
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2774
|
+
DeletedAt: output.DeletedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt))) : undefined,
|
|
2828
2775
|
Latest: __expectBoolean(output.Latest),
|
|
2829
2776
|
ObservabilityConfigurationArn: __expectString(output.ObservabilityConfigurationArn),
|
|
2830
2777
|
ObservabilityConfigurationName: __expectString(output.ObservabilityConfigurationName),
|
|
2831
2778
|
ObservabilityConfigurationRevision: __expectInt32(output.ObservabilityConfigurationRevision),
|
|
2832
2779
|
Status: __expectString(output.Status),
|
|
2833
|
-
TraceConfiguration: output.TraceConfiguration
|
|
2780
|
+
TraceConfiguration: output.TraceConfiguration != null
|
|
2834
2781
|
? deserializeAws_json1_0TraceConfiguration(output.TraceConfiguration, context)
|
|
2835
2782
|
: undefined,
|
|
2836
2783
|
};
|
|
@@ -2855,19 +2802,13 @@ var deserializeAws_json1_0ObservabilityConfigurationSummaryList = function (outp
|
|
|
2855
2802
|
};
|
|
2856
2803
|
var deserializeAws_json1_0OperationSummary = function (output, context) {
|
|
2857
2804
|
return {
|
|
2858
|
-
EndedAt: output.EndedAt
|
|
2859
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndedAt)))
|
|
2860
|
-
: undefined,
|
|
2805
|
+
EndedAt: output.EndedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndedAt))) : undefined,
|
|
2861
2806
|
Id: __expectString(output.Id),
|
|
2862
|
-
StartedAt: output.StartedAt
|
|
2863
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
|
|
2864
|
-
: undefined,
|
|
2807
|
+
StartedAt: output.StartedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt))) : undefined,
|
|
2865
2808
|
Status: __expectString(output.Status),
|
|
2866
2809
|
TargetArn: __expectString(output.TargetArn),
|
|
2867
2810
|
Type: __expectString(output.Type),
|
|
2868
|
-
UpdatedAt: output.UpdatedAt
|
|
2869
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
2870
|
-
: undefined,
|
|
2811
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2871
2812
|
};
|
|
2872
2813
|
};
|
|
2873
2814
|
var deserializeAws_json1_0OperationSummaryList = function (output, context) {
|
|
@@ -2884,9 +2825,7 @@ var deserializeAws_json1_0OperationSummaryList = function (output, context) {
|
|
|
2884
2825
|
var deserializeAws_json1_0PauseServiceResponse = function (output, context) {
|
|
2885
2826
|
return {
|
|
2886
2827
|
OperationId: __expectString(output.OperationId),
|
|
2887
|
-
Service: output.Service
|
|
2888
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2889
|
-
: undefined,
|
|
2828
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2890
2829
|
};
|
|
2891
2830
|
};
|
|
2892
2831
|
var deserializeAws_json1_0ResourceNotFoundException = function (output, context) {
|
|
@@ -2897,9 +2836,7 @@ var deserializeAws_json1_0ResourceNotFoundException = function (output, context)
|
|
|
2897
2836
|
var deserializeAws_json1_0ResumeServiceResponse = function (output, context) {
|
|
2898
2837
|
return {
|
|
2899
2838
|
OperationId: __expectString(output.OperationId),
|
|
2900
|
-
Service: output.Service
|
|
2901
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2902
|
-
: undefined,
|
|
2839
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2903
2840
|
};
|
|
2904
2841
|
};
|
|
2905
2842
|
var deserializeAws_json1_0RuntimeEnvironmentVariables = function (output, context) {
|
|
@@ -2914,41 +2851,35 @@ var deserializeAws_json1_0RuntimeEnvironmentVariables = function (output, contex
|
|
|
2914
2851
|
};
|
|
2915
2852
|
var deserializeAws_json1_0Service = function (output, context) {
|
|
2916
2853
|
return {
|
|
2917
|
-
AutoScalingConfigurationSummary: output.AutoScalingConfigurationSummary
|
|
2854
|
+
AutoScalingConfigurationSummary: output.AutoScalingConfigurationSummary != null
|
|
2918
2855
|
? deserializeAws_json1_0AutoScalingConfigurationSummary(output.AutoScalingConfigurationSummary, context)
|
|
2919
2856
|
: undefined,
|
|
2920
|
-
CreatedAt: output.CreatedAt
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2924
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt)))
|
|
2925
|
-
: undefined,
|
|
2926
|
-
EncryptionConfiguration: output.EncryptionConfiguration !== undefined && output.EncryptionConfiguration !== null
|
|
2857
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2858
|
+
DeletedAt: output.DeletedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt))) : undefined,
|
|
2859
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
2927
2860
|
? deserializeAws_json1_0EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
2928
2861
|
: undefined,
|
|
2929
|
-
HealthCheckConfiguration: output.HealthCheckConfiguration
|
|
2862
|
+
HealthCheckConfiguration: output.HealthCheckConfiguration != null
|
|
2930
2863
|
? deserializeAws_json1_0HealthCheckConfiguration(output.HealthCheckConfiguration, context)
|
|
2931
2864
|
: undefined,
|
|
2932
|
-
InstanceConfiguration: output.InstanceConfiguration
|
|
2865
|
+
InstanceConfiguration: output.InstanceConfiguration != null
|
|
2933
2866
|
? deserializeAws_json1_0InstanceConfiguration(output.InstanceConfiguration, context)
|
|
2934
2867
|
: undefined,
|
|
2935
|
-
NetworkConfiguration: output.NetworkConfiguration
|
|
2868
|
+
NetworkConfiguration: output.NetworkConfiguration != null
|
|
2936
2869
|
? deserializeAws_json1_0NetworkConfiguration(output.NetworkConfiguration, context)
|
|
2937
2870
|
: undefined,
|
|
2938
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2871
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2939
2872
|
? deserializeAws_json1_0ServiceObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2940
2873
|
: undefined,
|
|
2941
2874
|
ServiceArn: __expectString(output.ServiceArn),
|
|
2942
2875
|
ServiceId: __expectString(output.ServiceId),
|
|
2943
2876
|
ServiceName: __expectString(output.ServiceName),
|
|
2944
2877
|
ServiceUrl: __expectString(output.ServiceUrl),
|
|
2945
|
-
SourceConfiguration: output.SourceConfiguration
|
|
2878
|
+
SourceConfiguration: output.SourceConfiguration != null
|
|
2946
2879
|
? deserializeAws_json1_0SourceConfiguration(output.SourceConfiguration, context)
|
|
2947
2880
|
: undefined,
|
|
2948
2881
|
Status: __expectString(output.Status),
|
|
2949
|
-
UpdatedAt: output.UpdatedAt
|
|
2950
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
2951
|
-
: undefined,
|
|
2882
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2952
2883
|
};
|
|
2953
2884
|
};
|
|
2954
2885
|
var deserializeAws_json1_0ServiceObservabilityConfiguration = function (output, context) {
|
|
@@ -2964,17 +2895,13 @@ var deserializeAws_json1_0ServiceQuotaExceededException = function (output, cont
|
|
|
2964
2895
|
};
|
|
2965
2896
|
var deserializeAws_json1_0ServiceSummary = function (output, context) {
|
|
2966
2897
|
return {
|
|
2967
|
-
CreatedAt: output.CreatedAt
|
|
2968
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2969
|
-
: undefined,
|
|
2898
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2970
2899
|
ServiceArn: __expectString(output.ServiceArn),
|
|
2971
2900
|
ServiceId: __expectString(output.ServiceId),
|
|
2972
2901
|
ServiceName: __expectString(output.ServiceName),
|
|
2973
2902
|
ServiceUrl: __expectString(output.ServiceUrl),
|
|
2974
2903
|
Status: __expectString(output.Status),
|
|
2975
|
-
UpdatedAt: output.UpdatedAt
|
|
2976
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
2977
|
-
: undefined,
|
|
2904
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2978
2905
|
};
|
|
2979
2906
|
};
|
|
2980
2907
|
var deserializeAws_json1_0ServiceSummaryList = function (output, context) {
|
|
@@ -2996,14 +2923,12 @@ var deserializeAws_json1_0SourceCodeVersion = function (output, context) {
|
|
|
2996
2923
|
};
|
|
2997
2924
|
var deserializeAws_json1_0SourceConfiguration = function (output, context) {
|
|
2998
2925
|
return {
|
|
2999
|
-
AuthenticationConfiguration: output.AuthenticationConfiguration
|
|
2926
|
+
AuthenticationConfiguration: output.AuthenticationConfiguration != null
|
|
3000
2927
|
? deserializeAws_json1_0AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
3001
2928
|
: undefined,
|
|
3002
2929
|
AutoDeploymentsEnabled: __expectBoolean(output.AutoDeploymentsEnabled),
|
|
3003
|
-
CodeRepository: output.CodeRepository
|
|
3004
|
-
|
|
3005
|
-
: undefined,
|
|
3006
|
-
ImageRepository: output.ImageRepository !== undefined && output.ImageRepository !== null
|
|
2930
|
+
CodeRepository: output.CodeRepository != null ? deserializeAws_json1_0CodeRepository(output.CodeRepository, context) : undefined,
|
|
2931
|
+
ImageRepository: output.ImageRepository != null
|
|
3007
2932
|
? deserializeAws_json1_0ImageRepository(output.ImageRepository, context)
|
|
3008
2933
|
: undefined,
|
|
3009
2934
|
};
|
|
@@ -3055,26 +2980,16 @@ var deserializeAws_json1_0UntagResourceResponse = function (output, context) {
|
|
|
3055
2980
|
var deserializeAws_json1_0UpdateServiceResponse = function (output, context) {
|
|
3056
2981
|
return {
|
|
3057
2982
|
OperationId: __expectString(output.OperationId),
|
|
3058
|
-
Service: output.Service
|
|
3059
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
3060
|
-
: undefined,
|
|
2983
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
3061
2984
|
};
|
|
3062
2985
|
};
|
|
3063
2986
|
var deserializeAws_json1_0VpcConnector = function (output, context) {
|
|
3064
2987
|
return {
|
|
3065
|
-
CreatedAt: output.CreatedAt
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
3069
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt)))
|
|
3070
|
-
: undefined,
|
|
3071
|
-
SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
|
|
3072
|
-
? deserializeAws_json1_0StringList(output.SecurityGroups, context)
|
|
3073
|
-
: undefined,
|
|
2988
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2989
|
+
DeletedAt: output.DeletedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt))) : undefined,
|
|
2990
|
+
SecurityGroups: output.SecurityGroups != null ? deserializeAws_json1_0StringList(output.SecurityGroups, context) : undefined,
|
|
3074
2991
|
Status: __expectString(output.Status),
|
|
3075
|
-
Subnets: output.Subnets
|
|
3076
|
-
? deserializeAws_json1_0StringList(output.Subnets, context)
|
|
3077
|
-
: undefined,
|
|
2992
|
+
Subnets: output.Subnets != null ? deserializeAws_json1_0StringList(output.Subnets, context) : undefined,
|
|
3078
2993
|
VpcConnectorArn: __expectString(output.VpcConnectorArn),
|
|
3079
2994
|
VpcConnectorName: __expectString(output.VpcConnectorName),
|
|
3080
2995
|
VpcConnectorRevision: __expectInt32(output.VpcConnectorRevision),
|
|
@@ -3165,5 +3080,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
3165
3080
|
if (data["__type"] !== undefined) {
|
|
3166
3081
|
return sanitizeErrorCode(data["__type"]);
|
|
3167
3082
|
}
|
|
3168
|
-
return "";
|
|
3169
3083
|
};
|