@aws-sdk/client-kendra 3.141.0 → 3.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +300 -663
- package/dist-es/protocols/Aws_json1_1.js +481 -664
- package/package.json +11 -6
|
@@ -627,7 +627,6 @@ const deserializeAws_json1_1AssociateEntitiesToExperienceCommandError = async (o
|
|
|
627
627
|
...output,
|
|
628
628
|
body: await parseBody(output.body, context),
|
|
629
629
|
};
|
|
630
|
-
let response;
|
|
631
630
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
632
631
|
switch (errorCode) {
|
|
633
632
|
case "AccessDeniedException":
|
|
@@ -650,14 +649,12 @@ const deserializeAws_json1_1AssociateEntitiesToExperienceCommandError = async (o
|
|
|
650
649
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
651
650
|
default:
|
|
652
651
|
const parsedBody = parsedOutput.body;
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
$metadata,
|
|
652
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
653
|
+
output,
|
|
654
|
+
parsedBody,
|
|
655
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
656
|
+
errorCode,
|
|
659
657
|
});
|
|
660
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
661
658
|
}
|
|
662
659
|
};
|
|
663
660
|
const deserializeAws_json1_1AssociatePersonasToEntitiesCommand = async (output, context) => {
|
|
@@ -679,7 +676,6 @@ const deserializeAws_json1_1AssociatePersonasToEntitiesCommandError = async (out
|
|
|
679
676
|
...output,
|
|
680
677
|
body: await parseBody(output.body, context),
|
|
681
678
|
};
|
|
682
|
-
let response;
|
|
683
679
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
684
680
|
switch (errorCode) {
|
|
685
681
|
case "AccessDeniedException":
|
|
@@ -702,14 +698,12 @@ const deserializeAws_json1_1AssociatePersonasToEntitiesCommandError = async (out
|
|
|
702
698
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
703
699
|
default:
|
|
704
700
|
const parsedBody = parsedOutput.body;
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
$metadata,
|
|
701
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
702
|
+
output,
|
|
703
|
+
parsedBody,
|
|
704
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
705
|
+
errorCode,
|
|
711
706
|
});
|
|
712
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
713
707
|
}
|
|
714
708
|
};
|
|
715
709
|
const deserializeAws_json1_1BatchDeleteDocumentCommand = async (output, context) => {
|
|
@@ -731,7 +725,6 @@ const deserializeAws_json1_1BatchDeleteDocumentCommandError = async (output, con
|
|
|
731
725
|
...output,
|
|
732
726
|
body: await parseBody(output.body, context),
|
|
733
727
|
};
|
|
734
|
-
let response;
|
|
735
728
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
736
729
|
switch (errorCode) {
|
|
737
730
|
case "AccessDeniedException":
|
|
@@ -754,14 +747,12 @@ const deserializeAws_json1_1BatchDeleteDocumentCommandError = async (output, con
|
|
|
754
747
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
755
748
|
default:
|
|
756
749
|
const parsedBody = parsedOutput.body;
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
$metadata,
|
|
750
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
751
|
+
output,
|
|
752
|
+
parsedBody,
|
|
753
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
754
|
+
errorCode,
|
|
763
755
|
});
|
|
764
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
765
756
|
}
|
|
766
757
|
};
|
|
767
758
|
const deserializeAws_json1_1BatchGetDocumentStatusCommand = async (output, context) => {
|
|
@@ -783,7 +774,6 @@ const deserializeAws_json1_1BatchGetDocumentStatusCommandError = async (output,
|
|
|
783
774
|
...output,
|
|
784
775
|
body: await parseBody(output.body, context),
|
|
785
776
|
};
|
|
786
|
-
let response;
|
|
787
777
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
788
778
|
switch (errorCode) {
|
|
789
779
|
case "AccessDeniedException":
|
|
@@ -806,14 +796,12 @@ const deserializeAws_json1_1BatchGetDocumentStatusCommandError = async (output,
|
|
|
806
796
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
807
797
|
default:
|
|
808
798
|
const parsedBody = parsedOutput.body;
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
$metadata,
|
|
799
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
800
|
+
output,
|
|
801
|
+
parsedBody,
|
|
802
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
803
|
+
errorCode,
|
|
815
804
|
});
|
|
816
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
817
805
|
}
|
|
818
806
|
};
|
|
819
807
|
const deserializeAws_json1_1BatchPutDocumentCommand = async (output, context) => {
|
|
@@ -835,7 +823,6 @@ const deserializeAws_json1_1BatchPutDocumentCommandError = async (output, contex
|
|
|
835
823
|
...output,
|
|
836
824
|
body: await parseBody(output.body, context),
|
|
837
825
|
};
|
|
838
|
-
let response;
|
|
839
826
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
840
827
|
switch (errorCode) {
|
|
841
828
|
case "AccessDeniedException":
|
|
@@ -861,14 +848,12 @@ const deserializeAws_json1_1BatchPutDocumentCommandError = async (output, contex
|
|
|
861
848
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
862
849
|
default:
|
|
863
850
|
const parsedBody = parsedOutput.body;
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
$metadata,
|
|
851
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
852
|
+
output,
|
|
853
|
+
parsedBody,
|
|
854
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
855
|
+
errorCode,
|
|
870
856
|
});
|
|
871
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
872
857
|
}
|
|
873
858
|
};
|
|
874
859
|
const deserializeAws_json1_1ClearQuerySuggestionsCommand = async (output, context) => {
|
|
@@ -887,7 +872,6 @@ const deserializeAws_json1_1ClearQuerySuggestionsCommandError = async (output, c
|
|
|
887
872
|
...output,
|
|
888
873
|
body: await parseBody(output.body, context),
|
|
889
874
|
};
|
|
890
|
-
let response;
|
|
891
875
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
892
876
|
switch (errorCode) {
|
|
893
877
|
case "AccessDeniedException":
|
|
@@ -910,14 +894,12 @@ const deserializeAws_json1_1ClearQuerySuggestionsCommandError = async (output, c
|
|
|
910
894
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
911
895
|
default:
|
|
912
896
|
const parsedBody = parsedOutput.body;
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
$metadata,
|
|
897
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
898
|
+
output,
|
|
899
|
+
parsedBody,
|
|
900
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
901
|
+
errorCode,
|
|
919
902
|
});
|
|
920
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
921
903
|
}
|
|
922
904
|
};
|
|
923
905
|
const deserializeAws_json1_1CreateAccessControlConfigurationCommand = async (output, context) => {
|
|
@@ -939,7 +921,6 @@ const deserializeAws_json1_1CreateAccessControlConfigurationCommandError = async
|
|
|
939
921
|
...output,
|
|
940
922
|
body: await parseBody(output.body, context),
|
|
941
923
|
};
|
|
942
|
-
let response;
|
|
943
924
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
944
925
|
switch (errorCode) {
|
|
945
926
|
case "AccessDeniedException":
|
|
@@ -965,14 +946,12 @@ const deserializeAws_json1_1CreateAccessControlConfigurationCommandError = async
|
|
|
965
946
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
966
947
|
default:
|
|
967
948
|
const parsedBody = parsedOutput.body;
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
$metadata,
|
|
949
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
950
|
+
output,
|
|
951
|
+
parsedBody,
|
|
952
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
953
|
+
errorCode,
|
|
974
954
|
});
|
|
975
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
976
955
|
}
|
|
977
956
|
};
|
|
978
957
|
const deserializeAws_json1_1CreateDataSourceCommand = async (output, context) => {
|
|
@@ -994,7 +973,6 @@ const deserializeAws_json1_1CreateDataSourceCommandError = async (output, contex
|
|
|
994
973
|
...output,
|
|
995
974
|
body: await parseBody(output.body, context),
|
|
996
975
|
};
|
|
997
|
-
let response;
|
|
998
976
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
999
977
|
switch (errorCode) {
|
|
1000
978
|
case "AccessDeniedException":
|
|
@@ -1023,14 +1001,12 @@ const deserializeAws_json1_1CreateDataSourceCommandError = async (output, contex
|
|
|
1023
1001
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1024
1002
|
default:
|
|
1025
1003
|
const parsedBody = parsedOutput.body;
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
$metadata,
|
|
1004
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1005
|
+
output,
|
|
1006
|
+
parsedBody,
|
|
1007
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1008
|
+
errorCode,
|
|
1032
1009
|
});
|
|
1033
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1034
1010
|
}
|
|
1035
1011
|
};
|
|
1036
1012
|
const deserializeAws_json1_1CreateExperienceCommand = async (output, context) => {
|
|
@@ -1052,7 +1028,6 @@ const deserializeAws_json1_1CreateExperienceCommandError = async (output, contex
|
|
|
1052
1028
|
...output,
|
|
1053
1029
|
body: await parseBody(output.body, context),
|
|
1054
1030
|
};
|
|
1055
|
-
let response;
|
|
1056
1031
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1057
1032
|
switch (errorCode) {
|
|
1058
1033
|
case "AccessDeniedException":
|
|
@@ -1078,14 +1053,12 @@ const deserializeAws_json1_1CreateExperienceCommandError = async (output, contex
|
|
|
1078
1053
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1079
1054
|
default:
|
|
1080
1055
|
const parsedBody = parsedOutput.body;
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
$metadata,
|
|
1056
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1057
|
+
output,
|
|
1058
|
+
parsedBody,
|
|
1059
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1060
|
+
errorCode,
|
|
1087
1061
|
});
|
|
1088
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1089
1062
|
}
|
|
1090
1063
|
};
|
|
1091
1064
|
const deserializeAws_json1_1CreateFaqCommand = async (output, context) => {
|
|
@@ -1107,7 +1080,6 @@ const deserializeAws_json1_1CreateFaqCommandError = async (output, context) => {
|
|
|
1107
1080
|
...output,
|
|
1108
1081
|
body: await parseBody(output.body, context),
|
|
1109
1082
|
};
|
|
1110
|
-
let response;
|
|
1111
1083
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1112
1084
|
switch (errorCode) {
|
|
1113
1085
|
case "AccessDeniedException":
|
|
@@ -1133,14 +1105,12 @@ const deserializeAws_json1_1CreateFaqCommandError = async (output, context) => {
|
|
|
1133
1105
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1134
1106
|
default:
|
|
1135
1107
|
const parsedBody = parsedOutput.body;
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
$metadata,
|
|
1108
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1109
|
+
output,
|
|
1110
|
+
parsedBody,
|
|
1111
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1112
|
+
errorCode,
|
|
1142
1113
|
});
|
|
1143
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1144
1114
|
}
|
|
1145
1115
|
};
|
|
1146
1116
|
const deserializeAws_json1_1CreateIndexCommand = async (output, context) => {
|
|
@@ -1162,7 +1132,6 @@ const deserializeAws_json1_1CreateIndexCommandError = async (output, context) =>
|
|
|
1162
1132
|
...output,
|
|
1163
1133
|
body: await parseBody(output.body, context),
|
|
1164
1134
|
};
|
|
1165
|
-
let response;
|
|
1166
1135
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1167
1136
|
switch (errorCode) {
|
|
1168
1137
|
case "AccessDeniedException":
|
|
@@ -1188,14 +1157,12 @@ const deserializeAws_json1_1CreateIndexCommandError = async (output, context) =>
|
|
|
1188
1157
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1189
1158
|
default:
|
|
1190
1159
|
const parsedBody = parsedOutput.body;
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
$metadata,
|
|
1160
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1161
|
+
output,
|
|
1162
|
+
parsedBody,
|
|
1163
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1164
|
+
errorCode,
|
|
1197
1165
|
});
|
|
1198
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1199
1166
|
}
|
|
1200
1167
|
};
|
|
1201
1168
|
const deserializeAws_json1_1CreateQuerySuggestionsBlockListCommand = async (output, context) => {
|
|
@@ -1217,7 +1184,6 @@ const deserializeAws_json1_1CreateQuerySuggestionsBlockListCommandError = async
|
|
|
1217
1184
|
...output,
|
|
1218
1185
|
body: await parseBody(output.body, context),
|
|
1219
1186
|
};
|
|
1220
|
-
let response;
|
|
1221
1187
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1222
1188
|
switch (errorCode) {
|
|
1223
1189
|
case "AccessDeniedException":
|
|
@@ -1243,14 +1209,12 @@ const deserializeAws_json1_1CreateQuerySuggestionsBlockListCommandError = async
|
|
|
1243
1209
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1244
1210
|
default:
|
|
1245
1211
|
const parsedBody = parsedOutput.body;
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
$metadata,
|
|
1212
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1213
|
+
output,
|
|
1214
|
+
parsedBody,
|
|
1215
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1216
|
+
errorCode,
|
|
1252
1217
|
});
|
|
1253
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1254
1218
|
}
|
|
1255
1219
|
};
|
|
1256
1220
|
const deserializeAws_json1_1CreateThesaurusCommand = async (output, context) => {
|
|
@@ -1272,7 +1236,6 @@ const deserializeAws_json1_1CreateThesaurusCommandError = async (output, context
|
|
|
1272
1236
|
...output,
|
|
1273
1237
|
body: await parseBody(output.body, context),
|
|
1274
1238
|
};
|
|
1275
|
-
let response;
|
|
1276
1239
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1277
1240
|
switch (errorCode) {
|
|
1278
1241
|
case "AccessDeniedException":
|
|
@@ -1298,14 +1261,12 @@ const deserializeAws_json1_1CreateThesaurusCommandError = async (output, context
|
|
|
1298
1261
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1299
1262
|
default:
|
|
1300
1263
|
const parsedBody = parsedOutput.body;
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
$metadata,
|
|
1264
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1265
|
+
output,
|
|
1266
|
+
parsedBody,
|
|
1267
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1268
|
+
errorCode,
|
|
1307
1269
|
});
|
|
1308
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1309
1270
|
}
|
|
1310
1271
|
};
|
|
1311
1272
|
const deserializeAws_json1_1DeleteAccessControlConfigurationCommand = async (output, context) => {
|
|
@@ -1327,7 +1288,6 @@ const deserializeAws_json1_1DeleteAccessControlConfigurationCommandError = async
|
|
|
1327
1288
|
...output,
|
|
1328
1289
|
body: await parseBody(output.body, context),
|
|
1329
1290
|
};
|
|
1330
|
-
let response;
|
|
1331
1291
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1332
1292
|
switch (errorCode) {
|
|
1333
1293
|
case "AccessDeniedException":
|
|
@@ -1350,14 +1310,12 @@ const deserializeAws_json1_1DeleteAccessControlConfigurationCommandError = async
|
|
|
1350
1310
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1351
1311
|
default:
|
|
1352
1312
|
const parsedBody = parsedOutput.body;
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
$metadata,
|
|
1313
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1314
|
+
output,
|
|
1315
|
+
parsedBody,
|
|
1316
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1317
|
+
errorCode,
|
|
1359
1318
|
});
|
|
1360
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1361
1319
|
}
|
|
1362
1320
|
};
|
|
1363
1321
|
const deserializeAws_json1_1DeleteDataSourceCommand = async (output, context) => {
|
|
@@ -1376,7 +1334,6 @@ const deserializeAws_json1_1DeleteDataSourceCommandError = async (output, contex
|
|
|
1376
1334
|
...output,
|
|
1377
1335
|
body: await parseBody(output.body, context),
|
|
1378
1336
|
};
|
|
1379
|
-
let response;
|
|
1380
1337
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1381
1338
|
switch (errorCode) {
|
|
1382
1339
|
case "AccessDeniedException":
|
|
@@ -1399,14 +1356,12 @@ const deserializeAws_json1_1DeleteDataSourceCommandError = async (output, contex
|
|
|
1399
1356
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1400
1357
|
default:
|
|
1401
1358
|
const parsedBody = parsedOutput.body;
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
$metadata,
|
|
1359
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1360
|
+
output,
|
|
1361
|
+
parsedBody,
|
|
1362
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1363
|
+
errorCode,
|
|
1408
1364
|
});
|
|
1409
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1410
1365
|
}
|
|
1411
1366
|
};
|
|
1412
1367
|
const deserializeAws_json1_1DeleteExperienceCommand = async (output, context) => {
|
|
@@ -1428,7 +1383,6 @@ const deserializeAws_json1_1DeleteExperienceCommandError = async (output, contex
|
|
|
1428
1383
|
...output,
|
|
1429
1384
|
body: await parseBody(output.body, context),
|
|
1430
1385
|
};
|
|
1431
|
-
let response;
|
|
1432
1386
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1433
1387
|
switch (errorCode) {
|
|
1434
1388
|
case "AccessDeniedException":
|
|
@@ -1451,14 +1405,12 @@ const deserializeAws_json1_1DeleteExperienceCommandError = async (output, contex
|
|
|
1451
1405
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1452
1406
|
default:
|
|
1453
1407
|
const parsedBody = parsedOutput.body;
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
$metadata,
|
|
1408
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1409
|
+
output,
|
|
1410
|
+
parsedBody,
|
|
1411
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1412
|
+
errorCode,
|
|
1460
1413
|
});
|
|
1461
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1462
1414
|
}
|
|
1463
1415
|
};
|
|
1464
1416
|
const deserializeAws_json1_1DeleteFaqCommand = async (output, context) => {
|
|
@@ -1477,7 +1429,6 @@ const deserializeAws_json1_1DeleteFaqCommandError = async (output, context) => {
|
|
|
1477
1429
|
...output,
|
|
1478
1430
|
body: await parseBody(output.body, context),
|
|
1479
1431
|
};
|
|
1480
|
-
let response;
|
|
1481
1432
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1482
1433
|
switch (errorCode) {
|
|
1483
1434
|
case "AccessDeniedException":
|
|
@@ -1500,14 +1451,12 @@ const deserializeAws_json1_1DeleteFaqCommandError = async (output, context) => {
|
|
|
1500
1451
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1501
1452
|
default:
|
|
1502
1453
|
const parsedBody = parsedOutput.body;
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
$metadata,
|
|
1454
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1455
|
+
output,
|
|
1456
|
+
parsedBody,
|
|
1457
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1458
|
+
errorCode,
|
|
1509
1459
|
});
|
|
1510
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1511
1460
|
}
|
|
1512
1461
|
};
|
|
1513
1462
|
const deserializeAws_json1_1DeleteIndexCommand = async (output, context) => {
|
|
@@ -1526,7 +1475,6 @@ const deserializeAws_json1_1DeleteIndexCommandError = async (output, context) =>
|
|
|
1526
1475
|
...output,
|
|
1527
1476
|
body: await parseBody(output.body, context),
|
|
1528
1477
|
};
|
|
1529
|
-
let response;
|
|
1530
1478
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1531
1479
|
switch (errorCode) {
|
|
1532
1480
|
case "AccessDeniedException":
|
|
@@ -1549,14 +1497,12 @@ const deserializeAws_json1_1DeleteIndexCommandError = async (output, context) =>
|
|
|
1549
1497
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1550
1498
|
default:
|
|
1551
1499
|
const parsedBody = parsedOutput.body;
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
$metadata,
|
|
1500
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1501
|
+
output,
|
|
1502
|
+
parsedBody,
|
|
1503
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1504
|
+
errorCode,
|
|
1558
1505
|
});
|
|
1559
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1560
1506
|
}
|
|
1561
1507
|
};
|
|
1562
1508
|
const deserializeAws_json1_1DeletePrincipalMappingCommand = async (output, context) => {
|
|
@@ -1575,7 +1521,6 @@ const deserializeAws_json1_1DeletePrincipalMappingCommandError = async (output,
|
|
|
1575
1521
|
...output,
|
|
1576
1522
|
body: await parseBody(output.body, context),
|
|
1577
1523
|
};
|
|
1578
|
-
let response;
|
|
1579
1524
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1580
1525
|
switch (errorCode) {
|
|
1581
1526
|
case "AccessDeniedException":
|
|
@@ -1598,14 +1543,12 @@ const deserializeAws_json1_1DeletePrincipalMappingCommandError = async (output,
|
|
|
1598
1543
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1599
1544
|
default:
|
|
1600
1545
|
const parsedBody = parsedOutput.body;
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
$metadata,
|
|
1546
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1547
|
+
output,
|
|
1548
|
+
parsedBody,
|
|
1549
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1550
|
+
errorCode,
|
|
1607
1551
|
});
|
|
1608
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1609
1552
|
}
|
|
1610
1553
|
};
|
|
1611
1554
|
const deserializeAws_json1_1DeleteQuerySuggestionsBlockListCommand = async (output, context) => {
|
|
@@ -1624,7 +1567,6 @@ const deserializeAws_json1_1DeleteQuerySuggestionsBlockListCommandError = async
|
|
|
1624
1567
|
...output,
|
|
1625
1568
|
body: await parseBody(output.body, context),
|
|
1626
1569
|
};
|
|
1627
|
-
let response;
|
|
1628
1570
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1629
1571
|
switch (errorCode) {
|
|
1630
1572
|
case "AccessDeniedException":
|
|
@@ -1647,14 +1589,12 @@ const deserializeAws_json1_1DeleteQuerySuggestionsBlockListCommandError = async
|
|
|
1647
1589
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1648
1590
|
default:
|
|
1649
1591
|
const parsedBody = parsedOutput.body;
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
$metadata,
|
|
1592
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1593
|
+
output,
|
|
1594
|
+
parsedBody,
|
|
1595
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1596
|
+
errorCode,
|
|
1656
1597
|
});
|
|
1657
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1658
1598
|
}
|
|
1659
1599
|
};
|
|
1660
1600
|
const deserializeAws_json1_1DeleteThesaurusCommand = async (output, context) => {
|
|
@@ -1673,7 +1613,6 @@ const deserializeAws_json1_1DeleteThesaurusCommandError = async (output, context
|
|
|
1673
1613
|
...output,
|
|
1674
1614
|
body: await parseBody(output.body, context),
|
|
1675
1615
|
};
|
|
1676
|
-
let response;
|
|
1677
1616
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1678
1617
|
switch (errorCode) {
|
|
1679
1618
|
case "AccessDeniedException":
|
|
@@ -1696,14 +1635,12 @@ const deserializeAws_json1_1DeleteThesaurusCommandError = async (output, context
|
|
|
1696
1635
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1697
1636
|
default:
|
|
1698
1637
|
const parsedBody = parsedOutput.body;
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
$metadata,
|
|
1638
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1639
|
+
output,
|
|
1640
|
+
parsedBody,
|
|
1641
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1642
|
+
errorCode,
|
|
1705
1643
|
});
|
|
1706
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1707
1644
|
}
|
|
1708
1645
|
};
|
|
1709
1646
|
const deserializeAws_json1_1DescribeAccessControlConfigurationCommand = async (output, context) => {
|
|
@@ -1725,7 +1662,6 @@ const deserializeAws_json1_1DescribeAccessControlConfigurationCommandError = asy
|
|
|
1725
1662
|
...output,
|
|
1726
1663
|
body: await parseBody(output.body, context),
|
|
1727
1664
|
};
|
|
1728
|
-
let response;
|
|
1729
1665
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1730
1666
|
switch (errorCode) {
|
|
1731
1667
|
case "AccessDeniedException":
|
|
@@ -1745,14 +1681,12 @@ const deserializeAws_json1_1DescribeAccessControlConfigurationCommandError = asy
|
|
|
1745
1681
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1746
1682
|
default:
|
|
1747
1683
|
const parsedBody = parsedOutput.body;
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
$metadata,
|
|
1684
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1685
|
+
output,
|
|
1686
|
+
parsedBody,
|
|
1687
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1688
|
+
errorCode,
|
|
1754
1689
|
});
|
|
1755
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1756
1690
|
}
|
|
1757
1691
|
};
|
|
1758
1692
|
const deserializeAws_json1_1DescribeDataSourceCommand = async (output, context) => {
|
|
@@ -1774,7 +1708,6 @@ const deserializeAws_json1_1DescribeDataSourceCommandError = async (output, cont
|
|
|
1774
1708
|
...output,
|
|
1775
1709
|
body: await parseBody(output.body, context),
|
|
1776
1710
|
};
|
|
1777
|
-
let response;
|
|
1778
1711
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1779
1712
|
switch (errorCode) {
|
|
1780
1713
|
case "AccessDeniedException":
|
|
@@ -1794,14 +1727,12 @@ const deserializeAws_json1_1DescribeDataSourceCommandError = async (output, cont
|
|
|
1794
1727
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1795
1728
|
default:
|
|
1796
1729
|
const parsedBody = parsedOutput.body;
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
$metadata,
|
|
1730
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1731
|
+
output,
|
|
1732
|
+
parsedBody,
|
|
1733
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1734
|
+
errorCode,
|
|
1803
1735
|
});
|
|
1804
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1805
1736
|
}
|
|
1806
1737
|
};
|
|
1807
1738
|
const deserializeAws_json1_1DescribeExperienceCommand = async (output, context) => {
|
|
@@ -1823,7 +1754,6 @@ const deserializeAws_json1_1DescribeExperienceCommandError = async (output, cont
|
|
|
1823
1754
|
...output,
|
|
1824
1755
|
body: await parseBody(output.body, context),
|
|
1825
1756
|
};
|
|
1826
|
-
let response;
|
|
1827
1757
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1828
1758
|
switch (errorCode) {
|
|
1829
1759
|
case "AccessDeniedException":
|
|
@@ -1843,14 +1773,12 @@ const deserializeAws_json1_1DescribeExperienceCommandError = async (output, cont
|
|
|
1843
1773
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1844
1774
|
default:
|
|
1845
1775
|
const parsedBody = parsedOutput.body;
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
$metadata,
|
|
1776
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1777
|
+
output,
|
|
1778
|
+
parsedBody,
|
|
1779
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1780
|
+
errorCode,
|
|
1852
1781
|
});
|
|
1853
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1854
1782
|
}
|
|
1855
1783
|
};
|
|
1856
1784
|
const deserializeAws_json1_1DescribeFaqCommand = async (output, context) => {
|
|
@@ -1872,7 +1800,6 @@ const deserializeAws_json1_1DescribeFaqCommandError = async (output, context) =>
|
|
|
1872
1800
|
...output,
|
|
1873
1801
|
body: await parseBody(output.body, context),
|
|
1874
1802
|
};
|
|
1875
|
-
let response;
|
|
1876
1803
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1877
1804
|
switch (errorCode) {
|
|
1878
1805
|
case "AccessDeniedException":
|
|
@@ -1892,14 +1819,12 @@ const deserializeAws_json1_1DescribeFaqCommandError = async (output, context) =>
|
|
|
1892
1819
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1893
1820
|
default:
|
|
1894
1821
|
const parsedBody = parsedOutput.body;
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
$metadata,
|
|
1822
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1823
|
+
output,
|
|
1824
|
+
parsedBody,
|
|
1825
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1826
|
+
errorCode,
|
|
1901
1827
|
});
|
|
1902
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1903
1828
|
}
|
|
1904
1829
|
};
|
|
1905
1830
|
const deserializeAws_json1_1DescribeIndexCommand = async (output, context) => {
|
|
@@ -1921,7 +1846,6 @@ const deserializeAws_json1_1DescribeIndexCommandError = async (output, context)
|
|
|
1921
1846
|
...output,
|
|
1922
1847
|
body: await parseBody(output.body, context),
|
|
1923
1848
|
};
|
|
1924
|
-
let response;
|
|
1925
1849
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1926
1850
|
switch (errorCode) {
|
|
1927
1851
|
case "AccessDeniedException":
|
|
@@ -1941,14 +1865,12 @@ const deserializeAws_json1_1DescribeIndexCommandError = async (output, context)
|
|
|
1941
1865
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1942
1866
|
default:
|
|
1943
1867
|
const parsedBody = parsedOutput.body;
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
$metadata,
|
|
1868
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1869
|
+
output,
|
|
1870
|
+
parsedBody,
|
|
1871
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1872
|
+
errorCode,
|
|
1950
1873
|
});
|
|
1951
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1952
1874
|
}
|
|
1953
1875
|
};
|
|
1954
1876
|
const deserializeAws_json1_1DescribePrincipalMappingCommand = async (output, context) => {
|
|
@@ -1970,7 +1892,6 @@ const deserializeAws_json1_1DescribePrincipalMappingCommandError = async (output
|
|
|
1970
1892
|
...output,
|
|
1971
1893
|
body: await parseBody(output.body, context),
|
|
1972
1894
|
};
|
|
1973
|
-
let response;
|
|
1974
1895
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1975
1896
|
switch (errorCode) {
|
|
1976
1897
|
case "AccessDeniedException":
|
|
@@ -1990,14 +1911,12 @@ const deserializeAws_json1_1DescribePrincipalMappingCommandError = async (output
|
|
|
1990
1911
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1991
1912
|
default:
|
|
1992
1913
|
const parsedBody = parsedOutput.body;
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
$metadata,
|
|
1914
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1915
|
+
output,
|
|
1916
|
+
parsedBody,
|
|
1917
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1918
|
+
errorCode,
|
|
1999
1919
|
});
|
|
2000
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2001
1920
|
}
|
|
2002
1921
|
};
|
|
2003
1922
|
const deserializeAws_json1_1DescribeQuerySuggestionsBlockListCommand = async (output, context) => {
|
|
@@ -2019,7 +1938,6 @@ const deserializeAws_json1_1DescribeQuerySuggestionsBlockListCommandError = asyn
|
|
|
2019
1938
|
...output,
|
|
2020
1939
|
body: await parseBody(output.body, context),
|
|
2021
1940
|
};
|
|
2022
|
-
let response;
|
|
2023
1941
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2024
1942
|
switch (errorCode) {
|
|
2025
1943
|
case "AccessDeniedException":
|
|
@@ -2039,14 +1957,12 @@ const deserializeAws_json1_1DescribeQuerySuggestionsBlockListCommandError = asyn
|
|
|
2039
1957
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2040
1958
|
default:
|
|
2041
1959
|
const parsedBody = parsedOutput.body;
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
$metadata,
|
|
1960
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1961
|
+
output,
|
|
1962
|
+
parsedBody,
|
|
1963
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
1964
|
+
errorCode,
|
|
2048
1965
|
});
|
|
2049
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2050
1966
|
}
|
|
2051
1967
|
};
|
|
2052
1968
|
const deserializeAws_json1_1DescribeQuerySuggestionsConfigCommand = async (output, context) => {
|
|
@@ -2068,7 +1984,6 @@ const deserializeAws_json1_1DescribeQuerySuggestionsConfigCommandError = async (
|
|
|
2068
1984
|
...output,
|
|
2069
1985
|
body: await parseBody(output.body, context),
|
|
2070
1986
|
};
|
|
2071
|
-
let response;
|
|
2072
1987
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2073
1988
|
switch (errorCode) {
|
|
2074
1989
|
case "AccessDeniedException":
|
|
@@ -2088,14 +2003,12 @@ const deserializeAws_json1_1DescribeQuerySuggestionsConfigCommandError = async (
|
|
|
2088
2003
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2089
2004
|
default:
|
|
2090
2005
|
const parsedBody = parsedOutput.body;
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
$metadata,
|
|
2006
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2007
|
+
output,
|
|
2008
|
+
parsedBody,
|
|
2009
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2010
|
+
errorCode,
|
|
2097
2011
|
});
|
|
2098
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2099
2012
|
}
|
|
2100
2013
|
};
|
|
2101
2014
|
const deserializeAws_json1_1DescribeThesaurusCommand = async (output, context) => {
|
|
@@ -2117,7 +2030,6 @@ const deserializeAws_json1_1DescribeThesaurusCommandError = async (output, conte
|
|
|
2117
2030
|
...output,
|
|
2118
2031
|
body: await parseBody(output.body, context),
|
|
2119
2032
|
};
|
|
2120
|
-
let response;
|
|
2121
2033
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2122
2034
|
switch (errorCode) {
|
|
2123
2035
|
case "AccessDeniedException":
|
|
@@ -2137,14 +2049,12 @@ const deserializeAws_json1_1DescribeThesaurusCommandError = async (output, conte
|
|
|
2137
2049
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2138
2050
|
default:
|
|
2139
2051
|
const parsedBody = parsedOutput.body;
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
$metadata,
|
|
2052
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2053
|
+
output,
|
|
2054
|
+
parsedBody,
|
|
2055
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2056
|
+
errorCode,
|
|
2146
2057
|
});
|
|
2147
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2148
2058
|
}
|
|
2149
2059
|
};
|
|
2150
2060
|
const deserializeAws_json1_1DisassociateEntitiesFromExperienceCommand = async (output, context) => {
|
|
@@ -2166,7 +2076,6 @@ const deserializeAws_json1_1DisassociateEntitiesFromExperienceCommandError = asy
|
|
|
2166
2076
|
...output,
|
|
2167
2077
|
body: await parseBody(output.body, context),
|
|
2168
2078
|
};
|
|
2169
|
-
let response;
|
|
2170
2079
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2171
2080
|
switch (errorCode) {
|
|
2172
2081
|
case "AccessDeniedException":
|
|
@@ -2186,14 +2095,12 @@ const deserializeAws_json1_1DisassociateEntitiesFromExperienceCommandError = asy
|
|
|
2186
2095
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2187
2096
|
default:
|
|
2188
2097
|
const parsedBody = parsedOutput.body;
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
$metadata,
|
|
2098
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2099
|
+
output,
|
|
2100
|
+
parsedBody,
|
|
2101
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2102
|
+
errorCode,
|
|
2195
2103
|
});
|
|
2196
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2197
2104
|
}
|
|
2198
2105
|
};
|
|
2199
2106
|
const deserializeAws_json1_1DisassociatePersonasFromEntitiesCommand = async (output, context) => {
|
|
@@ -2215,7 +2122,6 @@ const deserializeAws_json1_1DisassociatePersonasFromEntitiesCommandError = async
|
|
|
2215
2122
|
...output,
|
|
2216
2123
|
body: await parseBody(output.body, context),
|
|
2217
2124
|
};
|
|
2218
|
-
let response;
|
|
2219
2125
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2220
2126
|
switch (errorCode) {
|
|
2221
2127
|
case "AccessDeniedException":
|
|
@@ -2235,14 +2141,12 @@ const deserializeAws_json1_1DisassociatePersonasFromEntitiesCommandError = async
|
|
|
2235
2141
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2236
2142
|
default:
|
|
2237
2143
|
const parsedBody = parsedOutput.body;
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
$metadata,
|
|
2144
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2145
|
+
output,
|
|
2146
|
+
parsedBody,
|
|
2147
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2148
|
+
errorCode,
|
|
2244
2149
|
});
|
|
2245
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2246
2150
|
}
|
|
2247
2151
|
};
|
|
2248
2152
|
const deserializeAws_json1_1GetQuerySuggestionsCommand = async (output, context) => {
|
|
@@ -2264,7 +2168,6 @@ const deserializeAws_json1_1GetQuerySuggestionsCommandError = async (output, con
|
|
|
2264
2168
|
...output,
|
|
2265
2169
|
body: await parseBody(output.body, context),
|
|
2266
2170
|
};
|
|
2267
|
-
let response;
|
|
2268
2171
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2269
2172
|
switch (errorCode) {
|
|
2270
2173
|
case "AccessDeniedException":
|
|
@@ -2290,14 +2193,12 @@ const deserializeAws_json1_1GetQuerySuggestionsCommandError = async (output, con
|
|
|
2290
2193
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2291
2194
|
default:
|
|
2292
2195
|
const parsedBody = parsedOutput.body;
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
$metadata,
|
|
2196
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2197
|
+
output,
|
|
2198
|
+
parsedBody,
|
|
2199
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2200
|
+
errorCode,
|
|
2299
2201
|
});
|
|
2300
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2301
2202
|
}
|
|
2302
2203
|
};
|
|
2303
2204
|
const deserializeAws_json1_1GetSnapshotsCommand = async (output, context) => {
|
|
@@ -2319,7 +2220,6 @@ const deserializeAws_json1_1GetSnapshotsCommandError = async (output, context) =
|
|
|
2319
2220
|
...output,
|
|
2320
2221
|
body: await parseBody(output.body, context),
|
|
2321
2222
|
};
|
|
2322
|
-
let response;
|
|
2323
2223
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2324
2224
|
switch (errorCode) {
|
|
2325
2225
|
case "AccessDeniedException":
|
|
@@ -2336,14 +2236,12 @@ const deserializeAws_json1_1GetSnapshotsCommandError = async (output, context) =
|
|
|
2336
2236
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2337
2237
|
default:
|
|
2338
2238
|
const parsedBody = parsedOutput.body;
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
$metadata,
|
|
2239
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2240
|
+
output,
|
|
2241
|
+
parsedBody,
|
|
2242
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2243
|
+
errorCode,
|
|
2345
2244
|
});
|
|
2346
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2347
2245
|
}
|
|
2348
2246
|
};
|
|
2349
2247
|
const deserializeAws_json1_1ListAccessControlConfigurationsCommand = async (output, context) => {
|
|
@@ -2365,7 +2263,6 @@ const deserializeAws_json1_1ListAccessControlConfigurationsCommandError = async
|
|
|
2365
2263
|
...output,
|
|
2366
2264
|
body: await parseBody(output.body, context),
|
|
2367
2265
|
};
|
|
2368
|
-
let response;
|
|
2369
2266
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2370
2267
|
switch (errorCode) {
|
|
2371
2268
|
case "AccessDeniedException":
|
|
@@ -2385,14 +2282,12 @@ const deserializeAws_json1_1ListAccessControlConfigurationsCommandError = async
|
|
|
2385
2282
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2386
2283
|
default:
|
|
2387
2284
|
const parsedBody = parsedOutput.body;
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
$metadata,
|
|
2285
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2286
|
+
output,
|
|
2287
|
+
parsedBody,
|
|
2288
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2289
|
+
errorCode,
|
|
2394
2290
|
});
|
|
2395
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2396
2291
|
}
|
|
2397
2292
|
};
|
|
2398
2293
|
const deserializeAws_json1_1ListDataSourcesCommand = async (output, context) => {
|
|
@@ -2414,7 +2309,6 @@ const deserializeAws_json1_1ListDataSourcesCommandError = async (output, context
|
|
|
2414
2309
|
...output,
|
|
2415
2310
|
body: await parseBody(output.body, context),
|
|
2416
2311
|
};
|
|
2417
|
-
let response;
|
|
2418
2312
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2419
2313
|
switch (errorCode) {
|
|
2420
2314
|
case "AccessDeniedException":
|
|
@@ -2434,14 +2328,12 @@ const deserializeAws_json1_1ListDataSourcesCommandError = async (output, context
|
|
|
2434
2328
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2435
2329
|
default:
|
|
2436
2330
|
const parsedBody = parsedOutput.body;
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
$metadata,
|
|
2331
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2332
|
+
output,
|
|
2333
|
+
parsedBody,
|
|
2334
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2335
|
+
errorCode,
|
|
2443
2336
|
});
|
|
2444
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2445
2337
|
}
|
|
2446
2338
|
};
|
|
2447
2339
|
const deserializeAws_json1_1ListDataSourceSyncJobsCommand = async (output, context) => {
|
|
@@ -2463,7 +2355,6 @@ const deserializeAws_json1_1ListDataSourceSyncJobsCommandError = async (output,
|
|
|
2463
2355
|
...output,
|
|
2464
2356
|
body: await parseBody(output.body, context),
|
|
2465
2357
|
};
|
|
2466
|
-
let response;
|
|
2467
2358
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2468
2359
|
switch (errorCode) {
|
|
2469
2360
|
case "AccessDeniedException":
|
|
@@ -2486,14 +2377,12 @@ const deserializeAws_json1_1ListDataSourceSyncJobsCommandError = async (output,
|
|
|
2486
2377
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2487
2378
|
default:
|
|
2488
2379
|
const parsedBody = parsedOutput.body;
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
$metadata,
|
|
2380
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2381
|
+
output,
|
|
2382
|
+
parsedBody,
|
|
2383
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2384
|
+
errorCode,
|
|
2495
2385
|
});
|
|
2496
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2497
2386
|
}
|
|
2498
2387
|
};
|
|
2499
2388
|
const deserializeAws_json1_1ListEntityPersonasCommand = async (output, context) => {
|
|
@@ -2515,7 +2404,6 @@ const deserializeAws_json1_1ListEntityPersonasCommandError = async (output, cont
|
|
|
2515
2404
|
...output,
|
|
2516
2405
|
body: await parseBody(output.body, context),
|
|
2517
2406
|
};
|
|
2518
|
-
let response;
|
|
2519
2407
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2520
2408
|
switch (errorCode) {
|
|
2521
2409
|
case "AccessDeniedException":
|
|
@@ -2535,14 +2423,12 @@ const deserializeAws_json1_1ListEntityPersonasCommandError = async (output, cont
|
|
|
2535
2423
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2536
2424
|
default:
|
|
2537
2425
|
const parsedBody = parsedOutput.body;
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
$metadata,
|
|
2426
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2427
|
+
output,
|
|
2428
|
+
parsedBody,
|
|
2429
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2430
|
+
errorCode,
|
|
2544
2431
|
});
|
|
2545
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2546
2432
|
}
|
|
2547
2433
|
};
|
|
2548
2434
|
const deserializeAws_json1_1ListExperienceEntitiesCommand = async (output, context) => {
|
|
@@ -2564,7 +2450,6 @@ const deserializeAws_json1_1ListExperienceEntitiesCommandError = async (output,
|
|
|
2564
2450
|
...output,
|
|
2565
2451
|
body: await parseBody(output.body, context),
|
|
2566
2452
|
};
|
|
2567
|
-
let response;
|
|
2568
2453
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2569
2454
|
switch (errorCode) {
|
|
2570
2455
|
case "AccessDeniedException":
|
|
@@ -2584,14 +2469,12 @@ const deserializeAws_json1_1ListExperienceEntitiesCommandError = async (output,
|
|
|
2584
2469
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2585
2470
|
default:
|
|
2586
2471
|
const parsedBody = parsedOutput.body;
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
$metadata,
|
|
2472
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2473
|
+
output,
|
|
2474
|
+
parsedBody,
|
|
2475
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2476
|
+
errorCode,
|
|
2593
2477
|
});
|
|
2594
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2595
2478
|
}
|
|
2596
2479
|
};
|
|
2597
2480
|
const deserializeAws_json1_1ListExperiencesCommand = async (output, context) => {
|
|
@@ -2613,7 +2496,6 @@ const deserializeAws_json1_1ListExperiencesCommandError = async (output, context
|
|
|
2613
2496
|
...output,
|
|
2614
2497
|
body: await parseBody(output.body, context),
|
|
2615
2498
|
};
|
|
2616
|
-
let response;
|
|
2617
2499
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2618
2500
|
switch (errorCode) {
|
|
2619
2501
|
case "AccessDeniedException":
|
|
@@ -2633,14 +2515,12 @@ const deserializeAws_json1_1ListExperiencesCommandError = async (output, context
|
|
|
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: KendraServiceException_1.KendraServiceException,
|
|
2522
|
+
errorCode,
|
|
2642
2523
|
});
|
|
2643
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2644
2524
|
}
|
|
2645
2525
|
};
|
|
2646
2526
|
const deserializeAws_json1_1ListFaqsCommand = async (output, context) => {
|
|
@@ -2662,7 +2542,6 @@ const deserializeAws_json1_1ListFaqsCommandError = async (output, context) => {
|
|
|
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_1ListFaqsCommandError = async (output, context) => {
|
|
|
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: KendraServiceException_1.KendraServiceException,
|
|
2568
|
+
errorCode,
|
|
2691
2569
|
});
|
|
2692
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2693
2570
|
}
|
|
2694
2571
|
};
|
|
2695
2572
|
const deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommand = async (output, context) => {
|
|
@@ -2711,7 +2588,6 @@ const deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommandError = async (o
|
|
|
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_1ListGroupsOlderThanOrderingIdCommandError = async (o
|
|
|
2734
2610
|
throw await deserializeAws_json1_1ValidationExceptionResponse(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: KendraServiceException_1.KendraServiceException,
|
|
2617
|
+
errorCode,
|
|
2743
2618
|
});
|
|
2744
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2745
2619
|
}
|
|
2746
2620
|
};
|
|
2747
2621
|
const deserializeAws_json1_1ListIndicesCommand = async (output, context) => {
|
|
@@ -2763,7 +2637,6 @@ const deserializeAws_json1_1ListIndicesCommandError = async (output, context) =>
|
|
|
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":
|
|
@@ -2780,14 +2653,12 @@ const deserializeAws_json1_1ListIndicesCommandError = async (output, context) =>
|
|
|
2780
2653
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2781
2654
|
default:
|
|
2782
2655
|
const parsedBody = parsedOutput.body;
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
$metadata,
|
|
2656
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2657
|
+
output,
|
|
2658
|
+
parsedBody,
|
|
2659
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2660
|
+
errorCode,
|
|
2789
2661
|
});
|
|
2790
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2791
2662
|
}
|
|
2792
2663
|
};
|
|
2793
2664
|
const deserializeAws_json1_1ListQuerySuggestionsBlockListsCommand = async (output, context) => {
|
|
@@ -2809,7 +2680,6 @@ const deserializeAws_json1_1ListQuerySuggestionsBlockListsCommandError = async (
|
|
|
2809
2680
|
...output,
|
|
2810
2681
|
body: await parseBody(output.body, context),
|
|
2811
2682
|
};
|
|
2812
|
-
let response;
|
|
2813
2683
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2814
2684
|
switch (errorCode) {
|
|
2815
2685
|
case "AccessDeniedException":
|
|
@@ -2829,14 +2699,12 @@ const deserializeAws_json1_1ListQuerySuggestionsBlockListsCommandError = async (
|
|
|
2829
2699
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2830
2700
|
default:
|
|
2831
2701
|
const parsedBody = parsedOutput.body;
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
$metadata,
|
|
2702
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2703
|
+
output,
|
|
2704
|
+
parsedBody,
|
|
2705
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2706
|
+
errorCode,
|
|
2838
2707
|
});
|
|
2839
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2840
2708
|
}
|
|
2841
2709
|
};
|
|
2842
2710
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2858,7 +2726,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2858
2726
|
...output,
|
|
2859
2727
|
body: await parseBody(output.body, context),
|
|
2860
2728
|
};
|
|
2861
|
-
let response;
|
|
2862
2729
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2863
2730
|
switch (errorCode) {
|
|
2864
2731
|
case "AccessDeniedException":
|
|
@@ -2878,14 +2745,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2878
2745
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2879
2746
|
default:
|
|
2880
2747
|
const parsedBody = parsedOutput.body;
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
$metadata,
|
|
2748
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2749
|
+
output,
|
|
2750
|
+
parsedBody,
|
|
2751
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2752
|
+
errorCode,
|
|
2887
2753
|
});
|
|
2888
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2889
2754
|
}
|
|
2890
2755
|
};
|
|
2891
2756
|
const deserializeAws_json1_1ListThesauriCommand = async (output, context) => {
|
|
@@ -2907,7 +2772,6 @@ const deserializeAws_json1_1ListThesauriCommandError = async (output, context) =
|
|
|
2907
2772
|
...output,
|
|
2908
2773
|
body: await parseBody(output.body, context),
|
|
2909
2774
|
};
|
|
2910
|
-
let response;
|
|
2911
2775
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2912
2776
|
switch (errorCode) {
|
|
2913
2777
|
case "AccessDeniedException":
|
|
@@ -2927,14 +2791,12 @@ const deserializeAws_json1_1ListThesauriCommandError = async (output, context) =
|
|
|
2927
2791
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2928
2792
|
default:
|
|
2929
2793
|
const parsedBody = parsedOutput.body;
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
$metadata,
|
|
2794
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2795
|
+
output,
|
|
2796
|
+
parsedBody,
|
|
2797
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2798
|
+
errorCode,
|
|
2936
2799
|
});
|
|
2937
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2938
2800
|
}
|
|
2939
2801
|
};
|
|
2940
2802
|
const deserializeAws_json1_1PutPrincipalMappingCommand = async (output, context) => {
|
|
@@ -2953,7 +2815,6 @@ const deserializeAws_json1_1PutPrincipalMappingCommandError = async (output, con
|
|
|
2953
2815
|
...output,
|
|
2954
2816
|
body: await parseBody(output.body, context),
|
|
2955
2817
|
};
|
|
2956
|
-
let response;
|
|
2957
2818
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2958
2819
|
switch (errorCode) {
|
|
2959
2820
|
case "AccessDeniedException":
|
|
@@ -2979,14 +2840,12 @@ const deserializeAws_json1_1PutPrincipalMappingCommandError = async (output, con
|
|
|
2979
2840
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2980
2841
|
default:
|
|
2981
2842
|
const parsedBody = parsedOutput.body;
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
$metadata,
|
|
2843
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2844
|
+
output,
|
|
2845
|
+
parsedBody,
|
|
2846
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2847
|
+
errorCode,
|
|
2988
2848
|
});
|
|
2989
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2990
2849
|
}
|
|
2991
2850
|
};
|
|
2992
2851
|
const deserializeAws_json1_1QueryCommand = async (output, context) => {
|
|
@@ -3008,7 +2867,6 @@ const deserializeAws_json1_1QueryCommandError = async (output, context) => {
|
|
|
3008
2867
|
...output,
|
|
3009
2868
|
body: await parseBody(output.body, context),
|
|
3010
2869
|
};
|
|
3011
|
-
let response;
|
|
3012
2870
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3013
2871
|
switch (errorCode) {
|
|
3014
2872
|
case "AccessDeniedException":
|
|
@@ -3034,14 +2892,12 @@ const deserializeAws_json1_1QueryCommandError = async (output, context) => {
|
|
|
3034
2892
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3035
2893
|
default:
|
|
3036
2894
|
const parsedBody = parsedOutput.body;
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
$metadata,
|
|
2895
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2896
|
+
output,
|
|
2897
|
+
parsedBody,
|
|
2898
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2899
|
+
errorCode,
|
|
3043
2900
|
});
|
|
3044
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3045
2901
|
}
|
|
3046
2902
|
};
|
|
3047
2903
|
const deserializeAws_json1_1StartDataSourceSyncJobCommand = async (output, context) => {
|
|
@@ -3063,7 +2919,6 @@ const deserializeAws_json1_1StartDataSourceSyncJobCommandError = async (output,
|
|
|
3063
2919
|
...output,
|
|
3064
2920
|
body: await parseBody(output.body, context),
|
|
3065
2921
|
};
|
|
3066
|
-
let response;
|
|
3067
2922
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3068
2923
|
switch (errorCode) {
|
|
3069
2924
|
case "AccessDeniedException":
|
|
@@ -3089,14 +2944,12 @@ const deserializeAws_json1_1StartDataSourceSyncJobCommandError = async (output,
|
|
|
3089
2944
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3090
2945
|
default:
|
|
3091
2946
|
const parsedBody = parsedOutput.body;
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
$metadata,
|
|
2947
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2948
|
+
output,
|
|
2949
|
+
parsedBody,
|
|
2950
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2951
|
+
errorCode,
|
|
3098
2952
|
});
|
|
3099
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3100
2953
|
}
|
|
3101
2954
|
};
|
|
3102
2955
|
const deserializeAws_json1_1StopDataSourceSyncJobCommand = async (output, context) => {
|
|
@@ -3115,7 +2968,6 @@ const deserializeAws_json1_1StopDataSourceSyncJobCommandError = async (output, c
|
|
|
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 "AccessDeniedException":
|
|
@@ -3135,14 +2987,12 @@ const deserializeAws_json1_1StopDataSourceSyncJobCommandError = async (output, c
|
|
|
3135
2987
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3136
2988
|
default:
|
|
3137
2989
|
const parsedBody = parsedOutput.body;
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
$metadata,
|
|
2990
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2991
|
+
output,
|
|
2992
|
+
parsedBody,
|
|
2993
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
2994
|
+
errorCode,
|
|
3144
2995
|
});
|
|
3145
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3146
2996
|
}
|
|
3147
2997
|
};
|
|
3148
2998
|
const deserializeAws_json1_1SubmitFeedbackCommand = async (output, context) => {
|
|
@@ -3161,7 +3011,6 @@ const deserializeAws_json1_1SubmitFeedbackCommandError = async (output, context)
|
|
|
3161
3011
|
...output,
|
|
3162
3012
|
body: await parseBody(output.body, context),
|
|
3163
3013
|
};
|
|
3164
|
-
let response;
|
|
3165
3014
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3166
3015
|
switch (errorCode) {
|
|
3167
3016
|
case "AccessDeniedException":
|
|
@@ -3184,14 +3033,12 @@ const deserializeAws_json1_1SubmitFeedbackCommandError = async (output, context)
|
|
|
3184
3033
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3185
3034
|
default:
|
|
3186
3035
|
const parsedBody = parsedOutput.body;
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
$metadata,
|
|
3036
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3037
|
+
output,
|
|
3038
|
+
parsedBody,
|
|
3039
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
3040
|
+
errorCode,
|
|
3193
3041
|
});
|
|
3194
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3195
3042
|
}
|
|
3196
3043
|
};
|
|
3197
3044
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -3213,7 +3060,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
3213
3060
|
...output,
|
|
3214
3061
|
body: await parseBody(output.body, context),
|
|
3215
3062
|
};
|
|
3216
|
-
let response;
|
|
3217
3063
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3218
3064
|
switch (errorCode) {
|
|
3219
3065
|
case "AccessDeniedException":
|
|
@@ -3233,14 +3079,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
3233
3079
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3234
3080
|
default:
|
|
3235
3081
|
const parsedBody = parsedOutput.body;
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
$metadata,
|
|
3082
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3083
|
+
output,
|
|
3084
|
+
parsedBody,
|
|
3085
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
3086
|
+
errorCode,
|
|
3242
3087
|
});
|
|
3243
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3244
3088
|
}
|
|
3245
3089
|
};
|
|
3246
3090
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -3262,7 +3106,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
3262
3106
|
...output,
|
|
3263
3107
|
body: await parseBody(output.body, context),
|
|
3264
3108
|
};
|
|
3265
|
-
let response;
|
|
3266
3109
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3267
3110
|
switch (errorCode) {
|
|
3268
3111
|
case "AccessDeniedException":
|
|
@@ -3282,14 +3125,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
3282
3125
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3283
3126
|
default:
|
|
3284
3127
|
const parsedBody = parsedOutput.body;
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
$metadata,
|
|
3128
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3129
|
+
output,
|
|
3130
|
+
parsedBody,
|
|
3131
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
3132
|
+
errorCode,
|
|
3291
3133
|
});
|
|
3292
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3293
3134
|
}
|
|
3294
3135
|
};
|
|
3295
3136
|
const deserializeAws_json1_1UpdateAccessControlConfigurationCommand = async (output, context) => {
|
|
@@ -3311,7 +3152,6 @@ const deserializeAws_json1_1UpdateAccessControlConfigurationCommandError = async
|
|
|
3311
3152
|
...output,
|
|
3312
3153
|
body: await parseBody(output.body, context),
|
|
3313
3154
|
};
|
|
3314
|
-
let response;
|
|
3315
3155
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3316
3156
|
switch (errorCode) {
|
|
3317
3157
|
case "AccessDeniedException":
|
|
@@ -3337,14 +3177,12 @@ const deserializeAws_json1_1UpdateAccessControlConfigurationCommandError = async
|
|
|
3337
3177
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3338
3178
|
default:
|
|
3339
3179
|
const parsedBody = parsedOutput.body;
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
$metadata,
|
|
3180
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3181
|
+
output,
|
|
3182
|
+
parsedBody,
|
|
3183
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
3184
|
+
errorCode,
|
|
3346
3185
|
});
|
|
3347
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3348
3186
|
}
|
|
3349
3187
|
};
|
|
3350
3188
|
const deserializeAws_json1_1UpdateDataSourceCommand = async (output, context) => {
|
|
@@ -3363,7 +3201,6 @@ const deserializeAws_json1_1UpdateDataSourceCommandError = async (output, contex
|
|
|
3363
3201
|
...output,
|
|
3364
3202
|
body: await parseBody(output.body, context),
|
|
3365
3203
|
};
|
|
3366
|
-
let response;
|
|
3367
3204
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3368
3205
|
switch (errorCode) {
|
|
3369
3206
|
case "AccessDeniedException":
|
|
@@ -3386,14 +3223,12 @@ const deserializeAws_json1_1UpdateDataSourceCommandError = async (output, contex
|
|
|
3386
3223
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3387
3224
|
default:
|
|
3388
3225
|
const parsedBody = parsedOutput.body;
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
$metadata,
|
|
3226
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3227
|
+
output,
|
|
3228
|
+
parsedBody,
|
|
3229
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
3230
|
+
errorCode,
|
|
3395
3231
|
});
|
|
3396
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3397
3232
|
}
|
|
3398
3233
|
};
|
|
3399
3234
|
const deserializeAws_json1_1UpdateExperienceCommand = async (output, context) => {
|
|
@@ -3412,7 +3247,6 @@ const deserializeAws_json1_1UpdateExperienceCommandError = async (output, contex
|
|
|
3412
3247
|
...output,
|
|
3413
3248
|
body: await parseBody(output.body, context),
|
|
3414
3249
|
};
|
|
3415
|
-
let response;
|
|
3416
3250
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3417
3251
|
switch (errorCode) {
|
|
3418
3252
|
case "AccessDeniedException":
|
|
@@ -3435,14 +3269,12 @@ const deserializeAws_json1_1UpdateExperienceCommandError = async (output, contex
|
|
|
3435
3269
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3436
3270
|
default:
|
|
3437
3271
|
const parsedBody = parsedOutput.body;
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
$metadata,
|
|
3272
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3273
|
+
output,
|
|
3274
|
+
parsedBody,
|
|
3275
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
3276
|
+
errorCode,
|
|
3444
3277
|
});
|
|
3445
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3446
3278
|
}
|
|
3447
3279
|
};
|
|
3448
3280
|
const deserializeAws_json1_1UpdateIndexCommand = async (output, context) => {
|
|
@@ -3461,7 +3293,6 @@ const deserializeAws_json1_1UpdateIndexCommandError = async (output, context) =>
|
|
|
3461
3293
|
...output,
|
|
3462
3294
|
body: await parseBody(output.body, context),
|
|
3463
3295
|
};
|
|
3464
|
-
let response;
|
|
3465
3296
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3466
3297
|
switch (errorCode) {
|
|
3467
3298
|
case "AccessDeniedException":
|
|
@@ -3487,14 +3318,12 @@ const deserializeAws_json1_1UpdateIndexCommandError = async (output, context) =>
|
|
|
3487
3318
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3488
3319
|
default:
|
|
3489
3320
|
const parsedBody = parsedOutput.body;
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
$metadata,
|
|
3321
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3322
|
+
output,
|
|
3323
|
+
parsedBody,
|
|
3324
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
3325
|
+
errorCode,
|
|
3496
3326
|
});
|
|
3497
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3498
3327
|
}
|
|
3499
3328
|
};
|
|
3500
3329
|
const deserializeAws_json1_1UpdateQuerySuggestionsBlockListCommand = async (output, context) => {
|
|
@@ -3513,7 +3342,6 @@ const deserializeAws_json1_1UpdateQuerySuggestionsBlockListCommandError = async
|
|
|
3513
3342
|
...output,
|
|
3514
3343
|
body: await parseBody(output.body, context),
|
|
3515
3344
|
};
|
|
3516
|
-
let response;
|
|
3517
3345
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3518
3346
|
switch (errorCode) {
|
|
3519
3347
|
case "AccessDeniedException":
|
|
@@ -3536,14 +3364,12 @@ const deserializeAws_json1_1UpdateQuerySuggestionsBlockListCommandError = async
|
|
|
3536
3364
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3537
3365
|
default:
|
|
3538
3366
|
const parsedBody = parsedOutput.body;
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
$metadata,
|
|
3367
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3368
|
+
output,
|
|
3369
|
+
parsedBody,
|
|
3370
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
3371
|
+
errorCode,
|
|
3545
3372
|
});
|
|
3546
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3547
3373
|
}
|
|
3548
3374
|
};
|
|
3549
3375
|
const deserializeAws_json1_1UpdateQuerySuggestionsConfigCommand = async (output, context) => {
|
|
@@ -3562,7 +3388,6 @@ const deserializeAws_json1_1UpdateQuerySuggestionsConfigCommandError = async (ou
|
|
|
3562
3388
|
...output,
|
|
3563
3389
|
body: await parseBody(output.body, context),
|
|
3564
3390
|
};
|
|
3565
|
-
let response;
|
|
3566
3391
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3567
3392
|
switch (errorCode) {
|
|
3568
3393
|
case "AccessDeniedException":
|
|
@@ -3585,14 +3410,12 @@ const deserializeAws_json1_1UpdateQuerySuggestionsConfigCommandError = async (ou
|
|
|
3585
3410
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3586
3411
|
default:
|
|
3587
3412
|
const parsedBody = parsedOutput.body;
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
$metadata,
|
|
3413
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3414
|
+
output,
|
|
3415
|
+
parsedBody,
|
|
3416
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
3417
|
+
errorCode,
|
|
3594
3418
|
});
|
|
3595
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3596
3419
|
}
|
|
3597
3420
|
};
|
|
3598
3421
|
const deserializeAws_json1_1UpdateThesaurusCommand = async (output, context) => {
|
|
@@ -3611,7 +3434,6 @@ const deserializeAws_json1_1UpdateThesaurusCommandError = async (output, context
|
|
|
3611
3434
|
...output,
|
|
3612
3435
|
body: await parseBody(output.body, context),
|
|
3613
3436
|
};
|
|
3614
|
-
let response;
|
|
3615
3437
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3616
3438
|
switch (errorCode) {
|
|
3617
3439
|
case "AccessDeniedException":
|
|
@@ -3634,14 +3456,12 @@ const deserializeAws_json1_1UpdateThesaurusCommandError = async (output, context
|
|
|
3634
3456
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3635
3457
|
default:
|
|
3636
3458
|
const parsedBody = parsedOutput.body;
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
$metadata,
|
|
3459
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3460
|
+
output,
|
|
3461
|
+
parsedBody,
|
|
3462
|
+
exceptionCtor: KendraServiceException_1.KendraServiceException,
|
|
3463
|
+
errorCode,
|
|
3643
3464
|
});
|
|
3644
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3645
3465
|
}
|
|
3646
3466
|
};
|
|
3647
3467
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -3795,9 +3615,6 @@ const serializeAws_json1_1AssociateEntityList = (input, context) => {
|
|
|
3795
3615
|
return input
|
|
3796
3616
|
.filter((e) => e != null)
|
|
3797
3617
|
.map((entry) => {
|
|
3798
|
-
if (entry === null) {
|
|
3799
|
-
return null;
|
|
3800
|
-
}
|
|
3801
3618
|
return serializeAws_json1_1EntityConfiguration(entry, context);
|
|
3802
3619
|
});
|
|
3803
3620
|
};
|
|
@@ -3842,9 +3659,6 @@ const serializeAws_json1_1AttributeFilterList = (input, context) => {
|
|
|
3842
3659
|
return input
|
|
3843
3660
|
.filter((e) => e != null)
|
|
3844
3661
|
.map((entry) => {
|
|
3845
|
-
if (entry === null) {
|
|
3846
|
-
return null;
|
|
3847
|
-
}
|
|
3848
3662
|
return serializeAws_json1_1AttributeFilter(entry, context);
|
|
3849
3663
|
});
|
|
3850
3664
|
};
|
|
@@ -3866,9 +3680,6 @@ const serializeAws_json1_1BasicAuthenticationConfigurationList = (input, context
|
|
|
3866
3680
|
return input
|
|
3867
3681
|
.filter((e) => e != null)
|
|
3868
3682
|
.map((entry) => {
|
|
3869
|
-
if (entry === null) {
|
|
3870
|
-
return null;
|
|
3871
|
-
}
|
|
3872
3683
|
return serializeAws_json1_1BasicAuthenticationConfiguration(entry, context);
|
|
3873
3684
|
});
|
|
3874
3685
|
};
|
|
@@ -3942,9 +3753,6 @@ const serializeAws_json1_1ChangeDetectingColumns = (input, context) => {
|
|
|
3942
3753
|
return input
|
|
3943
3754
|
.filter((e) => e != null)
|
|
3944
3755
|
.map((entry) => {
|
|
3945
|
-
if (entry === null) {
|
|
3946
|
-
return null;
|
|
3947
|
-
}
|
|
3948
3756
|
return entry;
|
|
3949
3757
|
});
|
|
3950
3758
|
};
|
|
@@ -3963,9 +3771,6 @@ const serializeAws_json1_1ClickFeedbackList = (input, context) => {
|
|
|
3963
3771
|
return input
|
|
3964
3772
|
.filter((e) => e != null)
|
|
3965
3773
|
.map((entry) => {
|
|
3966
|
-
if (entry === null) {
|
|
3967
|
-
return null;
|
|
3968
|
-
}
|
|
3969
3774
|
return serializeAws_json1_1ClickFeedback(entry, context);
|
|
3970
3775
|
});
|
|
3971
3776
|
};
|
|
@@ -3994,9 +3799,6 @@ const serializeAws_json1_1ConfluenceAttachmentFieldMappingsList = (input, contex
|
|
|
3994
3799
|
return input
|
|
3995
3800
|
.filter((e) => e != null)
|
|
3996
3801
|
.map((entry) => {
|
|
3997
|
-
if (entry === null) {
|
|
3998
|
-
return null;
|
|
3999
|
-
}
|
|
4000
3802
|
return serializeAws_json1_1ConfluenceAttachmentToIndexFieldMapping(entry, context);
|
|
4001
3803
|
});
|
|
4002
3804
|
};
|
|
@@ -4018,9 +3820,6 @@ const serializeAws_json1_1ConfluenceBlogFieldMappingsList = (input, context) =>
|
|
|
4018
3820
|
return input
|
|
4019
3821
|
.filter((e) => e != null)
|
|
4020
3822
|
.map((entry) => {
|
|
4021
|
-
if (entry === null) {
|
|
4022
|
-
return null;
|
|
4023
|
-
}
|
|
4024
3823
|
return serializeAws_json1_1ConfluenceBlogToIndexFieldMapping(entry, context);
|
|
4025
3824
|
});
|
|
4026
3825
|
};
|
|
@@ -4070,9 +3869,6 @@ const serializeAws_json1_1ConfluencePageFieldMappingsList = (input, context) =>
|
|
|
4070
3869
|
return input
|
|
4071
3870
|
.filter((e) => e != null)
|
|
4072
3871
|
.map((entry) => {
|
|
4073
|
-
if (entry === null) {
|
|
4074
|
-
return null;
|
|
4075
|
-
}
|
|
4076
3872
|
return serializeAws_json1_1ConfluencePageToIndexFieldMapping(entry, context);
|
|
4077
3873
|
});
|
|
4078
3874
|
};
|
|
@@ -4102,9 +3898,6 @@ const serializeAws_json1_1ConfluenceSpaceFieldMappingsList = (input, context) =>
|
|
|
4102
3898
|
return input
|
|
4103
3899
|
.filter((e) => e != null)
|
|
4104
3900
|
.map((entry) => {
|
|
4105
|
-
if (entry === null) {
|
|
4106
|
-
return null;
|
|
4107
|
-
}
|
|
4108
3901
|
return serializeAws_json1_1ConfluenceSpaceToIndexFieldMapping(entry, context);
|
|
4109
3902
|
});
|
|
4110
3903
|
};
|
|
@@ -4112,9 +3905,6 @@ const serializeAws_json1_1ConfluenceSpaceList = (input, context) => {
|
|
|
4112
3905
|
return input
|
|
4113
3906
|
.filter((e) => e != null)
|
|
4114
3907
|
.map((entry) => {
|
|
4115
|
-
if (entry === null) {
|
|
4116
|
-
return null;
|
|
4117
|
-
}
|
|
4118
3908
|
return entry;
|
|
4119
3909
|
});
|
|
4120
3910
|
};
|
|
@@ -4349,9 +4139,6 @@ const serializeAws_json1_1DataSourceGroups = (input, context) => {
|
|
|
4349
4139
|
return input
|
|
4350
4140
|
.filter((e) => e != null)
|
|
4351
4141
|
.map((entry) => {
|
|
4352
|
-
if (entry === null) {
|
|
4353
|
-
return null;
|
|
4354
|
-
}
|
|
4355
4142
|
return serializeAws_json1_1DataSourceGroup(entry, context);
|
|
4356
4143
|
});
|
|
4357
4144
|
};
|
|
@@ -4359,9 +4146,6 @@ const serializeAws_json1_1DataSourceIdList = (input, context) => {
|
|
|
4359
4146
|
return input
|
|
4360
4147
|
.filter((e) => e != null)
|
|
4361
4148
|
.map((entry) => {
|
|
4362
|
-
if (entry === null) {
|
|
4363
|
-
return null;
|
|
4364
|
-
}
|
|
4365
4149
|
return entry;
|
|
4366
4150
|
});
|
|
4367
4151
|
};
|
|
@@ -4369,9 +4153,6 @@ const serializeAws_json1_1DataSourceInclusionsExclusionsStrings = (input, contex
|
|
|
4369
4153
|
return input
|
|
4370
4154
|
.filter((e) => e != null)
|
|
4371
4155
|
.map((entry) => {
|
|
4372
|
-
if (entry === null) {
|
|
4373
|
-
return null;
|
|
4374
|
-
}
|
|
4375
4156
|
return entry;
|
|
4376
4157
|
});
|
|
4377
4158
|
};
|
|
@@ -4392,9 +4173,6 @@ const serializeAws_json1_1DataSourceToIndexFieldMappingList = (input, context) =
|
|
|
4392
4173
|
return input
|
|
4393
4174
|
.filter((e) => e != null)
|
|
4394
4175
|
.map((entry) => {
|
|
4395
|
-
if (entry === null) {
|
|
4396
|
-
return null;
|
|
4397
|
-
}
|
|
4398
4176
|
return serializeAws_json1_1DataSourceToIndexFieldMapping(entry, context);
|
|
4399
4177
|
});
|
|
4400
4178
|
};
|
|
@@ -4521,9 +4299,6 @@ const serializeAws_json1_1DisassociateEntityList = (input, context) => {
|
|
|
4521
4299
|
return input
|
|
4522
4300
|
.filter((e) => e != null)
|
|
4523
4301
|
.map((entry) => {
|
|
4524
|
-
if (entry === null) {
|
|
4525
|
-
return null;
|
|
4526
|
-
}
|
|
4527
4302
|
return serializeAws_json1_1EntityConfiguration(entry, context);
|
|
4528
4303
|
});
|
|
4529
4304
|
};
|
|
@@ -4576,9 +4351,6 @@ const serializeAws_json1_1DocumentAttributeKeyList = (input, context) => {
|
|
|
4576
4351
|
return input
|
|
4577
4352
|
.filter((e) => e != null)
|
|
4578
4353
|
.map((entry) => {
|
|
4579
|
-
if (entry === null) {
|
|
4580
|
-
return null;
|
|
4581
|
-
}
|
|
4582
4354
|
return entry;
|
|
4583
4355
|
});
|
|
4584
4356
|
};
|
|
@@ -4586,9 +4358,6 @@ const serializeAws_json1_1DocumentAttributeList = (input, context) => {
|
|
|
4586
4358
|
return input
|
|
4587
4359
|
.filter((e) => e != null)
|
|
4588
4360
|
.map((entry) => {
|
|
4589
|
-
if (entry === null) {
|
|
4590
|
-
return null;
|
|
4591
|
-
}
|
|
4592
4361
|
return serializeAws_json1_1DocumentAttribute(entry, context);
|
|
4593
4362
|
});
|
|
4594
4363
|
};
|
|
@@ -4596,9 +4365,6 @@ const serializeAws_json1_1DocumentAttributeStringListValue = (input, context) =>
|
|
|
4596
4365
|
return input
|
|
4597
4366
|
.filter((e) => e != null)
|
|
4598
4367
|
.map((entry) => {
|
|
4599
|
-
if (entry === null) {
|
|
4600
|
-
return null;
|
|
4601
|
-
}
|
|
4602
4368
|
return entry;
|
|
4603
4369
|
});
|
|
4604
4370
|
};
|
|
@@ -4627,9 +4393,6 @@ const serializeAws_json1_1DocumentIdList = (input, context) => {
|
|
|
4627
4393
|
return input
|
|
4628
4394
|
.filter((e) => e != null)
|
|
4629
4395
|
.map((entry) => {
|
|
4630
|
-
if (entry === null) {
|
|
4631
|
-
return null;
|
|
4632
|
-
}
|
|
4633
4396
|
return entry;
|
|
4634
4397
|
});
|
|
4635
4398
|
};
|
|
@@ -4645,9 +4408,6 @@ const serializeAws_json1_1DocumentInfoList = (input, context) => {
|
|
|
4645
4408
|
return input
|
|
4646
4409
|
.filter((e) => e != null)
|
|
4647
4410
|
.map((entry) => {
|
|
4648
|
-
if (entry === null) {
|
|
4649
|
-
return null;
|
|
4650
|
-
}
|
|
4651
4411
|
return serializeAws_json1_1DocumentInfo(entry, context);
|
|
4652
4412
|
});
|
|
4653
4413
|
};
|
|
@@ -4655,9 +4415,6 @@ const serializeAws_json1_1DocumentList = (input, context) => {
|
|
|
4655
4415
|
return input
|
|
4656
4416
|
.filter((e) => e != null)
|
|
4657
4417
|
.map((entry) => {
|
|
4658
|
-
if (entry === null) {
|
|
4659
|
-
return null;
|
|
4660
|
-
}
|
|
4661
4418
|
return serializeAws_json1_1Document(entry, context);
|
|
4662
4419
|
});
|
|
4663
4420
|
};
|
|
@@ -4673,9 +4430,6 @@ const serializeAws_json1_1DocumentMetadataConfigurationList = (input, context) =
|
|
|
4673
4430
|
return input
|
|
4674
4431
|
.filter((e) => e != null)
|
|
4675
4432
|
.map((entry) => {
|
|
4676
|
-
if (entry === null) {
|
|
4677
|
-
return null;
|
|
4678
|
-
}
|
|
4679
4433
|
return serializeAws_json1_1DocumentMetadataConfiguration(entry, context);
|
|
4680
4434
|
});
|
|
4681
4435
|
};
|
|
@@ -4689,9 +4443,6 @@ const serializeAws_json1_1DocumentRelevanceOverrideConfigurationList = (input, c
|
|
|
4689
4443
|
return input
|
|
4690
4444
|
.filter((e) => e != null)
|
|
4691
4445
|
.map((entry) => {
|
|
4692
|
-
if (entry === null) {
|
|
4693
|
-
return null;
|
|
4694
|
-
}
|
|
4695
4446
|
return serializeAws_json1_1DocumentRelevanceConfiguration(entry, context);
|
|
4696
4447
|
});
|
|
4697
4448
|
};
|
|
@@ -4710,9 +4461,6 @@ const serializeAws_json1_1EntityFilter = (input, context) => {
|
|
|
4710
4461
|
return input
|
|
4711
4462
|
.filter((e) => e != null)
|
|
4712
4463
|
.map((entry) => {
|
|
4713
|
-
if (entry === null) {
|
|
4714
|
-
return null;
|
|
4715
|
-
}
|
|
4716
4464
|
return entry;
|
|
4717
4465
|
});
|
|
4718
4466
|
};
|
|
@@ -4720,9 +4468,6 @@ const serializeAws_json1_1EntityIdsList = (input, context) => {
|
|
|
4720
4468
|
return input
|
|
4721
4469
|
.filter((e) => e != null)
|
|
4722
4470
|
.map((entry) => {
|
|
4723
|
-
if (entry === null) {
|
|
4724
|
-
return null;
|
|
4725
|
-
}
|
|
4726
4471
|
return entry;
|
|
4727
4472
|
});
|
|
4728
4473
|
};
|
|
@@ -4736,9 +4481,6 @@ const serializeAws_json1_1EntityPersonaConfigurationList = (input, context) => {
|
|
|
4736
4481
|
return input
|
|
4737
4482
|
.filter((e) => e != null)
|
|
4738
4483
|
.map((entry) => {
|
|
4739
|
-
if (entry === null) {
|
|
4740
|
-
return null;
|
|
4741
|
-
}
|
|
4742
4484
|
return serializeAws_json1_1EntityPersonaConfiguration(entry, context);
|
|
4743
4485
|
});
|
|
4744
4486
|
};
|
|
@@ -4746,9 +4488,6 @@ const serializeAws_json1_1ExcludeMimeTypesList = (input, context) => {
|
|
|
4746
4488
|
return input
|
|
4747
4489
|
.filter((e) => e != null)
|
|
4748
4490
|
.map((entry) => {
|
|
4749
|
-
if (entry === null) {
|
|
4750
|
-
return null;
|
|
4751
|
-
}
|
|
4752
4491
|
return entry;
|
|
4753
4492
|
});
|
|
4754
4493
|
};
|
|
@@ -4756,9 +4495,6 @@ const serializeAws_json1_1ExcludeSharedDrivesList = (input, context) => {
|
|
|
4756
4495
|
return input
|
|
4757
4496
|
.filter((e) => e != null)
|
|
4758
4497
|
.map((entry) => {
|
|
4759
|
-
if (entry === null) {
|
|
4760
|
-
return null;
|
|
4761
|
-
}
|
|
4762
4498
|
return entry;
|
|
4763
4499
|
});
|
|
4764
4500
|
};
|
|
@@ -4766,9 +4502,6 @@ const serializeAws_json1_1ExcludeUserAccountsList = (input, context) => {
|
|
|
4766
4502
|
return input
|
|
4767
4503
|
.filter((e) => e != null)
|
|
4768
4504
|
.map((entry) => {
|
|
4769
|
-
if (entry === null) {
|
|
4770
|
-
return null;
|
|
4771
|
-
}
|
|
4772
4505
|
return entry;
|
|
4773
4506
|
});
|
|
4774
4507
|
};
|
|
@@ -4793,9 +4526,6 @@ const serializeAws_json1_1FacetList = (input, context) => {
|
|
|
4793
4526
|
return input
|
|
4794
4527
|
.filter((e) => e != null)
|
|
4795
4528
|
.map((entry) => {
|
|
4796
|
-
if (entry === null) {
|
|
4797
|
-
return null;
|
|
4798
|
-
}
|
|
4799
4529
|
return serializeAws_json1_1Facet(entry, context);
|
|
4800
4530
|
});
|
|
4801
4531
|
};
|
|
@@ -4803,9 +4533,6 @@ const serializeAws_json1_1FaqIdsList = (input, context) => {
|
|
|
4803
4533
|
return input
|
|
4804
4534
|
.filter((e) => e != null)
|
|
4805
4535
|
.map((entry) => {
|
|
4806
|
-
if (entry === null) {
|
|
4807
|
-
return null;
|
|
4808
|
-
}
|
|
4809
4536
|
return entry;
|
|
4810
4537
|
});
|
|
4811
4538
|
};
|
|
@@ -4813,9 +4540,6 @@ const serializeAws_json1_1FolderIdList = (input, context) => {
|
|
|
4813
4540
|
return input
|
|
4814
4541
|
.filter((e) => e != null)
|
|
4815
4542
|
.map((entry) => {
|
|
4816
|
-
if (entry === null) {
|
|
4817
|
-
return null;
|
|
4818
|
-
}
|
|
4819
4543
|
return entry;
|
|
4820
4544
|
});
|
|
4821
4545
|
};
|
|
@@ -4969,9 +4693,6 @@ const serializeAws_json1_1Groups = (input, context) => {
|
|
|
4969
4693
|
return input
|
|
4970
4694
|
.filter((e) => e != null)
|
|
4971
4695
|
.map((entry) => {
|
|
4972
|
-
if (entry === null) {
|
|
4973
|
-
return null;
|
|
4974
|
-
}
|
|
4975
4696
|
return entry;
|
|
4976
4697
|
});
|
|
4977
4698
|
};
|
|
@@ -4986,9 +4707,6 @@ const serializeAws_json1_1HierarchicalPrincipalList = (input, context) => {
|
|
|
4986
4707
|
return input
|
|
4987
4708
|
.filter((e) => e != null)
|
|
4988
4709
|
.map((entry) => {
|
|
4989
|
-
if (entry === null) {
|
|
4990
|
-
return null;
|
|
4991
|
-
}
|
|
4992
4710
|
return serializeAws_json1_1HierarchicalPrincipal(entry, context);
|
|
4993
4711
|
});
|
|
4994
4712
|
};
|
|
@@ -5014,9 +4732,6 @@ const serializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList = (inp
|
|
|
5014
4732
|
return input
|
|
5015
4733
|
.filter((e) => e != null)
|
|
5016
4734
|
.map((entry) => {
|
|
5017
|
-
if (entry === null) {
|
|
5018
|
-
return null;
|
|
5019
|
-
}
|
|
5020
4735
|
return serializeAws_json1_1InlineCustomDocumentEnrichmentConfiguration(entry, context);
|
|
5021
4736
|
});
|
|
5022
4737
|
};
|
|
@@ -5024,9 +4739,6 @@ const serializeAws_json1_1IssueSubEntityFilter = (input, context) => {
|
|
|
5024
4739
|
return input
|
|
5025
4740
|
.filter((e) => e != null)
|
|
5026
4741
|
.map((entry) => {
|
|
5027
|
-
if (entry === null) {
|
|
5028
|
-
return null;
|
|
5029
|
-
}
|
|
5030
4742
|
return entry;
|
|
5031
4743
|
});
|
|
5032
4744
|
};
|
|
@@ -5034,9 +4746,6 @@ const serializeAws_json1_1IssueType = (input, context) => {
|
|
|
5034
4746
|
return input
|
|
5035
4747
|
.filter((e) => e != null)
|
|
5036
4748
|
.map((entry) => {
|
|
5037
|
-
if (entry === null) {
|
|
5038
|
-
return null;
|
|
5039
|
-
}
|
|
5040
4749
|
return entry;
|
|
5041
4750
|
});
|
|
5042
4751
|
};
|
|
@@ -5081,9 +4790,6 @@ const serializeAws_json1_1JiraStatus = (input, context) => {
|
|
|
5081
4790
|
return input
|
|
5082
4791
|
.filter((e) => e != null)
|
|
5083
4792
|
.map((entry) => {
|
|
5084
|
-
if (entry === null) {
|
|
5085
|
-
return null;
|
|
5086
|
-
}
|
|
5087
4793
|
return entry;
|
|
5088
4794
|
});
|
|
5089
4795
|
};
|
|
@@ -5203,9 +4909,6 @@ const serializeAws_json1_1MemberGroups = (input, context) => {
|
|
|
5203
4909
|
return input
|
|
5204
4910
|
.filter((e) => e != null)
|
|
5205
4911
|
.map((entry) => {
|
|
5206
|
-
if (entry === null) {
|
|
5207
|
-
return null;
|
|
5208
|
-
}
|
|
5209
4912
|
return serializeAws_json1_1MemberGroup(entry, context);
|
|
5210
4913
|
});
|
|
5211
4914
|
};
|
|
@@ -5218,9 +4921,6 @@ const serializeAws_json1_1MemberUsers = (input, context) => {
|
|
|
5218
4921
|
return input
|
|
5219
4922
|
.filter((e) => e != null)
|
|
5220
4923
|
.map((entry) => {
|
|
5221
|
-
if (entry === null) {
|
|
5222
|
-
return null;
|
|
5223
|
-
}
|
|
5224
4924
|
return serializeAws_json1_1MemberUser(entry, context);
|
|
5225
4925
|
});
|
|
5226
4926
|
};
|
|
@@ -5247,9 +4947,6 @@ const serializeAws_json1_1OneDriveUserList = (input, context) => {
|
|
|
5247
4947
|
return input
|
|
5248
4948
|
.filter((e) => e != null)
|
|
5249
4949
|
.map((entry) => {
|
|
5250
|
-
if (entry === null) {
|
|
5251
|
-
return null;
|
|
5252
|
-
}
|
|
5253
4950
|
return entry;
|
|
5254
4951
|
});
|
|
5255
4952
|
};
|
|
@@ -5284,9 +4981,6 @@ const serializeAws_json1_1PrincipalList = (input, context) => {
|
|
|
5284
4981
|
return input
|
|
5285
4982
|
.filter((e) => e != null)
|
|
5286
4983
|
.map((entry) => {
|
|
5287
|
-
if (entry === null) {
|
|
5288
|
-
return null;
|
|
5289
|
-
}
|
|
5290
4984
|
return serializeAws_json1_1Principal(entry, context);
|
|
5291
4985
|
});
|
|
5292
4986
|
};
|
|
@@ -5294,9 +4988,6 @@ const serializeAws_json1_1PrivateChannelFilter = (input, context) => {
|
|
|
5294
4988
|
return input
|
|
5295
4989
|
.filter((e) => e != null)
|
|
5296
4990
|
.map((entry) => {
|
|
5297
|
-
if (entry === null) {
|
|
5298
|
-
return null;
|
|
5299
|
-
}
|
|
5300
4991
|
return entry;
|
|
5301
4992
|
});
|
|
5302
4993
|
};
|
|
@@ -5304,9 +4995,6 @@ const serializeAws_json1_1Project = (input, context) => {
|
|
|
5304
4995
|
return input
|
|
5305
4996
|
.filter((e) => e != null)
|
|
5306
4997
|
.map((entry) => {
|
|
5307
|
-
if (entry === null) {
|
|
5308
|
-
return null;
|
|
5309
|
-
}
|
|
5310
4998
|
return entry;
|
|
5311
4999
|
});
|
|
5312
5000
|
};
|
|
@@ -5321,9 +5009,6 @@ const serializeAws_json1_1PublicChannelFilter = (input, context) => {
|
|
|
5321
5009
|
return input
|
|
5322
5010
|
.filter((e) => e != null)
|
|
5323
5011
|
.map((entry) => {
|
|
5324
|
-
if (entry === null) {
|
|
5325
|
-
return null;
|
|
5326
|
-
}
|
|
5327
5012
|
return entry;
|
|
5328
5013
|
});
|
|
5329
5014
|
};
|
|
@@ -5413,9 +5098,6 @@ const serializeAws_json1_1RelevanceFeedbackList = (input, context) => {
|
|
|
5413
5098
|
return input
|
|
5414
5099
|
.filter((e) => e != null)
|
|
5415
5100
|
.map((entry) => {
|
|
5416
|
-
if (entry === null) {
|
|
5417
|
-
return null;
|
|
5418
|
-
}
|
|
5419
5101
|
return serializeAws_json1_1RelevanceFeedback(entry, context);
|
|
5420
5102
|
});
|
|
5421
5103
|
};
|
|
@@ -5423,9 +5105,6 @@ const serializeAws_json1_1RepositoryNames = (input, context) => {
|
|
|
5423
5105
|
return input
|
|
5424
5106
|
.filter((e) => e != null)
|
|
5425
5107
|
.map((entry) => {
|
|
5426
|
-
if (entry === null) {
|
|
5427
|
-
return null;
|
|
5428
|
-
}
|
|
5429
5108
|
return entry;
|
|
5430
5109
|
});
|
|
5431
5110
|
};
|
|
@@ -5477,9 +5156,6 @@ const serializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes = (input, cont
|
|
|
5477
5156
|
return input
|
|
5478
5157
|
.filter((e) => e != null)
|
|
5479
5158
|
.map((entry) => {
|
|
5480
|
-
if (entry === null) {
|
|
5481
|
-
return null;
|
|
5482
|
-
}
|
|
5483
5159
|
return entry;
|
|
5484
5160
|
});
|
|
5485
5161
|
};
|
|
@@ -5522,9 +5198,6 @@ const serializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList
|
|
|
5522
5198
|
return input
|
|
5523
5199
|
.filter((e) => e != null)
|
|
5524
5200
|
.map((entry) => {
|
|
5525
|
-
if (entry === null) {
|
|
5526
|
-
return null;
|
|
5527
|
-
}
|
|
5528
5201
|
return serializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfiguration(entry, context);
|
|
5529
5202
|
});
|
|
5530
5203
|
};
|
|
@@ -5545,9 +5218,6 @@ const serializeAws_json1_1SalesforceKnowledgeArticleStateList = (input, context)
|
|
|
5545
5218
|
return input
|
|
5546
5219
|
.filter((e) => e != null)
|
|
5547
5220
|
.map((entry) => {
|
|
5548
|
-
if (entry === null) {
|
|
5549
|
-
return null;
|
|
5550
|
-
}
|
|
5551
5221
|
return entry;
|
|
5552
5222
|
});
|
|
5553
5223
|
};
|
|
@@ -5582,9 +5252,6 @@ const serializeAws_json1_1SalesforceStandardObjectConfigurationList = (input, co
|
|
|
5582
5252
|
return input
|
|
5583
5253
|
.filter((e) => e != null)
|
|
5584
5254
|
.map((entry) => {
|
|
5585
|
-
if (entry === null) {
|
|
5586
|
-
return null;
|
|
5587
|
-
}
|
|
5588
5255
|
return serializeAws_json1_1SalesforceStandardObjectConfiguration(entry, context);
|
|
5589
5256
|
});
|
|
5590
5257
|
};
|
|
@@ -5600,9 +5267,6 @@ const serializeAws_json1_1SecurityGroupIdList = (input, context) => {
|
|
|
5600
5267
|
return input
|
|
5601
5268
|
.filter((e) => e != null)
|
|
5602
5269
|
.map((entry) => {
|
|
5603
|
-
if (entry === null) {
|
|
5604
|
-
return null;
|
|
5605
|
-
}
|
|
5606
5270
|
return entry;
|
|
5607
5271
|
});
|
|
5608
5272
|
};
|
|
@@ -5616,9 +5280,6 @@ const serializeAws_json1_1SeedUrlList = (input, context) => {
|
|
|
5616
5280
|
return input
|
|
5617
5281
|
.filter((e) => e != null)
|
|
5618
5282
|
.map((entry) => {
|
|
5619
|
-
if (entry === null) {
|
|
5620
|
-
return null;
|
|
5621
|
-
}
|
|
5622
5283
|
return entry;
|
|
5623
5284
|
});
|
|
5624
5285
|
};
|
|
@@ -5705,9 +5366,6 @@ const serializeAws_json1_1SharePointUrlList = (input, context) => {
|
|
|
5705
5366
|
return input
|
|
5706
5367
|
.filter((e) => e != null)
|
|
5707
5368
|
.map((entry) => {
|
|
5708
|
-
if (entry === null) {
|
|
5709
|
-
return null;
|
|
5710
|
-
}
|
|
5711
5369
|
return entry;
|
|
5712
5370
|
});
|
|
5713
5371
|
};
|
|
@@ -5720,9 +5378,6 @@ const serializeAws_json1_1SiteMapsList = (input, context) => {
|
|
|
5720
5378
|
return input
|
|
5721
5379
|
.filter((e) => e != null)
|
|
5722
5380
|
.map((entry) => {
|
|
5723
|
-
if (entry === null) {
|
|
5724
|
-
return null;
|
|
5725
|
-
}
|
|
5726
5381
|
return entry;
|
|
5727
5382
|
});
|
|
5728
5383
|
};
|
|
@@ -5762,9 +5417,6 @@ const serializeAws_json1_1SlackEntityList = (input, context) => {
|
|
|
5762
5417
|
return input
|
|
5763
5418
|
.filter((e) => e != null)
|
|
5764
5419
|
.map((entry) => {
|
|
5765
|
-
if (entry === null) {
|
|
5766
|
-
return null;
|
|
5767
|
-
}
|
|
5768
5420
|
return entry;
|
|
5769
5421
|
});
|
|
5770
5422
|
};
|
|
@@ -5804,9 +5456,6 @@ const serializeAws_json1_1StringList = (input, context) => {
|
|
|
5804
5456
|
return input
|
|
5805
5457
|
.filter((e) => e != null)
|
|
5806
5458
|
.map((entry) => {
|
|
5807
|
-
if (entry === null) {
|
|
5808
|
-
return null;
|
|
5809
|
-
}
|
|
5810
5459
|
return entry;
|
|
5811
5460
|
});
|
|
5812
5461
|
};
|
|
@@ -5826,9 +5475,6 @@ const serializeAws_json1_1SubnetIdList = (input, context) => {
|
|
|
5826
5475
|
return input
|
|
5827
5476
|
.filter((e) => e != null)
|
|
5828
5477
|
.map((entry) => {
|
|
5829
|
-
if (entry === null) {
|
|
5830
|
-
return null;
|
|
5831
|
-
}
|
|
5832
5478
|
return entry;
|
|
5833
5479
|
});
|
|
5834
5480
|
};
|
|
@@ -5842,9 +5488,6 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
5842
5488
|
return input
|
|
5843
5489
|
.filter((e) => e != null)
|
|
5844
5490
|
.map((entry) => {
|
|
5845
|
-
if (entry === null) {
|
|
5846
|
-
return null;
|
|
5847
|
-
}
|
|
5848
5491
|
return entry;
|
|
5849
5492
|
});
|
|
5850
5493
|
};
|
|
@@ -5852,9 +5495,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
5852
5495
|
return input
|
|
5853
5496
|
.filter((e) => e != null)
|
|
5854
5497
|
.map((entry) => {
|
|
5855
|
-
if (entry === null) {
|
|
5856
|
-
return null;
|
|
5857
|
-
}
|
|
5858
5498
|
return serializeAws_json1_1Tag(entry, context);
|
|
5859
5499
|
});
|
|
5860
5500
|
};
|
|
@@ -6020,9 +5660,6 @@ const serializeAws_json1_1UserTokenConfigurationList = (input, context) => {
|
|
|
6020
5660
|
return input
|
|
6021
5661
|
.filter((e) => e != null)
|
|
6022
5662
|
.map((entry) => {
|
|
6023
|
-
if (entry === null) {
|
|
6024
|
-
return null;
|
|
6025
|
-
}
|
|
6026
5663
|
return serializeAws_json1_1UserTokenConfiguration(entry, context);
|
|
6027
5664
|
});
|
|
6028
5665
|
};
|