@aws-sdk/client-entityresolution 3.504.0 → 3.509.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +36 -821
- package/dist-es/protocols/Aws_restJson1.js +53 -838
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -732,7 +732,7 @@ var se_UpdateSchemaMappingCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
732
732
|
}, "se_UpdateSchemaMappingCommand");
|
|
733
733
|
var de_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
734
734
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
735
|
-
return
|
|
735
|
+
return de_CommandError(output, context);
|
|
736
736
|
}
|
|
737
737
|
const contents = (0, import_smithy_client.map)({
|
|
738
738
|
$metadata: deserializeMetadata(output)
|
|
@@ -750,43 +750,9 @@ var de_CreateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
750
750
|
Object.assign(contents, doc);
|
|
751
751
|
return contents;
|
|
752
752
|
}, "de_CreateIdMappingWorkflowCommand");
|
|
753
|
-
var de_CreateIdMappingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
754
|
-
const parsedOutput = {
|
|
755
|
-
...output,
|
|
756
|
-
body: await parseErrorBody(output.body, context)
|
|
757
|
-
};
|
|
758
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
759
|
-
switch (errorCode) {
|
|
760
|
-
case "AccessDeniedException":
|
|
761
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
762
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
763
|
-
case "ConflictException":
|
|
764
|
-
case "com.amazonaws.entityresolution#ConflictException":
|
|
765
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
766
|
-
case "ExceedsLimitException":
|
|
767
|
-
case "com.amazonaws.entityresolution#ExceedsLimitException":
|
|
768
|
-
throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
|
|
769
|
-
case "InternalServerException":
|
|
770
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
771
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
772
|
-
case "ThrottlingException":
|
|
773
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
774
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
775
|
-
case "ValidationException":
|
|
776
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
777
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
778
|
-
default:
|
|
779
|
-
const parsedBody = parsedOutput.body;
|
|
780
|
-
return throwDefaultError({
|
|
781
|
-
output,
|
|
782
|
-
parsedBody,
|
|
783
|
-
errorCode
|
|
784
|
-
});
|
|
785
|
-
}
|
|
786
|
-
}, "de_CreateIdMappingWorkflowCommandError");
|
|
787
753
|
var de_CreateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
788
754
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
789
|
-
return
|
|
755
|
+
return de_CommandError(output, context);
|
|
790
756
|
}
|
|
791
757
|
const contents = (0, import_smithy_client.map)({
|
|
792
758
|
$metadata: deserializeMetadata(output)
|
|
@@ -805,43 +771,9 @@ var de_CreateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
805
771
|
Object.assign(contents, doc);
|
|
806
772
|
return contents;
|
|
807
773
|
}, "de_CreateMatchingWorkflowCommand");
|
|
808
|
-
var de_CreateMatchingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
809
|
-
const parsedOutput = {
|
|
810
|
-
...output,
|
|
811
|
-
body: await parseErrorBody(output.body, context)
|
|
812
|
-
};
|
|
813
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
814
|
-
switch (errorCode) {
|
|
815
|
-
case "AccessDeniedException":
|
|
816
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
817
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
818
|
-
case "ConflictException":
|
|
819
|
-
case "com.amazonaws.entityresolution#ConflictException":
|
|
820
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
821
|
-
case "ExceedsLimitException":
|
|
822
|
-
case "com.amazonaws.entityresolution#ExceedsLimitException":
|
|
823
|
-
throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
|
|
824
|
-
case "InternalServerException":
|
|
825
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
826
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
827
|
-
case "ThrottlingException":
|
|
828
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
829
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
830
|
-
case "ValidationException":
|
|
831
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
832
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
833
|
-
default:
|
|
834
|
-
const parsedBody = parsedOutput.body;
|
|
835
|
-
return throwDefaultError({
|
|
836
|
-
output,
|
|
837
|
-
parsedBody,
|
|
838
|
-
errorCode
|
|
839
|
-
});
|
|
840
|
-
}
|
|
841
|
-
}, "de_CreateMatchingWorkflowCommandError");
|
|
842
774
|
var de_CreateSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
843
775
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
844
|
-
return
|
|
776
|
+
return de_CommandError(output, context);
|
|
845
777
|
}
|
|
846
778
|
const contents = (0, import_smithy_client.map)({
|
|
847
779
|
$metadata: deserializeMetadata(output)
|
|
@@ -856,43 +788,9 @@ var de_CreateSchemaMappingCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
856
788
|
Object.assign(contents, doc);
|
|
857
789
|
return contents;
|
|
858
790
|
}, "de_CreateSchemaMappingCommand");
|
|
859
|
-
var de_CreateSchemaMappingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
860
|
-
const parsedOutput = {
|
|
861
|
-
...output,
|
|
862
|
-
body: await parseErrorBody(output.body, context)
|
|
863
|
-
};
|
|
864
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
865
|
-
switch (errorCode) {
|
|
866
|
-
case "AccessDeniedException":
|
|
867
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
868
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
869
|
-
case "ConflictException":
|
|
870
|
-
case "com.amazonaws.entityresolution#ConflictException":
|
|
871
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
872
|
-
case "ExceedsLimitException":
|
|
873
|
-
case "com.amazonaws.entityresolution#ExceedsLimitException":
|
|
874
|
-
throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
|
|
875
|
-
case "InternalServerException":
|
|
876
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
877
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
878
|
-
case "ThrottlingException":
|
|
879
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
880
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
881
|
-
case "ValidationException":
|
|
882
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
883
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
884
|
-
default:
|
|
885
|
-
const parsedBody = parsedOutput.body;
|
|
886
|
-
return throwDefaultError({
|
|
887
|
-
output,
|
|
888
|
-
parsedBody,
|
|
889
|
-
errorCode
|
|
890
|
-
});
|
|
891
|
-
}
|
|
892
|
-
}, "de_CreateSchemaMappingCommandError");
|
|
893
791
|
var de_DeleteIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
894
792
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
895
|
-
return
|
|
793
|
+
return de_CommandError(output, context);
|
|
896
794
|
}
|
|
897
795
|
const contents = (0, import_smithy_client.map)({
|
|
898
796
|
$metadata: deserializeMetadata(output)
|
|
@@ -904,37 +802,9 @@ var de_DeleteIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
904
802
|
Object.assign(contents, doc);
|
|
905
803
|
return contents;
|
|
906
804
|
}, "de_DeleteIdMappingWorkflowCommand");
|
|
907
|
-
var de_DeleteIdMappingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
908
|
-
const parsedOutput = {
|
|
909
|
-
...output,
|
|
910
|
-
body: await parseErrorBody(output.body, context)
|
|
911
|
-
};
|
|
912
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
913
|
-
switch (errorCode) {
|
|
914
|
-
case "AccessDeniedException":
|
|
915
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
916
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
917
|
-
case "InternalServerException":
|
|
918
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
919
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
920
|
-
case "ThrottlingException":
|
|
921
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
922
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
923
|
-
case "ValidationException":
|
|
924
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
925
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
926
|
-
default:
|
|
927
|
-
const parsedBody = parsedOutput.body;
|
|
928
|
-
return throwDefaultError({
|
|
929
|
-
output,
|
|
930
|
-
parsedBody,
|
|
931
|
-
errorCode
|
|
932
|
-
});
|
|
933
|
-
}
|
|
934
|
-
}, "de_DeleteIdMappingWorkflowCommandError");
|
|
935
805
|
var de_DeleteMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
936
806
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
937
|
-
return
|
|
807
|
+
return de_CommandError(output, context);
|
|
938
808
|
}
|
|
939
809
|
const contents = (0, import_smithy_client.map)({
|
|
940
810
|
$metadata: deserializeMetadata(output)
|
|
@@ -946,37 +816,9 @@ var de_DeleteMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
946
816
|
Object.assign(contents, doc);
|
|
947
817
|
return contents;
|
|
948
818
|
}, "de_DeleteMatchingWorkflowCommand");
|
|
949
|
-
var de_DeleteMatchingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
950
|
-
const parsedOutput = {
|
|
951
|
-
...output,
|
|
952
|
-
body: await parseErrorBody(output.body, context)
|
|
953
|
-
};
|
|
954
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
955
|
-
switch (errorCode) {
|
|
956
|
-
case "AccessDeniedException":
|
|
957
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
958
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
959
|
-
case "InternalServerException":
|
|
960
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
961
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
962
|
-
case "ThrottlingException":
|
|
963
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
964
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
965
|
-
case "ValidationException":
|
|
966
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
967
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
968
|
-
default:
|
|
969
|
-
const parsedBody = parsedOutput.body;
|
|
970
|
-
return throwDefaultError({
|
|
971
|
-
output,
|
|
972
|
-
parsedBody,
|
|
973
|
-
errorCode
|
|
974
|
-
});
|
|
975
|
-
}
|
|
976
|
-
}, "de_DeleteMatchingWorkflowCommandError");
|
|
977
819
|
var de_DeleteSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
978
820
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
979
|
-
return
|
|
821
|
+
return de_CommandError(output, context);
|
|
980
822
|
}
|
|
981
823
|
const contents = (0, import_smithy_client.map)({
|
|
982
824
|
$metadata: deserializeMetadata(output)
|
|
@@ -988,40 +830,9 @@ var de_DeleteSchemaMappingCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
988
830
|
Object.assign(contents, doc);
|
|
989
831
|
return contents;
|
|
990
832
|
}, "de_DeleteSchemaMappingCommand");
|
|
991
|
-
var de_DeleteSchemaMappingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
992
|
-
const parsedOutput = {
|
|
993
|
-
...output,
|
|
994
|
-
body: await parseErrorBody(output.body, context)
|
|
995
|
-
};
|
|
996
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
997
|
-
switch (errorCode) {
|
|
998
|
-
case "AccessDeniedException":
|
|
999
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1000
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1001
|
-
case "ConflictException":
|
|
1002
|
-
case "com.amazonaws.entityresolution#ConflictException":
|
|
1003
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1004
|
-
case "InternalServerException":
|
|
1005
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1006
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1007
|
-
case "ThrottlingException":
|
|
1008
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1009
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1010
|
-
case "ValidationException":
|
|
1011
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1012
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1013
|
-
default:
|
|
1014
|
-
const parsedBody = parsedOutput.body;
|
|
1015
|
-
return throwDefaultError({
|
|
1016
|
-
output,
|
|
1017
|
-
parsedBody,
|
|
1018
|
-
errorCode
|
|
1019
|
-
});
|
|
1020
|
-
}
|
|
1021
|
-
}, "de_DeleteSchemaMappingCommandError");
|
|
1022
833
|
var de_GetIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1023
834
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1024
|
-
return
|
|
835
|
+
return de_CommandError(output, context);
|
|
1025
836
|
}
|
|
1026
837
|
const contents = (0, import_smithy_client.map)({
|
|
1027
838
|
$metadata: deserializeMetadata(output)
|
|
@@ -1038,40 +849,9 @@ var de_GetIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1038
849
|
Object.assign(contents, doc);
|
|
1039
850
|
return contents;
|
|
1040
851
|
}, "de_GetIdMappingJobCommand");
|
|
1041
|
-
var de_GetIdMappingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1042
|
-
const parsedOutput = {
|
|
1043
|
-
...output,
|
|
1044
|
-
body: await parseErrorBody(output.body, context)
|
|
1045
|
-
};
|
|
1046
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1047
|
-
switch (errorCode) {
|
|
1048
|
-
case "AccessDeniedException":
|
|
1049
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1050
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1051
|
-
case "InternalServerException":
|
|
1052
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1053
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1054
|
-
case "ResourceNotFoundException":
|
|
1055
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1056
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1057
|
-
case "ThrottlingException":
|
|
1058
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1059
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1060
|
-
case "ValidationException":
|
|
1061
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1062
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1063
|
-
default:
|
|
1064
|
-
const parsedBody = parsedOutput.body;
|
|
1065
|
-
return throwDefaultError({
|
|
1066
|
-
output,
|
|
1067
|
-
parsedBody,
|
|
1068
|
-
errorCode
|
|
1069
|
-
});
|
|
1070
|
-
}
|
|
1071
|
-
}, "de_GetIdMappingJobCommandError");
|
|
1072
852
|
var de_GetIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1073
853
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1074
|
-
return
|
|
854
|
+
return de_CommandError(output, context);
|
|
1075
855
|
}
|
|
1076
856
|
const contents = (0, import_smithy_client.map)({
|
|
1077
857
|
$metadata: deserializeMetadata(output)
|
|
@@ -1092,40 +872,9 @@ var de_GetIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1092
872
|
Object.assign(contents, doc);
|
|
1093
873
|
return contents;
|
|
1094
874
|
}, "de_GetIdMappingWorkflowCommand");
|
|
1095
|
-
var de_GetIdMappingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1096
|
-
const parsedOutput = {
|
|
1097
|
-
...output,
|
|
1098
|
-
body: await parseErrorBody(output.body, context)
|
|
1099
|
-
};
|
|
1100
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1101
|
-
switch (errorCode) {
|
|
1102
|
-
case "AccessDeniedException":
|
|
1103
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1104
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1105
|
-
case "InternalServerException":
|
|
1106
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1107
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1108
|
-
case "ResourceNotFoundException":
|
|
1109
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1110
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1111
|
-
case "ThrottlingException":
|
|
1112
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1113
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1114
|
-
case "ValidationException":
|
|
1115
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1116
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1117
|
-
default:
|
|
1118
|
-
const parsedBody = parsedOutput.body;
|
|
1119
|
-
return throwDefaultError({
|
|
1120
|
-
output,
|
|
1121
|
-
parsedBody,
|
|
1122
|
-
errorCode
|
|
1123
|
-
});
|
|
1124
|
-
}
|
|
1125
|
-
}, "de_GetIdMappingWorkflowCommandError");
|
|
1126
875
|
var de_GetMatchIdCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1127
876
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1128
|
-
return
|
|
877
|
+
return de_CommandError(output, context);
|
|
1129
878
|
}
|
|
1130
879
|
const contents = (0, import_smithy_client.map)({
|
|
1131
880
|
$metadata: deserializeMetadata(output)
|
|
@@ -1137,40 +886,9 @@ var de_GetMatchIdCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1137
886
|
Object.assign(contents, doc);
|
|
1138
887
|
return contents;
|
|
1139
888
|
}, "de_GetMatchIdCommand");
|
|
1140
|
-
var de_GetMatchIdCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1141
|
-
const parsedOutput = {
|
|
1142
|
-
...output,
|
|
1143
|
-
body: await parseErrorBody(output.body, context)
|
|
1144
|
-
};
|
|
1145
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1146
|
-
switch (errorCode) {
|
|
1147
|
-
case "AccessDeniedException":
|
|
1148
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1149
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1150
|
-
case "InternalServerException":
|
|
1151
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1152
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1153
|
-
case "ResourceNotFoundException":
|
|
1154
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1155
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1156
|
-
case "ThrottlingException":
|
|
1157
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1158
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1159
|
-
case "ValidationException":
|
|
1160
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1161
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1162
|
-
default:
|
|
1163
|
-
const parsedBody = parsedOutput.body;
|
|
1164
|
-
return throwDefaultError({
|
|
1165
|
-
output,
|
|
1166
|
-
parsedBody,
|
|
1167
|
-
errorCode
|
|
1168
|
-
});
|
|
1169
|
-
}
|
|
1170
|
-
}, "de_GetMatchIdCommandError");
|
|
1171
889
|
var de_GetMatchingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1172
890
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1173
|
-
return
|
|
891
|
+
return de_CommandError(output, context);
|
|
1174
892
|
}
|
|
1175
893
|
const contents = (0, import_smithy_client.map)({
|
|
1176
894
|
$metadata: deserializeMetadata(output)
|
|
@@ -1187,40 +905,9 @@ var de_GetMatchingJobCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1187
905
|
Object.assign(contents, doc);
|
|
1188
906
|
return contents;
|
|
1189
907
|
}, "de_GetMatchingJobCommand");
|
|
1190
|
-
var de_GetMatchingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1191
|
-
const parsedOutput = {
|
|
1192
|
-
...output,
|
|
1193
|
-
body: await parseErrorBody(output.body, context)
|
|
1194
|
-
};
|
|
1195
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1196
|
-
switch (errorCode) {
|
|
1197
|
-
case "AccessDeniedException":
|
|
1198
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1199
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1200
|
-
case "InternalServerException":
|
|
1201
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1202
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1203
|
-
case "ResourceNotFoundException":
|
|
1204
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1205
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1206
|
-
case "ThrottlingException":
|
|
1207
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1208
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1209
|
-
case "ValidationException":
|
|
1210
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1211
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1212
|
-
default:
|
|
1213
|
-
const parsedBody = parsedOutput.body;
|
|
1214
|
-
return throwDefaultError({
|
|
1215
|
-
output,
|
|
1216
|
-
parsedBody,
|
|
1217
|
-
errorCode
|
|
1218
|
-
});
|
|
1219
|
-
}
|
|
1220
|
-
}, "de_GetMatchingJobCommandError");
|
|
1221
908
|
var de_GetMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1222
909
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1223
|
-
return
|
|
910
|
+
return de_CommandError(output, context);
|
|
1224
911
|
}
|
|
1225
912
|
const contents = (0, import_smithy_client.map)({
|
|
1226
913
|
$metadata: deserializeMetadata(output)
|
|
@@ -1242,40 +929,9 @@ var de_GetMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1242
929
|
Object.assign(contents, doc);
|
|
1243
930
|
return contents;
|
|
1244
931
|
}, "de_GetMatchingWorkflowCommand");
|
|
1245
|
-
var de_GetMatchingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1246
|
-
const parsedOutput = {
|
|
1247
|
-
...output,
|
|
1248
|
-
body: await parseErrorBody(output.body, context)
|
|
1249
|
-
};
|
|
1250
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1251
|
-
switch (errorCode) {
|
|
1252
|
-
case "AccessDeniedException":
|
|
1253
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1254
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1255
|
-
case "InternalServerException":
|
|
1256
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1257
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1258
|
-
case "ResourceNotFoundException":
|
|
1259
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1260
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1261
|
-
case "ThrottlingException":
|
|
1262
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1263
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1264
|
-
case "ValidationException":
|
|
1265
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1266
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1267
|
-
default:
|
|
1268
|
-
const parsedBody = parsedOutput.body;
|
|
1269
|
-
return throwDefaultError({
|
|
1270
|
-
output,
|
|
1271
|
-
parsedBody,
|
|
1272
|
-
errorCode
|
|
1273
|
-
});
|
|
1274
|
-
}
|
|
1275
|
-
}, "de_GetMatchingWorkflowCommandError");
|
|
1276
932
|
var de_GetProviderServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1277
933
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1278
|
-
return
|
|
934
|
+
return de_CommandError(output, context);
|
|
1279
935
|
}
|
|
1280
936
|
const contents = (0, import_smithy_client.map)({
|
|
1281
937
|
$metadata: deserializeMetadata(output)
|
|
@@ -1296,40 +952,9 @@ var de_GetProviderServiceCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1296
952
|
Object.assign(contents, doc);
|
|
1297
953
|
return contents;
|
|
1298
954
|
}, "de_GetProviderServiceCommand");
|
|
1299
|
-
var de_GetProviderServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1300
|
-
const parsedOutput = {
|
|
1301
|
-
...output,
|
|
1302
|
-
body: await parseErrorBody(output.body, context)
|
|
1303
|
-
};
|
|
1304
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1305
|
-
switch (errorCode) {
|
|
1306
|
-
case "AccessDeniedException":
|
|
1307
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1308
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1309
|
-
case "InternalServerException":
|
|
1310
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1311
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1312
|
-
case "ResourceNotFoundException":
|
|
1313
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1314
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1315
|
-
case "ThrottlingException":
|
|
1316
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1317
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1318
|
-
case "ValidationException":
|
|
1319
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1320
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1321
|
-
default:
|
|
1322
|
-
const parsedBody = parsedOutput.body;
|
|
1323
|
-
return throwDefaultError({
|
|
1324
|
-
output,
|
|
1325
|
-
parsedBody,
|
|
1326
|
-
errorCode
|
|
1327
|
-
});
|
|
1328
|
-
}
|
|
1329
|
-
}, "de_GetProviderServiceCommandError");
|
|
1330
955
|
var de_GetSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1331
956
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1332
|
-
return
|
|
957
|
+
return de_CommandError(output, context);
|
|
1333
958
|
}
|
|
1334
959
|
const contents = (0, import_smithy_client.map)({
|
|
1335
960
|
$metadata: deserializeMetadata(output)
|
|
@@ -1348,40 +973,9 @@ var de_GetSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1348
973
|
Object.assign(contents, doc);
|
|
1349
974
|
return contents;
|
|
1350
975
|
}, "de_GetSchemaMappingCommand");
|
|
1351
|
-
var de_GetSchemaMappingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1352
|
-
const parsedOutput = {
|
|
1353
|
-
...output,
|
|
1354
|
-
body: await parseErrorBody(output.body, context)
|
|
1355
|
-
};
|
|
1356
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1357
|
-
switch (errorCode) {
|
|
1358
|
-
case "AccessDeniedException":
|
|
1359
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1360
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1361
|
-
case "InternalServerException":
|
|
1362
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1363
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1364
|
-
case "ResourceNotFoundException":
|
|
1365
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1366
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1367
|
-
case "ThrottlingException":
|
|
1368
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1369
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1370
|
-
case "ValidationException":
|
|
1371
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1372
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1373
|
-
default:
|
|
1374
|
-
const parsedBody = parsedOutput.body;
|
|
1375
|
-
return throwDefaultError({
|
|
1376
|
-
output,
|
|
1377
|
-
parsedBody,
|
|
1378
|
-
errorCode
|
|
1379
|
-
});
|
|
1380
|
-
}
|
|
1381
|
-
}, "de_GetSchemaMappingCommandError");
|
|
1382
976
|
var de_ListIdMappingJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1383
977
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1384
|
-
return
|
|
978
|
+
return de_CommandError(output, context);
|
|
1385
979
|
}
|
|
1386
980
|
const contents = (0, import_smithy_client.map)({
|
|
1387
981
|
$metadata: deserializeMetadata(output)
|
|
@@ -1394,40 +988,9 @@ var de_ListIdMappingJobsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1394
988
|
Object.assign(contents, doc);
|
|
1395
989
|
return contents;
|
|
1396
990
|
}, "de_ListIdMappingJobsCommand");
|
|
1397
|
-
var de_ListIdMappingJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1398
|
-
const parsedOutput = {
|
|
1399
|
-
...output,
|
|
1400
|
-
body: await parseErrorBody(output.body, context)
|
|
1401
|
-
};
|
|
1402
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1403
|
-
switch (errorCode) {
|
|
1404
|
-
case "AccessDeniedException":
|
|
1405
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1406
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1407
|
-
case "InternalServerException":
|
|
1408
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1409
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1410
|
-
case "ResourceNotFoundException":
|
|
1411
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1412
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1413
|
-
case "ThrottlingException":
|
|
1414
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1415
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1416
|
-
case "ValidationException":
|
|
1417
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1418
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1419
|
-
default:
|
|
1420
|
-
const parsedBody = parsedOutput.body;
|
|
1421
|
-
return throwDefaultError({
|
|
1422
|
-
output,
|
|
1423
|
-
parsedBody,
|
|
1424
|
-
errorCode
|
|
1425
|
-
});
|
|
1426
|
-
}
|
|
1427
|
-
}, "de_ListIdMappingJobsCommandError");
|
|
1428
991
|
var de_ListIdMappingWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1429
992
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1430
|
-
return
|
|
993
|
+
return de_CommandError(output, context);
|
|
1431
994
|
}
|
|
1432
995
|
const contents = (0, import_smithy_client.map)({
|
|
1433
996
|
$metadata: deserializeMetadata(output)
|
|
@@ -1440,37 +1003,9 @@ var de_ListIdMappingWorkflowsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1440
1003
|
Object.assign(contents, doc);
|
|
1441
1004
|
return contents;
|
|
1442
1005
|
}, "de_ListIdMappingWorkflowsCommand");
|
|
1443
|
-
var de_ListIdMappingWorkflowsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1444
|
-
const parsedOutput = {
|
|
1445
|
-
...output,
|
|
1446
|
-
body: await parseErrorBody(output.body, context)
|
|
1447
|
-
};
|
|
1448
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1449
|
-
switch (errorCode) {
|
|
1450
|
-
case "AccessDeniedException":
|
|
1451
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1452
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1453
|
-
case "InternalServerException":
|
|
1454
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1455
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1456
|
-
case "ThrottlingException":
|
|
1457
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1458
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1459
|
-
case "ValidationException":
|
|
1460
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1461
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1462
|
-
default:
|
|
1463
|
-
const parsedBody = parsedOutput.body;
|
|
1464
|
-
return throwDefaultError({
|
|
1465
|
-
output,
|
|
1466
|
-
parsedBody,
|
|
1467
|
-
errorCode
|
|
1468
|
-
});
|
|
1469
|
-
}
|
|
1470
|
-
}, "de_ListIdMappingWorkflowsCommandError");
|
|
1471
1006
|
var de_ListMatchingJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1472
1007
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1473
|
-
return
|
|
1008
|
+
return de_CommandError(output, context);
|
|
1474
1009
|
}
|
|
1475
1010
|
const contents = (0, import_smithy_client.map)({
|
|
1476
1011
|
$metadata: deserializeMetadata(output)
|
|
@@ -1483,40 +1018,9 @@ var de_ListMatchingJobsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1483
1018
|
Object.assign(contents, doc);
|
|
1484
1019
|
return contents;
|
|
1485
1020
|
}, "de_ListMatchingJobsCommand");
|
|
1486
|
-
var de_ListMatchingJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1487
|
-
const parsedOutput = {
|
|
1488
|
-
...output,
|
|
1489
|
-
body: await parseErrorBody(output.body, context)
|
|
1490
|
-
};
|
|
1491
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1492
|
-
switch (errorCode) {
|
|
1493
|
-
case "AccessDeniedException":
|
|
1494
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1495
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1496
|
-
case "InternalServerException":
|
|
1497
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1498
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1499
|
-
case "ResourceNotFoundException":
|
|
1500
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1501
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1502
|
-
case "ThrottlingException":
|
|
1503
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1504
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1505
|
-
case "ValidationException":
|
|
1506
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1507
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1508
|
-
default:
|
|
1509
|
-
const parsedBody = parsedOutput.body;
|
|
1510
|
-
return throwDefaultError({
|
|
1511
|
-
output,
|
|
1512
|
-
parsedBody,
|
|
1513
|
-
errorCode
|
|
1514
|
-
});
|
|
1515
|
-
}
|
|
1516
|
-
}, "de_ListMatchingJobsCommandError");
|
|
1517
1021
|
var de_ListMatchingWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1518
1022
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1519
|
-
return
|
|
1023
|
+
return de_CommandError(output, context);
|
|
1520
1024
|
}
|
|
1521
1025
|
const contents = (0, import_smithy_client.map)({
|
|
1522
1026
|
$metadata: deserializeMetadata(output)
|
|
@@ -1528,38 +1032,10 @@ var de_ListMatchingWorkflowsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1528
1032
|
});
|
|
1529
1033
|
Object.assign(contents, doc);
|
|
1530
1034
|
return contents;
|
|
1531
|
-
}, "de_ListMatchingWorkflowsCommand");
|
|
1532
|
-
var de_ListMatchingWorkflowsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1533
|
-
const parsedOutput = {
|
|
1534
|
-
...output,
|
|
1535
|
-
body: await parseErrorBody(output.body, context)
|
|
1536
|
-
};
|
|
1537
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1538
|
-
switch (errorCode) {
|
|
1539
|
-
case "AccessDeniedException":
|
|
1540
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1541
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1542
|
-
case "InternalServerException":
|
|
1543
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1544
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1545
|
-
case "ThrottlingException":
|
|
1546
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1547
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1548
|
-
case "ValidationException":
|
|
1549
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1550
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1551
|
-
default:
|
|
1552
|
-
const parsedBody = parsedOutput.body;
|
|
1553
|
-
return throwDefaultError({
|
|
1554
|
-
output,
|
|
1555
|
-
parsedBody,
|
|
1556
|
-
errorCode
|
|
1557
|
-
});
|
|
1558
|
-
}
|
|
1559
|
-
}, "de_ListMatchingWorkflowsCommandError");
|
|
1035
|
+
}, "de_ListMatchingWorkflowsCommand");
|
|
1560
1036
|
var de_ListProviderServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1561
1037
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1562
|
-
return
|
|
1038
|
+
return de_CommandError(output, context);
|
|
1563
1039
|
}
|
|
1564
1040
|
const contents = (0, import_smithy_client.map)({
|
|
1565
1041
|
$metadata: deserializeMetadata(output)
|
|
@@ -1572,37 +1048,9 @@ var de_ListProviderServicesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1572
1048
|
Object.assign(contents, doc);
|
|
1573
1049
|
return contents;
|
|
1574
1050
|
}, "de_ListProviderServicesCommand");
|
|
1575
|
-
var de_ListProviderServicesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1576
|
-
const parsedOutput = {
|
|
1577
|
-
...output,
|
|
1578
|
-
body: await parseErrorBody(output.body, context)
|
|
1579
|
-
};
|
|
1580
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1581
|
-
switch (errorCode) {
|
|
1582
|
-
case "AccessDeniedException":
|
|
1583
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1584
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1585
|
-
case "InternalServerException":
|
|
1586
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1587
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1588
|
-
case "ThrottlingException":
|
|
1589
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1590
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1591
|
-
case "ValidationException":
|
|
1592
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1593
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1594
|
-
default:
|
|
1595
|
-
const parsedBody = parsedOutput.body;
|
|
1596
|
-
return throwDefaultError({
|
|
1597
|
-
output,
|
|
1598
|
-
parsedBody,
|
|
1599
|
-
errorCode
|
|
1600
|
-
});
|
|
1601
|
-
}
|
|
1602
|
-
}, "de_ListProviderServicesCommandError");
|
|
1603
1051
|
var de_ListSchemaMappingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1604
1052
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1605
|
-
return
|
|
1053
|
+
return de_CommandError(output, context);
|
|
1606
1054
|
}
|
|
1607
1055
|
const contents = (0, import_smithy_client.map)({
|
|
1608
1056
|
$metadata: deserializeMetadata(output)
|
|
@@ -1615,37 +1063,9 @@ var de_ListSchemaMappingsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1615
1063
|
Object.assign(contents, doc);
|
|
1616
1064
|
return contents;
|
|
1617
1065
|
}, "de_ListSchemaMappingsCommand");
|
|
1618
|
-
var de_ListSchemaMappingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1619
|
-
const parsedOutput = {
|
|
1620
|
-
...output,
|
|
1621
|
-
body: await parseErrorBody(output.body, context)
|
|
1622
|
-
};
|
|
1623
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1624
|
-
switch (errorCode) {
|
|
1625
|
-
case "AccessDeniedException":
|
|
1626
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1627
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1628
|
-
case "InternalServerException":
|
|
1629
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1630
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1631
|
-
case "ThrottlingException":
|
|
1632
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1633
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1634
|
-
case "ValidationException":
|
|
1635
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1636
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1637
|
-
default:
|
|
1638
|
-
const parsedBody = parsedOutput.body;
|
|
1639
|
-
return throwDefaultError({
|
|
1640
|
-
output,
|
|
1641
|
-
parsedBody,
|
|
1642
|
-
errorCode
|
|
1643
|
-
});
|
|
1644
|
-
}
|
|
1645
|
-
}, "de_ListSchemaMappingsCommandError");
|
|
1646
1066
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1647
1067
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1648
|
-
return
|
|
1068
|
+
return de_CommandError(output, context);
|
|
1649
1069
|
}
|
|
1650
1070
|
const contents = (0, import_smithy_client.map)({
|
|
1651
1071
|
$metadata: deserializeMetadata(output)
|
|
@@ -1657,34 +1077,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1657
1077
|
Object.assign(contents, doc);
|
|
1658
1078
|
return contents;
|
|
1659
1079
|
}, "de_ListTagsForResourceCommand");
|
|
1660
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1661
|
-
const parsedOutput = {
|
|
1662
|
-
...output,
|
|
1663
|
-
body: await parseErrorBody(output.body, context)
|
|
1664
|
-
};
|
|
1665
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1666
|
-
switch (errorCode) {
|
|
1667
|
-
case "InternalServerException":
|
|
1668
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1669
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1670
|
-
case "ResourceNotFoundException":
|
|
1671
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1672
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1673
|
-
case "ValidationException":
|
|
1674
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1675
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1676
|
-
default:
|
|
1677
|
-
const parsedBody = parsedOutput.body;
|
|
1678
|
-
return throwDefaultError({
|
|
1679
|
-
output,
|
|
1680
|
-
parsedBody,
|
|
1681
|
-
errorCode
|
|
1682
|
-
});
|
|
1683
|
-
}
|
|
1684
|
-
}, "de_ListTagsForResourceCommandError");
|
|
1685
1080
|
var de_StartIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1686
1081
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1687
|
-
return
|
|
1082
|
+
return de_CommandError(output, context);
|
|
1688
1083
|
}
|
|
1689
1084
|
const contents = (0, import_smithy_client.map)({
|
|
1690
1085
|
$metadata: deserializeMetadata(output)
|
|
@@ -1696,46 +1091,9 @@ var de_StartIdMappingJobCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1696
1091
|
Object.assign(contents, doc);
|
|
1697
1092
|
return contents;
|
|
1698
1093
|
}, "de_StartIdMappingJobCommand");
|
|
1699
|
-
var de_StartIdMappingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1700
|
-
const parsedOutput = {
|
|
1701
|
-
...output,
|
|
1702
|
-
body: await parseErrorBody(output.body, context)
|
|
1703
|
-
};
|
|
1704
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1705
|
-
switch (errorCode) {
|
|
1706
|
-
case "AccessDeniedException":
|
|
1707
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1708
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1709
|
-
case "ConflictException":
|
|
1710
|
-
case "com.amazonaws.entityresolution#ConflictException":
|
|
1711
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1712
|
-
case "ExceedsLimitException":
|
|
1713
|
-
case "com.amazonaws.entityresolution#ExceedsLimitException":
|
|
1714
|
-
throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
|
|
1715
|
-
case "InternalServerException":
|
|
1716
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1717
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1718
|
-
case "ResourceNotFoundException":
|
|
1719
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1720
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1721
|
-
case "ThrottlingException":
|
|
1722
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1723
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1724
|
-
case "ValidationException":
|
|
1725
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1726
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1727
|
-
default:
|
|
1728
|
-
const parsedBody = parsedOutput.body;
|
|
1729
|
-
return throwDefaultError({
|
|
1730
|
-
output,
|
|
1731
|
-
parsedBody,
|
|
1732
|
-
errorCode
|
|
1733
|
-
});
|
|
1734
|
-
}
|
|
1735
|
-
}, "de_StartIdMappingJobCommandError");
|
|
1736
1094
|
var de_StartMatchingJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1737
1095
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1738
|
-
return
|
|
1096
|
+
return de_CommandError(output, context);
|
|
1739
1097
|
}
|
|
1740
1098
|
const contents = (0, import_smithy_client.map)({
|
|
1741
1099
|
$metadata: deserializeMetadata(output)
|
|
@@ -1747,46 +1105,9 @@ var de_StartMatchingJobCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1747
1105
|
Object.assign(contents, doc);
|
|
1748
1106
|
return contents;
|
|
1749
1107
|
}, "de_StartMatchingJobCommand");
|
|
1750
|
-
var de_StartMatchingJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1751
|
-
const parsedOutput = {
|
|
1752
|
-
...output,
|
|
1753
|
-
body: await parseErrorBody(output.body, context)
|
|
1754
|
-
};
|
|
1755
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1756
|
-
switch (errorCode) {
|
|
1757
|
-
case "AccessDeniedException":
|
|
1758
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1759
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1760
|
-
case "ConflictException":
|
|
1761
|
-
case "com.amazonaws.entityresolution#ConflictException":
|
|
1762
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1763
|
-
case "ExceedsLimitException":
|
|
1764
|
-
case "com.amazonaws.entityresolution#ExceedsLimitException":
|
|
1765
|
-
throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
|
|
1766
|
-
case "InternalServerException":
|
|
1767
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1768
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1769
|
-
case "ResourceNotFoundException":
|
|
1770
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1771
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1772
|
-
case "ThrottlingException":
|
|
1773
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1774
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1775
|
-
case "ValidationException":
|
|
1776
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1777
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1778
|
-
default:
|
|
1779
|
-
const parsedBody = parsedOutput.body;
|
|
1780
|
-
return throwDefaultError({
|
|
1781
|
-
output,
|
|
1782
|
-
parsedBody,
|
|
1783
|
-
errorCode
|
|
1784
|
-
});
|
|
1785
|
-
}
|
|
1786
|
-
}, "de_StartMatchingJobCommandError");
|
|
1787
1108
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1788
1109
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1789
|
-
return
|
|
1110
|
+
return de_CommandError(output, context);
|
|
1790
1111
|
}
|
|
1791
1112
|
const contents = (0, import_smithy_client.map)({
|
|
1792
1113
|
$metadata: deserializeMetadata(output)
|
|
@@ -1794,34 +1115,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1794
1115
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1795
1116
|
return contents;
|
|
1796
1117
|
}, "de_TagResourceCommand");
|
|
1797
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1798
|
-
const parsedOutput = {
|
|
1799
|
-
...output,
|
|
1800
|
-
body: await parseErrorBody(output.body, context)
|
|
1801
|
-
};
|
|
1802
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1803
|
-
switch (errorCode) {
|
|
1804
|
-
case "InternalServerException":
|
|
1805
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1806
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1807
|
-
case "ResourceNotFoundException":
|
|
1808
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1809
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1810
|
-
case "ValidationException":
|
|
1811
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1812
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1813
|
-
default:
|
|
1814
|
-
const parsedBody = parsedOutput.body;
|
|
1815
|
-
return throwDefaultError({
|
|
1816
|
-
output,
|
|
1817
|
-
parsedBody,
|
|
1818
|
-
errorCode
|
|
1819
|
-
});
|
|
1820
|
-
}
|
|
1821
|
-
}, "de_TagResourceCommandError");
|
|
1822
1118
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1823
1119
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1824
|
-
return
|
|
1120
|
+
return de_CommandError(output, context);
|
|
1825
1121
|
}
|
|
1826
1122
|
const contents = (0, import_smithy_client.map)({
|
|
1827
1123
|
$metadata: deserializeMetadata(output)
|
|
@@ -1829,31 +1125,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1829
1125
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1830
1126
|
return contents;
|
|
1831
1127
|
}, "de_UntagResourceCommand");
|
|
1832
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1833
|
-
const parsedOutput = {
|
|
1834
|
-
...output,
|
|
1835
|
-
body: await parseErrorBody(output.body, context)
|
|
1836
|
-
};
|
|
1837
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1838
|
-
switch (errorCode) {
|
|
1839
|
-
case "InternalServerException":
|
|
1840
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1841
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1842
|
-
case "ResourceNotFoundException":
|
|
1843
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1844
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1845
|
-
default:
|
|
1846
|
-
const parsedBody = parsedOutput.body;
|
|
1847
|
-
return throwDefaultError({
|
|
1848
|
-
output,
|
|
1849
|
-
parsedBody,
|
|
1850
|
-
errorCode
|
|
1851
|
-
});
|
|
1852
|
-
}
|
|
1853
|
-
}, "de_UntagResourceCommandError");
|
|
1854
1128
|
var de_UpdateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1855
1129
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1856
|
-
return
|
|
1130
|
+
return de_CommandError(output, context);
|
|
1857
1131
|
}
|
|
1858
1132
|
const contents = (0, import_smithy_client.map)({
|
|
1859
1133
|
$metadata: deserializeMetadata(output)
|
|
@@ -1871,40 +1145,9 @@ var de_UpdateIdMappingWorkflowCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1871
1145
|
Object.assign(contents, doc);
|
|
1872
1146
|
return contents;
|
|
1873
1147
|
}, "de_UpdateIdMappingWorkflowCommand");
|
|
1874
|
-
var de_UpdateIdMappingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1875
|
-
const parsedOutput = {
|
|
1876
|
-
...output,
|
|
1877
|
-
body: await parseErrorBody(output.body, context)
|
|
1878
|
-
};
|
|
1879
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1880
|
-
switch (errorCode) {
|
|
1881
|
-
case "AccessDeniedException":
|
|
1882
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1883
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1884
|
-
case "InternalServerException":
|
|
1885
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1886
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1887
|
-
case "ResourceNotFoundException":
|
|
1888
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1889
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1890
|
-
case "ThrottlingException":
|
|
1891
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1892
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1893
|
-
case "ValidationException":
|
|
1894
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1895
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1896
|
-
default:
|
|
1897
|
-
const parsedBody = parsedOutput.body;
|
|
1898
|
-
return throwDefaultError({
|
|
1899
|
-
output,
|
|
1900
|
-
parsedBody,
|
|
1901
|
-
errorCode
|
|
1902
|
-
});
|
|
1903
|
-
}
|
|
1904
|
-
}, "de_UpdateIdMappingWorkflowCommandError");
|
|
1905
1148
|
var de_UpdateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1906
1149
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1907
|
-
return
|
|
1150
|
+
return de_CommandError(output, context);
|
|
1908
1151
|
}
|
|
1909
1152
|
const contents = (0, import_smithy_client.map)({
|
|
1910
1153
|
$metadata: deserializeMetadata(output)
|
|
@@ -1922,40 +1165,9 @@ var de_UpdateMatchingWorkflowCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1922
1165
|
Object.assign(contents, doc);
|
|
1923
1166
|
return contents;
|
|
1924
1167
|
}, "de_UpdateMatchingWorkflowCommand");
|
|
1925
|
-
var de_UpdateMatchingWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1926
|
-
const parsedOutput = {
|
|
1927
|
-
...output,
|
|
1928
|
-
body: await parseErrorBody(output.body, context)
|
|
1929
|
-
};
|
|
1930
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1931
|
-
switch (errorCode) {
|
|
1932
|
-
case "AccessDeniedException":
|
|
1933
|
-
case "com.amazonaws.entityresolution#AccessDeniedException":
|
|
1934
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1935
|
-
case "InternalServerException":
|
|
1936
|
-
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1937
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1938
|
-
case "ResourceNotFoundException":
|
|
1939
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1940
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1941
|
-
case "ThrottlingException":
|
|
1942
|
-
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1943
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1944
|
-
case "ValidationException":
|
|
1945
|
-
case "com.amazonaws.entityresolution#ValidationException":
|
|
1946
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1947
|
-
default:
|
|
1948
|
-
const parsedBody = parsedOutput.body;
|
|
1949
|
-
return throwDefaultError({
|
|
1950
|
-
output,
|
|
1951
|
-
parsedBody,
|
|
1952
|
-
errorCode
|
|
1953
|
-
});
|
|
1954
|
-
}
|
|
1955
|
-
}, "de_UpdateMatchingWorkflowCommandError");
|
|
1956
1168
|
var de_UpdateSchemaMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1957
1169
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1958
|
-
return
|
|
1170
|
+
return de_CommandError(output, context);
|
|
1959
1171
|
}
|
|
1960
1172
|
const contents = (0, import_smithy_client.map)({
|
|
1961
1173
|
$metadata: deserializeMetadata(output)
|
|
@@ -1970,7 +1182,7 @@ var de_UpdateSchemaMappingCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1970
1182
|
Object.assign(contents, doc);
|
|
1971
1183
|
return contents;
|
|
1972
1184
|
}, "de_UpdateSchemaMappingCommand");
|
|
1973
|
-
var
|
|
1185
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1974
1186
|
const parsedOutput = {
|
|
1975
1187
|
...output,
|
|
1976
1188
|
body: await parseErrorBody(output.body, context)
|
|
@@ -1983,18 +1195,21 @@ var de_UpdateSchemaMappingCommandError = /* @__PURE__ */ __name(async (output, c
|
|
|
1983
1195
|
case "ConflictException":
|
|
1984
1196
|
case "com.amazonaws.entityresolution#ConflictException":
|
|
1985
1197
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1198
|
+
case "ExceedsLimitException":
|
|
1199
|
+
case "com.amazonaws.entityresolution#ExceedsLimitException":
|
|
1200
|
+
throw await de_ExceedsLimitExceptionRes(parsedOutput, context);
|
|
1986
1201
|
case "InternalServerException":
|
|
1987
1202
|
case "com.amazonaws.entityresolution#InternalServerException":
|
|
1988
1203
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1989
|
-
case "ResourceNotFoundException":
|
|
1990
|
-
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1991
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1992
1204
|
case "ThrottlingException":
|
|
1993
1205
|
case "com.amazonaws.entityresolution#ThrottlingException":
|
|
1994
1206
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1995
1207
|
case "ValidationException":
|
|
1996
1208
|
case "com.amazonaws.entityresolution#ValidationException":
|
|
1997
1209
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1210
|
+
case "ResourceNotFoundException":
|
|
1211
|
+
case "com.amazonaws.entityresolution#ResourceNotFoundException":
|
|
1212
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1998
1213
|
default:
|
|
1999
1214
|
const parsedBody = parsedOutput.body;
|
|
2000
1215
|
return throwDefaultError({
|
|
@@ -2003,7 +1218,7 @@ var de_UpdateSchemaMappingCommandError = /* @__PURE__ */ __name(async (output, c
|
|
|
2003
1218
|
errorCode
|
|
2004
1219
|
});
|
|
2005
1220
|
}
|
|
2006
|
-
}, "
|
|
1221
|
+
}, "de_CommandError");
|
|
2007
1222
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(EntityResolutionServiceException);
|
|
2008
1223
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2009
1224
|
const contents = (0, import_smithy_client.map)({});
|