@aws-sdk/client-fms 3.118.0 → 3.127.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_1.js +368 -496
- package/dist-es/protocols/Aws_json1_1.js +317 -445
- package/package.json +26 -26
|
@@ -352,7 +352,7 @@ export var deserializeAws_json1_1AssociateAdminAccountCommand = function (output
|
|
|
352
352
|
});
|
|
353
353
|
}); };
|
|
354
354
|
var deserializeAws_json1_1AssociateAdminAccountCommandError = 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_1AssociateAdminAccountCommandError = 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) {
|
|
@@ -390,10 +389,12 @@ var deserializeAws_json1_1AssociateAdminAccountCommandError = function (output,
|
|
|
390
389
|
case 11: throw _d.sent();
|
|
391
390
|
case 12:
|
|
392
391
|
parsedBody = parsedOutput.body;
|
|
392
|
+
$metadata = deserializeMetadata(output);
|
|
393
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
393
394
|
response = new __BaseException({
|
|
394
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
395
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
395
396
|
$fault: "client",
|
|
396
|
-
$metadata:
|
|
397
|
+
$metadata: $metadata,
|
|
397
398
|
});
|
|
398
399
|
throw __decorateServiceException(response, parsedBody);
|
|
399
400
|
}
|
|
@@ -418,7 +419,7 @@ export var deserializeAws_json1_1AssociateThirdPartyFirewallCommand = function (
|
|
|
418
419
|
});
|
|
419
420
|
}); };
|
|
420
421
|
var deserializeAws_json1_1AssociateThirdPartyFirewallCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
421
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
422
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
422
423
|
var _c;
|
|
423
424
|
return __generator(this, function (_d) {
|
|
424
425
|
switch (_d.label) {
|
|
@@ -428,7 +429,6 @@ var deserializeAws_json1_1AssociateThirdPartyFirewallCommandError = function (ou
|
|
|
428
429
|
return [4, parseBody(output.body, context)];
|
|
429
430
|
case 1:
|
|
430
431
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
431
|
-
errorCode = "UnknownError";
|
|
432
432
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
433
433
|
_b = errorCode;
|
|
434
434
|
switch (_b) {
|
|
@@ -452,10 +452,12 @@ var deserializeAws_json1_1AssociateThirdPartyFirewallCommandError = function (ou
|
|
|
452
452
|
case 9: throw _d.sent();
|
|
453
453
|
case 10:
|
|
454
454
|
parsedBody = parsedOutput.body;
|
|
455
|
+
$metadata = deserializeMetadata(output);
|
|
456
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
455
457
|
response = new __BaseException({
|
|
456
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
458
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
457
459
|
$fault: "client",
|
|
458
|
-
$metadata:
|
|
460
|
+
$metadata: $metadata,
|
|
459
461
|
});
|
|
460
462
|
throw __decorateServiceException(response, parsedBody);
|
|
461
463
|
}
|
|
@@ -480,7 +482,7 @@ export var deserializeAws_json1_1DeleteAppsListCommand = function (output, conte
|
|
|
480
482
|
});
|
|
481
483
|
}); };
|
|
482
484
|
var deserializeAws_json1_1DeleteAppsListCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
483
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
485
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
484
486
|
var _c;
|
|
485
487
|
return __generator(this, function (_d) {
|
|
486
488
|
switch (_d.label) {
|
|
@@ -490,7 +492,6 @@ var deserializeAws_json1_1DeleteAppsListCommandError = function (output, context
|
|
|
490
492
|
return [4, parseBody(output.body, context)];
|
|
491
493
|
case 1:
|
|
492
494
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
493
|
-
errorCode = "UnknownError";
|
|
494
495
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
495
496
|
_b = errorCode;
|
|
496
497
|
switch (_b) {
|
|
@@ -510,10 +511,12 @@ var deserializeAws_json1_1DeleteAppsListCommandError = function (output, context
|
|
|
510
511
|
case 7: throw _d.sent();
|
|
511
512
|
case 8:
|
|
512
513
|
parsedBody = parsedOutput.body;
|
|
514
|
+
$metadata = deserializeMetadata(output);
|
|
515
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
513
516
|
response = new __BaseException({
|
|
514
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
517
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
515
518
|
$fault: "client",
|
|
516
|
-
$metadata:
|
|
519
|
+
$metadata: $metadata,
|
|
517
520
|
});
|
|
518
521
|
throw __decorateServiceException(response, parsedBody);
|
|
519
522
|
}
|
|
@@ -538,7 +541,7 @@ export var deserializeAws_json1_1DeleteNotificationChannelCommand = function (ou
|
|
|
538
541
|
});
|
|
539
542
|
}); };
|
|
540
543
|
var deserializeAws_json1_1DeleteNotificationChannelCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
541
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
544
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
542
545
|
var _c;
|
|
543
546
|
return __generator(this, function (_d) {
|
|
544
547
|
switch (_d.label) {
|
|
@@ -548,7 +551,6 @@ var deserializeAws_json1_1DeleteNotificationChannelCommandError = function (outp
|
|
|
548
551
|
return [4, parseBody(output.body, context)];
|
|
549
552
|
case 1:
|
|
550
553
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
551
|
-
errorCode = "UnknownError";
|
|
552
554
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
553
555
|
_b = errorCode;
|
|
554
556
|
switch (_b) {
|
|
@@ -568,10 +570,12 @@ var deserializeAws_json1_1DeleteNotificationChannelCommandError = function (outp
|
|
|
568
570
|
case 7: throw _d.sent();
|
|
569
571
|
case 8:
|
|
570
572
|
parsedBody = parsedOutput.body;
|
|
573
|
+
$metadata = deserializeMetadata(output);
|
|
574
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
571
575
|
response = new __BaseException({
|
|
572
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
576
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
573
577
|
$fault: "client",
|
|
574
|
-
$metadata:
|
|
578
|
+
$metadata: $metadata,
|
|
575
579
|
});
|
|
576
580
|
throw __decorateServiceException(response, parsedBody);
|
|
577
581
|
}
|
|
@@ -596,7 +600,7 @@ export var deserializeAws_json1_1DeletePolicyCommand = function (output, context
|
|
|
596
600
|
});
|
|
597
601
|
}); };
|
|
598
602
|
var deserializeAws_json1_1DeletePolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
599
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
603
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
600
604
|
var _c;
|
|
601
605
|
return __generator(this, function (_d) {
|
|
602
606
|
switch (_d.label) {
|
|
@@ -606,7 +610,6 @@ var deserializeAws_json1_1DeletePolicyCommandError = function (output, context)
|
|
|
606
610
|
return [4, parseBody(output.body, context)];
|
|
607
611
|
case 1:
|
|
608
612
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
609
|
-
errorCode = "UnknownError";
|
|
610
613
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
611
614
|
_b = errorCode;
|
|
612
615
|
switch (_b) {
|
|
@@ -634,10 +637,12 @@ var deserializeAws_json1_1DeletePolicyCommandError = function (output, context)
|
|
|
634
637
|
case 11: throw _d.sent();
|
|
635
638
|
case 12:
|
|
636
639
|
parsedBody = parsedOutput.body;
|
|
640
|
+
$metadata = deserializeMetadata(output);
|
|
641
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
637
642
|
response = new __BaseException({
|
|
638
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
643
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
639
644
|
$fault: "client",
|
|
640
|
-
$metadata:
|
|
645
|
+
$metadata: $metadata,
|
|
641
646
|
});
|
|
642
647
|
throw __decorateServiceException(response, parsedBody);
|
|
643
648
|
}
|
|
@@ -662,7 +667,7 @@ export var deserializeAws_json1_1DeleteProtocolsListCommand = function (output,
|
|
|
662
667
|
});
|
|
663
668
|
}); };
|
|
664
669
|
var deserializeAws_json1_1DeleteProtocolsListCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
665
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
670
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
666
671
|
var _c;
|
|
667
672
|
return __generator(this, function (_d) {
|
|
668
673
|
switch (_d.label) {
|
|
@@ -672,7 +677,6 @@ var deserializeAws_json1_1DeleteProtocolsListCommandError = function (output, co
|
|
|
672
677
|
return [4, parseBody(output.body, context)];
|
|
673
678
|
case 1:
|
|
674
679
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
675
|
-
errorCode = "UnknownError";
|
|
676
680
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
677
681
|
_b = errorCode;
|
|
678
682
|
switch (_b) {
|
|
@@ -692,10 +696,12 @@ var deserializeAws_json1_1DeleteProtocolsListCommandError = function (output, co
|
|
|
692
696
|
case 7: throw _d.sent();
|
|
693
697
|
case 8:
|
|
694
698
|
parsedBody = parsedOutput.body;
|
|
699
|
+
$metadata = deserializeMetadata(output);
|
|
700
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
695
701
|
response = new __BaseException({
|
|
696
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
702
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
697
703
|
$fault: "client",
|
|
698
|
-
$metadata:
|
|
704
|
+
$metadata: $metadata,
|
|
699
705
|
});
|
|
700
706
|
throw __decorateServiceException(response, parsedBody);
|
|
701
707
|
}
|
|
@@ -720,7 +726,7 @@ export var deserializeAws_json1_1DisassociateAdminAccountCommand = function (out
|
|
|
720
726
|
});
|
|
721
727
|
}); };
|
|
722
728
|
var deserializeAws_json1_1DisassociateAdminAccountCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
723
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
729
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
724
730
|
var _c;
|
|
725
731
|
return __generator(this, function (_d) {
|
|
726
732
|
switch (_d.label) {
|
|
@@ -730,7 +736,6 @@ var deserializeAws_json1_1DisassociateAdminAccountCommandError = function (outpu
|
|
|
730
736
|
return [4, parseBody(output.body, context)];
|
|
731
737
|
case 1:
|
|
732
738
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
733
|
-
errorCode = "UnknownError";
|
|
734
739
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
735
740
|
_b = errorCode;
|
|
736
741
|
switch (_b) {
|
|
@@ -750,10 +755,12 @@ var deserializeAws_json1_1DisassociateAdminAccountCommandError = function (outpu
|
|
|
750
755
|
case 7: throw _d.sent();
|
|
751
756
|
case 8:
|
|
752
757
|
parsedBody = parsedOutput.body;
|
|
758
|
+
$metadata = deserializeMetadata(output);
|
|
759
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
753
760
|
response = new __BaseException({
|
|
754
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
761
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
755
762
|
$fault: "client",
|
|
756
|
-
$metadata:
|
|
763
|
+
$metadata: $metadata,
|
|
757
764
|
});
|
|
758
765
|
throw __decorateServiceException(response, parsedBody);
|
|
759
766
|
}
|
|
@@ -778,7 +785,7 @@ export var deserializeAws_json1_1DisassociateThirdPartyFirewallCommand = functio
|
|
|
778
785
|
});
|
|
779
786
|
}); };
|
|
780
787
|
var deserializeAws_json1_1DisassociateThirdPartyFirewallCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
781
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
788
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
782
789
|
var _c;
|
|
783
790
|
return __generator(this, function (_d) {
|
|
784
791
|
switch (_d.label) {
|
|
@@ -788,7 +795,6 @@ var deserializeAws_json1_1DisassociateThirdPartyFirewallCommandError = function
|
|
|
788
795
|
return [4, parseBody(output.body, context)];
|
|
789
796
|
case 1:
|
|
790
797
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
791
|
-
errorCode = "UnknownError";
|
|
792
798
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
793
799
|
_b = errorCode;
|
|
794
800
|
switch (_b) {
|
|
@@ -812,10 +818,12 @@ var deserializeAws_json1_1DisassociateThirdPartyFirewallCommandError = function
|
|
|
812
818
|
case 9: throw _d.sent();
|
|
813
819
|
case 10:
|
|
814
820
|
parsedBody = parsedOutput.body;
|
|
821
|
+
$metadata = deserializeMetadata(output);
|
|
822
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
815
823
|
response = new __BaseException({
|
|
816
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
824
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
817
825
|
$fault: "client",
|
|
818
|
-
$metadata:
|
|
826
|
+
$metadata: $metadata,
|
|
819
827
|
});
|
|
820
828
|
throw __decorateServiceException(response, parsedBody);
|
|
821
829
|
}
|
|
@@ -840,7 +848,7 @@ export var deserializeAws_json1_1GetAdminAccountCommand = function (output, cont
|
|
|
840
848
|
});
|
|
841
849
|
}); };
|
|
842
850
|
var deserializeAws_json1_1GetAdminAccountCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
843
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
851
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
844
852
|
var _c;
|
|
845
853
|
return __generator(this, function (_d) {
|
|
846
854
|
switch (_d.label) {
|
|
@@ -850,7 +858,6 @@ var deserializeAws_json1_1GetAdminAccountCommandError = function (output, contex
|
|
|
850
858
|
return [4, parseBody(output.body, context)];
|
|
851
859
|
case 1:
|
|
852
860
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
853
|
-
errorCode = "UnknownError";
|
|
854
861
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
855
862
|
_b = errorCode;
|
|
856
863
|
switch (_b) {
|
|
@@ -870,10 +877,12 @@ var deserializeAws_json1_1GetAdminAccountCommandError = function (output, contex
|
|
|
870
877
|
case 7: throw _d.sent();
|
|
871
878
|
case 8:
|
|
872
879
|
parsedBody = parsedOutput.body;
|
|
880
|
+
$metadata = deserializeMetadata(output);
|
|
881
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
873
882
|
response = new __BaseException({
|
|
874
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
883
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
875
884
|
$fault: "client",
|
|
876
|
-
$metadata:
|
|
885
|
+
$metadata: $metadata,
|
|
877
886
|
});
|
|
878
887
|
throw __decorateServiceException(response, parsedBody);
|
|
879
888
|
}
|
|
@@ -898,7 +907,7 @@ export var deserializeAws_json1_1GetAppsListCommand = function (output, context)
|
|
|
898
907
|
});
|
|
899
908
|
}); };
|
|
900
909
|
var deserializeAws_json1_1GetAppsListCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
901
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
910
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
902
911
|
var _c;
|
|
903
912
|
return __generator(this, function (_d) {
|
|
904
913
|
switch (_d.label) {
|
|
@@ -908,7 +917,6 @@ var deserializeAws_json1_1GetAppsListCommandError = function (output, context) {
|
|
|
908
917
|
return [4, parseBody(output.body, context)];
|
|
909
918
|
case 1:
|
|
910
919
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
911
|
-
errorCode = "UnknownError";
|
|
912
920
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
913
921
|
_b = errorCode;
|
|
914
922
|
switch (_b) {
|
|
@@ -928,10 +936,12 @@ var deserializeAws_json1_1GetAppsListCommandError = function (output, context) {
|
|
|
928
936
|
case 7: throw _d.sent();
|
|
929
937
|
case 8:
|
|
930
938
|
parsedBody = parsedOutput.body;
|
|
939
|
+
$metadata = deserializeMetadata(output);
|
|
940
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
931
941
|
response = new __BaseException({
|
|
932
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
942
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
933
943
|
$fault: "client",
|
|
934
|
-
$metadata:
|
|
944
|
+
$metadata: $metadata,
|
|
935
945
|
});
|
|
936
946
|
throw __decorateServiceException(response, parsedBody);
|
|
937
947
|
}
|
|
@@ -956,7 +966,7 @@ export var deserializeAws_json1_1GetComplianceDetailCommand = function (output,
|
|
|
956
966
|
});
|
|
957
967
|
}); };
|
|
958
968
|
var deserializeAws_json1_1GetComplianceDetailCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
959
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
969
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
960
970
|
var _c;
|
|
961
971
|
return __generator(this, function (_d) {
|
|
962
972
|
switch (_d.label) {
|
|
@@ -966,7 +976,6 @@ var deserializeAws_json1_1GetComplianceDetailCommandError = function (output, co
|
|
|
966
976
|
return [4, parseBody(output.body, context)];
|
|
967
977
|
case 1:
|
|
968
978
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
969
|
-
errorCode = "UnknownError";
|
|
970
979
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
971
980
|
_b = errorCode;
|
|
972
981
|
switch (_b) {
|
|
@@ -990,10 +999,12 @@ var deserializeAws_json1_1GetComplianceDetailCommandError = function (output, co
|
|
|
990
999
|
case 9: throw _d.sent();
|
|
991
1000
|
case 10:
|
|
992
1001
|
parsedBody = parsedOutput.body;
|
|
1002
|
+
$metadata = deserializeMetadata(output);
|
|
1003
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
993
1004
|
response = new __BaseException({
|
|
994
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1005
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
995
1006
|
$fault: "client",
|
|
996
|
-
$metadata:
|
|
1007
|
+
$metadata: $metadata,
|
|
997
1008
|
});
|
|
998
1009
|
throw __decorateServiceException(response, parsedBody);
|
|
999
1010
|
}
|
|
@@ -1018,7 +1029,7 @@ export var deserializeAws_json1_1GetNotificationChannelCommand = function (outpu
|
|
|
1018
1029
|
});
|
|
1019
1030
|
}); };
|
|
1020
1031
|
var deserializeAws_json1_1GetNotificationChannelCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1021
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1032
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1022
1033
|
var _c;
|
|
1023
1034
|
return __generator(this, function (_d) {
|
|
1024
1035
|
switch (_d.label) {
|
|
@@ -1028,7 +1039,6 @@ var deserializeAws_json1_1GetNotificationChannelCommandError = function (output,
|
|
|
1028
1039
|
return [4, parseBody(output.body, context)];
|
|
1029
1040
|
case 1:
|
|
1030
1041
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1031
|
-
errorCode = "UnknownError";
|
|
1032
1042
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1033
1043
|
_b = errorCode;
|
|
1034
1044
|
switch (_b) {
|
|
@@ -1048,10 +1058,12 @@ var deserializeAws_json1_1GetNotificationChannelCommandError = function (output,
|
|
|
1048
1058
|
case 7: throw _d.sent();
|
|
1049
1059
|
case 8:
|
|
1050
1060
|
parsedBody = parsedOutput.body;
|
|
1061
|
+
$metadata = deserializeMetadata(output);
|
|
1062
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1051
1063
|
response = new __BaseException({
|
|
1052
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1064
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1053
1065
|
$fault: "client",
|
|
1054
|
-
$metadata:
|
|
1066
|
+
$metadata: $metadata,
|
|
1055
1067
|
});
|
|
1056
1068
|
throw __decorateServiceException(response, parsedBody);
|
|
1057
1069
|
}
|
|
@@ -1076,7 +1088,7 @@ export var deserializeAws_json1_1GetPolicyCommand = function (output, context) {
|
|
|
1076
1088
|
});
|
|
1077
1089
|
}); };
|
|
1078
1090
|
var deserializeAws_json1_1GetPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1079
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1091
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1080
1092
|
var _c;
|
|
1081
1093
|
return __generator(this, function (_d) {
|
|
1082
1094
|
switch (_d.label) {
|
|
@@ -1086,7 +1098,6 @@ var deserializeAws_json1_1GetPolicyCommandError = function (output, context) { r
|
|
|
1086
1098
|
return [4, parseBody(output.body, context)];
|
|
1087
1099
|
case 1:
|
|
1088
1100
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1089
|
-
errorCode = "UnknownError";
|
|
1090
1101
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1091
1102
|
_b = errorCode;
|
|
1092
1103
|
switch (_b) {
|
|
@@ -1110,10 +1121,12 @@ var deserializeAws_json1_1GetPolicyCommandError = function (output, context) { r
|
|
|
1110
1121
|
case 9: throw _d.sent();
|
|
1111
1122
|
case 10:
|
|
1112
1123
|
parsedBody = parsedOutput.body;
|
|
1124
|
+
$metadata = deserializeMetadata(output);
|
|
1125
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1113
1126
|
response = new __BaseException({
|
|
1114
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1127
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1115
1128
|
$fault: "client",
|
|
1116
|
-
$metadata:
|
|
1129
|
+
$metadata: $metadata,
|
|
1117
1130
|
});
|
|
1118
1131
|
throw __decorateServiceException(response, parsedBody);
|
|
1119
1132
|
}
|
|
@@ -1138,7 +1151,7 @@ export var deserializeAws_json1_1GetProtectionStatusCommand = function (output,
|
|
|
1138
1151
|
});
|
|
1139
1152
|
}); };
|
|
1140
1153
|
var deserializeAws_json1_1GetProtectionStatusCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1141
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1154
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1142
1155
|
var _c;
|
|
1143
1156
|
return __generator(this, function (_d) {
|
|
1144
1157
|
switch (_d.label) {
|
|
@@ -1148,7 +1161,6 @@ var deserializeAws_json1_1GetProtectionStatusCommandError = function (output, co
|
|
|
1148
1161
|
return [4, parseBody(output.body, context)];
|
|
1149
1162
|
case 1:
|
|
1150
1163
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1151
|
-
errorCode = "UnknownError";
|
|
1152
1164
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1153
1165
|
_b = errorCode;
|
|
1154
1166
|
switch (_b) {
|
|
@@ -1168,10 +1180,12 @@ var deserializeAws_json1_1GetProtectionStatusCommandError = function (output, co
|
|
|
1168
1180
|
case 7: throw _d.sent();
|
|
1169
1181
|
case 8:
|
|
1170
1182
|
parsedBody = parsedOutput.body;
|
|
1183
|
+
$metadata = deserializeMetadata(output);
|
|
1184
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1171
1185
|
response = new __BaseException({
|
|
1172
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1186
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1173
1187
|
$fault: "client",
|
|
1174
|
-
$metadata:
|
|
1188
|
+
$metadata: $metadata,
|
|
1175
1189
|
});
|
|
1176
1190
|
throw __decorateServiceException(response, parsedBody);
|
|
1177
1191
|
}
|
|
@@ -1196,7 +1210,7 @@ export var deserializeAws_json1_1GetProtocolsListCommand = function (output, con
|
|
|
1196
1210
|
});
|
|
1197
1211
|
}); };
|
|
1198
1212
|
var deserializeAws_json1_1GetProtocolsListCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1199
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1213
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1200
1214
|
var _c;
|
|
1201
1215
|
return __generator(this, function (_d) {
|
|
1202
1216
|
switch (_d.label) {
|
|
@@ -1206,7 +1220,6 @@ var deserializeAws_json1_1GetProtocolsListCommandError = function (output, conte
|
|
|
1206
1220
|
return [4, parseBody(output.body, context)];
|
|
1207
1221
|
case 1:
|
|
1208
1222
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1209
|
-
errorCode = "UnknownError";
|
|
1210
1223
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1211
1224
|
_b = errorCode;
|
|
1212
1225
|
switch (_b) {
|
|
@@ -1226,10 +1239,12 @@ var deserializeAws_json1_1GetProtocolsListCommandError = function (output, conte
|
|
|
1226
1239
|
case 7: throw _d.sent();
|
|
1227
1240
|
case 8:
|
|
1228
1241
|
parsedBody = parsedOutput.body;
|
|
1242
|
+
$metadata = deserializeMetadata(output);
|
|
1243
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1229
1244
|
response = new __BaseException({
|
|
1230
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1245
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1231
1246
|
$fault: "client",
|
|
1232
|
-
$metadata:
|
|
1247
|
+
$metadata: $metadata,
|
|
1233
1248
|
});
|
|
1234
1249
|
throw __decorateServiceException(response, parsedBody);
|
|
1235
1250
|
}
|
|
@@ -1254,7 +1269,7 @@ export var deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommand =
|
|
|
1254
1269
|
});
|
|
1255
1270
|
}); };
|
|
1256
1271
|
var deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1257
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1272
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1258
1273
|
var _c;
|
|
1259
1274
|
return __generator(this, function (_d) {
|
|
1260
1275
|
switch (_d.label) {
|
|
@@ -1264,7 +1279,6 @@ var deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommandError = f
|
|
|
1264
1279
|
return [4, parseBody(output.body, context)];
|
|
1265
1280
|
case 1:
|
|
1266
1281
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1267
|
-
errorCode = "UnknownError";
|
|
1268
1282
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1269
1283
|
_b = errorCode;
|
|
1270
1284
|
switch (_b) {
|
|
@@ -1288,10 +1302,12 @@ var deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommandError = f
|
|
|
1288
1302
|
case 9: throw _d.sent();
|
|
1289
1303
|
case 10:
|
|
1290
1304
|
parsedBody = parsedOutput.body;
|
|
1305
|
+
$metadata = deserializeMetadata(output);
|
|
1306
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1291
1307
|
response = new __BaseException({
|
|
1292
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1308
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1293
1309
|
$fault: "client",
|
|
1294
|
-
$metadata:
|
|
1310
|
+
$metadata: $metadata,
|
|
1295
1311
|
});
|
|
1296
1312
|
throw __decorateServiceException(response, parsedBody);
|
|
1297
1313
|
}
|
|
@@ -1316,7 +1332,7 @@ export var deserializeAws_json1_1GetViolationDetailsCommand = function (output,
|
|
|
1316
1332
|
});
|
|
1317
1333
|
}); };
|
|
1318
1334
|
var deserializeAws_json1_1GetViolationDetailsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1319
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1335
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1320
1336
|
var _c;
|
|
1321
1337
|
return __generator(this, function (_d) {
|
|
1322
1338
|
switch (_d.label) {
|
|
@@ -1326,7 +1342,6 @@ var deserializeAws_json1_1GetViolationDetailsCommandError = function (output, co
|
|
|
1326
1342
|
return [4, parseBody(output.body, context)];
|
|
1327
1343
|
case 1:
|
|
1328
1344
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1329
|
-
errorCode = "UnknownError";
|
|
1330
1345
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1331
1346
|
_b = errorCode;
|
|
1332
1347
|
switch (_b) {
|
|
@@ -1346,10 +1361,12 @@ var deserializeAws_json1_1GetViolationDetailsCommandError = function (output, co
|
|
|
1346
1361
|
case 7: throw _d.sent();
|
|
1347
1362
|
case 8:
|
|
1348
1363
|
parsedBody = parsedOutput.body;
|
|
1364
|
+
$metadata = deserializeMetadata(output);
|
|
1365
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1349
1366
|
response = new __BaseException({
|
|
1350
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1367
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1351
1368
|
$fault: "client",
|
|
1352
|
-
$metadata:
|
|
1369
|
+
$metadata: $metadata,
|
|
1353
1370
|
});
|
|
1354
1371
|
throw __decorateServiceException(response, parsedBody);
|
|
1355
1372
|
}
|
|
@@ -1374,7 +1391,7 @@ export var deserializeAws_json1_1ListAppsListsCommand = function (output, contex
|
|
|
1374
1391
|
});
|
|
1375
1392
|
}); };
|
|
1376
1393
|
var deserializeAws_json1_1ListAppsListsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1377
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1394
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1378
1395
|
var _c;
|
|
1379
1396
|
return __generator(this, function (_d) {
|
|
1380
1397
|
switch (_d.label) {
|
|
@@ -1384,7 +1401,6 @@ var deserializeAws_json1_1ListAppsListsCommandError = function (output, context)
|
|
|
1384
1401
|
return [4, parseBody(output.body, context)];
|
|
1385
1402
|
case 1:
|
|
1386
1403
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1387
|
-
errorCode = "UnknownError";
|
|
1388
1404
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1389
1405
|
_b = errorCode;
|
|
1390
1406
|
switch (_b) {
|
|
@@ -1408,10 +1424,12 @@ var deserializeAws_json1_1ListAppsListsCommandError = function (output, context)
|
|
|
1408
1424
|
case 9: throw _d.sent();
|
|
1409
1425
|
case 10:
|
|
1410
1426
|
parsedBody = parsedOutput.body;
|
|
1427
|
+
$metadata = deserializeMetadata(output);
|
|
1428
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1411
1429
|
response = new __BaseException({
|
|
1412
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1430
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1413
1431
|
$fault: "client",
|
|
1414
|
-
$metadata:
|
|
1432
|
+
$metadata: $metadata,
|
|
1415
1433
|
});
|
|
1416
1434
|
throw __decorateServiceException(response, parsedBody);
|
|
1417
1435
|
}
|
|
@@ -1436,7 +1454,7 @@ export var deserializeAws_json1_1ListComplianceStatusCommand = function (output,
|
|
|
1436
1454
|
});
|
|
1437
1455
|
}); };
|
|
1438
1456
|
var deserializeAws_json1_1ListComplianceStatusCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1439
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1457
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1440
1458
|
var _c;
|
|
1441
1459
|
return __generator(this, function (_d) {
|
|
1442
1460
|
switch (_d.label) {
|
|
@@ -1446,7 +1464,6 @@ var deserializeAws_json1_1ListComplianceStatusCommandError = function (output, c
|
|
|
1446
1464
|
return [4, parseBody(output.body, context)];
|
|
1447
1465
|
case 1:
|
|
1448
1466
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1449
|
-
errorCode = "UnknownError";
|
|
1450
1467
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1451
1468
|
_b = errorCode;
|
|
1452
1469
|
switch (_b) {
|
|
@@ -1462,10 +1479,12 @@ var deserializeAws_json1_1ListComplianceStatusCommandError = function (output, c
|
|
|
1462
1479
|
case 5: throw _d.sent();
|
|
1463
1480
|
case 6:
|
|
1464
1481
|
parsedBody = parsedOutput.body;
|
|
1482
|
+
$metadata = deserializeMetadata(output);
|
|
1483
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1465
1484
|
response = new __BaseException({
|
|
1466
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1485
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1467
1486
|
$fault: "client",
|
|
1468
|
-
$metadata:
|
|
1487
|
+
$metadata: $metadata,
|
|
1469
1488
|
});
|
|
1470
1489
|
throw __decorateServiceException(response, parsedBody);
|
|
1471
1490
|
}
|
|
@@ -1490,7 +1509,7 @@ export var deserializeAws_json1_1ListMemberAccountsCommand = function (output, c
|
|
|
1490
1509
|
});
|
|
1491
1510
|
}); };
|
|
1492
1511
|
var deserializeAws_json1_1ListMemberAccountsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1493
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1512
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1494
1513
|
var _c;
|
|
1495
1514
|
return __generator(this, function (_d) {
|
|
1496
1515
|
switch (_d.label) {
|
|
@@ -1500,7 +1519,6 @@ var deserializeAws_json1_1ListMemberAccountsCommandError = function (output, con
|
|
|
1500
1519
|
return [4, parseBody(output.body, context)];
|
|
1501
1520
|
case 1:
|
|
1502
1521
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1503
|
-
errorCode = "UnknownError";
|
|
1504
1522
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1505
1523
|
_b = errorCode;
|
|
1506
1524
|
switch (_b) {
|
|
@@ -1516,10 +1534,12 @@ var deserializeAws_json1_1ListMemberAccountsCommandError = function (output, con
|
|
|
1516
1534
|
case 5: throw _d.sent();
|
|
1517
1535
|
case 6:
|
|
1518
1536
|
parsedBody = parsedOutput.body;
|
|
1537
|
+
$metadata = deserializeMetadata(output);
|
|
1538
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1519
1539
|
response = new __BaseException({
|
|
1520
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1540
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1521
1541
|
$fault: "client",
|
|
1522
|
-
$metadata:
|
|
1542
|
+
$metadata: $metadata,
|
|
1523
1543
|
});
|
|
1524
1544
|
throw __decorateServiceException(response, parsedBody);
|
|
1525
1545
|
}
|
|
@@ -1544,7 +1564,7 @@ export var deserializeAws_json1_1ListPoliciesCommand = function (output, context
|
|
|
1544
1564
|
});
|
|
1545
1565
|
}); };
|
|
1546
1566
|
var deserializeAws_json1_1ListPoliciesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1547
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1567
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1548
1568
|
var _c;
|
|
1549
1569
|
return __generator(this, function (_d) {
|
|
1550
1570
|
switch (_d.label) {
|
|
@@ -1554,7 +1574,6 @@ var deserializeAws_json1_1ListPoliciesCommandError = function (output, context)
|
|
|
1554
1574
|
return [4, parseBody(output.body, context)];
|
|
1555
1575
|
case 1:
|
|
1556
1576
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1557
|
-
errorCode = "UnknownError";
|
|
1558
1577
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1559
1578
|
_b = errorCode;
|
|
1560
1579
|
switch (_b) {
|
|
@@ -1578,10 +1597,12 @@ var deserializeAws_json1_1ListPoliciesCommandError = function (output, context)
|
|
|
1578
1597
|
case 9: throw _d.sent();
|
|
1579
1598
|
case 10:
|
|
1580
1599
|
parsedBody = parsedOutput.body;
|
|
1600
|
+
$metadata = deserializeMetadata(output);
|
|
1601
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1581
1602
|
response = new __BaseException({
|
|
1582
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1603
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1583
1604
|
$fault: "client",
|
|
1584
|
-
$metadata:
|
|
1605
|
+
$metadata: $metadata,
|
|
1585
1606
|
});
|
|
1586
1607
|
throw __decorateServiceException(response, parsedBody);
|
|
1587
1608
|
}
|
|
@@ -1606,7 +1627,7 @@ export var deserializeAws_json1_1ListProtocolsListsCommand = function (output, c
|
|
|
1606
1627
|
});
|
|
1607
1628
|
}); };
|
|
1608
1629
|
var deserializeAws_json1_1ListProtocolsListsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1609
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1630
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1610
1631
|
var _c;
|
|
1611
1632
|
return __generator(this, function (_d) {
|
|
1612
1633
|
switch (_d.label) {
|
|
@@ -1616,7 +1637,6 @@ var deserializeAws_json1_1ListProtocolsListsCommandError = function (output, con
|
|
|
1616
1637
|
return [4, parseBody(output.body, context)];
|
|
1617
1638
|
case 1:
|
|
1618
1639
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1619
|
-
errorCode = "UnknownError";
|
|
1620
1640
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1621
1641
|
_b = errorCode;
|
|
1622
1642
|
switch (_b) {
|
|
@@ -1636,10 +1656,12 @@ var deserializeAws_json1_1ListProtocolsListsCommandError = function (output, con
|
|
|
1636
1656
|
case 7: throw _d.sent();
|
|
1637
1657
|
case 8:
|
|
1638
1658
|
parsedBody = parsedOutput.body;
|
|
1659
|
+
$metadata = deserializeMetadata(output);
|
|
1660
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1639
1661
|
response = new __BaseException({
|
|
1640
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1662
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1641
1663
|
$fault: "client",
|
|
1642
|
-
$metadata:
|
|
1664
|
+
$metadata: $metadata,
|
|
1643
1665
|
});
|
|
1644
1666
|
throw __decorateServiceException(response, parsedBody);
|
|
1645
1667
|
}
|
|
@@ -1664,7 +1686,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
1664
1686
|
});
|
|
1665
1687
|
}); };
|
|
1666
1688
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1667
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1689
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1668
1690
|
var _c;
|
|
1669
1691
|
return __generator(this, function (_d) {
|
|
1670
1692
|
switch (_d.label) {
|
|
@@ -1674,7 +1696,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1674
1696
|
return [4, parseBody(output.body, context)];
|
|
1675
1697
|
case 1:
|
|
1676
1698
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1677
|
-
errorCode = "UnknownError";
|
|
1678
1699
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1679
1700
|
_b = errorCode;
|
|
1680
1701
|
switch (_b) {
|
|
@@ -1698,10 +1719,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1698
1719
|
case 9: throw _d.sent();
|
|
1699
1720
|
case 10:
|
|
1700
1721
|
parsedBody = parsedOutput.body;
|
|
1722
|
+
$metadata = deserializeMetadata(output);
|
|
1723
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1701
1724
|
response = new __BaseException({
|
|
1702
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1725
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1703
1726
|
$fault: "client",
|
|
1704
|
-
$metadata:
|
|
1727
|
+
$metadata: $metadata,
|
|
1705
1728
|
});
|
|
1706
1729
|
throw __decorateServiceException(response, parsedBody);
|
|
1707
1730
|
}
|
|
@@ -1726,7 +1749,7 @@ export var deserializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesCommand =
|
|
|
1726
1749
|
});
|
|
1727
1750
|
}); };
|
|
1728
1751
|
var deserializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1729
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1752
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1730
1753
|
var _c;
|
|
1731
1754
|
return __generator(this, function (_d) {
|
|
1732
1755
|
switch (_d.label) {
|
|
@@ -1736,7 +1759,6 @@ var deserializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesCommandError = f
|
|
|
1736
1759
|
return [4, parseBody(output.body, context)];
|
|
1737
1760
|
case 1:
|
|
1738
1761
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1739
|
-
errorCode = "UnknownError";
|
|
1740
1762
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1741
1763
|
_b = errorCode;
|
|
1742
1764
|
switch (_b) {
|
|
@@ -1760,10 +1782,12 @@ var deserializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesCommandError = f
|
|
|
1760
1782
|
case 9: throw _d.sent();
|
|
1761
1783
|
case 10:
|
|
1762
1784
|
parsedBody = parsedOutput.body;
|
|
1785
|
+
$metadata = deserializeMetadata(output);
|
|
1786
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1763
1787
|
response = new __BaseException({
|
|
1764
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1788
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1765
1789
|
$fault: "client",
|
|
1766
|
-
$metadata:
|
|
1790
|
+
$metadata: $metadata,
|
|
1767
1791
|
});
|
|
1768
1792
|
throw __decorateServiceException(response, parsedBody);
|
|
1769
1793
|
}
|
|
@@ -1788,7 +1812,7 @@ export var deserializeAws_json1_1PutAppsListCommand = function (output, context)
|
|
|
1788
1812
|
});
|
|
1789
1813
|
}); };
|
|
1790
1814
|
var deserializeAws_json1_1PutAppsListCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1791
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1815
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1792
1816
|
var _c;
|
|
1793
1817
|
return __generator(this, function (_d) {
|
|
1794
1818
|
switch (_d.label) {
|
|
@@ -1798,7 +1822,6 @@ var deserializeAws_json1_1PutAppsListCommandError = function (output, context) {
|
|
|
1798
1822
|
return [4, parseBody(output.body, context)];
|
|
1799
1823
|
case 1:
|
|
1800
1824
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1801
|
-
errorCode = "UnknownError";
|
|
1802
1825
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1803
1826
|
_b = errorCode;
|
|
1804
1827
|
switch (_b) {
|
|
@@ -1826,10 +1849,12 @@ var deserializeAws_json1_1PutAppsListCommandError = function (output, context) {
|
|
|
1826
1849
|
case 11: throw _d.sent();
|
|
1827
1850
|
case 12:
|
|
1828
1851
|
parsedBody = parsedOutput.body;
|
|
1852
|
+
$metadata = deserializeMetadata(output);
|
|
1853
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1829
1854
|
response = new __BaseException({
|
|
1830
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1855
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1831
1856
|
$fault: "client",
|
|
1832
|
-
$metadata:
|
|
1857
|
+
$metadata: $metadata,
|
|
1833
1858
|
});
|
|
1834
1859
|
throw __decorateServiceException(response, parsedBody);
|
|
1835
1860
|
}
|
|
@@ -1854,7 +1879,7 @@ export var deserializeAws_json1_1PutNotificationChannelCommand = function (outpu
|
|
|
1854
1879
|
});
|
|
1855
1880
|
}); };
|
|
1856
1881
|
var deserializeAws_json1_1PutNotificationChannelCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1857
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1882
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1858
1883
|
var _c;
|
|
1859
1884
|
return __generator(this, function (_d) {
|
|
1860
1885
|
switch (_d.label) {
|
|
@@ -1864,7 +1889,6 @@ var deserializeAws_json1_1PutNotificationChannelCommandError = function (output,
|
|
|
1864
1889
|
return [4, parseBody(output.body, context)];
|
|
1865
1890
|
case 1:
|
|
1866
1891
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1867
|
-
errorCode = "UnknownError";
|
|
1868
1892
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1869
1893
|
_b = errorCode;
|
|
1870
1894
|
switch (_b) {
|
|
@@ -1884,10 +1908,12 @@ var deserializeAws_json1_1PutNotificationChannelCommandError = function (output,
|
|
|
1884
1908
|
case 7: throw _d.sent();
|
|
1885
1909
|
case 8:
|
|
1886
1910
|
parsedBody = parsedOutput.body;
|
|
1911
|
+
$metadata = deserializeMetadata(output);
|
|
1912
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1887
1913
|
response = new __BaseException({
|
|
1888
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1914
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1889
1915
|
$fault: "client",
|
|
1890
|
-
$metadata:
|
|
1916
|
+
$metadata: $metadata,
|
|
1891
1917
|
});
|
|
1892
1918
|
throw __decorateServiceException(response, parsedBody);
|
|
1893
1919
|
}
|
|
@@ -1912,7 +1938,7 @@ export var deserializeAws_json1_1PutPolicyCommand = function (output, context) {
|
|
|
1912
1938
|
});
|
|
1913
1939
|
}); };
|
|
1914
1940
|
var deserializeAws_json1_1PutPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1915
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1941
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1916
1942
|
var _c;
|
|
1917
1943
|
return __generator(this, function (_d) {
|
|
1918
1944
|
switch (_d.label) {
|
|
@@ -1922,7 +1948,6 @@ var deserializeAws_json1_1PutPolicyCommandError = function (output, context) { r
|
|
|
1922
1948
|
return [4, parseBody(output.body, context)];
|
|
1923
1949
|
case 1:
|
|
1924
1950
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1925
|
-
errorCode = "UnknownError";
|
|
1926
1951
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1927
1952
|
_b = errorCode;
|
|
1928
1953
|
switch (_b) {
|
|
@@ -1954,10 +1979,12 @@ var deserializeAws_json1_1PutPolicyCommandError = function (output, context) { r
|
|
|
1954
1979
|
case 13: throw _d.sent();
|
|
1955
1980
|
case 14:
|
|
1956
1981
|
parsedBody = parsedOutput.body;
|
|
1982
|
+
$metadata = deserializeMetadata(output);
|
|
1983
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1957
1984
|
response = new __BaseException({
|
|
1958
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1985
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1959
1986
|
$fault: "client",
|
|
1960
|
-
$metadata:
|
|
1987
|
+
$metadata: $metadata,
|
|
1961
1988
|
});
|
|
1962
1989
|
throw __decorateServiceException(response, parsedBody);
|
|
1963
1990
|
}
|
|
@@ -1982,7 +2009,7 @@ export var deserializeAws_json1_1PutProtocolsListCommand = function (output, con
|
|
|
1982
2009
|
});
|
|
1983
2010
|
}); };
|
|
1984
2011
|
var deserializeAws_json1_1PutProtocolsListCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1985
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2012
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1986
2013
|
var _c;
|
|
1987
2014
|
return __generator(this, function (_d) {
|
|
1988
2015
|
switch (_d.label) {
|
|
@@ -1992,7 +2019,6 @@ var deserializeAws_json1_1PutProtocolsListCommandError = function (output, conte
|
|
|
1992
2019
|
return [4, parseBody(output.body, context)];
|
|
1993
2020
|
case 1:
|
|
1994
2021
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1995
|
-
errorCode = "UnknownError";
|
|
1996
2022
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1997
2023
|
_b = errorCode;
|
|
1998
2024
|
switch (_b) {
|
|
@@ -2020,10 +2046,12 @@ var deserializeAws_json1_1PutProtocolsListCommandError = function (output, conte
|
|
|
2020
2046
|
case 11: throw _d.sent();
|
|
2021
2047
|
case 12:
|
|
2022
2048
|
parsedBody = parsedOutput.body;
|
|
2049
|
+
$metadata = deserializeMetadata(output);
|
|
2050
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2023
2051
|
response = new __BaseException({
|
|
2024
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2052
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2025
2053
|
$fault: "client",
|
|
2026
|
-
$metadata:
|
|
2054
|
+
$metadata: $metadata,
|
|
2027
2055
|
});
|
|
2028
2056
|
throw __decorateServiceException(response, parsedBody);
|
|
2029
2057
|
}
|
|
@@ -2048,7 +2076,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
2048
2076
|
});
|
|
2049
2077
|
}); };
|
|
2050
2078
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2051
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2079
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2052
2080
|
var _c;
|
|
2053
2081
|
return __generator(this, function (_d) {
|
|
2054
2082
|
switch (_d.label) {
|
|
@@ -2058,7 +2086,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
2058
2086
|
return [4, parseBody(output.body, context)];
|
|
2059
2087
|
case 1:
|
|
2060
2088
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2061
|
-
errorCode = "UnknownError";
|
|
2062
2089
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2063
2090
|
_b = errorCode;
|
|
2064
2091
|
switch (_b) {
|
|
@@ -2086,10 +2113,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
2086
2113
|
case 11: throw _d.sent();
|
|
2087
2114
|
case 12:
|
|
2088
2115
|
parsedBody = parsedOutput.body;
|
|
2116
|
+
$metadata = deserializeMetadata(output);
|
|
2117
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2089
2118
|
response = new __BaseException({
|
|
2090
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2119
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2091
2120
|
$fault: "client",
|
|
2092
|
-
$metadata:
|
|
2121
|
+
$metadata: $metadata,
|
|
2093
2122
|
});
|
|
2094
2123
|
throw __decorateServiceException(response, parsedBody);
|
|
2095
2124
|
}
|
|
@@ -2114,7 +2143,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
2114
2143
|
});
|
|
2115
2144
|
}); };
|
|
2116
2145
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2117
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2146
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2118
2147
|
var _c;
|
|
2119
2148
|
return __generator(this, function (_d) {
|
|
2120
2149
|
switch (_d.label) {
|
|
@@ -2124,7 +2153,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
2124
2153
|
return [4, parseBody(output.body, context)];
|
|
2125
2154
|
case 1:
|
|
2126
2155
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2127
|
-
errorCode = "UnknownError";
|
|
2128
2156
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2129
2157
|
_b = errorCode;
|
|
2130
2158
|
switch (_b) {
|
|
@@ -2148,10 +2176,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
2148
2176
|
case 9: throw _d.sent();
|
|
2149
2177
|
case 10:
|
|
2150
2178
|
parsedBody = parsedOutput.body;
|
|
2179
|
+
$metadata = deserializeMetadata(output);
|
|
2180
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2151
2181
|
response = new __BaseException({
|
|
2152
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2182
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2153
2183
|
$fault: "client",
|
|
2154
|
-
$metadata:
|
|
2184
|
+
$metadata: $metadata,
|
|
2155
2185
|
});
|
|
2156
2186
|
throw __decorateServiceException(response, parsedBody);
|
|
2157
2187
|
}
|
|
@@ -2212,7 +2242,7 @@ var deserializeAws_json1_1ResourceNotFoundExceptionResponse = function (parsedOu
|
|
|
2212
2242
|
});
|
|
2213
2243
|
}); };
|
|
2214
2244
|
var serializeAws_json1_1App = function (input, context) {
|
|
2215
|
-
return __assign(__assign(__assign({}, (input.AppName
|
|
2245
|
+
return __assign(__assign(__assign({}, (input.AppName != null && { AppName: input.AppName })), (input.Port != null && { Port: input.Port })), (input.Protocol != null && { Protocol: input.Protocol }));
|
|
2216
2246
|
};
|
|
2217
2247
|
var serializeAws_json1_1AppsList = function (input, context) {
|
|
2218
2248
|
return input
|
|
@@ -2225,21 +2255,15 @@ var serializeAws_json1_1AppsList = function (input, context) {
|
|
|
2225
2255
|
});
|
|
2226
2256
|
};
|
|
2227
2257
|
var serializeAws_json1_1AppsListData = function (input, context) {
|
|
2228
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppsList
|
|
2229
|
-
input.AppsList !== null && { AppsList: serializeAws_json1_1AppsList(input.AppsList, context) })), (input.CreateTime !== undefined &&
|
|
2230
|
-
input.CreateTime !== null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) })), (input.LastUpdateTime !== undefined &&
|
|
2231
|
-
input.LastUpdateTime !== null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) })), (input.ListId !== undefined && input.ListId !== null && { ListId: input.ListId })), (input.ListName !== undefined && input.ListName !== null && { ListName: input.ListName })), (input.ListUpdateToken !== undefined &&
|
|
2232
|
-
input.ListUpdateToken !== null && { ListUpdateToken: input.ListUpdateToken })), (input.PreviousAppsList !== undefined &&
|
|
2233
|
-
input.PreviousAppsList !== null && {
|
|
2258
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppsList != null && { AppsList: serializeAws_json1_1AppsList(input.AppsList, context) })), (input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) })), (input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) })), (input.ListId != null && { ListId: input.ListId })), (input.ListName != null && { ListName: input.ListName })), (input.ListUpdateToken != null && { ListUpdateToken: input.ListUpdateToken })), (input.PreviousAppsList != null && {
|
|
2234
2259
|
PreviousAppsList: serializeAws_json1_1PreviousAppsList(input.PreviousAppsList, context),
|
|
2235
2260
|
}));
|
|
2236
2261
|
};
|
|
2237
2262
|
var serializeAws_json1_1AssociateAdminAccountRequest = function (input, context) {
|
|
2238
|
-
return __assign({}, (input.AdminAccount
|
|
2263
|
+
return __assign({}, (input.AdminAccount != null && { AdminAccount: input.AdminAccount }));
|
|
2239
2264
|
};
|
|
2240
2265
|
var serializeAws_json1_1AssociateThirdPartyFirewallRequest = function (input, context) {
|
|
2241
|
-
return __assign({}, (input.ThirdPartyFirewall
|
|
2242
|
-
input.ThirdPartyFirewall !== null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2266
|
+
return __assign({}, (input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2243
2267
|
};
|
|
2244
2268
|
var serializeAws_json1_1CustomerPolicyScopeIdList = function (input, context) {
|
|
2245
2269
|
return input
|
|
@@ -2262,110 +2286,91 @@ var serializeAws_json1_1CustomerPolicyScopeMap = function (input, context) {
|
|
|
2262
2286
|
}, {});
|
|
2263
2287
|
};
|
|
2264
2288
|
var serializeAws_json1_1DeleteAppsListRequest = function (input, context) {
|
|
2265
|
-
return __assign({}, (input.ListId
|
|
2289
|
+
return __assign({}, (input.ListId != null && { ListId: input.ListId }));
|
|
2266
2290
|
};
|
|
2267
2291
|
var serializeAws_json1_1DeleteNotificationChannelRequest = function (input, context) {
|
|
2268
2292
|
return {};
|
|
2269
2293
|
};
|
|
2270
2294
|
var serializeAws_json1_1DeletePolicyRequest = function (input, context) {
|
|
2271
|
-
return __assign(__assign({}, (input.DeleteAllPolicyResources
|
|
2272
|
-
input.DeleteAllPolicyResources !== null && { DeleteAllPolicyResources: input.DeleteAllPolicyResources })), (input.PolicyId !== undefined && input.PolicyId !== null && { PolicyId: input.PolicyId }));
|
|
2295
|
+
return __assign(__assign({}, (input.DeleteAllPolicyResources != null && { DeleteAllPolicyResources: input.DeleteAllPolicyResources })), (input.PolicyId != null && { PolicyId: input.PolicyId }));
|
|
2273
2296
|
};
|
|
2274
2297
|
var serializeAws_json1_1DeleteProtocolsListRequest = function (input, context) {
|
|
2275
|
-
return __assign({}, (input.ListId
|
|
2298
|
+
return __assign({}, (input.ListId != null && { ListId: input.ListId }));
|
|
2276
2299
|
};
|
|
2277
2300
|
var serializeAws_json1_1DisassociateAdminAccountRequest = function (input, context) {
|
|
2278
2301
|
return {};
|
|
2279
2302
|
};
|
|
2280
2303
|
var serializeAws_json1_1DisassociateThirdPartyFirewallRequest = function (input, context) {
|
|
2281
|
-
return __assign({}, (input.ThirdPartyFirewall
|
|
2282
|
-
input.ThirdPartyFirewall !== null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2304
|
+
return __assign({}, (input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2283
2305
|
};
|
|
2284
2306
|
var serializeAws_json1_1GetAdminAccountRequest = function (input, context) {
|
|
2285
2307
|
return {};
|
|
2286
2308
|
};
|
|
2287
2309
|
var serializeAws_json1_1GetAppsListRequest = function (input, context) {
|
|
2288
|
-
return __assign(__assign({}, (input.DefaultList
|
|
2310
|
+
return __assign(__assign({}, (input.DefaultList != null && { DefaultList: input.DefaultList })), (input.ListId != null && { ListId: input.ListId }));
|
|
2289
2311
|
};
|
|
2290
2312
|
var serializeAws_json1_1GetComplianceDetailRequest = function (input, context) {
|
|
2291
|
-
return __assign(__assign({}, (input.MemberAccount
|
|
2313
|
+
return __assign(__assign({}, (input.MemberAccount != null && { MemberAccount: input.MemberAccount })), (input.PolicyId != null && { PolicyId: input.PolicyId }));
|
|
2292
2314
|
};
|
|
2293
2315
|
var serializeAws_json1_1GetNotificationChannelRequest = function (input, context) {
|
|
2294
2316
|
return {};
|
|
2295
2317
|
};
|
|
2296
2318
|
var serializeAws_json1_1GetPolicyRequest = function (input, context) {
|
|
2297
|
-
return __assign({}, (input.PolicyId
|
|
2319
|
+
return __assign({}, (input.PolicyId != null && { PolicyId: input.PolicyId }));
|
|
2298
2320
|
};
|
|
2299
2321
|
var serializeAws_json1_1GetProtectionStatusRequest = function (input, context) {
|
|
2300
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime
|
|
2301
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.MemberAccountId !== undefined &&
|
|
2302
|
-
input.MemberAccountId !== null && { MemberAccountId: input.MemberAccountId })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.PolicyId !== undefined && input.PolicyId !== null && { PolicyId: input.PolicyId })), (input.StartTime !== undefined &&
|
|
2303
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
2322
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.MemberAccountId != null && { MemberAccountId: input.MemberAccountId })), (input.NextToken != null && { NextToken: input.NextToken })), (input.PolicyId != null && { PolicyId: input.PolicyId })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
2304
2323
|
};
|
|
2305
2324
|
var serializeAws_json1_1GetProtocolsListRequest = function (input, context) {
|
|
2306
|
-
return __assign(__assign({}, (input.DefaultList
|
|
2325
|
+
return __assign(__assign({}, (input.DefaultList != null && { DefaultList: input.DefaultList })), (input.ListId != null && { ListId: input.ListId }));
|
|
2307
2326
|
};
|
|
2308
2327
|
var serializeAws_json1_1GetThirdPartyFirewallAssociationStatusRequest = function (input, context) {
|
|
2309
|
-
return __assign({}, (input.ThirdPartyFirewall
|
|
2310
|
-
input.ThirdPartyFirewall !== null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2328
|
+
return __assign({}, (input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2311
2329
|
};
|
|
2312
2330
|
var serializeAws_json1_1GetViolationDetailsRequest = function (input, context) {
|
|
2313
|
-
return __assign(__assign(__assign(__assign({}, (input.MemberAccount
|
|
2331
|
+
return __assign(__assign(__assign(__assign({}, (input.MemberAccount != null && { MemberAccount: input.MemberAccount })), (input.PolicyId != null && { PolicyId: input.PolicyId })), (input.ResourceId != null && { ResourceId: input.ResourceId })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
2314
2332
|
};
|
|
2315
2333
|
var serializeAws_json1_1ListAppsListsRequest = function (input, context) {
|
|
2316
|
-
return __assign(__assign(__assign({}, (input.DefaultLists
|
|
2334
|
+
return __assign(__assign(__assign({}, (input.DefaultLists != null && { DefaultLists: input.DefaultLists })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2317
2335
|
};
|
|
2318
2336
|
var serializeAws_json1_1ListComplianceStatusRequest = function (input, context) {
|
|
2319
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2337
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.PolicyId != null && { PolicyId: input.PolicyId }));
|
|
2320
2338
|
};
|
|
2321
2339
|
var serializeAws_json1_1ListMemberAccountsRequest = function (input, context) {
|
|
2322
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2340
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2323
2341
|
};
|
|
2324
2342
|
var serializeAws_json1_1ListPoliciesRequest = function (input, context) {
|
|
2325
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2343
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2326
2344
|
};
|
|
2327
2345
|
var serializeAws_json1_1ListProtocolsListsRequest = function (input, context) {
|
|
2328
|
-
return __assign(__assign(__assign({}, (input.DefaultLists
|
|
2346
|
+
return __assign(__assign(__assign({}, (input.DefaultLists != null && { DefaultLists: input.DefaultLists })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2329
2347
|
};
|
|
2330
2348
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
2331
|
-
return __assign({}, (input.ResourceArn
|
|
2349
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
2332
2350
|
};
|
|
2333
2351
|
var serializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesRequest = function (input, context) {
|
|
2334
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2335
|
-
input.ThirdPartyFirewall !== null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2352
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }));
|
|
2336
2353
|
};
|
|
2337
2354
|
var serializeAws_json1_1NetworkFirewallPolicy = function (input, context) {
|
|
2338
|
-
return __assign({}, (input.FirewallDeploymentModel
|
|
2339
|
-
input.FirewallDeploymentModel !== null && { FirewallDeploymentModel: input.FirewallDeploymentModel }));
|
|
2355
|
+
return __assign({}, (input.FirewallDeploymentModel != null && { FirewallDeploymentModel: input.FirewallDeploymentModel }));
|
|
2340
2356
|
};
|
|
2341
2357
|
var serializeAws_json1_1Policy = function (input, context) {
|
|
2342
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeleteUnusedFMManagedResources
|
|
2343
|
-
input.DeleteUnusedFMManagedResources !== null && {
|
|
2358
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeleteUnusedFMManagedResources != null && {
|
|
2344
2359
|
DeleteUnusedFMManagedResources: input.DeleteUnusedFMManagedResources,
|
|
2345
|
-
})), (input.ExcludeMap
|
|
2346
|
-
input.ExcludeMap !== null && {
|
|
2360
|
+
})), (input.ExcludeMap != null && {
|
|
2347
2361
|
ExcludeMap: serializeAws_json1_1CustomerPolicyScopeMap(input.ExcludeMap, context),
|
|
2348
|
-
})), (input.ExcludeResourceTags
|
|
2349
|
-
input.ExcludeResourceTags !== null && { ExcludeResourceTags: input.ExcludeResourceTags })), (input.IncludeMap !== undefined &&
|
|
2350
|
-
input.IncludeMap !== null && {
|
|
2362
|
+
})), (input.ExcludeResourceTags != null && { ExcludeResourceTags: input.ExcludeResourceTags })), (input.IncludeMap != null && {
|
|
2351
2363
|
IncludeMap: serializeAws_json1_1CustomerPolicyScopeMap(input.IncludeMap, context),
|
|
2352
|
-
})), (input.PolicyId
|
|
2353
|
-
input.PolicyUpdateToken !== null && { PolicyUpdateToken: input.PolicyUpdateToken })), (input.RemediationEnabled !== undefined &&
|
|
2354
|
-
input.RemediationEnabled !== null && { RemediationEnabled: input.RemediationEnabled })), (input.ResourceTags !== undefined &&
|
|
2355
|
-
input.ResourceTags !== null && { ResourceTags: serializeAws_json1_1ResourceTags(input.ResourceTags, context) })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })), (input.ResourceTypeList !== undefined &&
|
|
2356
|
-
input.ResourceTypeList !== null && {
|
|
2364
|
+
})), (input.PolicyId != null && { PolicyId: input.PolicyId })), (input.PolicyName != null && { PolicyName: input.PolicyName })), (input.PolicyUpdateToken != null && { PolicyUpdateToken: input.PolicyUpdateToken })), (input.RemediationEnabled != null && { RemediationEnabled: input.RemediationEnabled })), (input.ResourceTags != null && { ResourceTags: serializeAws_json1_1ResourceTags(input.ResourceTags, context) })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.ResourceTypeList != null && {
|
|
2357
2365
|
ResourceTypeList: serializeAws_json1_1ResourceTypeList(input.ResourceTypeList, context),
|
|
2358
|
-
})), (input.SecurityServicePolicyData
|
|
2359
|
-
input.SecurityServicePolicyData !== null && {
|
|
2366
|
+
})), (input.SecurityServicePolicyData != null && {
|
|
2360
2367
|
SecurityServicePolicyData: serializeAws_json1_1SecurityServicePolicyData(input.SecurityServicePolicyData, context),
|
|
2361
2368
|
}));
|
|
2362
2369
|
};
|
|
2363
2370
|
var serializeAws_json1_1PolicyOption = function (input, context) {
|
|
2364
|
-
return __assign(__assign({}, (input.NetworkFirewallPolicy
|
|
2365
|
-
input.NetworkFirewallPolicy !== null && {
|
|
2371
|
+
return __assign(__assign({}, (input.NetworkFirewallPolicy != null && {
|
|
2366
2372
|
NetworkFirewallPolicy: serializeAws_json1_1NetworkFirewallPolicy(input.NetworkFirewallPolicy, context),
|
|
2367
|
-
})), (input.ThirdPartyFirewallPolicy
|
|
2368
|
-
input.ThirdPartyFirewallPolicy !== null && {
|
|
2373
|
+
})), (input.ThirdPartyFirewallPolicy != null && {
|
|
2369
2374
|
ThirdPartyFirewallPolicy: serializeAws_json1_1ThirdPartyFirewallPolicy(input.ThirdPartyFirewallPolicy, context),
|
|
2370
2375
|
}));
|
|
2371
2376
|
};
|
|
@@ -2400,39 +2405,28 @@ var serializeAws_json1_1ProtocolsList = function (input, context) {
|
|
|
2400
2405
|
});
|
|
2401
2406
|
};
|
|
2402
2407
|
var serializeAws_json1_1ProtocolsListData = function (input, context) {
|
|
2403
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreateTime
|
|
2404
|
-
input.CreateTime !== null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) })), (input.LastUpdateTime !== undefined &&
|
|
2405
|
-
input.LastUpdateTime !== null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) })), (input.ListId !== undefined && input.ListId !== null && { ListId: input.ListId })), (input.ListName !== undefined && input.ListName !== null && { ListName: input.ListName })), (input.ListUpdateToken !== undefined &&
|
|
2406
|
-
input.ListUpdateToken !== null && { ListUpdateToken: input.ListUpdateToken })), (input.PreviousProtocolsList !== undefined &&
|
|
2407
|
-
input.PreviousProtocolsList !== null && {
|
|
2408
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) })), (input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) })), (input.ListId != null && { ListId: input.ListId })), (input.ListName != null && { ListName: input.ListName })), (input.ListUpdateToken != null && { ListUpdateToken: input.ListUpdateToken })), (input.PreviousProtocolsList != null && {
|
|
2408
2409
|
PreviousProtocolsList: serializeAws_json1_1PreviousProtocolsList(input.PreviousProtocolsList, context),
|
|
2409
|
-
})), (input.ProtocolsList
|
|
2410
|
-
input.ProtocolsList !== null && {
|
|
2410
|
+
})), (input.ProtocolsList != null && {
|
|
2411
2411
|
ProtocolsList: serializeAws_json1_1ProtocolsList(input.ProtocolsList, context),
|
|
2412
2412
|
}));
|
|
2413
2413
|
};
|
|
2414
2414
|
var serializeAws_json1_1PutAppsListRequest = function (input, context) {
|
|
2415
|
-
return __assign(__assign({}, (input.AppsList
|
|
2416
|
-
input.AppsList !== null && { AppsList: serializeAws_json1_1AppsListData(input.AppsList, context) })), (input.TagList !== undefined &&
|
|
2417
|
-
input.TagList !== null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2415
|
+
return __assign(__assign({}, (input.AppsList != null && { AppsList: serializeAws_json1_1AppsListData(input.AppsList, context) })), (input.TagList != null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2418
2416
|
};
|
|
2419
2417
|
var serializeAws_json1_1PutNotificationChannelRequest = function (input, context) {
|
|
2420
|
-
return __assign(__assign({}, (input.SnsRoleName
|
|
2418
|
+
return __assign(__assign({}, (input.SnsRoleName != null && { SnsRoleName: input.SnsRoleName })), (input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }));
|
|
2421
2419
|
};
|
|
2422
2420
|
var serializeAws_json1_1PutPolicyRequest = function (input, context) {
|
|
2423
|
-
return __assign(__assign({}, (input.Policy
|
|
2424
|
-
input.Policy !== null && { Policy: serializeAws_json1_1Policy(input.Policy, context) })), (input.TagList !== undefined &&
|
|
2425
|
-
input.TagList !== null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2421
|
+
return __assign(__assign({}, (input.Policy != null && { Policy: serializeAws_json1_1Policy(input.Policy, context) })), (input.TagList != null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2426
2422
|
};
|
|
2427
2423
|
var serializeAws_json1_1PutProtocolsListRequest = function (input, context) {
|
|
2428
|
-
return __assign(__assign({}, (input.ProtocolsList
|
|
2429
|
-
input.ProtocolsList !== null && {
|
|
2424
|
+
return __assign(__assign({}, (input.ProtocolsList != null && {
|
|
2430
2425
|
ProtocolsList: serializeAws_json1_1ProtocolsListData(input.ProtocolsList, context),
|
|
2431
|
-
})), (input.TagList
|
|
2432
|
-
input.TagList !== null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2426
|
+
})), (input.TagList != null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2433
2427
|
};
|
|
2434
2428
|
var serializeAws_json1_1ResourceTag = function (input, context) {
|
|
2435
|
-
return __assign(__assign({}, (input.Key
|
|
2429
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2436
2430
|
};
|
|
2437
2431
|
var serializeAws_json1_1ResourceTags = function (input, context) {
|
|
2438
2432
|
return input
|
|
@@ -2455,12 +2449,10 @@ var serializeAws_json1_1ResourceTypeList = function (input, context) {
|
|
|
2455
2449
|
});
|
|
2456
2450
|
};
|
|
2457
2451
|
var serializeAws_json1_1SecurityServicePolicyData = function (input, context) {
|
|
2458
|
-
return __assign(__assign(__assign({}, (input.ManagedServiceData
|
|
2459
|
-
input.ManagedServiceData !== null && { ManagedServiceData: input.ManagedServiceData })), (input.PolicyOption !== undefined &&
|
|
2460
|
-
input.PolicyOption !== null && { PolicyOption: serializeAws_json1_1PolicyOption(input.PolicyOption, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
2452
|
+
return __assign(__assign(__assign({}, (input.ManagedServiceData != null && { ManagedServiceData: input.ManagedServiceData })), (input.PolicyOption != null && { PolicyOption: serializeAws_json1_1PolicyOption(input.PolicyOption, context) })), (input.Type != null && { Type: input.Type }));
|
|
2461
2453
|
};
|
|
2462
2454
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
2463
|
-
return __assign(__assign({}, (input.Key
|
|
2455
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2464
2456
|
};
|
|
2465
2457
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
2466
2458
|
return input
|
|
@@ -2483,16 +2475,13 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
2483
2475
|
});
|
|
2484
2476
|
};
|
|
2485
2477
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
2486
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
2487
|
-
input.TagList !== null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2478
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagList != null && { TagList: serializeAws_json1_1TagList(input.TagList, context) }));
|
|
2488
2479
|
};
|
|
2489
2480
|
var serializeAws_json1_1ThirdPartyFirewallPolicy = function (input, context) {
|
|
2490
|
-
return __assign({}, (input.FirewallDeploymentModel
|
|
2491
|
-
input.FirewallDeploymentModel !== null && { FirewallDeploymentModel: input.FirewallDeploymentModel }));
|
|
2481
|
+
return __assign({}, (input.FirewallDeploymentModel != null && { FirewallDeploymentModel: input.FirewallDeploymentModel }));
|
|
2492
2482
|
};
|
|
2493
2483
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
2494
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
2495
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
2484
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
2496
2485
|
};
|
|
2497
2486
|
var deserializeAws_json1_1ActionTarget = function (output, context) {
|
|
2498
2487
|
return {
|
|
@@ -2520,28 +2509,22 @@ var deserializeAws_json1_1AppsList = function (output, context) {
|
|
|
2520
2509
|
};
|
|
2521
2510
|
var deserializeAws_json1_1AppsListData = function (output, context) {
|
|
2522
2511
|
return {
|
|
2523
|
-
AppsList: output.AppsList
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
CreateTime: output.CreateTime !== undefined && output.CreateTime !== null
|
|
2527
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime)))
|
|
2528
|
-
: undefined,
|
|
2529
|
-
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
2512
|
+
AppsList: output.AppsList != null ? deserializeAws_json1_1AppsList(output.AppsList, context) : undefined,
|
|
2513
|
+
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
2514
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
2530
2515
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
2531
2516
|
: undefined,
|
|
2532
2517
|
ListId: __expectString(output.ListId),
|
|
2533
2518
|
ListName: __expectString(output.ListName),
|
|
2534
2519
|
ListUpdateToken: __expectString(output.ListUpdateToken),
|
|
2535
|
-
PreviousAppsList: output.PreviousAppsList
|
|
2520
|
+
PreviousAppsList: output.PreviousAppsList != null
|
|
2536
2521
|
? deserializeAws_json1_1PreviousAppsList(output.PreviousAppsList, context)
|
|
2537
2522
|
: undefined,
|
|
2538
2523
|
};
|
|
2539
2524
|
};
|
|
2540
2525
|
var deserializeAws_json1_1AppsListDataSummary = function (output, context) {
|
|
2541
2526
|
return {
|
|
2542
|
-
AppsList: output.AppsList
|
|
2543
|
-
? deserializeAws_json1_1AppsList(output.AppsList, context)
|
|
2544
|
-
: undefined,
|
|
2527
|
+
AppsList: output.AppsList != null ? deserializeAws_json1_1AppsList(output.AppsList, context) : undefined,
|
|
2545
2528
|
ListArn: __expectString(output.ListArn),
|
|
2546
2529
|
ListId: __expectString(output.ListId),
|
|
2547
2530
|
ListName: __expectString(output.ListName),
|
|
@@ -2565,7 +2548,7 @@ var deserializeAws_json1_1AssociateThirdPartyFirewallResponse = function (output
|
|
|
2565
2548
|
};
|
|
2566
2549
|
var deserializeAws_json1_1AwsEc2InstanceViolation = function (output, context) {
|
|
2567
2550
|
return {
|
|
2568
|
-
AwsEc2NetworkInterfaceViolations: output.AwsEc2NetworkInterfaceViolations
|
|
2551
|
+
AwsEc2NetworkInterfaceViolations: output.AwsEc2NetworkInterfaceViolations != null
|
|
2569
2552
|
? deserializeAws_json1_1AwsEc2NetworkInterfaceViolations(output.AwsEc2NetworkInterfaceViolations, context)
|
|
2570
2553
|
: undefined,
|
|
2571
2554
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
@@ -2573,7 +2556,7 @@ var deserializeAws_json1_1AwsEc2InstanceViolation = function (output, context) {
|
|
|
2573
2556
|
};
|
|
2574
2557
|
var deserializeAws_json1_1AwsEc2NetworkInterfaceViolation = function (output, context) {
|
|
2575
2558
|
return {
|
|
2576
|
-
ViolatingSecurityGroups: output.ViolatingSecurityGroups
|
|
2559
|
+
ViolatingSecurityGroups: output.ViolatingSecurityGroups != null
|
|
2577
2560
|
? deserializeAws_json1_1ResourceIdList(output.ViolatingSecurityGroups, context)
|
|
2578
2561
|
: undefined,
|
|
2579
2562
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
@@ -2592,11 +2575,8 @@ var deserializeAws_json1_1AwsEc2NetworkInterfaceViolations = function (output, c
|
|
|
2592
2575
|
};
|
|
2593
2576
|
var deserializeAws_json1_1AwsVPCSecurityGroupViolation = function (output, context) {
|
|
2594
2577
|
return {
|
|
2595
|
-
PartialMatches: output.PartialMatches
|
|
2596
|
-
|
|
2597
|
-
: undefined,
|
|
2598
|
-
PossibleSecurityGroupRemediationActions: output.PossibleSecurityGroupRemediationActions !== undefined &&
|
|
2599
|
-
output.PossibleSecurityGroupRemediationActions !== null
|
|
2578
|
+
PartialMatches: output.PartialMatches != null ? deserializeAws_json1_1PartialMatches(output.PartialMatches, context) : undefined,
|
|
2579
|
+
PossibleSecurityGroupRemediationActions: output.PossibleSecurityGroupRemediationActions != null
|
|
2600
2580
|
? deserializeAws_json1_1SecurityGroupRemediationActions(output.PossibleSecurityGroupRemediationActions, context)
|
|
2601
2581
|
: undefined,
|
|
2602
2582
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
@@ -2605,9 +2585,7 @@ var deserializeAws_json1_1AwsVPCSecurityGroupViolation = function (output, conte
|
|
|
2605
2585
|
};
|
|
2606
2586
|
var deserializeAws_json1_1ComplianceViolator = function (output, context) {
|
|
2607
2587
|
return {
|
|
2608
|
-
Metadata: output.Metadata
|
|
2609
|
-
? deserializeAws_json1_1ComplianceViolatorMetadata(output.Metadata, context)
|
|
2610
|
-
: undefined,
|
|
2588
|
+
Metadata: output.Metadata != null ? deserializeAws_json1_1ComplianceViolatorMetadata(output.Metadata, context) : undefined,
|
|
2611
2589
|
ResourceId: __expectString(output.ResourceId),
|
|
2612
2590
|
ResourceType: __expectString(output.ResourceType),
|
|
2613
2591
|
ViolationReason: __expectString(output.ViolationReason),
|
|
@@ -2688,7 +2666,7 @@ var deserializeAws_json1_1DnsRuleGroupPriorityConflictViolation = function (outp
|
|
|
2688
2666
|
return {
|
|
2689
2667
|
ConflictingPolicyId: __expectString(output.ConflictingPolicyId),
|
|
2690
2668
|
ConflictingPriority: __expectInt32(output.ConflictingPriority),
|
|
2691
|
-
UnavailablePriorities: output.UnavailablePriorities
|
|
2669
|
+
UnavailablePriorities: output.UnavailablePriorities != null
|
|
2692
2670
|
? deserializeAws_json1_1DnsRuleGroupPriorities(output.UnavailablePriorities, context)
|
|
2693
2671
|
: undefined,
|
|
2694
2672
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
@@ -2698,26 +2676,16 @@ var deserializeAws_json1_1DnsRuleGroupPriorityConflictViolation = function (outp
|
|
|
2698
2676
|
var deserializeAws_json1_1EC2AssociateRouteTableAction = function (output, context) {
|
|
2699
2677
|
return {
|
|
2700
2678
|
Description: __expectString(output.Description),
|
|
2701
|
-
GatewayId: output.GatewayId
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
RouteTableId: output.RouteTableId !== undefined && output.RouteTableId !== null
|
|
2705
|
-
? deserializeAws_json1_1ActionTarget(output.RouteTableId, context)
|
|
2706
|
-
: undefined,
|
|
2707
|
-
SubnetId: output.SubnetId !== undefined && output.SubnetId !== null
|
|
2708
|
-
? deserializeAws_json1_1ActionTarget(output.SubnetId, context)
|
|
2709
|
-
: undefined,
|
|
2679
|
+
GatewayId: output.GatewayId != null ? deserializeAws_json1_1ActionTarget(output.GatewayId, context) : undefined,
|
|
2680
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2681
|
+
SubnetId: output.SubnetId != null ? deserializeAws_json1_1ActionTarget(output.SubnetId, context) : undefined,
|
|
2710
2682
|
};
|
|
2711
2683
|
};
|
|
2712
2684
|
var deserializeAws_json1_1EC2CopyRouteTableAction = function (output, context) {
|
|
2713
2685
|
return {
|
|
2714
2686
|
Description: __expectString(output.Description),
|
|
2715
|
-
RouteTableId: output.RouteTableId
|
|
2716
|
-
|
|
2717
|
-
: undefined,
|
|
2718
|
-
VpcId: output.VpcId !== undefined && output.VpcId !== null
|
|
2719
|
-
? deserializeAws_json1_1ActionTarget(output.VpcId, context)
|
|
2720
|
-
: undefined,
|
|
2687
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2688
|
+
VpcId: output.VpcId != null ? deserializeAws_json1_1ActionTarget(output.VpcId, context) : undefined,
|
|
2721
2689
|
};
|
|
2722
2690
|
};
|
|
2723
2691
|
var deserializeAws_json1_1EC2CreateRouteAction = function (output, context) {
|
|
@@ -2726,23 +2694,15 @@ var deserializeAws_json1_1EC2CreateRouteAction = function (output, context) {
|
|
|
2726
2694
|
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
2727
2695
|
DestinationIpv6CidrBlock: __expectString(output.DestinationIpv6CidrBlock),
|
|
2728
2696
|
DestinationPrefixListId: __expectString(output.DestinationPrefixListId),
|
|
2729
|
-
GatewayId: output.GatewayId
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
RouteTableId: output.RouteTableId !== undefined && output.RouteTableId !== null
|
|
2733
|
-
? deserializeAws_json1_1ActionTarget(output.RouteTableId, context)
|
|
2734
|
-
: undefined,
|
|
2735
|
-
VpcEndpointId: output.VpcEndpointId !== undefined && output.VpcEndpointId !== null
|
|
2736
|
-
? deserializeAws_json1_1ActionTarget(output.VpcEndpointId, context)
|
|
2737
|
-
: undefined,
|
|
2697
|
+
GatewayId: output.GatewayId != null ? deserializeAws_json1_1ActionTarget(output.GatewayId, context) : undefined,
|
|
2698
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2699
|
+
VpcEndpointId: output.VpcEndpointId != null ? deserializeAws_json1_1ActionTarget(output.VpcEndpointId, context) : undefined,
|
|
2738
2700
|
};
|
|
2739
2701
|
};
|
|
2740
2702
|
var deserializeAws_json1_1EC2CreateRouteTableAction = function (output, context) {
|
|
2741
2703
|
return {
|
|
2742
2704
|
Description: __expectString(output.Description),
|
|
2743
|
-
VpcId: output.VpcId
|
|
2744
|
-
? deserializeAws_json1_1ActionTarget(output.VpcId, context)
|
|
2745
|
-
: undefined,
|
|
2705
|
+
VpcId: output.VpcId != null ? deserializeAws_json1_1ActionTarget(output.VpcId, context) : undefined,
|
|
2746
2706
|
};
|
|
2747
2707
|
};
|
|
2748
2708
|
var deserializeAws_json1_1EC2DeleteRouteAction = function (output, context) {
|
|
@@ -2751,9 +2711,7 @@ var deserializeAws_json1_1EC2DeleteRouteAction = function (output, context) {
|
|
|
2751
2711
|
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
2752
2712
|
DestinationIpv6CidrBlock: __expectString(output.DestinationIpv6CidrBlock),
|
|
2753
2713
|
DestinationPrefixListId: __expectString(output.DestinationPrefixListId),
|
|
2754
|
-
RouteTableId: output.RouteTableId
|
|
2755
|
-
? deserializeAws_json1_1ActionTarget(output.RouteTableId, context)
|
|
2756
|
-
: undefined,
|
|
2714
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2757
2715
|
};
|
|
2758
2716
|
};
|
|
2759
2717
|
var deserializeAws_json1_1EC2ReplaceRouteAction = function (output, context) {
|
|
@@ -2762,23 +2720,15 @@ var deserializeAws_json1_1EC2ReplaceRouteAction = function (output, context) {
|
|
|
2762
2720
|
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
2763
2721
|
DestinationIpv6CidrBlock: __expectString(output.DestinationIpv6CidrBlock),
|
|
2764
2722
|
DestinationPrefixListId: __expectString(output.DestinationPrefixListId),
|
|
2765
|
-
GatewayId: output.GatewayId
|
|
2766
|
-
|
|
2767
|
-
: undefined,
|
|
2768
|
-
RouteTableId: output.RouteTableId !== undefined && output.RouteTableId !== null
|
|
2769
|
-
? deserializeAws_json1_1ActionTarget(output.RouteTableId, context)
|
|
2770
|
-
: undefined,
|
|
2723
|
+
GatewayId: output.GatewayId != null ? deserializeAws_json1_1ActionTarget(output.GatewayId, context) : undefined,
|
|
2724
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2771
2725
|
};
|
|
2772
2726
|
};
|
|
2773
2727
|
var deserializeAws_json1_1EC2ReplaceRouteTableAssociationAction = function (output, context) {
|
|
2774
2728
|
return {
|
|
2775
|
-
AssociationId: output.AssociationId
|
|
2776
|
-
? deserializeAws_json1_1ActionTarget(output.AssociationId, context)
|
|
2777
|
-
: undefined,
|
|
2729
|
+
AssociationId: output.AssociationId != null ? deserializeAws_json1_1ActionTarget(output.AssociationId, context) : undefined,
|
|
2778
2730
|
Description: __expectString(output.Description),
|
|
2779
|
-
RouteTableId: output.RouteTableId
|
|
2780
|
-
? deserializeAws_json1_1ActionTarget(output.RouteTableId, context)
|
|
2781
|
-
: undefined,
|
|
2731
|
+
RouteTableId: output.RouteTableId != null ? deserializeAws_json1_1ActionTarget(output.RouteTableId, context) : undefined,
|
|
2782
2732
|
};
|
|
2783
2733
|
};
|
|
2784
2734
|
var deserializeAws_json1_1EvaluationResult = function (output, context) {
|
|
@@ -2801,10 +2751,10 @@ var deserializeAws_json1_1EvaluationResults = function (output, context) {
|
|
|
2801
2751
|
};
|
|
2802
2752
|
var deserializeAws_json1_1ExpectedRoute = function (output, context) {
|
|
2803
2753
|
return {
|
|
2804
|
-
AllowedTargets: output.AllowedTargets
|
|
2754
|
+
AllowedTargets: output.AllowedTargets != null
|
|
2805
2755
|
? deserializeAws_json1_1LengthBoundedStringList(output.AllowedTargets, context)
|
|
2806
2756
|
: undefined,
|
|
2807
|
-
ContributingSubnets: output.ContributingSubnets
|
|
2757
|
+
ContributingSubnets: output.ContributingSubnets != null
|
|
2808
2758
|
? deserializeAws_json1_1ResourceIdList(output.ContributingSubnets, context)
|
|
2809
2759
|
: undefined,
|
|
2810
2760
|
IpV4Cidr: __expectString(output.IpV4Cidr),
|
|
@@ -2855,15 +2805,13 @@ var deserializeAws_json1_1GetAdminAccountResponse = function (output, context) {
|
|
|
2855
2805
|
};
|
|
2856
2806
|
var deserializeAws_json1_1GetAppsListResponse = function (output, context) {
|
|
2857
2807
|
return {
|
|
2858
|
-
AppsList: output.AppsList
|
|
2859
|
-
? deserializeAws_json1_1AppsListData(output.AppsList, context)
|
|
2860
|
-
: undefined,
|
|
2808
|
+
AppsList: output.AppsList != null ? deserializeAws_json1_1AppsListData(output.AppsList, context) : undefined,
|
|
2861
2809
|
AppsListArn: __expectString(output.AppsListArn),
|
|
2862
2810
|
};
|
|
2863
2811
|
};
|
|
2864
2812
|
var deserializeAws_json1_1GetComplianceDetailResponse = function (output, context) {
|
|
2865
2813
|
return {
|
|
2866
|
-
PolicyComplianceDetail: output.PolicyComplianceDetail
|
|
2814
|
+
PolicyComplianceDetail: output.PolicyComplianceDetail != null
|
|
2867
2815
|
? deserializeAws_json1_1PolicyComplianceDetail(output.PolicyComplianceDetail, context)
|
|
2868
2816
|
: undefined,
|
|
2869
2817
|
};
|
|
@@ -2876,9 +2824,7 @@ var deserializeAws_json1_1GetNotificationChannelResponse = function (output, con
|
|
|
2876
2824
|
};
|
|
2877
2825
|
var deserializeAws_json1_1GetPolicyResponse = function (output, context) {
|
|
2878
2826
|
return {
|
|
2879
|
-
Policy: output.Policy
|
|
2880
|
-
? deserializeAws_json1_1Policy(output.Policy, context)
|
|
2881
|
-
: undefined,
|
|
2827
|
+
Policy: output.Policy != null ? deserializeAws_json1_1Policy(output.Policy, context) : undefined,
|
|
2882
2828
|
PolicyArn: __expectString(output.PolicyArn),
|
|
2883
2829
|
};
|
|
2884
2830
|
};
|
|
@@ -2892,9 +2838,7 @@ var deserializeAws_json1_1GetProtectionStatusResponse = function (output, contex
|
|
|
2892
2838
|
};
|
|
2893
2839
|
var deserializeAws_json1_1GetProtocolsListResponse = function (output, context) {
|
|
2894
2840
|
return {
|
|
2895
|
-
ProtocolsList: output.ProtocolsList
|
|
2896
|
-
? deserializeAws_json1_1ProtocolsListData(output.ProtocolsList, context)
|
|
2897
|
-
: undefined,
|
|
2841
|
+
ProtocolsList: output.ProtocolsList != null ? deserializeAws_json1_1ProtocolsListData(output.ProtocolsList, context) : undefined,
|
|
2898
2842
|
ProtocolsListArn: __expectString(output.ProtocolsListArn),
|
|
2899
2843
|
};
|
|
2900
2844
|
};
|
|
@@ -2906,7 +2850,7 @@ var deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusResponse = funct
|
|
|
2906
2850
|
};
|
|
2907
2851
|
var deserializeAws_json1_1GetViolationDetailsResponse = function (output, context) {
|
|
2908
2852
|
return {
|
|
2909
|
-
ViolationDetail: output.ViolationDetail
|
|
2853
|
+
ViolationDetail: output.ViolationDetail != null
|
|
2910
2854
|
? deserializeAws_json1_1ViolationDetail(output.ViolationDetail, context)
|
|
2911
2855
|
: undefined,
|
|
2912
2856
|
};
|
|
@@ -2959,55 +2903,47 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
2959
2903
|
};
|
|
2960
2904
|
var deserializeAws_json1_1ListAppsListsResponse = function (output, context) {
|
|
2961
2905
|
return {
|
|
2962
|
-
AppsLists: output.AppsLists
|
|
2963
|
-
? deserializeAws_json1_1AppsListsData(output.AppsLists, context)
|
|
2964
|
-
: undefined,
|
|
2906
|
+
AppsLists: output.AppsLists != null ? deserializeAws_json1_1AppsListsData(output.AppsLists, context) : undefined,
|
|
2965
2907
|
NextToken: __expectString(output.NextToken),
|
|
2966
2908
|
};
|
|
2967
2909
|
};
|
|
2968
2910
|
var deserializeAws_json1_1ListComplianceStatusResponse = function (output, context) {
|
|
2969
2911
|
return {
|
|
2970
2912
|
NextToken: __expectString(output.NextToken),
|
|
2971
|
-
PolicyComplianceStatusList: output.PolicyComplianceStatusList
|
|
2913
|
+
PolicyComplianceStatusList: output.PolicyComplianceStatusList != null
|
|
2972
2914
|
? deserializeAws_json1_1PolicyComplianceStatusList(output.PolicyComplianceStatusList, context)
|
|
2973
2915
|
: undefined,
|
|
2974
2916
|
};
|
|
2975
2917
|
};
|
|
2976
2918
|
var deserializeAws_json1_1ListMemberAccountsResponse = function (output, context) {
|
|
2977
2919
|
return {
|
|
2978
|
-
MemberAccounts: output.MemberAccounts
|
|
2979
|
-
? deserializeAws_json1_1MemberAccounts(output.MemberAccounts, context)
|
|
2980
|
-
: undefined,
|
|
2920
|
+
MemberAccounts: output.MemberAccounts != null ? deserializeAws_json1_1MemberAccounts(output.MemberAccounts, context) : undefined,
|
|
2981
2921
|
NextToken: __expectString(output.NextToken),
|
|
2982
2922
|
};
|
|
2983
2923
|
};
|
|
2984
2924
|
var deserializeAws_json1_1ListPoliciesResponse = function (output, context) {
|
|
2985
2925
|
return {
|
|
2986
2926
|
NextToken: __expectString(output.NextToken),
|
|
2987
|
-
PolicyList: output.PolicyList
|
|
2988
|
-
? deserializeAws_json1_1PolicySummaryList(output.PolicyList, context)
|
|
2989
|
-
: undefined,
|
|
2927
|
+
PolicyList: output.PolicyList != null ? deserializeAws_json1_1PolicySummaryList(output.PolicyList, context) : undefined,
|
|
2990
2928
|
};
|
|
2991
2929
|
};
|
|
2992
2930
|
var deserializeAws_json1_1ListProtocolsListsResponse = function (output, context) {
|
|
2993
2931
|
return {
|
|
2994
2932
|
NextToken: __expectString(output.NextToken),
|
|
2995
|
-
ProtocolsLists: output.ProtocolsLists
|
|
2933
|
+
ProtocolsLists: output.ProtocolsLists != null
|
|
2996
2934
|
? deserializeAws_json1_1ProtocolsListsData(output.ProtocolsLists, context)
|
|
2997
2935
|
: undefined,
|
|
2998
2936
|
};
|
|
2999
2937
|
};
|
|
3000
2938
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
3001
2939
|
return {
|
|
3002
|
-
TagList: output.TagList
|
|
3003
|
-
? deserializeAws_json1_1TagList(output.TagList, context)
|
|
3004
|
-
: undefined,
|
|
2940
|
+
TagList: output.TagList != null ? deserializeAws_json1_1TagList(output.TagList, context) : undefined,
|
|
3005
2941
|
};
|
|
3006
2942
|
};
|
|
3007
2943
|
var deserializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesResponse = function (output, context) {
|
|
3008
2944
|
return {
|
|
3009
2945
|
NextToken: __expectString(output.NextToken),
|
|
3010
|
-
ThirdPartyFirewallFirewallPolicies: output.ThirdPartyFirewallFirewallPolicies
|
|
2946
|
+
ThirdPartyFirewallFirewallPolicies: output.ThirdPartyFirewallFirewallPolicies != null
|
|
3011
2947
|
? deserializeAws_json1_1ThirdPartyFirewallFirewallPolicies(output.ThirdPartyFirewallFirewallPolicies, context)
|
|
3012
2948
|
: undefined,
|
|
3013
2949
|
};
|
|
@@ -3037,28 +2973,26 @@ var deserializeAws_json1_1NetworkFirewallActionList = function (output, context)
|
|
|
3037
2973
|
var deserializeAws_json1_1NetworkFirewallBlackHoleRouteDetectedViolation = function (output, context) {
|
|
3038
2974
|
return {
|
|
3039
2975
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3040
|
-
ViolatingRoutes: output.ViolatingRoutes
|
|
3041
|
-
? deserializeAws_json1_1Routes(output.ViolatingRoutes, context)
|
|
3042
|
-
: undefined,
|
|
2976
|
+
ViolatingRoutes: output.ViolatingRoutes != null ? deserializeAws_json1_1Routes(output.ViolatingRoutes, context) : undefined,
|
|
3043
2977
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
3044
2978
|
VpcId: __expectString(output.VpcId),
|
|
3045
2979
|
};
|
|
3046
2980
|
};
|
|
3047
2981
|
var deserializeAws_json1_1NetworkFirewallInternetTrafficNotInspectedViolation = function (output, context) {
|
|
3048
2982
|
return {
|
|
3049
|
-
ActualFirewallSubnetRoutes: output.ActualFirewallSubnetRoutes
|
|
2983
|
+
ActualFirewallSubnetRoutes: output.ActualFirewallSubnetRoutes != null
|
|
3050
2984
|
? deserializeAws_json1_1Routes(output.ActualFirewallSubnetRoutes, context)
|
|
3051
2985
|
: undefined,
|
|
3052
|
-
ActualInternetGatewayRoutes: output.ActualInternetGatewayRoutes
|
|
2986
|
+
ActualInternetGatewayRoutes: output.ActualInternetGatewayRoutes != null
|
|
3053
2987
|
? deserializeAws_json1_1Routes(output.ActualInternetGatewayRoutes, context)
|
|
3054
2988
|
: undefined,
|
|
3055
2989
|
CurrentFirewallSubnetRouteTable: __expectString(output.CurrentFirewallSubnetRouteTable),
|
|
3056
2990
|
CurrentInternetGatewayRouteTable: __expectString(output.CurrentInternetGatewayRouteTable),
|
|
3057
2991
|
ExpectedFirewallEndpoint: __expectString(output.ExpectedFirewallEndpoint),
|
|
3058
|
-
ExpectedFirewallSubnetRoutes: output.ExpectedFirewallSubnetRoutes
|
|
2992
|
+
ExpectedFirewallSubnetRoutes: output.ExpectedFirewallSubnetRoutes != null
|
|
3059
2993
|
? deserializeAws_json1_1ExpectedRoutes(output.ExpectedFirewallSubnetRoutes, context)
|
|
3060
2994
|
: undefined,
|
|
3061
|
-
ExpectedInternetGatewayRoutes: output.ExpectedInternetGatewayRoutes
|
|
2995
|
+
ExpectedInternetGatewayRoutes: output.ExpectedInternetGatewayRoutes != null
|
|
3062
2996
|
? deserializeAws_json1_1ExpectedRoutes(output.ExpectedInternetGatewayRoutes, context)
|
|
3063
2997
|
: undefined,
|
|
3064
2998
|
FirewallSubnetId: __expectString(output.FirewallSubnetId),
|
|
@@ -3067,9 +3001,7 @@ var deserializeAws_json1_1NetworkFirewallInternetTrafficNotInspectedViolation =
|
|
|
3067
3001
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3068
3002
|
SubnetAvailabilityZone: __expectString(output.SubnetAvailabilityZone),
|
|
3069
3003
|
SubnetId: __expectString(output.SubnetId),
|
|
3070
|
-
ViolatingRoutes: output.ViolatingRoutes
|
|
3071
|
-
? deserializeAws_json1_1Routes(output.ViolatingRoutes, context)
|
|
3072
|
-
: undefined,
|
|
3004
|
+
ViolatingRoutes: output.ViolatingRoutes != null ? deserializeAws_json1_1Routes(output.ViolatingRoutes, context) : undefined,
|
|
3073
3005
|
VpcId: __expectString(output.VpcId),
|
|
3074
3006
|
};
|
|
3075
3007
|
};
|
|
@@ -3077,39 +3009,35 @@ var deserializeAws_json1_1NetworkFirewallInvalidRouteConfigurationViolation = fu
|
|
|
3077
3009
|
return {
|
|
3078
3010
|
ActualFirewallEndpoint: __expectString(output.ActualFirewallEndpoint),
|
|
3079
3011
|
ActualFirewallSubnetId: __expectString(output.ActualFirewallSubnetId),
|
|
3080
|
-
ActualFirewallSubnetRoutes: output.ActualFirewallSubnetRoutes
|
|
3012
|
+
ActualFirewallSubnetRoutes: output.ActualFirewallSubnetRoutes != null
|
|
3081
3013
|
? deserializeAws_json1_1Routes(output.ActualFirewallSubnetRoutes, context)
|
|
3082
3014
|
: undefined,
|
|
3083
|
-
ActualInternetGatewayRoutes: output.ActualInternetGatewayRoutes
|
|
3015
|
+
ActualInternetGatewayRoutes: output.ActualInternetGatewayRoutes != null
|
|
3084
3016
|
? deserializeAws_json1_1Routes(output.ActualInternetGatewayRoutes, context)
|
|
3085
3017
|
: undefined,
|
|
3086
|
-
AffectedSubnets: output.AffectedSubnets
|
|
3018
|
+
AffectedSubnets: output.AffectedSubnets != null
|
|
3087
3019
|
? deserializeAws_json1_1ResourceIdList(output.AffectedSubnets, context)
|
|
3088
3020
|
: undefined,
|
|
3089
3021
|
CurrentFirewallSubnetRouteTable: __expectString(output.CurrentFirewallSubnetRouteTable),
|
|
3090
3022
|
CurrentInternetGatewayRouteTable: __expectString(output.CurrentInternetGatewayRouteTable),
|
|
3091
3023
|
ExpectedFirewallEndpoint: __expectString(output.ExpectedFirewallEndpoint),
|
|
3092
3024
|
ExpectedFirewallSubnetId: __expectString(output.ExpectedFirewallSubnetId),
|
|
3093
|
-
ExpectedFirewallSubnetRoutes: output.ExpectedFirewallSubnetRoutes
|
|
3025
|
+
ExpectedFirewallSubnetRoutes: output.ExpectedFirewallSubnetRoutes != null
|
|
3094
3026
|
? deserializeAws_json1_1ExpectedRoutes(output.ExpectedFirewallSubnetRoutes, context)
|
|
3095
3027
|
: undefined,
|
|
3096
|
-
ExpectedInternetGatewayRoutes: output.ExpectedInternetGatewayRoutes
|
|
3028
|
+
ExpectedInternetGatewayRoutes: output.ExpectedInternetGatewayRoutes != null
|
|
3097
3029
|
? deserializeAws_json1_1ExpectedRoutes(output.ExpectedInternetGatewayRoutes, context)
|
|
3098
3030
|
: undefined,
|
|
3099
3031
|
InternetGatewayId: __expectString(output.InternetGatewayId),
|
|
3100
3032
|
IsRouteTableUsedInDifferentAZ: __expectBoolean(output.IsRouteTableUsedInDifferentAZ),
|
|
3101
3033
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3102
|
-
ViolatingRoute: output.ViolatingRoute
|
|
3103
|
-
? deserializeAws_json1_1Route(output.ViolatingRoute, context)
|
|
3104
|
-
: undefined,
|
|
3034
|
+
ViolatingRoute: output.ViolatingRoute != null ? deserializeAws_json1_1Route(output.ViolatingRoute, context) : undefined,
|
|
3105
3035
|
VpcId: __expectString(output.VpcId),
|
|
3106
3036
|
};
|
|
3107
3037
|
};
|
|
3108
3038
|
var deserializeAws_json1_1NetworkFirewallMissingExpectedRoutesViolation = function (output, context) {
|
|
3109
3039
|
return {
|
|
3110
|
-
ExpectedRoutes: output.ExpectedRoutes
|
|
3111
|
-
? deserializeAws_json1_1ExpectedRoutes(output.ExpectedRoutes, context)
|
|
3112
|
-
: undefined,
|
|
3040
|
+
ExpectedRoutes: output.ExpectedRoutes != null ? deserializeAws_json1_1ExpectedRoutes(output.ExpectedRoutes, context) : undefined,
|
|
3113
3041
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
3114
3042
|
VpcId: __expectString(output.VpcId),
|
|
3115
3043
|
};
|
|
@@ -3146,29 +3074,29 @@ var deserializeAws_json1_1NetworkFirewallPolicy = function (output, context) {
|
|
|
3146
3074
|
};
|
|
3147
3075
|
var deserializeAws_json1_1NetworkFirewallPolicyDescription = function (output, context) {
|
|
3148
3076
|
return {
|
|
3149
|
-
StatefulRuleGroups: output.StatefulRuleGroups
|
|
3077
|
+
StatefulRuleGroups: output.StatefulRuleGroups != null
|
|
3150
3078
|
? deserializeAws_json1_1StatefulRuleGroupList(output.StatefulRuleGroups, context)
|
|
3151
3079
|
: undefined,
|
|
3152
|
-
StatelessCustomActions: output.StatelessCustomActions
|
|
3080
|
+
StatelessCustomActions: output.StatelessCustomActions != null
|
|
3153
3081
|
? deserializeAws_json1_1NetworkFirewallActionList(output.StatelessCustomActions, context)
|
|
3154
3082
|
: undefined,
|
|
3155
|
-
StatelessDefaultActions: output.StatelessDefaultActions
|
|
3083
|
+
StatelessDefaultActions: output.StatelessDefaultActions != null
|
|
3156
3084
|
? deserializeAws_json1_1NetworkFirewallActionList(output.StatelessDefaultActions, context)
|
|
3157
3085
|
: undefined,
|
|
3158
|
-
StatelessFragmentDefaultActions: output.StatelessFragmentDefaultActions
|
|
3086
|
+
StatelessFragmentDefaultActions: output.StatelessFragmentDefaultActions != null
|
|
3159
3087
|
? deserializeAws_json1_1NetworkFirewallActionList(output.StatelessFragmentDefaultActions, context)
|
|
3160
3088
|
: undefined,
|
|
3161
|
-
StatelessRuleGroups: output.StatelessRuleGroups
|
|
3089
|
+
StatelessRuleGroups: output.StatelessRuleGroups != null
|
|
3162
3090
|
? deserializeAws_json1_1StatelessRuleGroupList(output.StatelessRuleGroups, context)
|
|
3163
3091
|
: undefined,
|
|
3164
3092
|
};
|
|
3165
3093
|
};
|
|
3166
3094
|
var deserializeAws_json1_1NetworkFirewallPolicyModifiedViolation = function (output, context) {
|
|
3167
3095
|
return {
|
|
3168
|
-
CurrentPolicyDescription: output.CurrentPolicyDescription
|
|
3096
|
+
CurrentPolicyDescription: output.CurrentPolicyDescription != null
|
|
3169
3097
|
? deserializeAws_json1_1NetworkFirewallPolicyDescription(output.CurrentPolicyDescription, context)
|
|
3170
3098
|
: undefined,
|
|
3171
|
-
ExpectedPolicyDescription: output.ExpectedPolicyDescription
|
|
3099
|
+
ExpectedPolicyDescription: output.ExpectedPolicyDescription != null
|
|
3172
3100
|
? deserializeAws_json1_1NetworkFirewallPolicyDescription(output.ExpectedPolicyDescription, context)
|
|
3173
3101
|
: undefined,
|
|
3174
3102
|
ViolationTarget: __expectString(output.ViolationTarget),
|
|
@@ -3179,9 +3107,7 @@ var deserializeAws_json1_1NetworkFirewallUnexpectedFirewallRoutesViolation = fun
|
|
|
3179
3107
|
FirewallEndpoint: __expectString(output.FirewallEndpoint),
|
|
3180
3108
|
FirewallSubnetId: __expectString(output.FirewallSubnetId),
|
|
3181
3109
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3182
|
-
ViolatingRoutes: output.ViolatingRoutes
|
|
3183
|
-
? deserializeAws_json1_1Routes(output.ViolatingRoutes, context)
|
|
3184
|
-
: undefined,
|
|
3110
|
+
ViolatingRoutes: output.ViolatingRoutes != null ? deserializeAws_json1_1Routes(output.ViolatingRoutes, context) : undefined,
|
|
3185
3111
|
VpcId: __expectString(output.VpcId),
|
|
3186
3112
|
};
|
|
3187
3113
|
};
|
|
@@ -3189,9 +3115,7 @@ var deserializeAws_json1_1NetworkFirewallUnexpectedGatewayRoutesViolation = func
|
|
|
3189
3115
|
return {
|
|
3190
3116
|
GatewayId: __expectString(output.GatewayId),
|
|
3191
3117
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3192
|
-
ViolatingRoutes: output.ViolatingRoutes
|
|
3193
|
-
? deserializeAws_json1_1Routes(output.ViolatingRoutes, context)
|
|
3194
|
-
: undefined,
|
|
3118
|
+
ViolatingRoutes: output.ViolatingRoutes != null ? deserializeAws_json1_1Routes(output.ViolatingRoutes, context) : undefined,
|
|
3195
3119
|
VpcId: __expectString(output.VpcId),
|
|
3196
3120
|
};
|
|
3197
3121
|
};
|
|
@@ -3209,7 +3133,7 @@ var deserializeAws_json1_1OrderedRemediationActions = function (output, context)
|
|
|
3209
3133
|
var deserializeAws_json1_1PartialMatch = function (output, context) {
|
|
3210
3134
|
return {
|
|
3211
3135
|
Reference: __expectString(output.Reference),
|
|
3212
|
-
TargetViolationReasons: output.TargetViolationReasons
|
|
3136
|
+
TargetViolationReasons: output.TargetViolationReasons != null
|
|
3213
3137
|
? deserializeAws_json1_1TargetViolationReasons(output.TargetViolationReasons, context)
|
|
3214
3138
|
: undefined,
|
|
3215
3139
|
};
|
|
@@ -3228,25 +3152,19 @@ var deserializeAws_json1_1PartialMatches = function (output, context) {
|
|
|
3228
3152
|
var deserializeAws_json1_1Policy = function (output, context) {
|
|
3229
3153
|
return {
|
|
3230
3154
|
DeleteUnusedFMManagedResources: __expectBoolean(output.DeleteUnusedFMManagedResources),
|
|
3231
|
-
ExcludeMap: output.ExcludeMap
|
|
3232
|
-
? deserializeAws_json1_1CustomerPolicyScopeMap(output.ExcludeMap, context)
|
|
3233
|
-
: undefined,
|
|
3155
|
+
ExcludeMap: output.ExcludeMap != null ? deserializeAws_json1_1CustomerPolicyScopeMap(output.ExcludeMap, context) : undefined,
|
|
3234
3156
|
ExcludeResourceTags: __expectBoolean(output.ExcludeResourceTags),
|
|
3235
|
-
IncludeMap: output.IncludeMap
|
|
3236
|
-
? deserializeAws_json1_1CustomerPolicyScopeMap(output.IncludeMap, context)
|
|
3237
|
-
: undefined,
|
|
3157
|
+
IncludeMap: output.IncludeMap != null ? deserializeAws_json1_1CustomerPolicyScopeMap(output.IncludeMap, context) : undefined,
|
|
3238
3158
|
PolicyId: __expectString(output.PolicyId),
|
|
3239
3159
|
PolicyName: __expectString(output.PolicyName),
|
|
3240
3160
|
PolicyUpdateToken: __expectString(output.PolicyUpdateToken),
|
|
3241
3161
|
RemediationEnabled: __expectBoolean(output.RemediationEnabled),
|
|
3242
|
-
ResourceTags: output.ResourceTags
|
|
3243
|
-
? deserializeAws_json1_1ResourceTags(output.ResourceTags, context)
|
|
3244
|
-
: undefined,
|
|
3162
|
+
ResourceTags: output.ResourceTags != null ? deserializeAws_json1_1ResourceTags(output.ResourceTags, context) : undefined,
|
|
3245
3163
|
ResourceType: __expectString(output.ResourceType),
|
|
3246
|
-
ResourceTypeList: output.ResourceTypeList
|
|
3164
|
+
ResourceTypeList: output.ResourceTypeList != null
|
|
3247
3165
|
? deserializeAws_json1_1ResourceTypeList(output.ResourceTypeList, context)
|
|
3248
3166
|
: undefined,
|
|
3249
|
-
SecurityServicePolicyData: output.SecurityServicePolicyData
|
|
3167
|
+
SecurityServicePolicyData: output.SecurityServicePolicyData != null
|
|
3250
3168
|
? deserializeAws_json1_1SecurityServicePolicyData(output.SecurityServicePolicyData, context)
|
|
3251
3169
|
: undefined,
|
|
3252
3170
|
};
|
|
@@ -3254,29 +3172,21 @@ var deserializeAws_json1_1Policy = function (output, context) {
|
|
|
3254
3172
|
var deserializeAws_json1_1PolicyComplianceDetail = function (output, context) {
|
|
3255
3173
|
return {
|
|
3256
3174
|
EvaluationLimitExceeded: __expectBoolean(output.EvaluationLimitExceeded),
|
|
3257
|
-
ExpiredAt: output.ExpiredAt
|
|
3258
|
-
|
|
3259
|
-
: undefined,
|
|
3260
|
-
IssueInfoMap: output.IssueInfoMap !== undefined && output.IssueInfoMap !== null
|
|
3261
|
-
? deserializeAws_json1_1IssueInfoMap(output.IssueInfoMap, context)
|
|
3262
|
-
: undefined,
|
|
3175
|
+
ExpiredAt: output.ExpiredAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpiredAt))) : undefined,
|
|
3176
|
+
IssueInfoMap: output.IssueInfoMap != null ? deserializeAws_json1_1IssueInfoMap(output.IssueInfoMap, context) : undefined,
|
|
3263
3177
|
MemberAccount: __expectString(output.MemberAccount),
|
|
3264
3178
|
PolicyId: __expectString(output.PolicyId),
|
|
3265
3179
|
PolicyOwner: __expectString(output.PolicyOwner),
|
|
3266
|
-
Violators: output.Violators
|
|
3267
|
-
? deserializeAws_json1_1ComplianceViolators(output.Violators, context)
|
|
3268
|
-
: undefined,
|
|
3180
|
+
Violators: output.Violators != null ? deserializeAws_json1_1ComplianceViolators(output.Violators, context) : undefined,
|
|
3269
3181
|
};
|
|
3270
3182
|
};
|
|
3271
3183
|
var deserializeAws_json1_1PolicyComplianceStatus = function (output, context) {
|
|
3272
3184
|
return {
|
|
3273
|
-
EvaluationResults: output.EvaluationResults
|
|
3185
|
+
EvaluationResults: output.EvaluationResults != null
|
|
3274
3186
|
? deserializeAws_json1_1EvaluationResults(output.EvaluationResults, context)
|
|
3275
3187
|
: undefined,
|
|
3276
|
-
IssueInfoMap: output.IssueInfoMap
|
|
3277
|
-
|
|
3278
|
-
: undefined,
|
|
3279
|
-
LastUpdated: output.LastUpdated !== undefined && output.LastUpdated !== null
|
|
3188
|
+
IssueInfoMap: output.IssueInfoMap != null ? deserializeAws_json1_1IssueInfoMap(output.IssueInfoMap, context) : undefined,
|
|
3189
|
+
LastUpdated: output.LastUpdated != null
|
|
3280
3190
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdated)))
|
|
3281
3191
|
: undefined,
|
|
3282
3192
|
MemberAccount: __expectString(output.MemberAccount),
|
|
@@ -3298,10 +3208,10 @@ var deserializeAws_json1_1PolicyComplianceStatusList = function (output, context
|
|
|
3298
3208
|
};
|
|
3299
3209
|
var deserializeAws_json1_1PolicyOption = function (output, context) {
|
|
3300
3210
|
return {
|
|
3301
|
-
NetworkFirewallPolicy: output.NetworkFirewallPolicy
|
|
3211
|
+
NetworkFirewallPolicy: output.NetworkFirewallPolicy != null
|
|
3302
3212
|
? deserializeAws_json1_1NetworkFirewallPolicy(output.NetworkFirewallPolicy, context)
|
|
3303
3213
|
: undefined,
|
|
3304
|
-
ThirdPartyFirewallPolicy: output.ThirdPartyFirewallPolicy
|
|
3214
|
+
ThirdPartyFirewallPolicy: output.ThirdPartyFirewallPolicy != null
|
|
3305
3215
|
? deserializeAws_json1_1ThirdPartyFirewallPolicy(output.ThirdPartyFirewallPolicy, context)
|
|
3306
3216
|
: undefined,
|
|
3307
3217
|
};
|
|
@@ -3332,7 +3242,7 @@ var deserializeAws_json1_1PossibleRemediationAction = function (output, context)
|
|
|
3332
3242
|
return {
|
|
3333
3243
|
Description: __expectString(output.Description),
|
|
3334
3244
|
IsDefaultAction: __expectBoolean(output.IsDefaultAction),
|
|
3335
|
-
OrderedRemediationActions: output.OrderedRemediationActions
|
|
3245
|
+
OrderedRemediationActions: output.OrderedRemediationActions != null
|
|
3336
3246
|
? deserializeAws_json1_1OrderedRemediationActions(output.OrderedRemediationActions, context)
|
|
3337
3247
|
: undefined,
|
|
3338
3248
|
};
|
|
@@ -3350,9 +3260,7 @@ var deserializeAws_json1_1PossibleRemediationActionList = function (output, cont
|
|
|
3350
3260
|
};
|
|
3351
3261
|
var deserializeAws_json1_1PossibleRemediationActions = function (output, context) {
|
|
3352
3262
|
return {
|
|
3353
|
-
Actions: output.Actions
|
|
3354
|
-
? deserializeAws_json1_1PossibleRemediationActionList(output.Actions, context)
|
|
3355
|
-
: undefined,
|
|
3263
|
+
Actions: output.Actions != null ? deserializeAws_json1_1PossibleRemediationActionList(output.Actions, context) : undefined,
|
|
3356
3264
|
Description: __expectString(output.Description),
|
|
3357
3265
|
};
|
|
3358
3266
|
};
|
|
@@ -3389,21 +3297,17 @@ var deserializeAws_json1_1ProtocolsList = function (output, context) {
|
|
|
3389
3297
|
};
|
|
3390
3298
|
var deserializeAws_json1_1ProtocolsListData = function (output, context) {
|
|
3391
3299
|
return {
|
|
3392
|
-
CreateTime: output.CreateTime
|
|
3393
|
-
|
|
3394
|
-
: undefined,
|
|
3395
|
-
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
3300
|
+
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
3301
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
3396
3302
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
3397
3303
|
: undefined,
|
|
3398
3304
|
ListId: __expectString(output.ListId),
|
|
3399
3305
|
ListName: __expectString(output.ListName),
|
|
3400
3306
|
ListUpdateToken: __expectString(output.ListUpdateToken),
|
|
3401
|
-
PreviousProtocolsList: output.PreviousProtocolsList
|
|
3307
|
+
PreviousProtocolsList: output.PreviousProtocolsList != null
|
|
3402
3308
|
? deserializeAws_json1_1PreviousProtocolsList(output.PreviousProtocolsList, context)
|
|
3403
3309
|
: undefined,
|
|
3404
|
-
ProtocolsList: output.ProtocolsList
|
|
3405
|
-
? deserializeAws_json1_1ProtocolsList(output.ProtocolsList, context)
|
|
3406
|
-
: undefined,
|
|
3310
|
+
ProtocolsList: output.ProtocolsList != null ? deserializeAws_json1_1ProtocolsList(output.ProtocolsList, context) : undefined,
|
|
3407
3311
|
};
|
|
3408
3312
|
};
|
|
3409
3313
|
var deserializeAws_json1_1ProtocolsListDataSummary = function (output, context) {
|
|
@@ -3411,9 +3315,7 @@ var deserializeAws_json1_1ProtocolsListDataSummary = function (output, context)
|
|
|
3411
3315
|
ListArn: __expectString(output.ListArn),
|
|
3412
3316
|
ListId: __expectString(output.ListId),
|
|
3413
3317
|
ListName: __expectString(output.ListName),
|
|
3414
|
-
ProtocolsList: output.ProtocolsList
|
|
3415
|
-
? deserializeAws_json1_1ProtocolsList(output.ProtocolsList, context)
|
|
3416
|
-
: undefined,
|
|
3318
|
+
ProtocolsList: output.ProtocolsList != null ? deserializeAws_json1_1ProtocolsList(output.ProtocolsList, context) : undefined,
|
|
3417
3319
|
};
|
|
3418
3320
|
};
|
|
3419
3321
|
var deserializeAws_json1_1ProtocolsListsData = function (output, context) {
|
|
@@ -3429,55 +3331,47 @@ var deserializeAws_json1_1ProtocolsListsData = function (output, context) {
|
|
|
3429
3331
|
};
|
|
3430
3332
|
var deserializeAws_json1_1PutAppsListResponse = function (output, context) {
|
|
3431
3333
|
return {
|
|
3432
|
-
AppsList: output.AppsList
|
|
3433
|
-
? deserializeAws_json1_1AppsListData(output.AppsList, context)
|
|
3434
|
-
: undefined,
|
|
3334
|
+
AppsList: output.AppsList != null ? deserializeAws_json1_1AppsListData(output.AppsList, context) : undefined,
|
|
3435
3335
|
AppsListArn: __expectString(output.AppsListArn),
|
|
3436
3336
|
};
|
|
3437
3337
|
};
|
|
3438
3338
|
var deserializeAws_json1_1PutPolicyResponse = function (output, context) {
|
|
3439
3339
|
return {
|
|
3440
|
-
Policy: output.Policy
|
|
3441
|
-
? deserializeAws_json1_1Policy(output.Policy, context)
|
|
3442
|
-
: undefined,
|
|
3340
|
+
Policy: output.Policy != null ? deserializeAws_json1_1Policy(output.Policy, context) : undefined,
|
|
3443
3341
|
PolicyArn: __expectString(output.PolicyArn),
|
|
3444
3342
|
};
|
|
3445
3343
|
};
|
|
3446
3344
|
var deserializeAws_json1_1PutProtocolsListResponse = function (output, context) {
|
|
3447
3345
|
return {
|
|
3448
|
-
ProtocolsList: output.ProtocolsList
|
|
3449
|
-
? deserializeAws_json1_1ProtocolsListData(output.ProtocolsList, context)
|
|
3450
|
-
: undefined,
|
|
3346
|
+
ProtocolsList: output.ProtocolsList != null ? deserializeAws_json1_1ProtocolsListData(output.ProtocolsList, context) : undefined,
|
|
3451
3347
|
ProtocolsListArn: __expectString(output.ProtocolsListArn),
|
|
3452
3348
|
};
|
|
3453
3349
|
};
|
|
3454
3350
|
var deserializeAws_json1_1RemediationAction = function (output, context) {
|
|
3455
3351
|
return {
|
|
3456
3352
|
Description: __expectString(output.Description),
|
|
3457
|
-
EC2AssociateRouteTableAction: output.EC2AssociateRouteTableAction
|
|
3353
|
+
EC2AssociateRouteTableAction: output.EC2AssociateRouteTableAction != null
|
|
3458
3354
|
? deserializeAws_json1_1EC2AssociateRouteTableAction(output.EC2AssociateRouteTableAction, context)
|
|
3459
3355
|
: undefined,
|
|
3460
|
-
EC2CopyRouteTableAction: output.EC2CopyRouteTableAction
|
|
3356
|
+
EC2CopyRouteTableAction: output.EC2CopyRouteTableAction != null
|
|
3461
3357
|
? deserializeAws_json1_1EC2CopyRouteTableAction(output.EC2CopyRouteTableAction, context)
|
|
3462
3358
|
: undefined,
|
|
3463
|
-
EC2CreateRouteAction: output.EC2CreateRouteAction
|
|
3359
|
+
EC2CreateRouteAction: output.EC2CreateRouteAction != null
|
|
3464
3360
|
? deserializeAws_json1_1EC2CreateRouteAction(output.EC2CreateRouteAction, context)
|
|
3465
3361
|
: undefined,
|
|
3466
|
-
EC2CreateRouteTableAction: output.EC2CreateRouteTableAction
|
|
3362
|
+
EC2CreateRouteTableAction: output.EC2CreateRouteTableAction != null
|
|
3467
3363
|
? deserializeAws_json1_1EC2CreateRouteTableAction(output.EC2CreateRouteTableAction, context)
|
|
3468
3364
|
: undefined,
|
|
3469
|
-
EC2DeleteRouteAction: output.EC2DeleteRouteAction
|
|
3365
|
+
EC2DeleteRouteAction: output.EC2DeleteRouteAction != null
|
|
3470
3366
|
? deserializeAws_json1_1EC2DeleteRouteAction(output.EC2DeleteRouteAction, context)
|
|
3471
3367
|
: undefined,
|
|
3472
|
-
EC2ReplaceRouteAction: output.EC2ReplaceRouteAction
|
|
3368
|
+
EC2ReplaceRouteAction: output.EC2ReplaceRouteAction != null
|
|
3473
3369
|
? deserializeAws_json1_1EC2ReplaceRouteAction(output.EC2ReplaceRouteAction, context)
|
|
3474
3370
|
: undefined,
|
|
3475
|
-
EC2ReplaceRouteTableAssociationAction: output.EC2ReplaceRouteTableAssociationAction
|
|
3476
|
-
output.EC2ReplaceRouteTableAssociationAction !== null
|
|
3371
|
+
EC2ReplaceRouteTableAssociationAction: output.EC2ReplaceRouteTableAssociationAction != null
|
|
3477
3372
|
? deserializeAws_json1_1EC2ReplaceRouteTableAssociationAction(output.EC2ReplaceRouteTableAssociationAction, context)
|
|
3478
3373
|
: undefined,
|
|
3479
|
-
FMSPolicyUpdateFirewallCreationConfigAction: output.FMSPolicyUpdateFirewallCreationConfigAction
|
|
3480
|
-
output.FMSPolicyUpdateFirewallCreationConfigAction !== null
|
|
3374
|
+
FMSPolicyUpdateFirewallCreationConfigAction: output.FMSPolicyUpdateFirewallCreationConfigAction != null
|
|
3481
3375
|
? deserializeAws_json1_1FMSPolicyUpdateFirewallCreationConfigAction(output.FMSPolicyUpdateFirewallCreationConfigAction, context)
|
|
3482
3376
|
: undefined,
|
|
3483
3377
|
};
|
|
@@ -3485,7 +3379,7 @@ var deserializeAws_json1_1RemediationAction = function (output, context) {
|
|
|
3485
3379
|
var deserializeAws_json1_1RemediationActionWithOrder = function (output, context) {
|
|
3486
3380
|
return {
|
|
3487
3381
|
Order: __expectInt32(output.Order),
|
|
3488
|
-
RemediationAction: output.RemediationAction
|
|
3382
|
+
RemediationAction: output.RemediationAction != null
|
|
3489
3383
|
? deserializeAws_json1_1RemediationAction(output.RemediationAction, context)
|
|
3490
3384
|
: undefined,
|
|
3491
3385
|
};
|
|
@@ -3536,88 +3430,73 @@ var deserializeAws_json1_1ResourceTypeList = function (output, context) {
|
|
|
3536
3430
|
};
|
|
3537
3431
|
var deserializeAws_json1_1ResourceViolation = function (output, context) {
|
|
3538
3432
|
return {
|
|
3539
|
-
AwsEc2InstanceViolation: output.AwsEc2InstanceViolation
|
|
3433
|
+
AwsEc2InstanceViolation: output.AwsEc2InstanceViolation != null
|
|
3540
3434
|
? deserializeAws_json1_1AwsEc2InstanceViolation(output.AwsEc2InstanceViolation, context)
|
|
3541
3435
|
: undefined,
|
|
3542
|
-
AwsEc2NetworkInterfaceViolation: output.AwsEc2NetworkInterfaceViolation
|
|
3436
|
+
AwsEc2NetworkInterfaceViolation: output.AwsEc2NetworkInterfaceViolation != null
|
|
3543
3437
|
? deserializeAws_json1_1AwsEc2NetworkInterfaceViolation(output.AwsEc2NetworkInterfaceViolation, context)
|
|
3544
3438
|
: undefined,
|
|
3545
|
-
AwsVPCSecurityGroupViolation: output.AwsVPCSecurityGroupViolation
|
|
3439
|
+
AwsVPCSecurityGroupViolation: output.AwsVPCSecurityGroupViolation != null
|
|
3546
3440
|
? deserializeAws_json1_1AwsVPCSecurityGroupViolation(output.AwsVPCSecurityGroupViolation, context)
|
|
3547
3441
|
: undefined,
|
|
3548
|
-
DnsDuplicateRuleGroupViolation: output.DnsDuplicateRuleGroupViolation
|
|
3442
|
+
DnsDuplicateRuleGroupViolation: output.DnsDuplicateRuleGroupViolation != null
|
|
3549
3443
|
? deserializeAws_json1_1DnsDuplicateRuleGroupViolation(output.DnsDuplicateRuleGroupViolation, context)
|
|
3550
3444
|
: undefined,
|
|
3551
|
-
DnsRuleGroupLimitExceededViolation: output.DnsRuleGroupLimitExceededViolation
|
|
3445
|
+
DnsRuleGroupLimitExceededViolation: output.DnsRuleGroupLimitExceededViolation != null
|
|
3552
3446
|
? deserializeAws_json1_1DnsRuleGroupLimitExceededViolation(output.DnsRuleGroupLimitExceededViolation, context)
|
|
3553
3447
|
: undefined,
|
|
3554
|
-
DnsRuleGroupPriorityConflictViolation: output.DnsRuleGroupPriorityConflictViolation
|
|
3555
|
-
output.DnsRuleGroupPriorityConflictViolation !== null
|
|
3448
|
+
DnsRuleGroupPriorityConflictViolation: output.DnsRuleGroupPriorityConflictViolation != null
|
|
3556
3449
|
? deserializeAws_json1_1DnsRuleGroupPriorityConflictViolation(output.DnsRuleGroupPriorityConflictViolation, context)
|
|
3557
3450
|
: undefined,
|
|
3558
|
-
FirewallSubnetIsOutOfScopeViolation: output.FirewallSubnetIsOutOfScopeViolation
|
|
3451
|
+
FirewallSubnetIsOutOfScopeViolation: output.FirewallSubnetIsOutOfScopeViolation != null
|
|
3559
3452
|
? deserializeAws_json1_1FirewallSubnetIsOutOfScopeViolation(output.FirewallSubnetIsOutOfScopeViolation, context)
|
|
3560
3453
|
: undefined,
|
|
3561
|
-
FirewallSubnetMissingVPCEndpointViolation: output.FirewallSubnetMissingVPCEndpointViolation
|
|
3562
|
-
output.FirewallSubnetMissingVPCEndpointViolation !== null
|
|
3454
|
+
FirewallSubnetMissingVPCEndpointViolation: output.FirewallSubnetMissingVPCEndpointViolation != null
|
|
3563
3455
|
? deserializeAws_json1_1FirewallSubnetMissingVPCEndpointViolation(output.FirewallSubnetMissingVPCEndpointViolation, context)
|
|
3564
3456
|
: undefined,
|
|
3565
|
-
NetworkFirewallBlackHoleRouteDetectedViolation: output.NetworkFirewallBlackHoleRouteDetectedViolation
|
|
3566
|
-
output.NetworkFirewallBlackHoleRouteDetectedViolation !== null
|
|
3457
|
+
NetworkFirewallBlackHoleRouteDetectedViolation: output.NetworkFirewallBlackHoleRouteDetectedViolation != null
|
|
3567
3458
|
? deserializeAws_json1_1NetworkFirewallBlackHoleRouteDetectedViolation(output.NetworkFirewallBlackHoleRouteDetectedViolation, context)
|
|
3568
3459
|
: undefined,
|
|
3569
|
-
NetworkFirewallInternetTrafficNotInspectedViolation: output.NetworkFirewallInternetTrafficNotInspectedViolation
|
|
3570
|
-
output.NetworkFirewallInternetTrafficNotInspectedViolation !== null
|
|
3460
|
+
NetworkFirewallInternetTrafficNotInspectedViolation: output.NetworkFirewallInternetTrafficNotInspectedViolation != null
|
|
3571
3461
|
? deserializeAws_json1_1NetworkFirewallInternetTrafficNotInspectedViolation(output.NetworkFirewallInternetTrafficNotInspectedViolation, context)
|
|
3572
3462
|
: undefined,
|
|
3573
|
-
NetworkFirewallInvalidRouteConfigurationViolation: output.NetworkFirewallInvalidRouteConfigurationViolation
|
|
3574
|
-
output.NetworkFirewallInvalidRouteConfigurationViolation !== null
|
|
3463
|
+
NetworkFirewallInvalidRouteConfigurationViolation: output.NetworkFirewallInvalidRouteConfigurationViolation != null
|
|
3575
3464
|
? deserializeAws_json1_1NetworkFirewallInvalidRouteConfigurationViolation(output.NetworkFirewallInvalidRouteConfigurationViolation, context)
|
|
3576
3465
|
: undefined,
|
|
3577
|
-
NetworkFirewallMissingExpectedRTViolation: output.NetworkFirewallMissingExpectedRTViolation
|
|
3578
|
-
output.NetworkFirewallMissingExpectedRTViolation !== null
|
|
3466
|
+
NetworkFirewallMissingExpectedRTViolation: output.NetworkFirewallMissingExpectedRTViolation != null
|
|
3579
3467
|
? deserializeAws_json1_1NetworkFirewallMissingExpectedRTViolation(output.NetworkFirewallMissingExpectedRTViolation, context)
|
|
3580
3468
|
: undefined,
|
|
3581
|
-
NetworkFirewallMissingExpectedRoutesViolation: output.NetworkFirewallMissingExpectedRoutesViolation
|
|
3582
|
-
output.NetworkFirewallMissingExpectedRoutesViolation !== null
|
|
3469
|
+
NetworkFirewallMissingExpectedRoutesViolation: output.NetworkFirewallMissingExpectedRoutesViolation != null
|
|
3583
3470
|
? deserializeAws_json1_1NetworkFirewallMissingExpectedRoutesViolation(output.NetworkFirewallMissingExpectedRoutesViolation, context)
|
|
3584
3471
|
: undefined,
|
|
3585
|
-
NetworkFirewallMissingFirewallViolation: output.NetworkFirewallMissingFirewallViolation
|
|
3586
|
-
output.NetworkFirewallMissingFirewallViolation !== null
|
|
3472
|
+
NetworkFirewallMissingFirewallViolation: output.NetworkFirewallMissingFirewallViolation != null
|
|
3587
3473
|
? deserializeAws_json1_1NetworkFirewallMissingFirewallViolation(output.NetworkFirewallMissingFirewallViolation, context)
|
|
3588
3474
|
: undefined,
|
|
3589
|
-
NetworkFirewallMissingSubnetViolation: output.NetworkFirewallMissingSubnetViolation
|
|
3590
|
-
output.NetworkFirewallMissingSubnetViolation !== null
|
|
3475
|
+
NetworkFirewallMissingSubnetViolation: output.NetworkFirewallMissingSubnetViolation != null
|
|
3591
3476
|
? deserializeAws_json1_1NetworkFirewallMissingSubnetViolation(output.NetworkFirewallMissingSubnetViolation, context)
|
|
3592
3477
|
: undefined,
|
|
3593
|
-
NetworkFirewallPolicyModifiedViolation: output.NetworkFirewallPolicyModifiedViolation
|
|
3594
|
-
output.NetworkFirewallPolicyModifiedViolation !== null
|
|
3478
|
+
NetworkFirewallPolicyModifiedViolation: output.NetworkFirewallPolicyModifiedViolation != null
|
|
3595
3479
|
? deserializeAws_json1_1NetworkFirewallPolicyModifiedViolation(output.NetworkFirewallPolicyModifiedViolation, context)
|
|
3596
3480
|
: undefined,
|
|
3597
|
-
NetworkFirewallUnexpectedFirewallRoutesViolation: output.NetworkFirewallUnexpectedFirewallRoutesViolation
|
|
3598
|
-
output.NetworkFirewallUnexpectedFirewallRoutesViolation !== null
|
|
3481
|
+
NetworkFirewallUnexpectedFirewallRoutesViolation: output.NetworkFirewallUnexpectedFirewallRoutesViolation != null
|
|
3599
3482
|
? deserializeAws_json1_1NetworkFirewallUnexpectedFirewallRoutesViolation(output.NetworkFirewallUnexpectedFirewallRoutesViolation, context)
|
|
3600
3483
|
: undefined,
|
|
3601
|
-
NetworkFirewallUnexpectedGatewayRoutesViolation: output.NetworkFirewallUnexpectedGatewayRoutesViolation
|
|
3602
|
-
output.NetworkFirewallUnexpectedGatewayRoutesViolation !== null
|
|
3484
|
+
NetworkFirewallUnexpectedGatewayRoutesViolation: output.NetworkFirewallUnexpectedGatewayRoutesViolation != null
|
|
3603
3485
|
? deserializeAws_json1_1NetworkFirewallUnexpectedGatewayRoutesViolation(output.NetworkFirewallUnexpectedGatewayRoutesViolation, context)
|
|
3604
3486
|
: undefined,
|
|
3605
|
-
PossibleRemediationActions: output.PossibleRemediationActions
|
|
3487
|
+
PossibleRemediationActions: output.PossibleRemediationActions != null
|
|
3606
3488
|
? deserializeAws_json1_1PossibleRemediationActions(output.PossibleRemediationActions, context)
|
|
3607
3489
|
: undefined,
|
|
3608
|
-
RouteHasOutOfScopeEndpointViolation: output.RouteHasOutOfScopeEndpointViolation
|
|
3490
|
+
RouteHasOutOfScopeEndpointViolation: output.RouteHasOutOfScopeEndpointViolation != null
|
|
3609
3491
|
? deserializeAws_json1_1RouteHasOutOfScopeEndpointViolation(output.RouteHasOutOfScopeEndpointViolation, context)
|
|
3610
3492
|
: undefined,
|
|
3611
|
-
ThirdPartyFirewallMissingExpectedRouteTableViolation: output.ThirdPartyFirewallMissingExpectedRouteTableViolation
|
|
3612
|
-
output.ThirdPartyFirewallMissingExpectedRouteTableViolation !== null
|
|
3493
|
+
ThirdPartyFirewallMissingExpectedRouteTableViolation: output.ThirdPartyFirewallMissingExpectedRouteTableViolation != null
|
|
3613
3494
|
? deserializeAws_json1_1ThirdPartyFirewallMissingExpectedRouteTableViolation(output.ThirdPartyFirewallMissingExpectedRouteTableViolation, context)
|
|
3614
3495
|
: undefined,
|
|
3615
|
-
ThirdPartyFirewallMissingFirewallViolation: output.ThirdPartyFirewallMissingFirewallViolation
|
|
3616
|
-
output.ThirdPartyFirewallMissingFirewallViolation !== null
|
|
3496
|
+
ThirdPartyFirewallMissingFirewallViolation: output.ThirdPartyFirewallMissingFirewallViolation != null
|
|
3617
3497
|
? deserializeAws_json1_1ThirdPartyFirewallMissingFirewallViolation(output.ThirdPartyFirewallMissingFirewallViolation, context)
|
|
3618
3498
|
: undefined,
|
|
3619
|
-
ThirdPartyFirewallMissingSubnetViolation: output.ThirdPartyFirewallMissingSubnetViolation
|
|
3620
|
-
output.ThirdPartyFirewallMissingSubnetViolation !== null
|
|
3499
|
+
ThirdPartyFirewallMissingSubnetViolation: output.ThirdPartyFirewallMissingSubnetViolation != null
|
|
3621
3500
|
? deserializeAws_json1_1ThirdPartyFirewallMissingSubnetViolation(output.ThirdPartyFirewallMissingSubnetViolation, context)
|
|
3622
3501
|
: undefined,
|
|
3623
3502
|
};
|
|
@@ -3646,20 +3525,18 @@ var deserializeAws_json1_1RouteHasOutOfScopeEndpointViolation = function (output
|
|
|
3646
3525
|
CurrentFirewallSubnetRouteTable: __expectString(output.CurrentFirewallSubnetRouteTable),
|
|
3647
3526
|
CurrentInternetGatewayRouteTable: __expectString(output.CurrentInternetGatewayRouteTable),
|
|
3648
3527
|
FirewallSubnetId: __expectString(output.FirewallSubnetId),
|
|
3649
|
-
FirewallSubnetRoutes: output.FirewallSubnetRoutes
|
|
3528
|
+
FirewallSubnetRoutes: output.FirewallSubnetRoutes != null
|
|
3650
3529
|
? deserializeAws_json1_1Routes(output.FirewallSubnetRoutes, context)
|
|
3651
3530
|
: undefined,
|
|
3652
3531
|
InternetGatewayId: __expectString(output.InternetGatewayId),
|
|
3653
|
-
InternetGatewayRoutes: output.InternetGatewayRoutes
|
|
3532
|
+
InternetGatewayRoutes: output.InternetGatewayRoutes != null
|
|
3654
3533
|
? deserializeAws_json1_1Routes(output.InternetGatewayRoutes, context)
|
|
3655
3534
|
: undefined,
|
|
3656
3535
|
RouteTableId: __expectString(output.RouteTableId),
|
|
3657
3536
|
SubnetAvailabilityZone: __expectString(output.SubnetAvailabilityZone),
|
|
3658
3537
|
SubnetAvailabilityZoneId: __expectString(output.SubnetAvailabilityZoneId),
|
|
3659
3538
|
SubnetId: __expectString(output.SubnetId),
|
|
3660
|
-
ViolatingRoutes: output.ViolatingRoutes
|
|
3661
|
-
? deserializeAws_json1_1Routes(output.ViolatingRoutes, context)
|
|
3662
|
-
: undefined,
|
|
3539
|
+
ViolatingRoutes: output.ViolatingRoutes != null ? deserializeAws_json1_1Routes(output.ViolatingRoutes, context) : undefined,
|
|
3663
3540
|
VpcId: __expectString(output.VpcId),
|
|
3664
3541
|
};
|
|
3665
3542
|
};
|
|
@@ -3679,7 +3556,7 @@ var deserializeAws_json1_1SecurityGroupRemediationAction = function (output, con
|
|
|
3679
3556
|
Description: __expectString(output.Description),
|
|
3680
3557
|
IsDefaultAction: __expectBoolean(output.IsDefaultAction),
|
|
3681
3558
|
RemediationActionType: __expectString(output.RemediationActionType),
|
|
3682
|
-
RemediationResult: output.RemediationResult
|
|
3559
|
+
RemediationResult: output.RemediationResult != null
|
|
3683
3560
|
? deserializeAws_json1_1SecurityGroupRuleDescription(output.RemediationResult, context)
|
|
3684
3561
|
: undefined,
|
|
3685
3562
|
};
|
|
@@ -3708,9 +3585,7 @@ var deserializeAws_json1_1SecurityGroupRuleDescription = function (output, conte
|
|
|
3708
3585
|
var deserializeAws_json1_1SecurityServicePolicyData = function (output, context) {
|
|
3709
3586
|
return {
|
|
3710
3587
|
ManagedServiceData: __expectString(output.ManagedServiceData),
|
|
3711
|
-
PolicyOption: output.PolicyOption
|
|
3712
|
-
? deserializeAws_json1_1PolicyOption(output.PolicyOption, context)
|
|
3713
|
-
: undefined,
|
|
3588
|
+
PolicyOption: output.PolicyOption != null ? deserializeAws_json1_1PolicyOption(output.PolicyOption, context) : undefined,
|
|
3714
3589
|
Type: __expectString(output.Type),
|
|
3715
3590
|
};
|
|
3716
3591
|
};
|
|
@@ -3836,11 +3711,9 @@ var deserializeAws_json1_1ViolationDetail = function (output, context) {
|
|
|
3836
3711
|
PolicyId: __expectString(output.PolicyId),
|
|
3837
3712
|
ResourceDescription: __expectString(output.ResourceDescription),
|
|
3838
3713
|
ResourceId: __expectString(output.ResourceId),
|
|
3839
|
-
ResourceTags: output.ResourceTags
|
|
3840
|
-
? deserializeAws_json1_1TagList(output.ResourceTags, context)
|
|
3841
|
-
: undefined,
|
|
3714
|
+
ResourceTags: output.ResourceTags != null ? deserializeAws_json1_1TagList(output.ResourceTags, context) : undefined,
|
|
3842
3715
|
ResourceType: __expectString(output.ResourceType),
|
|
3843
|
-
ResourceViolations: output.ResourceViolations
|
|
3716
|
+
ResourceViolations: output.ResourceViolations != null
|
|
3844
3717
|
? deserializeAws_json1_1ResourceViolations(output.ResourceViolations, context)
|
|
3845
3718
|
: undefined,
|
|
3846
3719
|
};
|
|
@@ -3919,5 +3792,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
3919
3792
|
if (data["__type"] !== undefined) {
|
|
3920
3793
|
return sanitizeErrorCode(data["__type"]);
|
|
3921
3794
|
}
|
|
3922
|
-
return "";
|
|
3923
3795
|
};
|