@aws-sdk/client-kendra 3.54.0 → 3.56.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/KendraClient.js +13 -13
- package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +3 -3
- package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteDocumentCommand.js +3 -3
- package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +3 -3
- package/dist-cjs/commands/BatchPutDocumentCommand.js +3 -3
- package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +3 -3
- package/dist-cjs/commands/CreateDataSourceCommand.js +3 -3
- package/dist-cjs/commands/CreateExperienceCommand.js +3 -3
- package/dist-cjs/commands/CreateFaqCommand.js +3 -3
- package/dist-cjs/commands/CreateIndexCommand.js +3 -3
- package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/CreateThesaurusCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataSourceCommand.js +3 -3
- package/dist-cjs/commands/DeleteExperienceCommand.js +3 -3
- package/dist-cjs/commands/DeleteFaqCommand.js +3 -3
- package/dist-cjs/commands/DeleteIndexCommand.js +3 -3
- package/dist-cjs/commands/DeletePrincipalMappingCommand.js +3 -3
- package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/DeleteThesaurusCommand.js +3 -3
- package/dist-cjs/commands/DescribeDataSourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeExperienceCommand.js +3 -3
- package/dist-cjs/commands/DescribeFaqCommand.js +3 -3
- package/dist-cjs/commands/DescribeIndexCommand.js +3 -3
- package/dist-cjs/commands/DescribePrincipalMappingCommand.js +3 -3
- package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeThesaurusCommand.js +3 -3
- package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +3 -3
- package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +3 -3
- package/dist-cjs/commands/GetQuerySuggestionsCommand.js +3 -3
- package/dist-cjs/commands/GetSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +3 -3
- package/dist-cjs/commands/ListDataSourcesCommand.js +3 -3
- package/dist-cjs/commands/ListEntityPersonasCommand.js +3 -3
- package/dist-cjs/commands/ListExperienceEntitiesCommand.js +3 -3
- package/dist-cjs/commands/ListExperiencesCommand.js +3 -3
- package/dist-cjs/commands/ListFaqsCommand.js +3 -3
- package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +3 -3
- package/dist-cjs/commands/ListIndicesCommand.js +3 -3
- package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListThesauriCommand.js +3 -3
- package/dist-cjs/commands/PutPrincipalMappingCommand.js +3 -3
- package/dist-cjs/commands/QueryCommand.js +3 -3
- package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +3 -3
- package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +3 -3
- package/dist-cjs/commands/SubmitFeedbackCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDataSourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateExperienceCommand.js +3 -3
- package/dist-cjs/commands/UpdateIndexCommand.js +3 -3
- package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateThesaurusCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +18 -4
- package/dist-cjs/protocols/Aws_json1_1.js +592 -447
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Kendra.js +55 -55
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/pagination/GetSnapshotsPaginator.js +4 -4
- package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +4 -4
- package/dist-es/pagination/ListDataSourcesPaginator.js +4 -4
- package/dist-es/pagination/ListEntityPersonasPaginator.js +4 -4
- package/dist-es/pagination/ListExperienceEntitiesPaginator.js +4 -4
- package/dist-es/pagination/ListExperiencesPaginator.js +4 -4
- package/dist-es/pagination/ListIndicesPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +130 -1
- package/dist-types/models/models_0.d.ts +359 -213
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +44 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -606,7 +606,7 @@ const deserializeAws_json1_1AssociateEntitiesToExperienceCommandError = async (o
|
|
|
606
606
|
$fault: "client",
|
|
607
607
|
$metadata: deserializeMetadata(output),
|
|
608
608
|
});
|
|
609
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
609
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
610
610
|
}
|
|
611
611
|
};
|
|
612
612
|
const deserializeAws_json1_1AssociatePersonasToEntitiesCommand = async (output, context) => {
|
|
@@ -657,7 +657,7 @@ const deserializeAws_json1_1AssociatePersonasToEntitiesCommandError = async (out
|
|
|
657
657
|
$fault: "client",
|
|
658
658
|
$metadata: deserializeMetadata(output),
|
|
659
659
|
});
|
|
660
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
660
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
661
661
|
}
|
|
662
662
|
};
|
|
663
663
|
const deserializeAws_json1_1BatchDeleteDocumentCommand = async (output, context) => {
|
|
@@ -708,7 +708,7 @@ const deserializeAws_json1_1BatchDeleteDocumentCommandError = async (output, con
|
|
|
708
708
|
$fault: "client",
|
|
709
709
|
$metadata: deserializeMetadata(output),
|
|
710
710
|
});
|
|
711
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
711
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
712
712
|
}
|
|
713
713
|
};
|
|
714
714
|
const deserializeAws_json1_1BatchGetDocumentStatusCommand = async (output, context) => {
|
|
@@ -759,7 +759,7 @@ const deserializeAws_json1_1BatchGetDocumentStatusCommandError = async (output,
|
|
|
759
759
|
$fault: "client",
|
|
760
760
|
$metadata: deserializeMetadata(output),
|
|
761
761
|
});
|
|
762
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
762
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
763
763
|
}
|
|
764
764
|
};
|
|
765
765
|
const deserializeAws_json1_1BatchPutDocumentCommand = async (output, context) => {
|
|
@@ -813,7 +813,7 @@ const deserializeAws_json1_1BatchPutDocumentCommandError = async (output, contex
|
|
|
813
813
|
$fault: "client",
|
|
814
814
|
$metadata: deserializeMetadata(output),
|
|
815
815
|
});
|
|
816
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
816
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
817
817
|
}
|
|
818
818
|
};
|
|
819
819
|
const deserializeAws_json1_1ClearQuerySuggestionsCommand = async (output, context) => {
|
|
@@ -861,7 +861,7 @@ const deserializeAws_json1_1ClearQuerySuggestionsCommandError = async (output, c
|
|
|
861
861
|
$fault: "client",
|
|
862
862
|
$metadata: deserializeMetadata(output),
|
|
863
863
|
});
|
|
864
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
864
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
865
865
|
}
|
|
866
866
|
};
|
|
867
867
|
const deserializeAws_json1_1CreateDataSourceCommand = async (output, context) => {
|
|
@@ -918,7 +918,7 @@ const deserializeAws_json1_1CreateDataSourceCommandError = async (output, contex
|
|
|
918
918
|
$fault: "client",
|
|
919
919
|
$metadata: deserializeMetadata(output),
|
|
920
920
|
});
|
|
921
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
921
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
922
922
|
}
|
|
923
923
|
};
|
|
924
924
|
const deserializeAws_json1_1CreateExperienceCommand = async (output, context) => {
|
|
@@ -972,7 +972,7 @@ const deserializeAws_json1_1CreateExperienceCommandError = async (output, contex
|
|
|
972
972
|
$fault: "client",
|
|
973
973
|
$metadata: deserializeMetadata(output),
|
|
974
974
|
});
|
|
975
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
975
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
976
976
|
}
|
|
977
977
|
};
|
|
978
978
|
const deserializeAws_json1_1CreateFaqCommand = async (output, context) => {
|
|
@@ -1026,7 +1026,7 @@ const deserializeAws_json1_1CreateFaqCommandError = async (output, context) => {
|
|
|
1026
1026
|
$fault: "client",
|
|
1027
1027
|
$metadata: deserializeMetadata(output),
|
|
1028
1028
|
});
|
|
1029
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1029
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1030
1030
|
}
|
|
1031
1031
|
};
|
|
1032
1032
|
const deserializeAws_json1_1CreateIndexCommand = async (output, context) => {
|
|
@@ -1080,7 +1080,7 @@ const deserializeAws_json1_1CreateIndexCommandError = async (output, context) =>
|
|
|
1080
1080
|
$fault: "client",
|
|
1081
1081
|
$metadata: deserializeMetadata(output),
|
|
1082
1082
|
});
|
|
1083
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1083
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1084
1084
|
}
|
|
1085
1085
|
};
|
|
1086
1086
|
const deserializeAws_json1_1CreateQuerySuggestionsBlockListCommand = async (output, context) => {
|
|
@@ -1134,7 +1134,7 @@ const deserializeAws_json1_1CreateQuerySuggestionsBlockListCommandError = async
|
|
|
1134
1134
|
$fault: "client",
|
|
1135
1135
|
$metadata: deserializeMetadata(output),
|
|
1136
1136
|
});
|
|
1137
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1137
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1138
1138
|
}
|
|
1139
1139
|
};
|
|
1140
1140
|
const deserializeAws_json1_1CreateThesaurusCommand = async (output, context) => {
|
|
@@ -1188,7 +1188,7 @@ const deserializeAws_json1_1CreateThesaurusCommandError = async (output, context
|
|
|
1188
1188
|
$fault: "client",
|
|
1189
1189
|
$metadata: deserializeMetadata(output),
|
|
1190
1190
|
});
|
|
1191
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1191
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1192
1192
|
}
|
|
1193
1193
|
};
|
|
1194
1194
|
const deserializeAws_json1_1DeleteDataSourceCommand = async (output, context) => {
|
|
@@ -1236,7 +1236,7 @@ const deserializeAws_json1_1DeleteDataSourceCommandError = async (output, contex
|
|
|
1236
1236
|
$fault: "client",
|
|
1237
1237
|
$metadata: deserializeMetadata(output),
|
|
1238
1238
|
});
|
|
1239
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1239
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1240
1240
|
}
|
|
1241
1241
|
};
|
|
1242
1242
|
const deserializeAws_json1_1DeleteExperienceCommand = async (output, context) => {
|
|
@@ -1287,7 +1287,7 @@ const deserializeAws_json1_1DeleteExperienceCommandError = async (output, contex
|
|
|
1287
1287
|
$fault: "client",
|
|
1288
1288
|
$metadata: deserializeMetadata(output),
|
|
1289
1289
|
});
|
|
1290
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1290
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1291
1291
|
}
|
|
1292
1292
|
};
|
|
1293
1293
|
const deserializeAws_json1_1DeleteFaqCommand = async (output, context) => {
|
|
@@ -1335,7 +1335,7 @@ const deserializeAws_json1_1DeleteFaqCommandError = async (output, context) => {
|
|
|
1335
1335
|
$fault: "client",
|
|
1336
1336
|
$metadata: deserializeMetadata(output),
|
|
1337
1337
|
});
|
|
1338
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1338
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1339
1339
|
}
|
|
1340
1340
|
};
|
|
1341
1341
|
const deserializeAws_json1_1DeleteIndexCommand = async (output, context) => {
|
|
@@ -1383,7 +1383,7 @@ const deserializeAws_json1_1DeleteIndexCommandError = async (output, context) =>
|
|
|
1383
1383
|
$fault: "client",
|
|
1384
1384
|
$metadata: deserializeMetadata(output),
|
|
1385
1385
|
});
|
|
1386
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1386
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1387
1387
|
}
|
|
1388
1388
|
};
|
|
1389
1389
|
const deserializeAws_json1_1DeletePrincipalMappingCommand = async (output, context) => {
|
|
@@ -1431,7 +1431,7 @@ const deserializeAws_json1_1DeletePrincipalMappingCommandError = async (output,
|
|
|
1431
1431
|
$fault: "client",
|
|
1432
1432
|
$metadata: deserializeMetadata(output),
|
|
1433
1433
|
});
|
|
1434
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1434
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1435
1435
|
}
|
|
1436
1436
|
};
|
|
1437
1437
|
const deserializeAws_json1_1DeleteQuerySuggestionsBlockListCommand = async (output, context) => {
|
|
@@ -1479,7 +1479,7 @@ const deserializeAws_json1_1DeleteQuerySuggestionsBlockListCommandError = async
|
|
|
1479
1479
|
$fault: "client",
|
|
1480
1480
|
$metadata: deserializeMetadata(output),
|
|
1481
1481
|
});
|
|
1482
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1482
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1483
1483
|
}
|
|
1484
1484
|
};
|
|
1485
1485
|
const deserializeAws_json1_1DeleteThesaurusCommand = async (output, context) => {
|
|
@@ -1527,7 +1527,7 @@ const deserializeAws_json1_1DeleteThesaurusCommandError = async (output, context
|
|
|
1527
1527
|
$fault: "client",
|
|
1528
1528
|
$metadata: deserializeMetadata(output),
|
|
1529
1529
|
});
|
|
1530
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1530
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1531
1531
|
}
|
|
1532
1532
|
};
|
|
1533
1533
|
const deserializeAws_json1_1DescribeDataSourceCommand = async (output, context) => {
|
|
@@ -1575,7 +1575,7 @@ const deserializeAws_json1_1DescribeDataSourceCommandError = async (output, cont
|
|
|
1575
1575
|
$fault: "client",
|
|
1576
1576
|
$metadata: deserializeMetadata(output),
|
|
1577
1577
|
});
|
|
1578
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1578
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1579
1579
|
}
|
|
1580
1580
|
};
|
|
1581
1581
|
const deserializeAws_json1_1DescribeExperienceCommand = async (output, context) => {
|
|
@@ -1623,7 +1623,7 @@ const deserializeAws_json1_1DescribeExperienceCommandError = async (output, cont
|
|
|
1623
1623
|
$fault: "client",
|
|
1624
1624
|
$metadata: deserializeMetadata(output),
|
|
1625
1625
|
});
|
|
1626
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1626
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1627
1627
|
}
|
|
1628
1628
|
};
|
|
1629
1629
|
const deserializeAws_json1_1DescribeFaqCommand = async (output, context) => {
|
|
@@ -1671,7 +1671,7 @@ const deserializeAws_json1_1DescribeFaqCommandError = async (output, context) =>
|
|
|
1671
1671
|
$fault: "client",
|
|
1672
1672
|
$metadata: deserializeMetadata(output),
|
|
1673
1673
|
});
|
|
1674
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1674
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1675
1675
|
}
|
|
1676
1676
|
};
|
|
1677
1677
|
const deserializeAws_json1_1DescribeIndexCommand = async (output, context) => {
|
|
@@ -1719,7 +1719,7 @@ const deserializeAws_json1_1DescribeIndexCommandError = async (output, context)
|
|
|
1719
1719
|
$fault: "client",
|
|
1720
1720
|
$metadata: deserializeMetadata(output),
|
|
1721
1721
|
});
|
|
1722
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1722
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1723
1723
|
}
|
|
1724
1724
|
};
|
|
1725
1725
|
const deserializeAws_json1_1DescribePrincipalMappingCommand = async (output, context) => {
|
|
@@ -1767,7 +1767,7 @@ const deserializeAws_json1_1DescribePrincipalMappingCommandError = async (output
|
|
|
1767
1767
|
$fault: "client",
|
|
1768
1768
|
$metadata: deserializeMetadata(output),
|
|
1769
1769
|
});
|
|
1770
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1770
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1771
1771
|
}
|
|
1772
1772
|
};
|
|
1773
1773
|
const deserializeAws_json1_1DescribeQuerySuggestionsBlockListCommand = async (output, context) => {
|
|
@@ -1815,7 +1815,7 @@ const deserializeAws_json1_1DescribeQuerySuggestionsBlockListCommandError = asyn
|
|
|
1815
1815
|
$fault: "client",
|
|
1816
1816
|
$metadata: deserializeMetadata(output),
|
|
1817
1817
|
});
|
|
1818
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1818
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1819
1819
|
}
|
|
1820
1820
|
};
|
|
1821
1821
|
const deserializeAws_json1_1DescribeQuerySuggestionsConfigCommand = async (output, context) => {
|
|
@@ -1863,7 +1863,7 @@ const deserializeAws_json1_1DescribeQuerySuggestionsConfigCommandError = async (
|
|
|
1863
1863
|
$fault: "client",
|
|
1864
1864
|
$metadata: deserializeMetadata(output),
|
|
1865
1865
|
});
|
|
1866
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1866
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1867
1867
|
}
|
|
1868
1868
|
};
|
|
1869
1869
|
const deserializeAws_json1_1DescribeThesaurusCommand = async (output, context) => {
|
|
@@ -1911,7 +1911,7 @@ const deserializeAws_json1_1DescribeThesaurusCommandError = async (output, conte
|
|
|
1911
1911
|
$fault: "client",
|
|
1912
1912
|
$metadata: deserializeMetadata(output),
|
|
1913
1913
|
});
|
|
1914
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1914
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1915
1915
|
}
|
|
1916
1916
|
};
|
|
1917
1917
|
const deserializeAws_json1_1DisassociateEntitiesFromExperienceCommand = async (output, context) => {
|
|
@@ -1959,7 +1959,7 @@ const deserializeAws_json1_1DisassociateEntitiesFromExperienceCommandError = asy
|
|
|
1959
1959
|
$fault: "client",
|
|
1960
1960
|
$metadata: deserializeMetadata(output),
|
|
1961
1961
|
});
|
|
1962
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1962
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1963
1963
|
}
|
|
1964
1964
|
};
|
|
1965
1965
|
const deserializeAws_json1_1DisassociatePersonasFromEntitiesCommand = async (output, context) => {
|
|
@@ -2007,7 +2007,7 @@ const deserializeAws_json1_1DisassociatePersonasFromEntitiesCommandError = async
|
|
|
2007
2007
|
$fault: "client",
|
|
2008
2008
|
$metadata: deserializeMetadata(output),
|
|
2009
2009
|
});
|
|
2010
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2010
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2011
2011
|
}
|
|
2012
2012
|
};
|
|
2013
2013
|
const deserializeAws_json1_1GetQuerySuggestionsCommand = async (output, context) => {
|
|
@@ -2061,7 +2061,7 @@ const deserializeAws_json1_1GetQuerySuggestionsCommandError = async (output, con
|
|
|
2061
2061
|
$fault: "client",
|
|
2062
2062
|
$metadata: deserializeMetadata(output),
|
|
2063
2063
|
});
|
|
2064
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2064
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2065
2065
|
}
|
|
2066
2066
|
};
|
|
2067
2067
|
const deserializeAws_json1_1GetSnapshotsCommand = async (output, context) => {
|
|
@@ -2106,7 +2106,7 @@ const deserializeAws_json1_1GetSnapshotsCommandError = async (output, context) =
|
|
|
2106
2106
|
$fault: "client",
|
|
2107
2107
|
$metadata: deserializeMetadata(output),
|
|
2108
2108
|
});
|
|
2109
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2109
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2110
2110
|
}
|
|
2111
2111
|
};
|
|
2112
2112
|
const deserializeAws_json1_1ListDataSourcesCommand = async (output, context) => {
|
|
@@ -2154,7 +2154,7 @@ const deserializeAws_json1_1ListDataSourcesCommandError = async (output, context
|
|
|
2154
2154
|
$fault: "client",
|
|
2155
2155
|
$metadata: deserializeMetadata(output),
|
|
2156
2156
|
});
|
|
2157
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2157
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2158
2158
|
}
|
|
2159
2159
|
};
|
|
2160
2160
|
const deserializeAws_json1_1ListDataSourceSyncJobsCommand = async (output, context) => {
|
|
@@ -2205,7 +2205,7 @@ const deserializeAws_json1_1ListDataSourceSyncJobsCommandError = async (output,
|
|
|
2205
2205
|
$fault: "client",
|
|
2206
2206
|
$metadata: deserializeMetadata(output),
|
|
2207
2207
|
});
|
|
2208
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2208
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2209
2209
|
}
|
|
2210
2210
|
};
|
|
2211
2211
|
const deserializeAws_json1_1ListEntityPersonasCommand = async (output, context) => {
|
|
@@ -2253,7 +2253,7 @@ const deserializeAws_json1_1ListEntityPersonasCommandError = async (output, cont
|
|
|
2253
2253
|
$fault: "client",
|
|
2254
2254
|
$metadata: deserializeMetadata(output),
|
|
2255
2255
|
});
|
|
2256
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2256
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2257
2257
|
}
|
|
2258
2258
|
};
|
|
2259
2259
|
const deserializeAws_json1_1ListExperienceEntitiesCommand = async (output, context) => {
|
|
@@ -2301,7 +2301,7 @@ const deserializeAws_json1_1ListExperienceEntitiesCommandError = async (output,
|
|
|
2301
2301
|
$fault: "client",
|
|
2302
2302
|
$metadata: deserializeMetadata(output),
|
|
2303
2303
|
});
|
|
2304
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2304
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2305
2305
|
}
|
|
2306
2306
|
};
|
|
2307
2307
|
const deserializeAws_json1_1ListExperiencesCommand = async (output, context) => {
|
|
@@ -2349,7 +2349,7 @@ const deserializeAws_json1_1ListExperiencesCommandError = async (output, context
|
|
|
2349
2349
|
$fault: "client",
|
|
2350
2350
|
$metadata: deserializeMetadata(output),
|
|
2351
2351
|
});
|
|
2352
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2352
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2353
2353
|
}
|
|
2354
2354
|
};
|
|
2355
2355
|
const deserializeAws_json1_1ListFaqsCommand = async (output, context) => {
|
|
@@ -2397,7 +2397,7 @@ const deserializeAws_json1_1ListFaqsCommandError = async (output, context) => {
|
|
|
2397
2397
|
$fault: "client",
|
|
2398
2398
|
$metadata: deserializeMetadata(output),
|
|
2399
2399
|
});
|
|
2400
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2400
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2401
2401
|
}
|
|
2402
2402
|
};
|
|
2403
2403
|
const deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommand = async (output, context) => {
|
|
@@ -2448,7 +2448,7 @@ const deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommandError = async (o
|
|
|
2448
2448
|
$fault: "client",
|
|
2449
2449
|
$metadata: deserializeMetadata(output),
|
|
2450
2450
|
});
|
|
2451
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2451
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2452
2452
|
}
|
|
2453
2453
|
};
|
|
2454
2454
|
const deserializeAws_json1_1ListIndicesCommand = async (output, context) => {
|
|
@@ -2493,7 +2493,7 @@ const deserializeAws_json1_1ListIndicesCommandError = async (output, context) =>
|
|
|
2493
2493
|
$fault: "client",
|
|
2494
2494
|
$metadata: deserializeMetadata(output),
|
|
2495
2495
|
});
|
|
2496
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2496
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2497
2497
|
}
|
|
2498
2498
|
};
|
|
2499
2499
|
const deserializeAws_json1_1ListQuerySuggestionsBlockListsCommand = async (output, context) => {
|
|
@@ -2541,7 +2541,7 @@ const deserializeAws_json1_1ListQuerySuggestionsBlockListsCommandError = async (
|
|
|
2541
2541
|
$fault: "client",
|
|
2542
2542
|
$metadata: deserializeMetadata(output),
|
|
2543
2543
|
});
|
|
2544
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2544
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2545
2545
|
}
|
|
2546
2546
|
};
|
|
2547
2547
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2589,7 +2589,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2589
2589
|
$fault: "client",
|
|
2590
2590
|
$metadata: deserializeMetadata(output),
|
|
2591
2591
|
});
|
|
2592
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2592
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2593
2593
|
}
|
|
2594
2594
|
};
|
|
2595
2595
|
const deserializeAws_json1_1ListThesauriCommand = async (output, context) => {
|
|
@@ -2637,7 +2637,7 @@ const deserializeAws_json1_1ListThesauriCommandError = async (output, context) =
|
|
|
2637
2637
|
$fault: "client",
|
|
2638
2638
|
$metadata: deserializeMetadata(output),
|
|
2639
2639
|
});
|
|
2640
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2640
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2641
2641
|
}
|
|
2642
2642
|
};
|
|
2643
2643
|
const deserializeAws_json1_1PutPrincipalMappingCommand = async (output, context) => {
|
|
@@ -2688,7 +2688,7 @@ const deserializeAws_json1_1PutPrincipalMappingCommandError = async (output, con
|
|
|
2688
2688
|
$fault: "client",
|
|
2689
2689
|
$metadata: deserializeMetadata(output),
|
|
2690
2690
|
});
|
|
2691
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2691
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2692
2692
|
}
|
|
2693
2693
|
};
|
|
2694
2694
|
const deserializeAws_json1_1QueryCommand = async (output, context) => {
|
|
@@ -2742,7 +2742,7 @@ const deserializeAws_json1_1QueryCommandError = async (output, context) => {
|
|
|
2742
2742
|
$fault: "client",
|
|
2743
2743
|
$metadata: deserializeMetadata(output),
|
|
2744
2744
|
});
|
|
2745
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2745
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2746
2746
|
}
|
|
2747
2747
|
};
|
|
2748
2748
|
const deserializeAws_json1_1StartDataSourceSyncJobCommand = async (output, context) => {
|
|
@@ -2796,7 +2796,7 @@ const deserializeAws_json1_1StartDataSourceSyncJobCommandError = async (output,
|
|
|
2796
2796
|
$fault: "client",
|
|
2797
2797
|
$metadata: deserializeMetadata(output),
|
|
2798
2798
|
});
|
|
2799
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2799
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2800
2800
|
}
|
|
2801
2801
|
};
|
|
2802
2802
|
const deserializeAws_json1_1StopDataSourceSyncJobCommand = async (output, context) => {
|
|
@@ -2841,7 +2841,7 @@ const deserializeAws_json1_1StopDataSourceSyncJobCommandError = async (output, c
|
|
|
2841
2841
|
$fault: "client",
|
|
2842
2842
|
$metadata: deserializeMetadata(output),
|
|
2843
2843
|
});
|
|
2844
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2844
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2845
2845
|
}
|
|
2846
2846
|
};
|
|
2847
2847
|
const deserializeAws_json1_1SubmitFeedbackCommand = async (output, context) => {
|
|
@@ -2889,7 +2889,7 @@ const deserializeAws_json1_1SubmitFeedbackCommandError = async (output, context)
|
|
|
2889
2889
|
$fault: "client",
|
|
2890
2890
|
$metadata: deserializeMetadata(output),
|
|
2891
2891
|
});
|
|
2892
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2892
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2893
2893
|
}
|
|
2894
2894
|
};
|
|
2895
2895
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -2937,7 +2937,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2937
2937
|
$fault: "client",
|
|
2938
2938
|
$metadata: deserializeMetadata(output),
|
|
2939
2939
|
});
|
|
2940
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2940
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2941
2941
|
}
|
|
2942
2942
|
};
|
|
2943
2943
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -2985,7 +2985,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2985
2985
|
$fault: "client",
|
|
2986
2986
|
$metadata: deserializeMetadata(output),
|
|
2987
2987
|
});
|
|
2988
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2988
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2989
2989
|
}
|
|
2990
2990
|
};
|
|
2991
2991
|
const deserializeAws_json1_1UpdateDataSourceCommand = async (output, context) => {
|
|
@@ -3033,7 +3033,7 @@ const deserializeAws_json1_1UpdateDataSourceCommandError = async (output, contex
|
|
|
3033
3033
|
$fault: "client",
|
|
3034
3034
|
$metadata: deserializeMetadata(output),
|
|
3035
3035
|
});
|
|
3036
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3036
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3037
3037
|
}
|
|
3038
3038
|
};
|
|
3039
3039
|
const deserializeAws_json1_1UpdateExperienceCommand = async (output, context) => {
|
|
@@ -3081,7 +3081,7 @@ const deserializeAws_json1_1UpdateExperienceCommandError = async (output, contex
|
|
|
3081
3081
|
$fault: "client",
|
|
3082
3082
|
$metadata: deserializeMetadata(output),
|
|
3083
3083
|
});
|
|
3084
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3084
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3085
3085
|
}
|
|
3086
3086
|
};
|
|
3087
3087
|
const deserializeAws_json1_1UpdateIndexCommand = async (output, context) => {
|
|
@@ -3132,7 +3132,7 @@ const deserializeAws_json1_1UpdateIndexCommandError = async (output, context) =>
|
|
|
3132
3132
|
$fault: "client",
|
|
3133
3133
|
$metadata: deserializeMetadata(output),
|
|
3134
3134
|
});
|
|
3135
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3135
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3136
3136
|
}
|
|
3137
3137
|
};
|
|
3138
3138
|
const deserializeAws_json1_1UpdateQuerySuggestionsBlockListCommand = async (output, context) => {
|
|
@@ -3180,7 +3180,7 @@ const deserializeAws_json1_1UpdateQuerySuggestionsBlockListCommandError = async
|
|
|
3180
3180
|
$fault: "client",
|
|
3181
3181
|
$metadata: deserializeMetadata(output),
|
|
3182
3182
|
});
|
|
3183
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3183
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3184
3184
|
}
|
|
3185
3185
|
};
|
|
3186
3186
|
const deserializeAws_json1_1UpdateQuerySuggestionsConfigCommand = async (output, context) => {
|
|
@@ -3228,7 +3228,7 @@ const deserializeAws_json1_1UpdateQuerySuggestionsConfigCommandError = async (ou
|
|
|
3228
3228
|
$fault: "client",
|
|
3229
3229
|
$metadata: deserializeMetadata(output),
|
|
3230
3230
|
});
|
|
3231
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3231
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3232
3232
|
}
|
|
3233
3233
|
};
|
|
3234
3234
|
const deserializeAws_json1_1UpdateThesaurusCommand = async (output, context) => {
|
|
@@ -3276,7 +3276,7 @@ const deserializeAws_json1_1UpdateThesaurusCommandError = async (output, context
|
|
|
3276
3276
|
$fault: "client",
|
|
3277
3277
|
$metadata: deserializeMetadata(output),
|
|
3278
3278
|
});
|
|
3279
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3279
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3280
3280
|
}
|
|
3281
3281
|
};
|
|
3282
3282
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -3286,7 +3286,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
|
|
|
3286
3286
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3287
3287
|
...deserialized,
|
|
3288
3288
|
});
|
|
3289
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3289
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3290
3290
|
};
|
|
3291
3291
|
const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
3292
3292
|
const body = parsedOutput.body;
|
|
@@ -3295,7 +3295,7 @@ const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, con
|
|
|
3295
3295
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3296
3296
|
...deserialized,
|
|
3297
3297
|
});
|
|
3298
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3298
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3299
3299
|
};
|
|
3300
3300
|
const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
3301
3301
|
const body = parsedOutput.body;
|
|
@@ -3304,7 +3304,7 @@ const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutpu
|
|
|
3304
3304
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3305
3305
|
...deserialized,
|
|
3306
3306
|
});
|
|
3307
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3307
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3308
3308
|
};
|
|
3309
3309
|
const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
3310
3310
|
const body = parsedOutput.body;
|
|
@@ -3313,7 +3313,7 @@ const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutpu
|
|
|
3313
3313
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3314
3314
|
...deserialized,
|
|
3315
3315
|
});
|
|
3316
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3316
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3317
3317
|
};
|
|
3318
3318
|
const deserializeAws_json1_1ResourceAlreadyExistExceptionResponse = async (parsedOutput, context) => {
|
|
3319
3319
|
const body = parsedOutput.body;
|
|
@@ -3322,7 +3322,7 @@ const deserializeAws_json1_1ResourceAlreadyExistExceptionResponse = async (parse
|
|
|
3322
3322
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3323
3323
|
...deserialized,
|
|
3324
3324
|
});
|
|
3325
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3325
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3326
3326
|
};
|
|
3327
3327
|
const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
|
|
3328
3328
|
const body = parsedOutput.body;
|
|
@@ -3331,7 +3331,7 @@ const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput
|
|
|
3331
3331
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3332
3332
|
...deserialized,
|
|
3333
3333
|
});
|
|
3334
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3334
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3335
3335
|
};
|
|
3336
3336
|
const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3337
3337
|
const body = parsedOutput.body;
|
|
@@ -3340,7 +3340,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
3340
3340
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3341
3341
|
...deserialized,
|
|
3342
3342
|
});
|
|
3343
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3343
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3344
3344
|
};
|
|
3345
3345
|
const deserializeAws_json1_1ResourceUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
3346
3346
|
const body = parsedOutput.body;
|
|
@@ -3349,7 +3349,7 @@ const deserializeAws_json1_1ResourceUnavailableExceptionResponse = async (parsed
|
|
|
3349
3349
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3350
3350
|
...deserialized,
|
|
3351
3351
|
});
|
|
3352
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3352
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3353
3353
|
};
|
|
3354
3354
|
const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3355
3355
|
const body = parsedOutput.body;
|
|
@@ -3358,7 +3358,7 @@ const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parse
|
|
|
3358
3358
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3359
3359
|
...deserialized,
|
|
3360
3360
|
});
|
|
3361
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3361
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3362
3362
|
};
|
|
3363
3363
|
const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
3364
3364
|
const body = parsedOutput.body;
|
|
@@ -3367,7 +3367,7 @@ const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, c
|
|
|
3367
3367
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3368
3368
|
...deserialized,
|
|
3369
3369
|
});
|
|
3370
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3370
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3371
3371
|
};
|
|
3372
3372
|
const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
3373
3373
|
const body = parsedOutput.body;
|
|
@@ -3376,7 +3376,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
|
|
|
3376
3376
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3377
3377
|
...deserialized,
|
|
3378
3378
|
});
|
|
3379
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3379
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3380
3380
|
};
|
|
3381
3381
|
const serializeAws_json1_1AccessControlListConfiguration = (input, context) => {
|
|
3382
3382
|
return {
|
|
@@ -3771,7 +3771,7 @@ const serializeAws_json1_1ContentSourceConfiguration = (input, context) => {
|
|
|
3771
3771
|
const serializeAws_json1_1CreateDataSourceRequest = (input, context) => {
|
|
3772
3772
|
var _a;
|
|
3773
3773
|
return {
|
|
3774
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
3774
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
3775
3775
|
...(input.Configuration !== undefined &&
|
|
3776
3776
|
input.Configuration !== null && {
|
|
3777
3777
|
Configuration: serializeAws_json1_1DataSourceConfiguration(input.Configuration, context),
|
|
@@ -3793,7 +3793,7 @@ const serializeAws_json1_1CreateDataSourceRequest = (input, context) => {
|
|
|
3793
3793
|
const serializeAws_json1_1CreateExperienceRequest = (input, context) => {
|
|
3794
3794
|
var _a;
|
|
3795
3795
|
return {
|
|
3796
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
3796
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
3797
3797
|
...(input.Configuration !== undefined &&
|
|
3798
3798
|
input.Configuration !== null && {
|
|
3799
3799
|
Configuration: serializeAws_json1_1ExperienceConfiguration(input.Configuration, context),
|
|
@@ -3807,7 +3807,7 @@ const serializeAws_json1_1CreateExperienceRequest = (input, context) => {
|
|
|
3807
3807
|
const serializeAws_json1_1CreateFaqRequest = (input, context) => {
|
|
3808
3808
|
var _a;
|
|
3809
3809
|
return {
|
|
3810
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
3810
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
3811
3811
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
3812
3812
|
...(input.FileFormat !== undefined && input.FileFormat !== null && { FileFormat: input.FileFormat }),
|
|
3813
3813
|
...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }),
|
|
@@ -3822,7 +3822,7 @@ const serializeAws_json1_1CreateFaqRequest = (input, context) => {
|
|
|
3822
3822
|
const serializeAws_json1_1CreateIndexRequest = (input, context) => {
|
|
3823
3823
|
var _a;
|
|
3824
3824
|
return {
|
|
3825
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
3825
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
3826
3826
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
3827
3827
|
...(input.Edition !== undefined && input.Edition !== null && { Edition: input.Edition }),
|
|
3828
3828
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -3847,7 +3847,7 @@ const serializeAws_json1_1CreateIndexRequest = (input, context) => {
|
|
|
3847
3847
|
const serializeAws_json1_1CreateQuerySuggestionsBlockListRequest = (input, context) => {
|
|
3848
3848
|
var _a;
|
|
3849
3849
|
return {
|
|
3850
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
3850
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
3851
3851
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
3852
3852
|
...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }),
|
|
3853
3853
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -3860,7 +3860,7 @@ const serializeAws_json1_1CreateQuerySuggestionsBlockListRequest = (input, conte
|
|
|
3860
3860
|
const serializeAws_json1_1CreateThesaurusRequest = (input, context) => {
|
|
3861
3861
|
var _a;
|
|
3862
3862
|
return {
|
|
3863
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
3863
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
3864
3864
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
3865
3865
|
...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }),
|
|
3866
3866
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -3951,6 +3951,10 @@ const serializeAws_json1_1DataSourceConfiguration = (input, context) => {
|
|
|
3951
3951
|
input.SharePointConfiguration !== null && {
|
|
3952
3952
|
SharePointConfiguration: serializeAws_json1_1SharePointConfiguration(input.SharePointConfiguration, context),
|
|
3953
3953
|
}),
|
|
3954
|
+
...(input.SlackConfiguration !== undefined &&
|
|
3955
|
+
input.SlackConfiguration !== null && {
|
|
3956
|
+
SlackConfiguration: serializeAws_json1_1SlackConfiguration(input.SlackConfiguration, context),
|
|
3957
|
+
}),
|
|
3954
3958
|
...(input.WebCrawlerConfiguration !== undefined &&
|
|
3955
3959
|
input.WebCrawlerConfiguration !== null && {
|
|
3956
3960
|
WebCrawlerConfiguration: serializeAws_json1_1WebCrawlerConfiguration(input.WebCrawlerConfiguration, context),
|
|
@@ -4773,6 +4777,16 @@ const serializeAws_json1_1PrincipalList = (input, context) => {
|
|
|
4773
4777
|
return serializeAws_json1_1Principal(entry, context);
|
|
4774
4778
|
});
|
|
4775
4779
|
};
|
|
4780
|
+
const serializeAws_json1_1PrivateChannelFilter = (input, context) => {
|
|
4781
|
+
return input
|
|
4782
|
+
.filter((e) => e != null)
|
|
4783
|
+
.map((entry) => {
|
|
4784
|
+
if (entry === null) {
|
|
4785
|
+
return null;
|
|
4786
|
+
}
|
|
4787
|
+
return entry;
|
|
4788
|
+
});
|
|
4789
|
+
};
|
|
4776
4790
|
const serializeAws_json1_1ProxyConfiguration = (input, context) => {
|
|
4777
4791
|
return {
|
|
4778
4792
|
...(input.Credentials !== undefined && input.Credentials !== null && { Credentials: input.Credentials }),
|
|
@@ -4780,6 +4794,16 @@ const serializeAws_json1_1ProxyConfiguration = (input, context) => {
|
|
|
4780
4794
|
...(input.Port !== undefined && input.Port !== null && { Port: input.Port }),
|
|
4781
4795
|
};
|
|
4782
4796
|
};
|
|
4797
|
+
const serializeAws_json1_1PublicChannelFilter = (input, context) => {
|
|
4798
|
+
return input
|
|
4799
|
+
.filter((e) => e != null)
|
|
4800
|
+
.map((entry) => {
|
|
4801
|
+
if (entry === null) {
|
|
4802
|
+
return null;
|
|
4803
|
+
}
|
|
4804
|
+
return entry;
|
|
4805
|
+
});
|
|
4806
|
+
};
|
|
4783
4807
|
const serializeAws_json1_1PutPrincipalMappingRequest = (input, context) => {
|
|
4784
4808
|
return {
|
|
4785
4809
|
...(input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId }),
|
|
@@ -5204,6 +5228,59 @@ const serializeAws_json1_1SiteMapsList = (input, context) => {
|
|
|
5204
5228
|
return entry;
|
|
5205
5229
|
});
|
|
5206
5230
|
};
|
|
5231
|
+
const serializeAws_json1_1SlackConfiguration = (input, context) => {
|
|
5232
|
+
return {
|
|
5233
|
+
...(input.CrawlBotMessage !== undefined &&
|
|
5234
|
+
input.CrawlBotMessage !== null && { CrawlBotMessage: input.CrawlBotMessage }),
|
|
5235
|
+
...(input.ExcludeArchived !== undefined &&
|
|
5236
|
+
input.ExcludeArchived !== null && { ExcludeArchived: input.ExcludeArchived }),
|
|
5237
|
+
...(input.ExclusionPatterns !== undefined &&
|
|
5238
|
+
input.ExclusionPatterns !== null && {
|
|
5239
|
+
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5240
|
+
}),
|
|
5241
|
+
...(input.FieldMappings !== undefined &&
|
|
5242
|
+
input.FieldMappings !== null && {
|
|
5243
|
+
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5244
|
+
}),
|
|
5245
|
+
...(input.InclusionPatterns !== undefined &&
|
|
5246
|
+
input.InclusionPatterns !== null && {
|
|
5247
|
+
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5248
|
+
}),
|
|
5249
|
+
...(input.LookBackPeriod !== undefined &&
|
|
5250
|
+
input.LookBackPeriod !== null && { LookBackPeriod: input.LookBackPeriod }),
|
|
5251
|
+
...(input.PrivateChannelFilter !== undefined &&
|
|
5252
|
+
input.PrivateChannelFilter !== null && {
|
|
5253
|
+
PrivateChannelFilter: serializeAws_json1_1PrivateChannelFilter(input.PrivateChannelFilter, context),
|
|
5254
|
+
}),
|
|
5255
|
+
...(input.PublicChannelFilter !== undefined &&
|
|
5256
|
+
input.PublicChannelFilter !== null && {
|
|
5257
|
+
PublicChannelFilter: serializeAws_json1_1PublicChannelFilter(input.PublicChannelFilter, context),
|
|
5258
|
+
}),
|
|
5259
|
+
...(input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }),
|
|
5260
|
+
...(input.SinceCrawlDate !== undefined &&
|
|
5261
|
+
input.SinceCrawlDate !== null && { SinceCrawlDate: input.SinceCrawlDate }),
|
|
5262
|
+
...(input.SlackEntityList !== undefined &&
|
|
5263
|
+
input.SlackEntityList !== null && {
|
|
5264
|
+
SlackEntityList: serializeAws_json1_1SlackEntityList(input.SlackEntityList, context),
|
|
5265
|
+
}),
|
|
5266
|
+
...(input.TeamId !== undefined && input.TeamId !== null && { TeamId: input.TeamId }),
|
|
5267
|
+
...(input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog }),
|
|
5268
|
+
...(input.VpcConfiguration !== undefined &&
|
|
5269
|
+
input.VpcConfiguration !== null && {
|
|
5270
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5271
|
+
}),
|
|
5272
|
+
};
|
|
5273
|
+
};
|
|
5274
|
+
const serializeAws_json1_1SlackEntityList = (input, context) => {
|
|
5275
|
+
return input
|
|
5276
|
+
.filter((e) => e != null)
|
|
5277
|
+
.map((entry) => {
|
|
5278
|
+
if (entry === null) {
|
|
5279
|
+
return null;
|
|
5280
|
+
}
|
|
5281
|
+
return entry;
|
|
5282
|
+
});
|
|
5283
|
+
};
|
|
5207
5284
|
const serializeAws_json1_1SortingConfiguration = (input, context) => {
|
|
5208
5285
|
return {
|
|
5209
5286
|
...(input.DocumentAttributeKey !== undefined &&
|
|
@@ -5488,7 +5565,7 @@ const serializeAws_json1_1WebCrawlerConfiguration = (input, context) => {
|
|
|
5488
5565
|
...(input.CrawlDepth !== undefined && input.CrawlDepth !== null && { CrawlDepth: input.CrawlDepth }),
|
|
5489
5566
|
...(input.MaxContentSizePerPageInMegaBytes !== undefined &&
|
|
5490
5567
|
input.MaxContentSizePerPageInMegaBytes !== null && {
|
|
5491
|
-
MaxContentSizePerPageInMegaBytes: smithy_client_1.serializeFloat(input.MaxContentSizePerPageInMegaBytes),
|
|
5568
|
+
MaxContentSizePerPageInMegaBytes: (0, smithy_client_1.serializeFloat)(input.MaxContentSizePerPageInMegaBytes),
|
|
5492
5569
|
}),
|
|
5493
5570
|
...(input.MaxLinksPerPage !== undefined &&
|
|
5494
5571
|
input.MaxLinksPerPage !== null && { MaxLinksPerPage: input.MaxLinksPerPage }),
|
|
@@ -5531,26 +5608,26 @@ const serializeAws_json1_1WorkDocsConfiguration = (input, context) => {
|
|
|
5531
5608
|
};
|
|
5532
5609
|
const deserializeAws_json1_1AccessControlListConfiguration = (output, context) => {
|
|
5533
5610
|
return {
|
|
5534
|
-
KeyPath: smithy_client_1.expectString(output.KeyPath),
|
|
5611
|
+
KeyPath: (0, smithy_client_1.expectString)(output.KeyPath),
|
|
5535
5612
|
};
|
|
5536
5613
|
};
|
|
5537
5614
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
5538
5615
|
return {
|
|
5539
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5616
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5540
5617
|
};
|
|
5541
5618
|
};
|
|
5542
5619
|
const deserializeAws_json1_1AclConfiguration = (output, context) => {
|
|
5543
5620
|
return {
|
|
5544
|
-
AllowedGroupsColumnName: smithy_client_1.expectString(output.AllowedGroupsColumnName),
|
|
5621
|
+
AllowedGroupsColumnName: (0, smithy_client_1.expectString)(output.AllowedGroupsColumnName),
|
|
5545
5622
|
};
|
|
5546
5623
|
};
|
|
5547
5624
|
const deserializeAws_json1_1AdditionalResultAttribute = (output, context) => {
|
|
5548
5625
|
return {
|
|
5549
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
5626
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
5550
5627
|
Value: output.Value !== undefined && output.Value !== null
|
|
5551
5628
|
? deserializeAws_json1_1AdditionalResultAttributeValue(output.Value, context)
|
|
5552
5629
|
: undefined,
|
|
5553
|
-
ValueType: smithy_client_1.expectString(output.ValueType),
|
|
5630
|
+
ValueType: (0, smithy_client_1.expectString)(output.ValueType),
|
|
5554
5631
|
};
|
|
5555
5632
|
};
|
|
5556
5633
|
const deserializeAws_json1_1AdditionalResultAttributeList = (output, context) => {
|
|
@@ -5605,9 +5682,9 @@ const deserializeAws_json1_1AuthenticationConfiguration = (output, context) => {
|
|
|
5605
5682
|
};
|
|
5606
5683
|
const deserializeAws_json1_1BasicAuthenticationConfiguration = (output, context) => {
|
|
5607
5684
|
return {
|
|
5608
|
-
Credentials: smithy_client_1.expectString(output.Credentials),
|
|
5609
|
-
Host: smithy_client_1.expectString(output.Host),
|
|
5610
|
-
Port: smithy_client_1.expectInt32(output.Port),
|
|
5685
|
+
Credentials: (0, smithy_client_1.expectString)(output.Credentials),
|
|
5686
|
+
Host: (0, smithy_client_1.expectString)(output.Host),
|
|
5687
|
+
Port: (0, smithy_client_1.expectInt32)(output.Port),
|
|
5611
5688
|
};
|
|
5612
5689
|
};
|
|
5613
5690
|
const deserializeAws_json1_1BasicAuthenticationConfigurationList = (output, context) => {
|
|
@@ -5630,9 +5707,9 @@ const deserializeAws_json1_1BatchDeleteDocumentResponse = (output, context) => {
|
|
|
5630
5707
|
};
|
|
5631
5708
|
const deserializeAws_json1_1BatchDeleteDocumentResponseFailedDocument = (output, context) => {
|
|
5632
5709
|
return {
|
|
5633
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5634
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5635
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
5710
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
5711
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
5712
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5636
5713
|
};
|
|
5637
5714
|
};
|
|
5638
5715
|
const deserializeAws_json1_1BatchDeleteDocumentResponseFailedDocuments = (output, context) => {
|
|
@@ -5658,9 +5735,9 @@ const deserializeAws_json1_1BatchGetDocumentStatusResponse = (output, context) =
|
|
|
5658
5735
|
};
|
|
5659
5736
|
const deserializeAws_json1_1BatchGetDocumentStatusResponseError = (output, context) => {
|
|
5660
5737
|
return {
|
|
5661
|
-
DocumentId: smithy_client_1.expectString(output.DocumentId),
|
|
5662
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5663
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5738
|
+
DocumentId: (0, smithy_client_1.expectString)(output.DocumentId),
|
|
5739
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
5740
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
5664
5741
|
};
|
|
5665
5742
|
};
|
|
5666
5743
|
const deserializeAws_json1_1BatchGetDocumentStatusResponseErrors = (output, context) => {
|
|
@@ -5683,9 +5760,9 @@ const deserializeAws_json1_1BatchPutDocumentResponse = (output, context) => {
|
|
|
5683
5760
|
};
|
|
5684
5761
|
const deserializeAws_json1_1BatchPutDocumentResponseFailedDocument = (output, context) => {
|
|
5685
5762
|
return {
|
|
5686
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5687
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5688
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
5763
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
5764
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
5765
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5689
5766
|
};
|
|
5690
5767
|
};
|
|
5691
5768
|
const deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = (output, context) => {
|
|
@@ -5701,8 +5778,8 @@ const deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = (output, c
|
|
|
5701
5778
|
};
|
|
5702
5779
|
const deserializeAws_json1_1CapacityUnitsConfiguration = (output, context) => {
|
|
5703
5780
|
return {
|
|
5704
|
-
QueryCapacityUnits: smithy_client_1.expectInt32(output.QueryCapacityUnits),
|
|
5705
|
-
StorageCapacityUnits: smithy_client_1.expectInt32(output.StorageCapacityUnits),
|
|
5781
|
+
QueryCapacityUnits: (0, smithy_client_1.expectInt32)(output.QueryCapacityUnits),
|
|
5782
|
+
StorageCapacityUnits: (0, smithy_client_1.expectInt32)(output.StorageCapacityUnits),
|
|
5706
5783
|
};
|
|
5707
5784
|
};
|
|
5708
5785
|
const deserializeAws_json1_1ChangeDetectingColumns = (output, context) => {
|
|
@@ -5712,7 +5789,7 @@ const deserializeAws_json1_1ChangeDetectingColumns = (output, context) => {
|
|
|
5712
5789
|
if (entry === null) {
|
|
5713
5790
|
return null;
|
|
5714
5791
|
}
|
|
5715
|
-
return smithy_client_1.expectString(entry);
|
|
5792
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5716
5793
|
});
|
|
5717
5794
|
return retVal;
|
|
5718
5795
|
};
|
|
@@ -5721,9 +5798,9 @@ const deserializeAws_json1_1ColumnConfiguration = (output, context) => {
|
|
|
5721
5798
|
ChangeDetectingColumns: output.ChangeDetectingColumns !== undefined && output.ChangeDetectingColumns !== null
|
|
5722
5799
|
? deserializeAws_json1_1ChangeDetectingColumns(output.ChangeDetectingColumns, context)
|
|
5723
5800
|
: undefined,
|
|
5724
|
-
DocumentDataColumnName: smithy_client_1.expectString(output.DocumentDataColumnName),
|
|
5725
|
-
DocumentIdColumnName: smithy_client_1.expectString(output.DocumentIdColumnName),
|
|
5726
|
-
DocumentTitleColumnName: smithy_client_1.expectString(output.DocumentTitleColumnName),
|
|
5801
|
+
DocumentDataColumnName: (0, smithy_client_1.expectString)(output.DocumentDataColumnName),
|
|
5802
|
+
DocumentIdColumnName: (0, smithy_client_1.expectString)(output.DocumentIdColumnName),
|
|
5803
|
+
DocumentTitleColumnName: (0, smithy_client_1.expectString)(output.DocumentTitleColumnName),
|
|
5727
5804
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
5728
5805
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
5729
5806
|
: undefined,
|
|
@@ -5731,7 +5808,7 @@ const deserializeAws_json1_1ColumnConfiguration = (output, context) => {
|
|
|
5731
5808
|
};
|
|
5732
5809
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
5733
5810
|
return {
|
|
5734
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5811
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5735
5812
|
};
|
|
5736
5813
|
};
|
|
5737
5814
|
const deserializeAws_json1_1ConfluenceAttachmentConfiguration = (output, context) => {
|
|
@@ -5739,7 +5816,7 @@ const deserializeAws_json1_1ConfluenceAttachmentConfiguration = (output, context
|
|
|
5739
5816
|
AttachmentFieldMappings: output.AttachmentFieldMappings !== undefined && output.AttachmentFieldMappings !== null
|
|
5740
5817
|
? deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList(output.AttachmentFieldMappings, context)
|
|
5741
5818
|
: undefined,
|
|
5742
|
-
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
5819
|
+
CrawlAttachments: (0, smithy_client_1.expectBoolean)(output.CrawlAttachments),
|
|
5743
5820
|
};
|
|
5744
5821
|
};
|
|
5745
5822
|
const deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList = (output, context) => {
|
|
@@ -5755,9 +5832,9 @@ const deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList = (output, con
|
|
|
5755
5832
|
};
|
|
5756
5833
|
const deserializeAws_json1_1ConfluenceAttachmentToIndexFieldMapping = (output, context) => {
|
|
5757
5834
|
return {
|
|
5758
|
-
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
5759
|
-
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
5760
|
-
IndexFieldName: smithy_client_1.expectString(output.IndexFieldName),
|
|
5835
|
+
DataSourceFieldName: (0, smithy_client_1.expectString)(output.DataSourceFieldName),
|
|
5836
|
+
DateFieldFormat: (0, smithy_client_1.expectString)(output.DateFieldFormat),
|
|
5837
|
+
IndexFieldName: (0, smithy_client_1.expectString)(output.IndexFieldName),
|
|
5761
5838
|
};
|
|
5762
5839
|
};
|
|
5763
5840
|
const deserializeAws_json1_1ConfluenceBlogConfiguration = (output, context) => {
|
|
@@ -5780,9 +5857,9 @@ const deserializeAws_json1_1ConfluenceBlogFieldMappingsList = (output, context)
|
|
|
5780
5857
|
};
|
|
5781
5858
|
const deserializeAws_json1_1ConfluenceBlogToIndexFieldMapping = (output, context) => {
|
|
5782
5859
|
return {
|
|
5783
|
-
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
5784
|
-
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
5785
|
-
IndexFieldName: smithy_client_1.expectString(output.IndexFieldName),
|
|
5860
|
+
DataSourceFieldName: (0, smithy_client_1.expectString)(output.DataSourceFieldName),
|
|
5861
|
+
DateFieldFormat: (0, smithy_client_1.expectString)(output.DateFieldFormat),
|
|
5862
|
+
IndexFieldName: (0, smithy_client_1.expectString)(output.IndexFieldName),
|
|
5786
5863
|
};
|
|
5787
5864
|
};
|
|
5788
5865
|
const deserializeAws_json1_1ConfluenceConfiguration = (output, context) => {
|
|
@@ -5802,12 +5879,12 @@ const deserializeAws_json1_1ConfluenceConfiguration = (output, context) => {
|
|
|
5802
5879
|
PageConfiguration: output.PageConfiguration !== undefined && output.PageConfiguration !== null
|
|
5803
5880
|
? deserializeAws_json1_1ConfluencePageConfiguration(output.PageConfiguration, context)
|
|
5804
5881
|
: undefined,
|
|
5805
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
5806
|
-
ServerUrl: smithy_client_1.expectString(output.ServerUrl),
|
|
5882
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
5883
|
+
ServerUrl: (0, smithy_client_1.expectString)(output.ServerUrl),
|
|
5807
5884
|
SpaceConfiguration: output.SpaceConfiguration !== undefined && output.SpaceConfiguration !== null
|
|
5808
5885
|
? deserializeAws_json1_1ConfluenceSpaceConfiguration(output.SpaceConfiguration, context)
|
|
5809
5886
|
: undefined,
|
|
5810
|
-
Version: smithy_client_1.expectString(output.Version),
|
|
5887
|
+
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
5811
5888
|
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
5812
5889
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
5813
5890
|
: undefined,
|
|
@@ -5833,15 +5910,15 @@ const deserializeAws_json1_1ConfluencePageFieldMappingsList = (output, context)
|
|
|
5833
5910
|
};
|
|
5834
5911
|
const deserializeAws_json1_1ConfluencePageToIndexFieldMapping = (output, context) => {
|
|
5835
5912
|
return {
|
|
5836
|
-
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
5837
|
-
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
5838
|
-
IndexFieldName: smithy_client_1.expectString(output.IndexFieldName),
|
|
5913
|
+
DataSourceFieldName: (0, smithy_client_1.expectString)(output.DataSourceFieldName),
|
|
5914
|
+
DateFieldFormat: (0, smithy_client_1.expectString)(output.DateFieldFormat),
|
|
5915
|
+
IndexFieldName: (0, smithy_client_1.expectString)(output.IndexFieldName),
|
|
5839
5916
|
};
|
|
5840
5917
|
};
|
|
5841
5918
|
const deserializeAws_json1_1ConfluenceSpaceConfiguration = (output, context) => {
|
|
5842
5919
|
return {
|
|
5843
|
-
CrawlArchivedSpaces: smithy_client_1.expectBoolean(output.CrawlArchivedSpaces),
|
|
5844
|
-
CrawlPersonalSpaces: smithy_client_1.expectBoolean(output.CrawlPersonalSpaces),
|
|
5920
|
+
CrawlArchivedSpaces: (0, smithy_client_1.expectBoolean)(output.CrawlArchivedSpaces),
|
|
5921
|
+
CrawlPersonalSpaces: (0, smithy_client_1.expectBoolean)(output.CrawlPersonalSpaces),
|
|
5845
5922
|
ExcludeSpaces: output.ExcludeSpaces !== undefined && output.ExcludeSpaces !== null
|
|
5846
5923
|
? deserializeAws_json1_1ConfluenceSpaceList(output.ExcludeSpaces, context)
|
|
5847
5924
|
: undefined,
|
|
@@ -5871,24 +5948,24 @@ const deserializeAws_json1_1ConfluenceSpaceList = (output, context) => {
|
|
|
5871
5948
|
if (entry === null) {
|
|
5872
5949
|
return null;
|
|
5873
5950
|
}
|
|
5874
|
-
return smithy_client_1.expectString(entry);
|
|
5951
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5875
5952
|
});
|
|
5876
5953
|
return retVal;
|
|
5877
5954
|
};
|
|
5878
5955
|
const deserializeAws_json1_1ConfluenceSpaceToIndexFieldMapping = (output, context) => {
|
|
5879
5956
|
return {
|
|
5880
|
-
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
5881
|
-
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
5882
|
-
IndexFieldName: smithy_client_1.expectString(output.IndexFieldName),
|
|
5957
|
+
DataSourceFieldName: (0, smithy_client_1.expectString)(output.DataSourceFieldName),
|
|
5958
|
+
DateFieldFormat: (0, smithy_client_1.expectString)(output.DateFieldFormat),
|
|
5959
|
+
IndexFieldName: (0, smithy_client_1.expectString)(output.IndexFieldName),
|
|
5883
5960
|
};
|
|
5884
5961
|
};
|
|
5885
5962
|
const deserializeAws_json1_1ConnectionConfiguration = (output, context) => {
|
|
5886
5963
|
return {
|
|
5887
|
-
DatabaseHost: smithy_client_1.expectString(output.DatabaseHost),
|
|
5888
|
-
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
5889
|
-
DatabasePort: smithy_client_1.expectInt32(output.DatabasePort),
|
|
5890
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
5891
|
-
TableName: smithy_client_1.expectString(output.TableName),
|
|
5964
|
+
DatabaseHost: (0, smithy_client_1.expectString)(output.DatabaseHost),
|
|
5965
|
+
DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
|
|
5966
|
+
DatabasePort: (0, smithy_client_1.expectInt32)(output.DatabasePort),
|
|
5967
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
5968
|
+
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
5892
5969
|
};
|
|
5893
5970
|
};
|
|
5894
5971
|
const deserializeAws_json1_1ContentSourceConfiguration = (output, context) => {
|
|
@@ -5896,7 +5973,7 @@ const deserializeAws_json1_1ContentSourceConfiguration = (output, context) => {
|
|
|
5896
5973
|
DataSourceIds: output.DataSourceIds !== undefined && output.DataSourceIds !== null
|
|
5897
5974
|
? deserializeAws_json1_1DataSourceIdList(output.DataSourceIds, context)
|
|
5898
5975
|
: undefined,
|
|
5899
|
-
DirectPutContent: smithy_client_1.expectBoolean(output.DirectPutContent),
|
|
5976
|
+
DirectPutContent: (0, smithy_client_1.expectBoolean)(output.DirectPutContent),
|
|
5900
5977
|
FaqIds: output.FaqIds !== undefined && output.FaqIds !== null
|
|
5901
5978
|
? deserializeAws_json1_1FaqIdsList(output.FaqIds, context)
|
|
5902
5979
|
: undefined,
|
|
@@ -5904,10 +5981,10 @@ const deserializeAws_json1_1ContentSourceConfiguration = (output, context) => {
|
|
|
5904
5981
|
};
|
|
5905
5982
|
const deserializeAws_json1_1Correction = (output, context) => {
|
|
5906
5983
|
return {
|
|
5907
|
-
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
5908
|
-
CorrectedTerm: smithy_client_1.expectString(output.CorrectedTerm),
|
|
5909
|
-
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
5910
|
-
Term: smithy_client_1.expectString(output.Term),
|
|
5984
|
+
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
5985
|
+
CorrectedTerm: (0, smithy_client_1.expectString)(output.CorrectedTerm),
|
|
5986
|
+
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
5987
|
+
Term: (0, smithy_client_1.expectString)(output.Term),
|
|
5911
5988
|
};
|
|
5912
5989
|
};
|
|
5913
5990
|
const deserializeAws_json1_1CorrectionList = (output, context) => {
|
|
@@ -5923,32 +6000,32 @@ const deserializeAws_json1_1CorrectionList = (output, context) => {
|
|
|
5923
6000
|
};
|
|
5924
6001
|
const deserializeAws_json1_1CreateDataSourceResponse = (output, context) => {
|
|
5925
6002
|
return {
|
|
5926
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6003
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5927
6004
|
};
|
|
5928
6005
|
};
|
|
5929
6006
|
const deserializeAws_json1_1CreateExperienceResponse = (output, context) => {
|
|
5930
6007
|
return {
|
|
5931
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6008
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5932
6009
|
};
|
|
5933
6010
|
};
|
|
5934
6011
|
const deserializeAws_json1_1CreateFaqResponse = (output, context) => {
|
|
5935
6012
|
return {
|
|
5936
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6013
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5937
6014
|
};
|
|
5938
6015
|
};
|
|
5939
6016
|
const deserializeAws_json1_1CreateIndexResponse = (output, context) => {
|
|
5940
6017
|
return {
|
|
5941
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6018
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5942
6019
|
};
|
|
5943
6020
|
};
|
|
5944
6021
|
const deserializeAws_json1_1CreateQuerySuggestionsBlockListResponse = (output, context) => {
|
|
5945
6022
|
return {
|
|
5946
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6023
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5947
6024
|
};
|
|
5948
6025
|
};
|
|
5949
6026
|
const deserializeAws_json1_1CreateThesaurusResponse = (output, context) => {
|
|
5950
6027
|
return {
|
|
5951
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6028
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5952
6029
|
};
|
|
5953
6030
|
};
|
|
5954
6031
|
const deserializeAws_json1_1CustomDocumentEnrichmentConfiguration = (output, context) => {
|
|
@@ -5962,7 +6039,7 @@ const deserializeAws_json1_1CustomDocumentEnrichmentConfiguration = (output, con
|
|
|
5962
6039
|
PreExtractionHookConfiguration: output.PreExtractionHookConfiguration !== undefined && output.PreExtractionHookConfiguration !== null
|
|
5963
6040
|
? deserializeAws_json1_1HookConfiguration(output.PreExtractionHookConfiguration, context)
|
|
5964
6041
|
: undefined,
|
|
5965
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6042
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
5966
6043
|
};
|
|
5967
6044
|
};
|
|
5968
6045
|
const deserializeAws_json1_1DatabaseConfiguration = (output, context) => {
|
|
@@ -5976,7 +6053,7 @@ const deserializeAws_json1_1DatabaseConfiguration = (output, context) => {
|
|
|
5976
6053
|
ConnectionConfiguration: output.ConnectionConfiguration !== undefined && output.ConnectionConfiguration !== null
|
|
5977
6054
|
? deserializeAws_json1_1ConnectionConfiguration(output.ConnectionConfiguration, context)
|
|
5978
6055
|
: undefined,
|
|
5979
|
-
DatabaseEngineType: smithy_client_1.expectString(output.DatabaseEngineType),
|
|
6056
|
+
DatabaseEngineType: (0, smithy_client_1.expectString)(output.DatabaseEngineType),
|
|
5980
6057
|
SqlConfiguration: output.SqlConfiguration !== undefined && output.SqlConfiguration !== null
|
|
5981
6058
|
? deserializeAws_json1_1SqlConfiguration(output.SqlConfiguration, context)
|
|
5982
6059
|
: undefined,
|
|
@@ -6014,6 +6091,9 @@ const deserializeAws_json1_1DataSourceConfiguration = (output, context) => {
|
|
|
6014
6091
|
SharePointConfiguration: output.SharePointConfiguration !== undefined && output.SharePointConfiguration !== null
|
|
6015
6092
|
? deserializeAws_json1_1SharePointConfiguration(output.SharePointConfiguration, context)
|
|
6016
6093
|
: undefined,
|
|
6094
|
+
SlackConfiguration: output.SlackConfiguration !== undefined && output.SlackConfiguration !== null
|
|
6095
|
+
? deserializeAws_json1_1SlackConfiguration(output.SlackConfiguration, context)
|
|
6096
|
+
: undefined,
|
|
6017
6097
|
WebCrawlerConfiguration: output.WebCrawlerConfiguration !== undefined && output.WebCrawlerConfiguration !== null
|
|
6018
6098
|
? deserializeAws_json1_1WebCrawlerConfiguration(output.WebCrawlerConfiguration, context)
|
|
6019
6099
|
: undefined,
|
|
@@ -6029,7 +6109,7 @@ const deserializeAws_json1_1DataSourceIdList = (output, context) => {
|
|
|
6029
6109
|
if (entry === null) {
|
|
6030
6110
|
return null;
|
|
6031
6111
|
}
|
|
6032
|
-
return smithy_client_1.expectString(entry);
|
|
6112
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6033
6113
|
});
|
|
6034
6114
|
return retVal;
|
|
6035
6115
|
};
|
|
@@ -6040,22 +6120,22 @@ const deserializeAws_json1_1DataSourceInclusionsExclusionsStrings = (output, con
|
|
|
6040
6120
|
if (entry === null) {
|
|
6041
6121
|
return null;
|
|
6042
6122
|
}
|
|
6043
|
-
return smithy_client_1.expectString(entry);
|
|
6123
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6044
6124
|
});
|
|
6045
6125
|
return retVal;
|
|
6046
6126
|
};
|
|
6047
6127
|
const deserializeAws_json1_1DataSourceSummary = (output, context) => {
|
|
6048
6128
|
return {
|
|
6049
6129
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6050
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6130
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6051
6131
|
: undefined,
|
|
6052
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6053
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6054
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6055
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6056
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
6132
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
6133
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
6134
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6135
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6136
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6057
6137
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6058
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6138
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
6059
6139
|
: undefined,
|
|
6060
6140
|
};
|
|
6061
6141
|
};
|
|
@@ -6072,20 +6152,20 @@ const deserializeAws_json1_1DataSourceSummaryList = (output, context) => {
|
|
|
6072
6152
|
};
|
|
6073
6153
|
const deserializeAws_json1_1DataSourceSyncJob = (output, context) => {
|
|
6074
6154
|
return {
|
|
6075
|
-
DataSourceErrorCode: smithy_client_1.expectString(output.DataSourceErrorCode),
|
|
6155
|
+
DataSourceErrorCode: (0, smithy_client_1.expectString)(output.DataSourceErrorCode),
|
|
6076
6156
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6077
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6157
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
6078
6158
|
: undefined,
|
|
6079
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
6080
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6081
|
-
ExecutionId: smithy_client_1.expectString(output.ExecutionId),
|
|
6159
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
6160
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
6161
|
+
ExecutionId: (0, smithy_client_1.expectString)(output.ExecutionId),
|
|
6082
6162
|
Metrics: output.Metrics !== undefined && output.Metrics !== null
|
|
6083
6163
|
? deserializeAws_json1_1DataSourceSyncJobMetrics(output.Metrics, context)
|
|
6084
6164
|
: undefined,
|
|
6085
6165
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
6086
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
6166
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
6087
6167
|
: undefined,
|
|
6088
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6168
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6089
6169
|
};
|
|
6090
6170
|
};
|
|
6091
6171
|
const deserializeAws_json1_1DataSourceSyncJobHistoryList = (output, context) => {
|
|
@@ -6101,18 +6181,18 @@ const deserializeAws_json1_1DataSourceSyncJobHistoryList = (output, context) =>
|
|
|
6101
6181
|
};
|
|
6102
6182
|
const deserializeAws_json1_1DataSourceSyncJobMetrics = (output, context) => {
|
|
6103
6183
|
return {
|
|
6104
|
-
DocumentsAdded: smithy_client_1.expectString(output.DocumentsAdded),
|
|
6105
|
-
DocumentsDeleted: smithy_client_1.expectString(output.DocumentsDeleted),
|
|
6106
|
-
DocumentsFailed: smithy_client_1.expectString(output.DocumentsFailed),
|
|
6107
|
-
DocumentsModified: smithy_client_1.expectString(output.DocumentsModified),
|
|
6108
|
-
DocumentsScanned: smithy_client_1.expectString(output.DocumentsScanned),
|
|
6184
|
+
DocumentsAdded: (0, smithy_client_1.expectString)(output.DocumentsAdded),
|
|
6185
|
+
DocumentsDeleted: (0, smithy_client_1.expectString)(output.DocumentsDeleted),
|
|
6186
|
+
DocumentsFailed: (0, smithy_client_1.expectString)(output.DocumentsFailed),
|
|
6187
|
+
DocumentsModified: (0, smithy_client_1.expectString)(output.DocumentsModified),
|
|
6188
|
+
DocumentsScanned: (0, smithy_client_1.expectString)(output.DocumentsScanned),
|
|
6109
6189
|
};
|
|
6110
6190
|
};
|
|
6111
6191
|
const deserializeAws_json1_1DataSourceToIndexFieldMapping = (output, context) => {
|
|
6112
6192
|
return {
|
|
6113
|
-
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
6114
|
-
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
6115
|
-
IndexFieldName: smithy_client_1.expectString(output.IndexFieldName),
|
|
6193
|
+
DataSourceFieldName: (0, smithy_client_1.expectString)(output.DataSourceFieldName),
|
|
6194
|
+
DateFieldFormat: (0, smithy_client_1.expectString)(output.DateFieldFormat),
|
|
6195
|
+
IndexFieldName: (0, smithy_client_1.expectString)(output.IndexFieldName),
|
|
6116
6196
|
};
|
|
6117
6197
|
};
|
|
6118
6198
|
const deserializeAws_json1_1DataSourceToIndexFieldMappingList = (output, context) => {
|
|
@@ -6145,24 +6225,24 @@ const deserializeAws_json1_1DescribeDataSourceResponse = (output, context) => {
|
|
|
6145
6225
|
? deserializeAws_json1_1DataSourceConfiguration(output.Configuration, context)
|
|
6146
6226
|
: undefined,
|
|
6147
6227
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6148
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6228
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6149
6229
|
: undefined,
|
|
6150
6230
|
CustomDocumentEnrichmentConfiguration: output.CustomDocumentEnrichmentConfiguration !== undefined &&
|
|
6151
6231
|
output.CustomDocumentEnrichmentConfiguration !== null
|
|
6152
6232
|
? deserializeAws_json1_1CustomDocumentEnrichmentConfiguration(output.CustomDocumentEnrichmentConfiguration, context)
|
|
6153
6233
|
: undefined,
|
|
6154
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6155
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6156
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6157
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6158
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6159
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6160
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6161
|
-
Schedule: smithy_client_1.expectString(output.Schedule),
|
|
6162
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6163
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
6234
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
6235
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
6236
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
6237
|
+
IndexId: (0, smithy_client_1.expectString)(output.IndexId),
|
|
6238
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
6239
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6240
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
6241
|
+
Schedule: (0, smithy_client_1.expectString)(output.Schedule),
|
|
6242
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6243
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6164
6244
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6165
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6245
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
6166
6246
|
: undefined,
|
|
6167
6247
|
};
|
|
6168
6248
|
};
|
|
@@ -6172,42 +6252,42 @@ const deserializeAws_json1_1DescribeExperienceResponse = (output, context) => {
|
|
|
6172
6252
|
? deserializeAws_json1_1ExperienceConfiguration(output.Configuration, context)
|
|
6173
6253
|
: undefined,
|
|
6174
6254
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6175
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6255
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6176
6256
|
: undefined,
|
|
6177
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6257
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
6178
6258
|
Endpoints: output.Endpoints !== undefined && output.Endpoints !== null
|
|
6179
6259
|
? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context)
|
|
6180
6260
|
: undefined,
|
|
6181
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6182
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6183
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6184
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6185
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6186
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6261
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
6262
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
6263
|
+
IndexId: (0, smithy_client_1.expectString)(output.IndexId),
|
|
6264
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6265
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
6266
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6187
6267
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6188
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6268
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
6189
6269
|
: undefined,
|
|
6190
6270
|
};
|
|
6191
6271
|
};
|
|
6192
6272
|
const deserializeAws_json1_1DescribeFaqResponse = (output, context) => {
|
|
6193
6273
|
return {
|
|
6194
6274
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6195
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6196
|
-
: undefined,
|
|
6197
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6198
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6199
|
-
FileFormat: smithy_client_1.expectString(output.FileFormat),
|
|
6200
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6201
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6202
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6203
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6204
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6275
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6276
|
+
: undefined,
|
|
6277
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
6278
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
6279
|
+
FileFormat: (0, smithy_client_1.expectString)(output.FileFormat),
|
|
6280
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
6281
|
+
IndexId: (0, smithy_client_1.expectString)(output.IndexId),
|
|
6282
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
6283
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6284
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
6205
6285
|
S3Path: output.S3Path !== undefined && output.S3Path !== null
|
|
6206
6286
|
? deserializeAws_json1_1S3Path(output.S3Path, context)
|
|
6207
6287
|
: undefined,
|
|
6208
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6288
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6209
6289
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6210
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6290
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
6211
6291
|
: undefined,
|
|
6212
6292
|
};
|
|
6213
6293
|
};
|
|
@@ -6217,28 +6297,28 @@ const deserializeAws_json1_1DescribeIndexResponse = (output, context) => {
|
|
|
6217
6297
|
? deserializeAws_json1_1CapacityUnitsConfiguration(output.CapacityUnits, context)
|
|
6218
6298
|
: undefined,
|
|
6219
6299
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6220
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6300
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6221
6301
|
: undefined,
|
|
6222
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6302
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
6223
6303
|
DocumentMetadataConfigurations: output.DocumentMetadataConfigurations !== undefined && output.DocumentMetadataConfigurations !== null
|
|
6224
6304
|
? deserializeAws_json1_1DocumentMetadataConfigurationList(output.DocumentMetadataConfigurations, context)
|
|
6225
6305
|
: undefined,
|
|
6226
|
-
Edition: smithy_client_1.expectString(output.Edition),
|
|
6227
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6228
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6306
|
+
Edition: (0, smithy_client_1.expectString)(output.Edition),
|
|
6307
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
6308
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
6229
6309
|
IndexStatistics: output.IndexStatistics !== undefined && output.IndexStatistics !== null
|
|
6230
6310
|
? deserializeAws_json1_1IndexStatistics(output.IndexStatistics, context)
|
|
6231
6311
|
: undefined,
|
|
6232
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6233
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6312
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6313
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
6234
6314
|
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration !== undefined && output.ServerSideEncryptionConfiguration !== null
|
|
6235
6315
|
? deserializeAws_json1_1ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
6236
6316
|
: undefined,
|
|
6237
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6317
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6238
6318
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6239
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6319
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
6240
6320
|
: undefined,
|
|
6241
|
-
UserContextPolicy: smithy_client_1.expectString(output.UserContextPolicy),
|
|
6321
|
+
UserContextPolicy: (0, smithy_client_1.expectString)(output.UserContextPolicy),
|
|
6242
6322
|
UserGroupResolutionConfiguration: output.UserGroupResolutionConfiguration !== undefined && output.UserGroupResolutionConfiguration !== null
|
|
6243
6323
|
? deserializeAws_json1_1UserGroupResolutionConfiguration(output.UserGroupResolutionConfiguration, context)
|
|
6244
6324
|
: undefined,
|
|
@@ -6249,73 +6329,73 @@ const deserializeAws_json1_1DescribeIndexResponse = (output, context) => {
|
|
|
6249
6329
|
};
|
|
6250
6330
|
const deserializeAws_json1_1DescribePrincipalMappingResponse = (output, context) => {
|
|
6251
6331
|
return {
|
|
6252
|
-
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
6253
|
-
GroupId: smithy_client_1.expectString(output.GroupId),
|
|
6332
|
+
DataSourceId: (0, smithy_client_1.expectString)(output.DataSourceId),
|
|
6333
|
+
GroupId: (0, smithy_client_1.expectString)(output.GroupId),
|
|
6254
6334
|
GroupOrderingIdSummaries: output.GroupOrderingIdSummaries !== undefined && output.GroupOrderingIdSummaries !== null
|
|
6255
6335
|
? deserializeAws_json1_1GroupOrderingIdSummaries(output.GroupOrderingIdSummaries, context)
|
|
6256
6336
|
: undefined,
|
|
6257
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6337
|
+
IndexId: (0, smithy_client_1.expectString)(output.IndexId),
|
|
6258
6338
|
};
|
|
6259
6339
|
};
|
|
6260
6340
|
const deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = (output, context) => {
|
|
6261
6341
|
return {
|
|
6262
6342
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6263
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6264
|
-
: undefined,
|
|
6265
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6266
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6267
|
-
FileSizeBytes: smithy_client_1.expectLong(output.FileSizeBytes),
|
|
6268
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6269
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6270
|
-
ItemCount: smithy_client_1.expectInt32(output.ItemCount),
|
|
6271
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6272
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6343
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6344
|
+
: undefined,
|
|
6345
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
6346
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
6347
|
+
FileSizeBytes: (0, smithy_client_1.expectLong)(output.FileSizeBytes),
|
|
6348
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
6349
|
+
IndexId: (0, smithy_client_1.expectString)(output.IndexId),
|
|
6350
|
+
ItemCount: (0, smithy_client_1.expectInt32)(output.ItemCount),
|
|
6351
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6352
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
6273
6353
|
SourceS3Path: output.SourceS3Path !== undefined && output.SourceS3Path !== null
|
|
6274
6354
|
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
6275
6355
|
: undefined,
|
|
6276
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6356
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6277
6357
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6278
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6358
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
6279
6359
|
: undefined,
|
|
6280
6360
|
};
|
|
6281
6361
|
};
|
|
6282
6362
|
const deserializeAws_json1_1DescribeQuerySuggestionsConfigResponse = (output, context) => {
|
|
6283
6363
|
return {
|
|
6284
|
-
IncludeQueriesWithoutUserInformation: smithy_client_1.expectBoolean(output.IncludeQueriesWithoutUserInformation),
|
|
6364
|
+
IncludeQueriesWithoutUserInformation: (0, smithy_client_1.expectBoolean)(output.IncludeQueriesWithoutUserInformation),
|
|
6285
6365
|
LastClearTime: output.LastClearTime !== undefined && output.LastClearTime !== null
|
|
6286
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastClearTime)))
|
|
6366
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastClearTime)))
|
|
6287
6367
|
: undefined,
|
|
6288
6368
|
LastSuggestionsBuildTime: output.LastSuggestionsBuildTime !== undefined && output.LastSuggestionsBuildTime !== null
|
|
6289
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSuggestionsBuildTime)))
|
|
6369
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastSuggestionsBuildTime)))
|
|
6290
6370
|
: undefined,
|
|
6291
|
-
MinimumNumberOfQueryingUsers: smithy_client_1.expectInt32(output.MinimumNumberOfQueryingUsers),
|
|
6292
|
-
MinimumQueryCount: smithy_client_1.expectInt32(output.MinimumQueryCount),
|
|
6293
|
-
Mode: smithy_client_1.expectString(output.Mode),
|
|
6294
|
-
QueryLogLookBackWindowInDays: smithy_client_1.expectInt32(output.QueryLogLookBackWindowInDays),
|
|
6295
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6296
|
-
TotalSuggestionsCount: smithy_client_1.expectInt32(output.TotalSuggestionsCount),
|
|
6371
|
+
MinimumNumberOfQueryingUsers: (0, smithy_client_1.expectInt32)(output.MinimumNumberOfQueryingUsers),
|
|
6372
|
+
MinimumQueryCount: (0, smithy_client_1.expectInt32)(output.MinimumQueryCount),
|
|
6373
|
+
Mode: (0, smithy_client_1.expectString)(output.Mode),
|
|
6374
|
+
QueryLogLookBackWindowInDays: (0, smithy_client_1.expectInt32)(output.QueryLogLookBackWindowInDays),
|
|
6375
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6376
|
+
TotalSuggestionsCount: (0, smithy_client_1.expectInt32)(output.TotalSuggestionsCount),
|
|
6297
6377
|
};
|
|
6298
6378
|
};
|
|
6299
6379
|
const deserializeAws_json1_1DescribeThesaurusResponse = (output, context) => {
|
|
6300
6380
|
return {
|
|
6301
6381
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6302
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6303
|
-
: undefined,
|
|
6304
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6305
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6306
|
-
FileSizeBytes: smithy_client_1.expectLong(output.FileSizeBytes),
|
|
6307
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6308
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6309
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6310
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6382
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6383
|
+
: undefined,
|
|
6384
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
6385
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
6386
|
+
FileSizeBytes: (0, smithy_client_1.expectLong)(output.FileSizeBytes),
|
|
6387
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
6388
|
+
IndexId: (0, smithy_client_1.expectString)(output.IndexId),
|
|
6389
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6390
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
6311
6391
|
SourceS3Path: output.SourceS3Path !== undefined && output.SourceS3Path !== null
|
|
6312
6392
|
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
6313
6393
|
: undefined,
|
|
6314
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6315
|
-
SynonymRuleCount: smithy_client_1.expectLong(output.SynonymRuleCount),
|
|
6316
|
-
TermCount: smithy_client_1.expectLong(output.TermCount),
|
|
6394
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6395
|
+
SynonymRuleCount: (0, smithy_client_1.expectLong)(output.SynonymRuleCount),
|
|
6396
|
+
TermCount: (0, smithy_client_1.expectLong)(output.TermCount),
|
|
6317
6397
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6318
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6398
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
6319
6399
|
: undefined,
|
|
6320
6400
|
};
|
|
6321
6401
|
};
|
|
@@ -6335,7 +6415,7 @@ const deserializeAws_json1_1DisassociatePersonasFromEntitiesResponse = (output,
|
|
|
6335
6415
|
};
|
|
6336
6416
|
const deserializeAws_json1_1DocumentAttribute = (output, context) => {
|
|
6337
6417
|
return {
|
|
6338
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
6418
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
6339
6419
|
Value: output.Value !== undefined && output.Value !== null
|
|
6340
6420
|
? deserializeAws_json1_1DocumentAttributeValue(output.Value, context)
|
|
6341
6421
|
: undefined,
|
|
@@ -6343,11 +6423,11 @@ const deserializeAws_json1_1DocumentAttribute = (output, context) => {
|
|
|
6343
6423
|
};
|
|
6344
6424
|
const deserializeAws_json1_1DocumentAttributeCondition = (output, context) => {
|
|
6345
6425
|
return {
|
|
6346
|
-
ConditionDocumentAttributeKey: smithy_client_1.expectString(output.ConditionDocumentAttributeKey),
|
|
6426
|
+
ConditionDocumentAttributeKey: (0, smithy_client_1.expectString)(output.ConditionDocumentAttributeKey),
|
|
6347
6427
|
ConditionOnValue: output.ConditionOnValue !== undefined && output.ConditionOnValue !== null
|
|
6348
6428
|
? deserializeAws_json1_1DocumentAttributeValue(output.ConditionOnValue, context)
|
|
6349
6429
|
: undefined,
|
|
6350
|
-
Operator: smithy_client_1.expectString(output.Operator),
|
|
6430
|
+
Operator: (0, smithy_client_1.expectString)(output.Operator),
|
|
6351
6431
|
};
|
|
6352
6432
|
};
|
|
6353
6433
|
const deserializeAws_json1_1DocumentAttributeList = (output, context) => {
|
|
@@ -6368,34 +6448,34 @@ const deserializeAws_json1_1DocumentAttributeStringListValue = (output, context)
|
|
|
6368
6448
|
if (entry === null) {
|
|
6369
6449
|
return null;
|
|
6370
6450
|
}
|
|
6371
|
-
return smithy_client_1.expectString(entry);
|
|
6451
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6372
6452
|
});
|
|
6373
6453
|
return retVal;
|
|
6374
6454
|
};
|
|
6375
6455
|
const deserializeAws_json1_1DocumentAttributeTarget = (output, context) => {
|
|
6376
6456
|
return {
|
|
6377
|
-
TargetDocumentAttributeKey: smithy_client_1.expectString(output.TargetDocumentAttributeKey),
|
|
6457
|
+
TargetDocumentAttributeKey: (0, smithy_client_1.expectString)(output.TargetDocumentAttributeKey),
|
|
6378
6458
|
TargetDocumentAttributeValue: output.TargetDocumentAttributeValue !== undefined && output.TargetDocumentAttributeValue !== null
|
|
6379
6459
|
? deserializeAws_json1_1DocumentAttributeValue(output.TargetDocumentAttributeValue, context)
|
|
6380
6460
|
: undefined,
|
|
6381
|
-
TargetDocumentAttributeValueDeletion: smithy_client_1.expectBoolean(output.TargetDocumentAttributeValueDeletion),
|
|
6461
|
+
TargetDocumentAttributeValueDeletion: (0, smithy_client_1.expectBoolean)(output.TargetDocumentAttributeValueDeletion),
|
|
6382
6462
|
};
|
|
6383
6463
|
};
|
|
6384
6464
|
const deserializeAws_json1_1DocumentAttributeValue = (output, context) => {
|
|
6385
6465
|
return {
|
|
6386
6466
|
DateValue: output.DateValue !== undefined && output.DateValue !== null
|
|
6387
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateValue)))
|
|
6467
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DateValue)))
|
|
6388
6468
|
: undefined,
|
|
6389
|
-
LongValue: smithy_client_1.expectLong(output.LongValue),
|
|
6469
|
+
LongValue: (0, smithy_client_1.expectLong)(output.LongValue),
|
|
6390
6470
|
StringListValue: output.StringListValue !== undefined && output.StringListValue !== null
|
|
6391
6471
|
? deserializeAws_json1_1DocumentAttributeStringListValue(output.StringListValue, context)
|
|
6392
6472
|
: undefined,
|
|
6393
|
-
StringValue: smithy_client_1.expectString(output.StringValue),
|
|
6473
|
+
StringValue: (0, smithy_client_1.expectString)(output.StringValue),
|
|
6394
6474
|
};
|
|
6395
6475
|
};
|
|
6396
6476
|
const deserializeAws_json1_1DocumentAttributeValueCountPair = (output, context) => {
|
|
6397
6477
|
return {
|
|
6398
|
-
Count: smithy_client_1.expectInt32(output.Count),
|
|
6478
|
+
Count: (0, smithy_client_1.expectInt32)(output.Count),
|
|
6399
6479
|
DocumentAttributeValue: output.DocumentAttributeValue !== undefined && output.DocumentAttributeValue !== null
|
|
6400
6480
|
? deserializeAws_json1_1DocumentAttributeValue(output.DocumentAttributeValue, context)
|
|
6401
6481
|
: undefined,
|
|
@@ -6414,14 +6494,14 @@ const deserializeAws_json1_1DocumentAttributeValueCountPairList = (output, conte
|
|
|
6414
6494
|
};
|
|
6415
6495
|
const deserializeAws_json1_1DocumentMetadataConfiguration = (output, context) => {
|
|
6416
6496
|
return {
|
|
6417
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6497
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6418
6498
|
Relevance: output.Relevance !== undefined && output.Relevance !== null
|
|
6419
6499
|
? deserializeAws_json1_1Relevance(output.Relevance, context)
|
|
6420
6500
|
: undefined,
|
|
6421
6501
|
Search: output.Search !== undefined && output.Search !== null
|
|
6422
6502
|
? deserializeAws_json1_1Search(output.Search, context)
|
|
6423
6503
|
: undefined,
|
|
6424
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
6504
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6425
6505
|
};
|
|
6426
6506
|
};
|
|
6427
6507
|
const deserializeAws_json1_1DocumentMetadataConfigurationList = (output, context) => {
|
|
@@ -6437,7 +6517,7 @@ const deserializeAws_json1_1DocumentMetadataConfigurationList = (output, context
|
|
|
6437
6517
|
};
|
|
6438
6518
|
const deserializeAws_json1_1DocumentsMetadataConfiguration = (output, context) => {
|
|
6439
6519
|
return {
|
|
6440
|
-
S3Prefix: smithy_client_1.expectString(output.S3Prefix),
|
|
6520
|
+
S3Prefix: (0, smithy_client_1.expectString)(output.S3Prefix),
|
|
6441
6521
|
};
|
|
6442
6522
|
};
|
|
6443
6523
|
const deserializeAws_json1_1DocumentStatusList = (output, context) => {
|
|
@@ -6453,11 +6533,11 @@ const deserializeAws_json1_1DocumentStatusList = (output, context) => {
|
|
|
6453
6533
|
};
|
|
6454
6534
|
const deserializeAws_json1_1EntityDisplayData = (output, context) => {
|
|
6455
6535
|
return {
|
|
6456
|
-
FirstName: smithy_client_1.expectString(output.FirstName),
|
|
6457
|
-
GroupName: smithy_client_1.expectString(output.GroupName),
|
|
6458
|
-
IdentifiedUserName: smithy_client_1.expectString(output.IdentifiedUserName),
|
|
6459
|
-
LastName: smithy_client_1.expectString(output.LastName),
|
|
6460
|
-
UserName: smithy_client_1.expectString(output.UserName),
|
|
6536
|
+
FirstName: (0, smithy_client_1.expectString)(output.FirstName),
|
|
6537
|
+
GroupName: (0, smithy_client_1.expectString)(output.GroupName),
|
|
6538
|
+
IdentifiedUserName: (0, smithy_client_1.expectString)(output.IdentifiedUserName),
|
|
6539
|
+
LastName: (0, smithy_client_1.expectString)(output.LastName),
|
|
6540
|
+
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
6461
6541
|
};
|
|
6462
6542
|
};
|
|
6463
6543
|
const deserializeAws_json1_1ExcludeMimeTypesList = (output, context) => {
|
|
@@ -6467,7 +6547,7 @@ const deserializeAws_json1_1ExcludeMimeTypesList = (output, context) => {
|
|
|
6467
6547
|
if (entry === null) {
|
|
6468
6548
|
return null;
|
|
6469
6549
|
}
|
|
6470
|
-
return smithy_client_1.expectString(entry);
|
|
6550
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6471
6551
|
});
|
|
6472
6552
|
return retVal;
|
|
6473
6553
|
};
|
|
@@ -6478,7 +6558,7 @@ const deserializeAws_json1_1ExcludeSharedDrivesList = (output, context) => {
|
|
|
6478
6558
|
if (entry === null) {
|
|
6479
6559
|
return null;
|
|
6480
6560
|
}
|
|
6481
|
-
return smithy_client_1.expectString(entry);
|
|
6561
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6482
6562
|
});
|
|
6483
6563
|
return retVal;
|
|
6484
6564
|
};
|
|
@@ -6489,7 +6569,7 @@ const deserializeAws_json1_1ExcludeUserAccountsList = (output, context) => {
|
|
|
6489
6569
|
if (entry === null) {
|
|
6490
6570
|
return null;
|
|
6491
6571
|
}
|
|
6492
|
-
return smithy_client_1.expectString(entry);
|
|
6572
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6493
6573
|
});
|
|
6494
6574
|
return retVal;
|
|
6495
6575
|
};
|
|
@@ -6505,8 +6585,8 @@ const deserializeAws_json1_1ExperienceConfiguration = (output, context) => {
|
|
|
6505
6585
|
};
|
|
6506
6586
|
const deserializeAws_json1_1ExperienceEndpoint = (output, context) => {
|
|
6507
6587
|
return {
|
|
6508
|
-
Endpoint: smithy_client_1.expectString(output.Endpoint),
|
|
6509
|
-
EndpointType: smithy_client_1.expectString(output.EndpointType),
|
|
6588
|
+
Endpoint: (0, smithy_client_1.expectString)(output.Endpoint),
|
|
6589
|
+
EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
|
|
6510
6590
|
};
|
|
6511
6591
|
};
|
|
6512
6592
|
const deserializeAws_json1_1ExperienceEndpoints = (output, context) => {
|
|
@@ -6525,8 +6605,8 @@ const deserializeAws_json1_1ExperienceEntitiesSummary = (output, context) => {
|
|
|
6525
6605
|
DisplayData: output.DisplayData !== undefined && output.DisplayData !== null
|
|
6526
6606
|
? deserializeAws_json1_1EntityDisplayData(output.DisplayData, context)
|
|
6527
6607
|
: undefined,
|
|
6528
|
-
EntityId: smithy_client_1.expectString(output.EntityId),
|
|
6529
|
-
EntityType: smithy_client_1.expectString(output.EntityType),
|
|
6608
|
+
EntityId: (0, smithy_client_1.expectString)(output.EntityId),
|
|
6609
|
+
EntityType: (0, smithy_client_1.expectString)(output.EntityType),
|
|
6530
6610
|
};
|
|
6531
6611
|
};
|
|
6532
6612
|
const deserializeAws_json1_1ExperienceEntitiesSummaryList = (output, context) => {
|
|
@@ -6543,14 +6623,14 @@ const deserializeAws_json1_1ExperienceEntitiesSummaryList = (output, context) =>
|
|
|
6543
6623
|
const deserializeAws_json1_1ExperiencesSummary = (output, context) => {
|
|
6544
6624
|
return {
|
|
6545
6625
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6546
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6626
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6547
6627
|
: undefined,
|
|
6548
6628
|
Endpoints: output.Endpoints !== undefined && output.Endpoints !== null
|
|
6549
6629
|
? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context)
|
|
6550
6630
|
: undefined,
|
|
6551
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6552
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6553
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6631
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
6632
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6633
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6554
6634
|
};
|
|
6555
6635
|
};
|
|
6556
6636
|
const deserializeAws_json1_1ExperiencesSummaryList = (output, context) => {
|
|
@@ -6566,11 +6646,11 @@ const deserializeAws_json1_1ExperiencesSummaryList = (output, context) => {
|
|
|
6566
6646
|
};
|
|
6567
6647
|
const deserializeAws_json1_1FacetResult = (output, context) => {
|
|
6568
6648
|
return {
|
|
6569
|
-
DocumentAttributeKey: smithy_client_1.expectString(output.DocumentAttributeKey),
|
|
6649
|
+
DocumentAttributeKey: (0, smithy_client_1.expectString)(output.DocumentAttributeKey),
|
|
6570
6650
|
DocumentAttributeValueCountPairs: output.DocumentAttributeValueCountPairs !== undefined && output.DocumentAttributeValueCountPairs !== null
|
|
6571
6651
|
? deserializeAws_json1_1DocumentAttributeValueCountPairList(output.DocumentAttributeValueCountPairs, context)
|
|
6572
6652
|
: undefined,
|
|
6573
|
-
DocumentAttributeValueType: smithy_client_1.expectString(output.DocumentAttributeValueType),
|
|
6653
|
+
DocumentAttributeValueType: (0, smithy_client_1.expectString)(output.DocumentAttributeValueType),
|
|
6574
6654
|
};
|
|
6575
6655
|
};
|
|
6576
6656
|
const deserializeAws_json1_1FacetResultList = (output, context) => {
|
|
@@ -6586,8 +6666,8 @@ const deserializeAws_json1_1FacetResultList = (output, context) => {
|
|
|
6586
6666
|
};
|
|
6587
6667
|
const deserializeAws_json1_1FailedEntity = (output, context) => {
|
|
6588
6668
|
return {
|
|
6589
|
-
EntityId: smithy_client_1.expectString(output.EntityId),
|
|
6590
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6669
|
+
EntityId: (0, smithy_client_1.expectString)(output.EntityId),
|
|
6670
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
6591
6671
|
};
|
|
6592
6672
|
};
|
|
6593
6673
|
const deserializeAws_json1_1FailedEntityList = (output, context) => {
|
|
@@ -6608,27 +6688,27 @@ const deserializeAws_json1_1FaqIdsList = (output, context) => {
|
|
|
6608
6688
|
if (entry === null) {
|
|
6609
6689
|
return null;
|
|
6610
6690
|
}
|
|
6611
|
-
return smithy_client_1.expectString(entry);
|
|
6691
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6612
6692
|
});
|
|
6613
6693
|
return retVal;
|
|
6614
6694
|
};
|
|
6615
6695
|
const deserializeAws_json1_1FaqStatistics = (output, context) => {
|
|
6616
6696
|
return {
|
|
6617
|
-
IndexedQuestionAnswersCount: smithy_client_1.expectInt32(output.IndexedQuestionAnswersCount),
|
|
6697
|
+
IndexedQuestionAnswersCount: (0, smithy_client_1.expectInt32)(output.IndexedQuestionAnswersCount),
|
|
6618
6698
|
};
|
|
6619
6699
|
};
|
|
6620
6700
|
const deserializeAws_json1_1FaqSummary = (output, context) => {
|
|
6621
6701
|
return {
|
|
6622
6702
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6623
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6703
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6624
6704
|
: undefined,
|
|
6625
|
-
FileFormat: smithy_client_1.expectString(output.FileFormat),
|
|
6626
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6627
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6628
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6629
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6705
|
+
FileFormat: (0, smithy_client_1.expectString)(output.FileFormat),
|
|
6706
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
6707
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
6708
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6709
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6630
6710
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6631
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6711
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
6632
6712
|
: undefined,
|
|
6633
6713
|
};
|
|
6634
6714
|
};
|
|
@@ -6651,12 +6731,12 @@ const deserializeAws_json1_1FsxConfiguration = (output, context) => {
|
|
|
6651
6731
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
6652
6732
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
6653
6733
|
: undefined,
|
|
6654
|
-
FileSystemId: smithy_client_1.expectString(output.FileSystemId),
|
|
6655
|
-
FileSystemType: smithy_client_1.expectString(output.FileSystemType),
|
|
6734
|
+
FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
|
|
6735
|
+
FileSystemType: (0, smithy_client_1.expectString)(output.FileSystemType),
|
|
6656
6736
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
6657
6737
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6658
6738
|
: undefined,
|
|
6659
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
6739
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
6660
6740
|
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
6661
6741
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6662
6742
|
: undefined,
|
|
@@ -6664,7 +6744,7 @@ const deserializeAws_json1_1FsxConfiguration = (output, context) => {
|
|
|
6664
6744
|
};
|
|
6665
6745
|
const deserializeAws_json1_1GetQuerySuggestionsResponse = (output, context) => {
|
|
6666
6746
|
return {
|
|
6667
|
-
QuerySuggestionsId: smithy_client_1.expectString(output.QuerySuggestionsId),
|
|
6747
|
+
QuerySuggestionsId: (0, smithy_client_1.expectString)(output.QuerySuggestionsId),
|
|
6668
6748
|
Suggestions: output.Suggestions !== undefined && output.Suggestions !== null
|
|
6669
6749
|
? deserializeAws_json1_1SuggestionList(output.Suggestions, context)
|
|
6670
6750
|
: undefined,
|
|
@@ -6672,7 +6752,7 @@ const deserializeAws_json1_1GetQuerySuggestionsResponse = (output, context) => {
|
|
|
6672
6752
|
};
|
|
6673
6753
|
const deserializeAws_json1_1GetSnapshotsResponse = (output, context) => {
|
|
6674
6754
|
return {
|
|
6675
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6755
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6676
6756
|
SnapShotTimeFilter: output.SnapShotTimeFilter !== undefined && output.SnapShotTimeFilter !== null
|
|
6677
6757
|
? deserializeAws_json1_1TimeRange(output.SnapShotTimeFilter, context)
|
|
6678
6758
|
: undefined,
|
|
@@ -6704,7 +6784,7 @@ const deserializeAws_json1_1GoogleDriveConfiguration = (output, context) => {
|
|
|
6704
6784
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
6705
6785
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6706
6786
|
: undefined,
|
|
6707
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
6787
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
6708
6788
|
};
|
|
6709
6789
|
};
|
|
6710
6790
|
const deserializeAws_json1_1GroupOrderingIdSummaries = (output, context) => {
|
|
@@ -6720,29 +6800,29 @@ const deserializeAws_json1_1GroupOrderingIdSummaries = (output, context) => {
|
|
|
6720
6800
|
};
|
|
6721
6801
|
const deserializeAws_json1_1GroupOrderingIdSummary = (output, context) => {
|
|
6722
6802
|
return {
|
|
6723
|
-
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
6803
|
+
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
6724
6804
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
6725
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
6805
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
|
|
6726
6806
|
: undefined,
|
|
6727
|
-
OrderingId: smithy_client_1.expectLong(output.OrderingId),
|
|
6807
|
+
OrderingId: (0, smithy_client_1.expectLong)(output.OrderingId),
|
|
6728
6808
|
ReceivedAt: output.ReceivedAt !== undefined && output.ReceivedAt !== null
|
|
6729
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReceivedAt)))
|
|
6809
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReceivedAt)))
|
|
6730
6810
|
: undefined,
|
|
6731
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6811
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6732
6812
|
};
|
|
6733
6813
|
};
|
|
6734
6814
|
const deserializeAws_json1_1GroupSummary = (output, context) => {
|
|
6735
6815
|
return {
|
|
6736
|
-
GroupId: smithy_client_1.expectString(output.GroupId),
|
|
6737
|
-
OrderingId: smithy_client_1.expectLong(output.OrderingId),
|
|
6816
|
+
GroupId: (0, smithy_client_1.expectString)(output.GroupId),
|
|
6817
|
+
OrderingId: (0, smithy_client_1.expectLong)(output.OrderingId),
|
|
6738
6818
|
};
|
|
6739
6819
|
};
|
|
6740
6820
|
const deserializeAws_json1_1Highlight = (output, context) => {
|
|
6741
6821
|
return {
|
|
6742
|
-
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
6743
|
-
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
6744
|
-
TopAnswer: smithy_client_1.expectBoolean(output.TopAnswer),
|
|
6745
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
6822
|
+
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
6823
|
+
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
6824
|
+
TopAnswer: (0, smithy_client_1.expectBoolean)(output.TopAnswer),
|
|
6825
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6746
6826
|
};
|
|
6747
6827
|
};
|
|
6748
6828
|
const deserializeAws_json1_1HighlightList = (output, context) => {
|
|
@@ -6761,21 +6841,21 @@ const deserializeAws_json1_1HookConfiguration = (output, context) => {
|
|
|
6761
6841
|
InvocationCondition: output.InvocationCondition !== undefined && output.InvocationCondition !== null
|
|
6762
6842
|
? deserializeAws_json1_1DocumentAttributeCondition(output.InvocationCondition, context)
|
|
6763
6843
|
: undefined,
|
|
6764
|
-
LambdaArn: smithy_client_1.expectString(output.LambdaArn),
|
|
6765
|
-
S3Bucket: smithy_client_1.expectString(output.S3Bucket),
|
|
6844
|
+
LambdaArn: (0, smithy_client_1.expectString)(output.LambdaArn),
|
|
6845
|
+
S3Bucket: (0, smithy_client_1.expectString)(output.S3Bucket),
|
|
6766
6846
|
};
|
|
6767
6847
|
};
|
|
6768
6848
|
const deserializeAws_json1_1IndexConfigurationSummary = (output, context) => {
|
|
6769
6849
|
return {
|
|
6770
6850
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6771
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6851
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6772
6852
|
: undefined,
|
|
6773
|
-
Edition: smithy_client_1.expectString(output.Edition),
|
|
6774
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6775
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6776
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6853
|
+
Edition: (0, smithy_client_1.expectString)(output.Edition),
|
|
6854
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
6855
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6856
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6777
6857
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6778
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6858
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
6779
6859
|
: undefined,
|
|
6780
6860
|
};
|
|
6781
6861
|
};
|
|
@@ -6805,7 +6885,7 @@ const deserializeAws_json1_1InlineCustomDocumentEnrichmentConfiguration = (outpu
|
|
|
6805
6885
|
Condition: output.Condition !== undefined && output.Condition !== null
|
|
6806
6886
|
? deserializeAws_json1_1DocumentAttributeCondition(output.Condition, context)
|
|
6807
6887
|
: undefined,
|
|
6808
|
-
DocumentContentDeletion: smithy_client_1.expectBoolean(output.DocumentContentDeletion),
|
|
6888
|
+
DocumentContentDeletion: (0, smithy_client_1.expectBoolean)(output.DocumentContentDeletion),
|
|
6809
6889
|
Target: output.Target !== undefined && output.Target !== null
|
|
6810
6890
|
? deserializeAws_json1_1DocumentAttributeTarget(output.Target, context)
|
|
6811
6891
|
: undefined,
|
|
@@ -6824,34 +6904,34 @@ const deserializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList = (o
|
|
|
6824
6904
|
};
|
|
6825
6905
|
const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
6826
6906
|
return {
|
|
6827
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6907
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6828
6908
|
};
|
|
6829
6909
|
};
|
|
6830
6910
|
const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
6831
6911
|
return {
|
|
6832
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6912
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6833
6913
|
};
|
|
6834
6914
|
};
|
|
6835
6915
|
const deserializeAws_json1_1JsonTokenTypeConfiguration = (output, context) => {
|
|
6836
6916
|
return {
|
|
6837
|
-
GroupAttributeField: smithy_client_1.expectString(output.GroupAttributeField),
|
|
6838
|
-
UserNameAttributeField: smithy_client_1.expectString(output.UserNameAttributeField),
|
|
6917
|
+
GroupAttributeField: (0, smithy_client_1.expectString)(output.GroupAttributeField),
|
|
6918
|
+
UserNameAttributeField: (0, smithy_client_1.expectString)(output.UserNameAttributeField),
|
|
6839
6919
|
};
|
|
6840
6920
|
};
|
|
6841
6921
|
const deserializeAws_json1_1JwtTokenTypeConfiguration = (output, context) => {
|
|
6842
6922
|
return {
|
|
6843
|
-
ClaimRegex: smithy_client_1.expectString(output.ClaimRegex),
|
|
6844
|
-
GroupAttributeField: smithy_client_1.expectString(output.GroupAttributeField),
|
|
6845
|
-
Issuer: smithy_client_1.expectString(output.Issuer),
|
|
6846
|
-
KeyLocation: smithy_client_1.expectString(output.KeyLocation),
|
|
6847
|
-
SecretManagerArn: smithy_client_1.expectString(output.SecretManagerArn),
|
|
6848
|
-
URL: smithy_client_1.expectString(output.URL),
|
|
6849
|
-
UserNameAttributeField: smithy_client_1.expectString(output.UserNameAttributeField),
|
|
6923
|
+
ClaimRegex: (0, smithy_client_1.expectString)(output.ClaimRegex),
|
|
6924
|
+
GroupAttributeField: (0, smithy_client_1.expectString)(output.GroupAttributeField),
|
|
6925
|
+
Issuer: (0, smithy_client_1.expectString)(output.Issuer),
|
|
6926
|
+
KeyLocation: (0, smithy_client_1.expectString)(output.KeyLocation),
|
|
6927
|
+
SecretManagerArn: (0, smithy_client_1.expectString)(output.SecretManagerArn),
|
|
6928
|
+
URL: (0, smithy_client_1.expectString)(output.URL),
|
|
6929
|
+
UserNameAttributeField: (0, smithy_client_1.expectString)(output.UserNameAttributeField),
|
|
6850
6930
|
};
|
|
6851
6931
|
};
|
|
6852
6932
|
const deserializeAws_json1_1ListDataSourcesResponse = (output, context) => {
|
|
6853
6933
|
return {
|
|
6854
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6934
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6855
6935
|
SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
|
|
6856
6936
|
? deserializeAws_json1_1DataSourceSummaryList(output.SummaryItems, context)
|
|
6857
6937
|
: undefined,
|
|
@@ -6862,12 +6942,12 @@ const deserializeAws_json1_1ListDataSourceSyncJobsResponse = (output, context) =
|
|
|
6862
6942
|
History: output.History !== undefined && output.History !== null
|
|
6863
6943
|
? deserializeAws_json1_1DataSourceSyncJobHistoryList(output.History, context)
|
|
6864
6944
|
: undefined,
|
|
6865
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6945
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6866
6946
|
};
|
|
6867
6947
|
};
|
|
6868
6948
|
const deserializeAws_json1_1ListEntityPersonasResponse = (output, context) => {
|
|
6869
6949
|
return {
|
|
6870
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6950
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6871
6951
|
SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
|
|
6872
6952
|
? deserializeAws_json1_1PersonasSummaryList(output.SummaryItems, context)
|
|
6873
6953
|
: undefined,
|
|
@@ -6875,7 +6955,7 @@ const deserializeAws_json1_1ListEntityPersonasResponse = (output, context) => {
|
|
|
6875
6955
|
};
|
|
6876
6956
|
const deserializeAws_json1_1ListExperienceEntitiesResponse = (output, context) => {
|
|
6877
6957
|
return {
|
|
6878
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6958
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6879
6959
|
SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
|
|
6880
6960
|
? deserializeAws_json1_1ExperienceEntitiesSummaryList(output.SummaryItems, context)
|
|
6881
6961
|
: undefined,
|
|
@@ -6883,7 +6963,7 @@ const deserializeAws_json1_1ListExperienceEntitiesResponse = (output, context) =
|
|
|
6883
6963
|
};
|
|
6884
6964
|
const deserializeAws_json1_1ListExperiencesResponse = (output, context) => {
|
|
6885
6965
|
return {
|
|
6886
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6966
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6887
6967
|
SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
|
|
6888
6968
|
? deserializeAws_json1_1ExperiencesSummaryList(output.SummaryItems, context)
|
|
6889
6969
|
: undefined,
|
|
@@ -6894,7 +6974,7 @@ const deserializeAws_json1_1ListFaqsResponse = (output, context) => {
|
|
|
6894
6974
|
FaqSummaryItems: output.FaqSummaryItems !== undefined && output.FaqSummaryItems !== null
|
|
6895
6975
|
? deserializeAws_json1_1FaqSummaryItems(output.FaqSummaryItems, context)
|
|
6896
6976
|
: undefined,
|
|
6897
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6977
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6898
6978
|
};
|
|
6899
6979
|
};
|
|
6900
6980
|
const deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = (output, context) => {
|
|
@@ -6902,7 +6982,7 @@ const deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = (output, con
|
|
|
6902
6982
|
GroupsSummaries: output.GroupsSummaries !== undefined && output.GroupsSummaries !== null
|
|
6903
6983
|
? deserializeAws_json1_1ListOfGroupSummaries(output.GroupsSummaries, context)
|
|
6904
6984
|
: undefined,
|
|
6905
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6985
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6906
6986
|
};
|
|
6907
6987
|
};
|
|
6908
6988
|
const deserializeAws_json1_1ListIndicesResponse = (output, context) => {
|
|
@@ -6910,7 +6990,7 @@ const deserializeAws_json1_1ListIndicesResponse = (output, context) => {
|
|
|
6910
6990
|
IndexConfigurationSummaryItems: output.IndexConfigurationSummaryItems !== undefined && output.IndexConfigurationSummaryItems !== null
|
|
6911
6991
|
? deserializeAws_json1_1IndexConfigurationSummaryList(output.IndexConfigurationSummaryItems, context)
|
|
6912
6992
|
: undefined,
|
|
6913
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6993
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6914
6994
|
};
|
|
6915
6995
|
};
|
|
6916
6996
|
const deserializeAws_json1_1ListOfGroupSummaries = (output, context) => {
|
|
@@ -6929,7 +7009,7 @@ const deserializeAws_json1_1ListQuerySuggestionsBlockListsResponse = (output, co
|
|
|
6929
7009
|
BlockListSummaryItems: output.BlockListSummaryItems !== undefined && output.BlockListSummaryItems !== null
|
|
6930
7010
|
? deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems(output.BlockListSummaryItems, context)
|
|
6931
7011
|
: undefined,
|
|
6932
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7012
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6933
7013
|
};
|
|
6934
7014
|
};
|
|
6935
7015
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
@@ -6941,7 +7021,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
6941
7021
|
};
|
|
6942
7022
|
const deserializeAws_json1_1ListThesauriResponse = (output, context) => {
|
|
6943
7023
|
return {
|
|
6944
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7024
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6945
7025
|
ThesaurusSummaryItems: output.ThesaurusSummaryItems !== undefined && output.ThesaurusSummaryItems !== null
|
|
6946
7026
|
? deserializeAws_json1_1ThesaurusSummaryItems(output.ThesaurusSummaryItems, context)
|
|
6947
7027
|
: undefined,
|
|
@@ -6949,7 +7029,7 @@ const deserializeAws_json1_1ListThesauriResponse = (output, context) => {
|
|
|
6949
7029
|
};
|
|
6950
7030
|
const deserializeAws_json1_1OneDriveConfiguration = (output, context) => {
|
|
6951
7031
|
return {
|
|
6952
|
-
DisableLocalGroups: smithy_client_1.expectBoolean(output.DisableLocalGroups),
|
|
7032
|
+
DisableLocalGroups: (0, smithy_client_1.expectBoolean)(output.DisableLocalGroups),
|
|
6953
7033
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
6954
7034
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
6955
7035
|
: undefined,
|
|
@@ -6962,8 +7042,8 @@ const deserializeAws_json1_1OneDriveConfiguration = (output, context) => {
|
|
|
6962
7042
|
OneDriveUsers: output.OneDriveUsers !== undefined && output.OneDriveUsers !== null
|
|
6963
7043
|
? deserializeAws_json1_1OneDriveUsers(output.OneDriveUsers, context)
|
|
6964
7044
|
: undefined,
|
|
6965
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
6966
|
-
TenantDomain: smithy_client_1.expectString(output.TenantDomain),
|
|
7045
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
7046
|
+
TenantDomain: (0, smithy_client_1.expectString)(output.TenantDomain),
|
|
6967
7047
|
};
|
|
6968
7048
|
};
|
|
6969
7049
|
const deserializeAws_json1_1OneDriveUserList = (output, context) => {
|
|
@@ -6973,7 +7053,7 @@ const deserializeAws_json1_1OneDriveUserList = (output, context) => {
|
|
|
6973
7053
|
if (entry === null) {
|
|
6974
7054
|
return null;
|
|
6975
7055
|
}
|
|
6976
|
-
return smithy_client_1.expectString(entry);
|
|
7056
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6977
7057
|
});
|
|
6978
7058
|
return retVal;
|
|
6979
7059
|
};
|
|
@@ -6990,12 +7070,12 @@ const deserializeAws_json1_1OneDriveUsers = (output, context) => {
|
|
|
6990
7070
|
const deserializeAws_json1_1PersonasSummary = (output, context) => {
|
|
6991
7071
|
return {
|
|
6992
7072
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6993
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
7073
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
6994
7074
|
: undefined,
|
|
6995
|
-
EntityId: smithy_client_1.expectString(output.EntityId),
|
|
6996
|
-
Persona: smithy_client_1.expectString(output.Persona),
|
|
7075
|
+
EntityId: (0, smithy_client_1.expectString)(output.EntityId),
|
|
7076
|
+
Persona: (0, smithy_client_1.expectString)(output.Persona),
|
|
6997
7077
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6998
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
7078
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
6999
7079
|
: undefined,
|
|
7000
7080
|
};
|
|
7001
7081
|
};
|
|
@@ -7010,26 +7090,48 @@ const deserializeAws_json1_1PersonasSummaryList = (output, context) => {
|
|
|
7010
7090
|
});
|
|
7011
7091
|
return retVal;
|
|
7012
7092
|
};
|
|
7093
|
+
const deserializeAws_json1_1PrivateChannelFilter = (output, context) => {
|
|
7094
|
+
const retVal = (output || [])
|
|
7095
|
+
.filter((e) => e != null)
|
|
7096
|
+
.map((entry) => {
|
|
7097
|
+
if (entry === null) {
|
|
7098
|
+
return null;
|
|
7099
|
+
}
|
|
7100
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7101
|
+
});
|
|
7102
|
+
return retVal;
|
|
7103
|
+
};
|
|
7013
7104
|
const deserializeAws_json1_1ProxyConfiguration = (output, context) => {
|
|
7014
7105
|
return {
|
|
7015
|
-
Credentials: smithy_client_1.expectString(output.Credentials),
|
|
7016
|
-
Host: smithy_client_1.expectString(output.Host),
|
|
7017
|
-
Port: smithy_client_1.expectInt32(output.Port),
|
|
7106
|
+
Credentials: (0, smithy_client_1.expectString)(output.Credentials),
|
|
7107
|
+
Host: (0, smithy_client_1.expectString)(output.Host),
|
|
7108
|
+
Port: (0, smithy_client_1.expectInt32)(output.Port),
|
|
7018
7109
|
};
|
|
7019
7110
|
};
|
|
7111
|
+
const deserializeAws_json1_1PublicChannelFilter = (output, context) => {
|
|
7112
|
+
const retVal = (output || [])
|
|
7113
|
+
.filter((e) => e != null)
|
|
7114
|
+
.map((entry) => {
|
|
7115
|
+
if (entry === null) {
|
|
7116
|
+
return null;
|
|
7117
|
+
}
|
|
7118
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7119
|
+
});
|
|
7120
|
+
return retVal;
|
|
7121
|
+
};
|
|
7020
7122
|
const deserializeAws_json1_1QueryResult = (output, context) => {
|
|
7021
7123
|
return {
|
|
7022
7124
|
FacetResults: output.FacetResults !== undefined && output.FacetResults !== null
|
|
7023
7125
|
? deserializeAws_json1_1FacetResultList(output.FacetResults, context)
|
|
7024
7126
|
: undefined,
|
|
7025
|
-
QueryId: smithy_client_1.expectString(output.QueryId),
|
|
7127
|
+
QueryId: (0, smithy_client_1.expectString)(output.QueryId),
|
|
7026
7128
|
ResultItems: output.ResultItems !== undefined && output.ResultItems !== null
|
|
7027
7129
|
? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context)
|
|
7028
7130
|
: undefined,
|
|
7029
7131
|
SpellCorrectedQueries: output.SpellCorrectedQueries !== undefined && output.SpellCorrectedQueries !== null
|
|
7030
7132
|
? deserializeAws_json1_1SpellCorrectedQueryList(output.SpellCorrectedQueries, context)
|
|
7031
7133
|
: undefined,
|
|
7032
|
-
TotalNumberOfResults: smithy_client_1.expectInt32(output.TotalNumberOfResults),
|
|
7134
|
+
TotalNumberOfResults: (0, smithy_client_1.expectInt32)(output.TotalNumberOfResults),
|
|
7033
7135
|
Warnings: output.Warnings !== undefined && output.Warnings !== null
|
|
7034
7136
|
? deserializeAws_json1_1WarningList(output.Warnings, context)
|
|
7035
7137
|
: undefined,
|
|
@@ -7046,17 +7148,17 @@ const deserializeAws_json1_1QueryResultItem = (output, context) => {
|
|
|
7046
7148
|
DocumentExcerpt: output.DocumentExcerpt !== undefined && output.DocumentExcerpt !== null
|
|
7047
7149
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentExcerpt, context)
|
|
7048
7150
|
: undefined,
|
|
7049
|
-
DocumentId: smithy_client_1.expectString(output.DocumentId),
|
|
7151
|
+
DocumentId: (0, smithy_client_1.expectString)(output.DocumentId),
|
|
7050
7152
|
DocumentTitle: output.DocumentTitle !== undefined && output.DocumentTitle !== null
|
|
7051
7153
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentTitle, context)
|
|
7052
7154
|
: undefined,
|
|
7053
|
-
DocumentURI: smithy_client_1.expectString(output.DocumentURI),
|
|
7054
|
-
FeedbackToken: smithy_client_1.expectString(output.FeedbackToken),
|
|
7055
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7155
|
+
DocumentURI: (0, smithy_client_1.expectString)(output.DocumentURI),
|
|
7156
|
+
FeedbackToken: (0, smithy_client_1.expectString)(output.FeedbackToken),
|
|
7157
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
7056
7158
|
ScoreAttributes: output.ScoreAttributes !== undefined && output.ScoreAttributes !== null
|
|
7057
7159
|
? deserializeAws_json1_1ScoreAttributes(output.ScoreAttributes, context)
|
|
7058
7160
|
: undefined,
|
|
7059
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
7161
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
7060
7162
|
};
|
|
7061
7163
|
};
|
|
7062
7164
|
const deserializeAws_json1_1QueryResultItemList = (output, context) => {
|
|
@@ -7073,14 +7175,14 @@ const deserializeAws_json1_1QueryResultItemList = (output, context) => {
|
|
|
7073
7175
|
const deserializeAws_json1_1QuerySuggestionsBlockListSummary = (output, context) => {
|
|
7074
7176
|
return {
|
|
7075
7177
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
7076
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
7178
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
7077
7179
|
: undefined,
|
|
7078
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7079
|
-
ItemCount: smithy_client_1.expectInt32(output.ItemCount),
|
|
7080
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7081
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
7180
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
7181
|
+
ItemCount: (0, smithy_client_1.expectInt32)(output.ItemCount),
|
|
7182
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7183
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
7082
7184
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
7083
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
7185
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
7084
7186
|
: undefined,
|
|
7085
7187
|
};
|
|
7086
7188
|
};
|
|
@@ -7097,10 +7199,10 @@ const deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = (output, con
|
|
|
7097
7199
|
};
|
|
7098
7200
|
const deserializeAws_json1_1Relevance = (output, context) => {
|
|
7099
7201
|
return {
|
|
7100
|
-
Duration: smithy_client_1.expectString(output.Duration),
|
|
7101
|
-
Freshness: smithy_client_1.expectBoolean(output.Freshness),
|
|
7102
|
-
Importance: smithy_client_1.expectInt32(output.Importance),
|
|
7103
|
-
RankOrder: smithy_client_1.expectString(output.RankOrder),
|
|
7202
|
+
Duration: (0, smithy_client_1.expectString)(output.Duration),
|
|
7203
|
+
Freshness: (0, smithy_client_1.expectBoolean)(output.Freshness),
|
|
7204
|
+
Importance: (0, smithy_client_1.expectInt32)(output.Importance),
|
|
7205
|
+
RankOrder: (0, smithy_client_1.expectString)(output.RankOrder),
|
|
7104
7206
|
ValueImportanceMap: output.ValueImportanceMap !== undefined && output.ValueImportanceMap !== null
|
|
7105
7207
|
? deserializeAws_json1_1ValueImportanceMap(output.ValueImportanceMap, context)
|
|
7106
7208
|
: undefined,
|
|
@@ -7108,22 +7210,22 @@ const deserializeAws_json1_1Relevance = (output, context) => {
|
|
|
7108
7210
|
};
|
|
7109
7211
|
const deserializeAws_json1_1ResourceAlreadyExistException = (output, context) => {
|
|
7110
7212
|
return {
|
|
7111
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7213
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7112
7214
|
};
|
|
7113
7215
|
};
|
|
7114
7216
|
const deserializeAws_json1_1ResourceInUseException = (output, context) => {
|
|
7115
7217
|
return {
|
|
7116
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7218
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7117
7219
|
};
|
|
7118
7220
|
};
|
|
7119
7221
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
7120
7222
|
return {
|
|
7121
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7223
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7122
7224
|
};
|
|
7123
7225
|
};
|
|
7124
7226
|
const deserializeAws_json1_1ResourceUnavailableException = (output, context) => {
|
|
7125
7227
|
return {
|
|
7126
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7228
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7127
7229
|
};
|
|
7128
7230
|
};
|
|
7129
7231
|
const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
@@ -7131,7 +7233,7 @@ const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
|
7131
7233
|
AccessControlListConfiguration: output.AccessControlListConfiguration !== undefined && output.AccessControlListConfiguration !== null
|
|
7132
7234
|
? deserializeAws_json1_1AccessControlListConfiguration(output.AccessControlListConfiguration, context)
|
|
7133
7235
|
: undefined,
|
|
7134
|
-
BucketName: smithy_client_1.expectString(output.BucketName),
|
|
7236
|
+
BucketName: (0, smithy_client_1.expectString)(output.BucketName),
|
|
7135
7237
|
DocumentsMetadataConfiguration: output.DocumentsMetadataConfiguration !== undefined && output.DocumentsMetadataConfiguration !== null
|
|
7136
7238
|
? deserializeAws_json1_1DocumentsMetadataConfiguration(output.DocumentsMetadataConfiguration, context)
|
|
7137
7239
|
: undefined,
|
|
@@ -7148,14 +7250,14 @@ const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
|
7148
7250
|
};
|
|
7149
7251
|
const deserializeAws_json1_1S3Path = (output, context) => {
|
|
7150
7252
|
return {
|
|
7151
|
-
Bucket: smithy_client_1.expectString(output.Bucket),
|
|
7152
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
7253
|
+
Bucket: (0, smithy_client_1.expectString)(output.Bucket),
|
|
7254
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
7153
7255
|
};
|
|
7154
7256
|
};
|
|
7155
7257
|
const deserializeAws_json1_1SalesforceChatterFeedConfiguration = (output, context) => {
|
|
7156
7258
|
return {
|
|
7157
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7158
|
-
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7259
|
+
DocumentDataFieldName: (0, smithy_client_1.expectString)(output.DocumentDataFieldName),
|
|
7260
|
+
DocumentTitleFieldName: (0, smithy_client_1.expectString)(output.DocumentTitleFieldName),
|
|
7159
7261
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7160
7262
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7161
7263
|
: undefined,
|
|
@@ -7171,7 +7273,7 @@ const deserializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes = (output, c
|
|
|
7171
7273
|
if (entry === null) {
|
|
7172
7274
|
return null;
|
|
7173
7275
|
}
|
|
7174
|
-
return smithy_client_1.expectString(entry);
|
|
7276
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7175
7277
|
});
|
|
7176
7278
|
return retVal;
|
|
7177
7279
|
};
|
|
@@ -7180,7 +7282,7 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7180
7282
|
ChatterFeedConfiguration: output.ChatterFeedConfiguration !== undefined && output.ChatterFeedConfiguration !== null
|
|
7181
7283
|
? deserializeAws_json1_1SalesforceChatterFeedConfiguration(output.ChatterFeedConfiguration, context)
|
|
7182
7284
|
: undefined,
|
|
7183
|
-
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7285
|
+
CrawlAttachments: (0, smithy_client_1.expectBoolean)(output.CrawlAttachments),
|
|
7184
7286
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7185
7287
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7186
7288
|
: undefined,
|
|
@@ -7190,8 +7292,8 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7190
7292
|
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration !== undefined && output.KnowledgeArticleConfiguration !== null
|
|
7191
7293
|
? deserializeAws_json1_1SalesforceKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
7192
7294
|
: undefined,
|
|
7193
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7194
|
-
ServerUrl: smithy_client_1.expectString(output.ServerUrl),
|
|
7295
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
7296
|
+
ServerUrl: (0, smithy_client_1.expectString)(output.ServerUrl),
|
|
7195
7297
|
StandardObjectAttachmentConfiguration: output.StandardObjectAttachmentConfiguration !== undefined &&
|
|
7196
7298
|
output.StandardObjectAttachmentConfiguration !== null
|
|
7197
7299
|
? deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration(output.StandardObjectAttachmentConfiguration, context)
|
|
@@ -7203,12 +7305,12 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7203
7305
|
};
|
|
7204
7306
|
const deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfiguration = (output, context) => {
|
|
7205
7307
|
return {
|
|
7206
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7207
|
-
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7308
|
+
DocumentDataFieldName: (0, smithy_client_1.expectString)(output.DocumentDataFieldName),
|
|
7309
|
+
DocumentTitleFieldName: (0, smithy_client_1.expectString)(output.DocumentTitleFieldName),
|
|
7208
7310
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7209
7311
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7210
7312
|
: undefined,
|
|
7211
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7313
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7212
7314
|
};
|
|
7213
7315
|
};
|
|
7214
7316
|
const deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList = (output, context) => {
|
|
@@ -7244,14 +7346,14 @@ const deserializeAws_json1_1SalesforceKnowledgeArticleStateList = (output, conte
|
|
|
7244
7346
|
if (entry === null) {
|
|
7245
7347
|
return null;
|
|
7246
7348
|
}
|
|
7247
|
-
return smithy_client_1.expectString(entry);
|
|
7349
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7248
7350
|
});
|
|
7249
7351
|
return retVal;
|
|
7250
7352
|
};
|
|
7251
7353
|
const deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration = (output, context) => {
|
|
7252
7354
|
return {
|
|
7253
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7254
|
-
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7355
|
+
DocumentDataFieldName: (0, smithy_client_1.expectString)(output.DocumentDataFieldName),
|
|
7356
|
+
DocumentTitleFieldName: (0, smithy_client_1.expectString)(output.DocumentTitleFieldName),
|
|
7255
7357
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7256
7358
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7257
7359
|
: undefined,
|
|
@@ -7259,7 +7361,7 @@ const deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration
|
|
|
7259
7361
|
};
|
|
7260
7362
|
const deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = (output, context) => {
|
|
7261
7363
|
return {
|
|
7262
|
-
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7364
|
+
DocumentTitleFieldName: (0, smithy_client_1.expectString)(output.DocumentTitleFieldName),
|
|
7263
7365
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7264
7366
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7265
7367
|
: undefined,
|
|
@@ -7267,12 +7369,12 @@ const deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = (o
|
|
|
7267
7369
|
};
|
|
7268
7370
|
const deserializeAws_json1_1SalesforceStandardObjectConfiguration = (output, context) => {
|
|
7269
7371
|
return {
|
|
7270
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7271
|
-
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7372
|
+
DocumentDataFieldName: (0, smithy_client_1.expectString)(output.DocumentDataFieldName),
|
|
7373
|
+
DocumentTitleFieldName: (0, smithy_client_1.expectString)(output.DocumentTitleFieldName),
|
|
7272
7374
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7273
7375
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7274
7376
|
: undefined,
|
|
7275
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7377
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7276
7378
|
};
|
|
7277
7379
|
};
|
|
7278
7380
|
const deserializeAws_json1_1SalesforceStandardObjectConfigurationList = (output, context) => {
|
|
@@ -7288,15 +7390,15 @@ const deserializeAws_json1_1SalesforceStandardObjectConfigurationList = (output,
|
|
|
7288
7390
|
};
|
|
7289
7391
|
const deserializeAws_json1_1ScoreAttributes = (output, context) => {
|
|
7290
7392
|
return {
|
|
7291
|
-
ScoreConfidence: smithy_client_1.expectString(output.ScoreConfidence),
|
|
7393
|
+
ScoreConfidence: (0, smithy_client_1.expectString)(output.ScoreConfidence),
|
|
7292
7394
|
};
|
|
7293
7395
|
};
|
|
7294
7396
|
const deserializeAws_json1_1Search = (output, context) => {
|
|
7295
7397
|
return {
|
|
7296
|
-
Displayable: smithy_client_1.expectBoolean(output.Displayable),
|
|
7297
|
-
Facetable: smithy_client_1.expectBoolean(output.Facetable),
|
|
7298
|
-
Searchable: smithy_client_1.expectBoolean(output.Searchable),
|
|
7299
|
-
Sortable: smithy_client_1.expectBoolean(output.Sortable),
|
|
7398
|
+
Displayable: (0, smithy_client_1.expectBoolean)(output.Displayable),
|
|
7399
|
+
Facetable: (0, smithy_client_1.expectBoolean)(output.Facetable),
|
|
7400
|
+
Searchable: (0, smithy_client_1.expectBoolean)(output.Searchable),
|
|
7401
|
+
Sortable: (0, smithy_client_1.expectBoolean)(output.Sortable),
|
|
7300
7402
|
};
|
|
7301
7403
|
};
|
|
7302
7404
|
const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
|
|
@@ -7306,7 +7408,7 @@ const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
|
|
|
7306
7408
|
if (entry === null) {
|
|
7307
7409
|
return null;
|
|
7308
7410
|
}
|
|
7309
|
-
return smithy_client_1.expectString(entry);
|
|
7411
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7310
7412
|
});
|
|
7311
7413
|
return retVal;
|
|
7312
7414
|
};
|
|
@@ -7315,7 +7417,7 @@ const deserializeAws_json1_1SeedUrlConfiguration = (output, context) => {
|
|
|
7315
7417
|
SeedUrls: output.SeedUrls !== undefined && output.SeedUrls !== null
|
|
7316
7418
|
? deserializeAws_json1_1SeedUrlList(output.SeedUrls, context)
|
|
7317
7419
|
: undefined,
|
|
7318
|
-
WebCrawlerMode: smithy_client_1.expectString(output.WebCrawlerMode),
|
|
7420
|
+
WebCrawlerMode: (0, smithy_client_1.expectString)(output.WebCrawlerMode),
|
|
7319
7421
|
};
|
|
7320
7422
|
};
|
|
7321
7423
|
const deserializeAws_json1_1SeedUrlList = (output, context) => {
|
|
@@ -7325,41 +7427,41 @@ const deserializeAws_json1_1SeedUrlList = (output, context) => {
|
|
|
7325
7427
|
if (entry === null) {
|
|
7326
7428
|
return null;
|
|
7327
7429
|
}
|
|
7328
|
-
return smithy_client_1.expectString(entry);
|
|
7430
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7329
7431
|
});
|
|
7330
7432
|
return retVal;
|
|
7331
7433
|
};
|
|
7332
7434
|
const deserializeAws_json1_1ServerSideEncryptionConfiguration = (output, context) => {
|
|
7333
7435
|
return {
|
|
7334
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
7436
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
7335
7437
|
};
|
|
7336
7438
|
};
|
|
7337
7439
|
const deserializeAws_json1_1ServiceNowConfiguration = (output, context) => {
|
|
7338
7440
|
return {
|
|
7339
|
-
AuthenticationType: smithy_client_1.expectString(output.AuthenticationType),
|
|
7340
|
-
HostUrl: smithy_client_1.expectString(output.HostUrl),
|
|
7441
|
+
AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
|
|
7442
|
+
HostUrl: (0, smithy_client_1.expectString)(output.HostUrl),
|
|
7341
7443
|
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration !== undefined && output.KnowledgeArticleConfiguration !== null
|
|
7342
7444
|
? deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
7343
7445
|
: undefined,
|
|
7344
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7446
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
7345
7447
|
ServiceCatalogConfiguration: output.ServiceCatalogConfiguration !== undefined && output.ServiceCatalogConfiguration !== null
|
|
7346
7448
|
? deserializeAws_json1_1ServiceNowServiceCatalogConfiguration(output.ServiceCatalogConfiguration, context)
|
|
7347
7449
|
: undefined,
|
|
7348
|
-
ServiceNowBuildVersion: smithy_client_1.expectString(output.ServiceNowBuildVersion),
|
|
7450
|
+
ServiceNowBuildVersion: (0, smithy_client_1.expectString)(output.ServiceNowBuildVersion),
|
|
7349
7451
|
};
|
|
7350
7452
|
};
|
|
7351
7453
|
const deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = (output, context) => {
|
|
7352
7454
|
return {
|
|
7353
|
-
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7354
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7355
|
-
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7455
|
+
CrawlAttachments: (0, smithy_client_1.expectBoolean)(output.CrawlAttachments),
|
|
7456
|
+
DocumentDataFieldName: (0, smithy_client_1.expectString)(output.DocumentDataFieldName),
|
|
7457
|
+
DocumentTitleFieldName: (0, smithy_client_1.expectString)(output.DocumentTitleFieldName),
|
|
7356
7458
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7357
7459
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7358
7460
|
: undefined,
|
|
7359
7461
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7360
7462
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7361
7463
|
: undefined,
|
|
7362
|
-
FilterQuery: smithy_client_1.expectString(output.FilterQuery),
|
|
7464
|
+
FilterQuery: (0, smithy_client_1.expectString)(output.FilterQuery),
|
|
7363
7465
|
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns !== undefined && output.IncludeAttachmentFilePatterns !== null
|
|
7364
7466
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.IncludeAttachmentFilePatterns, context)
|
|
7365
7467
|
: undefined,
|
|
@@ -7367,9 +7469,9 @@ const deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = (output, c
|
|
|
7367
7469
|
};
|
|
7368
7470
|
const deserializeAws_json1_1ServiceNowServiceCatalogConfiguration = (output, context) => {
|
|
7369
7471
|
return {
|
|
7370
|
-
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7371
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7372
|
-
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7472
|
+
CrawlAttachments: (0, smithy_client_1.expectBoolean)(output.CrawlAttachments),
|
|
7473
|
+
DocumentDataFieldName: (0, smithy_client_1.expectString)(output.DocumentDataFieldName),
|
|
7474
|
+
DocumentTitleFieldName: (0, smithy_client_1.expectString)(output.DocumentTitleFieldName),
|
|
7373
7475
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7374
7476
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7375
7477
|
: undefined,
|
|
@@ -7383,14 +7485,14 @@ const deserializeAws_json1_1ServiceNowServiceCatalogConfiguration = (output, con
|
|
|
7383
7485
|
};
|
|
7384
7486
|
const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
|
|
7385
7487
|
return {
|
|
7386
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7488
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7387
7489
|
};
|
|
7388
7490
|
};
|
|
7389
7491
|
const deserializeAws_json1_1SharePointConfiguration = (output, context) => {
|
|
7390
7492
|
return {
|
|
7391
|
-
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7392
|
-
DisableLocalGroups: smithy_client_1.expectBoolean(output.DisableLocalGroups),
|
|
7393
|
-
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7493
|
+
CrawlAttachments: (0, smithy_client_1.expectBoolean)(output.CrawlAttachments),
|
|
7494
|
+
DisableLocalGroups: (0, smithy_client_1.expectBoolean)(output.DisableLocalGroups),
|
|
7495
|
+
DocumentTitleFieldName: (0, smithy_client_1.expectString)(output.DocumentTitleFieldName),
|
|
7394
7496
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7395
7497
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7396
7498
|
: undefined,
|
|
@@ -7400,15 +7502,15 @@ const deserializeAws_json1_1SharePointConfiguration = (output, context) => {
|
|
|
7400
7502
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7401
7503
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7402
7504
|
: undefined,
|
|
7403
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7404
|
-
SharePointVersion: smithy_client_1.expectString(output.SharePointVersion),
|
|
7505
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
7506
|
+
SharePointVersion: (0, smithy_client_1.expectString)(output.SharePointVersion),
|
|
7405
7507
|
SslCertificateS3Path: output.SslCertificateS3Path !== undefined && output.SslCertificateS3Path !== null
|
|
7406
7508
|
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
7407
7509
|
: undefined,
|
|
7408
7510
|
Urls: output.Urls !== undefined && output.Urls !== null
|
|
7409
7511
|
? deserializeAws_json1_1SharePointUrlList(output.Urls, context)
|
|
7410
7512
|
: undefined,
|
|
7411
|
-
UseChangeLog: smithy_client_1.expectBoolean(output.UseChangeLog),
|
|
7513
|
+
UseChangeLog: (0, smithy_client_1.expectBoolean)(output.UseChangeLog),
|
|
7412
7514
|
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
7413
7515
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7414
7516
|
: undefined,
|
|
@@ -7421,7 +7523,7 @@ const deserializeAws_json1_1SharePointUrlList = (output, context) => {
|
|
|
7421
7523
|
if (entry === null) {
|
|
7422
7524
|
return null;
|
|
7423
7525
|
}
|
|
7424
|
-
return smithy_client_1.expectString(entry);
|
|
7526
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7425
7527
|
});
|
|
7426
7528
|
return retVal;
|
|
7427
7529
|
};
|
|
@@ -7439,7 +7541,50 @@ const deserializeAws_json1_1SiteMapsList = (output, context) => {
|
|
|
7439
7541
|
if (entry === null) {
|
|
7440
7542
|
return null;
|
|
7441
7543
|
}
|
|
7442
|
-
return smithy_client_1.expectString(entry);
|
|
7544
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7545
|
+
});
|
|
7546
|
+
return retVal;
|
|
7547
|
+
};
|
|
7548
|
+
const deserializeAws_json1_1SlackConfiguration = (output, context) => {
|
|
7549
|
+
return {
|
|
7550
|
+
CrawlBotMessage: (0, smithy_client_1.expectBoolean)(output.CrawlBotMessage),
|
|
7551
|
+
ExcludeArchived: (0, smithy_client_1.expectBoolean)(output.ExcludeArchived),
|
|
7552
|
+
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7553
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7554
|
+
: undefined,
|
|
7555
|
+
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7556
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7557
|
+
: undefined,
|
|
7558
|
+
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7559
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7560
|
+
: undefined,
|
|
7561
|
+
LookBackPeriod: (0, smithy_client_1.expectInt32)(output.LookBackPeriod),
|
|
7562
|
+
PrivateChannelFilter: output.PrivateChannelFilter !== undefined && output.PrivateChannelFilter !== null
|
|
7563
|
+
? deserializeAws_json1_1PrivateChannelFilter(output.PrivateChannelFilter, context)
|
|
7564
|
+
: undefined,
|
|
7565
|
+
PublicChannelFilter: output.PublicChannelFilter !== undefined && output.PublicChannelFilter !== null
|
|
7566
|
+
? deserializeAws_json1_1PublicChannelFilter(output.PublicChannelFilter, context)
|
|
7567
|
+
: undefined,
|
|
7568
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
7569
|
+
SinceCrawlDate: (0, smithy_client_1.expectString)(output.SinceCrawlDate),
|
|
7570
|
+
SlackEntityList: output.SlackEntityList !== undefined && output.SlackEntityList !== null
|
|
7571
|
+
? deserializeAws_json1_1SlackEntityList(output.SlackEntityList, context)
|
|
7572
|
+
: undefined,
|
|
7573
|
+
TeamId: (0, smithy_client_1.expectString)(output.TeamId),
|
|
7574
|
+
UseChangeLog: (0, smithy_client_1.expectBoolean)(output.UseChangeLog),
|
|
7575
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
7576
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7577
|
+
: undefined,
|
|
7578
|
+
};
|
|
7579
|
+
};
|
|
7580
|
+
const deserializeAws_json1_1SlackEntityList = (output, context) => {
|
|
7581
|
+
const retVal = (output || [])
|
|
7582
|
+
.filter((e) => e != null)
|
|
7583
|
+
.map((entry) => {
|
|
7584
|
+
if (entry === null) {
|
|
7585
|
+
return null;
|
|
7586
|
+
}
|
|
7587
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7443
7588
|
});
|
|
7444
7589
|
return retVal;
|
|
7445
7590
|
};
|
|
@@ -7450,7 +7595,7 @@ const deserializeAws_json1_1SnapshotsDataHeaderFields = (output, context) => {
|
|
|
7450
7595
|
if (entry === null) {
|
|
7451
7596
|
return null;
|
|
7452
7597
|
}
|
|
7453
|
-
return smithy_client_1.expectString(entry);
|
|
7598
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7454
7599
|
});
|
|
7455
7600
|
return retVal;
|
|
7456
7601
|
};
|
|
@@ -7461,7 +7606,7 @@ const deserializeAws_json1_1SnapshotsDataRecord = (output, context) => {
|
|
|
7461
7606
|
if (entry === null) {
|
|
7462
7607
|
return null;
|
|
7463
7608
|
}
|
|
7464
|
-
return smithy_client_1.expectString(entry);
|
|
7609
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7465
7610
|
});
|
|
7466
7611
|
return retVal;
|
|
7467
7612
|
};
|
|
@@ -7481,7 +7626,7 @@ const deserializeAws_json1_1SpellCorrectedQuery = (output, context) => {
|
|
|
7481
7626
|
Corrections: output.Corrections !== undefined && output.Corrections !== null
|
|
7482
7627
|
? deserializeAws_json1_1CorrectionList(output.Corrections, context)
|
|
7483
7628
|
: undefined,
|
|
7484
|
-
SuggestedQueryText: smithy_client_1.expectString(output.SuggestedQueryText),
|
|
7629
|
+
SuggestedQueryText: (0, smithy_client_1.expectString)(output.SuggestedQueryText),
|
|
7485
7630
|
};
|
|
7486
7631
|
};
|
|
7487
7632
|
const deserializeAws_json1_1SpellCorrectedQueryList = (output, context) => {
|
|
@@ -7497,20 +7642,20 @@ const deserializeAws_json1_1SpellCorrectedQueryList = (output, context) => {
|
|
|
7497
7642
|
};
|
|
7498
7643
|
const deserializeAws_json1_1SqlConfiguration = (output, context) => {
|
|
7499
7644
|
return {
|
|
7500
|
-
QueryIdentifiersEnclosingOption: smithy_client_1.expectString(output.QueryIdentifiersEnclosingOption),
|
|
7645
|
+
QueryIdentifiersEnclosingOption: (0, smithy_client_1.expectString)(output.QueryIdentifiersEnclosingOption),
|
|
7501
7646
|
};
|
|
7502
7647
|
};
|
|
7503
7648
|
const deserializeAws_json1_1StartDataSourceSyncJobResponse = (output, context) => {
|
|
7504
7649
|
return {
|
|
7505
|
-
ExecutionId: smithy_client_1.expectString(output.ExecutionId),
|
|
7650
|
+
ExecutionId: (0, smithy_client_1.expectString)(output.ExecutionId),
|
|
7506
7651
|
};
|
|
7507
7652
|
};
|
|
7508
7653
|
const deserializeAws_json1_1Status = (output, context) => {
|
|
7509
7654
|
return {
|
|
7510
|
-
DocumentId: smithy_client_1.expectString(output.DocumentId),
|
|
7511
|
-
DocumentStatus: smithy_client_1.expectString(output.DocumentStatus),
|
|
7512
|
-
FailureCode: smithy_client_1.expectString(output.FailureCode),
|
|
7513
|
-
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
7655
|
+
DocumentId: (0, smithy_client_1.expectString)(output.DocumentId),
|
|
7656
|
+
DocumentStatus: (0, smithy_client_1.expectString)(output.DocumentStatus),
|
|
7657
|
+
FailureCode: (0, smithy_client_1.expectString)(output.FailureCode),
|
|
7658
|
+
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
7514
7659
|
};
|
|
7515
7660
|
};
|
|
7516
7661
|
const deserializeAws_json1_1SubnetIdList = (output, context) => {
|
|
@@ -7520,13 +7665,13 @@ const deserializeAws_json1_1SubnetIdList = (output, context) => {
|
|
|
7520
7665
|
if (entry === null) {
|
|
7521
7666
|
return null;
|
|
7522
7667
|
}
|
|
7523
|
-
return smithy_client_1.expectString(entry);
|
|
7668
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7524
7669
|
});
|
|
7525
7670
|
return retVal;
|
|
7526
7671
|
};
|
|
7527
7672
|
const deserializeAws_json1_1Suggestion = (output, context) => {
|
|
7528
7673
|
return {
|
|
7529
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7674
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
7530
7675
|
Value: output.Value !== undefined && output.Value !== null
|
|
7531
7676
|
? deserializeAws_json1_1SuggestionValue(output.Value, context)
|
|
7532
7677
|
: undefined,
|
|
@@ -7534,8 +7679,8 @@ const deserializeAws_json1_1Suggestion = (output, context) => {
|
|
|
7534
7679
|
};
|
|
7535
7680
|
const deserializeAws_json1_1SuggestionHighlight = (output, context) => {
|
|
7536
7681
|
return {
|
|
7537
|
-
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
7538
|
-
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
7682
|
+
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
7683
|
+
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
7539
7684
|
};
|
|
7540
7685
|
};
|
|
7541
7686
|
const deserializeAws_json1_1SuggestionHighlightList = (output, context) => {
|
|
@@ -7565,7 +7710,7 @@ const deserializeAws_json1_1SuggestionTextWithHighlights = (output, context) =>
|
|
|
7565
7710
|
Highlights: output.Highlights !== undefined && output.Highlights !== null
|
|
7566
7711
|
? deserializeAws_json1_1SuggestionHighlightList(output.Highlights, context)
|
|
7567
7712
|
: undefined,
|
|
7568
|
-
Text: smithy_client_1.expectString(output.Text),
|
|
7713
|
+
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
7569
7714
|
};
|
|
7570
7715
|
};
|
|
7571
7716
|
const deserializeAws_json1_1SuggestionValue = (output, context) => {
|
|
@@ -7577,8 +7722,8 @@ const deserializeAws_json1_1SuggestionValue = (output, context) => {
|
|
|
7577
7722
|
};
|
|
7578
7723
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
7579
7724
|
return {
|
|
7580
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
7581
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
7725
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
7726
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
7582
7727
|
};
|
|
7583
7728
|
};
|
|
7584
7729
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -7597,8 +7742,8 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
7597
7742
|
};
|
|
7598
7743
|
const deserializeAws_json1_1TextDocumentStatistics = (output, context) => {
|
|
7599
7744
|
return {
|
|
7600
|
-
IndexedTextBytes: smithy_client_1.expectLong(output.IndexedTextBytes),
|
|
7601
|
-
IndexedTextDocumentsCount: smithy_client_1.expectInt32(output.IndexedTextDocumentsCount),
|
|
7745
|
+
IndexedTextBytes: (0, smithy_client_1.expectLong)(output.IndexedTextBytes),
|
|
7746
|
+
IndexedTextDocumentsCount: (0, smithy_client_1.expectInt32)(output.IndexedTextDocumentsCount),
|
|
7602
7747
|
};
|
|
7603
7748
|
};
|
|
7604
7749
|
const deserializeAws_json1_1TextWithHighlights = (output, context) => {
|
|
@@ -7606,19 +7751,19 @@ const deserializeAws_json1_1TextWithHighlights = (output, context) => {
|
|
|
7606
7751
|
Highlights: output.Highlights !== undefined && output.Highlights !== null
|
|
7607
7752
|
? deserializeAws_json1_1HighlightList(output.Highlights, context)
|
|
7608
7753
|
: undefined,
|
|
7609
|
-
Text: smithy_client_1.expectString(output.Text),
|
|
7754
|
+
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
7610
7755
|
};
|
|
7611
7756
|
};
|
|
7612
7757
|
const deserializeAws_json1_1ThesaurusSummary = (output, context) => {
|
|
7613
7758
|
return {
|
|
7614
7759
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
7615
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
7760
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
7616
7761
|
: undefined,
|
|
7617
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7618
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7619
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
7762
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
7763
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7764
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
7620
7765
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
7621
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
7766
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
7622
7767
|
: undefined,
|
|
7623
7768
|
};
|
|
7624
7769
|
};
|
|
@@ -7635,16 +7780,16 @@ const deserializeAws_json1_1ThesaurusSummaryItems = (output, context) => {
|
|
|
7635
7780
|
};
|
|
7636
7781
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
7637
7782
|
return {
|
|
7638
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7783
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7639
7784
|
};
|
|
7640
7785
|
};
|
|
7641
7786
|
const deserializeAws_json1_1TimeRange = (output, context) => {
|
|
7642
7787
|
return {
|
|
7643
7788
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
7644
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
7789
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
7645
7790
|
: undefined,
|
|
7646
7791
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
7647
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
7792
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
7648
7793
|
: undefined,
|
|
7649
7794
|
};
|
|
7650
7795
|
};
|
|
@@ -7663,12 +7808,12 @@ const deserializeAws_json1_1Urls = (output, context) => {
|
|
|
7663
7808
|
};
|
|
7664
7809
|
const deserializeAws_json1_1UserGroupResolutionConfiguration = (output, context) => {
|
|
7665
7810
|
return {
|
|
7666
|
-
UserGroupResolutionMode: smithy_client_1.expectString(output.UserGroupResolutionMode),
|
|
7811
|
+
UserGroupResolutionMode: (0, smithy_client_1.expectString)(output.UserGroupResolutionMode),
|
|
7667
7812
|
};
|
|
7668
7813
|
};
|
|
7669
7814
|
const deserializeAws_json1_1UserIdentityConfiguration = (output, context) => {
|
|
7670
7815
|
return {
|
|
7671
|
-
IdentityAttributeName: smithy_client_1.expectString(output.IdentityAttributeName),
|
|
7816
|
+
IdentityAttributeName: (0, smithy_client_1.expectString)(output.IdentityAttributeName),
|
|
7672
7817
|
};
|
|
7673
7818
|
};
|
|
7674
7819
|
const deserializeAws_json1_1UserTokenConfiguration = (output, context) => {
|
|
@@ -7694,7 +7839,7 @@ const deserializeAws_json1_1UserTokenConfigurationList = (output, context) => {
|
|
|
7694
7839
|
};
|
|
7695
7840
|
const deserializeAws_json1_1ValidationException = (output, context) => {
|
|
7696
7841
|
return {
|
|
7697
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7842
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7698
7843
|
};
|
|
7699
7844
|
};
|
|
7700
7845
|
const deserializeAws_json1_1ValueImportanceMap = (output, context) => {
|
|
@@ -7704,14 +7849,14 @@ const deserializeAws_json1_1ValueImportanceMap = (output, context) => {
|
|
|
7704
7849
|
}
|
|
7705
7850
|
return {
|
|
7706
7851
|
...acc,
|
|
7707
|
-
[key]: smithy_client_1.expectInt32(value),
|
|
7852
|
+
[key]: (0, smithy_client_1.expectInt32)(value),
|
|
7708
7853
|
};
|
|
7709
7854
|
}, {});
|
|
7710
7855
|
};
|
|
7711
7856
|
const deserializeAws_json1_1Warning = (output, context) => {
|
|
7712
7857
|
return {
|
|
7713
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
7714
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7858
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
7859
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7715
7860
|
};
|
|
7716
7861
|
};
|
|
7717
7862
|
const deserializeAws_json1_1WarningList = (output, context) => {
|
|
@@ -7730,10 +7875,10 @@ const deserializeAws_json1_1WebCrawlerConfiguration = (output, context) => {
|
|
|
7730
7875
|
AuthenticationConfiguration: output.AuthenticationConfiguration !== undefined && output.AuthenticationConfiguration !== null
|
|
7731
7876
|
? deserializeAws_json1_1AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
7732
7877
|
: undefined,
|
|
7733
|
-
CrawlDepth: smithy_client_1.expectInt32(output.CrawlDepth),
|
|
7734
|
-
MaxContentSizePerPageInMegaBytes: smithy_client_1.limitedParseFloat32(output.MaxContentSizePerPageInMegaBytes),
|
|
7735
|
-
MaxLinksPerPage: smithy_client_1.expectInt32(output.MaxLinksPerPage),
|
|
7736
|
-
MaxUrlsPerMinuteCrawlRate: smithy_client_1.expectInt32(output.MaxUrlsPerMinuteCrawlRate),
|
|
7878
|
+
CrawlDepth: (0, smithy_client_1.expectInt32)(output.CrawlDepth),
|
|
7879
|
+
MaxContentSizePerPageInMegaBytes: (0, smithy_client_1.limitedParseFloat32)(output.MaxContentSizePerPageInMegaBytes),
|
|
7880
|
+
MaxLinksPerPage: (0, smithy_client_1.expectInt32)(output.MaxLinksPerPage),
|
|
7881
|
+
MaxUrlsPerMinuteCrawlRate: (0, smithy_client_1.expectInt32)(output.MaxUrlsPerMinuteCrawlRate),
|
|
7737
7882
|
ProxyConfiguration: output.ProxyConfiguration !== undefined && output.ProxyConfiguration !== null
|
|
7738
7883
|
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
7739
7884
|
: undefined,
|
|
@@ -7748,7 +7893,7 @@ const deserializeAws_json1_1WebCrawlerConfiguration = (output, context) => {
|
|
|
7748
7893
|
};
|
|
7749
7894
|
const deserializeAws_json1_1WorkDocsConfiguration = (output, context) => {
|
|
7750
7895
|
return {
|
|
7751
|
-
CrawlComments: smithy_client_1.expectBoolean(output.CrawlComments),
|
|
7896
|
+
CrawlComments: (0, smithy_client_1.expectBoolean)(output.CrawlComments),
|
|
7752
7897
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7753
7898
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7754
7899
|
: undefined,
|
|
@@ -7758,8 +7903,8 @@ const deserializeAws_json1_1WorkDocsConfiguration = (output, context) => {
|
|
|
7758
7903
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7759
7904
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7760
7905
|
: undefined,
|
|
7761
|
-
OrganizationId: smithy_client_1.expectString(output.OrganizationId),
|
|
7762
|
-
UseChangeLog: smithy_client_1.expectBoolean(output.UseChangeLog),
|
|
7906
|
+
OrganizationId: (0, smithy_client_1.expectString)(output.OrganizationId),
|
|
7907
|
+
UseChangeLog: (0, smithy_client_1.expectBoolean)(output.UseChangeLog),
|
|
7763
7908
|
};
|
|
7764
7909
|
};
|
|
7765
7910
|
const deserializeMetadata = (output) => {
|