@aws-sdk/client-kendra 3.53.0 → 3.55.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 +30 -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 +36 -4
- package/dist-cjs/protocols/Aws_json1_1.js +640 -442
- 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 +24 -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 +181 -2
- package/dist-types/KendraClient.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +508 -288
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/KendraClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +83 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- 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 }),
|
|
@@ -4817,6 +4841,10 @@ const serializeAws_json1_1QueryRequest = (input, context) => {
|
|
|
4817
4841
|
input.SortingConfiguration !== null && {
|
|
4818
4842
|
SortingConfiguration: serializeAws_json1_1SortingConfiguration(input.SortingConfiguration, context),
|
|
4819
4843
|
}),
|
|
4844
|
+
...(input.SpellCorrectionConfiguration !== undefined &&
|
|
4845
|
+
input.SpellCorrectionConfiguration !== null && {
|
|
4846
|
+
SpellCorrectionConfiguration: serializeAws_json1_1SpellCorrectionConfiguration(input.SpellCorrectionConfiguration, context),
|
|
4847
|
+
}),
|
|
4820
4848
|
...(input.UserContext !== undefined &&
|
|
4821
4849
|
input.UserContext !== null && { UserContext: serializeAws_json1_1UserContext(input.UserContext, context) }),
|
|
4822
4850
|
...(input.VisitorId !== undefined && input.VisitorId !== null && { VisitorId: input.VisitorId }),
|
|
@@ -5200,6 +5228,59 @@ const serializeAws_json1_1SiteMapsList = (input, context) => {
|
|
|
5200
5228
|
return entry;
|
|
5201
5229
|
});
|
|
5202
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
|
+
};
|
|
5203
5284
|
const serializeAws_json1_1SortingConfiguration = (input, context) => {
|
|
5204
5285
|
return {
|
|
5205
5286
|
...(input.DocumentAttributeKey !== undefined &&
|
|
@@ -5207,6 +5288,14 @@ const serializeAws_json1_1SortingConfiguration = (input, context) => {
|
|
|
5207
5288
|
...(input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }),
|
|
5208
5289
|
};
|
|
5209
5290
|
};
|
|
5291
|
+
const serializeAws_json1_1SpellCorrectionConfiguration = (input, context) => {
|
|
5292
|
+
return {
|
|
5293
|
+
...(input.IncludeQuerySpellCheckSuggestions !== undefined &&
|
|
5294
|
+
input.IncludeQuerySpellCheckSuggestions !== null && {
|
|
5295
|
+
IncludeQuerySpellCheckSuggestions: input.IncludeQuerySpellCheckSuggestions,
|
|
5296
|
+
}),
|
|
5297
|
+
};
|
|
5298
|
+
};
|
|
5210
5299
|
const serializeAws_json1_1SqlConfiguration = (input, context) => {
|
|
5211
5300
|
return {
|
|
5212
5301
|
...(input.QueryIdentifiersEnclosingOption !== undefined &&
|
|
@@ -5476,7 +5565,7 @@ const serializeAws_json1_1WebCrawlerConfiguration = (input, context) => {
|
|
|
5476
5565
|
...(input.CrawlDepth !== undefined && input.CrawlDepth !== null && { CrawlDepth: input.CrawlDepth }),
|
|
5477
5566
|
...(input.MaxContentSizePerPageInMegaBytes !== undefined &&
|
|
5478
5567
|
input.MaxContentSizePerPageInMegaBytes !== null && {
|
|
5479
|
-
MaxContentSizePerPageInMegaBytes: smithy_client_1.serializeFloat(input.MaxContentSizePerPageInMegaBytes),
|
|
5568
|
+
MaxContentSizePerPageInMegaBytes: (0, smithy_client_1.serializeFloat)(input.MaxContentSizePerPageInMegaBytes),
|
|
5480
5569
|
}),
|
|
5481
5570
|
...(input.MaxLinksPerPage !== undefined &&
|
|
5482
5571
|
input.MaxLinksPerPage !== null && { MaxLinksPerPage: input.MaxLinksPerPage }),
|
|
@@ -5519,26 +5608,26 @@ const serializeAws_json1_1WorkDocsConfiguration = (input, context) => {
|
|
|
5519
5608
|
};
|
|
5520
5609
|
const deserializeAws_json1_1AccessControlListConfiguration = (output, context) => {
|
|
5521
5610
|
return {
|
|
5522
|
-
KeyPath: smithy_client_1.expectString(output.KeyPath),
|
|
5611
|
+
KeyPath: (0, smithy_client_1.expectString)(output.KeyPath),
|
|
5523
5612
|
};
|
|
5524
5613
|
};
|
|
5525
5614
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
5526
5615
|
return {
|
|
5527
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5616
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5528
5617
|
};
|
|
5529
5618
|
};
|
|
5530
5619
|
const deserializeAws_json1_1AclConfiguration = (output, context) => {
|
|
5531
5620
|
return {
|
|
5532
|
-
AllowedGroupsColumnName: smithy_client_1.expectString(output.AllowedGroupsColumnName),
|
|
5621
|
+
AllowedGroupsColumnName: (0, smithy_client_1.expectString)(output.AllowedGroupsColumnName),
|
|
5533
5622
|
};
|
|
5534
5623
|
};
|
|
5535
5624
|
const deserializeAws_json1_1AdditionalResultAttribute = (output, context) => {
|
|
5536
5625
|
return {
|
|
5537
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
5626
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
5538
5627
|
Value: output.Value !== undefined && output.Value !== null
|
|
5539
5628
|
? deserializeAws_json1_1AdditionalResultAttributeValue(output.Value, context)
|
|
5540
5629
|
: undefined,
|
|
5541
|
-
ValueType: smithy_client_1.expectString(output.ValueType),
|
|
5630
|
+
ValueType: (0, smithy_client_1.expectString)(output.ValueType),
|
|
5542
5631
|
};
|
|
5543
5632
|
};
|
|
5544
5633
|
const deserializeAws_json1_1AdditionalResultAttributeList = (output, context) => {
|
|
@@ -5593,9 +5682,9 @@ const deserializeAws_json1_1AuthenticationConfiguration = (output, context) => {
|
|
|
5593
5682
|
};
|
|
5594
5683
|
const deserializeAws_json1_1BasicAuthenticationConfiguration = (output, context) => {
|
|
5595
5684
|
return {
|
|
5596
|
-
Credentials: smithy_client_1.expectString(output.Credentials),
|
|
5597
|
-
Host: smithy_client_1.expectString(output.Host),
|
|
5598
|
-
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),
|
|
5599
5688
|
};
|
|
5600
5689
|
};
|
|
5601
5690
|
const deserializeAws_json1_1BasicAuthenticationConfigurationList = (output, context) => {
|
|
@@ -5618,9 +5707,9 @@ const deserializeAws_json1_1BatchDeleteDocumentResponse = (output, context) => {
|
|
|
5618
5707
|
};
|
|
5619
5708
|
const deserializeAws_json1_1BatchDeleteDocumentResponseFailedDocument = (output, context) => {
|
|
5620
5709
|
return {
|
|
5621
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5622
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5623
|
-
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),
|
|
5624
5713
|
};
|
|
5625
5714
|
};
|
|
5626
5715
|
const deserializeAws_json1_1BatchDeleteDocumentResponseFailedDocuments = (output, context) => {
|
|
@@ -5646,9 +5735,9 @@ const deserializeAws_json1_1BatchGetDocumentStatusResponse = (output, context) =
|
|
|
5646
5735
|
};
|
|
5647
5736
|
const deserializeAws_json1_1BatchGetDocumentStatusResponseError = (output, context) => {
|
|
5648
5737
|
return {
|
|
5649
|
-
DocumentId: smithy_client_1.expectString(output.DocumentId),
|
|
5650
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5651
|
-
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),
|
|
5652
5741
|
};
|
|
5653
5742
|
};
|
|
5654
5743
|
const deserializeAws_json1_1BatchGetDocumentStatusResponseErrors = (output, context) => {
|
|
@@ -5671,9 +5760,9 @@ const deserializeAws_json1_1BatchPutDocumentResponse = (output, context) => {
|
|
|
5671
5760
|
};
|
|
5672
5761
|
const deserializeAws_json1_1BatchPutDocumentResponseFailedDocument = (output, context) => {
|
|
5673
5762
|
return {
|
|
5674
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5675
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5676
|
-
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),
|
|
5677
5766
|
};
|
|
5678
5767
|
};
|
|
5679
5768
|
const deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = (output, context) => {
|
|
@@ -5689,8 +5778,8 @@ const deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = (output, c
|
|
|
5689
5778
|
};
|
|
5690
5779
|
const deserializeAws_json1_1CapacityUnitsConfiguration = (output, context) => {
|
|
5691
5780
|
return {
|
|
5692
|
-
QueryCapacityUnits: smithy_client_1.expectInt32(output.QueryCapacityUnits),
|
|
5693
|
-
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),
|
|
5694
5783
|
};
|
|
5695
5784
|
};
|
|
5696
5785
|
const deserializeAws_json1_1ChangeDetectingColumns = (output, context) => {
|
|
@@ -5700,7 +5789,7 @@ const deserializeAws_json1_1ChangeDetectingColumns = (output, context) => {
|
|
|
5700
5789
|
if (entry === null) {
|
|
5701
5790
|
return null;
|
|
5702
5791
|
}
|
|
5703
|
-
return smithy_client_1.expectString(entry);
|
|
5792
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5704
5793
|
});
|
|
5705
5794
|
return retVal;
|
|
5706
5795
|
};
|
|
@@ -5709,9 +5798,9 @@ const deserializeAws_json1_1ColumnConfiguration = (output, context) => {
|
|
|
5709
5798
|
ChangeDetectingColumns: output.ChangeDetectingColumns !== undefined && output.ChangeDetectingColumns !== null
|
|
5710
5799
|
? deserializeAws_json1_1ChangeDetectingColumns(output.ChangeDetectingColumns, context)
|
|
5711
5800
|
: undefined,
|
|
5712
|
-
DocumentDataColumnName: smithy_client_1.expectString(output.DocumentDataColumnName),
|
|
5713
|
-
DocumentIdColumnName: smithy_client_1.expectString(output.DocumentIdColumnName),
|
|
5714
|
-
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),
|
|
5715
5804
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
5716
5805
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
5717
5806
|
: undefined,
|
|
@@ -5719,7 +5808,7 @@ const deserializeAws_json1_1ColumnConfiguration = (output, context) => {
|
|
|
5719
5808
|
};
|
|
5720
5809
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
5721
5810
|
return {
|
|
5722
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5811
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5723
5812
|
};
|
|
5724
5813
|
};
|
|
5725
5814
|
const deserializeAws_json1_1ConfluenceAttachmentConfiguration = (output, context) => {
|
|
@@ -5727,7 +5816,7 @@ const deserializeAws_json1_1ConfluenceAttachmentConfiguration = (output, context
|
|
|
5727
5816
|
AttachmentFieldMappings: output.AttachmentFieldMappings !== undefined && output.AttachmentFieldMappings !== null
|
|
5728
5817
|
? deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList(output.AttachmentFieldMappings, context)
|
|
5729
5818
|
: undefined,
|
|
5730
|
-
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
5819
|
+
CrawlAttachments: (0, smithy_client_1.expectBoolean)(output.CrawlAttachments),
|
|
5731
5820
|
};
|
|
5732
5821
|
};
|
|
5733
5822
|
const deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList = (output, context) => {
|
|
@@ -5743,9 +5832,9 @@ const deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList = (output, con
|
|
|
5743
5832
|
};
|
|
5744
5833
|
const deserializeAws_json1_1ConfluenceAttachmentToIndexFieldMapping = (output, context) => {
|
|
5745
5834
|
return {
|
|
5746
|
-
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
5747
|
-
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
5748
|
-
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),
|
|
5749
5838
|
};
|
|
5750
5839
|
};
|
|
5751
5840
|
const deserializeAws_json1_1ConfluenceBlogConfiguration = (output, context) => {
|
|
@@ -5768,9 +5857,9 @@ const deserializeAws_json1_1ConfluenceBlogFieldMappingsList = (output, context)
|
|
|
5768
5857
|
};
|
|
5769
5858
|
const deserializeAws_json1_1ConfluenceBlogToIndexFieldMapping = (output, context) => {
|
|
5770
5859
|
return {
|
|
5771
|
-
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
5772
|
-
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
5773
|
-
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),
|
|
5774
5863
|
};
|
|
5775
5864
|
};
|
|
5776
5865
|
const deserializeAws_json1_1ConfluenceConfiguration = (output, context) => {
|
|
@@ -5790,12 +5879,12 @@ const deserializeAws_json1_1ConfluenceConfiguration = (output, context) => {
|
|
|
5790
5879
|
PageConfiguration: output.PageConfiguration !== undefined && output.PageConfiguration !== null
|
|
5791
5880
|
? deserializeAws_json1_1ConfluencePageConfiguration(output.PageConfiguration, context)
|
|
5792
5881
|
: undefined,
|
|
5793
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
5794
|
-
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),
|
|
5795
5884
|
SpaceConfiguration: output.SpaceConfiguration !== undefined && output.SpaceConfiguration !== null
|
|
5796
5885
|
? deserializeAws_json1_1ConfluenceSpaceConfiguration(output.SpaceConfiguration, context)
|
|
5797
5886
|
: undefined,
|
|
5798
|
-
Version: smithy_client_1.expectString(output.Version),
|
|
5887
|
+
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
5799
5888
|
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
5800
5889
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
5801
5890
|
: undefined,
|
|
@@ -5821,15 +5910,15 @@ const deserializeAws_json1_1ConfluencePageFieldMappingsList = (output, context)
|
|
|
5821
5910
|
};
|
|
5822
5911
|
const deserializeAws_json1_1ConfluencePageToIndexFieldMapping = (output, context) => {
|
|
5823
5912
|
return {
|
|
5824
|
-
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
5825
|
-
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
5826
|
-
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),
|
|
5827
5916
|
};
|
|
5828
5917
|
};
|
|
5829
5918
|
const deserializeAws_json1_1ConfluenceSpaceConfiguration = (output, context) => {
|
|
5830
5919
|
return {
|
|
5831
|
-
CrawlArchivedSpaces: smithy_client_1.expectBoolean(output.CrawlArchivedSpaces),
|
|
5832
|
-
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),
|
|
5833
5922
|
ExcludeSpaces: output.ExcludeSpaces !== undefined && output.ExcludeSpaces !== null
|
|
5834
5923
|
? deserializeAws_json1_1ConfluenceSpaceList(output.ExcludeSpaces, context)
|
|
5835
5924
|
: undefined,
|
|
@@ -5859,24 +5948,24 @@ const deserializeAws_json1_1ConfluenceSpaceList = (output, context) => {
|
|
|
5859
5948
|
if (entry === null) {
|
|
5860
5949
|
return null;
|
|
5861
5950
|
}
|
|
5862
|
-
return smithy_client_1.expectString(entry);
|
|
5951
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5863
5952
|
});
|
|
5864
5953
|
return retVal;
|
|
5865
5954
|
};
|
|
5866
5955
|
const deserializeAws_json1_1ConfluenceSpaceToIndexFieldMapping = (output, context) => {
|
|
5867
5956
|
return {
|
|
5868
|
-
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
5869
|
-
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
5870
|
-
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),
|
|
5871
5960
|
};
|
|
5872
5961
|
};
|
|
5873
5962
|
const deserializeAws_json1_1ConnectionConfiguration = (output, context) => {
|
|
5874
5963
|
return {
|
|
5875
|
-
DatabaseHost: smithy_client_1.expectString(output.DatabaseHost),
|
|
5876
|
-
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
5877
|
-
DatabasePort: smithy_client_1.expectInt32(output.DatabasePort),
|
|
5878
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
5879
|
-
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),
|
|
5880
5969
|
};
|
|
5881
5970
|
};
|
|
5882
5971
|
const deserializeAws_json1_1ContentSourceConfiguration = (output, context) => {
|
|
@@ -5884,40 +5973,59 @@ const deserializeAws_json1_1ContentSourceConfiguration = (output, context) => {
|
|
|
5884
5973
|
DataSourceIds: output.DataSourceIds !== undefined && output.DataSourceIds !== null
|
|
5885
5974
|
? deserializeAws_json1_1DataSourceIdList(output.DataSourceIds, context)
|
|
5886
5975
|
: undefined,
|
|
5887
|
-
DirectPutContent: smithy_client_1.expectBoolean(output.DirectPutContent),
|
|
5976
|
+
DirectPutContent: (0, smithy_client_1.expectBoolean)(output.DirectPutContent),
|
|
5888
5977
|
FaqIds: output.FaqIds !== undefined && output.FaqIds !== null
|
|
5889
5978
|
? deserializeAws_json1_1FaqIdsList(output.FaqIds, context)
|
|
5890
5979
|
: undefined,
|
|
5891
5980
|
};
|
|
5892
5981
|
};
|
|
5982
|
+
const deserializeAws_json1_1Correction = (output, context) => {
|
|
5983
|
+
return {
|
|
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),
|
|
5988
|
+
};
|
|
5989
|
+
};
|
|
5990
|
+
const deserializeAws_json1_1CorrectionList = (output, context) => {
|
|
5991
|
+
const retVal = (output || [])
|
|
5992
|
+
.filter((e) => e != null)
|
|
5993
|
+
.map((entry) => {
|
|
5994
|
+
if (entry === null) {
|
|
5995
|
+
return null;
|
|
5996
|
+
}
|
|
5997
|
+
return deserializeAws_json1_1Correction(entry, context);
|
|
5998
|
+
});
|
|
5999
|
+
return retVal;
|
|
6000
|
+
};
|
|
5893
6001
|
const deserializeAws_json1_1CreateDataSourceResponse = (output, context) => {
|
|
5894
6002
|
return {
|
|
5895
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6003
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5896
6004
|
};
|
|
5897
6005
|
};
|
|
5898
6006
|
const deserializeAws_json1_1CreateExperienceResponse = (output, context) => {
|
|
5899
6007
|
return {
|
|
5900
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6008
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5901
6009
|
};
|
|
5902
6010
|
};
|
|
5903
6011
|
const deserializeAws_json1_1CreateFaqResponse = (output, context) => {
|
|
5904
6012
|
return {
|
|
5905
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6013
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5906
6014
|
};
|
|
5907
6015
|
};
|
|
5908
6016
|
const deserializeAws_json1_1CreateIndexResponse = (output, context) => {
|
|
5909
6017
|
return {
|
|
5910
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6018
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5911
6019
|
};
|
|
5912
6020
|
};
|
|
5913
6021
|
const deserializeAws_json1_1CreateQuerySuggestionsBlockListResponse = (output, context) => {
|
|
5914
6022
|
return {
|
|
5915
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6023
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5916
6024
|
};
|
|
5917
6025
|
};
|
|
5918
6026
|
const deserializeAws_json1_1CreateThesaurusResponse = (output, context) => {
|
|
5919
6027
|
return {
|
|
5920
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6028
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5921
6029
|
};
|
|
5922
6030
|
};
|
|
5923
6031
|
const deserializeAws_json1_1CustomDocumentEnrichmentConfiguration = (output, context) => {
|
|
@@ -5931,7 +6039,7 @@ const deserializeAws_json1_1CustomDocumentEnrichmentConfiguration = (output, con
|
|
|
5931
6039
|
PreExtractionHookConfiguration: output.PreExtractionHookConfiguration !== undefined && output.PreExtractionHookConfiguration !== null
|
|
5932
6040
|
? deserializeAws_json1_1HookConfiguration(output.PreExtractionHookConfiguration, context)
|
|
5933
6041
|
: undefined,
|
|
5934
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6042
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
5935
6043
|
};
|
|
5936
6044
|
};
|
|
5937
6045
|
const deserializeAws_json1_1DatabaseConfiguration = (output, context) => {
|
|
@@ -5945,7 +6053,7 @@ const deserializeAws_json1_1DatabaseConfiguration = (output, context) => {
|
|
|
5945
6053
|
ConnectionConfiguration: output.ConnectionConfiguration !== undefined && output.ConnectionConfiguration !== null
|
|
5946
6054
|
? deserializeAws_json1_1ConnectionConfiguration(output.ConnectionConfiguration, context)
|
|
5947
6055
|
: undefined,
|
|
5948
|
-
DatabaseEngineType: smithy_client_1.expectString(output.DatabaseEngineType),
|
|
6056
|
+
DatabaseEngineType: (0, smithy_client_1.expectString)(output.DatabaseEngineType),
|
|
5949
6057
|
SqlConfiguration: output.SqlConfiguration !== undefined && output.SqlConfiguration !== null
|
|
5950
6058
|
? deserializeAws_json1_1SqlConfiguration(output.SqlConfiguration, context)
|
|
5951
6059
|
: undefined,
|
|
@@ -5983,6 +6091,9 @@ const deserializeAws_json1_1DataSourceConfiguration = (output, context) => {
|
|
|
5983
6091
|
SharePointConfiguration: output.SharePointConfiguration !== undefined && output.SharePointConfiguration !== null
|
|
5984
6092
|
? deserializeAws_json1_1SharePointConfiguration(output.SharePointConfiguration, context)
|
|
5985
6093
|
: undefined,
|
|
6094
|
+
SlackConfiguration: output.SlackConfiguration !== undefined && output.SlackConfiguration !== null
|
|
6095
|
+
? deserializeAws_json1_1SlackConfiguration(output.SlackConfiguration, context)
|
|
6096
|
+
: undefined,
|
|
5986
6097
|
WebCrawlerConfiguration: output.WebCrawlerConfiguration !== undefined && output.WebCrawlerConfiguration !== null
|
|
5987
6098
|
? deserializeAws_json1_1WebCrawlerConfiguration(output.WebCrawlerConfiguration, context)
|
|
5988
6099
|
: undefined,
|
|
@@ -5998,7 +6109,7 @@ const deserializeAws_json1_1DataSourceIdList = (output, context) => {
|
|
|
5998
6109
|
if (entry === null) {
|
|
5999
6110
|
return null;
|
|
6000
6111
|
}
|
|
6001
|
-
return smithy_client_1.expectString(entry);
|
|
6112
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6002
6113
|
});
|
|
6003
6114
|
return retVal;
|
|
6004
6115
|
};
|
|
@@ -6009,22 +6120,22 @@ const deserializeAws_json1_1DataSourceInclusionsExclusionsStrings = (output, con
|
|
|
6009
6120
|
if (entry === null) {
|
|
6010
6121
|
return null;
|
|
6011
6122
|
}
|
|
6012
|
-
return smithy_client_1.expectString(entry);
|
|
6123
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6013
6124
|
});
|
|
6014
6125
|
return retVal;
|
|
6015
6126
|
};
|
|
6016
6127
|
const deserializeAws_json1_1DataSourceSummary = (output, context) => {
|
|
6017
6128
|
return {
|
|
6018
6129
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6019
|
-
? 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)))
|
|
6020
6131
|
: undefined,
|
|
6021
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6022
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6023
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6024
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6025
|
-
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),
|
|
6026
6137
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6027
|
-
? 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)))
|
|
6028
6139
|
: undefined,
|
|
6029
6140
|
};
|
|
6030
6141
|
};
|
|
@@ -6041,20 +6152,20 @@ const deserializeAws_json1_1DataSourceSummaryList = (output, context) => {
|
|
|
6041
6152
|
};
|
|
6042
6153
|
const deserializeAws_json1_1DataSourceSyncJob = (output, context) => {
|
|
6043
6154
|
return {
|
|
6044
|
-
DataSourceErrorCode: smithy_client_1.expectString(output.DataSourceErrorCode),
|
|
6155
|
+
DataSourceErrorCode: (0, smithy_client_1.expectString)(output.DataSourceErrorCode),
|
|
6045
6156
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6046
|
-
? 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)))
|
|
6047
6158
|
: undefined,
|
|
6048
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
6049
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6050
|
-
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),
|
|
6051
6162
|
Metrics: output.Metrics !== undefined && output.Metrics !== null
|
|
6052
6163
|
? deserializeAws_json1_1DataSourceSyncJobMetrics(output.Metrics, context)
|
|
6053
6164
|
: undefined,
|
|
6054
6165
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
6055
|
-
? 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)))
|
|
6056
6167
|
: undefined,
|
|
6057
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6168
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6058
6169
|
};
|
|
6059
6170
|
};
|
|
6060
6171
|
const deserializeAws_json1_1DataSourceSyncJobHistoryList = (output, context) => {
|
|
@@ -6070,18 +6181,18 @@ const deserializeAws_json1_1DataSourceSyncJobHistoryList = (output, context) =>
|
|
|
6070
6181
|
};
|
|
6071
6182
|
const deserializeAws_json1_1DataSourceSyncJobMetrics = (output, context) => {
|
|
6072
6183
|
return {
|
|
6073
|
-
DocumentsAdded: smithy_client_1.expectString(output.DocumentsAdded),
|
|
6074
|
-
DocumentsDeleted: smithy_client_1.expectString(output.DocumentsDeleted),
|
|
6075
|
-
DocumentsFailed: smithy_client_1.expectString(output.DocumentsFailed),
|
|
6076
|
-
DocumentsModified: smithy_client_1.expectString(output.DocumentsModified),
|
|
6077
|
-
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),
|
|
6078
6189
|
};
|
|
6079
6190
|
};
|
|
6080
6191
|
const deserializeAws_json1_1DataSourceToIndexFieldMapping = (output, context) => {
|
|
6081
6192
|
return {
|
|
6082
|
-
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
6083
|
-
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
6084
|
-
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),
|
|
6085
6196
|
};
|
|
6086
6197
|
};
|
|
6087
6198
|
const deserializeAws_json1_1DataSourceToIndexFieldMappingList = (output, context) => {
|
|
@@ -6114,24 +6225,24 @@ const deserializeAws_json1_1DescribeDataSourceResponse = (output, context) => {
|
|
|
6114
6225
|
? deserializeAws_json1_1DataSourceConfiguration(output.Configuration, context)
|
|
6115
6226
|
: undefined,
|
|
6116
6227
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6117
|
-
? 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)))
|
|
6118
6229
|
: undefined,
|
|
6119
6230
|
CustomDocumentEnrichmentConfiguration: output.CustomDocumentEnrichmentConfiguration !== undefined &&
|
|
6120
6231
|
output.CustomDocumentEnrichmentConfiguration !== null
|
|
6121
6232
|
? deserializeAws_json1_1CustomDocumentEnrichmentConfiguration(output.CustomDocumentEnrichmentConfiguration, context)
|
|
6122
6233
|
: undefined,
|
|
6123
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6124
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6125
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6126
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6127
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6128
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6129
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6130
|
-
Schedule: smithy_client_1.expectString(output.Schedule),
|
|
6131
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6132
|
-
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),
|
|
6133
6244
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6134
|
-
? 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)))
|
|
6135
6246
|
: undefined,
|
|
6136
6247
|
};
|
|
6137
6248
|
};
|
|
@@ -6141,42 +6252,42 @@ const deserializeAws_json1_1DescribeExperienceResponse = (output, context) => {
|
|
|
6141
6252
|
? deserializeAws_json1_1ExperienceConfiguration(output.Configuration, context)
|
|
6142
6253
|
: undefined,
|
|
6143
6254
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6144
|
-
? 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)))
|
|
6145
6256
|
: undefined,
|
|
6146
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6257
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
6147
6258
|
Endpoints: output.Endpoints !== undefined && output.Endpoints !== null
|
|
6148
6259
|
? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context)
|
|
6149
6260
|
: undefined,
|
|
6150
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6151
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6152
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6153
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6154
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6155
|
-
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),
|
|
6156
6267
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6157
|
-
? 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)))
|
|
6158
6269
|
: undefined,
|
|
6159
6270
|
};
|
|
6160
6271
|
};
|
|
6161
6272
|
const deserializeAws_json1_1DescribeFaqResponse = (output, context) => {
|
|
6162
6273
|
return {
|
|
6163
6274
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6164
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6165
|
-
: undefined,
|
|
6166
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6167
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6168
|
-
FileFormat: smithy_client_1.expectString(output.FileFormat),
|
|
6169
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6170
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6171
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6172
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6173
|
-
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),
|
|
6174
6285
|
S3Path: output.S3Path !== undefined && output.S3Path !== null
|
|
6175
6286
|
? deserializeAws_json1_1S3Path(output.S3Path, context)
|
|
6176
6287
|
: undefined,
|
|
6177
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6288
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6178
6289
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6179
|
-
? 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)))
|
|
6180
6291
|
: undefined,
|
|
6181
6292
|
};
|
|
6182
6293
|
};
|
|
@@ -6186,28 +6297,28 @@ const deserializeAws_json1_1DescribeIndexResponse = (output, context) => {
|
|
|
6186
6297
|
? deserializeAws_json1_1CapacityUnitsConfiguration(output.CapacityUnits, context)
|
|
6187
6298
|
: undefined,
|
|
6188
6299
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6189
|
-
? 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)))
|
|
6190
6301
|
: undefined,
|
|
6191
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6302
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
6192
6303
|
DocumentMetadataConfigurations: output.DocumentMetadataConfigurations !== undefined && output.DocumentMetadataConfigurations !== null
|
|
6193
6304
|
? deserializeAws_json1_1DocumentMetadataConfigurationList(output.DocumentMetadataConfigurations, context)
|
|
6194
6305
|
: undefined,
|
|
6195
|
-
Edition: smithy_client_1.expectString(output.Edition),
|
|
6196
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6197
|
-
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),
|
|
6198
6309
|
IndexStatistics: output.IndexStatistics !== undefined && output.IndexStatistics !== null
|
|
6199
6310
|
? deserializeAws_json1_1IndexStatistics(output.IndexStatistics, context)
|
|
6200
6311
|
: undefined,
|
|
6201
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6202
|
-
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),
|
|
6203
6314
|
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration !== undefined && output.ServerSideEncryptionConfiguration !== null
|
|
6204
6315
|
? deserializeAws_json1_1ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
6205
6316
|
: undefined,
|
|
6206
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6317
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6207
6318
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6208
|
-
? 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)))
|
|
6209
6320
|
: undefined,
|
|
6210
|
-
UserContextPolicy: smithy_client_1.expectString(output.UserContextPolicy),
|
|
6321
|
+
UserContextPolicy: (0, smithy_client_1.expectString)(output.UserContextPolicy),
|
|
6211
6322
|
UserGroupResolutionConfiguration: output.UserGroupResolutionConfiguration !== undefined && output.UserGroupResolutionConfiguration !== null
|
|
6212
6323
|
? deserializeAws_json1_1UserGroupResolutionConfiguration(output.UserGroupResolutionConfiguration, context)
|
|
6213
6324
|
: undefined,
|
|
@@ -6218,73 +6329,73 @@ const deserializeAws_json1_1DescribeIndexResponse = (output, context) => {
|
|
|
6218
6329
|
};
|
|
6219
6330
|
const deserializeAws_json1_1DescribePrincipalMappingResponse = (output, context) => {
|
|
6220
6331
|
return {
|
|
6221
|
-
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
6222
|
-
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),
|
|
6223
6334
|
GroupOrderingIdSummaries: output.GroupOrderingIdSummaries !== undefined && output.GroupOrderingIdSummaries !== null
|
|
6224
6335
|
? deserializeAws_json1_1GroupOrderingIdSummaries(output.GroupOrderingIdSummaries, context)
|
|
6225
6336
|
: undefined,
|
|
6226
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6337
|
+
IndexId: (0, smithy_client_1.expectString)(output.IndexId),
|
|
6227
6338
|
};
|
|
6228
6339
|
};
|
|
6229
6340
|
const deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = (output, context) => {
|
|
6230
6341
|
return {
|
|
6231
6342
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6232
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6233
|
-
: undefined,
|
|
6234
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6235
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6236
|
-
FileSizeBytes: smithy_client_1.expectLong(output.FileSizeBytes),
|
|
6237
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6238
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6239
|
-
ItemCount: smithy_client_1.expectInt32(output.ItemCount),
|
|
6240
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6241
|
-
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),
|
|
6242
6353
|
SourceS3Path: output.SourceS3Path !== undefined && output.SourceS3Path !== null
|
|
6243
6354
|
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
6244
6355
|
: undefined,
|
|
6245
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6356
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6246
6357
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6247
|
-
? 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)))
|
|
6248
6359
|
: undefined,
|
|
6249
6360
|
};
|
|
6250
6361
|
};
|
|
6251
6362
|
const deserializeAws_json1_1DescribeQuerySuggestionsConfigResponse = (output, context) => {
|
|
6252
6363
|
return {
|
|
6253
|
-
IncludeQueriesWithoutUserInformation: smithy_client_1.expectBoolean(output.IncludeQueriesWithoutUserInformation),
|
|
6364
|
+
IncludeQueriesWithoutUserInformation: (0, smithy_client_1.expectBoolean)(output.IncludeQueriesWithoutUserInformation),
|
|
6254
6365
|
LastClearTime: output.LastClearTime !== undefined && output.LastClearTime !== null
|
|
6255
|
-
? 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)))
|
|
6256
6367
|
: undefined,
|
|
6257
6368
|
LastSuggestionsBuildTime: output.LastSuggestionsBuildTime !== undefined && output.LastSuggestionsBuildTime !== null
|
|
6258
|
-
? 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)))
|
|
6259
6370
|
: undefined,
|
|
6260
|
-
MinimumNumberOfQueryingUsers: smithy_client_1.expectInt32(output.MinimumNumberOfQueryingUsers),
|
|
6261
|
-
MinimumQueryCount: smithy_client_1.expectInt32(output.MinimumQueryCount),
|
|
6262
|
-
Mode: smithy_client_1.expectString(output.Mode),
|
|
6263
|
-
QueryLogLookBackWindowInDays: smithy_client_1.expectInt32(output.QueryLogLookBackWindowInDays),
|
|
6264
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6265
|
-
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),
|
|
6266
6377
|
};
|
|
6267
6378
|
};
|
|
6268
6379
|
const deserializeAws_json1_1DescribeThesaurusResponse = (output, context) => {
|
|
6269
6380
|
return {
|
|
6270
6381
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6271
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6272
|
-
: undefined,
|
|
6273
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6274
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6275
|
-
FileSizeBytes: smithy_client_1.expectLong(output.FileSizeBytes),
|
|
6276
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6277
|
-
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6278
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6279
|
-
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),
|
|
6280
6391
|
SourceS3Path: output.SourceS3Path !== undefined && output.SourceS3Path !== null
|
|
6281
6392
|
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
6282
6393
|
: undefined,
|
|
6283
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6284
|
-
SynonymRuleCount: smithy_client_1.expectLong(output.SynonymRuleCount),
|
|
6285
|
-
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),
|
|
6286
6397
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6287
|
-
? 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)))
|
|
6288
6399
|
: undefined,
|
|
6289
6400
|
};
|
|
6290
6401
|
};
|
|
@@ -6304,7 +6415,7 @@ const deserializeAws_json1_1DisassociatePersonasFromEntitiesResponse = (output,
|
|
|
6304
6415
|
};
|
|
6305
6416
|
const deserializeAws_json1_1DocumentAttribute = (output, context) => {
|
|
6306
6417
|
return {
|
|
6307
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
6418
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
6308
6419
|
Value: output.Value !== undefined && output.Value !== null
|
|
6309
6420
|
? deserializeAws_json1_1DocumentAttributeValue(output.Value, context)
|
|
6310
6421
|
: undefined,
|
|
@@ -6312,11 +6423,11 @@ const deserializeAws_json1_1DocumentAttribute = (output, context) => {
|
|
|
6312
6423
|
};
|
|
6313
6424
|
const deserializeAws_json1_1DocumentAttributeCondition = (output, context) => {
|
|
6314
6425
|
return {
|
|
6315
|
-
ConditionDocumentAttributeKey: smithy_client_1.expectString(output.ConditionDocumentAttributeKey),
|
|
6426
|
+
ConditionDocumentAttributeKey: (0, smithy_client_1.expectString)(output.ConditionDocumentAttributeKey),
|
|
6316
6427
|
ConditionOnValue: output.ConditionOnValue !== undefined && output.ConditionOnValue !== null
|
|
6317
6428
|
? deserializeAws_json1_1DocumentAttributeValue(output.ConditionOnValue, context)
|
|
6318
6429
|
: undefined,
|
|
6319
|
-
Operator: smithy_client_1.expectString(output.Operator),
|
|
6430
|
+
Operator: (0, smithy_client_1.expectString)(output.Operator),
|
|
6320
6431
|
};
|
|
6321
6432
|
};
|
|
6322
6433
|
const deserializeAws_json1_1DocumentAttributeList = (output, context) => {
|
|
@@ -6337,34 +6448,34 @@ const deserializeAws_json1_1DocumentAttributeStringListValue = (output, context)
|
|
|
6337
6448
|
if (entry === null) {
|
|
6338
6449
|
return null;
|
|
6339
6450
|
}
|
|
6340
|
-
return smithy_client_1.expectString(entry);
|
|
6451
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6341
6452
|
});
|
|
6342
6453
|
return retVal;
|
|
6343
6454
|
};
|
|
6344
6455
|
const deserializeAws_json1_1DocumentAttributeTarget = (output, context) => {
|
|
6345
6456
|
return {
|
|
6346
|
-
TargetDocumentAttributeKey: smithy_client_1.expectString(output.TargetDocumentAttributeKey),
|
|
6457
|
+
TargetDocumentAttributeKey: (0, smithy_client_1.expectString)(output.TargetDocumentAttributeKey),
|
|
6347
6458
|
TargetDocumentAttributeValue: output.TargetDocumentAttributeValue !== undefined && output.TargetDocumentAttributeValue !== null
|
|
6348
6459
|
? deserializeAws_json1_1DocumentAttributeValue(output.TargetDocumentAttributeValue, context)
|
|
6349
6460
|
: undefined,
|
|
6350
|
-
TargetDocumentAttributeValueDeletion: smithy_client_1.expectBoolean(output.TargetDocumentAttributeValueDeletion),
|
|
6461
|
+
TargetDocumentAttributeValueDeletion: (0, smithy_client_1.expectBoolean)(output.TargetDocumentAttributeValueDeletion),
|
|
6351
6462
|
};
|
|
6352
6463
|
};
|
|
6353
6464
|
const deserializeAws_json1_1DocumentAttributeValue = (output, context) => {
|
|
6354
6465
|
return {
|
|
6355
6466
|
DateValue: output.DateValue !== undefined && output.DateValue !== null
|
|
6356
|
-
? 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)))
|
|
6357
6468
|
: undefined,
|
|
6358
|
-
LongValue: smithy_client_1.expectLong(output.LongValue),
|
|
6469
|
+
LongValue: (0, smithy_client_1.expectLong)(output.LongValue),
|
|
6359
6470
|
StringListValue: output.StringListValue !== undefined && output.StringListValue !== null
|
|
6360
6471
|
? deserializeAws_json1_1DocumentAttributeStringListValue(output.StringListValue, context)
|
|
6361
6472
|
: undefined,
|
|
6362
|
-
StringValue: smithy_client_1.expectString(output.StringValue),
|
|
6473
|
+
StringValue: (0, smithy_client_1.expectString)(output.StringValue),
|
|
6363
6474
|
};
|
|
6364
6475
|
};
|
|
6365
6476
|
const deserializeAws_json1_1DocumentAttributeValueCountPair = (output, context) => {
|
|
6366
6477
|
return {
|
|
6367
|
-
Count: smithy_client_1.expectInt32(output.Count),
|
|
6478
|
+
Count: (0, smithy_client_1.expectInt32)(output.Count),
|
|
6368
6479
|
DocumentAttributeValue: output.DocumentAttributeValue !== undefined && output.DocumentAttributeValue !== null
|
|
6369
6480
|
? deserializeAws_json1_1DocumentAttributeValue(output.DocumentAttributeValue, context)
|
|
6370
6481
|
: undefined,
|
|
@@ -6383,14 +6494,14 @@ const deserializeAws_json1_1DocumentAttributeValueCountPairList = (output, conte
|
|
|
6383
6494
|
};
|
|
6384
6495
|
const deserializeAws_json1_1DocumentMetadataConfiguration = (output, context) => {
|
|
6385
6496
|
return {
|
|
6386
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6497
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6387
6498
|
Relevance: output.Relevance !== undefined && output.Relevance !== null
|
|
6388
6499
|
? deserializeAws_json1_1Relevance(output.Relevance, context)
|
|
6389
6500
|
: undefined,
|
|
6390
6501
|
Search: output.Search !== undefined && output.Search !== null
|
|
6391
6502
|
? deserializeAws_json1_1Search(output.Search, context)
|
|
6392
6503
|
: undefined,
|
|
6393
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
6504
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6394
6505
|
};
|
|
6395
6506
|
};
|
|
6396
6507
|
const deserializeAws_json1_1DocumentMetadataConfigurationList = (output, context) => {
|
|
@@ -6406,7 +6517,7 @@ const deserializeAws_json1_1DocumentMetadataConfigurationList = (output, context
|
|
|
6406
6517
|
};
|
|
6407
6518
|
const deserializeAws_json1_1DocumentsMetadataConfiguration = (output, context) => {
|
|
6408
6519
|
return {
|
|
6409
|
-
S3Prefix: smithy_client_1.expectString(output.S3Prefix),
|
|
6520
|
+
S3Prefix: (0, smithy_client_1.expectString)(output.S3Prefix),
|
|
6410
6521
|
};
|
|
6411
6522
|
};
|
|
6412
6523
|
const deserializeAws_json1_1DocumentStatusList = (output, context) => {
|
|
@@ -6422,11 +6533,11 @@ const deserializeAws_json1_1DocumentStatusList = (output, context) => {
|
|
|
6422
6533
|
};
|
|
6423
6534
|
const deserializeAws_json1_1EntityDisplayData = (output, context) => {
|
|
6424
6535
|
return {
|
|
6425
|
-
FirstName: smithy_client_1.expectString(output.FirstName),
|
|
6426
|
-
GroupName: smithy_client_1.expectString(output.GroupName),
|
|
6427
|
-
IdentifiedUserName: smithy_client_1.expectString(output.IdentifiedUserName),
|
|
6428
|
-
LastName: smithy_client_1.expectString(output.LastName),
|
|
6429
|
-
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),
|
|
6430
6541
|
};
|
|
6431
6542
|
};
|
|
6432
6543
|
const deserializeAws_json1_1ExcludeMimeTypesList = (output, context) => {
|
|
@@ -6436,7 +6547,7 @@ const deserializeAws_json1_1ExcludeMimeTypesList = (output, context) => {
|
|
|
6436
6547
|
if (entry === null) {
|
|
6437
6548
|
return null;
|
|
6438
6549
|
}
|
|
6439
|
-
return smithy_client_1.expectString(entry);
|
|
6550
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6440
6551
|
});
|
|
6441
6552
|
return retVal;
|
|
6442
6553
|
};
|
|
@@ -6447,7 +6558,7 @@ const deserializeAws_json1_1ExcludeSharedDrivesList = (output, context) => {
|
|
|
6447
6558
|
if (entry === null) {
|
|
6448
6559
|
return null;
|
|
6449
6560
|
}
|
|
6450
|
-
return smithy_client_1.expectString(entry);
|
|
6561
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6451
6562
|
});
|
|
6452
6563
|
return retVal;
|
|
6453
6564
|
};
|
|
@@ -6458,7 +6569,7 @@ const deserializeAws_json1_1ExcludeUserAccountsList = (output, context) => {
|
|
|
6458
6569
|
if (entry === null) {
|
|
6459
6570
|
return null;
|
|
6460
6571
|
}
|
|
6461
|
-
return smithy_client_1.expectString(entry);
|
|
6572
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6462
6573
|
});
|
|
6463
6574
|
return retVal;
|
|
6464
6575
|
};
|
|
@@ -6474,8 +6585,8 @@ const deserializeAws_json1_1ExperienceConfiguration = (output, context) => {
|
|
|
6474
6585
|
};
|
|
6475
6586
|
const deserializeAws_json1_1ExperienceEndpoint = (output, context) => {
|
|
6476
6587
|
return {
|
|
6477
|
-
Endpoint: smithy_client_1.expectString(output.Endpoint),
|
|
6478
|
-
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),
|
|
6479
6590
|
};
|
|
6480
6591
|
};
|
|
6481
6592
|
const deserializeAws_json1_1ExperienceEndpoints = (output, context) => {
|
|
@@ -6494,8 +6605,8 @@ const deserializeAws_json1_1ExperienceEntitiesSummary = (output, context) => {
|
|
|
6494
6605
|
DisplayData: output.DisplayData !== undefined && output.DisplayData !== null
|
|
6495
6606
|
? deserializeAws_json1_1EntityDisplayData(output.DisplayData, context)
|
|
6496
6607
|
: undefined,
|
|
6497
|
-
EntityId: smithy_client_1.expectString(output.EntityId),
|
|
6498
|
-
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),
|
|
6499
6610
|
};
|
|
6500
6611
|
};
|
|
6501
6612
|
const deserializeAws_json1_1ExperienceEntitiesSummaryList = (output, context) => {
|
|
@@ -6512,14 +6623,14 @@ const deserializeAws_json1_1ExperienceEntitiesSummaryList = (output, context) =>
|
|
|
6512
6623
|
const deserializeAws_json1_1ExperiencesSummary = (output, context) => {
|
|
6513
6624
|
return {
|
|
6514
6625
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6515
|
-
? 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)))
|
|
6516
6627
|
: undefined,
|
|
6517
6628
|
Endpoints: output.Endpoints !== undefined && output.Endpoints !== null
|
|
6518
6629
|
? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context)
|
|
6519
6630
|
: undefined,
|
|
6520
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6521
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6522
|
-
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),
|
|
6523
6634
|
};
|
|
6524
6635
|
};
|
|
6525
6636
|
const deserializeAws_json1_1ExperiencesSummaryList = (output, context) => {
|
|
@@ -6535,11 +6646,11 @@ const deserializeAws_json1_1ExperiencesSummaryList = (output, context) => {
|
|
|
6535
6646
|
};
|
|
6536
6647
|
const deserializeAws_json1_1FacetResult = (output, context) => {
|
|
6537
6648
|
return {
|
|
6538
|
-
DocumentAttributeKey: smithy_client_1.expectString(output.DocumentAttributeKey),
|
|
6649
|
+
DocumentAttributeKey: (0, smithy_client_1.expectString)(output.DocumentAttributeKey),
|
|
6539
6650
|
DocumentAttributeValueCountPairs: output.DocumentAttributeValueCountPairs !== undefined && output.DocumentAttributeValueCountPairs !== null
|
|
6540
6651
|
? deserializeAws_json1_1DocumentAttributeValueCountPairList(output.DocumentAttributeValueCountPairs, context)
|
|
6541
6652
|
: undefined,
|
|
6542
|
-
DocumentAttributeValueType: smithy_client_1.expectString(output.DocumentAttributeValueType),
|
|
6653
|
+
DocumentAttributeValueType: (0, smithy_client_1.expectString)(output.DocumentAttributeValueType),
|
|
6543
6654
|
};
|
|
6544
6655
|
};
|
|
6545
6656
|
const deserializeAws_json1_1FacetResultList = (output, context) => {
|
|
@@ -6555,8 +6666,8 @@ const deserializeAws_json1_1FacetResultList = (output, context) => {
|
|
|
6555
6666
|
};
|
|
6556
6667
|
const deserializeAws_json1_1FailedEntity = (output, context) => {
|
|
6557
6668
|
return {
|
|
6558
|
-
EntityId: smithy_client_1.expectString(output.EntityId),
|
|
6559
|
-
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),
|
|
6560
6671
|
};
|
|
6561
6672
|
};
|
|
6562
6673
|
const deserializeAws_json1_1FailedEntityList = (output, context) => {
|
|
@@ -6577,27 +6688,27 @@ const deserializeAws_json1_1FaqIdsList = (output, context) => {
|
|
|
6577
6688
|
if (entry === null) {
|
|
6578
6689
|
return null;
|
|
6579
6690
|
}
|
|
6580
|
-
return smithy_client_1.expectString(entry);
|
|
6691
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6581
6692
|
});
|
|
6582
6693
|
return retVal;
|
|
6583
6694
|
};
|
|
6584
6695
|
const deserializeAws_json1_1FaqStatistics = (output, context) => {
|
|
6585
6696
|
return {
|
|
6586
|
-
IndexedQuestionAnswersCount: smithy_client_1.expectInt32(output.IndexedQuestionAnswersCount),
|
|
6697
|
+
IndexedQuestionAnswersCount: (0, smithy_client_1.expectInt32)(output.IndexedQuestionAnswersCount),
|
|
6587
6698
|
};
|
|
6588
6699
|
};
|
|
6589
6700
|
const deserializeAws_json1_1FaqSummary = (output, context) => {
|
|
6590
6701
|
return {
|
|
6591
6702
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6592
|
-
? 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)))
|
|
6593
6704
|
: undefined,
|
|
6594
|
-
FileFormat: smithy_client_1.expectString(output.FileFormat),
|
|
6595
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6596
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6597
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6598
|
-
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),
|
|
6599
6710
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6600
|
-
? 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)))
|
|
6601
6712
|
: undefined,
|
|
6602
6713
|
};
|
|
6603
6714
|
};
|
|
@@ -6620,12 +6731,12 @@ const deserializeAws_json1_1FsxConfiguration = (output, context) => {
|
|
|
6620
6731
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
6621
6732
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
6622
6733
|
: undefined,
|
|
6623
|
-
FileSystemId: smithy_client_1.expectString(output.FileSystemId),
|
|
6624
|
-
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),
|
|
6625
6736
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
6626
6737
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6627
6738
|
: undefined,
|
|
6628
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
6739
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
6629
6740
|
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
6630
6741
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6631
6742
|
: undefined,
|
|
@@ -6633,7 +6744,7 @@ const deserializeAws_json1_1FsxConfiguration = (output, context) => {
|
|
|
6633
6744
|
};
|
|
6634
6745
|
const deserializeAws_json1_1GetQuerySuggestionsResponse = (output, context) => {
|
|
6635
6746
|
return {
|
|
6636
|
-
QuerySuggestionsId: smithy_client_1.expectString(output.QuerySuggestionsId),
|
|
6747
|
+
QuerySuggestionsId: (0, smithy_client_1.expectString)(output.QuerySuggestionsId),
|
|
6637
6748
|
Suggestions: output.Suggestions !== undefined && output.Suggestions !== null
|
|
6638
6749
|
? deserializeAws_json1_1SuggestionList(output.Suggestions, context)
|
|
6639
6750
|
: undefined,
|
|
@@ -6641,7 +6752,7 @@ const deserializeAws_json1_1GetQuerySuggestionsResponse = (output, context) => {
|
|
|
6641
6752
|
};
|
|
6642
6753
|
const deserializeAws_json1_1GetSnapshotsResponse = (output, context) => {
|
|
6643
6754
|
return {
|
|
6644
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6755
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6645
6756
|
SnapShotTimeFilter: output.SnapShotTimeFilter !== undefined && output.SnapShotTimeFilter !== null
|
|
6646
6757
|
? deserializeAws_json1_1TimeRange(output.SnapShotTimeFilter, context)
|
|
6647
6758
|
: undefined,
|
|
@@ -6673,7 +6784,7 @@ const deserializeAws_json1_1GoogleDriveConfiguration = (output, context) => {
|
|
|
6673
6784
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
6674
6785
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6675
6786
|
: undefined,
|
|
6676
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
6787
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
6677
6788
|
};
|
|
6678
6789
|
};
|
|
6679
6790
|
const deserializeAws_json1_1GroupOrderingIdSummaries = (output, context) => {
|
|
@@ -6689,29 +6800,29 @@ const deserializeAws_json1_1GroupOrderingIdSummaries = (output, context) => {
|
|
|
6689
6800
|
};
|
|
6690
6801
|
const deserializeAws_json1_1GroupOrderingIdSummary = (output, context) => {
|
|
6691
6802
|
return {
|
|
6692
|
-
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
6803
|
+
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
6693
6804
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
6694
|
-
? 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)))
|
|
6695
6806
|
: undefined,
|
|
6696
|
-
OrderingId: smithy_client_1.expectLong(output.OrderingId),
|
|
6807
|
+
OrderingId: (0, smithy_client_1.expectLong)(output.OrderingId),
|
|
6697
6808
|
ReceivedAt: output.ReceivedAt !== undefined && output.ReceivedAt !== null
|
|
6698
|
-
? 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)))
|
|
6699
6810
|
: undefined,
|
|
6700
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6811
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6701
6812
|
};
|
|
6702
6813
|
};
|
|
6703
6814
|
const deserializeAws_json1_1GroupSummary = (output, context) => {
|
|
6704
6815
|
return {
|
|
6705
|
-
GroupId: smithy_client_1.expectString(output.GroupId),
|
|
6706
|
-
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),
|
|
6707
6818
|
};
|
|
6708
6819
|
};
|
|
6709
6820
|
const deserializeAws_json1_1Highlight = (output, context) => {
|
|
6710
6821
|
return {
|
|
6711
|
-
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
6712
|
-
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
6713
|
-
TopAnswer: smithy_client_1.expectBoolean(output.TopAnswer),
|
|
6714
|
-
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),
|
|
6715
6826
|
};
|
|
6716
6827
|
};
|
|
6717
6828
|
const deserializeAws_json1_1HighlightList = (output, context) => {
|
|
@@ -6730,21 +6841,21 @@ const deserializeAws_json1_1HookConfiguration = (output, context) => {
|
|
|
6730
6841
|
InvocationCondition: output.InvocationCondition !== undefined && output.InvocationCondition !== null
|
|
6731
6842
|
? deserializeAws_json1_1DocumentAttributeCondition(output.InvocationCondition, context)
|
|
6732
6843
|
: undefined,
|
|
6733
|
-
LambdaArn: smithy_client_1.expectString(output.LambdaArn),
|
|
6734
|
-
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),
|
|
6735
6846
|
};
|
|
6736
6847
|
};
|
|
6737
6848
|
const deserializeAws_json1_1IndexConfigurationSummary = (output, context) => {
|
|
6738
6849
|
return {
|
|
6739
6850
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6740
|
-
? 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)))
|
|
6741
6852
|
: undefined,
|
|
6742
|
-
Edition: smithy_client_1.expectString(output.Edition),
|
|
6743
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
6744
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6745
|
-
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),
|
|
6746
6857
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6747
|
-
? 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)))
|
|
6748
6859
|
: undefined,
|
|
6749
6860
|
};
|
|
6750
6861
|
};
|
|
@@ -6774,7 +6885,7 @@ const deserializeAws_json1_1InlineCustomDocumentEnrichmentConfiguration = (outpu
|
|
|
6774
6885
|
Condition: output.Condition !== undefined && output.Condition !== null
|
|
6775
6886
|
? deserializeAws_json1_1DocumentAttributeCondition(output.Condition, context)
|
|
6776
6887
|
: undefined,
|
|
6777
|
-
DocumentContentDeletion: smithy_client_1.expectBoolean(output.DocumentContentDeletion),
|
|
6888
|
+
DocumentContentDeletion: (0, smithy_client_1.expectBoolean)(output.DocumentContentDeletion),
|
|
6778
6889
|
Target: output.Target !== undefined && output.Target !== null
|
|
6779
6890
|
? deserializeAws_json1_1DocumentAttributeTarget(output.Target, context)
|
|
6780
6891
|
: undefined,
|
|
@@ -6793,34 +6904,34 @@ const deserializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList = (o
|
|
|
6793
6904
|
};
|
|
6794
6905
|
const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
6795
6906
|
return {
|
|
6796
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6907
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6797
6908
|
};
|
|
6798
6909
|
};
|
|
6799
6910
|
const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
6800
6911
|
return {
|
|
6801
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6912
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6802
6913
|
};
|
|
6803
6914
|
};
|
|
6804
6915
|
const deserializeAws_json1_1JsonTokenTypeConfiguration = (output, context) => {
|
|
6805
6916
|
return {
|
|
6806
|
-
GroupAttributeField: smithy_client_1.expectString(output.GroupAttributeField),
|
|
6807
|
-
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),
|
|
6808
6919
|
};
|
|
6809
6920
|
};
|
|
6810
6921
|
const deserializeAws_json1_1JwtTokenTypeConfiguration = (output, context) => {
|
|
6811
6922
|
return {
|
|
6812
|
-
ClaimRegex: smithy_client_1.expectString(output.ClaimRegex),
|
|
6813
|
-
GroupAttributeField: smithy_client_1.expectString(output.GroupAttributeField),
|
|
6814
|
-
Issuer: smithy_client_1.expectString(output.Issuer),
|
|
6815
|
-
KeyLocation: smithy_client_1.expectString(output.KeyLocation),
|
|
6816
|
-
SecretManagerArn: smithy_client_1.expectString(output.SecretManagerArn),
|
|
6817
|
-
URL: smithy_client_1.expectString(output.URL),
|
|
6818
|
-
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),
|
|
6819
6930
|
};
|
|
6820
6931
|
};
|
|
6821
6932
|
const deserializeAws_json1_1ListDataSourcesResponse = (output, context) => {
|
|
6822
6933
|
return {
|
|
6823
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6934
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6824
6935
|
SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
|
|
6825
6936
|
? deserializeAws_json1_1DataSourceSummaryList(output.SummaryItems, context)
|
|
6826
6937
|
: undefined,
|
|
@@ -6831,12 +6942,12 @@ const deserializeAws_json1_1ListDataSourceSyncJobsResponse = (output, context) =
|
|
|
6831
6942
|
History: output.History !== undefined && output.History !== null
|
|
6832
6943
|
? deserializeAws_json1_1DataSourceSyncJobHistoryList(output.History, context)
|
|
6833
6944
|
: undefined,
|
|
6834
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6945
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6835
6946
|
};
|
|
6836
6947
|
};
|
|
6837
6948
|
const deserializeAws_json1_1ListEntityPersonasResponse = (output, context) => {
|
|
6838
6949
|
return {
|
|
6839
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6950
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6840
6951
|
SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
|
|
6841
6952
|
? deserializeAws_json1_1PersonasSummaryList(output.SummaryItems, context)
|
|
6842
6953
|
: undefined,
|
|
@@ -6844,7 +6955,7 @@ const deserializeAws_json1_1ListEntityPersonasResponse = (output, context) => {
|
|
|
6844
6955
|
};
|
|
6845
6956
|
const deserializeAws_json1_1ListExperienceEntitiesResponse = (output, context) => {
|
|
6846
6957
|
return {
|
|
6847
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6958
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6848
6959
|
SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
|
|
6849
6960
|
? deserializeAws_json1_1ExperienceEntitiesSummaryList(output.SummaryItems, context)
|
|
6850
6961
|
: undefined,
|
|
@@ -6852,7 +6963,7 @@ const deserializeAws_json1_1ListExperienceEntitiesResponse = (output, context) =
|
|
|
6852
6963
|
};
|
|
6853
6964
|
const deserializeAws_json1_1ListExperiencesResponse = (output, context) => {
|
|
6854
6965
|
return {
|
|
6855
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6966
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6856
6967
|
SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
|
|
6857
6968
|
? deserializeAws_json1_1ExperiencesSummaryList(output.SummaryItems, context)
|
|
6858
6969
|
: undefined,
|
|
@@ -6863,7 +6974,7 @@ const deserializeAws_json1_1ListFaqsResponse = (output, context) => {
|
|
|
6863
6974
|
FaqSummaryItems: output.FaqSummaryItems !== undefined && output.FaqSummaryItems !== null
|
|
6864
6975
|
? deserializeAws_json1_1FaqSummaryItems(output.FaqSummaryItems, context)
|
|
6865
6976
|
: undefined,
|
|
6866
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6977
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6867
6978
|
};
|
|
6868
6979
|
};
|
|
6869
6980
|
const deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = (output, context) => {
|
|
@@ -6871,7 +6982,7 @@ const deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = (output, con
|
|
|
6871
6982
|
GroupsSummaries: output.GroupsSummaries !== undefined && output.GroupsSummaries !== null
|
|
6872
6983
|
? deserializeAws_json1_1ListOfGroupSummaries(output.GroupsSummaries, context)
|
|
6873
6984
|
: undefined,
|
|
6874
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6985
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6875
6986
|
};
|
|
6876
6987
|
};
|
|
6877
6988
|
const deserializeAws_json1_1ListIndicesResponse = (output, context) => {
|
|
@@ -6879,7 +6990,7 @@ const deserializeAws_json1_1ListIndicesResponse = (output, context) => {
|
|
|
6879
6990
|
IndexConfigurationSummaryItems: output.IndexConfigurationSummaryItems !== undefined && output.IndexConfigurationSummaryItems !== null
|
|
6880
6991
|
? deserializeAws_json1_1IndexConfigurationSummaryList(output.IndexConfigurationSummaryItems, context)
|
|
6881
6992
|
: undefined,
|
|
6882
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6993
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6883
6994
|
};
|
|
6884
6995
|
};
|
|
6885
6996
|
const deserializeAws_json1_1ListOfGroupSummaries = (output, context) => {
|
|
@@ -6898,7 +7009,7 @@ const deserializeAws_json1_1ListQuerySuggestionsBlockListsResponse = (output, co
|
|
|
6898
7009
|
BlockListSummaryItems: output.BlockListSummaryItems !== undefined && output.BlockListSummaryItems !== null
|
|
6899
7010
|
? deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems(output.BlockListSummaryItems, context)
|
|
6900
7011
|
: undefined,
|
|
6901
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7012
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6902
7013
|
};
|
|
6903
7014
|
};
|
|
6904
7015
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
@@ -6910,7 +7021,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
6910
7021
|
};
|
|
6911
7022
|
const deserializeAws_json1_1ListThesauriResponse = (output, context) => {
|
|
6912
7023
|
return {
|
|
6913
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7024
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6914
7025
|
ThesaurusSummaryItems: output.ThesaurusSummaryItems !== undefined && output.ThesaurusSummaryItems !== null
|
|
6915
7026
|
? deserializeAws_json1_1ThesaurusSummaryItems(output.ThesaurusSummaryItems, context)
|
|
6916
7027
|
: undefined,
|
|
@@ -6918,7 +7029,7 @@ const deserializeAws_json1_1ListThesauriResponse = (output, context) => {
|
|
|
6918
7029
|
};
|
|
6919
7030
|
const deserializeAws_json1_1OneDriveConfiguration = (output, context) => {
|
|
6920
7031
|
return {
|
|
6921
|
-
DisableLocalGroups: smithy_client_1.expectBoolean(output.DisableLocalGroups),
|
|
7032
|
+
DisableLocalGroups: (0, smithy_client_1.expectBoolean)(output.DisableLocalGroups),
|
|
6922
7033
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
6923
7034
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
6924
7035
|
: undefined,
|
|
@@ -6931,8 +7042,8 @@ const deserializeAws_json1_1OneDriveConfiguration = (output, context) => {
|
|
|
6931
7042
|
OneDriveUsers: output.OneDriveUsers !== undefined && output.OneDriveUsers !== null
|
|
6932
7043
|
? deserializeAws_json1_1OneDriveUsers(output.OneDriveUsers, context)
|
|
6933
7044
|
: undefined,
|
|
6934
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
6935
|
-
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),
|
|
6936
7047
|
};
|
|
6937
7048
|
};
|
|
6938
7049
|
const deserializeAws_json1_1OneDriveUserList = (output, context) => {
|
|
@@ -6942,7 +7053,7 @@ const deserializeAws_json1_1OneDriveUserList = (output, context) => {
|
|
|
6942
7053
|
if (entry === null) {
|
|
6943
7054
|
return null;
|
|
6944
7055
|
}
|
|
6945
|
-
return smithy_client_1.expectString(entry);
|
|
7056
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6946
7057
|
});
|
|
6947
7058
|
return retVal;
|
|
6948
7059
|
};
|
|
@@ -6959,12 +7070,12 @@ const deserializeAws_json1_1OneDriveUsers = (output, context) => {
|
|
|
6959
7070
|
const deserializeAws_json1_1PersonasSummary = (output, context) => {
|
|
6960
7071
|
return {
|
|
6961
7072
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6962
|
-
? 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)))
|
|
6963
7074
|
: undefined,
|
|
6964
|
-
EntityId: smithy_client_1.expectString(output.EntityId),
|
|
6965
|
-
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),
|
|
6966
7077
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6967
|
-
? 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)))
|
|
6968
7079
|
: undefined,
|
|
6969
7080
|
};
|
|
6970
7081
|
};
|
|
@@ -6979,23 +7090,48 @@ const deserializeAws_json1_1PersonasSummaryList = (output, context) => {
|
|
|
6979
7090
|
});
|
|
6980
7091
|
return retVal;
|
|
6981
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
|
+
};
|
|
6982
7104
|
const deserializeAws_json1_1ProxyConfiguration = (output, context) => {
|
|
6983
7105
|
return {
|
|
6984
|
-
Credentials: smithy_client_1.expectString(output.Credentials),
|
|
6985
|
-
Host: smithy_client_1.expectString(output.Host),
|
|
6986
|
-
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),
|
|
6987
7109
|
};
|
|
6988
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
|
+
};
|
|
6989
7122
|
const deserializeAws_json1_1QueryResult = (output, context) => {
|
|
6990
7123
|
return {
|
|
6991
7124
|
FacetResults: output.FacetResults !== undefined && output.FacetResults !== null
|
|
6992
7125
|
? deserializeAws_json1_1FacetResultList(output.FacetResults, context)
|
|
6993
7126
|
: undefined,
|
|
6994
|
-
QueryId: smithy_client_1.expectString(output.QueryId),
|
|
7127
|
+
QueryId: (0, smithy_client_1.expectString)(output.QueryId),
|
|
6995
7128
|
ResultItems: output.ResultItems !== undefined && output.ResultItems !== null
|
|
6996
7129
|
? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context)
|
|
6997
7130
|
: undefined,
|
|
6998
|
-
|
|
7131
|
+
SpellCorrectedQueries: output.SpellCorrectedQueries !== undefined && output.SpellCorrectedQueries !== null
|
|
7132
|
+
? deserializeAws_json1_1SpellCorrectedQueryList(output.SpellCorrectedQueries, context)
|
|
7133
|
+
: undefined,
|
|
7134
|
+
TotalNumberOfResults: (0, smithy_client_1.expectInt32)(output.TotalNumberOfResults),
|
|
6999
7135
|
Warnings: output.Warnings !== undefined && output.Warnings !== null
|
|
7000
7136
|
? deserializeAws_json1_1WarningList(output.Warnings, context)
|
|
7001
7137
|
: undefined,
|
|
@@ -7012,17 +7148,17 @@ const deserializeAws_json1_1QueryResultItem = (output, context) => {
|
|
|
7012
7148
|
DocumentExcerpt: output.DocumentExcerpt !== undefined && output.DocumentExcerpt !== null
|
|
7013
7149
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentExcerpt, context)
|
|
7014
7150
|
: undefined,
|
|
7015
|
-
DocumentId: smithy_client_1.expectString(output.DocumentId),
|
|
7151
|
+
DocumentId: (0, smithy_client_1.expectString)(output.DocumentId),
|
|
7016
7152
|
DocumentTitle: output.DocumentTitle !== undefined && output.DocumentTitle !== null
|
|
7017
7153
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentTitle, context)
|
|
7018
7154
|
: undefined,
|
|
7019
|
-
DocumentURI: smithy_client_1.expectString(output.DocumentURI),
|
|
7020
|
-
FeedbackToken: smithy_client_1.expectString(output.FeedbackToken),
|
|
7021
|
-
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),
|
|
7022
7158
|
ScoreAttributes: output.ScoreAttributes !== undefined && output.ScoreAttributes !== null
|
|
7023
7159
|
? deserializeAws_json1_1ScoreAttributes(output.ScoreAttributes, context)
|
|
7024
7160
|
: undefined,
|
|
7025
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
7161
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
7026
7162
|
};
|
|
7027
7163
|
};
|
|
7028
7164
|
const deserializeAws_json1_1QueryResultItemList = (output, context) => {
|
|
@@ -7039,14 +7175,14 @@ const deserializeAws_json1_1QueryResultItemList = (output, context) => {
|
|
|
7039
7175
|
const deserializeAws_json1_1QuerySuggestionsBlockListSummary = (output, context) => {
|
|
7040
7176
|
return {
|
|
7041
7177
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
7042
|
-
? 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)))
|
|
7043
7179
|
: undefined,
|
|
7044
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7045
|
-
ItemCount: smithy_client_1.expectInt32(output.ItemCount),
|
|
7046
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7047
|
-
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),
|
|
7048
7184
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
7049
|
-
? 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)))
|
|
7050
7186
|
: undefined,
|
|
7051
7187
|
};
|
|
7052
7188
|
};
|
|
@@ -7063,10 +7199,10 @@ const deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = (output, con
|
|
|
7063
7199
|
};
|
|
7064
7200
|
const deserializeAws_json1_1Relevance = (output, context) => {
|
|
7065
7201
|
return {
|
|
7066
|
-
Duration: smithy_client_1.expectString(output.Duration),
|
|
7067
|
-
Freshness: smithy_client_1.expectBoolean(output.Freshness),
|
|
7068
|
-
Importance: smithy_client_1.expectInt32(output.Importance),
|
|
7069
|
-
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),
|
|
7070
7206
|
ValueImportanceMap: output.ValueImportanceMap !== undefined && output.ValueImportanceMap !== null
|
|
7071
7207
|
? deserializeAws_json1_1ValueImportanceMap(output.ValueImportanceMap, context)
|
|
7072
7208
|
: undefined,
|
|
@@ -7074,22 +7210,22 @@ const deserializeAws_json1_1Relevance = (output, context) => {
|
|
|
7074
7210
|
};
|
|
7075
7211
|
const deserializeAws_json1_1ResourceAlreadyExistException = (output, context) => {
|
|
7076
7212
|
return {
|
|
7077
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7213
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7078
7214
|
};
|
|
7079
7215
|
};
|
|
7080
7216
|
const deserializeAws_json1_1ResourceInUseException = (output, context) => {
|
|
7081
7217
|
return {
|
|
7082
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7218
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7083
7219
|
};
|
|
7084
7220
|
};
|
|
7085
7221
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
7086
7222
|
return {
|
|
7087
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7223
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7088
7224
|
};
|
|
7089
7225
|
};
|
|
7090
7226
|
const deserializeAws_json1_1ResourceUnavailableException = (output, context) => {
|
|
7091
7227
|
return {
|
|
7092
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7228
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7093
7229
|
};
|
|
7094
7230
|
};
|
|
7095
7231
|
const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
@@ -7097,7 +7233,7 @@ const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
|
7097
7233
|
AccessControlListConfiguration: output.AccessControlListConfiguration !== undefined && output.AccessControlListConfiguration !== null
|
|
7098
7234
|
? deserializeAws_json1_1AccessControlListConfiguration(output.AccessControlListConfiguration, context)
|
|
7099
7235
|
: undefined,
|
|
7100
|
-
BucketName: smithy_client_1.expectString(output.BucketName),
|
|
7236
|
+
BucketName: (0, smithy_client_1.expectString)(output.BucketName),
|
|
7101
7237
|
DocumentsMetadataConfiguration: output.DocumentsMetadataConfiguration !== undefined && output.DocumentsMetadataConfiguration !== null
|
|
7102
7238
|
? deserializeAws_json1_1DocumentsMetadataConfiguration(output.DocumentsMetadataConfiguration, context)
|
|
7103
7239
|
: undefined,
|
|
@@ -7114,14 +7250,14 @@ const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
|
7114
7250
|
};
|
|
7115
7251
|
const deserializeAws_json1_1S3Path = (output, context) => {
|
|
7116
7252
|
return {
|
|
7117
|
-
Bucket: smithy_client_1.expectString(output.Bucket),
|
|
7118
|
-
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),
|
|
7119
7255
|
};
|
|
7120
7256
|
};
|
|
7121
7257
|
const deserializeAws_json1_1SalesforceChatterFeedConfiguration = (output, context) => {
|
|
7122
7258
|
return {
|
|
7123
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7124
|
-
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),
|
|
7125
7261
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7126
7262
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7127
7263
|
: undefined,
|
|
@@ -7137,7 +7273,7 @@ const deserializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes = (output, c
|
|
|
7137
7273
|
if (entry === null) {
|
|
7138
7274
|
return null;
|
|
7139
7275
|
}
|
|
7140
|
-
return smithy_client_1.expectString(entry);
|
|
7276
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7141
7277
|
});
|
|
7142
7278
|
return retVal;
|
|
7143
7279
|
};
|
|
@@ -7146,7 +7282,7 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7146
7282
|
ChatterFeedConfiguration: output.ChatterFeedConfiguration !== undefined && output.ChatterFeedConfiguration !== null
|
|
7147
7283
|
? deserializeAws_json1_1SalesforceChatterFeedConfiguration(output.ChatterFeedConfiguration, context)
|
|
7148
7284
|
: undefined,
|
|
7149
|
-
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7285
|
+
CrawlAttachments: (0, smithy_client_1.expectBoolean)(output.CrawlAttachments),
|
|
7150
7286
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7151
7287
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7152
7288
|
: undefined,
|
|
@@ -7156,8 +7292,8 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7156
7292
|
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration !== undefined && output.KnowledgeArticleConfiguration !== null
|
|
7157
7293
|
? deserializeAws_json1_1SalesforceKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
7158
7294
|
: undefined,
|
|
7159
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7160
|
-
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),
|
|
7161
7297
|
StandardObjectAttachmentConfiguration: output.StandardObjectAttachmentConfiguration !== undefined &&
|
|
7162
7298
|
output.StandardObjectAttachmentConfiguration !== null
|
|
7163
7299
|
? deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration(output.StandardObjectAttachmentConfiguration, context)
|
|
@@ -7169,12 +7305,12 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7169
7305
|
};
|
|
7170
7306
|
const deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfiguration = (output, context) => {
|
|
7171
7307
|
return {
|
|
7172
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7173
|
-
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),
|
|
7174
7310
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7175
7311
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7176
7312
|
: undefined,
|
|
7177
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7313
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7178
7314
|
};
|
|
7179
7315
|
};
|
|
7180
7316
|
const deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList = (output, context) => {
|
|
@@ -7210,14 +7346,14 @@ const deserializeAws_json1_1SalesforceKnowledgeArticleStateList = (output, conte
|
|
|
7210
7346
|
if (entry === null) {
|
|
7211
7347
|
return null;
|
|
7212
7348
|
}
|
|
7213
|
-
return smithy_client_1.expectString(entry);
|
|
7349
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7214
7350
|
});
|
|
7215
7351
|
return retVal;
|
|
7216
7352
|
};
|
|
7217
7353
|
const deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration = (output, context) => {
|
|
7218
7354
|
return {
|
|
7219
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7220
|
-
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),
|
|
7221
7357
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7222
7358
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7223
7359
|
: undefined,
|
|
@@ -7225,7 +7361,7 @@ const deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration
|
|
|
7225
7361
|
};
|
|
7226
7362
|
const deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = (output, context) => {
|
|
7227
7363
|
return {
|
|
7228
|
-
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7364
|
+
DocumentTitleFieldName: (0, smithy_client_1.expectString)(output.DocumentTitleFieldName),
|
|
7229
7365
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7230
7366
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7231
7367
|
: undefined,
|
|
@@ -7233,12 +7369,12 @@ const deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = (o
|
|
|
7233
7369
|
};
|
|
7234
7370
|
const deserializeAws_json1_1SalesforceStandardObjectConfiguration = (output, context) => {
|
|
7235
7371
|
return {
|
|
7236
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7237
|
-
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),
|
|
7238
7374
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7239
7375
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7240
7376
|
: undefined,
|
|
7241
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7377
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7242
7378
|
};
|
|
7243
7379
|
};
|
|
7244
7380
|
const deserializeAws_json1_1SalesforceStandardObjectConfigurationList = (output, context) => {
|
|
@@ -7254,15 +7390,15 @@ const deserializeAws_json1_1SalesforceStandardObjectConfigurationList = (output,
|
|
|
7254
7390
|
};
|
|
7255
7391
|
const deserializeAws_json1_1ScoreAttributes = (output, context) => {
|
|
7256
7392
|
return {
|
|
7257
|
-
ScoreConfidence: smithy_client_1.expectString(output.ScoreConfidence),
|
|
7393
|
+
ScoreConfidence: (0, smithy_client_1.expectString)(output.ScoreConfidence),
|
|
7258
7394
|
};
|
|
7259
7395
|
};
|
|
7260
7396
|
const deserializeAws_json1_1Search = (output, context) => {
|
|
7261
7397
|
return {
|
|
7262
|
-
Displayable: smithy_client_1.expectBoolean(output.Displayable),
|
|
7263
|
-
Facetable: smithy_client_1.expectBoolean(output.Facetable),
|
|
7264
|
-
Searchable: smithy_client_1.expectBoolean(output.Searchable),
|
|
7265
|
-
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),
|
|
7266
7402
|
};
|
|
7267
7403
|
};
|
|
7268
7404
|
const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
|
|
@@ -7272,7 +7408,7 @@ const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
|
|
|
7272
7408
|
if (entry === null) {
|
|
7273
7409
|
return null;
|
|
7274
7410
|
}
|
|
7275
|
-
return smithy_client_1.expectString(entry);
|
|
7411
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7276
7412
|
});
|
|
7277
7413
|
return retVal;
|
|
7278
7414
|
};
|
|
@@ -7281,7 +7417,7 @@ const deserializeAws_json1_1SeedUrlConfiguration = (output, context) => {
|
|
|
7281
7417
|
SeedUrls: output.SeedUrls !== undefined && output.SeedUrls !== null
|
|
7282
7418
|
? deserializeAws_json1_1SeedUrlList(output.SeedUrls, context)
|
|
7283
7419
|
: undefined,
|
|
7284
|
-
WebCrawlerMode: smithy_client_1.expectString(output.WebCrawlerMode),
|
|
7420
|
+
WebCrawlerMode: (0, smithy_client_1.expectString)(output.WebCrawlerMode),
|
|
7285
7421
|
};
|
|
7286
7422
|
};
|
|
7287
7423
|
const deserializeAws_json1_1SeedUrlList = (output, context) => {
|
|
@@ -7291,41 +7427,41 @@ const deserializeAws_json1_1SeedUrlList = (output, context) => {
|
|
|
7291
7427
|
if (entry === null) {
|
|
7292
7428
|
return null;
|
|
7293
7429
|
}
|
|
7294
|
-
return smithy_client_1.expectString(entry);
|
|
7430
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7295
7431
|
});
|
|
7296
7432
|
return retVal;
|
|
7297
7433
|
};
|
|
7298
7434
|
const deserializeAws_json1_1ServerSideEncryptionConfiguration = (output, context) => {
|
|
7299
7435
|
return {
|
|
7300
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
7436
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
7301
7437
|
};
|
|
7302
7438
|
};
|
|
7303
7439
|
const deserializeAws_json1_1ServiceNowConfiguration = (output, context) => {
|
|
7304
7440
|
return {
|
|
7305
|
-
AuthenticationType: smithy_client_1.expectString(output.AuthenticationType),
|
|
7306
|
-
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),
|
|
7307
7443
|
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration !== undefined && output.KnowledgeArticleConfiguration !== null
|
|
7308
7444
|
? deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
7309
7445
|
: undefined,
|
|
7310
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7446
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
7311
7447
|
ServiceCatalogConfiguration: output.ServiceCatalogConfiguration !== undefined && output.ServiceCatalogConfiguration !== null
|
|
7312
7448
|
? deserializeAws_json1_1ServiceNowServiceCatalogConfiguration(output.ServiceCatalogConfiguration, context)
|
|
7313
7449
|
: undefined,
|
|
7314
|
-
ServiceNowBuildVersion: smithy_client_1.expectString(output.ServiceNowBuildVersion),
|
|
7450
|
+
ServiceNowBuildVersion: (0, smithy_client_1.expectString)(output.ServiceNowBuildVersion),
|
|
7315
7451
|
};
|
|
7316
7452
|
};
|
|
7317
7453
|
const deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = (output, context) => {
|
|
7318
7454
|
return {
|
|
7319
|
-
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7320
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7321
|
-
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),
|
|
7322
7458
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7323
7459
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7324
7460
|
: undefined,
|
|
7325
7461
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7326
7462
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7327
7463
|
: undefined,
|
|
7328
|
-
FilterQuery: smithy_client_1.expectString(output.FilterQuery),
|
|
7464
|
+
FilterQuery: (0, smithy_client_1.expectString)(output.FilterQuery),
|
|
7329
7465
|
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns !== undefined && output.IncludeAttachmentFilePatterns !== null
|
|
7330
7466
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.IncludeAttachmentFilePatterns, context)
|
|
7331
7467
|
: undefined,
|
|
@@ -7333,9 +7469,9 @@ const deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = (output, c
|
|
|
7333
7469
|
};
|
|
7334
7470
|
const deserializeAws_json1_1ServiceNowServiceCatalogConfiguration = (output, context) => {
|
|
7335
7471
|
return {
|
|
7336
|
-
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7337
|
-
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7338
|
-
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),
|
|
7339
7475
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7340
7476
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7341
7477
|
: undefined,
|
|
@@ -7349,14 +7485,14 @@ const deserializeAws_json1_1ServiceNowServiceCatalogConfiguration = (output, con
|
|
|
7349
7485
|
};
|
|
7350
7486
|
const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
|
|
7351
7487
|
return {
|
|
7352
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7488
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7353
7489
|
};
|
|
7354
7490
|
};
|
|
7355
7491
|
const deserializeAws_json1_1SharePointConfiguration = (output, context) => {
|
|
7356
7492
|
return {
|
|
7357
|
-
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7358
|
-
DisableLocalGroups: smithy_client_1.expectBoolean(output.DisableLocalGroups),
|
|
7359
|
-
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),
|
|
7360
7496
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7361
7497
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7362
7498
|
: undefined,
|
|
@@ -7366,15 +7502,15 @@ const deserializeAws_json1_1SharePointConfiguration = (output, context) => {
|
|
|
7366
7502
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7367
7503
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7368
7504
|
: undefined,
|
|
7369
|
-
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7370
|
-
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),
|
|
7371
7507
|
SslCertificateS3Path: output.SslCertificateS3Path !== undefined && output.SslCertificateS3Path !== null
|
|
7372
7508
|
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
7373
7509
|
: undefined,
|
|
7374
7510
|
Urls: output.Urls !== undefined && output.Urls !== null
|
|
7375
7511
|
? deserializeAws_json1_1SharePointUrlList(output.Urls, context)
|
|
7376
7512
|
: undefined,
|
|
7377
|
-
UseChangeLog: smithy_client_1.expectBoolean(output.UseChangeLog),
|
|
7513
|
+
UseChangeLog: (0, smithy_client_1.expectBoolean)(output.UseChangeLog),
|
|
7378
7514
|
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
7379
7515
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7380
7516
|
: undefined,
|
|
@@ -7387,7 +7523,7 @@ const deserializeAws_json1_1SharePointUrlList = (output, context) => {
|
|
|
7387
7523
|
if (entry === null) {
|
|
7388
7524
|
return null;
|
|
7389
7525
|
}
|
|
7390
|
-
return smithy_client_1.expectString(entry);
|
|
7526
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7391
7527
|
});
|
|
7392
7528
|
return retVal;
|
|
7393
7529
|
};
|
|
@@ -7405,7 +7541,50 @@ const deserializeAws_json1_1SiteMapsList = (output, context) => {
|
|
|
7405
7541
|
if (entry === null) {
|
|
7406
7542
|
return null;
|
|
7407
7543
|
}
|
|
7408
|
-
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);
|
|
7409
7588
|
});
|
|
7410
7589
|
return retVal;
|
|
7411
7590
|
};
|
|
@@ -7416,7 +7595,7 @@ const deserializeAws_json1_1SnapshotsDataHeaderFields = (output, context) => {
|
|
|
7416
7595
|
if (entry === null) {
|
|
7417
7596
|
return null;
|
|
7418
7597
|
}
|
|
7419
|
-
return smithy_client_1.expectString(entry);
|
|
7598
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7420
7599
|
});
|
|
7421
7600
|
return retVal;
|
|
7422
7601
|
};
|
|
@@ -7427,7 +7606,7 @@ const deserializeAws_json1_1SnapshotsDataRecord = (output, context) => {
|
|
|
7427
7606
|
if (entry === null) {
|
|
7428
7607
|
return null;
|
|
7429
7608
|
}
|
|
7430
|
-
return smithy_client_1.expectString(entry);
|
|
7609
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7431
7610
|
});
|
|
7432
7611
|
return retVal;
|
|
7433
7612
|
};
|
|
@@ -7442,22 +7621,41 @@ const deserializeAws_json1_1SnapshotsDataRecords = (output, context) => {
|
|
|
7442
7621
|
});
|
|
7443
7622
|
return retVal;
|
|
7444
7623
|
};
|
|
7624
|
+
const deserializeAws_json1_1SpellCorrectedQuery = (output, context) => {
|
|
7625
|
+
return {
|
|
7626
|
+
Corrections: output.Corrections !== undefined && output.Corrections !== null
|
|
7627
|
+
? deserializeAws_json1_1CorrectionList(output.Corrections, context)
|
|
7628
|
+
: undefined,
|
|
7629
|
+
SuggestedQueryText: (0, smithy_client_1.expectString)(output.SuggestedQueryText),
|
|
7630
|
+
};
|
|
7631
|
+
};
|
|
7632
|
+
const deserializeAws_json1_1SpellCorrectedQueryList = (output, context) => {
|
|
7633
|
+
const retVal = (output || [])
|
|
7634
|
+
.filter((e) => e != null)
|
|
7635
|
+
.map((entry) => {
|
|
7636
|
+
if (entry === null) {
|
|
7637
|
+
return null;
|
|
7638
|
+
}
|
|
7639
|
+
return deserializeAws_json1_1SpellCorrectedQuery(entry, context);
|
|
7640
|
+
});
|
|
7641
|
+
return retVal;
|
|
7642
|
+
};
|
|
7445
7643
|
const deserializeAws_json1_1SqlConfiguration = (output, context) => {
|
|
7446
7644
|
return {
|
|
7447
|
-
QueryIdentifiersEnclosingOption: smithy_client_1.expectString(output.QueryIdentifiersEnclosingOption),
|
|
7645
|
+
QueryIdentifiersEnclosingOption: (0, smithy_client_1.expectString)(output.QueryIdentifiersEnclosingOption),
|
|
7448
7646
|
};
|
|
7449
7647
|
};
|
|
7450
7648
|
const deserializeAws_json1_1StartDataSourceSyncJobResponse = (output, context) => {
|
|
7451
7649
|
return {
|
|
7452
|
-
ExecutionId: smithy_client_1.expectString(output.ExecutionId),
|
|
7650
|
+
ExecutionId: (0, smithy_client_1.expectString)(output.ExecutionId),
|
|
7453
7651
|
};
|
|
7454
7652
|
};
|
|
7455
7653
|
const deserializeAws_json1_1Status = (output, context) => {
|
|
7456
7654
|
return {
|
|
7457
|
-
DocumentId: smithy_client_1.expectString(output.DocumentId),
|
|
7458
|
-
DocumentStatus: smithy_client_1.expectString(output.DocumentStatus),
|
|
7459
|
-
FailureCode: smithy_client_1.expectString(output.FailureCode),
|
|
7460
|
-
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),
|
|
7461
7659
|
};
|
|
7462
7660
|
};
|
|
7463
7661
|
const deserializeAws_json1_1SubnetIdList = (output, context) => {
|
|
@@ -7467,13 +7665,13 @@ const deserializeAws_json1_1SubnetIdList = (output, context) => {
|
|
|
7467
7665
|
if (entry === null) {
|
|
7468
7666
|
return null;
|
|
7469
7667
|
}
|
|
7470
|
-
return smithy_client_1.expectString(entry);
|
|
7668
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7471
7669
|
});
|
|
7472
7670
|
return retVal;
|
|
7473
7671
|
};
|
|
7474
7672
|
const deserializeAws_json1_1Suggestion = (output, context) => {
|
|
7475
7673
|
return {
|
|
7476
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7674
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
7477
7675
|
Value: output.Value !== undefined && output.Value !== null
|
|
7478
7676
|
? deserializeAws_json1_1SuggestionValue(output.Value, context)
|
|
7479
7677
|
: undefined,
|
|
@@ -7481,8 +7679,8 @@ const deserializeAws_json1_1Suggestion = (output, context) => {
|
|
|
7481
7679
|
};
|
|
7482
7680
|
const deserializeAws_json1_1SuggestionHighlight = (output, context) => {
|
|
7483
7681
|
return {
|
|
7484
|
-
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
7485
|
-
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),
|
|
7486
7684
|
};
|
|
7487
7685
|
};
|
|
7488
7686
|
const deserializeAws_json1_1SuggestionHighlightList = (output, context) => {
|
|
@@ -7512,7 +7710,7 @@ const deserializeAws_json1_1SuggestionTextWithHighlights = (output, context) =>
|
|
|
7512
7710
|
Highlights: output.Highlights !== undefined && output.Highlights !== null
|
|
7513
7711
|
? deserializeAws_json1_1SuggestionHighlightList(output.Highlights, context)
|
|
7514
7712
|
: undefined,
|
|
7515
|
-
Text: smithy_client_1.expectString(output.Text),
|
|
7713
|
+
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
7516
7714
|
};
|
|
7517
7715
|
};
|
|
7518
7716
|
const deserializeAws_json1_1SuggestionValue = (output, context) => {
|
|
@@ -7524,8 +7722,8 @@ const deserializeAws_json1_1SuggestionValue = (output, context) => {
|
|
|
7524
7722
|
};
|
|
7525
7723
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
7526
7724
|
return {
|
|
7527
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
7528
|
-
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),
|
|
7529
7727
|
};
|
|
7530
7728
|
};
|
|
7531
7729
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -7544,8 +7742,8 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
7544
7742
|
};
|
|
7545
7743
|
const deserializeAws_json1_1TextDocumentStatistics = (output, context) => {
|
|
7546
7744
|
return {
|
|
7547
|
-
IndexedTextBytes: smithy_client_1.expectLong(output.IndexedTextBytes),
|
|
7548
|
-
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),
|
|
7549
7747
|
};
|
|
7550
7748
|
};
|
|
7551
7749
|
const deserializeAws_json1_1TextWithHighlights = (output, context) => {
|
|
@@ -7553,19 +7751,19 @@ const deserializeAws_json1_1TextWithHighlights = (output, context) => {
|
|
|
7553
7751
|
Highlights: output.Highlights !== undefined && output.Highlights !== null
|
|
7554
7752
|
? deserializeAws_json1_1HighlightList(output.Highlights, context)
|
|
7555
7753
|
: undefined,
|
|
7556
|
-
Text: smithy_client_1.expectString(output.Text),
|
|
7754
|
+
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
7557
7755
|
};
|
|
7558
7756
|
};
|
|
7559
7757
|
const deserializeAws_json1_1ThesaurusSummary = (output, context) => {
|
|
7560
7758
|
return {
|
|
7561
7759
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
7562
|
-
? 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)))
|
|
7563
7761
|
: undefined,
|
|
7564
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7565
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7566
|
-
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),
|
|
7567
7765
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
7568
|
-
? 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)))
|
|
7569
7767
|
: undefined,
|
|
7570
7768
|
};
|
|
7571
7769
|
};
|
|
@@ -7582,16 +7780,16 @@ const deserializeAws_json1_1ThesaurusSummaryItems = (output, context) => {
|
|
|
7582
7780
|
};
|
|
7583
7781
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
7584
7782
|
return {
|
|
7585
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7783
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7586
7784
|
};
|
|
7587
7785
|
};
|
|
7588
7786
|
const deserializeAws_json1_1TimeRange = (output, context) => {
|
|
7589
7787
|
return {
|
|
7590
7788
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
7591
|
-
? 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)))
|
|
7592
7790
|
: undefined,
|
|
7593
7791
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
7594
|
-
? 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)))
|
|
7595
7793
|
: undefined,
|
|
7596
7794
|
};
|
|
7597
7795
|
};
|
|
@@ -7610,12 +7808,12 @@ const deserializeAws_json1_1Urls = (output, context) => {
|
|
|
7610
7808
|
};
|
|
7611
7809
|
const deserializeAws_json1_1UserGroupResolutionConfiguration = (output, context) => {
|
|
7612
7810
|
return {
|
|
7613
|
-
UserGroupResolutionMode: smithy_client_1.expectString(output.UserGroupResolutionMode),
|
|
7811
|
+
UserGroupResolutionMode: (0, smithy_client_1.expectString)(output.UserGroupResolutionMode),
|
|
7614
7812
|
};
|
|
7615
7813
|
};
|
|
7616
7814
|
const deserializeAws_json1_1UserIdentityConfiguration = (output, context) => {
|
|
7617
7815
|
return {
|
|
7618
|
-
IdentityAttributeName: smithy_client_1.expectString(output.IdentityAttributeName),
|
|
7816
|
+
IdentityAttributeName: (0, smithy_client_1.expectString)(output.IdentityAttributeName),
|
|
7619
7817
|
};
|
|
7620
7818
|
};
|
|
7621
7819
|
const deserializeAws_json1_1UserTokenConfiguration = (output, context) => {
|
|
@@ -7641,7 +7839,7 @@ const deserializeAws_json1_1UserTokenConfigurationList = (output, context) => {
|
|
|
7641
7839
|
};
|
|
7642
7840
|
const deserializeAws_json1_1ValidationException = (output, context) => {
|
|
7643
7841
|
return {
|
|
7644
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7842
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7645
7843
|
};
|
|
7646
7844
|
};
|
|
7647
7845
|
const deserializeAws_json1_1ValueImportanceMap = (output, context) => {
|
|
@@ -7651,14 +7849,14 @@ const deserializeAws_json1_1ValueImportanceMap = (output, context) => {
|
|
|
7651
7849
|
}
|
|
7652
7850
|
return {
|
|
7653
7851
|
...acc,
|
|
7654
|
-
[key]: smithy_client_1.expectInt32(value),
|
|
7852
|
+
[key]: (0, smithy_client_1.expectInt32)(value),
|
|
7655
7853
|
};
|
|
7656
7854
|
}, {});
|
|
7657
7855
|
};
|
|
7658
7856
|
const deserializeAws_json1_1Warning = (output, context) => {
|
|
7659
7857
|
return {
|
|
7660
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
7661
|
-
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),
|
|
7662
7860
|
};
|
|
7663
7861
|
};
|
|
7664
7862
|
const deserializeAws_json1_1WarningList = (output, context) => {
|
|
@@ -7677,10 +7875,10 @@ const deserializeAws_json1_1WebCrawlerConfiguration = (output, context) => {
|
|
|
7677
7875
|
AuthenticationConfiguration: output.AuthenticationConfiguration !== undefined && output.AuthenticationConfiguration !== null
|
|
7678
7876
|
? deserializeAws_json1_1AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
7679
7877
|
: undefined,
|
|
7680
|
-
CrawlDepth: smithy_client_1.expectInt32(output.CrawlDepth),
|
|
7681
|
-
MaxContentSizePerPageInMegaBytes: smithy_client_1.limitedParseFloat32(output.MaxContentSizePerPageInMegaBytes),
|
|
7682
|
-
MaxLinksPerPage: smithy_client_1.expectInt32(output.MaxLinksPerPage),
|
|
7683
|
-
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),
|
|
7684
7882
|
ProxyConfiguration: output.ProxyConfiguration !== undefined && output.ProxyConfiguration !== null
|
|
7685
7883
|
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
7686
7884
|
: undefined,
|
|
@@ -7695,7 +7893,7 @@ const deserializeAws_json1_1WebCrawlerConfiguration = (output, context) => {
|
|
|
7695
7893
|
};
|
|
7696
7894
|
const deserializeAws_json1_1WorkDocsConfiguration = (output, context) => {
|
|
7697
7895
|
return {
|
|
7698
|
-
CrawlComments: smithy_client_1.expectBoolean(output.CrawlComments),
|
|
7896
|
+
CrawlComments: (0, smithy_client_1.expectBoolean)(output.CrawlComments),
|
|
7699
7897
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7700
7898
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7701
7899
|
: undefined,
|
|
@@ -7705,8 +7903,8 @@ const deserializeAws_json1_1WorkDocsConfiguration = (output, context) => {
|
|
|
7705
7903
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7706
7904
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7707
7905
|
: undefined,
|
|
7708
|
-
OrganizationId: smithy_client_1.expectString(output.OrganizationId),
|
|
7709
|
-
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),
|
|
7710
7908
|
};
|
|
7711
7909
|
};
|
|
7712
7910
|
const deserializeMetadata = (output) => {
|