@aws-sdk/client-kendra 3.29.0 → 3.33.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 +32 -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 +322 -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/dist/es/protocols/Aws_json1_1.js +32 -30
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +35 -29
- 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,18 +6440,20 @@ const deserializeAws_json1_1DataSourceSummaryList = (output, context) => {
|
|
|
6440
6440
|
};
|
|
6441
6441
|
const deserializeAws_json1_1DataSourceSyncJob = (output, context) => {
|
|
6442
6442
|
return {
|
|
6443
|
-
DataSourceErrorCode:
|
|
6444
|
-
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6443
|
+
DataSourceErrorCode: smithy_client_1.expectString(output.DataSourceErrorCode),
|
|
6444
|
+
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6445
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6446
|
+
: undefined,
|
|
6447
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
6448
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6449
|
+
ExecutionId: smithy_client_1.expectString(output.ExecutionId),
|
|
6448
6450
|
Metrics: output.Metrics !== undefined && output.Metrics !== null
|
|
6449
6451
|
? deserializeAws_json1_1DataSourceSyncJobMetrics(output.Metrics, context)
|
|
6450
6452
|
: undefined,
|
|
6451
6453
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
6452
|
-
?
|
|
6454
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
6453
6455
|
: undefined,
|
|
6454
|
-
Status:
|
|
6456
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6455
6457
|
};
|
|
6456
6458
|
};
|
|
6457
6459
|
const deserializeAws_json1_1DataSourceSyncJobHistoryList = (output, context) => {
|
|
@@ -6466,18 +6468,18 @@ const deserializeAws_json1_1DataSourceSyncJobHistoryList = (output, context) =>
|
|
|
6466
6468
|
};
|
|
6467
6469
|
const deserializeAws_json1_1DataSourceSyncJobMetrics = (output, context) => {
|
|
6468
6470
|
return {
|
|
6469
|
-
DocumentsAdded:
|
|
6470
|
-
DocumentsDeleted:
|
|
6471
|
-
DocumentsFailed:
|
|
6472
|
-
DocumentsModified:
|
|
6473
|
-
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),
|
|
6474
6476
|
};
|
|
6475
6477
|
};
|
|
6476
6478
|
const deserializeAws_json1_1DataSourceToIndexFieldMapping = (output, context) => {
|
|
6477
6479
|
return {
|
|
6478
|
-
DataSourceFieldName:
|
|
6479
|
-
DateFieldFormat:
|
|
6480
|
-
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),
|
|
6481
6483
|
};
|
|
6482
6484
|
};
|
|
6483
6485
|
const deserializeAws_json1_1DataSourceToIndexFieldMappingList = (output, context) => {
|
|
@@ -6506,40 +6508,40 @@ const deserializeAws_json1_1DescribeDataSourceResponse = (output, context) => {
|
|
|
6506
6508
|
? deserializeAws_json1_1DataSourceConfiguration(output.Configuration, context)
|
|
6507
6509
|
: undefined,
|
|
6508
6510
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6509
|
-
?
|
|
6510
|
-
: undefined,
|
|
6511
|
-
Description:
|
|
6512
|
-
ErrorMessage:
|
|
6513
|
-
Id:
|
|
6514
|
-
IndexId:
|
|
6515
|
-
Name:
|
|
6516
|
-
RoleArn:
|
|
6517
|
-
Schedule:
|
|
6518
|
-
Status:
|
|
6519
|
-
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),
|
|
6520
6522
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6521
|
-
?
|
|
6523
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6522
6524
|
: undefined,
|
|
6523
6525
|
};
|
|
6524
6526
|
};
|
|
6525
6527
|
const deserializeAws_json1_1DescribeFaqResponse = (output, context) => {
|
|
6526
6528
|
return {
|
|
6527
6529
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6528
|
-
?
|
|
6529
|
-
: undefined,
|
|
6530
|
-
Description:
|
|
6531
|
-
ErrorMessage:
|
|
6532
|
-
FileFormat:
|
|
6533
|
-
Id:
|
|
6534
|
-
IndexId:
|
|
6535
|
-
Name:
|
|
6536
|
-
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),
|
|
6537
6539
|
S3Path: output.S3Path !== undefined && output.S3Path !== null
|
|
6538
6540
|
? deserializeAws_json1_1S3Path(output.S3Path, context)
|
|
6539
6541
|
: undefined,
|
|
6540
|
-
Status:
|
|
6542
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6541
6543
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6542
|
-
?
|
|
6544
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6543
6545
|
: undefined,
|
|
6544
6546
|
};
|
|
6545
6547
|
};
|
|
@@ -6549,28 +6551,28 @@ const deserializeAws_json1_1DescribeIndexResponse = (output, context) => {
|
|
|
6549
6551
|
? deserializeAws_json1_1CapacityUnitsConfiguration(output.CapacityUnits, context)
|
|
6550
6552
|
: undefined,
|
|
6551
6553
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6552
|
-
?
|
|
6554
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6553
6555
|
: undefined,
|
|
6554
|
-
Description:
|
|
6556
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
6555
6557
|
DocumentMetadataConfigurations: output.DocumentMetadataConfigurations !== undefined && output.DocumentMetadataConfigurations !== null
|
|
6556
6558
|
? deserializeAws_json1_1DocumentMetadataConfigurationList(output.DocumentMetadataConfigurations, context)
|
|
6557
6559
|
: undefined,
|
|
6558
|
-
Edition:
|
|
6559
|
-
ErrorMessage:
|
|
6560
|
-
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),
|
|
6561
6563
|
IndexStatistics: output.IndexStatistics !== undefined && output.IndexStatistics !== null
|
|
6562
6564
|
? deserializeAws_json1_1IndexStatistics(output.IndexStatistics, context)
|
|
6563
6565
|
: undefined,
|
|
6564
|
-
Name:
|
|
6565
|
-
RoleArn:
|
|
6566
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6567
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
6566
6568
|
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration !== undefined && output.ServerSideEncryptionConfiguration !== null
|
|
6567
6569
|
? deserializeAws_json1_1ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
6568
6570
|
: undefined,
|
|
6569
|
-
Status:
|
|
6571
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6570
6572
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6571
|
-
?
|
|
6573
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6572
6574
|
: undefined,
|
|
6573
|
-
UserContextPolicy:
|
|
6575
|
+
UserContextPolicy: smithy_client_1.expectString(output.UserContextPolicy),
|
|
6574
6576
|
UserTokenConfigurations: output.UserTokenConfigurations !== undefined && output.UserTokenConfigurations !== null
|
|
6575
6577
|
? deserializeAws_json1_1UserTokenConfigurationList(output.UserTokenConfigurations, context)
|
|
6576
6578
|
: undefined,
|
|
@@ -6578,81 +6580,81 @@ const deserializeAws_json1_1DescribeIndexResponse = (output, context) => {
|
|
|
6578
6580
|
};
|
|
6579
6581
|
const deserializeAws_json1_1DescribePrincipalMappingResponse = (output, context) => {
|
|
6580
6582
|
return {
|
|
6581
|
-
DataSourceId:
|
|
6582
|
-
GroupId:
|
|
6583
|
+
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
6584
|
+
GroupId: smithy_client_1.expectString(output.GroupId),
|
|
6583
6585
|
GroupOrderingIdSummaries: output.GroupOrderingIdSummaries !== undefined && output.GroupOrderingIdSummaries !== null
|
|
6584
6586
|
? deserializeAws_json1_1GroupOrderingIdSummaries(output.GroupOrderingIdSummaries, context)
|
|
6585
6587
|
: undefined,
|
|
6586
|
-
IndexId:
|
|
6588
|
+
IndexId: smithy_client_1.expectString(output.IndexId),
|
|
6587
6589
|
};
|
|
6588
6590
|
};
|
|
6589
6591
|
const deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = (output, context) => {
|
|
6590
6592
|
return {
|
|
6591
6593
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6592
|
-
?
|
|
6593
|
-
: undefined,
|
|
6594
|
-
Description:
|
|
6595
|
-
ErrorMessage:
|
|
6596
|
-
FileSizeBytes:
|
|
6597
|
-
Id:
|
|
6598
|
-
IndexId:
|
|
6599
|
-
ItemCount:
|
|
6600
|
-
Name:
|
|
6601
|
-
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),
|
|
6602
6604
|
SourceS3Path: output.SourceS3Path !== undefined && output.SourceS3Path !== null
|
|
6603
6605
|
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
6604
6606
|
: undefined,
|
|
6605
|
-
Status:
|
|
6607
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6606
6608
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6607
|
-
?
|
|
6609
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6608
6610
|
: undefined,
|
|
6609
6611
|
};
|
|
6610
6612
|
};
|
|
6611
6613
|
const deserializeAws_json1_1DescribeQuerySuggestionsConfigResponse = (output, context) => {
|
|
6612
6614
|
return {
|
|
6613
|
-
IncludeQueriesWithoutUserInformation:
|
|
6615
|
+
IncludeQueriesWithoutUserInformation: smithy_client_1.expectBoolean(output.IncludeQueriesWithoutUserInformation),
|
|
6614
6616
|
LastClearTime: output.LastClearTime !== undefined && output.LastClearTime !== null
|
|
6615
|
-
?
|
|
6617
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastClearTime)))
|
|
6616
6618
|
: undefined,
|
|
6617
6619
|
LastSuggestionsBuildTime: output.LastSuggestionsBuildTime !== undefined && output.LastSuggestionsBuildTime !== null
|
|
6618
|
-
?
|
|
6620
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSuggestionsBuildTime)))
|
|
6619
6621
|
: undefined,
|
|
6620
|
-
MinimumNumberOfQueryingUsers:
|
|
6621
|
-
MinimumQueryCount:
|
|
6622
|
-
Mode:
|
|
6623
|
-
QueryLogLookBackWindowInDays:
|
|
6624
|
-
Status:
|
|
6625
|
-
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),
|
|
6626
6628
|
};
|
|
6627
6629
|
};
|
|
6628
6630
|
const deserializeAws_json1_1DescribeThesaurusResponse = (output, context) => {
|
|
6629
6631
|
return {
|
|
6630
6632
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6631
|
-
?
|
|
6632
|
-
: undefined,
|
|
6633
|
-
Description:
|
|
6634
|
-
ErrorMessage:
|
|
6635
|
-
FileSizeBytes:
|
|
6636
|
-
Id:
|
|
6637
|
-
IndexId:
|
|
6638
|
-
Name:
|
|
6639
|
-
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),
|
|
6640
6642
|
SourceS3Path: output.SourceS3Path !== undefined && output.SourceS3Path !== null
|
|
6641
6643
|
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
6642
6644
|
: undefined,
|
|
6643
|
-
Status:
|
|
6644
|
-
SynonymRuleCount:
|
|
6645
|
-
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),
|
|
6646
6648
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6647
|
-
?
|
|
6649
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6648
6650
|
: undefined,
|
|
6649
6651
|
};
|
|
6650
6652
|
};
|
|
6651
6653
|
const deserializeAws_json1_1DocumentAttribute = (output, context) => {
|
|
6652
6654
|
return {
|
|
6653
|
-
Key:
|
|
6655
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
6654
6656
|
Value: output.Value !== undefined && output.Value !== null
|
|
6655
|
-
? deserializeAws_json1_1DocumentAttributeValue(output.Value, context)
|
|
6657
|
+
? deserializeAws_json1_1DocumentAttributeValue(smithy_client_1.expectUnion(output.Value), context)
|
|
6656
6658
|
: undefined,
|
|
6657
6659
|
};
|
|
6658
6660
|
};
|
|
@@ -6673,33 +6675,33 @@ const deserializeAws_json1_1DocumentAttributeStringListValue = (output, context)
|
|
|
6673
6675
|
if (entry === null) {
|
|
6674
6676
|
return null;
|
|
6675
6677
|
}
|
|
6676
|
-
return
|
|
6678
|
+
return smithy_client_1.expectString(entry);
|
|
6677
6679
|
});
|
|
6678
6680
|
};
|
|
6679
6681
|
const deserializeAws_json1_1DocumentAttributeValue = (output, context) => {
|
|
6680
6682
|
if (output.DateValue !== undefined && output.DateValue !== null) {
|
|
6681
6683
|
return {
|
|
6682
|
-
DateValue:
|
|
6684
|
+
DateValue: smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateValue))),
|
|
6683
6685
|
};
|
|
6684
6686
|
}
|
|
6685
|
-
if (
|
|
6686
|
-
return { LongValue:
|
|
6687
|
+
if (smithy_client_1.expectLong(output.LongValue) !== undefined) {
|
|
6688
|
+
return { LongValue: smithy_client_1.expectLong(output.LongValue) };
|
|
6687
6689
|
}
|
|
6688
6690
|
if (output.StringListValue !== undefined && output.StringListValue !== null) {
|
|
6689
6691
|
return {
|
|
6690
6692
|
StringListValue: deserializeAws_json1_1DocumentAttributeStringListValue(output.StringListValue, context),
|
|
6691
6693
|
};
|
|
6692
6694
|
}
|
|
6693
|
-
if (
|
|
6694
|
-
return { StringValue:
|
|
6695
|
+
if (smithy_client_1.expectString(output.StringValue) !== undefined) {
|
|
6696
|
+
return { StringValue: smithy_client_1.expectString(output.StringValue) };
|
|
6695
6697
|
}
|
|
6696
6698
|
return { $unknown: Object.entries(output)[0] };
|
|
6697
6699
|
};
|
|
6698
6700
|
const deserializeAws_json1_1DocumentAttributeValueCountPair = (output, context) => {
|
|
6699
6701
|
return {
|
|
6700
|
-
Count:
|
|
6702
|
+
Count: smithy_client_1.expectInt32(output.Count),
|
|
6701
6703
|
DocumentAttributeValue: output.DocumentAttributeValue !== undefined && output.DocumentAttributeValue !== null
|
|
6702
|
-
? deserializeAws_json1_1DocumentAttributeValue(output.DocumentAttributeValue, context)
|
|
6704
|
+
? deserializeAws_json1_1DocumentAttributeValue(smithy_client_1.expectUnion(output.DocumentAttributeValue), context)
|
|
6703
6705
|
: undefined,
|
|
6704
6706
|
};
|
|
6705
6707
|
};
|
|
@@ -6715,14 +6717,14 @@ const deserializeAws_json1_1DocumentAttributeValueCountPairList = (output, conte
|
|
|
6715
6717
|
};
|
|
6716
6718
|
const deserializeAws_json1_1DocumentMetadataConfiguration = (output, context) => {
|
|
6717
6719
|
return {
|
|
6718
|
-
Name:
|
|
6720
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6719
6721
|
Relevance: output.Relevance !== undefined && output.Relevance !== null
|
|
6720
6722
|
? deserializeAws_json1_1Relevance(output.Relevance, context)
|
|
6721
6723
|
: undefined,
|
|
6722
6724
|
Search: output.Search !== undefined && output.Search !== null
|
|
6723
6725
|
? deserializeAws_json1_1Search(output.Search, context)
|
|
6724
6726
|
: undefined,
|
|
6725
|
-
Type:
|
|
6727
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
6726
6728
|
};
|
|
6727
6729
|
};
|
|
6728
6730
|
const deserializeAws_json1_1DocumentMetadataConfigurationList = (output, context) => {
|
|
@@ -6737,7 +6739,7 @@ const deserializeAws_json1_1DocumentMetadataConfigurationList = (output, context
|
|
|
6737
6739
|
};
|
|
6738
6740
|
const deserializeAws_json1_1DocumentsMetadataConfiguration = (output, context) => {
|
|
6739
6741
|
return {
|
|
6740
|
-
S3Prefix:
|
|
6742
|
+
S3Prefix: smithy_client_1.expectString(output.S3Prefix),
|
|
6741
6743
|
};
|
|
6742
6744
|
};
|
|
6743
6745
|
const deserializeAws_json1_1DocumentStatusList = (output, context) => {
|
|
@@ -6757,7 +6759,7 @@ const deserializeAws_json1_1ExcludeMimeTypesList = (output, context) => {
|
|
|
6757
6759
|
if (entry === null) {
|
|
6758
6760
|
return null;
|
|
6759
6761
|
}
|
|
6760
|
-
return
|
|
6762
|
+
return smithy_client_1.expectString(entry);
|
|
6761
6763
|
});
|
|
6762
6764
|
};
|
|
6763
6765
|
const deserializeAws_json1_1ExcludeSharedDrivesList = (output, context) => {
|
|
@@ -6767,7 +6769,7 @@ const deserializeAws_json1_1ExcludeSharedDrivesList = (output, context) => {
|
|
|
6767
6769
|
if (entry === null) {
|
|
6768
6770
|
return null;
|
|
6769
6771
|
}
|
|
6770
|
-
return
|
|
6772
|
+
return smithy_client_1.expectString(entry);
|
|
6771
6773
|
});
|
|
6772
6774
|
};
|
|
6773
6775
|
const deserializeAws_json1_1ExcludeUserAccountsList = (output, context) => {
|
|
@@ -6777,16 +6779,16 @@ const deserializeAws_json1_1ExcludeUserAccountsList = (output, context) => {
|
|
|
6777
6779
|
if (entry === null) {
|
|
6778
6780
|
return null;
|
|
6779
6781
|
}
|
|
6780
|
-
return
|
|
6782
|
+
return smithy_client_1.expectString(entry);
|
|
6781
6783
|
});
|
|
6782
6784
|
};
|
|
6783
6785
|
const deserializeAws_json1_1FacetResult = (output, context) => {
|
|
6784
6786
|
return {
|
|
6785
|
-
DocumentAttributeKey:
|
|
6787
|
+
DocumentAttributeKey: smithy_client_1.expectString(output.DocumentAttributeKey),
|
|
6786
6788
|
DocumentAttributeValueCountPairs: output.DocumentAttributeValueCountPairs !== undefined && output.DocumentAttributeValueCountPairs !== null
|
|
6787
6789
|
? deserializeAws_json1_1DocumentAttributeValueCountPairList(output.DocumentAttributeValueCountPairs, context)
|
|
6788
6790
|
: undefined,
|
|
6789
|
-
DocumentAttributeValueType:
|
|
6791
|
+
DocumentAttributeValueType: smithy_client_1.expectString(output.DocumentAttributeValueType),
|
|
6790
6792
|
};
|
|
6791
6793
|
};
|
|
6792
6794
|
const deserializeAws_json1_1FacetResultList = (output, context) => {
|
|
@@ -6801,20 +6803,20 @@ const deserializeAws_json1_1FacetResultList = (output, context) => {
|
|
|
6801
6803
|
};
|
|
6802
6804
|
const deserializeAws_json1_1FaqStatistics = (output, context) => {
|
|
6803
6805
|
return {
|
|
6804
|
-
IndexedQuestionAnswersCount:
|
|
6806
|
+
IndexedQuestionAnswersCount: smithy_client_1.expectInt32(output.IndexedQuestionAnswersCount),
|
|
6805
6807
|
};
|
|
6806
6808
|
};
|
|
6807
6809
|
const deserializeAws_json1_1FaqSummary = (output, context) => {
|
|
6808
6810
|
return {
|
|
6809
6811
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6810
|
-
?
|
|
6812
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6811
6813
|
: undefined,
|
|
6812
|
-
FileFormat:
|
|
6813
|
-
Id:
|
|
6814
|
-
Name:
|
|
6815
|
-
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),
|
|
6816
6818
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6817
|
-
?
|
|
6819
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6818
6820
|
: undefined,
|
|
6819
6821
|
};
|
|
6820
6822
|
};
|
|
@@ -6830,7 +6832,7 @@ const deserializeAws_json1_1FaqSummaryItems = (output, context) => {
|
|
|
6830
6832
|
};
|
|
6831
6833
|
const deserializeAws_json1_1GetQuerySuggestionsResponse = (output, context) => {
|
|
6832
6834
|
return {
|
|
6833
|
-
QuerySuggestionsId:
|
|
6835
|
+
QuerySuggestionsId: smithy_client_1.expectString(output.QuerySuggestionsId),
|
|
6834
6836
|
Suggestions: output.Suggestions !== undefined && output.Suggestions !== null
|
|
6835
6837
|
? deserializeAws_json1_1SuggestionList(output.Suggestions, context)
|
|
6836
6838
|
: undefined,
|
|
@@ -6856,7 +6858,7 @@ const deserializeAws_json1_1GoogleDriveConfiguration = (output, context) => {
|
|
|
6856
6858
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
6857
6859
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6858
6860
|
: undefined,
|
|
6859
|
-
SecretArn:
|
|
6861
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
6860
6862
|
};
|
|
6861
6863
|
};
|
|
6862
6864
|
const deserializeAws_json1_1GroupOrderingIdSummaries = (output, context) => {
|
|
@@ -6871,29 +6873,29 @@ const deserializeAws_json1_1GroupOrderingIdSummaries = (output, context) => {
|
|
|
6871
6873
|
};
|
|
6872
6874
|
const deserializeAws_json1_1GroupOrderingIdSummary = (output, context) => {
|
|
6873
6875
|
return {
|
|
6874
|
-
FailureReason:
|
|
6876
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
6875
6877
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
6876
|
-
?
|
|
6878
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
6877
6879
|
: undefined,
|
|
6878
|
-
OrderingId:
|
|
6880
|
+
OrderingId: smithy_client_1.expectLong(output.OrderingId),
|
|
6879
6881
|
ReceivedAt: output.ReceivedAt !== undefined && output.ReceivedAt !== null
|
|
6880
|
-
?
|
|
6882
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReceivedAt)))
|
|
6881
6883
|
: undefined,
|
|
6882
|
-
Status:
|
|
6884
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
6883
6885
|
};
|
|
6884
6886
|
};
|
|
6885
6887
|
const deserializeAws_json1_1GroupSummary = (output, context) => {
|
|
6886
6888
|
return {
|
|
6887
|
-
GroupId:
|
|
6888
|
-
OrderingId:
|
|
6889
|
+
GroupId: smithy_client_1.expectString(output.GroupId),
|
|
6890
|
+
OrderingId: smithy_client_1.expectLong(output.OrderingId),
|
|
6889
6891
|
};
|
|
6890
6892
|
};
|
|
6891
6893
|
const deserializeAws_json1_1Highlight = (output, context) => {
|
|
6892
6894
|
return {
|
|
6893
|
-
BeginOffset:
|
|
6894
|
-
EndOffset:
|
|
6895
|
-
TopAnswer:
|
|
6896
|
-
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),
|
|
6897
6899
|
};
|
|
6898
6900
|
};
|
|
6899
6901
|
const deserializeAws_json1_1HighlightList = (output, context) => {
|
|
@@ -6909,14 +6911,14 @@ const deserializeAws_json1_1HighlightList = (output, context) => {
|
|
|
6909
6911
|
const deserializeAws_json1_1IndexConfigurationSummary = (output, context) => {
|
|
6910
6912
|
return {
|
|
6911
6913
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
6912
|
-
?
|
|
6914
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
6913
6915
|
: undefined,
|
|
6914
|
-
Edition:
|
|
6915
|
-
Id:
|
|
6916
|
-
Name:
|
|
6917
|
-
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),
|
|
6918
6920
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
6919
|
-
?
|
|
6921
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
6920
6922
|
: undefined,
|
|
6921
6923
|
};
|
|
6922
6924
|
};
|
|
@@ -6942,29 +6944,29 @@ const deserializeAws_json1_1IndexStatistics = (output, context) => {
|
|
|
6942
6944
|
};
|
|
6943
6945
|
const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
6944
6946
|
return {
|
|
6945
|
-
Message:
|
|
6947
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6946
6948
|
};
|
|
6947
6949
|
};
|
|
6948
6950
|
const deserializeAws_json1_1JsonTokenTypeConfiguration = (output, context) => {
|
|
6949
6951
|
return {
|
|
6950
|
-
GroupAttributeField:
|
|
6951
|
-
UserNameAttributeField:
|
|
6952
|
+
GroupAttributeField: smithy_client_1.expectString(output.GroupAttributeField),
|
|
6953
|
+
UserNameAttributeField: smithy_client_1.expectString(output.UserNameAttributeField),
|
|
6952
6954
|
};
|
|
6953
6955
|
};
|
|
6954
6956
|
const deserializeAws_json1_1JwtTokenTypeConfiguration = (output, context) => {
|
|
6955
6957
|
return {
|
|
6956
|
-
ClaimRegex:
|
|
6957
|
-
GroupAttributeField:
|
|
6958
|
-
Issuer:
|
|
6959
|
-
KeyLocation:
|
|
6960
|
-
SecretManagerArn:
|
|
6961
|
-
URL:
|
|
6962
|
-
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),
|
|
6963
6965
|
};
|
|
6964
6966
|
};
|
|
6965
6967
|
const deserializeAws_json1_1ListDataSourcesResponse = (output, context) => {
|
|
6966
6968
|
return {
|
|
6967
|
-
NextToken:
|
|
6969
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6968
6970
|
SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
|
|
6969
6971
|
? deserializeAws_json1_1DataSourceSummaryList(output.SummaryItems, context)
|
|
6970
6972
|
: undefined,
|
|
@@ -6975,7 +6977,7 @@ const deserializeAws_json1_1ListDataSourceSyncJobsResponse = (output, context) =
|
|
|
6975
6977
|
History: output.History !== undefined && output.History !== null
|
|
6976
6978
|
? deserializeAws_json1_1DataSourceSyncJobHistoryList(output.History, context)
|
|
6977
6979
|
: undefined,
|
|
6978
|
-
NextToken:
|
|
6980
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6979
6981
|
};
|
|
6980
6982
|
};
|
|
6981
6983
|
const deserializeAws_json1_1ListFaqsResponse = (output, context) => {
|
|
@@ -6983,7 +6985,7 @@ const deserializeAws_json1_1ListFaqsResponse = (output, context) => {
|
|
|
6983
6985
|
FaqSummaryItems: output.FaqSummaryItems !== undefined && output.FaqSummaryItems !== null
|
|
6984
6986
|
? deserializeAws_json1_1FaqSummaryItems(output.FaqSummaryItems, context)
|
|
6985
6987
|
: undefined,
|
|
6986
|
-
NextToken:
|
|
6988
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6987
6989
|
};
|
|
6988
6990
|
};
|
|
6989
6991
|
const deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = (output, context) => {
|
|
@@ -6991,7 +6993,7 @@ const deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = (output, con
|
|
|
6991
6993
|
GroupsSummaries: output.GroupsSummaries !== undefined && output.GroupsSummaries !== null
|
|
6992
6994
|
? deserializeAws_json1_1ListOfGroupSummaries(output.GroupsSummaries, context)
|
|
6993
6995
|
: undefined,
|
|
6994
|
-
NextToken:
|
|
6996
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6995
6997
|
};
|
|
6996
6998
|
};
|
|
6997
6999
|
const deserializeAws_json1_1ListIndicesResponse = (output, context) => {
|
|
@@ -6999,7 +7001,7 @@ const deserializeAws_json1_1ListIndicesResponse = (output, context) => {
|
|
|
6999
7001
|
IndexConfigurationSummaryItems: output.IndexConfigurationSummaryItems !== undefined && output.IndexConfigurationSummaryItems !== null
|
|
7000
7002
|
? deserializeAws_json1_1IndexConfigurationSummaryList(output.IndexConfigurationSummaryItems, context)
|
|
7001
7003
|
: undefined,
|
|
7002
|
-
NextToken:
|
|
7004
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7003
7005
|
};
|
|
7004
7006
|
};
|
|
7005
7007
|
const deserializeAws_json1_1ListOfGroupSummaries = (output, context) => {
|
|
@@ -7017,7 +7019,7 @@ const deserializeAws_json1_1ListQuerySuggestionsBlockListsResponse = (output, co
|
|
|
7017
7019
|
BlockListSummaryItems: output.BlockListSummaryItems !== undefined && output.BlockListSummaryItems !== null
|
|
7018
7020
|
? deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems(output.BlockListSummaryItems, context)
|
|
7019
7021
|
: undefined,
|
|
7020
|
-
NextToken:
|
|
7022
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7021
7023
|
};
|
|
7022
7024
|
};
|
|
7023
7025
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
@@ -7029,7 +7031,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
7029
7031
|
};
|
|
7030
7032
|
const deserializeAws_json1_1ListThesauriResponse = (output, context) => {
|
|
7031
7033
|
return {
|
|
7032
|
-
NextToken:
|
|
7034
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7033
7035
|
ThesaurusSummaryItems: output.ThesaurusSummaryItems !== undefined && output.ThesaurusSummaryItems !== null
|
|
7034
7036
|
? deserializeAws_json1_1ThesaurusSummaryItems(output.ThesaurusSummaryItems, context)
|
|
7035
7037
|
: undefined,
|
|
@@ -7037,7 +7039,7 @@ const deserializeAws_json1_1ListThesauriResponse = (output, context) => {
|
|
|
7037
7039
|
};
|
|
7038
7040
|
const deserializeAws_json1_1OneDriveConfiguration = (output, context) => {
|
|
7039
7041
|
return {
|
|
7040
|
-
DisableLocalGroups:
|
|
7042
|
+
DisableLocalGroups: smithy_client_1.expectBoolean(output.DisableLocalGroups),
|
|
7041
7043
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7042
7044
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7043
7045
|
: undefined,
|
|
@@ -7050,8 +7052,8 @@ const deserializeAws_json1_1OneDriveConfiguration = (output, context) => {
|
|
|
7050
7052
|
OneDriveUsers: output.OneDriveUsers !== undefined && output.OneDriveUsers !== null
|
|
7051
7053
|
? deserializeAws_json1_1OneDriveUsers(output.OneDriveUsers, context)
|
|
7052
7054
|
: undefined,
|
|
7053
|
-
SecretArn:
|
|
7054
|
-
TenantDomain:
|
|
7055
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7056
|
+
TenantDomain: smithy_client_1.expectString(output.TenantDomain),
|
|
7055
7057
|
};
|
|
7056
7058
|
};
|
|
7057
7059
|
const deserializeAws_json1_1OneDriveUserList = (output, context) => {
|
|
@@ -7061,7 +7063,7 @@ const deserializeAws_json1_1OneDriveUserList = (output, context) => {
|
|
|
7061
7063
|
if (entry === null) {
|
|
7062
7064
|
return null;
|
|
7063
7065
|
}
|
|
7064
|
-
return
|
|
7066
|
+
return smithy_client_1.expectString(entry);
|
|
7065
7067
|
});
|
|
7066
7068
|
};
|
|
7067
7069
|
const deserializeAws_json1_1OneDriveUsers = (output, context) => {
|
|
@@ -7076,9 +7078,9 @@ const deserializeAws_json1_1OneDriveUsers = (output, context) => {
|
|
|
7076
7078
|
};
|
|
7077
7079
|
const deserializeAws_json1_1ProxyConfiguration = (output, context) => {
|
|
7078
7080
|
return {
|
|
7079
|
-
Credentials:
|
|
7080
|
-
Host:
|
|
7081
|
-
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),
|
|
7082
7084
|
};
|
|
7083
7085
|
};
|
|
7084
7086
|
const deserializeAws_json1_1QueryResult = (output, context) => {
|
|
@@ -7086,11 +7088,11 @@ const deserializeAws_json1_1QueryResult = (output, context) => {
|
|
|
7086
7088
|
FacetResults: output.FacetResults !== undefined && output.FacetResults !== null
|
|
7087
7089
|
? deserializeAws_json1_1FacetResultList(output.FacetResults, context)
|
|
7088
7090
|
: undefined,
|
|
7089
|
-
QueryId:
|
|
7091
|
+
QueryId: smithy_client_1.expectString(output.QueryId),
|
|
7090
7092
|
ResultItems: output.ResultItems !== undefined && output.ResultItems !== null
|
|
7091
7093
|
? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context)
|
|
7092
7094
|
: undefined,
|
|
7093
|
-
TotalNumberOfResults:
|
|
7095
|
+
TotalNumberOfResults: smithy_client_1.expectInt32(output.TotalNumberOfResults),
|
|
7094
7096
|
};
|
|
7095
7097
|
};
|
|
7096
7098
|
const deserializeAws_json1_1QueryResultItem = (output, context) => {
|
|
@@ -7104,17 +7106,17 @@ const deserializeAws_json1_1QueryResultItem = (output, context) => {
|
|
|
7104
7106
|
DocumentExcerpt: output.DocumentExcerpt !== undefined && output.DocumentExcerpt !== null
|
|
7105
7107
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentExcerpt, context)
|
|
7106
7108
|
: undefined,
|
|
7107
|
-
DocumentId:
|
|
7109
|
+
DocumentId: smithy_client_1.expectString(output.DocumentId),
|
|
7108
7110
|
DocumentTitle: output.DocumentTitle !== undefined && output.DocumentTitle !== null
|
|
7109
7111
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentTitle, context)
|
|
7110
7112
|
: undefined,
|
|
7111
|
-
DocumentURI:
|
|
7112
|
-
FeedbackToken:
|
|
7113
|
-
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),
|
|
7114
7116
|
ScoreAttributes: output.ScoreAttributes !== undefined && output.ScoreAttributes !== null
|
|
7115
7117
|
? deserializeAws_json1_1ScoreAttributes(output.ScoreAttributes, context)
|
|
7116
7118
|
: undefined,
|
|
7117
|
-
Type:
|
|
7119
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
7118
7120
|
};
|
|
7119
7121
|
};
|
|
7120
7122
|
const deserializeAws_json1_1QueryResultItemList = (output, context) => {
|
|
@@ -7130,14 +7132,14 @@ const deserializeAws_json1_1QueryResultItemList = (output, context) => {
|
|
|
7130
7132
|
const deserializeAws_json1_1QuerySuggestionsBlockListSummary = (output, context) => {
|
|
7131
7133
|
return {
|
|
7132
7134
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
7133
|
-
?
|
|
7135
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
7134
7136
|
: undefined,
|
|
7135
|
-
Id:
|
|
7136
|
-
ItemCount:
|
|
7137
|
-
Name:
|
|
7138
|
-
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),
|
|
7139
7141
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
7140
|
-
?
|
|
7142
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
7141
7143
|
: undefined,
|
|
7142
7144
|
};
|
|
7143
7145
|
};
|
|
@@ -7153,10 +7155,10 @@ const deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = (output, con
|
|
|
7153
7155
|
};
|
|
7154
7156
|
const deserializeAws_json1_1Relevance = (output, context) => {
|
|
7155
7157
|
return {
|
|
7156
|
-
Duration:
|
|
7157
|
-
Freshness:
|
|
7158
|
-
Importance:
|
|
7159
|
-
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),
|
|
7160
7162
|
ValueImportanceMap: output.ValueImportanceMap !== undefined && output.ValueImportanceMap !== null
|
|
7161
7163
|
? deserializeAws_json1_1ValueImportanceMap(output.ValueImportanceMap, context)
|
|
7162
7164
|
: undefined,
|
|
@@ -7164,22 +7166,22 @@ const deserializeAws_json1_1Relevance = (output, context) => {
|
|
|
7164
7166
|
};
|
|
7165
7167
|
const deserializeAws_json1_1ResourceAlreadyExistException = (output, context) => {
|
|
7166
7168
|
return {
|
|
7167
|
-
Message:
|
|
7169
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7168
7170
|
};
|
|
7169
7171
|
};
|
|
7170
7172
|
const deserializeAws_json1_1ResourceInUseException = (output, context) => {
|
|
7171
7173
|
return {
|
|
7172
|
-
Message:
|
|
7174
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7173
7175
|
};
|
|
7174
7176
|
};
|
|
7175
7177
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
7176
7178
|
return {
|
|
7177
|
-
Message:
|
|
7179
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7178
7180
|
};
|
|
7179
7181
|
};
|
|
7180
7182
|
const deserializeAws_json1_1ResourceUnavailableException = (output, context) => {
|
|
7181
7183
|
return {
|
|
7182
|
-
Message:
|
|
7184
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7183
7185
|
};
|
|
7184
7186
|
};
|
|
7185
7187
|
const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
@@ -7187,7 +7189,7 @@ const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
|
7187
7189
|
AccessControlListConfiguration: output.AccessControlListConfiguration !== undefined && output.AccessControlListConfiguration !== null
|
|
7188
7190
|
? deserializeAws_json1_1AccessControlListConfiguration(output.AccessControlListConfiguration, context)
|
|
7189
7191
|
: undefined,
|
|
7190
|
-
BucketName:
|
|
7192
|
+
BucketName: smithy_client_1.expectString(output.BucketName),
|
|
7191
7193
|
DocumentsMetadataConfiguration: output.DocumentsMetadataConfiguration !== undefined && output.DocumentsMetadataConfiguration !== null
|
|
7192
7194
|
? deserializeAws_json1_1DocumentsMetadataConfiguration(output.DocumentsMetadataConfiguration, context)
|
|
7193
7195
|
: undefined,
|
|
@@ -7204,14 +7206,14 @@ const deserializeAws_json1_1S3DataSourceConfiguration = (output, context) => {
|
|
|
7204
7206
|
};
|
|
7205
7207
|
const deserializeAws_json1_1S3Path = (output, context) => {
|
|
7206
7208
|
return {
|
|
7207
|
-
Bucket:
|
|
7208
|
-
Key:
|
|
7209
|
+
Bucket: smithy_client_1.expectString(output.Bucket),
|
|
7210
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
7209
7211
|
};
|
|
7210
7212
|
};
|
|
7211
7213
|
const deserializeAws_json1_1SalesforceChatterFeedConfiguration = (output, context) => {
|
|
7212
7214
|
return {
|
|
7213
|
-
DocumentDataFieldName:
|
|
7214
|
-
DocumentTitleFieldName:
|
|
7215
|
+
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7216
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7215
7217
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7216
7218
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7217
7219
|
: undefined,
|
|
@@ -7227,7 +7229,7 @@ const deserializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes = (output, c
|
|
|
7227
7229
|
if (entry === null) {
|
|
7228
7230
|
return null;
|
|
7229
7231
|
}
|
|
7230
|
-
return
|
|
7232
|
+
return smithy_client_1.expectString(entry);
|
|
7231
7233
|
});
|
|
7232
7234
|
};
|
|
7233
7235
|
const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
@@ -7235,7 +7237,7 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7235
7237
|
ChatterFeedConfiguration: output.ChatterFeedConfiguration !== undefined && output.ChatterFeedConfiguration !== null
|
|
7236
7238
|
? deserializeAws_json1_1SalesforceChatterFeedConfiguration(output.ChatterFeedConfiguration, context)
|
|
7237
7239
|
: undefined,
|
|
7238
|
-
CrawlAttachments:
|
|
7240
|
+
CrawlAttachments: smithy_client_1.expectBoolean(output.CrawlAttachments),
|
|
7239
7241
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7240
7242
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7241
7243
|
: undefined,
|
|
@@ -7245,8 +7247,8 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7245
7247
|
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration !== undefined && output.KnowledgeArticleConfiguration !== null
|
|
7246
7248
|
? deserializeAws_json1_1SalesforceKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
7247
7249
|
: undefined,
|
|
7248
|
-
SecretArn:
|
|
7249
|
-
ServerUrl:
|
|
7250
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7251
|
+
ServerUrl: smithy_client_1.expectString(output.ServerUrl),
|
|
7250
7252
|
StandardObjectAttachmentConfiguration: output.StandardObjectAttachmentConfiguration !== undefined &&
|
|
7251
7253
|
output.StandardObjectAttachmentConfiguration !== null
|
|
7252
7254
|
? deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration(output.StandardObjectAttachmentConfiguration, context)
|
|
@@ -7258,12 +7260,12 @@ const deserializeAws_json1_1SalesforceConfiguration = (output, context) => {
|
|
|
7258
7260
|
};
|
|
7259
7261
|
const deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfiguration = (output, context) => {
|
|
7260
7262
|
return {
|
|
7261
|
-
DocumentDataFieldName:
|
|
7262
|
-
DocumentTitleFieldName:
|
|
7263
|
+
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7264
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7263
7265
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7264
7266
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7265
7267
|
: undefined,
|
|
7266
|
-
Name:
|
|
7268
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
7267
7269
|
};
|
|
7268
7270
|
};
|
|
7269
7271
|
const deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList = (output, context) => {
|
|
@@ -7298,13 +7300,13 @@ const deserializeAws_json1_1SalesforceKnowledgeArticleStateList = (output, conte
|
|
|
7298
7300
|
if (entry === null) {
|
|
7299
7301
|
return null;
|
|
7300
7302
|
}
|
|
7301
|
-
return
|
|
7303
|
+
return smithy_client_1.expectString(entry);
|
|
7302
7304
|
});
|
|
7303
7305
|
};
|
|
7304
7306
|
const deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration = (output, context) => {
|
|
7305
7307
|
return {
|
|
7306
|
-
DocumentDataFieldName:
|
|
7307
|
-
DocumentTitleFieldName:
|
|
7308
|
+
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7309
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7308
7310
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7309
7311
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7310
7312
|
: undefined,
|
|
@@ -7312,7 +7314,7 @@ const deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration
|
|
|
7312
7314
|
};
|
|
7313
7315
|
const deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = (output, context) => {
|
|
7314
7316
|
return {
|
|
7315
|
-
DocumentTitleFieldName:
|
|
7317
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7316
7318
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7317
7319
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7318
7320
|
: undefined,
|
|
@@ -7320,12 +7322,12 @@ const deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = (o
|
|
|
7320
7322
|
};
|
|
7321
7323
|
const deserializeAws_json1_1SalesforceStandardObjectConfiguration = (output, context) => {
|
|
7322
7324
|
return {
|
|
7323
|
-
DocumentDataFieldName:
|
|
7324
|
-
DocumentTitleFieldName:
|
|
7325
|
+
DocumentDataFieldName: smithy_client_1.expectString(output.DocumentDataFieldName),
|
|
7326
|
+
DocumentTitleFieldName: smithy_client_1.expectString(output.DocumentTitleFieldName),
|
|
7325
7327
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7326
7328
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7327
7329
|
: undefined,
|
|
7328
|
-
Name:
|
|
7330
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
7329
7331
|
};
|
|
7330
7332
|
};
|
|
7331
7333
|
const deserializeAws_json1_1SalesforceStandardObjectConfigurationList = (output, context) => {
|
|
@@ -7340,15 +7342,15 @@ const deserializeAws_json1_1SalesforceStandardObjectConfigurationList = (output,
|
|
|
7340
7342
|
};
|
|
7341
7343
|
const deserializeAws_json1_1ScoreAttributes = (output, context) => {
|
|
7342
7344
|
return {
|
|
7343
|
-
ScoreConfidence:
|
|
7345
|
+
ScoreConfidence: smithy_client_1.expectString(output.ScoreConfidence),
|
|
7344
7346
|
};
|
|
7345
7347
|
};
|
|
7346
7348
|
const deserializeAws_json1_1Search = (output, context) => {
|
|
7347
7349
|
return {
|
|
7348
|
-
Displayable:
|
|
7349
|
-
Facetable:
|
|
7350
|
-
Searchable:
|
|
7351
|
-
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),
|
|
7352
7354
|
};
|
|
7353
7355
|
};
|
|
7354
7356
|
const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
|
|
@@ -7358,7 +7360,7 @@ const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
|
|
|
7358
7360
|
if (entry === null) {
|
|
7359
7361
|
return null;
|
|
7360
7362
|
}
|
|
7361
|
-
return
|
|
7363
|
+
return smithy_client_1.expectString(entry);
|
|
7362
7364
|
});
|
|
7363
7365
|
};
|
|
7364
7366
|
const deserializeAws_json1_1SeedUrlConfiguration = (output, context) => {
|
|
@@ -7366,7 +7368,7 @@ const deserializeAws_json1_1SeedUrlConfiguration = (output, context) => {
|
|
|
7366
7368
|
SeedUrls: output.SeedUrls !== undefined && output.SeedUrls !== null
|
|
7367
7369
|
? deserializeAws_json1_1SeedUrlList(output.SeedUrls, context)
|
|
7368
7370
|
: undefined,
|
|
7369
|
-
WebCrawlerMode:
|
|
7371
|
+
WebCrawlerMode: smithy_client_1.expectString(output.WebCrawlerMode),
|
|
7370
7372
|
};
|
|
7371
7373
|
};
|
|
7372
7374
|
const deserializeAws_json1_1SeedUrlList = (output, context) => {
|
|
@@ -7376,40 +7378,40 @@ const deserializeAws_json1_1SeedUrlList = (output, context) => {
|
|
|
7376
7378
|
if (entry === null) {
|
|
7377
7379
|
return null;
|
|
7378
7380
|
}
|
|
7379
|
-
return
|
|
7381
|
+
return smithy_client_1.expectString(entry);
|
|
7380
7382
|
});
|
|
7381
7383
|
};
|
|
7382
7384
|
const deserializeAws_json1_1ServerSideEncryptionConfiguration = (output, context) => {
|
|
7383
7385
|
return {
|
|
7384
|
-
KmsKeyId:
|
|
7386
|
+
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
7385
7387
|
};
|
|
7386
7388
|
};
|
|
7387
7389
|
const deserializeAws_json1_1ServiceNowConfiguration = (output, context) => {
|
|
7388
7390
|
return {
|
|
7389
|
-
AuthenticationType:
|
|
7390
|
-
HostUrl:
|
|
7391
|
+
AuthenticationType: smithy_client_1.expectString(output.AuthenticationType),
|
|
7392
|
+
HostUrl: smithy_client_1.expectString(output.HostUrl),
|
|
7391
7393
|
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration !== undefined && output.KnowledgeArticleConfiguration !== null
|
|
7392
7394
|
? deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
7393
7395
|
: undefined,
|
|
7394
|
-
SecretArn:
|
|
7396
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7395
7397
|
ServiceCatalogConfiguration: output.ServiceCatalogConfiguration !== undefined && output.ServiceCatalogConfiguration !== null
|
|
7396
7398
|
? deserializeAws_json1_1ServiceNowServiceCatalogConfiguration(output.ServiceCatalogConfiguration, context)
|
|
7397
7399
|
: undefined,
|
|
7398
|
-
ServiceNowBuildVersion:
|
|
7400
|
+
ServiceNowBuildVersion: smithy_client_1.expectString(output.ServiceNowBuildVersion),
|
|
7399
7401
|
};
|
|
7400
7402
|
};
|
|
7401
7403
|
const deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = (output, context) => {
|
|
7402
7404
|
return {
|
|
7403
|
-
CrawlAttachments:
|
|
7404
|
-
DocumentDataFieldName:
|
|
7405
|
-
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),
|
|
7406
7408
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7407
7409
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7408
7410
|
: undefined,
|
|
7409
7411
|
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
7410
7412
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7411
7413
|
: undefined,
|
|
7412
|
-
FilterQuery:
|
|
7414
|
+
FilterQuery: smithy_client_1.expectString(output.FilterQuery),
|
|
7413
7415
|
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns !== undefined && output.IncludeAttachmentFilePatterns !== null
|
|
7414
7416
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.IncludeAttachmentFilePatterns, context)
|
|
7415
7417
|
: undefined,
|
|
@@ -7417,9 +7419,9 @@ const deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = (output, c
|
|
|
7417
7419
|
};
|
|
7418
7420
|
const deserializeAws_json1_1ServiceNowServiceCatalogConfiguration = (output, context) => {
|
|
7419
7421
|
return {
|
|
7420
|
-
CrawlAttachments:
|
|
7421
|
-
DocumentDataFieldName:
|
|
7422
|
-
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),
|
|
7423
7425
|
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns !== undefined && output.ExcludeAttachmentFilePatterns !== null
|
|
7424
7426
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
7425
7427
|
: undefined,
|
|
@@ -7433,14 +7435,14 @@ const deserializeAws_json1_1ServiceNowServiceCatalogConfiguration = (output, con
|
|
|
7433
7435
|
};
|
|
7434
7436
|
const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
|
|
7435
7437
|
return {
|
|
7436
|
-
Message:
|
|
7438
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7437
7439
|
};
|
|
7438
7440
|
};
|
|
7439
7441
|
const deserializeAws_json1_1SharePointConfiguration = (output, context) => {
|
|
7440
7442
|
return {
|
|
7441
|
-
CrawlAttachments:
|
|
7442
|
-
DisableLocalGroups:
|
|
7443
|
-
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),
|
|
7444
7446
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7445
7447
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7446
7448
|
: undefined,
|
|
@@ -7450,15 +7452,15 @@ const deserializeAws_json1_1SharePointConfiguration = (output, context) => {
|
|
|
7450
7452
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7451
7453
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7452
7454
|
: undefined,
|
|
7453
|
-
SecretArn:
|
|
7454
|
-
SharePointVersion:
|
|
7455
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
7456
|
+
SharePointVersion: smithy_client_1.expectString(output.SharePointVersion),
|
|
7455
7457
|
SslCertificateS3Path: output.SslCertificateS3Path !== undefined && output.SslCertificateS3Path !== null
|
|
7456
7458
|
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
7457
7459
|
: undefined,
|
|
7458
7460
|
Urls: output.Urls !== undefined && output.Urls !== null
|
|
7459
7461
|
? deserializeAws_json1_1SharePointUrlList(output.Urls, context)
|
|
7460
7462
|
: undefined,
|
|
7461
|
-
UseChangeLog:
|
|
7463
|
+
UseChangeLog: smithy_client_1.expectBoolean(output.UseChangeLog),
|
|
7462
7464
|
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
7463
7465
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7464
7466
|
: undefined,
|
|
@@ -7471,7 +7473,7 @@ const deserializeAws_json1_1SharePointUrlList = (output, context) => {
|
|
|
7471
7473
|
if (entry === null) {
|
|
7472
7474
|
return null;
|
|
7473
7475
|
}
|
|
7474
|
-
return
|
|
7476
|
+
return smithy_client_1.expectString(entry);
|
|
7475
7477
|
});
|
|
7476
7478
|
};
|
|
7477
7479
|
const deserializeAws_json1_1SiteMapsConfiguration = (output, context) => {
|
|
@@ -7488,25 +7490,25 @@ const deserializeAws_json1_1SiteMapsList = (output, context) => {
|
|
|
7488
7490
|
if (entry === null) {
|
|
7489
7491
|
return null;
|
|
7490
7492
|
}
|
|
7491
|
-
return
|
|
7493
|
+
return smithy_client_1.expectString(entry);
|
|
7492
7494
|
});
|
|
7493
7495
|
};
|
|
7494
7496
|
const deserializeAws_json1_1SqlConfiguration = (output, context) => {
|
|
7495
7497
|
return {
|
|
7496
|
-
QueryIdentifiersEnclosingOption:
|
|
7498
|
+
QueryIdentifiersEnclosingOption: smithy_client_1.expectString(output.QueryIdentifiersEnclosingOption),
|
|
7497
7499
|
};
|
|
7498
7500
|
};
|
|
7499
7501
|
const deserializeAws_json1_1StartDataSourceSyncJobResponse = (output, context) => {
|
|
7500
7502
|
return {
|
|
7501
|
-
ExecutionId:
|
|
7503
|
+
ExecutionId: smithy_client_1.expectString(output.ExecutionId),
|
|
7502
7504
|
};
|
|
7503
7505
|
};
|
|
7504
7506
|
const deserializeAws_json1_1Status = (output, context) => {
|
|
7505
7507
|
return {
|
|
7506
|
-
DocumentId:
|
|
7507
|
-
DocumentStatus:
|
|
7508
|
-
FailureCode:
|
|
7509
|
-
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),
|
|
7510
7512
|
};
|
|
7511
7513
|
};
|
|
7512
7514
|
const deserializeAws_json1_1SubnetIdList = (output, context) => {
|
|
@@ -7516,12 +7518,12 @@ const deserializeAws_json1_1SubnetIdList = (output, context) => {
|
|
|
7516
7518
|
if (entry === null) {
|
|
7517
7519
|
return null;
|
|
7518
7520
|
}
|
|
7519
|
-
return
|
|
7521
|
+
return smithy_client_1.expectString(entry);
|
|
7520
7522
|
});
|
|
7521
7523
|
};
|
|
7522
7524
|
const deserializeAws_json1_1Suggestion = (output, context) => {
|
|
7523
7525
|
return {
|
|
7524
|
-
Id:
|
|
7526
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
7525
7527
|
Value: output.Value !== undefined && output.Value !== null
|
|
7526
7528
|
? deserializeAws_json1_1SuggestionValue(output.Value, context)
|
|
7527
7529
|
: undefined,
|
|
@@ -7529,8 +7531,8 @@ const deserializeAws_json1_1Suggestion = (output, context) => {
|
|
|
7529
7531
|
};
|
|
7530
7532
|
const deserializeAws_json1_1SuggestionHighlight = (output, context) => {
|
|
7531
7533
|
return {
|
|
7532
|
-
BeginOffset:
|
|
7533
|
-
EndOffset:
|
|
7534
|
+
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
7535
|
+
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
7534
7536
|
};
|
|
7535
7537
|
};
|
|
7536
7538
|
const deserializeAws_json1_1SuggestionHighlightList = (output, context) => {
|
|
@@ -7558,7 +7560,7 @@ const deserializeAws_json1_1SuggestionTextWithHighlights = (output, context) =>
|
|
|
7558
7560
|
Highlights: output.Highlights !== undefined && output.Highlights !== null
|
|
7559
7561
|
? deserializeAws_json1_1SuggestionHighlightList(output.Highlights, context)
|
|
7560
7562
|
: undefined,
|
|
7561
|
-
Text:
|
|
7563
|
+
Text: smithy_client_1.expectString(output.Text),
|
|
7562
7564
|
};
|
|
7563
7565
|
};
|
|
7564
7566
|
const deserializeAws_json1_1SuggestionValue = (output, context) => {
|
|
@@ -7570,8 +7572,8 @@ const deserializeAws_json1_1SuggestionValue = (output, context) => {
|
|
|
7570
7572
|
};
|
|
7571
7573
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
7572
7574
|
return {
|
|
7573
|
-
Key:
|
|
7574
|
-
Value:
|
|
7575
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
7576
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
7575
7577
|
};
|
|
7576
7578
|
};
|
|
7577
7579
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -7589,8 +7591,8 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
7589
7591
|
};
|
|
7590
7592
|
const deserializeAws_json1_1TextDocumentStatistics = (output, context) => {
|
|
7591
7593
|
return {
|
|
7592
|
-
IndexedTextBytes:
|
|
7593
|
-
IndexedTextDocumentsCount:
|
|
7594
|
+
IndexedTextBytes: smithy_client_1.expectLong(output.IndexedTextBytes),
|
|
7595
|
+
IndexedTextDocumentsCount: smithy_client_1.expectInt32(output.IndexedTextDocumentsCount),
|
|
7594
7596
|
};
|
|
7595
7597
|
};
|
|
7596
7598
|
const deserializeAws_json1_1TextWithHighlights = (output, context) => {
|
|
@@ -7598,19 +7600,19 @@ const deserializeAws_json1_1TextWithHighlights = (output, context) => {
|
|
|
7598
7600
|
Highlights: output.Highlights !== undefined && output.Highlights !== null
|
|
7599
7601
|
? deserializeAws_json1_1HighlightList(output.Highlights, context)
|
|
7600
7602
|
: undefined,
|
|
7601
|
-
Text:
|
|
7603
|
+
Text: smithy_client_1.expectString(output.Text),
|
|
7602
7604
|
};
|
|
7603
7605
|
};
|
|
7604
7606
|
const deserializeAws_json1_1ThesaurusSummary = (output, context) => {
|
|
7605
7607
|
return {
|
|
7606
7608
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
7607
|
-
?
|
|
7609
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
7608
7610
|
: undefined,
|
|
7609
|
-
Id:
|
|
7610
|
-
Name:
|
|
7611
|
-
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),
|
|
7612
7614
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
7613
|
-
?
|
|
7615
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
7614
7616
|
: undefined,
|
|
7615
7617
|
};
|
|
7616
7618
|
};
|
|
@@ -7626,7 +7628,7 @@ const deserializeAws_json1_1ThesaurusSummaryItems = (output, context) => {
|
|
|
7626
7628
|
};
|
|
7627
7629
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
7628
7630
|
return {
|
|
7629
|
-
Message:
|
|
7631
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7630
7632
|
};
|
|
7631
7633
|
};
|
|
7632
7634
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
@@ -7664,7 +7666,7 @@ const deserializeAws_json1_1UserTokenConfigurationList = (output, context) => {
|
|
|
7664
7666
|
};
|
|
7665
7667
|
const deserializeAws_json1_1ValidationException = (output, context) => {
|
|
7666
7668
|
return {
|
|
7667
|
-
Message:
|
|
7669
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
7668
7670
|
};
|
|
7669
7671
|
};
|
|
7670
7672
|
const deserializeAws_json1_1ValueImportanceMap = (output, context) => {
|
|
@@ -7674,7 +7676,7 @@ const deserializeAws_json1_1ValueImportanceMap = (output, context) => {
|
|
|
7674
7676
|
}
|
|
7675
7677
|
return {
|
|
7676
7678
|
...acc,
|
|
7677
|
-
[key]:
|
|
7679
|
+
[key]: smithy_client_1.expectInt32(value),
|
|
7678
7680
|
};
|
|
7679
7681
|
}, {});
|
|
7680
7682
|
};
|
|
@@ -7683,10 +7685,10 @@ const deserializeAws_json1_1WebCrawlerConfiguration = (output, context) => {
|
|
|
7683
7685
|
AuthenticationConfiguration: output.AuthenticationConfiguration !== undefined && output.AuthenticationConfiguration !== null
|
|
7684
7686
|
? deserializeAws_json1_1AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
7685
7687
|
: undefined,
|
|
7686
|
-
CrawlDepth:
|
|
7687
|
-
MaxContentSizePerPageInMegaBytes:
|
|
7688
|
-
MaxLinksPerPage:
|
|
7689
|
-
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),
|
|
7690
7692
|
ProxyConfiguration: output.ProxyConfiguration !== undefined && output.ProxyConfiguration !== null
|
|
7691
7693
|
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
7692
7694
|
: undefined,
|
|
@@ -7701,7 +7703,7 @@ const deserializeAws_json1_1WebCrawlerConfiguration = (output, context) => {
|
|
|
7701
7703
|
};
|
|
7702
7704
|
const deserializeAws_json1_1WorkDocsConfiguration = (output, context) => {
|
|
7703
7705
|
return {
|
|
7704
|
-
CrawlComments:
|
|
7706
|
+
CrawlComments: smithy_client_1.expectBoolean(output.CrawlComments),
|
|
7705
7707
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7706
7708
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7707
7709
|
: undefined,
|
|
@@ -7711,8 +7713,8 @@ const deserializeAws_json1_1WorkDocsConfiguration = (output, context) => {
|
|
|
7711
7713
|
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7712
7714
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7713
7715
|
: undefined,
|
|
7714
|
-
OrganizationId:
|
|
7715
|
-
UseChangeLog:
|
|
7716
|
+
OrganizationId: smithy_client_1.expectString(output.OrganizationId),
|
|
7717
|
+
UseChangeLog: smithy_client_1.expectBoolean(output.UseChangeLog),
|
|
7716
7718
|
};
|
|
7717
7719
|
};
|
|
7718
7720
|
const deserializeMetadata = (output) => {
|