@aws-sdk/client-route53resolver 3.131.0 → 3.142.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 +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AssociateFirewallRuleGroupCommand.js +2 -2
- package/dist-cjs/commands/AssociateResolverEndpointIpAddressCommand.js +2 -2
- package/dist-cjs/commands/AssociateResolverQueryLogConfigCommand.js +2 -2
- package/dist-cjs/commands/AssociateResolverRuleCommand.js +2 -2
- package/dist-cjs/commands/CreateFirewallDomainListCommand.js +2 -2
- package/dist-cjs/commands/CreateFirewallRuleCommand.js +2 -2
- package/dist-cjs/commands/CreateFirewallRuleGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateResolverEndpointCommand.js +2 -2
- package/dist-cjs/commands/CreateResolverQueryLogConfigCommand.js +2 -2
- package/dist-cjs/commands/CreateResolverRuleCommand.js +2 -2
- package/dist-cjs/commands/DeleteFirewallDomainListCommand.js +2 -2
- package/dist-cjs/commands/DeleteFirewallRuleCommand.js +2 -2
- package/dist-cjs/commands/DeleteFirewallRuleGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteResolverEndpointCommand.js +2 -2
- package/dist-cjs/commands/DeleteResolverQueryLogConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteResolverRuleCommand.js +2 -2
- package/dist-cjs/commands/DisassociateFirewallRuleGroupCommand.js +2 -2
- package/dist-cjs/commands/DisassociateResolverEndpointIpAddressCommand.js +2 -2
- package/dist-cjs/commands/DisassociateResolverQueryLogConfigCommand.js +2 -2
- package/dist-cjs/commands/DisassociateResolverRuleCommand.js +2 -2
- package/dist-cjs/commands/GetFirewallConfigCommand.js +2 -2
- package/dist-cjs/commands/GetFirewallDomainListCommand.js +2 -2
- package/dist-cjs/commands/GetFirewallRuleGroupAssociationCommand.js +2 -2
- package/dist-cjs/commands/GetFirewallRuleGroupCommand.js +2 -2
- package/dist-cjs/commands/GetFirewallRuleGroupPolicyCommand.js +2 -2
- package/dist-cjs/commands/GetResolverConfigCommand.js +2 -2
- package/dist-cjs/commands/GetResolverDnssecConfigCommand.js +2 -2
- package/dist-cjs/commands/GetResolverEndpointCommand.js +2 -2
- package/dist-cjs/commands/GetResolverQueryLogConfigAssociationCommand.js +2 -2
- package/dist-cjs/commands/GetResolverQueryLogConfigCommand.js +2 -2
- package/dist-cjs/commands/GetResolverQueryLogConfigPolicyCommand.js +2 -2
- package/dist-cjs/commands/GetResolverRuleAssociationCommand.js +2 -2
- package/dist-cjs/commands/GetResolverRuleCommand.js +2 -2
- package/dist-cjs/commands/GetResolverRulePolicyCommand.js +2 -2
- package/dist-cjs/commands/ImportFirewallDomainsCommand.js +2 -2
- package/dist-cjs/commands/ListFirewallConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListFirewallDomainListsCommand.js +2 -2
- package/dist-cjs/commands/ListFirewallDomainsCommand.js +2 -2
- package/dist-cjs/commands/ListFirewallRuleGroupAssociationsCommand.js +2 -2
- package/dist-cjs/commands/ListFirewallRuleGroupsCommand.js +2 -2
- package/dist-cjs/commands/ListFirewallRulesCommand.js +2 -2
- package/dist-cjs/commands/ListResolverConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListResolverDnssecConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListResolverEndpointIpAddressesCommand.js +2 -2
- package/dist-cjs/commands/ListResolverEndpointsCommand.js +2 -2
- package/dist-cjs/commands/ListResolverQueryLogConfigAssociationsCommand.js +2 -2
- package/dist-cjs/commands/ListResolverQueryLogConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListResolverRuleAssociationsCommand.js +2 -2
- package/dist-cjs/commands/ListResolverRulesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutFirewallRuleGroupPolicyCommand.js +2 -2
- package/dist-cjs/commands/PutResolverQueryLogConfigPolicyCommand.js +2 -2
- package/dist-cjs/commands/PutResolverRulePolicyCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateFirewallConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateFirewallDomainsCommand.js +2 -2
- package/dist-cjs/commands/UpdateFirewallRuleCommand.js +2 -2
- package/dist-cjs/commands/UpdateFirewallRuleGroupAssociationCommand.js +2 -2
- package/dist-cjs/commands/UpdateResolverConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateResolverDnssecConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateResolverEndpointCommand.js +2 -2
- package/dist-cjs/commands/UpdateResolverRuleCommand.js +2 -2
- package/dist-cjs/models/models_0.js +592 -886
- package/dist-cjs/protocols/Aws_json1_1.js +315 -528
- package/dist-es/commands/AssociateFirewallRuleGroupCommand.js +3 -3
- package/dist-es/commands/AssociateResolverEndpointIpAddressCommand.js +3 -3
- package/dist-es/commands/AssociateResolverQueryLogConfigCommand.js +3 -3
- package/dist-es/commands/AssociateResolverRuleCommand.js +3 -3
- package/dist-es/commands/CreateFirewallDomainListCommand.js +3 -3
- package/dist-es/commands/CreateFirewallRuleCommand.js +3 -3
- package/dist-es/commands/CreateFirewallRuleGroupCommand.js +3 -3
- package/dist-es/commands/CreateResolverEndpointCommand.js +3 -3
- package/dist-es/commands/CreateResolverQueryLogConfigCommand.js +3 -3
- package/dist-es/commands/CreateResolverRuleCommand.js +3 -3
- package/dist-es/commands/DeleteFirewallDomainListCommand.js +3 -3
- package/dist-es/commands/DeleteFirewallRuleCommand.js +3 -3
- package/dist-es/commands/DeleteFirewallRuleGroupCommand.js +3 -3
- package/dist-es/commands/DeleteResolverEndpointCommand.js +3 -3
- package/dist-es/commands/DeleteResolverQueryLogConfigCommand.js +3 -3
- package/dist-es/commands/DeleteResolverRuleCommand.js +3 -3
- package/dist-es/commands/DisassociateFirewallRuleGroupCommand.js +3 -3
- package/dist-es/commands/DisassociateResolverEndpointIpAddressCommand.js +3 -3
- package/dist-es/commands/DisassociateResolverQueryLogConfigCommand.js +3 -3
- package/dist-es/commands/DisassociateResolverRuleCommand.js +3 -3
- package/dist-es/commands/GetFirewallConfigCommand.js +3 -3
- package/dist-es/commands/GetFirewallDomainListCommand.js +3 -3
- package/dist-es/commands/GetFirewallRuleGroupAssociationCommand.js +3 -3
- package/dist-es/commands/GetFirewallRuleGroupCommand.js +3 -3
- package/dist-es/commands/GetFirewallRuleGroupPolicyCommand.js +3 -3
- package/dist-es/commands/GetResolverConfigCommand.js +3 -3
- package/dist-es/commands/GetResolverDnssecConfigCommand.js +3 -3
- package/dist-es/commands/GetResolverEndpointCommand.js +3 -3
- package/dist-es/commands/GetResolverQueryLogConfigAssociationCommand.js +3 -3
- package/dist-es/commands/GetResolverQueryLogConfigCommand.js +3 -3
- package/dist-es/commands/GetResolverQueryLogConfigPolicyCommand.js +3 -3
- package/dist-es/commands/GetResolverRuleAssociationCommand.js +3 -3
- package/dist-es/commands/GetResolverRuleCommand.js +3 -3
- package/dist-es/commands/GetResolverRulePolicyCommand.js +3 -3
- package/dist-es/commands/ImportFirewallDomainsCommand.js +3 -3
- package/dist-es/commands/ListFirewallConfigsCommand.js +3 -3
- package/dist-es/commands/ListFirewallDomainListsCommand.js +3 -3
- package/dist-es/commands/ListFirewallDomainsCommand.js +3 -3
- package/dist-es/commands/ListFirewallRuleGroupAssociationsCommand.js +3 -3
- package/dist-es/commands/ListFirewallRuleGroupsCommand.js +3 -3
- package/dist-es/commands/ListFirewallRulesCommand.js +3 -3
- package/dist-es/commands/ListResolverConfigsCommand.js +3 -3
- package/dist-es/commands/ListResolverDnssecConfigsCommand.js +3 -3
- package/dist-es/commands/ListResolverEndpointIpAddressesCommand.js +3 -3
- package/dist-es/commands/ListResolverEndpointsCommand.js +3 -3
- package/dist-es/commands/ListResolverQueryLogConfigAssociationsCommand.js +3 -3
- package/dist-es/commands/ListResolverQueryLogConfigsCommand.js +3 -3
- package/dist-es/commands/ListResolverRuleAssociationsCommand.js +3 -3
- package/dist-es/commands/ListResolverRulesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutFirewallRuleGroupPolicyCommand.js +3 -3
- package/dist-es/commands/PutResolverQueryLogConfigPolicyCommand.js +3 -3
- package/dist-es/commands/PutResolverRulePolicyCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateFirewallConfigCommand.js +3 -3
- package/dist-es/commands/UpdateFirewallDomainsCommand.js +3 -3
- package/dist-es/commands/UpdateFirewallRuleCommand.js +3 -3
- package/dist-es/commands/UpdateFirewallRuleGroupAssociationCommand.js +3 -3
- package/dist-es/commands/UpdateResolverConfigCommand.js +3 -3
- package/dist-es/commands/UpdateResolverDnssecConfigCommand.js +3 -3
- package/dist-es/commands/UpdateResolverEndpointCommand.js +3 -3
- package/dist-es/commands/UpdateResolverRuleCommand.js +3 -3
- package/dist-es/models/models_0.js +147 -588
- package/dist-es/protocols/Aws_json1_1.js +505 -529
- package/dist-types/models/models_0.d.ts +588 -882
- package/dist-types/ts3.4/models/models_0.d.ts +294 -588
- package/package.json +6 -6
|
@@ -657,7 +657,6 @@ const deserializeAws_json1_1AssociateFirewallRuleGroupCommandError = async (outp
|
|
|
657
657
|
...output,
|
|
658
658
|
body: await parseBody(output.body, context),
|
|
659
659
|
};
|
|
660
|
-
let response;
|
|
661
660
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
662
661
|
switch (errorCode) {
|
|
663
662
|
case "AccessDeniedException":
|
|
@@ -683,14 +682,12 @@ const deserializeAws_json1_1AssociateFirewallRuleGroupCommandError = async (outp
|
|
|
683
682
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
684
683
|
default:
|
|
685
684
|
const parsedBody = parsedOutput.body;
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
$metadata,
|
|
685
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
686
|
+
output,
|
|
687
|
+
parsedBody,
|
|
688
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
689
|
+
errorCode,
|
|
692
690
|
});
|
|
693
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
694
691
|
}
|
|
695
692
|
};
|
|
696
693
|
const deserializeAws_json1_1AssociateResolverEndpointIpAddressCommand = async (output, context) => {
|
|
@@ -712,7 +709,6 @@ const deserializeAws_json1_1AssociateResolverEndpointIpAddressCommandError = asy
|
|
|
712
709
|
...output,
|
|
713
710
|
body: await parseBody(output.body, context),
|
|
714
711
|
};
|
|
715
|
-
let response;
|
|
716
712
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
717
713
|
switch (errorCode) {
|
|
718
714
|
case "InternalServiceErrorException":
|
|
@@ -738,14 +734,12 @@ const deserializeAws_json1_1AssociateResolverEndpointIpAddressCommandError = asy
|
|
|
738
734
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
739
735
|
default:
|
|
740
736
|
const parsedBody = parsedOutput.body;
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
$metadata,
|
|
737
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
738
|
+
output,
|
|
739
|
+
parsedBody,
|
|
740
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
741
|
+
errorCode,
|
|
747
742
|
});
|
|
748
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
749
743
|
}
|
|
750
744
|
};
|
|
751
745
|
const deserializeAws_json1_1AssociateResolverQueryLogConfigCommand = async (output, context) => {
|
|
@@ -767,7 +761,6 @@ const deserializeAws_json1_1AssociateResolverQueryLogConfigCommandError = async
|
|
|
767
761
|
...output,
|
|
768
762
|
body: await parseBody(output.body, context),
|
|
769
763
|
};
|
|
770
|
-
let response;
|
|
771
764
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
772
765
|
switch (errorCode) {
|
|
773
766
|
case "AccessDeniedException":
|
|
@@ -796,14 +789,12 @@ const deserializeAws_json1_1AssociateResolverQueryLogConfigCommandError = async
|
|
|
796
789
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
797
790
|
default:
|
|
798
791
|
const parsedBody = parsedOutput.body;
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
$metadata,
|
|
792
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
793
|
+
output,
|
|
794
|
+
parsedBody,
|
|
795
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
796
|
+
errorCode,
|
|
805
797
|
});
|
|
806
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
807
798
|
}
|
|
808
799
|
};
|
|
809
800
|
const deserializeAws_json1_1AssociateResolverRuleCommand = async (output, context) => {
|
|
@@ -825,7 +816,6 @@ const deserializeAws_json1_1AssociateResolverRuleCommandError = async (output, c
|
|
|
825
816
|
...output,
|
|
826
817
|
body: await parseBody(output.body, context),
|
|
827
818
|
};
|
|
828
|
-
let response;
|
|
829
819
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
830
820
|
switch (errorCode) {
|
|
831
821
|
case "InternalServiceErrorException":
|
|
@@ -854,14 +844,12 @@ const deserializeAws_json1_1AssociateResolverRuleCommandError = async (output, c
|
|
|
854
844
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
855
845
|
default:
|
|
856
846
|
const parsedBody = parsedOutput.body;
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
$metadata,
|
|
847
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
848
|
+
output,
|
|
849
|
+
parsedBody,
|
|
850
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
851
|
+
errorCode,
|
|
863
852
|
});
|
|
864
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
865
853
|
}
|
|
866
854
|
};
|
|
867
855
|
const deserializeAws_json1_1CreateFirewallDomainListCommand = async (output, context) => {
|
|
@@ -883,7 +871,6 @@ const deserializeAws_json1_1CreateFirewallDomainListCommandError = async (output
|
|
|
883
871
|
...output,
|
|
884
872
|
body: await parseBody(output.body, context),
|
|
885
873
|
};
|
|
886
|
-
let response;
|
|
887
874
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
888
875
|
switch (errorCode) {
|
|
889
876
|
case "AccessDeniedException":
|
|
@@ -903,14 +890,12 @@ const deserializeAws_json1_1CreateFirewallDomainListCommandError = async (output
|
|
|
903
890
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
904
891
|
default:
|
|
905
892
|
const parsedBody = parsedOutput.body;
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
$metadata,
|
|
893
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
894
|
+
output,
|
|
895
|
+
parsedBody,
|
|
896
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
897
|
+
errorCode,
|
|
912
898
|
});
|
|
913
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
914
899
|
}
|
|
915
900
|
};
|
|
916
901
|
const deserializeAws_json1_1CreateFirewallRuleCommand = async (output, context) => {
|
|
@@ -932,7 +917,6 @@ const deserializeAws_json1_1CreateFirewallRuleCommandError = async (output, cont
|
|
|
932
917
|
...output,
|
|
933
918
|
body: await parseBody(output.body, context),
|
|
934
919
|
};
|
|
935
|
-
let response;
|
|
936
920
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
937
921
|
switch (errorCode) {
|
|
938
922
|
case "AccessDeniedException":
|
|
@@ -955,14 +939,12 @@ const deserializeAws_json1_1CreateFirewallRuleCommandError = async (output, cont
|
|
|
955
939
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
956
940
|
default:
|
|
957
941
|
const parsedBody = parsedOutput.body;
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
$metadata,
|
|
942
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
943
|
+
output,
|
|
944
|
+
parsedBody,
|
|
945
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
946
|
+
errorCode,
|
|
964
947
|
});
|
|
965
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
966
948
|
}
|
|
967
949
|
};
|
|
968
950
|
const deserializeAws_json1_1CreateFirewallRuleGroupCommand = async (output, context) => {
|
|
@@ -984,7 +966,6 @@ const deserializeAws_json1_1CreateFirewallRuleGroupCommandError = async (output,
|
|
|
984
966
|
...output,
|
|
985
967
|
body: await parseBody(output.body, context),
|
|
986
968
|
};
|
|
987
|
-
let response;
|
|
988
969
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
989
970
|
switch (errorCode) {
|
|
990
971
|
case "AccessDeniedException":
|
|
@@ -1004,14 +985,12 @@ const deserializeAws_json1_1CreateFirewallRuleGroupCommandError = async (output,
|
|
|
1004
985
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1005
986
|
default:
|
|
1006
987
|
const parsedBody = parsedOutput.body;
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
$metadata,
|
|
988
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
989
|
+
output,
|
|
990
|
+
parsedBody,
|
|
991
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
992
|
+
errorCode,
|
|
1013
993
|
});
|
|
1014
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1015
994
|
}
|
|
1016
995
|
};
|
|
1017
996
|
const deserializeAws_json1_1CreateResolverEndpointCommand = async (output, context) => {
|
|
@@ -1033,7 +1012,6 @@ const deserializeAws_json1_1CreateResolverEndpointCommandError = async (output,
|
|
|
1033
1012
|
...output,
|
|
1034
1013
|
body: await parseBody(output.body, context),
|
|
1035
1014
|
};
|
|
1036
|
-
let response;
|
|
1037
1015
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1038
1016
|
switch (errorCode) {
|
|
1039
1017
|
case "InternalServiceErrorException":
|
|
@@ -1059,14 +1037,12 @@ const deserializeAws_json1_1CreateResolverEndpointCommandError = async (output,
|
|
|
1059
1037
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1060
1038
|
default:
|
|
1061
1039
|
const parsedBody = parsedOutput.body;
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
$metadata,
|
|
1040
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1041
|
+
output,
|
|
1042
|
+
parsedBody,
|
|
1043
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1044
|
+
errorCode,
|
|
1068
1045
|
});
|
|
1069
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1070
1046
|
}
|
|
1071
1047
|
};
|
|
1072
1048
|
const deserializeAws_json1_1CreateResolverQueryLogConfigCommand = async (output, context) => {
|
|
@@ -1088,7 +1064,6 @@ const deserializeAws_json1_1CreateResolverQueryLogConfigCommandError = async (ou
|
|
|
1088
1064
|
...output,
|
|
1089
1065
|
body: await parseBody(output.body, context),
|
|
1090
1066
|
};
|
|
1091
|
-
let response;
|
|
1092
1067
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1093
1068
|
switch (errorCode) {
|
|
1094
1069
|
case "AccessDeniedException":
|
|
@@ -1117,14 +1092,12 @@ const deserializeAws_json1_1CreateResolverQueryLogConfigCommandError = async (ou
|
|
|
1117
1092
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1118
1093
|
default:
|
|
1119
1094
|
const parsedBody = parsedOutput.body;
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
$metadata,
|
|
1095
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1096
|
+
output,
|
|
1097
|
+
parsedBody,
|
|
1098
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1099
|
+
errorCode,
|
|
1126
1100
|
});
|
|
1127
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1128
1101
|
}
|
|
1129
1102
|
};
|
|
1130
1103
|
const deserializeAws_json1_1CreateResolverRuleCommand = async (output, context) => {
|
|
@@ -1146,7 +1119,6 @@ const deserializeAws_json1_1CreateResolverRuleCommandError = async (output, cont
|
|
|
1146
1119
|
...output,
|
|
1147
1120
|
body: await parseBody(output.body, context),
|
|
1148
1121
|
};
|
|
1149
|
-
let response;
|
|
1150
1122
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1151
1123
|
switch (errorCode) {
|
|
1152
1124
|
case "InternalServiceErrorException":
|
|
@@ -1175,14 +1147,12 @@ const deserializeAws_json1_1CreateResolverRuleCommandError = async (output, cont
|
|
|
1175
1147
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1176
1148
|
default:
|
|
1177
1149
|
const parsedBody = parsedOutput.body;
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
$metadata,
|
|
1150
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1151
|
+
output,
|
|
1152
|
+
parsedBody,
|
|
1153
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1154
|
+
errorCode,
|
|
1184
1155
|
});
|
|
1185
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1186
1156
|
}
|
|
1187
1157
|
};
|
|
1188
1158
|
const deserializeAws_json1_1DeleteFirewallDomainListCommand = async (output, context) => {
|
|
@@ -1204,7 +1174,6 @@ const deserializeAws_json1_1DeleteFirewallDomainListCommandError = async (output
|
|
|
1204
1174
|
...output,
|
|
1205
1175
|
body: await parseBody(output.body, context),
|
|
1206
1176
|
};
|
|
1207
|
-
let response;
|
|
1208
1177
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1209
1178
|
switch (errorCode) {
|
|
1210
1179
|
case "AccessDeniedException":
|
|
@@ -1224,14 +1193,12 @@ const deserializeAws_json1_1DeleteFirewallDomainListCommandError = async (output
|
|
|
1224
1193
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1225
1194
|
default:
|
|
1226
1195
|
const parsedBody = parsedOutput.body;
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
$metadata,
|
|
1196
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1197
|
+
output,
|
|
1198
|
+
parsedBody,
|
|
1199
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1200
|
+
errorCode,
|
|
1233
1201
|
});
|
|
1234
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1235
1202
|
}
|
|
1236
1203
|
};
|
|
1237
1204
|
const deserializeAws_json1_1DeleteFirewallRuleCommand = async (output, context) => {
|
|
@@ -1253,7 +1220,6 @@ const deserializeAws_json1_1DeleteFirewallRuleCommandError = async (output, cont
|
|
|
1253
1220
|
...output,
|
|
1254
1221
|
body: await parseBody(output.body, context),
|
|
1255
1222
|
};
|
|
1256
|
-
let response;
|
|
1257
1223
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1258
1224
|
switch (errorCode) {
|
|
1259
1225
|
case "AccessDeniedException":
|
|
@@ -1270,14 +1236,12 @@ const deserializeAws_json1_1DeleteFirewallRuleCommandError = async (output, cont
|
|
|
1270
1236
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1271
1237
|
default:
|
|
1272
1238
|
const parsedBody = parsedOutput.body;
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
$metadata,
|
|
1239
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1240
|
+
output,
|
|
1241
|
+
parsedBody,
|
|
1242
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1243
|
+
errorCode,
|
|
1279
1244
|
});
|
|
1280
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1281
1245
|
}
|
|
1282
1246
|
};
|
|
1283
1247
|
const deserializeAws_json1_1DeleteFirewallRuleGroupCommand = async (output, context) => {
|
|
@@ -1299,7 +1263,6 @@ const deserializeAws_json1_1DeleteFirewallRuleGroupCommandError = async (output,
|
|
|
1299
1263
|
...output,
|
|
1300
1264
|
body: await parseBody(output.body, context),
|
|
1301
1265
|
};
|
|
1302
|
-
let response;
|
|
1303
1266
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1304
1267
|
switch (errorCode) {
|
|
1305
1268
|
case "AccessDeniedException":
|
|
@@ -1322,14 +1285,12 @@ const deserializeAws_json1_1DeleteFirewallRuleGroupCommandError = async (output,
|
|
|
1322
1285
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1323
1286
|
default:
|
|
1324
1287
|
const parsedBody = parsedOutput.body;
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
$metadata,
|
|
1288
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1289
|
+
output,
|
|
1290
|
+
parsedBody,
|
|
1291
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1292
|
+
errorCode,
|
|
1331
1293
|
});
|
|
1332
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1333
1294
|
}
|
|
1334
1295
|
};
|
|
1335
1296
|
const deserializeAws_json1_1DeleteResolverEndpointCommand = async (output, context) => {
|
|
@@ -1351,7 +1312,6 @@ const deserializeAws_json1_1DeleteResolverEndpointCommandError = async (output,
|
|
|
1351
1312
|
...output,
|
|
1352
1313
|
body: await parseBody(output.body, context),
|
|
1353
1314
|
};
|
|
1354
|
-
let response;
|
|
1355
1315
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1356
1316
|
switch (errorCode) {
|
|
1357
1317
|
case "InternalServiceErrorException":
|
|
@@ -1371,14 +1331,12 @@ const deserializeAws_json1_1DeleteResolverEndpointCommandError = async (output,
|
|
|
1371
1331
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1372
1332
|
default:
|
|
1373
1333
|
const parsedBody = parsedOutput.body;
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
$metadata,
|
|
1334
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1335
|
+
output,
|
|
1336
|
+
parsedBody,
|
|
1337
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1338
|
+
errorCode,
|
|
1380
1339
|
});
|
|
1381
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1382
1340
|
}
|
|
1383
1341
|
};
|
|
1384
1342
|
const deserializeAws_json1_1DeleteResolverQueryLogConfigCommand = async (output, context) => {
|
|
@@ -1400,7 +1358,6 @@ const deserializeAws_json1_1DeleteResolverQueryLogConfigCommandError = async (ou
|
|
|
1400
1358
|
...output,
|
|
1401
1359
|
body: await parseBody(output.body, context),
|
|
1402
1360
|
};
|
|
1403
|
-
let response;
|
|
1404
1361
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1405
1362
|
switch (errorCode) {
|
|
1406
1363
|
case "AccessDeniedException":
|
|
@@ -1423,14 +1380,12 @@ const deserializeAws_json1_1DeleteResolverQueryLogConfigCommandError = async (ou
|
|
|
1423
1380
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1424
1381
|
default:
|
|
1425
1382
|
const parsedBody = parsedOutput.body;
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
$metadata,
|
|
1383
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1384
|
+
output,
|
|
1385
|
+
parsedBody,
|
|
1386
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1387
|
+
errorCode,
|
|
1432
1388
|
});
|
|
1433
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1434
1389
|
}
|
|
1435
1390
|
};
|
|
1436
1391
|
const deserializeAws_json1_1DeleteResolverRuleCommand = async (output, context) => {
|
|
@@ -1452,7 +1407,6 @@ const deserializeAws_json1_1DeleteResolverRuleCommandError = async (output, cont
|
|
|
1452
1407
|
...output,
|
|
1453
1408
|
body: await parseBody(output.body, context),
|
|
1454
1409
|
};
|
|
1455
|
-
let response;
|
|
1456
1410
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1457
1411
|
switch (errorCode) {
|
|
1458
1412
|
case "InternalServiceErrorException":
|
|
@@ -1472,14 +1426,12 @@ const deserializeAws_json1_1DeleteResolverRuleCommandError = async (output, cont
|
|
|
1472
1426
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1473
1427
|
default:
|
|
1474
1428
|
const parsedBody = parsedOutput.body;
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
$metadata,
|
|
1429
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1430
|
+
output,
|
|
1431
|
+
parsedBody,
|
|
1432
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1433
|
+
errorCode,
|
|
1481
1434
|
});
|
|
1482
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1483
1435
|
}
|
|
1484
1436
|
};
|
|
1485
1437
|
const deserializeAws_json1_1DisassociateFirewallRuleGroupCommand = async (output, context) => {
|
|
@@ -1501,7 +1453,6 @@ const deserializeAws_json1_1DisassociateFirewallRuleGroupCommandError = async (o
|
|
|
1501
1453
|
...output,
|
|
1502
1454
|
body: await parseBody(output.body, context),
|
|
1503
1455
|
};
|
|
1504
|
-
let response;
|
|
1505
1456
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1506
1457
|
switch (errorCode) {
|
|
1507
1458
|
case "AccessDeniedException":
|
|
@@ -1524,14 +1475,12 @@ const deserializeAws_json1_1DisassociateFirewallRuleGroupCommandError = async (o
|
|
|
1524
1475
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1525
1476
|
default:
|
|
1526
1477
|
const parsedBody = parsedOutput.body;
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
$metadata,
|
|
1478
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1479
|
+
output,
|
|
1480
|
+
parsedBody,
|
|
1481
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1482
|
+
errorCode,
|
|
1533
1483
|
});
|
|
1534
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1535
1484
|
}
|
|
1536
1485
|
};
|
|
1537
1486
|
const deserializeAws_json1_1DisassociateResolverEndpointIpAddressCommand = async (output, context) => {
|
|
@@ -1553,7 +1502,6 @@ const deserializeAws_json1_1DisassociateResolverEndpointIpAddressCommandError =
|
|
|
1553
1502
|
...output,
|
|
1554
1503
|
body: await parseBody(output.body, context),
|
|
1555
1504
|
};
|
|
1556
|
-
let response;
|
|
1557
1505
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1558
1506
|
switch (errorCode) {
|
|
1559
1507
|
case "InternalServiceErrorException":
|
|
@@ -1576,14 +1524,12 @@ const deserializeAws_json1_1DisassociateResolverEndpointIpAddressCommandError =
|
|
|
1576
1524
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1577
1525
|
default:
|
|
1578
1526
|
const parsedBody = parsedOutput.body;
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
$metadata,
|
|
1527
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1528
|
+
output,
|
|
1529
|
+
parsedBody,
|
|
1530
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1531
|
+
errorCode,
|
|
1585
1532
|
});
|
|
1586
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1587
1533
|
}
|
|
1588
1534
|
};
|
|
1589
1535
|
const deserializeAws_json1_1DisassociateResolverQueryLogConfigCommand = async (output, context) => {
|
|
@@ -1605,7 +1551,6 @@ const deserializeAws_json1_1DisassociateResolverQueryLogConfigCommandError = asy
|
|
|
1605
1551
|
...output,
|
|
1606
1552
|
body: await parseBody(output.body, context),
|
|
1607
1553
|
};
|
|
1608
|
-
let response;
|
|
1609
1554
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1610
1555
|
switch (errorCode) {
|
|
1611
1556
|
case "AccessDeniedException":
|
|
@@ -1628,14 +1573,12 @@ const deserializeAws_json1_1DisassociateResolverQueryLogConfigCommandError = asy
|
|
|
1628
1573
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1629
1574
|
default:
|
|
1630
1575
|
const parsedBody = parsedOutput.body;
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
$metadata,
|
|
1576
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1577
|
+
output,
|
|
1578
|
+
parsedBody,
|
|
1579
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1580
|
+
errorCode,
|
|
1637
1581
|
});
|
|
1638
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1639
1582
|
}
|
|
1640
1583
|
};
|
|
1641
1584
|
const deserializeAws_json1_1DisassociateResolverRuleCommand = async (output, context) => {
|
|
@@ -1657,7 +1600,6 @@ const deserializeAws_json1_1DisassociateResolverRuleCommandError = async (output
|
|
|
1657
1600
|
...output,
|
|
1658
1601
|
body: await parseBody(output.body, context),
|
|
1659
1602
|
};
|
|
1660
|
-
let response;
|
|
1661
1603
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1662
1604
|
switch (errorCode) {
|
|
1663
1605
|
case "InternalServiceErrorException":
|
|
@@ -1674,14 +1616,12 @@ const deserializeAws_json1_1DisassociateResolverRuleCommandError = async (output
|
|
|
1674
1616
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1675
1617
|
default:
|
|
1676
1618
|
const parsedBody = parsedOutput.body;
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
$metadata,
|
|
1619
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1620
|
+
output,
|
|
1621
|
+
parsedBody,
|
|
1622
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1623
|
+
errorCode,
|
|
1683
1624
|
});
|
|
1684
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1685
1625
|
}
|
|
1686
1626
|
};
|
|
1687
1627
|
const deserializeAws_json1_1GetFirewallConfigCommand = async (output, context) => {
|
|
@@ -1703,7 +1643,6 @@ const deserializeAws_json1_1GetFirewallConfigCommandError = async (output, conte
|
|
|
1703
1643
|
...output,
|
|
1704
1644
|
body: await parseBody(output.body, context),
|
|
1705
1645
|
};
|
|
1706
|
-
let response;
|
|
1707
1646
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1708
1647
|
switch (errorCode) {
|
|
1709
1648
|
case "AccessDeniedException":
|
|
@@ -1723,14 +1662,12 @@ const deserializeAws_json1_1GetFirewallConfigCommandError = async (output, conte
|
|
|
1723
1662
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1724
1663
|
default:
|
|
1725
1664
|
const parsedBody = parsedOutput.body;
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
$metadata,
|
|
1665
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1666
|
+
output,
|
|
1667
|
+
parsedBody,
|
|
1668
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1669
|
+
errorCode,
|
|
1732
1670
|
});
|
|
1733
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1734
1671
|
}
|
|
1735
1672
|
};
|
|
1736
1673
|
const deserializeAws_json1_1GetFirewallDomainListCommand = async (output, context) => {
|
|
@@ -1752,7 +1689,6 @@ const deserializeAws_json1_1GetFirewallDomainListCommandError = async (output, c
|
|
|
1752
1689
|
...output,
|
|
1753
1690
|
body: await parseBody(output.body, context),
|
|
1754
1691
|
};
|
|
1755
|
-
let response;
|
|
1756
1692
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1757
1693
|
switch (errorCode) {
|
|
1758
1694
|
case "AccessDeniedException":
|
|
@@ -1769,14 +1705,12 @@ const deserializeAws_json1_1GetFirewallDomainListCommandError = async (output, c
|
|
|
1769
1705
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1770
1706
|
default:
|
|
1771
1707
|
const parsedBody = parsedOutput.body;
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
$metadata,
|
|
1708
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1709
|
+
output,
|
|
1710
|
+
parsedBody,
|
|
1711
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1712
|
+
errorCode,
|
|
1778
1713
|
});
|
|
1779
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1780
1714
|
}
|
|
1781
1715
|
};
|
|
1782
1716
|
const deserializeAws_json1_1GetFirewallRuleGroupCommand = async (output, context) => {
|
|
@@ -1798,7 +1732,6 @@ const deserializeAws_json1_1GetFirewallRuleGroupCommandError = async (output, co
|
|
|
1798
1732
|
...output,
|
|
1799
1733
|
body: await parseBody(output.body, context),
|
|
1800
1734
|
};
|
|
1801
|
-
let response;
|
|
1802
1735
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1803
1736
|
switch (errorCode) {
|
|
1804
1737
|
case "AccessDeniedException":
|
|
@@ -1815,14 +1748,12 @@ const deserializeAws_json1_1GetFirewallRuleGroupCommandError = async (output, co
|
|
|
1815
1748
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1816
1749
|
default:
|
|
1817
1750
|
const parsedBody = parsedOutput.body;
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
$metadata,
|
|
1751
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1752
|
+
output,
|
|
1753
|
+
parsedBody,
|
|
1754
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1755
|
+
errorCode,
|
|
1824
1756
|
});
|
|
1825
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1826
1757
|
}
|
|
1827
1758
|
};
|
|
1828
1759
|
const deserializeAws_json1_1GetFirewallRuleGroupAssociationCommand = async (output, context) => {
|
|
@@ -1844,7 +1775,6 @@ const deserializeAws_json1_1GetFirewallRuleGroupAssociationCommandError = async
|
|
|
1844
1775
|
...output,
|
|
1845
1776
|
body: await parseBody(output.body, context),
|
|
1846
1777
|
};
|
|
1847
|
-
let response;
|
|
1848
1778
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1849
1779
|
switch (errorCode) {
|
|
1850
1780
|
case "AccessDeniedException":
|
|
@@ -1861,14 +1791,12 @@ const deserializeAws_json1_1GetFirewallRuleGroupAssociationCommandError = async
|
|
|
1861
1791
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1862
1792
|
default:
|
|
1863
1793
|
const parsedBody = parsedOutput.body;
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
$metadata,
|
|
1794
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1795
|
+
output,
|
|
1796
|
+
parsedBody,
|
|
1797
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1798
|
+
errorCode,
|
|
1870
1799
|
});
|
|
1871
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1872
1800
|
}
|
|
1873
1801
|
};
|
|
1874
1802
|
const deserializeAws_json1_1GetFirewallRuleGroupPolicyCommand = async (output, context) => {
|
|
@@ -1890,7 +1818,6 @@ const deserializeAws_json1_1GetFirewallRuleGroupPolicyCommandError = async (outp
|
|
|
1890
1818
|
...output,
|
|
1891
1819
|
body: await parseBody(output.body, context),
|
|
1892
1820
|
};
|
|
1893
|
-
let response;
|
|
1894
1821
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1895
1822
|
switch (errorCode) {
|
|
1896
1823
|
case "AccessDeniedException":
|
|
@@ -1910,14 +1837,12 @@ const deserializeAws_json1_1GetFirewallRuleGroupPolicyCommandError = async (outp
|
|
|
1910
1837
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1911
1838
|
default:
|
|
1912
1839
|
const parsedBody = parsedOutput.body;
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
$metadata,
|
|
1840
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1841
|
+
output,
|
|
1842
|
+
parsedBody,
|
|
1843
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1844
|
+
errorCode,
|
|
1919
1845
|
});
|
|
1920
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1921
1846
|
}
|
|
1922
1847
|
};
|
|
1923
1848
|
const deserializeAws_json1_1GetResolverConfigCommand = async (output, context) => {
|
|
@@ -1939,7 +1864,6 @@ const deserializeAws_json1_1GetResolverConfigCommandError = async (output, conte
|
|
|
1939
1864
|
...output,
|
|
1940
1865
|
body: await parseBody(output.body, context),
|
|
1941
1866
|
};
|
|
1942
|
-
let response;
|
|
1943
1867
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1944
1868
|
switch (errorCode) {
|
|
1945
1869
|
case "AccessDeniedException":
|
|
@@ -1959,14 +1883,12 @@ const deserializeAws_json1_1GetResolverConfigCommandError = async (output, conte
|
|
|
1959
1883
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1960
1884
|
default:
|
|
1961
1885
|
const parsedBody = parsedOutput.body;
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
$metadata,
|
|
1886
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1887
|
+
output,
|
|
1888
|
+
parsedBody,
|
|
1889
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1890
|
+
errorCode,
|
|
1968
1891
|
});
|
|
1969
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1970
1892
|
}
|
|
1971
1893
|
};
|
|
1972
1894
|
const deserializeAws_json1_1GetResolverDnssecConfigCommand = async (output, context) => {
|
|
@@ -1988,7 +1910,6 @@ const deserializeAws_json1_1GetResolverDnssecConfigCommandError = async (output,
|
|
|
1988
1910
|
...output,
|
|
1989
1911
|
body: await parseBody(output.body, context),
|
|
1990
1912
|
};
|
|
1991
|
-
let response;
|
|
1992
1913
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1993
1914
|
switch (errorCode) {
|
|
1994
1915
|
case "AccessDeniedException":
|
|
@@ -2011,14 +1932,12 @@ const deserializeAws_json1_1GetResolverDnssecConfigCommandError = async (output,
|
|
|
2011
1932
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2012
1933
|
default:
|
|
2013
1934
|
const parsedBody = parsedOutput.body;
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
$metadata,
|
|
1935
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1936
|
+
output,
|
|
1937
|
+
parsedBody,
|
|
1938
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1939
|
+
errorCode,
|
|
2020
1940
|
});
|
|
2021
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2022
1941
|
}
|
|
2023
1942
|
};
|
|
2024
1943
|
const deserializeAws_json1_1GetResolverEndpointCommand = async (output, context) => {
|
|
@@ -2040,7 +1959,6 @@ const deserializeAws_json1_1GetResolverEndpointCommandError = async (output, con
|
|
|
2040
1959
|
...output,
|
|
2041
1960
|
body: await parseBody(output.body, context),
|
|
2042
1961
|
};
|
|
2043
|
-
let response;
|
|
2044
1962
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2045
1963
|
switch (errorCode) {
|
|
2046
1964
|
case "InternalServiceErrorException":
|
|
@@ -2057,14 +1975,12 @@ const deserializeAws_json1_1GetResolverEndpointCommandError = async (output, con
|
|
|
2057
1975
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2058
1976
|
default:
|
|
2059
1977
|
const parsedBody = parsedOutput.body;
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
$metadata,
|
|
1978
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1979
|
+
output,
|
|
1980
|
+
parsedBody,
|
|
1981
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1982
|
+
errorCode,
|
|
2066
1983
|
});
|
|
2067
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2068
1984
|
}
|
|
2069
1985
|
};
|
|
2070
1986
|
const deserializeAws_json1_1GetResolverQueryLogConfigCommand = async (output, context) => {
|
|
@@ -2086,7 +2002,6 @@ const deserializeAws_json1_1GetResolverQueryLogConfigCommandError = async (outpu
|
|
|
2086
2002
|
...output,
|
|
2087
2003
|
body: await parseBody(output.body, context),
|
|
2088
2004
|
};
|
|
2089
|
-
let response;
|
|
2090
2005
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2091
2006
|
switch (errorCode) {
|
|
2092
2007
|
case "AccessDeniedException":
|
|
@@ -2109,14 +2024,12 @@ const deserializeAws_json1_1GetResolverQueryLogConfigCommandError = async (outpu
|
|
|
2109
2024
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2110
2025
|
default:
|
|
2111
2026
|
const parsedBody = parsedOutput.body;
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
$metadata,
|
|
2027
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2028
|
+
output,
|
|
2029
|
+
parsedBody,
|
|
2030
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2031
|
+
errorCode,
|
|
2118
2032
|
});
|
|
2119
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2120
2033
|
}
|
|
2121
2034
|
};
|
|
2122
2035
|
const deserializeAws_json1_1GetResolverQueryLogConfigAssociationCommand = async (output, context) => {
|
|
@@ -2138,7 +2051,6 @@ const deserializeAws_json1_1GetResolverQueryLogConfigAssociationCommandError = a
|
|
|
2138
2051
|
...output,
|
|
2139
2052
|
body: await parseBody(output.body, context),
|
|
2140
2053
|
};
|
|
2141
|
-
let response;
|
|
2142
2054
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2143
2055
|
switch (errorCode) {
|
|
2144
2056
|
case "AccessDeniedException":
|
|
@@ -2161,14 +2073,12 @@ const deserializeAws_json1_1GetResolverQueryLogConfigAssociationCommandError = a
|
|
|
2161
2073
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2162
2074
|
default:
|
|
2163
2075
|
const parsedBody = parsedOutput.body;
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
$metadata,
|
|
2076
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2077
|
+
output,
|
|
2078
|
+
parsedBody,
|
|
2079
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2080
|
+
errorCode,
|
|
2170
2081
|
});
|
|
2171
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2172
2082
|
}
|
|
2173
2083
|
};
|
|
2174
2084
|
const deserializeAws_json1_1GetResolverQueryLogConfigPolicyCommand = async (output, context) => {
|
|
@@ -2190,7 +2100,6 @@ const deserializeAws_json1_1GetResolverQueryLogConfigPolicyCommandError = async
|
|
|
2190
2100
|
...output,
|
|
2191
2101
|
body: await parseBody(output.body, context),
|
|
2192
2102
|
};
|
|
2193
|
-
let response;
|
|
2194
2103
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2195
2104
|
switch (errorCode) {
|
|
2196
2105
|
case "AccessDeniedException":
|
|
@@ -2210,14 +2119,12 @@ const deserializeAws_json1_1GetResolverQueryLogConfigPolicyCommandError = async
|
|
|
2210
2119
|
throw await deserializeAws_json1_1UnknownResourceExceptionResponse(parsedOutput, context);
|
|
2211
2120
|
default:
|
|
2212
2121
|
const parsedBody = parsedOutput.body;
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
$metadata,
|
|
2122
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2123
|
+
output,
|
|
2124
|
+
parsedBody,
|
|
2125
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2126
|
+
errorCode,
|
|
2219
2127
|
});
|
|
2220
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2221
2128
|
}
|
|
2222
2129
|
};
|
|
2223
2130
|
const deserializeAws_json1_1GetResolverRuleCommand = async (output, context) => {
|
|
@@ -2239,7 +2146,6 @@ const deserializeAws_json1_1GetResolverRuleCommandError = async (output, context
|
|
|
2239
2146
|
...output,
|
|
2240
2147
|
body: await parseBody(output.body, context),
|
|
2241
2148
|
};
|
|
2242
|
-
let response;
|
|
2243
2149
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2244
2150
|
switch (errorCode) {
|
|
2245
2151
|
case "InternalServiceErrorException":
|
|
@@ -2256,14 +2162,12 @@ const deserializeAws_json1_1GetResolverRuleCommandError = async (output, context
|
|
|
2256
2162
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2257
2163
|
default:
|
|
2258
2164
|
const parsedBody = parsedOutput.body;
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
$metadata,
|
|
2165
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2166
|
+
output,
|
|
2167
|
+
parsedBody,
|
|
2168
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2169
|
+
errorCode,
|
|
2265
2170
|
});
|
|
2266
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2267
2171
|
}
|
|
2268
2172
|
};
|
|
2269
2173
|
const deserializeAws_json1_1GetResolverRuleAssociationCommand = async (output, context) => {
|
|
@@ -2285,7 +2189,6 @@ const deserializeAws_json1_1GetResolverRuleAssociationCommandError = async (outp
|
|
|
2285
2189
|
...output,
|
|
2286
2190
|
body: await parseBody(output.body, context),
|
|
2287
2191
|
};
|
|
2288
|
-
let response;
|
|
2289
2192
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2290
2193
|
switch (errorCode) {
|
|
2291
2194
|
case "InternalServiceErrorException":
|
|
@@ -2302,14 +2205,12 @@ const deserializeAws_json1_1GetResolverRuleAssociationCommandError = async (outp
|
|
|
2302
2205
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2303
2206
|
default:
|
|
2304
2207
|
const parsedBody = parsedOutput.body;
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
$metadata,
|
|
2208
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2209
|
+
output,
|
|
2210
|
+
parsedBody,
|
|
2211
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2212
|
+
errorCode,
|
|
2311
2213
|
});
|
|
2312
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2313
2214
|
}
|
|
2314
2215
|
};
|
|
2315
2216
|
const deserializeAws_json1_1GetResolverRulePolicyCommand = async (output, context) => {
|
|
@@ -2331,7 +2232,6 @@ const deserializeAws_json1_1GetResolverRulePolicyCommandError = async (output, c
|
|
|
2331
2232
|
...output,
|
|
2332
2233
|
body: await parseBody(output.body, context),
|
|
2333
2234
|
};
|
|
2334
|
-
let response;
|
|
2335
2235
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2336
2236
|
switch (errorCode) {
|
|
2337
2237
|
case "InternalServiceErrorException":
|
|
@@ -2345,14 +2245,12 @@ const deserializeAws_json1_1GetResolverRulePolicyCommandError = async (output, c
|
|
|
2345
2245
|
throw await deserializeAws_json1_1UnknownResourceExceptionResponse(parsedOutput, context);
|
|
2346
2246
|
default:
|
|
2347
2247
|
const parsedBody = parsedOutput.body;
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
$metadata,
|
|
2248
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2249
|
+
output,
|
|
2250
|
+
parsedBody,
|
|
2251
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2252
|
+
errorCode,
|
|
2354
2253
|
});
|
|
2355
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2356
2254
|
}
|
|
2357
2255
|
};
|
|
2358
2256
|
const deserializeAws_json1_1ImportFirewallDomainsCommand = async (output, context) => {
|
|
@@ -2374,7 +2272,6 @@ const deserializeAws_json1_1ImportFirewallDomainsCommandError = async (output, c
|
|
|
2374
2272
|
...output,
|
|
2375
2273
|
body: await parseBody(output.body, context),
|
|
2376
2274
|
};
|
|
2377
|
-
let response;
|
|
2378
2275
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2379
2276
|
switch (errorCode) {
|
|
2380
2277
|
case "AccessDeniedException":
|
|
@@ -2400,14 +2297,12 @@ const deserializeAws_json1_1ImportFirewallDomainsCommandError = async (output, c
|
|
|
2400
2297
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2401
2298
|
default:
|
|
2402
2299
|
const parsedBody = parsedOutput.body;
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
$metadata,
|
|
2300
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2301
|
+
output,
|
|
2302
|
+
parsedBody,
|
|
2303
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2304
|
+
errorCode,
|
|
2409
2305
|
});
|
|
2410
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2411
2306
|
}
|
|
2412
2307
|
};
|
|
2413
2308
|
const deserializeAws_json1_1ListFirewallConfigsCommand = async (output, context) => {
|
|
@@ -2429,7 +2324,6 @@ const deserializeAws_json1_1ListFirewallConfigsCommandError = async (output, con
|
|
|
2429
2324
|
...output,
|
|
2430
2325
|
body: await parseBody(output.body, context),
|
|
2431
2326
|
};
|
|
2432
|
-
let response;
|
|
2433
2327
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2434
2328
|
switch (errorCode) {
|
|
2435
2329
|
case "AccessDeniedException":
|
|
@@ -2446,14 +2340,12 @@ const deserializeAws_json1_1ListFirewallConfigsCommandError = async (output, con
|
|
|
2446
2340
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2447
2341
|
default:
|
|
2448
2342
|
const parsedBody = parsedOutput.body;
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
$metadata,
|
|
2343
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2344
|
+
output,
|
|
2345
|
+
parsedBody,
|
|
2346
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2347
|
+
errorCode,
|
|
2455
2348
|
});
|
|
2456
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2457
2349
|
}
|
|
2458
2350
|
};
|
|
2459
2351
|
const deserializeAws_json1_1ListFirewallDomainListsCommand = async (output, context) => {
|
|
@@ -2475,7 +2367,6 @@ const deserializeAws_json1_1ListFirewallDomainListsCommandError = async (output,
|
|
|
2475
2367
|
...output,
|
|
2476
2368
|
body: await parseBody(output.body, context),
|
|
2477
2369
|
};
|
|
2478
|
-
let response;
|
|
2479
2370
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2480
2371
|
switch (errorCode) {
|
|
2481
2372
|
case "AccessDeniedException":
|
|
@@ -2492,14 +2383,12 @@ const deserializeAws_json1_1ListFirewallDomainListsCommandError = async (output,
|
|
|
2492
2383
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2493
2384
|
default:
|
|
2494
2385
|
const parsedBody = parsedOutput.body;
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
$metadata,
|
|
2386
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2387
|
+
output,
|
|
2388
|
+
parsedBody,
|
|
2389
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2390
|
+
errorCode,
|
|
2501
2391
|
});
|
|
2502
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2503
2392
|
}
|
|
2504
2393
|
};
|
|
2505
2394
|
const deserializeAws_json1_1ListFirewallDomainsCommand = async (output, context) => {
|
|
@@ -2521,7 +2410,6 @@ const deserializeAws_json1_1ListFirewallDomainsCommandError = async (output, con
|
|
|
2521
2410
|
...output,
|
|
2522
2411
|
body: await parseBody(output.body, context),
|
|
2523
2412
|
};
|
|
2524
|
-
let response;
|
|
2525
2413
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2526
2414
|
switch (errorCode) {
|
|
2527
2415
|
case "AccessDeniedException":
|
|
@@ -2541,14 +2429,12 @@ const deserializeAws_json1_1ListFirewallDomainsCommandError = async (output, con
|
|
|
2541
2429
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2542
2430
|
default:
|
|
2543
2431
|
const parsedBody = parsedOutput.body;
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
$metadata,
|
|
2432
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2433
|
+
output,
|
|
2434
|
+
parsedBody,
|
|
2435
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2436
|
+
errorCode,
|
|
2550
2437
|
});
|
|
2551
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2552
2438
|
}
|
|
2553
2439
|
};
|
|
2554
2440
|
const deserializeAws_json1_1ListFirewallRuleGroupAssociationsCommand = async (output, context) => {
|
|
@@ -2570,7 +2456,6 @@ const deserializeAws_json1_1ListFirewallRuleGroupAssociationsCommandError = asyn
|
|
|
2570
2456
|
...output,
|
|
2571
2457
|
body: await parseBody(output.body, context),
|
|
2572
2458
|
};
|
|
2573
|
-
let response;
|
|
2574
2459
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2575
2460
|
switch (errorCode) {
|
|
2576
2461
|
case "AccessDeniedException":
|
|
@@ -2587,14 +2472,12 @@ const deserializeAws_json1_1ListFirewallRuleGroupAssociationsCommandError = asyn
|
|
|
2587
2472
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2588
2473
|
default:
|
|
2589
2474
|
const parsedBody = parsedOutput.body;
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
$metadata,
|
|
2475
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2476
|
+
output,
|
|
2477
|
+
parsedBody,
|
|
2478
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2479
|
+
errorCode,
|
|
2596
2480
|
});
|
|
2597
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2598
2481
|
}
|
|
2599
2482
|
};
|
|
2600
2483
|
const deserializeAws_json1_1ListFirewallRuleGroupsCommand = async (output, context) => {
|
|
@@ -2616,7 +2499,6 @@ const deserializeAws_json1_1ListFirewallRuleGroupsCommandError = async (output,
|
|
|
2616
2499
|
...output,
|
|
2617
2500
|
body: await parseBody(output.body, context),
|
|
2618
2501
|
};
|
|
2619
|
-
let response;
|
|
2620
2502
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2621
2503
|
switch (errorCode) {
|
|
2622
2504
|
case "AccessDeniedException":
|
|
@@ -2633,14 +2515,12 @@ const deserializeAws_json1_1ListFirewallRuleGroupsCommandError = async (output,
|
|
|
2633
2515
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2634
2516
|
default:
|
|
2635
2517
|
const parsedBody = parsedOutput.body;
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
$metadata,
|
|
2518
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2519
|
+
output,
|
|
2520
|
+
parsedBody,
|
|
2521
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2522
|
+
errorCode,
|
|
2642
2523
|
});
|
|
2643
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2644
2524
|
}
|
|
2645
2525
|
};
|
|
2646
2526
|
const deserializeAws_json1_1ListFirewallRulesCommand = async (output, context) => {
|
|
@@ -2662,7 +2542,6 @@ const deserializeAws_json1_1ListFirewallRulesCommandError = async (output, conte
|
|
|
2662
2542
|
...output,
|
|
2663
2543
|
body: await parseBody(output.body, context),
|
|
2664
2544
|
};
|
|
2665
|
-
let response;
|
|
2666
2545
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2667
2546
|
switch (errorCode) {
|
|
2668
2547
|
case "AccessDeniedException":
|
|
@@ -2682,14 +2561,12 @@ const deserializeAws_json1_1ListFirewallRulesCommandError = async (output, conte
|
|
|
2682
2561
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2683
2562
|
default:
|
|
2684
2563
|
const parsedBody = parsedOutput.body;
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
$metadata,
|
|
2564
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2565
|
+
output,
|
|
2566
|
+
parsedBody,
|
|
2567
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2568
|
+
errorCode,
|
|
2691
2569
|
});
|
|
2692
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2693
2570
|
}
|
|
2694
2571
|
};
|
|
2695
2572
|
const deserializeAws_json1_1ListResolverConfigsCommand = async (output, context) => {
|
|
@@ -2711,7 +2588,6 @@ const deserializeAws_json1_1ListResolverConfigsCommandError = async (output, con
|
|
|
2711
2588
|
...output,
|
|
2712
2589
|
body: await parseBody(output.body, context),
|
|
2713
2590
|
};
|
|
2714
|
-
let response;
|
|
2715
2591
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2716
2592
|
switch (errorCode) {
|
|
2717
2593
|
case "AccessDeniedException":
|
|
@@ -2734,14 +2610,12 @@ const deserializeAws_json1_1ListResolverConfigsCommandError = async (output, con
|
|
|
2734
2610
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2735
2611
|
default:
|
|
2736
2612
|
const parsedBody = parsedOutput.body;
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
$metadata,
|
|
2613
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2614
|
+
output,
|
|
2615
|
+
parsedBody,
|
|
2616
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2617
|
+
errorCode,
|
|
2743
2618
|
});
|
|
2744
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2745
2619
|
}
|
|
2746
2620
|
};
|
|
2747
2621
|
const deserializeAws_json1_1ListResolverDnssecConfigsCommand = async (output, context) => {
|
|
@@ -2763,7 +2637,6 @@ const deserializeAws_json1_1ListResolverDnssecConfigsCommandError = async (outpu
|
|
|
2763
2637
|
...output,
|
|
2764
2638
|
body: await parseBody(output.body, context),
|
|
2765
2639
|
};
|
|
2766
|
-
let response;
|
|
2767
2640
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2768
2641
|
switch (errorCode) {
|
|
2769
2642
|
case "AccessDeniedException":
|
|
@@ -2786,14 +2659,12 @@ const deserializeAws_json1_1ListResolverDnssecConfigsCommandError = async (outpu
|
|
|
2786
2659
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2787
2660
|
default:
|
|
2788
2661
|
const parsedBody = parsedOutput.body;
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
$metadata,
|
|
2662
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2663
|
+
output,
|
|
2664
|
+
parsedBody,
|
|
2665
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2666
|
+
errorCode,
|
|
2795
2667
|
});
|
|
2796
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2797
2668
|
}
|
|
2798
2669
|
};
|
|
2799
2670
|
const deserializeAws_json1_1ListResolverEndpointIpAddressesCommand = async (output, context) => {
|
|
@@ -2815,7 +2686,6 @@ const deserializeAws_json1_1ListResolverEndpointIpAddressesCommandError = async
|
|
|
2815
2686
|
...output,
|
|
2816
2687
|
body: await parseBody(output.body, context),
|
|
2817
2688
|
};
|
|
2818
|
-
let response;
|
|
2819
2689
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2820
2690
|
switch (errorCode) {
|
|
2821
2691
|
case "InternalServiceErrorException":
|
|
@@ -2835,14 +2705,12 @@ const deserializeAws_json1_1ListResolverEndpointIpAddressesCommandError = async
|
|
|
2835
2705
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2836
2706
|
default:
|
|
2837
2707
|
const parsedBody = parsedOutput.body;
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
$metadata,
|
|
2708
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2709
|
+
output,
|
|
2710
|
+
parsedBody,
|
|
2711
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2712
|
+
errorCode,
|
|
2844
2713
|
});
|
|
2845
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2846
2714
|
}
|
|
2847
2715
|
};
|
|
2848
2716
|
const deserializeAws_json1_1ListResolverEndpointsCommand = async (output, context) => {
|
|
@@ -2864,7 +2732,6 @@ const deserializeAws_json1_1ListResolverEndpointsCommandError = async (output, c
|
|
|
2864
2732
|
...output,
|
|
2865
2733
|
body: await parseBody(output.body, context),
|
|
2866
2734
|
};
|
|
2867
|
-
let response;
|
|
2868
2735
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2869
2736
|
switch (errorCode) {
|
|
2870
2737
|
case "InternalServiceErrorException":
|
|
@@ -2884,14 +2751,12 @@ const deserializeAws_json1_1ListResolverEndpointsCommandError = async (output, c
|
|
|
2884
2751
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2885
2752
|
default:
|
|
2886
2753
|
const parsedBody = parsedOutput.body;
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
$metadata,
|
|
2754
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2755
|
+
output,
|
|
2756
|
+
parsedBody,
|
|
2757
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2758
|
+
errorCode,
|
|
2893
2759
|
});
|
|
2894
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2895
2760
|
}
|
|
2896
2761
|
};
|
|
2897
2762
|
const deserializeAws_json1_1ListResolverQueryLogConfigAssociationsCommand = async (output, context) => {
|
|
@@ -2913,7 +2778,6 @@ const deserializeAws_json1_1ListResolverQueryLogConfigAssociationsCommandError =
|
|
|
2913
2778
|
...output,
|
|
2914
2779
|
body: await parseBody(output.body, context),
|
|
2915
2780
|
};
|
|
2916
|
-
let response;
|
|
2917
2781
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2918
2782
|
switch (errorCode) {
|
|
2919
2783
|
case "AccessDeniedException":
|
|
@@ -2936,14 +2800,12 @@ const deserializeAws_json1_1ListResolverQueryLogConfigAssociationsCommandError =
|
|
|
2936
2800
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2937
2801
|
default:
|
|
2938
2802
|
const parsedBody = parsedOutput.body;
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
$metadata,
|
|
2803
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2804
|
+
output,
|
|
2805
|
+
parsedBody,
|
|
2806
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2807
|
+
errorCode,
|
|
2945
2808
|
});
|
|
2946
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2947
2809
|
}
|
|
2948
2810
|
};
|
|
2949
2811
|
const deserializeAws_json1_1ListResolverQueryLogConfigsCommand = async (output, context) => {
|
|
@@ -2965,7 +2827,6 @@ const deserializeAws_json1_1ListResolverQueryLogConfigsCommandError = async (out
|
|
|
2965
2827
|
...output,
|
|
2966
2828
|
body: await parseBody(output.body, context),
|
|
2967
2829
|
};
|
|
2968
|
-
let response;
|
|
2969
2830
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2970
2831
|
switch (errorCode) {
|
|
2971
2832
|
case "AccessDeniedException":
|
|
@@ -2988,14 +2849,12 @@ const deserializeAws_json1_1ListResolverQueryLogConfigsCommandError = async (out
|
|
|
2988
2849
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2989
2850
|
default:
|
|
2990
2851
|
const parsedBody = parsedOutput.body;
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
$metadata,
|
|
2852
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2853
|
+
output,
|
|
2854
|
+
parsedBody,
|
|
2855
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2856
|
+
errorCode,
|
|
2997
2857
|
});
|
|
2998
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2999
2858
|
}
|
|
3000
2859
|
};
|
|
3001
2860
|
const deserializeAws_json1_1ListResolverRuleAssociationsCommand = async (output, context) => {
|
|
@@ -3017,7 +2876,6 @@ const deserializeAws_json1_1ListResolverRuleAssociationsCommandError = async (ou
|
|
|
3017
2876
|
...output,
|
|
3018
2877
|
body: await parseBody(output.body, context),
|
|
3019
2878
|
};
|
|
3020
|
-
let response;
|
|
3021
2879
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3022
2880
|
switch (errorCode) {
|
|
3023
2881
|
case "InternalServiceErrorException":
|
|
@@ -3037,14 +2895,12 @@ const deserializeAws_json1_1ListResolverRuleAssociationsCommandError = async (ou
|
|
|
3037
2895
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3038
2896
|
default:
|
|
3039
2897
|
const parsedBody = parsedOutput.body;
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
$metadata,
|
|
2898
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2899
|
+
output,
|
|
2900
|
+
parsedBody,
|
|
2901
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2902
|
+
errorCode,
|
|
3046
2903
|
});
|
|
3047
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3048
2904
|
}
|
|
3049
2905
|
};
|
|
3050
2906
|
const deserializeAws_json1_1ListResolverRulesCommand = async (output, context) => {
|
|
@@ -3066,7 +2922,6 @@ const deserializeAws_json1_1ListResolverRulesCommandError = async (output, conte
|
|
|
3066
2922
|
...output,
|
|
3067
2923
|
body: await parseBody(output.body, context),
|
|
3068
2924
|
};
|
|
3069
|
-
let response;
|
|
3070
2925
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3071
2926
|
switch (errorCode) {
|
|
3072
2927
|
case "InternalServiceErrorException":
|
|
@@ -3086,14 +2941,12 @@ const deserializeAws_json1_1ListResolverRulesCommandError = async (output, conte
|
|
|
3086
2941
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3087
2942
|
default:
|
|
3088
2943
|
const parsedBody = parsedOutput.body;
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
$metadata,
|
|
2944
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2945
|
+
output,
|
|
2946
|
+
parsedBody,
|
|
2947
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2948
|
+
errorCode,
|
|
3095
2949
|
});
|
|
3096
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3097
2950
|
}
|
|
3098
2951
|
};
|
|
3099
2952
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -3115,7 +2968,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
3115
2968
|
...output,
|
|
3116
2969
|
body: await parseBody(output.body, context),
|
|
3117
2970
|
};
|
|
3118
|
-
let response;
|
|
3119
2971
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3120
2972
|
switch (errorCode) {
|
|
3121
2973
|
case "InternalServiceErrorException":
|
|
@@ -3138,14 +2990,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
3138
2990
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3139
2991
|
default:
|
|
3140
2992
|
const parsedBody = parsedOutput.body;
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
$metadata,
|
|
2993
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2994
|
+
output,
|
|
2995
|
+
parsedBody,
|
|
2996
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2997
|
+
errorCode,
|
|
3147
2998
|
});
|
|
3148
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3149
2999
|
}
|
|
3150
3000
|
};
|
|
3151
3001
|
const deserializeAws_json1_1PutFirewallRuleGroupPolicyCommand = async (output, context) => {
|
|
@@ -3167,7 +3017,6 @@ const deserializeAws_json1_1PutFirewallRuleGroupPolicyCommandError = async (outp
|
|
|
3167
3017
|
...output,
|
|
3168
3018
|
body: await parseBody(output.body, context),
|
|
3169
3019
|
};
|
|
3170
|
-
let response;
|
|
3171
3020
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3172
3021
|
switch (errorCode) {
|
|
3173
3022
|
case "AccessDeniedException":
|
|
@@ -3187,14 +3036,12 @@ const deserializeAws_json1_1PutFirewallRuleGroupPolicyCommandError = async (outp
|
|
|
3187
3036
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3188
3037
|
default:
|
|
3189
3038
|
const parsedBody = parsedOutput.body;
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
$metadata,
|
|
3039
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3040
|
+
output,
|
|
3041
|
+
parsedBody,
|
|
3042
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3043
|
+
errorCode,
|
|
3196
3044
|
});
|
|
3197
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3198
3045
|
}
|
|
3199
3046
|
};
|
|
3200
3047
|
const deserializeAws_json1_1PutResolverQueryLogConfigPolicyCommand = async (output, context) => {
|
|
@@ -3216,7 +3063,6 @@ const deserializeAws_json1_1PutResolverQueryLogConfigPolicyCommandError = async
|
|
|
3216
3063
|
...output,
|
|
3217
3064
|
body: await parseBody(output.body, context),
|
|
3218
3065
|
};
|
|
3219
|
-
let response;
|
|
3220
3066
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3221
3067
|
switch (errorCode) {
|
|
3222
3068
|
case "AccessDeniedException":
|
|
@@ -3239,14 +3085,12 @@ const deserializeAws_json1_1PutResolverQueryLogConfigPolicyCommandError = async
|
|
|
3239
3085
|
throw await deserializeAws_json1_1UnknownResourceExceptionResponse(parsedOutput, context);
|
|
3240
3086
|
default:
|
|
3241
3087
|
const parsedBody = parsedOutput.body;
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
$metadata,
|
|
3088
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3089
|
+
output,
|
|
3090
|
+
parsedBody,
|
|
3091
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3092
|
+
errorCode,
|
|
3248
3093
|
});
|
|
3249
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3250
3094
|
}
|
|
3251
3095
|
};
|
|
3252
3096
|
const deserializeAws_json1_1PutResolverRulePolicyCommand = async (output, context) => {
|
|
@@ -3268,7 +3112,6 @@ const deserializeAws_json1_1PutResolverRulePolicyCommandError = async (output, c
|
|
|
3268
3112
|
...output,
|
|
3269
3113
|
body: await parseBody(output.body, context),
|
|
3270
3114
|
};
|
|
3271
|
-
let response;
|
|
3272
3115
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3273
3116
|
switch (errorCode) {
|
|
3274
3117
|
case "InternalServiceErrorException":
|
|
@@ -3285,14 +3128,12 @@ const deserializeAws_json1_1PutResolverRulePolicyCommandError = async (output, c
|
|
|
3285
3128
|
throw await deserializeAws_json1_1UnknownResourceExceptionResponse(parsedOutput, context);
|
|
3286
3129
|
default:
|
|
3287
3130
|
const parsedBody = parsedOutput.body;
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
$metadata,
|
|
3131
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3132
|
+
output,
|
|
3133
|
+
parsedBody,
|
|
3134
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3135
|
+
errorCode,
|
|
3294
3136
|
});
|
|
3295
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3296
3137
|
}
|
|
3297
3138
|
};
|
|
3298
3139
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -3314,7 +3155,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
3314
3155
|
...output,
|
|
3315
3156
|
body: await parseBody(output.body, context),
|
|
3316
3157
|
};
|
|
3317
|
-
let response;
|
|
3318
3158
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3319
3159
|
switch (errorCode) {
|
|
3320
3160
|
case "InternalServiceErrorException":
|
|
@@ -3340,14 +3180,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
3340
3180
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3341
3181
|
default:
|
|
3342
3182
|
const parsedBody = parsedOutput.body;
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
$metadata,
|
|
3183
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3184
|
+
output,
|
|
3185
|
+
parsedBody,
|
|
3186
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3187
|
+
errorCode,
|
|
3349
3188
|
});
|
|
3350
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3351
3189
|
}
|
|
3352
3190
|
};
|
|
3353
3191
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -3369,7 +3207,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
3369
3207
|
...output,
|
|
3370
3208
|
body: await parseBody(output.body, context),
|
|
3371
3209
|
};
|
|
3372
|
-
let response;
|
|
3373
3210
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3374
3211
|
switch (errorCode) {
|
|
3375
3212
|
case "InternalServiceErrorException":
|
|
@@ -3389,14 +3226,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
3389
3226
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3390
3227
|
default:
|
|
3391
3228
|
const parsedBody = parsedOutput.body;
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
$metadata,
|
|
3229
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3230
|
+
output,
|
|
3231
|
+
parsedBody,
|
|
3232
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3233
|
+
errorCode,
|
|
3398
3234
|
});
|
|
3399
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3400
3235
|
}
|
|
3401
3236
|
};
|
|
3402
3237
|
const deserializeAws_json1_1UpdateFirewallConfigCommand = async (output, context) => {
|
|
@@ -3418,7 +3253,6 @@ const deserializeAws_json1_1UpdateFirewallConfigCommandError = async (output, co
|
|
|
3418
3253
|
...output,
|
|
3419
3254
|
body: await parseBody(output.body, context),
|
|
3420
3255
|
};
|
|
3421
|
-
let response;
|
|
3422
3256
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3423
3257
|
switch (errorCode) {
|
|
3424
3258
|
case "AccessDeniedException":
|
|
@@ -3438,14 +3272,12 @@ const deserializeAws_json1_1UpdateFirewallConfigCommandError = async (output, co
|
|
|
3438
3272
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3439
3273
|
default:
|
|
3440
3274
|
const parsedBody = parsedOutput.body;
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
$metadata,
|
|
3275
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3276
|
+
output,
|
|
3277
|
+
parsedBody,
|
|
3278
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3279
|
+
errorCode,
|
|
3447
3280
|
});
|
|
3448
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3449
3281
|
}
|
|
3450
3282
|
};
|
|
3451
3283
|
const deserializeAws_json1_1UpdateFirewallDomainsCommand = async (output, context) => {
|
|
@@ -3467,7 +3299,6 @@ const deserializeAws_json1_1UpdateFirewallDomainsCommandError = async (output, c
|
|
|
3467
3299
|
...output,
|
|
3468
3300
|
body: await parseBody(output.body, context),
|
|
3469
3301
|
};
|
|
3470
|
-
let response;
|
|
3471
3302
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3472
3303
|
switch (errorCode) {
|
|
3473
3304
|
case "AccessDeniedException":
|
|
@@ -3493,14 +3324,12 @@ const deserializeAws_json1_1UpdateFirewallDomainsCommandError = async (output, c
|
|
|
3493
3324
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3494
3325
|
default:
|
|
3495
3326
|
const parsedBody = parsedOutput.body;
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
$metadata,
|
|
3327
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3328
|
+
output,
|
|
3329
|
+
parsedBody,
|
|
3330
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3331
|
+
errorCode,
|
|
3502
3332
|
});
|
|
3503
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3504
3333
|
}
|
|
3505
3334
|
};
|
|
3506
3335
|
const deserializeAws_json1_1UpdateFirewallRuleCommand = async (output, context) => {
|
|
@@ -3522,7 +3351,6 @@ const deserializeAws_json1_1UpdateFirewallRuleCommandError = async (output, cont
|
|
|
3522
3351
|
...output,
|
|
3523
3352
|
body: await parseBody(output.body, context),
|
|
3524
3353
|
};
|
|
3525
|
-
let response;
|
|
3526
3354
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3527
3355
|
switch (errorCode) {
|
|
3528
3356
|
case "AccessDeniedException":
|
|
@@ -3545,14 +3373,12 @@ const deserializeAws_json1_1UpdateFirewallRuleCommandError = async (output, cont
|
|
|
3545
3373
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3546
3374
|
default:
|
|
3547
3375
|
const parsedBody = parsedOutput.body;
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
$metadata,
|
|
3376
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3377
|
+
output,
|
|
3378
|
+
parsedBody,
|
|
3379
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3380
|
+
errorCode,
|
|
3554
3381
|
});
|
|
3555
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3556
3382
|
}
|
|
3557
3383
|
};
|
|
3558
3384
|
const deserializeAws_json1_1UpdateFirewallRuleGroupAssociationCommand = async (output, context) => {
|
|
@@ -3574,7 +3400,6 @@ const deserializeAws_json1_1UpdateFirewallRuleGroupAssociationCommandError = asy
|
|
|
3574
3400
|
...output,
|
|
3575
3401
|
body: await parseBody(output.body, context),
|
|
3576
3402
|
};
|
|
3577
|
-
let response;
|
|
3578
3403
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3579
3404
|
switch (errorCode) {
|
|
3580
3405
|
case "AccessDeniedException":
|
|
@@ -3597,14 +3422,12 @@ const deserializeAws_json1_1UpdateFirewallRuleGroupAssociationCommandError = asy
|
|
|
3597
3422
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3598
3423
|
default:
|
|
3599
3424
|
const parsedBody = parsedOutput.body;
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
$metadata,
|
|
3425
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3426
|
+
output,
|
|
3427
|
+
parsedBody,
|
|
3428
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3429
|
+
errorCode,
|
|
3606
3430
|
});
|
|
3607
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3608
3431
|
}
|
|
3609
3432
|
};
|
|
3610
3433
|
const deserializeAws_json1_1UpdateResolverConfigCommand = async (output, context) => {
|
|
@@ -3626,7 +3449,6 @@ const deserializeAws_json1_1UpdateResolverConfigCommandError = async (output, co
|
|
|
3626
3449
|
...output,
|
|
3627
3450
|
body: await parseBody(output.body, context),
|
|
3628
3451
|
};
|
|
3629
|
-
let response;
|
|
3630
3452
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3631
3453
|
switch (errorCode) {
|
|
3632
3454
|
case "AccessDeniedException":
|
|
@@ -3655,14 +3477,12 @@ const deserializeAws_json1_1UpdateResolverConfigCommandError = async (output, co
|
|
|
3655
3477
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3656
3478
|
default:
|
|
3657
3479
|
const parsedBody = parsedOutput.body;
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
$metadata,
|
|
3480
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3481
|
+
output,
|
|
3482
|
+
parsedBody,
|
|
3483
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3484
|
+
errorCode,
|
|
3664
3485
|
});
|
|
3665
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3666
3486
|
}
|
|
3667
3487
|
};
|
|
3668
3488
|
const deserializeAws_json1_1UpdateResolverDnssecConfigCommand = async (output, context) => {
|
|
@@ -3684,7 +3504,6 @@ const deserializeAws_json1_1UpdateResolverDnssecConfigCommandError = async (outp
|
|
|
3684
3504
|
...output,
|
|
3685
3505
|
body: await parseBody(output.body, context),
|
|
3686
3506
|
};
|
|
3687
|
-
let response;
|
|
3688
3507
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3689
3508
|
switch (errorCode) {
|
|
3690
3509
|
case "AccessDeniedException":
|
|
@@ -3707,14 +3526,12 @@ const deserializeAws_json1_1UpdateResolverDnssecConfigCommandError = async (outp
|
|
|
3707
3526
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3708
3527
|
default:
|
|
3709
3528
|
const parsedBody = parsedOutput.body;
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
$metadata,
|
|
3529
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3530
|
+
output,
|
|
3531
|
+
parsedBody,
|
|
3532
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3533
|
+
errorCode,
|
|
3716
3534
|
});
|
|
3717
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3718
3535
|
}
|
|
3719
3536
|
};
|
|
3720
3537
|
const deserializeAws_json1_1UpdateResolverEndpointCommand = async (output, context) => {
|
|
@@ -3736,7 +3553,6 @@ const deserializeAws_json1_1UpdateResolverEndpointCommandError = async (output,
|
|
|
3736
3553
|
...output,
|
|
3737
3554
|
body: await parseBody(output.body, context),
|
|
3738
3555
|
};
|
|
3739
|
-
let response;
|
|
3740
3556
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3741
3557
|
switch (errorCode) {
|
|
3742
3558
|
case "InternalServiceErrorException":
|
|
@@ -3756,14 +3572,12 @@ const deserializeAws_json1_1UpdateResolverEndpointCommandError = async (output,
|
|
|
3756
3572
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3757
3573
|
default:
|
|
3758
3574
|
const parsedBody = parsedOutput.body;
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
$metadata,
|
|
3575
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3576
|
+
output,
|
|
3577
|
+
parsedBody,
|
|
3578
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3579
|
+
errorCode,
|
|
3765
3580
|
});
|
|
3766
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3767
3581
|
}
|
|
3768
3582
|
};
|
|
3769
3583
|
const deserializeAws_json1_1UpdateResolverRuleCommand = async (output, context) => {
|
|
@@ -3785,7 +3599,6 @@ const deserializeAws_json1_1UpdateResolverRuleCommandError = async (output, cont
|
|
|
3785
3599
|
...output,
|
|
3786
3600
|
body: await parseBody(output.body, context),
|
|
3787
3601
|
};
|
|
3788
|
-
let response;
|
|
3789
3602
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3790
3603
|
switch (errorCode) {
|
|
3791
3604
|
case "InternalServiceErrorException":
|
|
@@ -3811,14 +3624,12 @@ const deserializeAws_json1_1UpdateResolverRuleCommandError = async (output, cont
|
|
|
3811
3624
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3812
3625
|
default:
|
|
3813
3626
|
const parsedBody = parsedOutput.body;
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
$metadata,
|
|
3627
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3628
|
+
output,
|
|
3629
|
+
parsedBody,
|
|
3630
|
+
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3631
|
+
errorCode,
|
|
3820
3632
|
});
|
|
3821
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3822
3633
|
}
|
|
3823
3634
|
};
|
|
3824
3635
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -4127,9 +3938,6 @@ const serializeAws_json1_1Filters = (input, context) => {
|
|
|
4127
3938
|
return input
|
|
4128
3939
|
.filter((e) => e != null)
|
|
4129
3940
|
.map((entry) => {
|
|
4130
|
-
if (entry === null) {
|
|
4131
|
-
return null;
|
|
4132
|
-
}
|
|
4133
3941
|
return serializeAws_json1_1Filter(entry, context);
|
|
4134
3942
|
});
|
|
4135
3943
|
};
|
|
@@ -4137,9 +3945,6 @@ const serializeAws_json1_1FilterValues = (input, context) => {
|
|
|
4137
3945
|
return input
|
|
4138
3946
|
.filter((e) => e != null)
|
|
4139
3947
|
.map((entry) => {
|
|
4140
|
-
if (entry === null) {
|
|
4141
|
-
return null;
|
|
4142
|
-
}
|
|
4143
3948
|
return entry;
|
|
4144
3949
|
});
|
|
4145
3950
|
};
|
|
@@ -4147,9 +3952,6 @@ const serializeAws_json1_1FirewallDomains = (input, context) => {
|
|
|
4147
3952
|
return input
|
|
4148
3953
|
.filter((e) => e != null)
|
|
4149
3954
|
.map((entry) => {
|
|
4150
|
-
if (entry === null) {
|
|
4151
|
-
return null;
|
|
4152
|
-
}
|
|
4153
3955
|
return entry;
|
|
4154
3956
|
});
|
|
4155
3957
|
};
|
|
@@ -4238,9 +4040,6 @@ const serializeAws_json1_1IpAddressesRequest = (input, context) => {
|
|
|
4238
4040
|
return input
|
|
4239
4041
|
.filter((e) => e != null)
|
|
4240
4042
|
.map((entry) => {
|
|
4241
|
-
if (entry === null) {
|
|
4242
|
-
return null;
|
|
4243
|
-
}
|
|
4244
4043
|
return serializeAws_json1_1IpAddressRequest(entry, context);
|
|
4245
4044
|
});
|
|
4246
4045
|
};
|
|
@@ -4398,9 +4197,6 @@ const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
|
4398
4197
|
return input
|
|
4399
4198
|
.filter((e) => e != null)
|
|
4400
4199
|
.map((entry) => {
|
|
4401
|
-
if (entry === null) {
|
|
4402
|
-
return null;
|
|
4403
|
-
}
|
|
4404
4200
|
return entry;
|
|
4405
4201
|
});
|
|
4406
4202
|
};
|
|
@@ -4414,9 +4210,6 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
4414
4210
|
return input
|
|
4415
4211
|
.filter((e) => e != null)
|
|
4416
4212
|
.map((entry) => {
|
|
4417
|
-
if (entry === null) {
|
|
4418
|
-
return null;
|
|
4419
|
-
}
|
|
4420
4213
|
return entry;
|
|
4421
4214
|
});
|
|
4422
4215
|
};
|
|
@@ -4424,9 +4217,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
4424
4217
|
return input
|
|
4425
4218
|
.filter((e) => e != null)
|
|
4426
4219
|
.map((entry) => {
|
|
4427
|
-
if (entry === null) {
|
|
4428
|
-
return null;
|
|
4429
|
-
}
|
|
4430
4220
|
return serializeAws_json1_1Tag(entry, context);
|
|
4431
4221
|
});
|
|
4432
4222
|
};
|
|
@@ -4446,9 +4236,6 @@ const serializeAws_json1_1TargetList = (input, context) => {
|
|
|
4446
4236
|
return input
|
|
4447
4237
|
.filter((e) => e != null)
|
|
4448
4238
|
.map((entry) => {
|
|
4449
|
-
if (entry === null) {
|
|
4450
|
-
return null;
|
|
4451
|
-
}
|
|
4452
4239
|
return serializeAws_json1_1TargetAddress(entry, context);
|
|
4453
4240
|
});
|
|
4454
4241
|
};
|