@aws-sdk/client-kendra 3.31.0 → 3.32.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 +8 -0
- package/dist/cjs/KendraClient.js +13 -13
- package/dist/cjs/KendraClient.js.map +1 -1
- package/dist/cjs/commands/BatchDeleteDocumentCommand.js +3 -3
- package/dist/cjs/commands/BatchDeleteDocumentCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetDocumentStatusCommand.js +3 -3
- package/dist/cjs/commands/BatchGetDocumentStatusCommand.js.map +1 -1
- package/dist/cjs/commands/BatchPutDocumentCommand.js +3 -3
- package/dist/cjs/commands/BatchPutDocumentCommand.js.map +1 -1
- package/dist/cjs/commands/ClearQuerySuggestionsCommand.js +3 -3
- package/dist/cjs/commands/ClearQuerySuggestionsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDataSourceCommand.js +3 -3
- package/dist/cjs/commands/CreateDataSourceCommand.js.map +1 -1
- package/dist/cjs/commands/CreateFaqCommand.js +3 -3
- package/dist/cjs/commands/CreateFaqCommand.js.map +1 -1
- package/dist/cjs/commands/CreateIndexCommand.js +3 -3
- package/dist/cjs/commands/CreateIndexCommand.js.map +1 -1
- package/dist/cjs/commands/CreateQuerySuggestionsBlockListCommand.js +3 -3
- package/dist/cjs/commands/CreateQuerySuggestionsBlockListCommand.js.map +1 -1
- package/dist/cjs/commands/CreateThesaurusCommand.js +3 -3
- package/dist/cjs/commands/CreateThesaurusCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDataSourceCommand.js +3 -3
- package/dist/cjs/commands/DeleteDataSourceCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteFaqCommand.js +3 -3
- package/dist/cjs/commands/DeleteFaqCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteIndexCommand.js +3 -3
- package/dist/cjs/commands/DeleteIndexCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePrincipalMappingCommand.js +3 -3
- package/dist/cjs/commands/DeletePrincipalMappingCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +3 -3
- package/dist/cjs/commands/DeleteQuerySuggestionsBlockListCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteThesaurusCommand.js +3 -3
- package/dist/cjs/commands/DeleteThesaurusCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDataSourceCommand.js +3 -3
- package/dist/cjs/commands/DescribeDataSourceCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeFaqCommand.js +3 -3
- package/dist/cjs/commands/DescribeFaqCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeIndexCommand.js +3 -3
- package/dist/cjs/commands/DescribeIndexCommand.js.map +1 -1
- package/dist/cjs/commands/DescribePrincipalMappingCommand.js +3 -3
- package/dist/cjs/commands/DescribePrincipalMappingCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +3 -3
- package/dist/cjs/commands/DescribeQuerySuggestionsBlockListCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeQuerySuggestionsConfigCommand.js +3 -3
- package/dist/cjs/commands/DescribeQuerySuggestionsConfigCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeThesaurusCommand.js +3 -3
- package/dist/cjs/commands/DescribeThesaurusCommand.js.map +1 -1
- package/dist/cjs/commands/GetQuerySuggestionsCommand.js +3 -3
- package/dist/cjs/commands/GetQuerySuggestionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListDataSourceSyncJobsCommand.js +3 -3
- package/dist/cjs/commands/ListDataSourceSyncJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListDataSourcesCommand.js +3 -3
- package/dist/cjs/commands/ListDataSourcesCommand.js.map +1 -1
- package/dist/cjs/commands/ListFaqsCommand.js +3 -3
- package/dist/cjs/commands/ListFaqsCommand.js.map +1 -1
- package/dist/cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +3 -3
- package/dist/cjs/commands/ListGroupsOlderThanOrderingIdCommand.js.map +1 -1
- package/dist/cjs/commands/ListIndicesCommand.js +3 -3
- package/dist/cjs/commands/ListIndicesCommand.js.map +1 -1
- package/dist/cjs/commands/ListQuerySuggestionsBlockListsCommand.js +3 -3
- package/dist/cjs/commands/ListQuerySuggestionsBlockListsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListThesauriCommand.js +3 -3
- package/dist/cjs/commands/ListThesauriCommand.js.map +1 -1
- package/dist/cjs/commands/PutPrincipalMappingCommand.js +3 -3
- package/dist/cjs/commands/PutPrincipalMappingCommand.js.map +1 -1
- package/dist/cjs/commands/QueryCommand.js +3 -3
- package/dist/cjs/commands/QueryCommand.js.map +1 -1
- package/dist/cjs/commands/StartDataSourceSyncJobCommand.js +3 -3
- package/dist/cjs/commands/StartDataSourceSyncJobCommand.js.map +1 -1
- package/dist/cjs/commands/StopDataSourceSyncJobCommand.js +3 -3
- package/dist/cjs/commands/StopDataSourceSyncJobCommand.js.map +1 -1
- package/dist/cjs/commands/SubmitFeedbackCommand.js +3 -3
- package/dist/cjs/commands/SubmitFeedbackCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDataSourceCommand.js +3 -3
- package/dist/cjs/commands/UpdateDataSourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateIndexCommand.js +3 -3
- package/dist/cjs/commands/UpdateIndexCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +3 -3
- package/dist/cjs/commands/UpdateQuerySuggestionsBlockListCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateQuerySuggestionsConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateQuerySuggestionsConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateThesaurusCommand.js +3 -3
- package/dist/cjs/commands/UpdateThesaurusCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +50 -50
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +320 -320
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/ListDataSourceSyncJobsPaginator.js +4 -4
- package/dist/es/pagination/ListDataSourceSyncJobsPaginator.js.map +1 -1
- package/dist/es/pagination/ListDataSourcesPaginator.js +4 -4
- package/dist/es/pagination/ListDataSourcesPaginator.js.map +1 -1
- package/dist/es/pagination/ListIndicesPaginator.js +4 -4
- package/dist/es/pagination/ListIndicesPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -4551,7 +4551,7 @@ const serializeAws_json1_1ConnectionConfiguration = (input, context) => {
|
|
|
4551
4551
|
const serializeAws_json1_1CreateDataSourceRequest = (input, context) => {
|
|
4552
4552
|
var _a;
|
|
4553
4553
|
return {
|
|
4554
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
4554
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4555
4555
|
...(input.Configuration !== undefined &&
|
|
4556
4556
|
input.Configuration !== null && {
|
|
4557
4557
|
Configuration: serializeAws_json1_1DataSourceConfiguration(input.Configuration, context),
|
|
@@ -4568,7 +4568,7 @@ const serializeAws_json1_1CreateDataSourceRequest = (input, context) => {
|
|
|
4568
4568
|
const serializeAws_json1_1CreateFaqRequest = (input, context) => {
|
|
4569
4569
|
var _a;
|
|
4570
4570
|
return {
|
|
4571
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
4571
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4572
4572
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
4573
4573
|
...(input.FileFormat !== undefined && input.FileFormat !== null && { FileFormat: input.FileFormat }),
|
|
4574
4574
|
...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }),
|
|
@@ -4582,7 +4582,7 @@ const serializeAws_json1_1CreateFaqRequest = (input, context) => {
|
|
|
4582
4582
|
const serializeAws_json1_1CreateIndexRequest = (input, context) => {
|
|
4583
4583
|
var _a;
|
|
4584
4584
|
return {
|
|
4585
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
4585
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4586
4586
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
4587
4587
|
...(input.Edition !== undefined && input.Edition !== null && { Edition: input.Edition }),
|
|
4588
4588
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -4603,7 +4603,7 @@ const serializeAws_json1_1CreateIndexRequest = (input, context) => {
|
|
|
4603
4603
|
const serializeAws_json1_1CreateQuerySuggestionsBlockListRequest = (input, context) => {
|
|
4604
4604
|
var _a;
|
|
4605
4605
|
return {
|
|
4606
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
4606
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4607
4607
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
4608
4608
|
...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }),
|
|
4609
4609
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -4616,7 +4616,7 @@ const serializeAws_json1_1CreateQuerySuggestionsBlockListRequest = (input, conte
|
|
|
4616
4616
|
const serializeAws_json1_1CreateThesaurusRequest = (input, context) => {
|
|
4617
4617
|
var _a;
|
|
4618
4618
|
return {
|
|
4619
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
4619
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4620
4620
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
4621
4621
|
...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }),
|
|
4622
4622
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -5958,7 +5958,7 @@ const serializeAws_json1_1WebCrawlerConfiguration = (input, context) => {
|
|
|
5958
5958
|
...(input.CrawlDepth !== undefined && input.CrawlDepth !== null && { CrawlDepth: input.CrawlDepth }),
|
|
5959
5959
|
...(input.MaxContentSizePerPageInMegaBytes !== undefined &&
|
|
5960
5960
|
input.MaxContentSizePerPageInMegaBytes !== null && {
|
|
5961
|
-
MaxContentSizePerPageInMegaBytes:
|
|
5961
|
+
MaxContentSizePerPageInMegaBytes: smithy_client_1.serializeFloat(input.MaxContentSizePerPageInMegaBytes),
|
|
5962
5962
|
}),
|
|
5963
5963
|
...(input.MaxLinksPerPage !== undefined &&
|
|
5964
5964
|
input.MaxLinksPerPage !== null && { MaxLinksPerPage: input.MaxLinksPerPage }),
|
|
@@ -6001,26 +6001,26 @@ const serializeAws_json1_1WorkDocsConfiguration = (input, context) => {
|
|
|
6001
6001
|
};
|
|
6002
6002
|
const deserializeAws_json1_1AccessControlListConfiguration = (output, context) => {
|
|
6003
6003
|
return {
|
|
6004
|
-
KeyPath:
|
|
6004
|
+
KeyPath: smithy_client_1.expectString(output.KeyPath),
|
|
6005
6005
|
};
|
|
6006
6006
|
};
|
|
6007
6007
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
6008
6008
|
return {
|
|
6009
|
-
Message:
|
|
6009
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6010
6010
|
};
|
|
6011
6011
|
};
|
|
6012
6012
|
const deserializeAws_json1_1AclConfiguration = (output, context) => {
|
|
6013
6013
|
return {
|
|
6014
|
-
AllowedGroupsColumnName:
|
|
6014
|
+
AllowedGroupsColumnName: smithy_client_1.expectString(output.AllowedGroupsColumnName),
|
|
6015
6015
|
};
|
|
6016
6016
|
};
|
|
6017
6017
|
const deserializeAws_json1_1AdditionalResultAttribute = (output, context) => {
|
|
6018
6018
|
return {
|
|
6019
|
-
Key:
|
|
6019
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
6020
6020
|
Value: output.Value !== undefined && output.Value !== null
|
|
6021
6021
|
? deserializeAws_json1_1AdditionalResultAttributeValue(output.Value, context)
|
|
6022
6022
|
: undefined,
|
|
6023
|
-
ValueType:
|
|
6023
|
+
ValueType: smithy_client_1.expectString(output.ValueType),
|
|
6024
6024
|
};
|
|
6025
6025
|
};
|
|
6026
6026
|
const deserializeAws_json1_1AdditionalResultAttributeList = (output, context) => {
|
|
@@ -6049,9 +6049,9 @@ const deserializeAws_json1_1AuthenticationConfiguration = (output, context) => {
|
|
|
6049
6049
|
};
|
|
6050
6050
|
const deserializeAws_json1_1BasicAuthenticationConfiguration = (output, context) => {
|
|
6051
6051
|
return {
|
|
6052
|
-
Credentials:
|
|
6053
|
-
Host:
|
|
6054
|
-
Port:
|
|
6052
|
+
Credentials: smithy_client_1.expectString(output.Credentials),
|
|
6053
|
+
Host: smithy_client_1.expectString(output.Host),
|
|
6054
|
+
Port: smithy_client_1.expectInt32(output.Port),
|
|
6055
6055
|
};
|
|
6056
6056
|
};
|
|
6057
6057
|
const deserializeAws_json1_1BasicAuthenticationConfigurationList = (output, context) => {
|
|
@@ -6073,9 +6073,9 @@ const deserializeAws_json1_1BatchDeleteDocumentResponse = (output, context) => {
|
|
|
6073
6073
|
};
|
|
6074
6074
|
const deserializeAws_json1_1BatchDeleteDocumentResponseFailedDocument = (output, context) => {
|
|
6075
6075
|
return {
|
|
6076
|
-
ErrorCode:
|
|
6077
|
-
ErrorMessage:
|
|
6078
|
-
Id:
|
|
6076
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
6077
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6078
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6079
6079
|
};
|
|
6080
6080
|
};
|
|
6081
6081
|
const deserializeAws_json1_1BatchDeleteDocumentResponseFailedDocuments = (output, context) => {
|
|
@@ -6100,9 +6100,9 @@ const deserializeAws_json1_1BatchGetDocumentStatusResponse = (output, context) =
|
|
|
6100
6100
|
};
|
|
6101
6101
|
const deserializeAws_json1_1BatchGetDocumentStatusResponseError = (output, context) => {
|
|
6102
6102
|
return {
|
|
6103
|
-
DocumentId:
|
|
6104
|
-
ErrorCode:
|
|
6105
|
-
ErrorMessage:
|
|
6103
|
+
DocumentId: smithy_client_1.expectString(output.DocumentId),
|
|
6104
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
6105
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6106
6106
|
};
|
|
6107
6107
|
};
|
|
6108
6108
|
const deserializeAws_json1_1BatchGetDocumentStatusResponseErrors = (output, context) => {
|
|
@@ -6124,9 +6124,9 @@ const deserializeAws_json1_1BatchPutDocumentResponse = (output, context) => {
|
|
|
6124
6124
|
};
|
|
6125
6125
|
const deserializeAws_json1_1BatchPutDocumentResponseFailedDocument = (output, context) => {
|
|
6126
6126
|
return {
|
|
6127
|
-
ErrorCode:
|
|
6128
|
-
ErrorMessage:
|
|
6129
|
-
Id:
|
|
6127
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
6128
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6129
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6130
6130
|
};
|
|
6131
6131
|
};
|
|
6132
6132
|
const deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = (output, context) => {
|
|
@@ -6141,8 +6141,8 @@ const deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = (output, c
|
|
|
6141
6141
|
};
|
|
6142
6142
|
const deserializeAws_json1_1CapacityUnitsConfiguration = (output, context) => {
|
|
6143
6143
|
return {
|
|
6144
|
-
QueryCapacityUnits:
|
|
6145
|
-
StorageCapacityUnits:
|
|
6144
|
+
QueryCapacityUnits: smithy_client_1.expectInt32(output.QueryCapacityUnits),
|
|
6145
|
+
StorageCapacityUnits: smithy_client_1.expectInt32(output.StorageCapacityUnits),
|
|
6146
6146
|
};
|
|
6147
6147
|
};
|
|
6148
6148
|
const deserializeAws_json1_1ChangeDetectingColumns = (output, context) => {
|
|
@@ -6152,7 +6152,7 @@ const deserializeAws_json1_1ChangeDetectingColumns = (output, context) => {
|
|
|
6152
6152
|
if (entry === null) {
|
|
6153
6153
|
return null;
|
|
6154
6154
|
}
|
|
6155
|
-
return
|
|
6155
|
+
return smithy_client_1.expectString(entry);
|
|
6156
6156
|
});
|
|
6157
6157
|
};
|
|
6158
6158
|
const deserializeAws_json1_1ColumnConfiguration = (output, context) => {
|
|
@@ -6160,9 +6160,9 @@ const deserializeAws_json1_1ColumnConfiguration = (output, context) => {
|
|
|
6160
6160
|
ChangeDetectingColumns: output.ChangeDetectingColumns !== undefined && output.ChangeDetectingColumns !== null
|
|
6161
6161
|
? deserializeAws_json1_1ChangeDetectingColumns(output.ChangeDetectingColumns, context)
|
|
6162
6162
|
: undefined,
|
|
6163
|
-
DocumentDataColumnName:
|
|
6164
|
-
DocumentIdColumnName:
|
|
6165
|
-
DocumentTitleColumnName:
|
|
6163
|
+
DocumentDataColumnName: smithy_client_1.expectString(output.DocumentDataColumnName),
|
|
6164
|
+
DocumentIdColumnName: smithy_client_1.expectString(output.DocumentIdColumnName),
|
|
6165
|
+
DocumentTitleColumnName: smithy_client_1.expectString(output.DocumentTitleColumnName),
|
|
6166
6166
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
6167
6167
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
6168
6168
|
: undefined,
|
|
@@ -6170,7 +6170,7 @@ const deserializeAws_json1_1ColumnConfiguration = (output, context) => {
|
|
|
6170
6170
|
};
|
|
6171
6171
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
6172
6172
|
return {
|
|
6173
|
-
Message:
|
|
6173
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6174
6174
|
};
|
|
6175
6175
|
};
|
|
6176
6176
|
const deserializeAws_json1_1ConfluenceAttachmentConfiguration = (output, context) => {
|
|
@@ -6178,7 +6178,7 @@ const deserializeAws_json1_1ConfluenceAttachmentConfiguration = (output, context
|
|
|
6178
6178
|
AttachmentFieldMappings: output.AttachmentFieldMappings !== undefined && output.AttachmentFieldMappings !== null
|
|
6179
6179
|
? deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList(output.AttachmentFieldMappings, context)
|
|
6180
6180
|
: undefined,
|
|
6181
|
-
CrawlAttachments:
|
|
6181
|
+
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
6182
6182
|
};
|
|
6183
6183
|
};
|
|
6184
6184
|
const deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList = (output, context) => {
|
|
@@ -6193,9 +6193,9 @@ const deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList = (output, con
|
|
|
6193
6193
|
};
|
|
6194
6194
|
const deserializeAws_json1_1ConfluenceAttachmentToIndexFieldMapping = (output, context) => {
|
|
6195
6195
|
return {
|
|
6196
|
-
DataSourceFieldName:
|
|
6197
|
-
DateFieldFormat:
|
|
6198
|
-
IndexFieldName:
|
|
6196
|
+
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
6197
|
+
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
6198
|
+
IndexFieldName: smithy_client_1.expectString(output.IndexFieldName),
|
|
6199
6199
|
};
|
|
6200
6200
|
};
|
|
6201
6201
|
const deserializeAws_json1_1ConfluenceBlogConfiguration = (output, context) => {
|
|
@@ -6217,9 +6217,9 @@ const deserializeAws_json1_1ConfluenceBlogFieldMappingsList = (output, context)
|
|
|
6217
6217
|
};
|
|
6218
6218
|
const deserializeAws_json1_1ConfluenceBlogToIndexFieldMapping = (output, context) => {
|
|
6219
6219
|
return {
|
|
6220
|
-
DataSourceFieldName:
|
|
6221
|
-
DateFieldFormat:
|
|
6222
|
-
IndexFieldName:
|
|
6220
|
+
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
6221
|
+
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
6222
|
+
IndexFieldName: smithy_client_1.expectString(output.IndexFieldName),
|
|
6223
6223
|
};
|
|
6224
6224
|
};
|
|
6225
6225
|
const deserializeAws_json1_1ConfluenceConfiguration = (output, context) => {
|
|
@@ -6239,12 +6239,12 @@ const deserializeAws_json1_1ConfluenceConfiguration = (output, context) => {
|
|
|
6239
6239
|
PageConfiguration: output.PageConfiguration !== undefined && output.PageConfiguration !== null
|
|
6240
6240
|
? deserializeAws_json1_1ConfluencePageConfiguration(output.PageConfiguration, context)
|
|
6241
6241
|
: undefined,
|
|
6242
|
-
SecretArn:
|
|
6243
|
-
ServerUrl:
|
|
6242
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
6243
|
+
ServerUrl: smithy_client_1.expectString(output.ServerUrl),
|
|
6244
6244
|
SpaceConfiguration: output.SpaceConfiguration !== undefined && output.SpaceConfiguration !== null
|
|
6245
6245
|
? deserializeAws_json1_1ConfluenceSpaceConfiguration(output.SpaceConfiguration, context)
|
|
6246
6246
|
: undefined,
|
|
6247
|
-
Version:
|
|
6247
|
+
Version: smithy_client_1.expectString(output.Version),
|
|
6248
6248
|
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
6249
6249
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6250
6250
|
: undefined,
|
|
@@ -6269,15 +6269,15 @@ const deserializeAws_json1_1ConfluencePageFieldMappingsList = (output, context)
|
|
|
6269
6269
|
};
|
|
6270
6270
|
const deserializeAws_json1_1ConfluencePageToIndexFieldMapping = (output, context) => {
|
|
6271
6271
|
return {
|
|
6272
|
-
DataSourceFieldName:
|
|
6273
|
-
DateFieldFormat:
|
|
6274
|
-
IndexFieldName:
|
|
6272
|
+
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
6273
|
+
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
6274
|
+
IndexFieldName: smithy_client_1.expectString(output.IndexFieldName),
|
|
6275
6275
|
};
|
|
6276
6276
|
};
|
|
6277
6277
|
const deserializeAws_json1_1ConfluenceSpaceConfiguration = (output, context) => {
|
|
6278
6278
|
return {
|
|
6279
|
-
CrawlArchivedSpaces:
|
|
6280
|
-
CrawlPersonalSpaces:
|
|
6279
|
+
CrawlArchivedSpaces: smithy_client_1.expectBoolean(output.CrawlArchivedSpaces),
|
|
6280
|
+
CrawlPersonalSpaces: smithy_client_1.expectBoolean(output.CrawlPersonalSpaces),
|
|
6281
6281
|
ExcludeSpaces: output.ExcludeSpaces !== undefined && output.ExcludeSpaces !== null
|
|
6282
6282
|
? deserializeAws_json1_1ConfluenceSpaceList(output.ExcludeSpaces, context)
|
|
6283
6283
|
: undefined,
|
|
@@ -6306,48 +6306,48 @@ const deserializeAws_json1_1ConfluenceSpaceList = (output, context) => {
|
|
|
6306
6306
|
if (entry === null) {
|
|
6307
6307
|
return null;
|
|
6308
6308
|
}
|
|
6309
|
-
return
|
|
6309
|
+
return smithy_client_1.expectString(entry);
|
|
6310
6310
|
});
|
|
6311
6311
|
};
|
|
6312
6312
|
const deserializeAws_json1_1ConfluenceSpaceToIndexFieldMapping = (output, context) => {
|
|
6313
6313
|
return {
|
|
6314
|
-
DataSourceFieldName:
|
|
6315
|
-
DateFieldFormat:
|
|
6316
|
-
IndexFieldName:
|
|
6314
|
+
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
6315
|
+
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
6316
|
+
IndexFieldName: smithy_client_1.expectString(output.IndexFieldName),
|
|
6317
6317
|
};
|
|
6318
6318
|
};
|
|
6319
6319
|
const deserializeAws_json1_1ConnectionConfiguration = (output, context) => {
|
|
6320
6320
|
return {
|
|
6321
|
-
DatabaseHost:
|
|
6322
|
-
DatabaseName:
|
|
6323
|
-
DatabasePort:
|
|
6324
|
-
SecretArn:
|
|
6325
|
-
TableName:
|
|
6321
|
+
DatabaseHost: smithy_client_1.expectString(output.DatabaseHost),
|
|
6322
|
+
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
6323
|
+
DatabasePort: smithy_client_1.expectInt32(output.DatabasePort),
|
|
6324
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
6325
|
+
TableName: smithy_client_1.expectString(output.TableName),
|
|
6326
6326
|
};
|
|
6327
6327
|
};
|
|
6328
6328
|
const deserializeAws_json1_1CreateDataSourceResponse = (output, context) => {
|
|
6329
6329
|
return {
|
|
6330
|
-
Id:
|
|
6330
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6331
6331
|
};
|
|
6332
6332
|
};
|
|
6333
6333
|
const deserializeAws_json1_1CreateFaqResponse = (output, context) => {
|
|
6334
6334
|
return {
|
|
6335
|
-
Id:
|
|
6335
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6336
6336
|
};
|
|
6337
6337
|
};
|
|
6338
6338
|
const deserializeAws_json1_1CreateIndexResponse = (output, context) => {
|
|
6339
6339
|
return {
|
|
6340
|
-
Id:
|
|
6340
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6341
6341
|
};
|
|
6342
6342
|
};
|
|
6343
6343
|
const deserializeAws_json1_1CreateQuerySuggestionsBlockListResponse = (output, context) => {
|
|
6344
6344
|
return {
|
|
6345
|
-
Id:
|
|
6345
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6346
6346
|
};
|
|
6347
6347
|
};
|
|
6348
6348
|
const deserializeAws_json1_1CreateThesaurusResponse = (output, context) => {
|
|
6349
6349
|
return {
|
|
6350
|
-
Id:
|
|
6350
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6351
6351
|
};
|
|
6352
6352
|
};
|
|
6353
6353
|
const deserializeAws_json1_1DatabaseConfiguration = (output, context) => {
|
|
@@ -6361,7 +6361,7 @@ const deserializeAws_json1_1DatabaseConfiguration = (output, context) => {
|
|
|
6361
6361
|
ConnectionConfiguration: output.ConnectionConfiguration !== undefined && output.ConnectionConfiguration !== null
|
|
6362
6362
|
? deserializeAws_json1_1ConnectionConfiguration(output.ConnectionConfiguration, context)
|
|
6363
6363
|
: undefined,
|
|
6364
|
-
DatabaseEngineType:
|
|
6364
|
+
DatabaseEngineType: smithy_client_1.expectString(output.DatabaseEngineType),
|
|
6365
6365
|
SqlConfiguration: output.SqlConfiguration !== undefined && output.SqlConfiguration !== null
|
|
6366
6366
|
? deserializeAws_json1_1SqlConfiguration(output.SqlConfiguration, context)
|
|
6367
6367
|
: undefined,
|
|
@@ -6411,20 +6411,20 @@ const deserializeAws_json1_1DataSourceInclusionsExclusionsStrings = (output, con
|
|
|
6411
6411
|
if (entry === null) {
|
|
6412
6412
|
return null;
|
|
6413
6413
|
}
|
|
6414
|
-
return
|
|
6414
|
+
return smithy_client_1.expectString(entry);
|
|
6415
6415
|
});
|
|
6416
6416
|
};
|
|
6417
6417
|
const deserializeAws_json1_1DataSourceSummary = (output, context) => {
|
|
6418
6418
|
return {
|
|
6419
6419
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6420
|
-
?
|
|
6420
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6421
6421
|
: undefined,
|
|
6422
|
-
Id:
|
|
6423
|
-
Name:
|
|
6424
|
-
Status:
|
|
6425
|
-
Type:
|
|
6422
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6423
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6424
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6425
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
6426
6426
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6427
|
-
?
|
|
6427
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6428
6428
|
: undefined,
|
|
6429
6429
|
};
|
|
6430
6430
|
};
|
|
@@ -6440,20 +6440,20 @@ const deserializeAws_json1_1DataSourceSummaryList = (output, context) => {
|
|
|
6440
6440
|
};
|
|
6441
6441
|
const deserializeAws_json1_1DataSourceSyncJob = (output, context) => {
|
|
6442
6442
|
return {
|
|
6443
|
-
DataSourceErrorCode:
|
|
6443
|
+
DataSourceErrorCode: smithy_client_1.expectString(output.DataSourceErrorCode),
|
|
6444
6444
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6445
|
-
?
|
|
6445
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6446
6446
|
: undefined,
|
|
6447
|
-
ErrorCode:
|
|
6448
|
-
ErrorMessage:
|
|
6449
|
-
ExecutionId:
|
|
6447
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
6448
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6449
|
+
ExecutionId: smithy_client_1.expectString(output.ExecutionId),
|
|
6450
6450
|
Metrics: output.Metrics !== undefined && output.Metrics !== null
|
|
6451
6451
|
? deserializeAws_json1_1DataSourceSyncJobMetrics(output.Metrics, context)
|
|
6452
6452
|
: undefined,
|
|
6453
6453
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
6454
|
-
?
|
|
6454
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
6455
6455
|
: undefined,
|
|
6456
|
-
Status:
|
|
6456
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6457
6457
|
};
|
|
6458
6458
|
};
|
|
6459
6459
|
const deserializeAws_json1_1DataSourceSyncJobHistoryList = (output, context) => {
|
|
@@ -6468,18 +6468,18 @@ const deserializeAws_json1_1DataSourceSyncJobHistoryList = (output, context) =>
|
|
|
6468
6468
|
};
|
|
6469
6469
|
const deserializeAws_json1_1DataSourceSyncJobMetrics = (output, context) => {
|
|
6470
6470
|
return {
|
|
6471
|
-
DocumentsAdded:
|
|
6472
|
-
DocumentsDeleted:
|
|
6473
|
-
DocumentsFailed:
|
|
6474
|
-
DocumentsModified:
|
|
6475
|
-
DocumentsScanned:
|
|
6471
|
+
DocumentsAdded: smithy_client_1.expectString(output.DocumentsAdded),
|
|
6472
|
+
DocumentsDeleted: smithy_client_1.expectString(output.DocumentsDeleted),
|
|
6473
|
+
DocumentsFailed: smithy_client_1.expectString(output.DocumentsFailed),
|
|
6474
|
+
DocumentsModified: smithy_client_1.expectString(output.DocumentsModified),
|
|
6475
|
+
DocumentsScanned: smithy_client_1.expectString(output.DocumentsScanned),
|
|
6476
6476
|
};
|
|
6477
6477
|
};
|
|
6478
6478
|
const deserializeAws_json1_1DataSourceToIndexFieldMapping = (output, context) => {
|
|
6479
6479
|
return {
|
|
6480
|
-
DataSourceFieldName:
|
|
6481
|
-
DateFieldFormat:
|
|
6482
|
-
IndexFieldName:
|
|
6480
|
+
DataSourceFieldName: smithy_client_1.expectString(output.DataSourceFieldName),
|
|
6481
|
+
DateFieldFormat: smithy_client_1.expectString(output.DateFieldFormat),
|
|
6482
|
+
IndexFieldName: smithy_client_1.expectString(output.IndexFieldName),
|
|
6483
6483
|
};
|
|
6484
6484
|
};
|
|
6485
6485
|
const deserializeAws_json1_1DataSourceToIndexFieldMappingList = (output, context) => {
|
|
@@ -6508,40 +6508,40 @@ const deserializeAws_json1_1DescribeDataSourceResponse = (output, context) => {
|
|
|
6508
6508
|
? deserializeAws_json1_1DataSourceConfiguration(output.Configuration, context)
|
|
6509
6509
|
: undefined,
|
|
6510
6510
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6511
|
-
?
|
|
6512
|
-
: undefined,
|
|
6513
|
-
Description:
|
|
6514
|
-
ErrorMessage:
|
|
6515
|
-
Id:
|
|
6516
|
-
IndexId:
|
|
6517
|
-
Name:
|
|
6518
|
-
RoleArn:
|
|
6519
|
-
Schedule:
|
|
6520
|
-
Status:
|
|
6521
|
-
Type:
|
|
6511
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6512
|
+
: undefined,
|
|
6513
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
6514
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6515
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6516
|
+
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6517
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6518
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6519
|
+
Schedule: smithy_client_1.expectString(output.Schedule),
|
|
6520
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6521
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
6522
6522
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6523
|
-
?
|
|
6523
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6524
6524
|
: undefined,
|
|
6525
6525
|
};
|
|
6526
6526
|
};
|
|
6527
6527
|
const deserializeAws_json1_1DescribeFaqResponse = (output, context) => {
|
|
6528
6528
|
return {
|
|
6529
6529
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6530
|
-
?
|
|
6531
|
-
: undefined,
|
|
6532
|
-
Description:
|
|
6533
|
-
ErrorMessage:
|
|
6534
|
-
FileFormat:
|
|
6535
|
-
Id:
|
|
6536
|
-
IndexId:
|
|
6537
|
-
Name:
|
|
6538
|
-
RoleArn:
|
|
6530
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6531
|
+
: undefined,
|
|
6532
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
6533
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6534
|
+
FileFormat: smithy_client_1.expectString(output.FileFormat),
|
|
6535
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6536
|
+
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6537
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6538
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6539
6539
|
S3Path: output.S3Path !== undefined && output.S3Path !== null
|
|
6540
6540
|
? deserializeAws_json1_1S3Path(output.S3Path, context)
|
|
6541
6541
|
: undefined,
|
|
6542
|
-
Status:
|
|
6542
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6543
6543
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6544
|
-
?
|
|
6544
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6545
6545
|
: undefined,
|
|
6546
6546
|
};
|
|
6547
6547
|
};
|
|
@@ -6551,28 +6551,28 @@ const deserializeAws_json1_1DescribeIndexResponse = (output, context) => {
|
|
|
6551
6551
|
? deserializeAws_json1_1CapacityUnitsConfiguration(output.CapacityUnits, context)
|
|
6552
6552
|
: undefined,
|
|
6553
6553
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6554
|
-
?
|
|
6554
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6555
6555
|
: undefined,
|
|
6556
|
-
Description:
|
|
6556
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
6557
6557
|
DocumentMetadataConfigurations: output.DocumentMetadataConfigurations !== undefined && output.DocumentMetadataConfigurations !== null
|
|
6558
6558
|
? deserializeAws_json1_1DocumentMetadataConfigurationList(output.DocumentMetadataConfigurations, context)
|
|
6559
6559
|
: undefined,
|
|
6560
|
-
Edition:
|
|
6561
|
-
ErrorMessage:
|
|
6562
|
-
Id:
|
|
6560
|
+
Edition: smithy_client_1.expectString(output.Edition),
|
|
6561
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6562
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6563
6563
|
IndexStatistics: output.IndexStatistics !== undefined && output.IndexStatistics !== null
|
|
6564
6564
|
? deserializeAws_json1_1IndexStatistics(output.IndexStatistics, context)
|
|
6565
6565
|
: undefined,
|
|
6566
|
-
Name:
|
|
6567
|
-
RoleArn:
|
|
6566
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6567
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6568
6568
|
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration !== undefined && output.ServerSideEncryptionConfiguration !== null
|
|
6569
6569
|
? deserializeAws_json1_1ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
6570
6570
|
: undefined,
|
|
6571
|
-
Status:
|
|
6571
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6572
6572
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6573
|
-
?
|
|
6573
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6574
6574
|
: undefined,
|
|
6575
|
-
UserContextPolicy:
|
|
6575
|
+
UserContextPolicy: smithy_client_1.expectString(output.UserContextPolicy),
|
|
6576
6576
|
UserTokenConfigurations: output.UserTokenConfigurations !== undefined && output.UserTokenConfigurations !== null
|
|
6577
6577
|
? deserializeAws_json1_1UserTokenConfigurationList(output.UserTokenConfigurations, context)
|
|
6578
6578
|
: undefined,
|
|
@@ -6580,81 +6580,81 @@ const deserializeAws_json1_1DescribeIndexResponse = (output, context) => {
|
|
|
6580
6580
|
};
|
|
6581
6581
|
const deserializeAws_json1_1DescribePrincipalMappingResponse = (output, context) => {
|
|
6582
6582
|
return {
|
|
6583
|
-
DataSourceId:
|
|
6584
|
-
GroupId:
|
|
6583
|
+
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
6584
|
+
GroupId: smithy_client_1.expectString(output.GroupId),
|
|
6585
6585
|
GroupOrderingIdSummaries: output.GroupOrderingIdSummaries !== undefined && output.GroupOrderingIdSummaries !== null
|
|
6586
6586
|
? deserializeAws_json1_1GroupOrderingIdSummaries(output.GroupOrderingIdSummaries, context)
|
|
6587
6587
|
: undefined,
|
|
6588
|
-
IndexId:
|
|
6588
|
+
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6589
6589
|
};
|
|
6590
6590
|
};
|
|
6591
6591
|
const deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = (output, context) => {
|
|
6592
6592
|
return {
|
|
6593
6593
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6594
|
-
?
|
|
6595
|
-
: undefined,
|
|
6596
|
-
Description:
|
|
6597
|
-
ErrorMessage:
|
|
6598
|
-
FileSizeBytes:
|
|
6599
|
-
Id:
|
|
6600
|
-
IndexId:
|
|
6601
|
-
ItemCount:
|
|
6602
|
-
Name:
|
|
6603
|
-
RoleArn:
|
|
6594
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6595
|
+
: undefined,
|
|
6596
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
6597
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6598
|
+
FileSizeBytes: smithy_client_1.expectLong(output.FileSizeBytes),
|
|
6599
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6600
|
+
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6601
|
+
ItemCount: smithy_client_1.expectInt32(output.ItemCount),
|
|
6602
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6603
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6604
6604
|
SourceS3Path: output.SourceS3Path !== undefined && output.SourceS3Path !== null
|
|
6605
6605
|
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
6606
6606
|
: undefined,
|
|
6607
|
-
Status:
|
|
6607
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6608
6608
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6609
|
-
?
|
|
6609
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6610
6610
|
: undefined,
|
|
6611
6611
|
};
|
|
6612
6612
|
};
|
|
6613
6613
|
const deserializeAws_json1_1DescribeQuerySuggestionsConfigResponse = (output, context) => {
|
|
6614
6614
|
return {
|
|
6615
|
-
IncludeQueriesWithoutUserInformation:
|
|
6615
|
+
IncludeQueriesWithoutUserInformation: smithy_client_1.expectBoolean(output.IncludeQueriesWithoutUserInformation),
|
|
6616
6616
|
LastClearTime: output.LastClearTime !== undefined && output.LastClearTime !== null
|
|
6617
|
-
?
|
|
6617
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastClearTime)))
|
|
6618
6618
|
: undefined,
|
|
6619
6619
|
LastSuggestionsBuildTime: output.LastSuggestionsBuildTime !== undefined && output.LastSuggestionsBuildTime !== null
|
|
6620
|
-
?
|
|
6620
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSuggestionsBuildTime)))
|
|
6621
6621
|
: undefined,
|
|
6622
|
-
MinimumNumberOfQueryingUsers:
|
|
6623
|
-
MinimumQueryCount:
|
|
6624
|
-
Mode:
|
|
6625
|
-
QueryLogLookBackWindowInDays:
|
|
6626
|
-
Status:
|
|
6627
|
-
TotalSuggestionsCount:
|
|
6622
|
+
MinimumNumberOfQueryingUsers: smithy_client_1.expectInt32(output.MinimumNumberOfQueryingUsers),
|
|
6623
|
+
MinimumQueryCount: smithy_client_1.expectInt32(output.MinimumQueryCount),
|
|
6624
|
+
Mode: smithy_client_1.expectString(output.Mode),
|
|
6625
|
+
QueryLogLookBackWindowInDays: smithy_client_1.expectInt32(output.QueryLogLookBackWindowInDays),
|
|
6626
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6627
|
+
TotalSuggestionsCount: smithy_client_1.expectInt32(output.TotalSuggestionsCount),
|
|
6628
6628
|
};
|
|
6629
6629
|
};
|
|
6630
6630
|
const deserializeAws_json1_1DescribeThesaurusResponse = (output, context) => {
|
|
6631
6631
|
return {
|
|
6632
6632
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6633
|
-
?
|
|
6634
|
-
: undefined,
|
|
6635
|
-
Description:
|
|
6636
|
-
ErrorMessage:
|
|
6637
|
-
FileSizeBytes:
|
|
6638
|
-
Id:
|
|
6639
|
-
IndexId:
|
|
6640
|
-
Name:
|
|
6641
|
-
RoleArn:
|
|
6633
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6634
|
+
: undefined,
|
|
6635
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
6636
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6637
|
+
FileSizeBytes: smithy_client_1.expectLong(output.FileSizeBytes),
|
|
6638
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6639
|
+
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6640
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6641
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6642
6642
|
SourceS3Path: output.SourceS3Path !== undefined && output.SourceS3Path !== null
|
|
6643
6643
|
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
6644
6644
|
: undefined,
|
|
6645
|
-
Status:
|
|
6646
|
-
SynonymRuleCount:
|
|
6647
|
-
TermCount:
|
|
6645
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6646
|
+
SynonymRuleCount: smithy_client_1.expectLong(output.SynonymRuleCount),
|
|
6647
|
+
TermCount: smithy_client_1.expectLong(output.TermCount),
|
|
6648
6648
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6649
|
-
?
|
|
6649
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6650
6650
|
: undefined,
|
|
6651
6651
|
};
|
|
6652
6652
|
};
|
|
6653
6653
|
const deserializeAws_json1_1DocumentAttribute = (output, context) => {
|
|
6654
6654
|
return {
|
|
6655
|
-
Key:
|
|
6655
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
6656
6656
|
Value: output.Value !== undefined && output.Value !== null
|
|
6657
|
-
? deserializeAws_json1_1DocumentAttributeValue(
|
|
6657
|
+
? deserializeAws_json1_1DocumentAttributeValue(smithy_client_1.expectUnion(output.Value), context)
|
|
6658
6658
|
: undefined,
|
|
6659
6659
|
};
|
|
6660
6660
|
};
|
|
@@ -6675,33 +6675,33 @@ const deserializeAws_json1_1DocumentAttributeStringListValue = (output, context)
|
|
|
6675
6675
|
if (entry === null) {
|
|
6676
6676
|
return null;
|
|
6677
6677
|
}
|
|
6678
|
-
return
|
|
6678
|
+
return smithy_client_1.expectString(entry);
|
|
6679
6679
|
});
|
|
6680
6680
|
};
|
|
6681
6681
|
const deserializeAws_json1_1DocumentAttributeValue = (output, context) => {
|
|
6682
6682
|
if (output.DateValue !== undefined && output.DateValue !== null) {
|
|
6683
6683
|
return {
|
|
6684
|
-
DateValue:
|
|
6684
|
+
DateValue: smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateValue))),
|
|
6685
6685
|
};
|
|
6686
6686
|
}
|
|
6687
|
-
if (
|
|
6688
|
-
return { LongValue:
|
|
6687
|
+
if (smithy_client_1.expectLong(output.LongValue) !== undefined) {
|
|
6688
|
+
return { LongValue: smithy_client_1.expectLong(output.LongValue) };
|
|
6689
6689
|
}
|
|
6690
6690
|
if (output.StringListValue !== undefined && output.StringListValue !== null) {
|
|
6691
6691
|
return {
|
|
6692
6692
|
StringListValue: deserializeAws_json1_1DocumentAttributeStringListValue(output.StringListValue, context),
|
|
6693
6693
|
};
|
|
6694
6694
|
}
|
|
6695
|
-
if (
|
|
6696
|
-
return { StringValue:
|
|
6695
|
+
if (smithy_client_1.expectString(output.StringValue) !== undefined) {
|
|
6696
|
+
return { StringValue: smithy_client_1.expectString(output.StringValue) };
|
|
6697
6697
|
}
|
|
6698
6698
|
return { $unknown: Object.entries(output)[0] };
|
|
6699
6699
|
};
|
|
6700
6700
|
const deserializeAws_json1_1DocumentAttributeValueCountPair = (output, context) => {
|
|
6701
6701
|
return {
|
|
6702
|
-
Count:
|
|
6702
|
+
Count: smithy_client_1.expectInt32(output.Count),
|
|
6703
6703
|
DocumentAttributeValue: output.DocumentAttributeValue !== undefined && output.DocumentAttributeValue !== null
|
|
6704
|
-
? deserializeAws_json1_1DocumentAttributeValue(
|
|
6704
|
+
? deserializeAws_json1_1DocumentAttributeValue(smithy_client_1.expectUnion(output.DocumentAttributeValue), context)
|
|
6705
6705
|
: undefined,
|
|
6706
6706
|
};
|
|
6707
6707
|
};
|
|
@@ -6717,14 +6717,14 @@ const deserializeAws_json1_1DocumentAttributeValueCountPairList = (output, conte
|
|
|
6717
6717
|
};
|
|
6718
6718
|
const deserializeAws_json1_1DocumentMetadataConfiguration = (output, context) => {
|
|
6719
6719
|
return {
|
|
6720
|
-
Name:
|
|
6720
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6721
6721
|
Relevance: output.Relevance !== undefined && output.Relevance !== null
|
|
6722
6722
|
? deserializeAws_json1_1Relevance(output.Relevance, context)
|
|
6723
6723
|
: undefined,
|
|
6724
6724
|
Search: output.Search !== undefined && output.Search !== null
|
|
6725
6725
|
? deserializeAws_json1_1Search(output.Search, context)
|
|
6726
6726
|
: undefined,
|
|
6727
|
-
Type:
|
|
6727
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
6728
6728
|
};
|
|
6729
6729
|
};
|
|
6730
6730
|
const deserializeAws_json1_1DocumentMetadataConfigurationList = (output, context) => {
|
|
@@ -6739,7 +6739,7 @@ const deserializeAws_json1_1DocumentMetadataConfigurationList = (output, context
|
|
|
6739
6739
|
};
|
|
6740
6740
|
const deserializeAws_json1_1DocumentsMetadataConfiguration = (output, context) => {
|
|
6741
6741
|
return {
|
|
6742
|
-
S3Prefix:
|
|
6742
|
+
S3Prefix: smithy_client_1.expectString(output.S3Prefix),
|
|
6743
6743
|
};
|
|
6744
6744
|
};
|
|
6745
6745
|
const deserializeAws_json1_1DocumentStatusList = (output, context) => {
|
|
@@ -6759,7 +6759,7 @@ const deserializeAws_json1_1ExcludeMimeTypesList = (output, context) => {
|
|
|
6759
6759
|
if (entry === null) {
|
|
6760
6760
|
return null;
|
|
6761
6761
|
}
|
|
6762
|
-
return
|
|
6762
|
+
return smithy_client_1.expectString(entry);
|
|
6763
6763
|
});
|
|
6764
6764
|
};
|
|
6765
6765
|
const deserializeAws_json1_1ExcludeSharedDrivesList = (output, context) => {
|
|
@@ -6769,7 +6769,7 @@ const deserializeAws_json1_1ExcludeSharedDrivesList = (output, context) => {
|
|
|
6769
6769
|
if (entry === null) {
|
|
6770
6770
|
return null;
|
|
6771
6771
|
}
|
|
6772
|
-
return
|
|
6772
|
+
return smithy_client_1.expectString(entry);
|
|
6773
6773
|
});
|
|
6774
6774
|
};
|
|
6775
6775
|
const deserializeAws_json1_1ExcludeUserAccountsList = (output, context) => {
|
|
@@ -6779,16 +6779,16 @@ const deserializeAws_json1_1ExcludeUserAccountsList = (output, context) => {
|
|
|
6779
6779
|
if (entry === null) {
|
|
6780
6780
|
return null;
|
|
6781
6781
|
}
|
|
6782
|
-
return
|
|
6782
|
+
return smithy_client_1.expectString(entry);
|
|
6783
6783
|
});
|
|
6784
6784
|
};
|
|
6785
6785
|
const deserializeAws_json1_1FacetResult = (output, context) => {
|
|
6786
6786
|
return {
|
|
6787
|
-
DocumentAttributeKey:
|
|
6787
|
+
DocumentAttributeKey: smithy_client_1.expectString(output.DocumentAttributeKey),
|
|
6788
6788
|
DocumentAttributeValueCountPairs: output.DocumentAttributeValueCountPairs !== undefined && output.DocumentAttributeValueCountPairs !== null
|
|
6789
6789
|
? deserializeAws_json1_1DocumentAttributeValueCountPairList(output.DocumentAttributeValueCountPairs, context)
|
|
6790
6790
|
: undefined,
|
|
6791
|
-
DocumentAttributeValueType:
|
|
6791
|
+
DocumentAttributeValueType: smithy_client_1.expectString(output.DocumentAttributeValueType),
|
|
6792
6792
|
};
|
|
6793
6793
|
};
|
|
6794
6794
|
const deserializeAws_json1_1FacetResultList = (output, context) => {
|
|
@@ -6803,20 +6803,20 @@ const deserializeAws_json1_1FacetResultList = (output, context) => {
|
|
|
6803
6803
|
};
|
|
6804
6804
|
const deserializeAws_json1_1FaqStatistics = (output, context) => {
|
|
6805
6805
|
return {
|
|
6806
|
-
IndexedQuestionAnswersCount:
|
|
6806
|
+
IndexedQuestionAnswersCount: smithy_client_1.expectInt32(output.IndexedQuestionAnswersCount),
|
|
6807
6807
|
};
|
|
6808
6808
|
};
|
|
6809
6809
|
const deserializeAws_json1_1FaqSummary = (output, context) => {
|
|
6810
6810
|
return {
|
|
6811
6811
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6812
|
-
?
|
|
6812
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6813
6813
|
: undefined,
|
|
6814
|
-
FileFormat:
|
|
6815
|
-
Id:
|
|
6816
|
-
Name:
|
|
6817
|
-
Status:
|
|
6814
|
+
FileFormat: smithy_client_1.expectString(output.FileFormat),
|
|
6815
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6816
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6817
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6818
6818
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6819
|
-
?
|
|
6819
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6820
6820
|
: undefined,
|
|
6821
6821
|
};
|
|
6822
6822
|
};
|
|
@@ -6832,7 +6832,7 @@ const deserializeAws_json1_1FaqSummaryItems = (output, context) => {
|
|
|
6832
6832
|
};
|
|
6833
6833
|
const deserializeAws_json1_1GetQuerySuggestionsResponse = (output, context) => {
|
|
6834
6834
|
return {
|
|
6835
|
-
QuerySuggestionsId:
|
|
6835
|
+
QuerySuggestionsId: smithy_client_1.expectString(output.QuerySuggestionsId),
|
|
6836
6836
|
Suggestions: output.Suggestions !== undefined && output.Suggestions !== null
|
|
6837
6837
|
? deserializeAws_json1_1SuggestionList(output.Suggestions, context)
|
|
6838
6838
|
: undefined,
|
|
@@ -6858,7 +6858,7 @@ const deserializeAws_json1_1GoogleDriveConfiguration = (output, context) => {
|
|
|
6858
6858
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
6859
6859
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6860
6860
|
: undefined,
|
|
6861
|
-
SecretArn:
|
|
6861
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
6862
6862
|
};
|
|
6863
6863
|
};
|
|
6864
6864
|
const deserializeAws_json1_1GroupOrderingIdSummaries = (output, context) => {
|
|
@@ -6873,29 +6873,29 @@ const deserializeAws_json1_1GroupOrderingIdSummaries = (output, context) => {
|
|
|
6873
6873
|
};
|
|
6874
6874
|
const deserializeAws_json1_1GroupOrderingIdSummary = (output, context) => {
|
|
6875
6875
|
return {
|
|
6876
|
-
FailureReason:
|
|
6876
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
6877
6877
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
6878
|
-
?
|
|
6878
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
6879
6879
|
: undefined,
|
|
6880
|
-
OrderingId:
|
|
6880
|
+
OrderingId: smithy_client_1.expectLong(output.OrderingId),
|
|
6881
6881
|
ReceivedAt: output.ReceivedAt !== undefined && output.ReceivedAt !== null
|
|
6882
|
-
?
|
|
6882
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReceivedAt)))
|
|
6883
6883
|
: undefined,
|
|
6884
|
-
Status:
|
|
6884
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6885
6885
|
};
|
|
6886
6886
|
};
|
|
6887
6887
|
const deserializeAws_json1_1GroupSummary = (output, context) => {
|
|
6888
6888
|
return {
|
|
6889
|
-
GroupId:
|
|
6890
|
-
OrderingId:
|
|
6889
|
+
GroupId: smithy_client_1.expectString(output.GroupId),
|
|
6890
|
+
OrderingId: smithy_client_1.expectLong(output.OrderingId),
|
|
6891
6891
|
};
|
|
6892
6892
|
};
|
|
6893
6893
|
const deserializeAws_json1_1Highlight = (output, context) => {
|
|
6894
6894
|
return {
|
|
6895
|
-
BeginOffset:
|
|
6896
|
-
EndOffset:
|
|
6897
|
-
TopAnswer:
|
|
6898
|
-
Type:
|
|
6895
|
+
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
6896
|
+
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
6897
|
+
TopAnswer: smithy_client_1.expectBoolean(output.TopAnswer),
|
|
6898
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
6899
6899
|
};
|
|
6900
6900
|
};
|
|
6901
6901
|
const deserializeAws_json1_1HighlightList = (output, context) => {
|
|
@@ -6911,14 +6911,14 @@ const deserializeAws_json1_1HighlightList = (output, context) => {
|
|
|
6911
6911
|
const deserializeAws_json1_1IndexConfigurationSummary = (output, context) => {
|
|
6912
6912
|
return {
|
|
6913
6913
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6914
|
-
?
|
|
6914
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6915
6915
|
: undefined,
|
|
6916
|
-
Edition:
|
|
6917
|
-
Id:
|
|
6918
|
-
Name:
|
|
6919
|
-
Status:
|
|
6916
|
+
Edition: smithy_client_1.expectString(output.Edition),
|
|
6917
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6918
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6919
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6920
6920
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6921
|
-
?
|
|
6921
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6922
6922
|
: undefined,
|
|
6923
6923
|
};
|
|
6924
6924
|
};
|
|
@@ -6944,29 +6944,29 @@ const deserializeAws_json1_1IndexStatistics = (output, context) => {
|
|
|
6944
6944
|
};
|
|
6945
6945
|
const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
6946
6946
|
return {
|
|
6947
|
-
Message:
|
|
6947
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6948
6948
|
};
|
|
6949
6949
|
};
|
|
6950
6950
|
const deserializeAws_json1_1JsonTokenTypeConfiguration = (output, context) => {
|
|
6951
6951
|
return {
|
|
6952
|
-
GroupAttributeField:
|
|
6953
|
-
UserNameAttributeField:
|
|
6952
|
+
GroupAttributeField: smithy_client_1.expectString(output.GroupAttributeField),
|
|
6953
|
+
UserNameAttributeField: smithy_client_1.expectString(output.UserNameAttributeField),
|
|
6954
6954
|
};
|
|
6955
6955
|
};
|
|
6956
6956
|
const deserializeAws_json1_1JwtTokenTypeConfiguration = (output, context) => {
|
|
6957
6957
|
return {
|
|
6958
|
-
ClaimRegex:
|
|
6959
|
-
GroupAttributeField:
|
|
6960
|
-
Issuer:
|
|
6961
|
-
KeyLocation:
|
|
6962
|
-
SecretManagerArn:
|
|
6963
|
-
URL:
|
|
6964
|
-
UserNameAttributeField:
|
|
6958
|
+
ClaimRegex: smithy_client_1.expectString(output.ClaimRegex),
|
|
6959
|
+
GroupAttributeField: smithy_client_1.expectString(output.GroupAttributeField),
|
|
6960
|
+
Issuer: smithy_client_1.expectString(output.Issuer),
|
|
6961
|
+
KeyLocation: smithy_client_1.expectString(output.KeyLocation),
|
|
6962
|
+
SecretManagerArn: smithy_client_1.expectString(output.SecretManagerArn),
|
|
6963
|
+
URL: smithy_client_1.expectString(output.URL),
|
|
6964
|
+
UserNameAttributeField: smithy_client_1.expectString(output.UserNameAttributeField),
|
|
6965
6965
|
};
|
|
6966
6966
|
};
|
|
6967
6967
|
const deserializeAws_json1_1ListDataSourcesResponse = (output, context) => {
|
|
6968
6968
|
return {
|
|
6969
|
-
NextToken:
|
|
6969
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6970
6970
|
SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
|
|
6971
6971
|
? deserializeAws_json1_1DataSourceSummaryList(output.SummaryItems, context)
|
|
6972
6972
|
: undefined,
|
|
@@ -6977,7 +6977,7 @@ const deserializeAws_json1_1ListDataSourceSyncJobsResponse = (output, context) =
|
|
|
6977
6977
|
History: output.History !== undefined && output.History !== null
|
|
6978
6978
|
? deserializeAws_json1_1DataSourceSyncJobHistoryList(output.History, context)
|
|
6979
6979
|
: undefined,
|
|
6980
|
-
NextToken:
|
|
6980
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6981
6981
|
};
|
|
6982
6982
|
};
|
|
6983
6983
|
const deserializeAws_json1_1ListFaqsResponse = (output, context) => {
|
|
@@ -6985,7 +6985,7 @@ const deserializeAws_json1_1ListFaqsResponse = (output, context) => {
|
|
|
6985
6985
|
FaqSummaryItems: output.FaqSummaryItems !== undefined && output.FaqSummaryItems !== null
|
|
6986
6986
|
? deserializeAws_json1_1FaqSummaryItems(output.FaqSummaryItems, context)
|
|
6987
6987
|
: undefined,
|
|
6988
|
-
NextToken:
|
|
6988
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6989
6989
|
};
|
|
6990
6990
|
};
|
|
6991
6991
|
const deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = (output, context) => {
|
|
@@ -6993,7 +6993,7 @@ const deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = (output, con
|
|
|
6993
6993
|
GroupsSummaries: output.GroupsSummaries !== undefined && output.GroupsSummaries !== null
|
|
6994
6994
|
? deserializeAws_json1_1ListOfGroupSummaries(output.GroupsSummaries, context)
|
|
6995
6995
|
: undefined,
|
|
6996
|
-
NextToken:
|
|
6996
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6997
6997
|
};
|
|
6998
6998
|
};
|
|
6999
6999
|
const deserializeAws_json1_1ListIndicesResponse = (output, context) => {
|
|
@@ -7001,7 +7001,7 @@ const deserializeAws_json1_1ListIndicesResponse = (output, context) => {
|
|
|
7001
7001
|
IndexConfigurationSummaryItems: output.IndexConfigurationSummaryItems !== undefined && output.IndexConfigurationSummaryItems !== null
|
|
7002
7002
|
? deserializeAws_json1_1IndexConfigurationSummaryList(output.IndexConfigurationSummaryItems, context)
|
|
7003
7003
|
: undefined,
|
|
7004
|
-
NextToken:
|
|
7004
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7005
7005
|
};
|
|
7006
7006
|
};
|
|
7007
7007
|
const deserializeAws_json1_1ListOfGroupSummaries = (output, context) => {
|
|
@@ -7019,7 +7019,7 @@ const deserializeAws_json1_1ListQuerySuggestionsBlockListsResponse = (output, co
|
|
|
7019
7019
|
BlockListSummaryItems: output.BlockListSummaryItems !== undefined && output.BlockListSummaryItems !== null
|
|
7020
7020
|
? deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems(output.BlockListSummaryItems, context)
|
|
7021
7021
|
: undefined,
|
|
7022
|
-
NextToken:
|
|
7022
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7023
7023
|
};
|
|
7024
7024
|
};
|
|
7025
7025
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
@@ -7031,7 +7031,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
7031
7031
|
};
|
|
7032
7032
|
const deserializeAws_json1_1ListThesauriResponse = (output, context) => {
|
|
7033
7033
|
return {
|
|
7034
|
-
NextToken:
|
|
7034
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7035
7035
|
ThesaurusSummaryItems: output.ThesaurusSummaryItems !== undefined && output.ThesaurusSummaryItems !== null
|
|
7036
7036
|
? deserializeAws_json1_1ThesaurusSummaryItems(output.ThesaurusSummaryItems, context)
|
|
7037
7037
|
: undefined,
|
|
@@ -7039,7 +7039,7 @@ const deserializeAws_json1_1ListThesauriResponse = (output, context) => {
|
|
|
7039
7039
|
};
|
|
7040
7040
|
const deserializeAws_json1_1OneDriveConfiguration = (output, context) => {
|
|
7041
7041
|
return {
|
|
7042
|
-
DisableLocalGroups:
|
|
7042
|
+
DisableLocalGroups: smithy_client_1.expectBoolean(output.DisableLocalGroups),
|
|
7043
7043
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7044
7044
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7045
7045
|
: undefined,
|
|
@@ -7052,8 +7052,8 @@ const deserializeAws_json1_1OneDriveConfiguration = (output, context) => {
|
|
|
7052
7052
|
OneDriveUsers: output.OneDriveUsers !== undefined && output.OneDriveUsers !== null
|
|
7053
7053
|
? deserializeAws_json1_1OneDriveUsers(output.OneDriveUsers, context)
|
|
7054
7054
|
: undefined,
|
|
7055
|
-
SecretArn:
|
|
7056
|
-
TenantDomain:
|
|
7055
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7056
|
+
TenantDomain: smithy_client_1.expectString(output.TenantDomain),
|
|
7057
7057
|
};
|
|
7058
7058
|
};
|
|
7059
7059
|
const deserializeAws_json1_1OneDriveUserList = (output, context) => {
|
|
@@ -7063,7 +7063,7 @@ const deserializeAws_json1_1OneDriveUserList = (output, context) => {
|
|
|
7063
7063
|
if (entry === null) {
|
|
7064
7064
|
return null;
|
|
7065
7065
|
}
|
|
7066
|
-
return
|
|
7066
|
+
return smithy_client_1.expectString(entry);
|
|
7067
7067
|
});
|
|
7068
7068
|
};
|
|
7069
7069
|
const deserializeAws_json1_1OneDriveUsers = (output, context) => {
|
|
@@ -7078,9 +7078,9 @@ const deserializeAws_json1_1OneDriveUsers = (output, context) => {
|
|
|
7078
7078
|
};
|
|
7079
7079
|
const deserializeAws_json1_1ProxyConfiguration = (output, context) => {
|
|
7080
7080
|
return {
|
|
7081
|
-
Credentials:
|
|
7082
|
-
Host:
|
|
7083
|
-
Port:
|
|
7081
|
+
Credentials: smithy_client_1.expectString(output.Credentials),
|
|
7082
|
+
Host: smithy_client_1.expectString(output.Host),
|
|
7083
|
+
Port: smithy_client_1.expectInt32(output.Port),
|
|
7084
7084
|
};
|
|
7085
7085
|
};
|
|
7086
7086
|
const deserializeAws_json1_1QueryResult = (output, context) => {
|
|
@@ -7088,11 +7088,11 @@ const deserializeAws_json1_1QueryResult = (output, context) => {
|
|
|
7088
7088
|
FacetResults: output.FacetResults !== undefined && output.FacetResults !== null
|
|
7089
7089
|
? deserializeAws_json1_1FacetResultList(output.FacetResults, context)
|
|
7090
7090
|
: undefined,
|
|
7091
|
-
QueryId:
|
|
7091
|
+
QueryId: smithy_client_1.expectString(output.QueryId),
|
|
7092
7092
|
ResultItems: output.ResultItems !== undefined && output.ResultItems !== null
|
|
7093
7093
|
? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context)
|
|
7094
7094
|
: undefined,
|
|
7095
|
-
TotalNumberOfResults:
|
|
7095
|
+
TotalNumberOfResults: smithy_client_1.expectInt32(output.TotalNumberOfResults),
|
|
7096
7096
|
};
|
|
7097
7097
|
};
|
|
7098
7098
|
const deserializeAws_json1_1QueryResultItem = (output, context) => {
|
|
@@ -7106,17 +7106,17 @@ const deserializeAws_json1_1QueryResultItem = (output, context) => {
|
|
|
7106
7106
|
DocumentExcerpt: output.DocumentExcerpt !== undefined && output.DocumentExcerpt !== null
|
|
7107
7107
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentExcerpt, context)
|
|
7108
7108
|
: undefined,
|
|
7109
|
-
DocumentId:
|
|
7109
|
+
DocumentId: smithy_client_1.expectString(output.DocumentId),
|
|
7110
7110
|
DocumentTitle: output.DocumentTitle !== undefined && output.DocumentTitle !== null
|
|
7111
7111
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentTitle, context)
|
|
7112
7112
|
: undefined,
|
|
7113
|
-
DocumentURI:
|
|
7114
|
-
FeedbackToken:
|
|
7115
|
-
Id:
|
|
7113
|
+
DocumentURI: smithy_client_1.expectString(output.DocumentURI),
|
|
7114
|
+
FeedbackToken: smithy_client_1.expectString(output.FeedbackToken),
|
|
7115
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
7116
7116
|
ScoreAttributes: output.ScoreAttributes !== undefined && output.ScoreAttributes !== null
|
|
7117
7117
|
? deserializeAws_json1_1ScoreAttributes(output.ScoreAttributes, context)
|
|
7118
7118
|
: undefined,
|
|
7119
|
-
Type:
|
|
7119
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
7120
7120
|
};
|
|
7121
7121
|
};
|
|
7122
7122
|
const deserializeAws_json1_1QueryResultItemList = (output, context) => {
|
|
@@ -7132,14 +7132,14 @@ const deserializeAws_json1_1QueryResultItemList = (output, context) => {
|
|
|
7132
7132
|
const deserializeAws_json1_1QuerySuggestionsBlockListSummary = (output, context) => {
|
|
7133
7133
|
return {
|
|
7134
7134
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
7135
|
-
?
|
|
7135
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
7136
7136
|
: undefined,
|
|
7137
|
-
Id:
|
|
7138
|
-
ItemCount:
|
|
7139
|
-
Name:
|
|
7140
|
-
Status:
|
|
7137
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
7138
|
+
ItemCount: smithy_client_1.expectInt32(output.ItemCount),
|
|
7139
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
7140
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
7141
7141
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
7142
|
-
?
|
|
7142
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
7143
7143
|
: undefined,
|
|
7144
7144
|
};
|
|
7145
7145
|
};
|
|
@@ -7155,10 +7155,10 @@ const deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = (output, con
|
|
|
7155
7155
|
};
|
|
7156
7156
|
const deserializeAws_json1_1Relevance = (output, context) => {
|
|
7157
7157
|
return {
|
|
7158
|
-
Duration:
|
|
7159
|
-
Freshness:
|
|
7160
|
-
Importance:
|
|
7161
|
-
RankOrder:
|
|
7158
|
+
Duration: smithy_client_1.expectString(output.Duration),
|
|
7159
|
+
Freshness: smithy_client_1.expectBoolean(output.Freshness),
|
|
7160
|
+
Importance: smithy_client_1.expectInt32(output.Importance),
|
|
7161
|
+
RankOrder: smithy_client_1.expectString(output.RankOrder),
|
|
7162
7162
|
ValueImportanceMap: output.ValueImportanceMap !== undefined && output.ValueImportanceMap !== null
|
|
7163
7163
|
? deserializeAws_json1_1ValueImportanceMap(output.ValueImportanceMap, context)
|
|
7164
7164
|
: undefined,
|
|
@@ -7166,22 +7166,22 @@ const deserializeAws_json1_1Relevance = (output, context) => {
|
|
|
7166
7166
|
};
|
|
7167
7167
|
const deserializeAws_json1_1ResourceAlreadyExistException = (output, context) => {
|
|
7168
7168
|
return {
|
|
7169
|
-
Message:
|
|
7169
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7170
7170
|
};
|
|
7171
7171
|
};
|
|
7172
7172
|
const deserializeAws_json1_1ResourceInUseException = (output, context) => {
|
|
7173
7173
|
return {
|
|
7174
|
-
Message:
|
|
7174
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7175
7175
|
};
|
|
7176
7176
|
};
|
|
7177
7177
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
7178
7178
|
return {
|
|
7179
|
-
Message:
|
|
7179
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7180
7180
|
};
|
|
7181
7181
|
};
|
|
7182
7182
|
const deserializeAws_json1_1ResourceUnavailableException = (output, context) => {
|
|
7183
7183
|
return {
|
|
7184
|
-
Message:
|
|
7184
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7185
7185
|
};
|
|
7186
7186
|
};
|
|
7187
7187
|
const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
@@ -7189,7 +7189,7 @@ const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
|
7189
7189
|
AccessControlListConfiguration: output.AccessControlListConfiguration !== undefined && output.AccessControlListConfiguration !== null
|
|
7190
7190
|
? deserializeAws_json1_1AccessControlListConfiguration(output.AccessControlListConfiguration, context)
|
|
7191
7191
|
: undefined,
|
|
7192
|
-
BucketName:
|
|
7192
|
+
BucketName: smithy_client_1.expectString(output.BucketName),
|
|
7193
7193
|
DocumentsMetadataConfiguration: output.DocumentsMetadataConfiguration !== undefined && output.DocumentsMetadataConfiguration !== null
|
|
7194
7194
|
? deserializeAws_json1_1DocumentsMetadataConfiguration(output.DocumentsMetadataConfiguration, context)
|
|
7195
7195
|
: undefined,
|
|
@@ -7206,14 +7206,14 @@ const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
|
7206
7206
|
};
|
|
7207
7207
|
const deserializeAws_json1_1S3Path = (output, context) => {
|
|
7208
7208
|
return {
|
|
7209
|
-
Bucket:
|
|
7210
|
-
Key:
|
|
7209
|
+
Bucket: smithy_client_1.expectString(output.Bucket),
|
|
7210
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
7211
7211
|
};
|
|
7212
7212
|
};
|
|
7213
7213
|
const deserializeAws_json1_1SalesforceChatterFeedConfiguration = (output, context) => {
|
|
7214
7214
|
return {
|
|
7215
|
-
DocumentDataFieldName:
|
|
7216
|
-
DocumentTitleFieldName:
|
|
7215
|
+
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7216
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7217
7217
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7218
7218
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7219
7219
|
: undefined,
|
|
@@ -7229,7 +7229,7 @@ const deserializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes = (output, c
|
|
|
7229
7229
|
if (entry === null) {
|
|
7230
7230
|
return null;
|
|
7231
7231
|
}
|
|
7232
|
-
return
|
|
7232
|
+
return smithy_client_1.expectString(entry);
|
|
7233
7233
|
});
|
|
7234
7234
|
};
|
|
7235
7235
|
const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
@@ -7237,7 +7237,7 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7237
7237
|
ChatterFeedConfiguration: output.ChatterFeedConfiguration !== undefined && output.ChatterFeedConfiguration !== null
|
|
7238
7238
|
? deserializeAws_json1_1SalesforceChatterFeedConfiguration(output.ChatterFeedConfiguration, context)
|
|
7239
7239
|
: undefined,
|
|
7240
|
-
CrawlAttachments:
|
|
7240
|
+
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7241
7241
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7242
7242
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7243
7243
|
: undefined,
|
|
@@ -7247,8 +7247,8 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7247
7247
|
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration !== undefined && output.KnowledgeArticleConfiguration !== null
|
|
7248
7248
|
? deserializeAws_json1_1SalesforceKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
7249
7249
|
: undefined,
|
|
7250
|
-
SecretArn:
|
|
7251
|
-
ServerUrl:
|
|
7250
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7251
|
+
ServerUrl: smithy_client_1.expectString(output.ServerUrl),
|
|
7252
7252
|
StandardObjectAttachmentConfiguration: output.StandardObjectAttachmentConfiguration !== undefined &&
|
|
7253
7253
|
output.StandardObjectAttachmentConfiguration !== null
|
|
7254
7254
|
? deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration(output.StandardObjectAttachmentConfiguration, context)
|
|
@@ -7260,12 +7260,12 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7260
7260
|
};
|
|
7261
7261
|
const deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfiguration = (output, context) => {
|
|
7262
7262
|
return {
|
|
7263
|
-
DocumentDataFieldName:
|
|
7264
|
-
DocumentTitleFieldName:
|
|
7263
|
+
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7264
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7265
7265
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7266
7266
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7267
7267
|
: undefined,
|
|
7268
|
-
Name:
|
|
7268
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
7269
7269
|
};
|
|
7270
7270
|
};
|
|
7271
7271
|
const deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList = (output, context) => {
|
|
@@ -7300,13 +7300,13 @@ const deserializeAws_json1_1SalesforceKnowledgeArticleStateList = (output, conte
|
|
|
7300
7300
|
if (entry === null) {
|
|
7301
7301
|
return null;
|
|
7302
7302
|
}
|
|
7303
|
-
return
|
|
7303
|
+
return smithy_client_1.expectString(entry);
|
|
7304
7304
|
});
|
|
7305
7305
|
};
|
|
7306
7306
|
const deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration = (output, context) => {
|
|
7307
7307
|
return {
|
|
7308
|
-
DocumentDataFieldName:
|
|
7309
|
-
DocumentTitleFieldName:
|
|
7308
|
+
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7309
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7310
7310
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7311
7311
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7312
7312
|
: undefined,
|
|
@@ -7314,7 +7314,7 @@ const deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration
|
|
|
7314
7314
|
};
|
|
7315
7315
|
const deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = (output, context) => {
|
|
7316
7316
|
return {
|
|
7317
|
-
DocumentTitleFieldName:
|
|
7317
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7318
7318
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7319
7319
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7320
7320
|
: undefined,
|
|
@@ -7322,12 +7322,12 @@ const deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = (o
|
|
|
7322
7322
|
};
|
|
7323
7323
|
const deserializeAws_json1_1SalesforceStandardObjectConfiguration = (output, context) => {
|
|
7324
7324
|
return {
|
|
7325
|
-
DocumentDataFieldName:
|
|
7326
|
-
DocumentTitleFieldName:
|
|
7325
|
+
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7326
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7327
7327
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7328
7328
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7329
7329
|
: undefined,
|
|
7330
|
-
Name:
|
|
7330
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
7331
7331
|
};
|
|
7332
7332
|
};
|
|
7333
7333
|
const deserializeAws_json1_1SalesforceStandardObjectConfigurationList = (output, context) => {
|
|
@@ -7342,15 +7342,15 @@ const deserializeAws_json1_1SalesforceStandardObjectConfigurationList = (output,
|
|
|
7342
7342
|
};
|
|
7343
7343
|
const deserializeAws_json1_1ScoreAttributes = (output, context) => {
|
|
7344
7344
|
return {
|
|
7345
|
-
ScoreConfidence:
|
|
7345
|
+
ScoreConfidence: smithy_client_1.expectString(output.ScoreConfidence),
|
|
7346
7346
|
};
|
|
7347
7347
|
};
|
|
7348
7348
|
const deserializeAws_json1_1Search = (output, context) => {
|
|
7349
7349
|
return {
|
|
7350
|
-
Displayable:
|
|
7351
|
-
Facetable:
|
|
7352
|
-
Searchable:
|
|
7353
|
-
Sortable:
|
|
7350
|
+
Displayable: smithy_client_1.expectBoolean(output.Displayable),
|
|
7351
|
+
Facetable: smithy_client_1.expectBoolean(output.Facetable),
|
|
7352
|
+
Searchable: smithy_client_1.expectBoolean(output.Searchable),
|
|
7353
|
+
Sortable: smithy_client_1.expectBoolean(output.Sortable),
|
|
7354
7354
|
};
|
|
7355
7355
|
};
|
|
7356
7356
|
const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
|
|
@@ -7360,7 +7360,7 @@ const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
|
|
|
7360
7360
|
if (entry === null) {
|
|
7361
7361
|
return null;
|
|
7362
7362
|
}
|
|
7363
|
-
return
|
|
7363
|
+
return smithy_client_1.expectString(entry);
|
|
7364
7364
|
});
|
|
7365
7365
|
};
|
|
7366
7366
|
const deserializeAws_json1_1SeedUrlConfiguration = (output, context) => {
|
|
@@ -7368,7 +7368,7 @@ const deserializeAws_json1_1SeedUrlConfiguration = (output, context) => {
|
|
|
7368
7368
|
SeedUrls: output.SeedUrls !== undefined && output.SeedUrls !== null
|
|
7369
7369
|
? deserializeAws_json1_1SeedUrlList(output.SeedUrls, context)
|
|
7370
7370
|
: undefined,
|
|
7371
|
-
WebCrawlerMode:
|
|
7371
|
+
WebCrawlerMode: smithy_client_1.expectString(output.WebCrawlerMode),
|
|
7372
7372
|
};
|
|
7373
7373
|
};
|
|
7374
7374
|
const deserializeAws_json1_1SeedUrlList = (output, context) => {
|
|
@@ -7378,40 +7378,40 @@ const deserializeAws_json1_1SeedUrlList = (output, context) => {
|
|
|
7378
7378
|
if (entry === null) {
|
|
7379
7379
|
return null;
|
|
7380
7380
|
}
|
|
7381
|
-
return
|
|
7381
|
+
return smithy_client_1.expectString(entry);
|
|
7382
7382
|
});
|
|
7383
7383
|
};
|
|
7384
7384
|
const deserializeAws_json1_1ServerSideEncryptionConfiguration = (output, context) => {
|
|
7385
7385
|
return {
|
|
7386
|
-
KmsKeyId:
|
|
7386
|
+
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
7387
7387
|
};
|
|
7388
7388
|
};
|
|
7389
7389
|
const deserializeAws_json1_1ServiceNowConfiguration = (output, context) => {
|
|
7390
7390
|
return {
|
|
7391
|
-
AuthenticationType:
|
|
7392
|
-
HostUrl:
|
|
7391
|
+
AuthenticationType: smithy_client_1.expectString(output.AuthenticationType),
|
|
7392
|
+
HostUrl: smithy_client_1.expectString(output.HostUrl),
|
|
7393
7393
|
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration !== undefined && output.KnowledgeArticleConfiguration !== null
|
|
7394
7394
|
? deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
7395
7395
|
: undefined,
|
|
7396
|
-
SecretArn:
|
|
7396
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7397
7397
|
ServiceCatalogConfiguration: output.ServiceCatalogConfiguration !== undefined && output.ServiceCatalogConfiguration !== null
|
|
7398
7398
|
? deserializeAws_json1_1ServiceNowServiceCatalogConfiguration(output.ServiceCatalogConfiguration, context)
|
|
7399
7399
|
: undefined,
|
|
7400
|
-
ServiceNowBuildVersion:
|
|
7400
|
+
ServiceNowBuildVersion: smithy_client_1.expectString(output.ServiceNowBuildVersion),
|
|
7401
7401
|
};
|
|
7402
7402
|
};
|
|
7403
7403
|
const deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = (output, context) => {
|
|
7404
7404
|
return {
|
|
7405
|
-
CrawlAttachments:
|
|
7406
|
-
DocumentDataFieldName:
|
|
7407
|
-
DocumentTitleFieldName:
|
|
7405
|
+
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7406
|
+
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7407
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7408
7408
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7409
7409
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7410
7410
|
: undefined,
|
|
7411
7411
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7412
7412
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7413
7413
|
: undefined,
|
|
7414
|
-
FilterQuery:
|
|
7414
|
+
FilterQuery: smithy_client_1.expectString(output.FilterQuery),
|
|
7415
7415
|
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns !== undefined && output.IncludeAttachmentFilePatterns !== null
|
|
7416
7416
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.IncludeAttachmentFilePatterns, context)
|
|
7417
7417
|
: undefined,
|
|
@@ -7419,9 +7419,9 @@ const deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = (output, c
|
|
|
7419
7419
|
};
|
|
7420
7420
|
const deserializeAws_json1_1ServiceNowServiceCatalogConfiguration = (output, context) => {
|
|
7421
7421
|
return {
|
|
7422
|
-
CrawlAttachments:
|
|
7423
|
-
DocumentDataFieldName:
|
|
7424
|
-
DocumentTitleFieldName:
|
|
7422
|
+
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7423
|
+
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7424
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7425
7425
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7426
7426
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7427
7427
|
: undefined,
|
|
@@ -7435,14 +7435,14 @@ const deserializeAws_json1_1ServiceNowServiceCatalogConfiguration = (output, con
|
|
|
7435
7435
|
};
|
|
7436
7436
|
const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
|
|
7437
7437
|
return {
|
|
7438
|
-
Message:
|
|
7438
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7439
7439
|
};
|
|
7440
7440
|
};
|
|
7441
7441
|
const deserializeAws_json1_1SharePointConfiguration = (output, context) => {
|
|
7442
7442
|
return {
|
|
7443
|
-
CrawlAttachments:
|
|
7444
|
-
DisableLocalGroups:
|
|
7445
|
-
DocumentTitleFieldName:
|
|
7443
|
+
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7444
|
+
DisableLocalGroups: smithy_client_1.expectBoolean(output.DisableLocalGroups),
|
|
7445
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7446
7446
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7447
7447
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7448
7448
|
: undefined,
|
|
@@ -7452,15 +7452,15 @@ const deserializeAws_json1_1SharePointConfiguration = (output, context) => {
|
|
|
7452
7452
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7453
7453
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7454
7454
|
: undefined,
|
|
7455
|
-
SecretArn:
|
|
7456
|
-
SharePointVersion:
|
|
7455
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7456
|
+
SharePointVersion: smithy_client_1.expectString(output.SharePointVersion),
|
|
7457
7457
|
SslCertificateS3Path: output.SslCertificateS3Path !== undefined && output.SslCertificateS3Path !== null
|
|
7458
7458
|
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
7459
7459
|
: undefined,
|
|
7460
7460
|
Urls: output.Urls !== undefined && output.Urls !== null
|
|
7461
7461
|
? deserializeAws_json1_1SharePointUrlList(output.Urls, context)
|
|
7462
7462
|
: undefined,
|
|
7463
|
-
UseChangeLog:
|
|
7463
|
+
UseChangeLog: smithy_client_1.expectBoolean(output.UseChangeLog),
|
|
7464
7464
|
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
7465
7465
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7466
7466
|
: undefined,
|
|
@@ -7473,7 +7473,7 @@ const deserializeAws_json1_1SharePointUrlList = (output, context) => {
|
|
|
7473
7473
|
if (entry === null) {
|
|
7474
7474
|
return null;
|
|
7475
7475
|
}
|
|
7476
|
-
return
|
|
7476
|
+
return smithy_client_1.expectString(entry);
|
|
7477
7477
|
});
|
|
7478
7478
|
};
|
|
7479
7479
|
const deserializeAws_json1_1SiteMapsConfiguration = (output, context) => {
|
|
@@ -7490,25 +7490,25 @@ const deserializeAws_json1_1SiteMapsList = (output, context) => {
|
|
|
7490
7490
|
if (entry === null) {
|
|
7491
7491
|
return null;
|
|
7492
7492
|
}
|
|
7493
|
-
return
|
|
7493
|
+
return smithy_client_1.expectString(entry);
|
|
7494
7494
|
});
|
|
7495
7495
|
};
|
|
7496
7496
|
const deserializeAws_json1_1SqlConfiguration = (output, context) => {
|
|
7497
7497
|
return {
|
|
7498
|
-
QueryIdentifiersEnclosingOption:
|
|
7498
|
+
QueryIdentifiersEnclosingOption: smithy_client_1.expectString(output.QueryIdentifiersEnclosingOption),
|
|
7499
7499
|
};
|
|
7500
7500
|
};
|
|
7501
7501
|
const deserializeAws_json1_1StartDataSourceSyncJobResponse = (output, context) => {
|
|
7502
7502
|
return {
|
|
7503
|
-
ExecutionId:
|
|
7503
|
+
ExecutionId: smithy_client_1.expectString(output.ExecutionId),
|
|
7504
7504
|
};
|
|
7505
7505
|
};
|
|
7506
7506
|
const deserializeAws_json1_1Status = (output, context) => {
|
|
7507
7507
|
return {
|
|
7508
|
-
DocumentId:
|
|
7509
|
-
DocumentStatus:
|
|
7510
|
-
FailureCode:
|
|
7511
|
-
FailureReason:
|
|
7508
|
+
DocumentId: smithy_client_1.expectString(output.DocumentId),
|
|
7509
|
+
DocumentStatus: smithy_client_1.expectString(output.DocumentStatus),
|
|
7510
|
+
FailureCode: smithy_client_1.expectString(output.FailureCode),
|
|
7511
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
7512
7512
|
};
|
|
7513
7513
|
};
|
|
7514
7514
|
const deserializeAws_json1_1SubnetIdList = (output, context) => {
|
|
@@ -7518,12 +7518,12 @@ const deserializeAws_json1_1SubnetIdList = (output, context) => {
|
|
|
7518
7518
|
if (entry === null) {
|
|
7519
7519
|
return null;
|
|
7520
7520
|
}
|
|
7521
|
-
return
|
|
7521
|
+
return smithy_client_1.expectString(entry);
|
|
7522
7522
|
});
|
|
7523
7523
|
};
|
|
7524
7524
|
const deserializeAws_json1_1Suggestion = (output, context) => {
|
|
7525
7525
|
return {
|
|
7526
|
-
Id:
|
|
7526
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
7527
7527
|
Value: output.Value !== undefined && output.Value !== null
|
|
7528
7528
|
? deserializeAws_json1_1SuggestionValue(output.Value, context)
|
|
7529
7529
|
: undefined,
|
|
@@ -7531,8 +7531,8 @@ const deserializeAws_json1_1Suggestion = (output, context) => {
|
|
|
7531
7531
|
};
|
|
7532
7532
|
const deserializeAws_json1_1SuggestionHighlight = (output, context) => {
|
|
7533
7533
|
return {
|
|
7534
|
-
BeginOffset:
|
|
7535
|
-
EndOffset:
|
|
7534
|
+
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
7535
|
+
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
7536
7536
|
};
|
|
7537
7537
|
};
|
|
7538
7538
|
const deserializeAws_json1_1SuggestionHighlightList = (output, context) => {
|
|
@@ -7560,7 +7560,7 @@ const deserializeAws_json1_1SuggestionTextWithHighlights = (output, context) =>
|
|
|
7560
7560
|
Highlights: output.Highlights !== undefined && output.Highlights !== null
|
|
7561
7561
|
? deserializeAws_json1_1SuggestionHighlightList(output.Highlights, context)
|
|
7562
7562
|
: undefined,
|
|
7563
|
-
Text:
|
|
7563
|
+
Text: smithy_client_1.expectString(output.Text),
|
|
7564
7564
|
};
|
|
7565
7565
|
};
|
|
7566
7566
|
const deserializeAws_json1_1SuggestionValue = (output, context) => {
|
|
@@ -7572,8 +7572,8 @@ const deserializeAws_json1_1SuggestionValue = (output, context) => {
|
|
|
7572
7572
|
};
|
|
7573
7573
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
7574
7574
|
return {
|
|
7575
|
-
Key:
|
|
7576
|
-
Value:
|
|
7575
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
7576
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
7577
7577
|
};
|
|
7578
7578
|
};
|
|
7579
7579
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -7591,8 +7591,8 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
7591
7591
|
};
|
|
7592
7592
|
const deserializeAws_json1_1TextDocumentStatistics = (output, context) => {
|
|
7593
7593
|
return {
|
|
7594
|
-
IndexedTextBytes:
|
|
7595
|
-
IndexedTextDocumentsCount:
|
|
7594
|
+
IndexedTextBytes: smithy_client_1.expectLong(output.IndexedTextBytes),
|
|
7595
|
+
IndexedTextDocumentsCount: smithy_client_1.expectInt32(output.IndexedTextDocumentsCount),
|
|
7596
7596
|
};
|
|
7597
7597
|
};
|
|
7598
7598
|
const deserializeAws_json1_1TextWithHighlights = (output, context) => {
|
|
@@ -7600,19 +7600,19 @@ const deserializeAws_json1_1TextWithHighlights = (output, context) => {
|
|
|
7600
7600
|
Highlights: output.Highlights !== undefined && output.Highlights !== null
|
|
7601
7601
|
? deserializeAws_json1_1HighlightList(output.Highlights, context)
|
|
7602
7602
|
: undefined,
|
|
7603
|
-
Text:
|
|
7603
|
+
Text: smithy_client_1.expectString(output.Text),
|
|
7604
7604
|
};
|
|
7605
7605
|
};
|
|
7606
7606
|
const deserializeAws_json1_1ThesaurusSummary = (output, context) => {
|
|
7607
7607
|
return {
|
|
7608
7608
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
7609
|
-
?
|
|
7609
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
7610
7610
|
: undefined,
|
|
7611
|
-
Id:
|
|
7612
|
-
Name:
|
|
7613
|
-
Status:
|
|
7611
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
7612
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
7613
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
7614
7614
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
7615
|
-
?
|
|
7615
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
7616
7616
|
: undefined,
|
|
7617
7617
|
};
|
|
7618
7618
|
};
|
|
@@ -7628,7 +7628,7 @@ const deserializeAws_json1_1ThesaurusSummaryItems = (output, context) => {
|
|
|
7628
7628
|
};
|
|
7629
7629
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
7630
7630
|
return {
|
|
7631
|
-
Message:
|
|
7631
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7632
7632
|
};
|
|
7633
7633
|
};
|
|
7634
7634
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
@@ -7666,7 +7666,7 @@ const deserializeAws_json1_1UserTokenConfigurationList = (output, context) => {
|
|
|
7666
7666
|
};
|
|
7667
7667
|
const deserializeAws_json1_1ValidationException = (output, context) => {
|
|
7668
7668
|
return {
|
|
7669
|
-
Message:
|
|
7669
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7670
7670
|
};
|
|
7671
7671
|
};
|
|
7672
7672
|
const deserializeAws_json1_1ValueImportanceMap = (output, context) => {
|
|
@@ -7676,7 +7676,7 @@ const deserializeAws_json1_1ValueImportanceMap = (output, context) => {
|
|
|
7676
7676
|
}
|
|
7677
7677
|
return {
|
|
7678
7678
|
...acc,
|
|
7679
|
-
[key]:
|
|
7679
|
+
[key]: smithy_client_1.expectInt32(value),
|
|
7680
7680
|
};
|
|
7681
7681
|
}, {});
|
|
7682
7682
|
};
|
|
@@ -7685,10 +7685,10 @@ const deserializeAws_json1_1WebCrawlerConfiguration = (output, context) => {
|
|
|
7685
7685
|
AuthenticationConfiguration: output.AuthenticationConfiguration !== undefined && output.AuthenticationConfiguration !== null
|
|
7686
7686
|
? deserializeAws_json1_1AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
7687
7687
|
: undefined,
|
|
7688
|
-
CrawlDepth:
|
|
7689
|
-
MaxContentSizePerPageInMegaBytes:
|
|
7690
|
-
MaxLinksPerPage:
|
|
7691
|
-
MaxUrlsPerMinuteCrawlRate:
|
|
7688
|
+
CrawlDepth: smithy_client_1.expectInt32(output.CrawlDepth),
|
|
7689
|
+
MaxContentSizePerPageInMegaBytes: smithy_client_1.limitedParseFloat32(output.MaxContentSizePerPageInMegaBytes),
|
|
7690
|
+
MaxLinksPerPage: smithy_client_1.expectInt32(output.MaxLinksPerPage),
|
|
7691
|
+
MaxUrlsPerMinuteCrawlRate: smithy_client_1.expectInt32(output.MaxUrlsPerMinuteCrawlRate),
|
|
7692
7692
|
ProxyConfiguration: output.ProxyConfiguration !== undefined && output.ProxyConfiguration !== null
|
|
7693
7693
|
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
7694
7694
|
: undefined,
|
|
@@ -7703,7 +7703,7 @@ const deserializeAws_json1_1WebCrawlerConfiguration = (output, context) => {
|
|
|
7703
7703
|
};
|
|
7704
7704
|
const deserializeAws_json1_1WorkDocsConfiguration = (output, context) => {
|
|
7705
7705
|
return {
|
|
7706
|
-
CrawlComments:
|
|
7706
|
+
CrawlComments: smithy_client_1.expectBoolean(output.CrawlComments),
|
|
7707
7707
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7708
7708
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7709
7709
|
: undefined,
|
|
@@ -7713,8 +7713,8 @@ const deserializeAws_json1_1WorkDocsConfiguration = (output, context) => {
|
|
|
7713
7713
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7714
7714
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7715
7715
|
: undefined,
|
|
7716
|
-
OrganizationId:
|
|
7717
|
-
UseChangeLog:
|
|
7716
|
+
OrganizationId: smithy_client_1.expectString(output.OrganizationId),
|
|
7717
|
+
UseChangeLog: smithy_client_1.expectBoolean(output.UseChangeLog),
|
|
7718
7718
|
};
|
|
7719
7719
|
};
|
|
7720
7720
|
const deserializeMetadata = (output) => {
|