@aws-sdk/client-kendra 3.121.0 → 3.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +905 -1393
- package/dist-es/protocols/Aws_json1_1.js +606 -1094
- package/package.json +26 -26
|
@@ -4566,41 +4566,30 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
4566
4566
|
});
|
|
4567
4567
|
}); };
|
|
4568
4568
|
var serializeAws_json1_1AccessControlListConfiguration = function (input, context) {
|
|
4569
|
-
return __assign({}, (input.KeyPath
|
|
4569
|
+
return __assign({}, (input.KeyPath != null && { KeyPath: input.KeyPath }));
|
|
4570
4570
|
};
|
|
4571
4571
|
var serializeAws_json1_1AclConfiguration = function (input, context) {
|
|
4572
|
-
return __assign({}, (input.AllowedGroupsColumnName
|
|
4573
|
-
input.AllowedGroupsColumnName !== null && { AllowedGroupsColumnName: input.AllowedGroupsColumnName }));
|
|
4572
|
+
return __assign({}, (input.AllowedGroupsColumnName != null && { AllowedGroupsColumnName: input.AllowedGroupsColumnName }));
|
|
4574
4573
|
};
|
|
4575
4574
|
var serializeAws_json1_1AlfrescoConfiguration = function (input, context) {
|
|
4576
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BlogFieldMappings
|
|
4577
|
-
input.BlogFieldMappings !== null && {
|
|
4575
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BlogFieldMappings != null && {
|
|
4578
4576
|
BlogFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.BlogFieldMappings, context),
|
|
4579
|
-
})), (input.CrawlComments
|
|
4580
|
-
input.CrawlSystemFolders !== null && { CrawlSystemFolders: input.CrawlSystemFolders })), (input.DocumentLibraryFieldMappings !== undefined &&
|
|
4581
|
-
input.DocumentLibraryFieldMappings !== null && {
|
|
4577
|
+
})), (input.CrawlComments != null && { CrawlComments: input.CrawlComments })), (input.CrawlSystemFolders != null && { CrawlSystemFolders: input.CrawlSystemFolders })), (input.DocumentLibraryFieldMappings != null && {
|
|
4582
4578
|
DocumentLibraryFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.DocumentLibraryFieldMappings, context),
|
|
4583
|
-
})), (input.EntityFilter
|
|
4584
|
-
input.EntityFilter !== null && { EntityFilter: serializeAws_json1_1EntityFilter(input.EntityFilter, context) })), (input.ExclusionPatterns !== undefined &&
|
|
4585
|
-
input.ExclusionPatterns !== null && {
|
|
4579
|
+
})), (input.EntityFilter != null && { EntityFilter: serializeAws_json1_1EntityFilter(input.EntityFilter, context) })), (input.ExclusionPatterns != null && {
|
|
4586
4580
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
4587
|
-
})), (input.InclusionPatterns
|
|
4588
|
-
input.InclusionPatterns !== null && {
|
|
4581
|
+
})), (input.InclusionPatterns != null && {
|
|
4589
4582
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
4590
|
-
})), (input.SecretArn
|
|
4591
|
-
input.SslCertificateS3Path !== null && {
|
|
4583
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.SiteId != null && { SiteId: input.SiteId })), (input.SiteUrl != null && { SiteUrl: input.SiteUrl })), (input.SslCertificateS3Path != null && {
|
|
4592
4584
|
SslCertificateS3Path: serializeAws_json1_1S3Path(input.SslCertificateS3Path, context),
|
|
4593
|
-
})), (input.VpcConfiguration
|
|
4594
|
-
input.VpcConfiguration !== null && {
|
|
4585
|
+
})), (input.VpcConfiguration != null && {
|
|
4595
4586
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4596
|
-
})), (input.WikiFieldMappings
|
|
4597
|
-
input.WikiFieldMappings !== null && {
|
|
4587
|
+
})), (input.WikiFieldMappings != null && {
|
|
4598
4588
|
WikiFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.WikiFieldMappings, context),
|
|
4599
4589
|
}));
|
|
4600
4590
|
};
|
|
4601
4591
|
var serializeAws_json1_1AssociateEntitiesToExperienceRequest = function (input, context) {
|
|
4602
|
-
return __assign(__assign(__assign({}, (input.EntityList
|
|
4603
|
-
input.EntityList !== null && { EntityList: serializeAws_json1_1AssociateEntityList(input.EntityList, context) })), (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }));
|
|
4592
|
+
return __assign(__assign(__assign({}, (input.EntityList != null && { EntityList: serializeAws_json1_1AssociateEntityList(input.EntityList, context) })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
4604
4593
|
};
|
|
4605
4594
|
var serializeAws_json1_1AssociateEntityList = function (input, context) {
|
|
4606
4595
|
return input
|
|
@@ -4613,29 +4602,24 @@ var serializeAws_json1_1AssociateEntityList = function (input, context) {
|
|
|
4613
4602
|
});
|
|
4614
4603
|
};
|
|
4615
4604
|
var serializeAws_json1_1AssociatePersonasToEntitiesRequest = function (input, context) {
|
|
4616
|
-
return __assign(__assign(__assign({}, (input.Id
|
|
4617
|
-
input.Personas !== null && {
|
|
4605
|
+
return __assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Personas != null && {
|
|
4618
4606
|
Personas: serializeAws_json1_1EntityPersonaConfigurationList(input.Personas, context),
|
|
4619
4607
|
}));
|
|
4620
4608
|
};
|
|
4621
4609
|
var serializeAws_json1_1AttributeFilter = function (input, context) {
|
|
4622
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AndAllFilters
|
|
4623
|
-
input.AndAllFilters !== null && {
|
|
4610
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AndAllFilters != null && {
|
|
4624
4611
|
AndAllFilters: serializeAws_json1_1AttributeFilterList(input.AndAllFilters, context),
|
|
4625
|
-
})), (input.ContainsAll
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
input.
|
|
4612
|
+
})), (input.ContainsAll != null && {
|
|
4613
|
+
ContainsAll: serializeAws_json1_1DocumentAttribute(input.ContainsAll, context),
|
|
4614
|
+
})), (input.ContainsAny != null && {
|
|
4615
|
+
ContainsAny: serializeAws_json1_1DocumentAttribute(input.ContainsAny, context),
|
|
4616
|
+
})), (input.EqualsTo != null && { EqualsTo: serializeAws_json1_1DocumentAttribute(input.EqualsTo, context) })), (input.GreaterThan != null && {
|
|
4617
|
+
GreaterThan: serializeAws_json1_1DocumentAttribute(input.GreaterThan, context),
|
|
4618
|
+
})), (input.GreaterThanOrEquals != null && {
|
|
4631
4619
|
GreaterThanOrEquals: serializeAws_json1_1DocumentAttribute(input.GreaterThanOrEquals, context),
|
|
4632
|
-
})), (input.LessThan
|
|
4633
|
-
input.LessThan !== null && { LessThan: serializeAws_json1_1DocumentAttribute(input.LessThan, context) })), (input.LessThanOrEquals !== undefined &&
|
|
4634
|
-
input.LessThanOrEquals !== null && {
|
|
4620
|
+
})), (input.LessThan != null && { LessThan: serializeAws_json1_1DocumentAttribute(input.LessThan, context) })), (input.LessThanOrEquals != null && {
|
|
4635
4621
|
LessThanOrEquals: serializeAws_json1_1DocumentAttribute(input.LessThanOrEquals, context),
|
|
4636
|
-
})), (input.NotFilter
|
|
4637
|
-
input.NotFilter !== null && { NotFilter: serializeAws_json1_1AttributeFilter(input.NotFilter, context) })), (input.OrAllFilters !== undefined &&
|
|
4638
|
-
input.OrAllFilters !== null && {
|
|
4622
|
+
})), (input.NotFilter != null && { NotFilter: serializeAws_json1_1AttributeFilter(input.NotFilter, context) })), (input.OrAllFilters != null && {
|
|
4639
4623
|
OrAllFilters: serializeAws_json1_1AttributeFilterList(input.OrAllFilters, context),
|
|
4640
4624
|
}));
|
|
4641
4625
|
};
|
|
@@ -4650,13 +4634,12 @@ var serializeAws_json1_1AttributeFilterList = function (input, context) {
|
|
|
4650
4634
|
});
|
|
4651
4635
|
};
|
|
4652
4636
|
var serializeAws_json1_1AuthenticationConfiguration = function (input, context) {
|
|
4653
|
-
return __assign({}, (input.BasicAuthentication
|
|
4654
|
-
input.BasicAuthentication !== null && {
|
|
4637
|
+
return __assign({}, (input.BasicAuthentication != null && {
|
|
4655
4638
|
BasicAuthentication: serializeAws_json1_1BasicAuthenticationConfigurationList(input.BasicAuthentication, context),
|
|
4656
4639
|
}));
|
|
4657
4640
|
};
|
|
4658
4641
|
var serializeAws_json1_1BasicAuthenticationConfiguration = function (input, context) {
|
|
4659
|
-
return __assign(__assign(__assign({}, (input.Credentials
|
|
4642
|
+
return __assign(__assign(__assign({}, (input.Credentials != null && { Credentials: input.Credentials })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
4660
4643
|
};
|
|
4661
4644
|
var serializeAws_json1_1BasicAuthenticationConfigurationList = function (input, context) {
|
|
4662
4645
|
return input
|
|
@@ -4669,55 +4652,41 @@ var serializeAws_json1_1BasicAuthenticationConfigurationList = function (input,
|
|
|
4669
4652
|
});
|
|
4670
4653
|
};
|
|
4671
4654
|
var serializeAws_json1_1BatchDeleteDocumentRequest = function (input, context) {
|
|
4672
|
-
return __assign(__assign(__assign({}, (input.DataSourceSyncJobMetricTarget
|
|
4673
|
-
input.DataSourceSyncJobMetricTarget !== null && {
|
|
4655
|
+
return __assign(__assign(__assign({}, (input.DataSourceSyncJobMetricTarget != null && {
|
|
4674
4656
|
DataSourceSyncJobMetricTarget: serializeAws_json1_1DataSourceSyncJobMetricTarget(input.DataSourceSyncJobMetricTarget, context),
|
|
4675
|
-
})), (input.DocumentIdList
|
|
4676
|
-
input.DocumentIdList !== null && {
|
|
4657
|
+
})), (input.DocumentIdList != null && {
|
|
4677
4658
|
DocumentIdList: serializeAws_json1_1DocumentIdList(input.DocumentIdList, context),
|
|
4678
|
-
})), (input.IndexId
|
|
4659
|
+
})), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
4679
4660
|
};
|
|
4680
4661
|
var serializeAws_json1_1BatchGetDocumentStatusRequest = function (input, context) {
|
|
4681
|
-
return __assign(__assign({}, (input.DocumentInfoList
|
|
4682
|
-
input.DocumentInfoList !== null && {
|
|
4662
|
+
return __assign(__assign({}, (input.DocumentInfoList != null && {
|
|
4683
4663
|
DocumentInfoList: serializeAws_json1_1DocumentInfoList(input.DocumentInfoList, context),
|
|
4684
|
-
})), (input.IndexId
|
|
4664
|
+
})), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
4685
4665
|
};
|
|
4686
4666
|
var serializeAws_json1_1BatchPutDocumentRequest = function (input, context) {
|
|
4687
|
-
return __assign(__assign(__assign(__assign({}, (input.CustomDocumentEnrichmentConfiguration
|
|
4688
|
-
input.CustomDocumentEnrichmentConfiguration !== null && {
|
|
4667
|
+
return __assign(__assign(__assign(__assign({}, (input.CustomDocumentEnrichmentConfiguration != null && {
|
|
4689
4668
|
CustomDocumentEnrichmentConfiguration: serializeAws_json1_1CustomDocumentEnrichmentConfiguration(input.CustomDocumentEnrichmentConfiguration, context),
|
|
4690
|
-
})), (input.Documents
|
|
4691
|
-
input.Documents !== null && { Documents: serializeAws_json1_1DocumentList(input.Documents, context) })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
4669
|
+
})), (input.Documents != null && { Documents: serializeAws_json1_1DocumentList(input.Documents, context) })), (input.IndexId != null && { IndexId: input.IndexId })), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
4692
4670
|
};
|
|
4693
4671
|
var serializeAws_json1_1BoxConfiguration = function (input, context) {
|
|
4694
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CommentFieldMappings
|
|
4695
|
-
input.CommentFieldMappings !== null && {
|
|
4672
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CommentFieldMappings != null && {
|
|
4696
4673
|
CommentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.CommentFieldMappings, context),
|
|
4697
|
-
})), (input.CrawlComments
|
|
4698
|
-
input.ExclusionPatterns !== null && {
|
|
4674
|
+
})), (input.CrawlComments != null && { CrawlComments: input.CrawlComments })), (input.CrawlTasks != null && { CrawlTasks: input.CrawlTasks })), (input.CrawlWebLinks != null && { CrawlWebLinks: input.CrawlWebLinks })), (input.EnterpriseId != null && { EnterpriseId: input.EnterpriseId })), (input.ExclusionPatterns != null && {
|
|
4699
4675
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
4700
|
-
})), (input.FileFieldMappings
|
|
4701
|
-
input.FileFieldMappings !== null && {
|
|
4676
|
+
})), (input.FileFieldMappings != null && {
|
|
4702
4677
|
FileFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FileFieldMappings, context),
|
|
4703
|
-
})), (input.InclusionPatterns
|
|
4704
|
-
input.InclusionPatterns !== null && {
|
|
4678
|
+
})), (input.InclusionPatterns != null && {
|
|
4705
4679
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
4706
|
-
})), (input.SecretArn
|
|
4707
|
-
input.TaskFieldMappings !== null && {
|
|
4680
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.TaskFieldMappings != null && {
|
|
4708
4681
|
TaskFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.TaskFieldMappings, context),
|
|
4709
|
-
})), (input.UseChangeLog
|
|
4710
|
-
input.VpcConfiguration !== null && {
|
|
4682
|
+
})), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
4711
4683
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4712
|
-
})), (input.WebLinkFieldMappings
|
|
4713
|
-
input.WebLinkFieldMappings !== null && {
|
|
4684
|
+
})), (input.WebLinkFieldMappings != null && {
|
|
4714
4685
|
WebLinkFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.WebLinkFieldMappings, context),
|
|
4715
4686
|
}));
|
|
4716
4687
|
};
|
|
4717
4688
|
var serializeAws_json1_1CapacityUnitsConfiguration = function (input, context) {
|
|
4718
|
-
return __assign(__assign({}, (input.QueryCapacityUnits
|
|
4719
|
-
input.QueryCapacityUnits !== null && { QueryCapacityUnits: input.QueryCapacityUnits })), (input.StorageCapacityUnits !== undefined &&
|
|
4720
|
-
input.StorageCapacityUnits !== null && { StorageCapacityUnits: input.StorageCapacityUnits }));
|
|
4689
|
+
return __assign(__assign({}, (input.QueryCapacityUnits != null && { QueryCapacityUnits: input.QueryCapacityUnits })), (input.StorageCapacityUnits != null && { StorageCapacityUnits: input.StorageCapacityUnits }));
|
|
4721
4690
|
};
|
|
4722
4691
|
var serializeAws_json1_1ChangeDetectingColumns = function (input, context) {
|
|
4723
4692
|
return input
|
|
@@ -4730,11 +4699,10 @@ var serializeAws_json1_1ChangeDetectingColumns = function (input, context) {
|
|
|
4730
4699
|
});
|
|
4731
4700
|
};
|
|
4732
4701
|
var serializeAws_json1_1ClearQuerySuggestionsRequest = function (input, context) {
|
|
4733
|
-
return __assign({}, (input.IndexId
|
|
4702
|
+
return __assign({}, (input.IndexId != null && { IndexId: input.IndexId }));
|
|
4734
4703
|
};
|
|
4735
4704
|
var serializeAws_json1_1ClickFeedback = function (input, context) {
|
|
4736
|
-
return __assign(__assign({}, (input.ClickTime
|
|
4737
|
-
input.ClickTime !== null && { ClickTime: Math.round(input.ClickTime.getTime() / 1000) })), (input.ResultId !== undefined && input.ResultId !== null && { ResultId: input.ResultId }));
|
|
4705
|
+
return __assign(__assign({}, (input.ClickTime != null && { ClickTime: Math.round(input.ClickTime.getTime() / 1000) })), (input.ResultId != null && { ResultId: input.ResultId }));
|
|
4738
4706
|
};
|
|
4739
4707
|
var serializeAws_json1_1ClickFeedbackList = function (input, context) {
|
|
4740
4708
|
return input
|
|
@@ -4747,23 +4715,16 @@ var serializeAws_json1_1ClickFeedbackList = function (input, context) {
|
|
|
4747
4715
|
});
|
|
4748
4716
|
};
|
|
4749
4717
|
var serializeAws_json1_1ColumnConfiguration = function (input, context) {
|
|
4750
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ChangeDetectingColumns
|
|
4751
|
-
input.ChangeDetectingColumns !== null && {
|
|
4718
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ChangeDetectingColumns != null && {
|
|
4752
4719
|
ChangeDetectingColumns: serializeAws_json1_1ChangeDetectingColumns(input.ChangeDetectingColumns, context),
|
|
4753
|
-
})), (input.DocumentDataColumnName
|
|
4754
|
-
input.DocumentDataColumnName !== null && { DocumentDataColumnName: input.DocumentDataColumnName })), (input.DocumentIdColumnName !== undefined &&
|
|
4755
|
-
input.DocumentIdColumnName !== null && { DocumentIdColumnName: input.DocumentIdColumnName })), (input.DocumentTitleColumnName !== undefined &&
|
|
4756
|
-
input.DocumentTitleColumnName !== null && { DocumentTitleColumnName: input.DocumentTitleColumnName })), (input.FieldMappings !== undefined &&
|
|
4757
|
-
input.FieldMappings !== null && {
|
|
4720
|
+
})), (input.DocumentDataColumnName != null && { DocumentDataColumnName: input.DocumentDataColumnName })), (input.DocumentIdColumnName != null && { DocumentIdColumnName: input.DocumentIdColumnName })), (input.DocumentTitleColumnName != null && { DocumentTitleColumnName: input.DocumentTitleColumnName })), (input.FieldMappings != null && {
|
|
4758
4721
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
4759
4722
|
}));
|
|
4760
4723
|
};
|
|
4761
4724
|
var serializeAws_json1_1ConfluenceAttachmentConfiguration = function (input, context) {
|
|
4762
|
-
return __assign(__assign({}, (input.AttachmentFieldMappings
|
|
4763
|
-
input.AttachmentFieldMappings !== null && {
|
|
4725
|
+
return __assign(__assign({}, (input.AttachmentFieldMappings != null && {
|
|
4764
4726
|
AttachmentFieldMappings: serializeAws_json1_1ConfluenceAttachmentFieldMappingsList(input.AttachmentFieldMappings, context),
|
|
4765
|
-
})), (input.CrawlAttachments
|
|
4766
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments }));
|
|
4727
|
+
})), (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments }));
|
|
4767
4728
|
};
|
|
4768
4729
|
var serializeAws_json1_1ConfluenceAttachmentFieldMappingsList = function (input, context) {
|
|
4769
4730
|
return input
|
|
@@ -4776,14 +4737,10 @@ var serializeAws_json1_1ConfluenceAttachmentFieldMappingsList = function (input,
|
|
|
4776
4737
|
});
|
|
4777
4738
|
};
|
|
4778
4739
|
var serializeAws_json1_1ConfluenceAttachmentToIndexFieldMapping = function (input, context) {
|
|
4779
|
-
return __assign(__assign(__assign({}, (input.DataSourceFieldName
|
|
4780
|
-
input.DataSourceFieldName !== null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat !== undefined &&
|
|
4781
|
-
input.DateFieldFormat !== null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName !== undefined &&
|
|
4782
|
-
input.IndexFieldName !== null && { IndexFieldName: input.IndexFieldName }));
|
|
4740
|
+
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
4783
4741
|
};
|
|
4784
4742
|
var serializeAws_json1_1ConfluenceBlogConfiguration = function (input, context) {
|
|
4785
|
-
return __assign({}, (input.BlogFieldMappings
|
|
4786
|
-
input.BlogFieldMappings !== null && {
|
|
4743
|
+
return __assign({}, (input.BlogFieldMappings != null && {
|
|
4787
4744
|
BlogFieldMappings: serializeAws_json1_1ConfluenceBlogFieldMappingsList(input.BlogFieldMappings, context),
|
|
4788
4745
|
}));
|
|
4789
4746
|
};
|
|
@@ -4798,38 +4755,27 @@ var serializeAws_json1_1ConfluenceBlogFieldMappingsList = function (input, conte
|
|
|
4798
4755
|
});
|
|
4799
4756
|
};
|
|
4800
4757
|
var serializeAws_json1_1ConfluenceBlogToIndexFieldMapping = function (input, context) {
|
|
4801
|
-
return __assign(__assign(__assign({}, (input.DataSourceFieldName
|
|
4802
|
-
input.DataSourceFieldName !== null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat !== undefined &&
|
|
4803
|
-
input.DateFieldFormat !== null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName !== undefined &&
|
|
4804
|
-
input.IndexFieldName !== null && { IndexFieldName: input.IndexFieldName }));
|
|
4758
|
+
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
4805
4759
|
};
|
|
4806
4760
|
var serializeAws_json1_1ConfluenceConfiguration = function (input, context) {
|
|
4807
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentConfiguration
|
|
4808
|
-
input.AttachmentConfiguration !== null && {
|
|
4761
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentConfiguration != null && {
|
|
4809
4762
|
AttachmentConfiguration: serializeAws_json1_1ConfluenceAttachmentConfiguration(input.AttachmentConfiguration, context),
|
|
4810
|
-
})), (input.BlogConfiguration
|
|
4811
|
-
input.BlogConfiguration !== null && {
|
|
4763
|
+
})), (input.BlogConfiguration != null && {
|
|
4812
4764
|
BlogConfiguration: serializeAws_json1_1ConfluenceBlogConfiguration(input.BlogConfiguration, context),
|
|
4813
|
-
})), (input.ExclusionPatterns
|
|
4814
|
-
input.ExclusionPatterns !== null && {
|
|
4765
|
+
})), (input.ExclusionPatterns != null && {
|
|
4815
4766
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
4816
|
-
})), (input.InclusionPatterns
|
|
4817
|
-
input.InclusionPatterns !== null && {
|
|
4767
|
+
})), (input.InclusionPatterns != null && {
|
|
4818
4768
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
4819
|
-
})), (input.PageConfiguration
|
|
4820
|
-
input.PageConfiguration !== null && {
|
|
4769
|
+
})), (input.PageConfiguration != null && {
|
|
4821
4770
|
PageConfiguration: serializeAws_json1_1ConfluencePageConfiguration(input.PageConfiguration, context),
|
|
4822
|
-
})), (input.SecretArn
|
|
4823
|
-
input.SpaceConfiguration !== null && {
|
|
4771
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.ServerUrl != null && { ServerUrl: input.ServerUrl })), (input.SpaceConfiguration != null && {
|
|
4824
4772
|
SpaceConfiguration: serializeAws_json1_1ConfluenceSpaceConfiguration(input.SpaceConfiguration, context),
|
|
4825
|
-
})), (input.Version
|
|
4826
|
-
input.VpcConfiguration !== null && {
|
|
4773
|
+
})), (input.Version != null && { Version: input.Version })), (input.VpcConfiguration != null && {
|
|
4827
4774
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4828
4775
|
}));
|
|
4829
4776
|
};
|
|
4830
4777
|
var serializeAws_json1_1ConfluencePageConfiguration = function (input, context) {
|
|
4831
|
-
return __assign({}, (input.PageFieldMappings
|
|
4832
|
-
input.PageFieldMappings !== null && {
|
|
4778
|
+
return __assign({}, (input.PageFieldMappings != null && {
|
|
4833
4779
|
PageFieldMappings: serializeAws_json1_1ConfluencePageFieldMappingsList(input.PageFieldMappings, context),
|
|
4834
4780
|
}));
|
|
4835
4781
|
};
|
|
@@ -4844,22 +4790,14 @@ var serializeAws_json1_1ConfluencePageFieldMappingsList = function (input, conte
|
|
|
4844
4790
|
});
|
|
4845
4791
|
};
|
|
4846
4792
|
var serializeAws_json1_1ConfluencePageToIndexFieldMapping = function (input, context) {
|
|
4847
|
-
return __assign(__assign(__assign({}, (input.DataSourceFieldName
|
|
4848
|
-
input.DataSourceFieldName !== null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat !== undefined &&
|
|
4849
|
-
input.DateFieldFormat !== null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName !== undefined &&
|
|
4850
|
-
input.IndexFieldName !== null && { IndexFieldName: input.IndexFieldName }));
|
|
4793
|
+
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
4851
4794
|
};
|
|
4852
4795
|
var serializeAws_json1_1ConfluenceSpaceConfiguration = function (input, context) {
|
|
4853
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CrawlArchivedSpaces
|
|
4854
|
-
input.CrawlArchivedSpaces !== null && { CrawlArchivedSpaces: input.CrawlArchivedSpaces })), (input.CrawlPersonalSpaces !== undefined &&
|
|
4855
|
-
input.CrawlPersonalSpaces !== null && { CrawlPersonalSpaces: input.CrawlPersonalSpaces })), (input.ExcludeSpaces !== undefined &&
|
|
4856
|
-
input.ExcludeSpaces !== null && {
|
|
4796
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CrawlArchivedSpaces != null && { CrawlArchivedSpaces: input.CrawlArchivedSpaces })), (input.CrawlPersonalSpaces != null && { CrawlPersonalSpaces: input.CrawlPersonalSpaces })), (input.ExcludeSpaces != null && {
|
|
4857
4797
|
ExcludeSpaces: serializeAws_json1_1ConfluenceSpaceList(input.ExcludeSpaces, context),
|
|
4858
|
-
})), (input.IncludeSpaces
|
|
4859
|
-
input.IncludeSpaces !== null && {
|
|
4798
|
+
})), (input.IncludeSpaces != null && {
|
|
4860
4799
|
IncludeSpaces: serializeAws_json1_1ConfluenceSpaceList(input.IncludeSpaces, context),
|
|
4861
|
-
})), (input.SpaceFieldMappings
|
|
4862
|
-
input.SpaceFieldMappings !== null && {
|
|
4800
|
+
})), (input.SpaceFieldMappings != null && {
|
|
4863
4801
|
SpaceFieldMappings: serializeAws_json1_1ConfluenceSpaceFieldMappingsList(input.SpaceFieldMappings, context),
|
|
4864
4802
|
}));
|
|
4865
4803
|
};
|
|
@@ -4884,155 +4822,113 @@ var serializeAws_json1_1ConfluenceSpaceList = function (input, context) {
|
|
|
4884
4822
|
});
|
|
4885
4823
|
};
|
|
4886
4824
|
var serializeAws_json1_1ConfluenceSpaceToIndexFieldMapping = function (input, context) {
|
|
4887
|
-
return __assign(__assign(__assign({}, (input.DataSourceFieldName
|
|
4888
|
-
input.DataSourceFieldName !== null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat !== undefined &&
|
|
4889
|
-
input.DateFieldFormat !== null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName !== undefined &&
|
|
4890
|
-
input.IndexFieldName !== null && { IndexFieldName: input.IndexFieldName }));
|
|
4825
|
+
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
4891
4826
|
};
|
|
4892
4827
|
var serializeAws_json1_1ConnectionConfiguration = function (input, context) {
|
|
4893
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DatabaseHost
|
|
4828
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DatabaseHost != null && { DatabaseHost: input.DatabaseHost })), (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.DatabasePort != null && { DatabasePort: input.DatabasePort })), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.TableName != null && { TableName: input.TableName }));
|
|
4894
4829
|
};
|
|
4895
4830
|
var serializeAws_json1_1ContentSourceConfiguration = function (input, context) {
|
|
4896
|
-
return __assign(__assign(__assign({}, (input.DataSourceIds
|
|
4897
|
-
input.DataSourceIds !== null && {
|
|
4831
|
+
return __assign(__assign(__assign({}, (input.DataSourceIds != null && {
|
|
4898
4832
|
DataSourceIds: serializeAws_json1_1DataSourceIdList(input.DataSourceIds, context),
|
|
4899
|
-
})), (input.DirectPutContent
|
|
4900
|
-
input.DirectPutContent !== null && { DirectPutContent: input.DirectPutContent })), (input.FaqIds !== undefined &&
|
|
4901
|
-
input.FaqIds !== null && { FaqIds: serializeAws_json1_1FaqIdsList(input.FaqIds, context) }));
|
|
4833
|
+
})), (input.DirectPutContent != null && { DirectPutContent: input.DirectPutContent })), (input.FaqIds != null && { FaqIds: serializeAws_json1_1FaqIdsList(input.FaqIds, context) }));
|
|
4902
4834
|
};
|
|
4903
4835
|
var serializeAws_json1_1CreateDataSourceRequest = function (input, context) {
|
|
4904
4836
|
var _a;
|
|
4905
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Configuration
|
|
4906
|
-
input.Configuration !== null && {
|
|
4837
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Configuration != null && {
|
|
4907
4838
|
Configuration: serializeAws_json1_1DataSourceConfiguration(input.Configuration, context),
|
|
4908
|
-
})), (input.CustomDocumentEnrichmentConfiguration
|
|
4909
|
-
input.CustomDocumentEnrichmentConfiguration !== null && {
|
|
4839
|
+
})), (input.CustomDocumentEnrichmentConfiguration != null && {
|
|
4910
4840
|
CustomDocumentEnrichmentConfiguration: serializeAws_json1_1CustomDocumentEnrichmentConfiguration(input.CustomDocumentEnrichmentConfiguration, context),
|
|
4911
|
-
})), (input.Description
|
|
4841
|
+
})), (input.Description != null && { Description: input.Description })), (input.IndexId != null && { IndexId: input.IndexId })), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Schedule != null && { Schedule: input.Schedule })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Type != null && { Type: input.Type }));
|
|
4912
4842
|
};
|
|
4913
4843
|
var serializeAws_json1_1CreateExperienceRequest = function (input, context) {
|
|
4914
4844
|
var _a;
|
|
4915
|
-
return __assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Configuration
|
|
4916
|
-
input.Configuration !== null && {
|
|
4845
|
+
return __assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Configuration != null && {
|
|
4917
4846
|
Configuration: serializeAws_json1_1ExperienceConfiguration(input.Configuration, context),
|
|
4918
|
-
})), (input.Description
|
|
4847
|
+
})), (input.Description != null && { Description: input.Description })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
4919
4848
|
};
|
|
4920
4849
|
var serializeAws_json1_1CreateFaqRequest = function (input, context) {
|
|
4921
4850
|
var _a;
|
|
4922
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
4923
|
-
input.S3Path !== null && { S3Path: serializeAws_json1_1S3Path(input.S3Path, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4851
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.FileFormat != null && { FileFormat: input.FileFormat })), (input.IndexId != null && { IndexId: input.IndexId })), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.S3Path != null && { S3Path: serializeAws_json1_1S3Path(input.S3Path, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4924
4852
|
};
|
|
4925
4853
|
var serializeAws_json1_1CreateIndexRequest = function (input, context) {
|
|
4926
4854
|
var _a;
|
|
4927
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
4928
|
-
input.ServerSideEncryptionConfiguration !== null && {
|
|
4855
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.Edition != null && { Edition: input.Edition })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.ServerSideEncryptionConfiguration != null && {
|
|
4929
4856
|
ServerSideEncryptionConfiguration: serializeAws_json1_1ServerSideEncryptionConfiguration(input.ServerSideEncryptionConfiguration, context),
|
|
4930
|
-
})), (input.Tags
|
|
4931
|
-
input.UserContextPolicy !== null && { UserContextPolicy: input.UserContextPolicy })), (input.UserGroupResolutionConfiguration !== undefined &&
|
|
4932
|
-
input.UserGroupResolutionConfiguration !== null && {
|
|
4857
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.UserContextPolicy != null && { UserContextPolicy: input.UserContextPolicy })), (input.UserGroupResolutionConfiguration != null && {
|
|
4933
4858
|
UserGroupResolutionConfiguration: serializeAws_json1_1UserGroupResolutionConfiguration(input.UserGroupResolutionConfiguration, context),
|
|
4934
|
-
})), (input.UserTokenConfigurations
|
|
4935
|
-
input.UserTokenConfigurations !== null && {
|
|
4859
|
+
})), (input.UserTokenConfigurations != null && {
|
|
4936
4860
|
UserTokenConfigurations: serializeAws_json1_1UserTokenConfigurationList(input.UserTokenConfigurations, context),
|
|
4937
4861
|
}));
|
|
4938
4862
|
};
|
|
4939
4863
|
var serializeAws_json1_1CreateQuerySuggestionsBlockListRequest = function (input, context) {
|
|
4940
4864
|
var _a;
|
|
4941
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
4942
|
-
input.SourceS3Path !== null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4865
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.SourceS3Path != null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4943
4866
|
};
|
|
4944
4867
|
var serializeAws_json1_1CreateThesaurusRequest = function (input, context) {
|
|
4945
4868
|
var _a;
|
|
4946
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
4947
|
-
input.SourceS3Path !== null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4869
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.SourceS3Path != null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4948
4870
|
};
|
|
4949
4871
|
var serializeAws_json1_1CustomDocumentEnrichmentConfiguration = function (input, context) {
|
|
4950
|
-
return __assign(__assign(__assign(__assign({}, (input.InlineConfigurations
|
|
4951
|
-
input.InlineConfigurations !== null && {
|
|
4872
|
+
return __assign(__assign(__assign(__assign({}, (input.InlineConfigurations != null && {
|
|
4952
4873
|
InlineConfigurations: serializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList(input.InlineConfigurations, context),
|
|
4953
|
-
})), (input.PostExtractionHookConfiguration
|
|
4954
|
-
input.PostExtractionHookConfiguration !== null && {
|
|
4874
|
+
})), (input.PostExtractionHookConfiguration != null && {
|
|
4955
4875
|
PostExtractionHookConfiguration: serializeAws_json1_1HookConfiguration(input.PostExtractionHookConfiguration, context),
|
|
4956
|
-
})), (input.PreExtractionHookConfiguration
|
|
4957
|
-
input.PreExtractionHookConfiguration !== null && {
|
|
4876
|
+
})), (input.PreExtractionHookConfiguration != null && {
|
|
4958
4877
|
PreExtractionHookConfiguration: serializeAws_json1_1HookConfiguration(input.PreExtractionHookConfiguration, context),
|
|
4959
|
-
})), (input.RoleArn
|
|
4878
|
+
})), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
4960
4879
|
};
|
|
4961
4880
|
var serializeAws_json1_1DatabaseConfiguration = function (input, context) {
|
|
4962
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AclConfiguration
|
|
4963
|
-
input.AclConfiguration !== null && {
|
|
4881
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AclConfiguration != null && {
|
|
4964
4882
|
AclConfiguration: serializeAws_json1_1AclConfiguration(input.AclConfiguration, context),
|
|
4965
|
-
})), (input.ColumnConfiguration
|
|
4966
|
-
input.ColumnConfiguration !== null && {
|
|
4883
|
+
})), (input.ColumnConfiguration != null && {
|
|
4967
4884
|
ColumnConfiguration: serializeAws_json1_1ColumnConfiguration(input.ColumnConfiguration, context),
|
|
4968
|
-
})), (input.ConnectionConfiguration
|
|
4969
|
-
input.ConnectionConfiguration !== null && {
|
|
4885
|
+
})), (input.ConnectionConfiguration != null && {
|
|
4970
4886
|
ConnectionConfiguration: serializeAws_json1_1ConnectionConfiguration(input.ConnectionConfiguration, context),
|
|
4971
|
-
})), (input.DatabaseEngineType
|
|
4972
|
-
input.DatabaseEngineType !== null && { DatabaseEngineType: input.DatabaseEngineType })), (input.SqlConfiguration !== undefined &&
|
|
4973
|
-
input.SqlConfiguration !== null && {
|
|
4887
|
+
})), (input.DatabaseEngineType != null && { DatabaseEngineType: input.DatabaseEngineType })), (input.SqlConfiguration != null && {
|
|
4974
4888
|
SqlConfiguration: serializeAws_json1_1SqlConfiguration(input.SqlConfiguration, context),
|
|
4975
|
-
})), (input.VpcConfiguration
|
|
4976
|
-
input.VpcConfiguration !== null && {
|
|
4889
|
+
})), (input.VpcConfiguration != null && {
|
|
4977
4890
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4978
4891
|
}));
|
|
4979
4892
|
};
|
|
4980
4893
|
var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
4981
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlfrescoConfiguration
|
|
4982
|
-
input.AlfrescoConfiguration !== null && {
|
|
4894
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlfrescoConfiguration != null && {
|
|
4983
4895
|
AlfrescoConfiguration: serializeAws_json1_1AlfrescoConfiguration(input.AlfrescoConfiguration, context),
|
|
4984
|
-
})), (input.BoxConfiguration
|
|
4985
|
-
input.BoxConfiguration !== null && {
|
|
4896
|
+
})), (input.BoxConfiguration != null && {
|
|
4986
4897
|
BoxConfiguration: serializeAws_json1_1BoxConfiguration(input.BoxConfiguration, context),
|
|
4987
|
-
})), (input.ConfluenceConfiguration
|
|
4988
|
-
input.ConfluenceConfiguration !== null && {
|
|
4898
|
+
})), (input.ConfluenceConfiguration != null && {
|
|
4989
4899
|
ConfluenceConfiguration: serializeAws_json1_1ConfluenceConfiguration(input.ConfluenceConfiguration, context),
|
|
4990
|
-
})), (input.DatabaseConfiguration
|
|
4991
|
-
input.DatabaseConfiguration !== null && {
|
|
4900
|
+
})), (input.DatabaseConfiguration != null && {
|
|
4992
4901
|
DatabaseConfiguration: serializeAws_json1_1DatabaseConfiguration(input.DatabaseConfiguration, context),
|
|
4993
|
-
})), (input.FsxConfiguration
|
|
4994
|
-
input.FsxConfiguration !== null && {
|
|
4902
|
+
})), (input.FsxConfiguration != null && {
|
|
4995
4903
|
FsxConfiguration: serializeAws_json1_1FsxConfiguration(input.FsxConfiguration, context),
|
|
4996
|
-
})), (input.GitHubConfiguration
|
|
4997
|
-
input.GitHubConfiguration !== null && {
|
|
4904
|
+
})), (input.GitHubConfiguration != null && {
|
|
4998
4905
|
GitHubConfiguration: serializeAws_json1_1GitHubConfiguration(input.GitHubConfiguration, context),
|
|
4999
|
-
})), (input.GoogleDriveConfiguration
|
|
5000
|
-
input.GoogleDriveConfiguration !== null && {
|
|
4906
|
+
})), (input.GoogleDriveConfiguration != null && {
|
|
5001
4907
|
GoogleDriveConfiguration: serializeAws_json1_1GoogleDriveConfiguration(input.GoogleDriveConfiguration, context),
|
|
5002
|
-
})), (input.JiraConfiguration
|
|
5003
|
-
input.JiraConfiguration !== null && {
|
|
4908
|
+
})), (input.JiraConfiguration != null && {
|
|
5004
4909
|
JiraConfiguration: serializeAws_json1_1JiraConfiguration(input.JiraConfiguration, context),
|
|
5005
|
-
})), (input.OneDriveConfiguration
|
|
5006
|
-
input.OneDriveConfiguration !== null && {
|
|
4910
|
+
})), (input.OneDriveConfiguration != null && {
|
|
5007
4911
|
OneDriveConfiguration: serializeAws_json1_1OneDriveConfiguration(input.OneDriveConfiguration, context),
|
|
5008
|
-
})), (input.QuipConfiguration
|
|
5009
|
-
input.QuipConfiguration !== null && {
|
|
4912
|
+
})), (input.QuipConfiguration != null && {
|
|
5010
4913
|
QuipConfiguration: serializeAws_json1_1QuipConfiguration(input.QuipConfiguration, context),
|
|
5011
|
-
})), (input.S3Configuration
|
|
5012
|
-
input.S3Configuration !== null && {
|
|
4914
|
+
})), (input.S3Configuration != null && {
|
|
5013
4915
|
S3Configuration: serializeAws_json1_1S3DataSourceConfiguration(input.S3Configuration, context),
|
|
5014
|
-
})), (input.SalesforceConfiguration
|
|
5015
|
-
input.SalesforceConfiguration !== null && {
|
|
4916
|
+
})), (input.SalesforceConfiguration != null && {
|
|
5016
4917
|
SalesforceConfiguration: serializeAws_json1_1SalesforceConfiguration(input.SalesforceConfiguration, context),
|
|
5017
|
-
})), (input.ServiceNowConfiguration
|
|
5018
|
-
input.ServiceNowConfiguration !== null && {
|
|
4918
|
+
})), (input.ServiceNowConfiguration != null && {
|
|
5019
4919
|
ServiceNowConfiguration: serializeAws_json1_1ServiceNowConfiguration(input.ServiceNowConfiguration, context),
|
|
5020
|
-
})), (input.SharePointConfiguration
|
|
5021
|
-
input.SharePointConfiguration !== null && {
|
|
4920
|
+
})), (input.SharePointConfiguration != null && {
|
|
5022
4921
|
SharePointConfiguration: serializeAws_json1_1SharePointConfiguration(input.SharePointConfiguration, context),
|
|
5023
|
-
})), (input.SlackConfiguration
|
|
5024
|
-
input.SlackConfiguration !== null && {
|
|
4922
|
+
})), (input.SlackConfiguration != null && {
|
|
5025
4923
|
SlackConfiguration: serializeAws_json1_1SlackConfiguration(input.SlackConfiguration, context),
|
|
5026
|
-
})), (input.WebCrawlerConfiguration
|
|
5027
|
-
input.WebCrawlerConfiguration !== null && {
|
|
4924
|
+
})), (input.WebCrawlerConfiguration != null && {
|
|
5028
4925
|
WebCrawlerConfiguration: serializeAws_json1_1WebCrawlerConfiguration(input.WebCrawlerConfiguration, context),
|
|
5029
|
-
})), (input.WorkDocsConfiguration
|
|
5030
|
-
input.WorkDocsConfiguration !== null && {
|
|
4926
|
+
})), (input.WorkDocsConfiguration != null && {
|
|
5031
4927
|
WorkDocsConfiguration: serializeAws_json1_1WorkDocsConfiguration(input.WorkDocsConfiguration, context),
|
|
5032
4928
|
}));
|
|
5033
4929
|
};
|
|
5034
4930
|
var serializeAws_json1_1DataSourceGroup = function (input, context) {
|
|
5035
|
-
return __assign(__assign({}, (input.DataSourceId
|
|
4931
|
+
return __assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.GroupId != null && { GroupId: input.GroupId }));
|
|
5036
4932
|
};
|
|
5037
4933
|
var serializeAws_json1_1DataSourceGroups = function (input, context) {
|
|
5038
4934
|
return input
|
|
@@ -5065,14 +4961,10 @@ var serializeAws_json1_1DataSourceInclusionsExclusionsStrings = function (input,
|
|
|
5065
4961
|
});
|
|
5066
4962
|
};
|
|
5067
4963
|
var serializeAws_json1_1DataSourceSyncJobMetricTarget = function (input, context) {
|
|
5068
|
-
return __assign(__assign({}, (input.DataSourceId
|
|
5069
|
-
input.DataSourceSyncJobId !== null && { DataSourceSyncJobId: input.DataSourceSyncJobId }));
|
|
4964
|
+
return __assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.DataSourceSyncJobId != null && { DataSourceSyncJobId: input.DataSourceSyncJobId }));
|
|
5070
4965
|
};
|
|
5071
4966
|
var serializeAws_json1_1DataSourceToIndexFieldMapping = function (input, context) {
|
|
5072
|
-
return __assign(__assign(__assign({}, (input.DataSourceFieldName
|
|
5073
|
-
input.DataSourceFieldName !== null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat !== undefined &&
|
|
5074
|
-
input.DateFieldFormat !== null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName !== undefined &&
|
|
5075
|
-
input.IndexFieldName !== null && { IndexFieldName: input.IndexFieldName }));
|
|
4967
|
+
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
5076
4968
|
};
|
|
5077
4969
|
var serializeAws_json1_1DataSourceToIndexFieldMappingList = function (input, context) {
|
|
5078
4970
|
return input
|
|
@@ -5085,62 +4977,59 @@ var serializeAws_json1_1DataSourceToIndexFieldMappingList = function (input, con
|
|
|
5085
4977
|
});
|
|
5086
4978
|
};
|
|
5087
4979
|
var serializeAws_json1_1DataSourceVpcConfiguration = function (input, context) {
|
|
5088
|
-
return __assign(__assign({}, (input.SecurityGroupIds
|
|
5089
|
-
input.SecurityGroupIds !== null && {
|
|
4980
|
+
return __assign(__assign({}, (input.SecurityGroupIds != null && {
|
|
5090
4981
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdList(input.SecurityGroupIds, context),
|
|
5091
|
-
})), (input.SubnetIds
|
|
5092
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }));
|
|
4982
|
+
})), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }));
|
|
5093
4983
|
};
|
|
5094
4984
|
var serializeAws_json1_1DeleteDataSourceRequest = function (input, context) {
|
|
5095
|
-
return __assign(__assign({}, (input.Id
|
|
4985
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5096
4986
|
};
|
|
5097
4987
|
var serializeAws_json1_1DeleteExperienceRequest = function (input, context) {
|
|
5098
|
-
return __assign(__assign({}, (input.Id
|
|
4988
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5099
4989
|
};
|
|
5100
4990
|
var serializeAws_json1_1DeleteFaqRequest = function (input, context) {
|
|
5101
|
-
return __assign(__assign({}, (input.Id
|
|
4991
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5102
4992
|
};
|
|
5103
4993
|
var serializeAws_json1_1DeleteIndexRequest = function (input, context) {
|
|
5104
|
-
return __assign({}, (input.Id
|
|
4994
|
+
return __assign({}, (input.Id != null && { Id: input.Id }));
|
|
5105
4995
|
};
|
|
5106
4996
|
var serializeAws_json1_1DeletePrincipalMappingRequest = function (input, context) {
|
|
5107
|
-
return __assign(__assign(__assign(__assign({}, (input.DataSourceId
|
|
4997
|
+
return __assign(__assign(__assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.GroupId != null && { GroupId: input.GroupId })), (input.IndexId != null && { IndexId: input.IndexId })), (input.OrderingId != null && { OrderingId: input.OrderingId }));
|
|
5108
4998
|
};
|
|
5109
4999
|
var serializeAws_json1_1DeleteQuerySuggestionsBlockListRequest = function (input, context) {
|
|
5110
|
-
return __assign(__assign({}, (input.Id
|
|
5000
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5111
5001
|
};
|
|
5112
5002
|
var serializeAws_json1_1DeleteThesaurusRequest = function (input, context) {
|
|
5113
|
-
return __assign(__assign({}, (input.Id
|
|
5003
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5114
5004
|
};
|
|
5115
5005
|
var serializeAws_json1_1DescribeDataSourceRequest = function (input, context) {
|
|
5116
|
-
return __assign(__assign({}, (input.Id
|
|
5006
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5117
5007
|
};
|
|
5118
5008
|
var serializeAws_json1_1DescribeExperienceRequest = function (input, context) {
|
|
5119
|
-
return __assign(__assign({}, (input.Id
|
|
5009
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5120
5010
|
};
|
|
5121
5011
|
var serializeAws_json1_1DescribeFaqRequest = function (input, context) {
|
|
5122
|
-
return __assign(__assign({}, (input.Id
|
|
5012
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5123
5013
|
};
|
|
5124
5014
|
var serializeAws_json1_1DescribeIndexRequest = function (input, context) {
|
|
5125
|
-
return __assign({}, (input.Id
|
|
5015
|
+
return __assign({}, (input.Id != null && { Id: input.Id }));
|
|
5126
5016
|
};
|
|
5127
5017
|
var serializeAws_json1_1DescribePrincipalMappingRequest = function (input, context) {
|
|
5128
|
-
return __assign(__assign(__assign({}, (input.DataSourceId
|
|
5018
|
+
return __assign(__assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.GroupId != null && { GroupId: input.GroupId })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5129
5019
|
};
|
|
5130
5020
|
var serializeAws_json1_1DescribeQuerySuggestionsBlockListRequest = function (input, context) {
|
|
5131
|
-
return __assign(__assign({}, (input.Id
|
|
5021
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5132
5022
|
};
|
|
5133
5023
|
var serializeAws_json1_1DescribeQuerySuggestionsConfigRequest = function (input, context) {
|
|
5134
|
-
return __assign({}, (input.IndexId
|
|
5024
|
+
return __assign({}, (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5135
5025
|
};
|
|
5136
5026
|
var serializeAws_json1_1DescribeThesaurusRequest = function (input, context) {
|
|
5137
|
-
return __assign(__assign({}, (input.Id
|
|
5027
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5138
5028
|
};
|
|
5139
5029
|
var serializeAws_json1_1DisassociateEntitiesFromExperienceRequest = function (input, context) {
|
|
5140
|
-
return __assign(__assign(__assign({}, (input.EntityList
|
|
5141
|
-
input.EntityList !== null && {
|
|
5030
|
+
return __assign(__assign(__assign({}, (input.EntityList != null && {
|
|
5142
5031
|
EntityList: serializeAws_json1_1DisassociateEntityList(input.EntityList, context),
|
|
5143
|
-
})), (input.Id
|
|
5032
|
+
})), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5144
5033
|
};
|
|
5145
5034
|
var serializeAws_json1_1DisassociateEntityList = function (input, context) {
|
|
5146
5035
|
return input
|
|
@@ -5153,34 +5042,26 @@ var serializeAws_json1_1DisassociateEntityList = function (input, context) {
|
|
|
5153
5042
|
});
|
|
5154
5043
|
};
|
|
5155
5044
|
var serializeAws_json1_1DisassociatePersonasFromEntitiesRequest = function (input, context) {
|
|
5156
|
-
return __assign(__assign(__assign({}, (input.EntityIds
|
|
5157
|
-
input.EntityIds !== null && { EntityIds: serializeAws_json1_1EntityIdsList(input.EntityIds, context) })), (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }));
|
|
5045
|
+
return __assign(__assign(__assign({}, (input.EntityIds != null && { EntityIds: serializeAws_json1_1EntityIdsList(input.EntityIds, context) })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
5158
5046
|
};
|
|
5159
5047
|
var serializeAws_json1_1Document = function (input, context) {
|
|
5160
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlList
|
|
5161
|
-
input.AccessControlList !== null && {
|
|
5048
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlList != null && {
|
|
5162
5049
|
AccessControlList: serializeAws_json1_1PrincipalList(input.AccessControlList, context),
|
|
5163
|
-
})), (input.Attributes
|
|
5164
|
-
input.Attributes !== null && {
|
|
5050
|
+
})), (input.Attributes != null && {
|
|
5165
5051
|
Attributes: serializeAws_json1_1DocumentAttributeList(input.Attributes, context),
|
|
5166
|
-
})), (input.Blob
|
|
5167
|
-
input.HierarchicalAccessControlList !== null && {
|
|
5052
|
+
})), (input.Blob != null && { Blob: context.base64Encoder(input.Blob) })), (input.ContentType != null && { ContentType: input.ContentType })), (input.HierarchicalAccessControlList != null && {
|
|
5168
5053
|
HierarchicalAccessControlList: serializeAws_json1_1HierarchicalPrincipalList(input.HierarchicalAccessControlList, context),
|
|
5169
|
-
})), (input.Id
|
|
5170
|
-
input.S3Path !== null && { S3Path: serializeAws_json1_1S3Path(input.S3Path, context) })), (input.Title !== undefined && input.Title !== null && { Title: input.Title }));
|
|
5054
|
+
})), (input.Id != null && { Id: input.Id })), (input.S3Path != null && { S3Path: serializeAws_json1_1S3Path(input.S3Path, context) })), (input.Title != null && { Title: input.Title }));
|
|
5171
5055
|
};
|
|
5172
5056
|
var serializeAws_json1_1DocumentAttribute = function (input, context) {
|
|
5173
|
-
return __assign(__assign({}, (input.Key
|
|
5174
|
-
input.Value !== null && { Value: serializeAws_json1_1DocumentAttributeValue(input.Value, context) }));
|
|
5057
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: serializeAws_json1_1DocumentAttributeValue(input.Value, context) }));
|
|
5175
5058
|
};
|
|
5176
5059
|
var serializeAws_json1_1DocumentAttributeCondition = function (input, context) {
|
|
5177
|
-
return __assign(__assign(__assign({}, (input.ConditionDocumentAttributeKey
|
|
5178
|
-
input.ConditionDocumentAttributeKey !== null && {
|
|
5060
|
+
return __assign(__assign(__assign({}, (input.ConditionDocumentAttributeKey != null && {
|
|
5179
5061
|
ConditionDocumentAttributeKey: input.ConditionDocumentAttributeKey,
|
|
5180
|
-
})), (input.ConditionOnValue
|
|
5181
|
-
input.ConditionOnValue !== null && {
|
|
5062
|
+
})), (input.ConditionOnValue != null && {
|
|
5182
5063
|
ConditionOnValue: serializeAws_json1_1DocumentAttributeValue(input.ConditionOnValue, context),
|
|
5183
|
-
})), (input.Operator
|
|
5064
|
+
})), (input.Operator != null && { Operator: input.Operator }));
|
|
5184
5065
|
};
|
|
5185
5066
|
var serializeAws_json1_1DocumentAttributeKeyList = function (input, context) {
|
|
5186
5067
|
return input
|
|
@@ -5213,21 +5094,16 @@ var serializeAws_json1_1DocumentAttributeStringListValue = function (input, cont
|
|
|
5213
5094
|
});
|
|
5214
5095
|
};
|
|
5215
5096
|
var serializeAws_json1_1DocumentAttributeTarget = function (input, context) {
|
|
5216
|
-
return __assign(__assign(__assign({}, (input.TargetDocumentAttributeKey
|
|
5217
|
-
input.TargetDocumentAttributeKey !== null && { TargetDocumentAttributeKey: input.TargetDocumentAttributeKey })), (input.TargetDocumentAttributeValue !== undefined &&
|
|
5218
|
-
input.TargetDocumentAttributeValue !== null && {
|
|
5097
|
+
return __assign(__assign(__assign({}, (input.TargetDocumentAttributeKey != null && { TargetDocumentAttributeKey: input.TargetDocumentAttributeKey })), (input.TargetDocumentAttributeValue != null && {
|
|
5219
5098
|
TargetDocumentAttributeValue: serializeAws_json1_1DocumentAttributeValue(input.TargetDocumentAttributeValue, context),
|
|
5220
|
-
})), (input.TargetDocumentAttributeValueDeletion
|
|
5221
|
-
input.TargetDocumentAttributeValueDeletion !== null && {
|
|
5099
|
+
})), (input.TargetDocumentAttributeValueDeletion != null && {
|
|
5222
5100
|
TargetDocumentAttributeValueDeletion: input.TargetDocumentAttributeValueDeletion,
|
|
5223
5101
|
}));
|
|
5224
5102
|
};
|
|
5225
5103
|
var serializeAws_json1_1DocumentAttributeValue = function (input, context) {
|
|
5226
|
-
return __assign(__assign(__assign(__assign({}, (input.DateValue
|
|
5227
|
-
input.DateValue !== null && { DateValue: Math.round(input.DateValue.getTime() / 1000) })), (input.LongValue !== undefined && input.LongValue !== null && { LongValue: input.LongValue })), (input.StringListValue !== undefined &&
|
|
5228
|
-
input.StringListValue !== null && {
|
|
5104
|
+
return __assign(__assign(__assign(__assign({}, (input.DateValue != null && { DateValue: Math.round(input.DateValue.getTime() / 1000) })), (input.LongValue != null && { LongValue: input.LongValue })), (input.StringListValue != null && {
|
|
5229
5105
|
StringListValue: serializeAws_json1_1DocumentAttributeStringListValue(input.StringListValue, context),
|
|
5230
|
-
})), (input.StringValue
|
|
5106
|
+
})), (input.StringValue != null && { StringValue: input.StringValue }));
|
|
5231
5107
|
};
|
|
5232
5108
|
var serializeAws_json1_1DocumentIdList = function (input, context) {
|
|
5233
5109
|
return input
|
|
@@ -5240,10 +5116,9 @@ var serializeAws_json1_1DocumentIdList = function (input, context) {
|
|
|
5240
5116
|
});
|
|
5241
5117
|
};
|
|
5242
5118
|
var serializeAws_json1_1DocumentInfo = function (input, context) {
|
|
5243
|
-
return __assign(__assign({}, (input.Attributes
|
|
5244
|
-
input.Attributes !== null && {
|
|
5119
|
+
return __assign(__assign({}, (input.Attributes != null && {
|
|
5245
5120
|
Attributes: serializeAws_json1_1DocumentAttributeList(input.Attributes, context),
|
|
5246
|
-
})), (input.DocumentId
|
|
5121
|
+
})), (input.DocumentId != null && { DocumentId: input.DocumentId }));
|
|
5247
5122
|
};
|
|
5248
5123
|
var serializeAws_json1_1DocumentInfoList = function (input, context) {
|
|
5249
5124
|
return input
|
|
@@ -5266,9 +5141,7 @@ var serializeAws_json1_1DocumentList = function (input, context) {
|
|
|
5266
5141
|
});
|
|
5267
5142
|
};
|
|
5268
5143
|
var serializeAws_json1_1DocumentMetadataConfiguration = function (input, context) {
|
|
5269
|
-
return __assign(__assign(__assign(__assign({}, (input.Name
|
|
5270
|
-
input.Relevance !== null && { Relevance: serializeAws_json1_1Relevance(input.Relevance, context) })), (input.Search !== undefined &&
|
|
5271
|
-
input.Search !== null && { Search: serializeAws_json1_1Search(input.Search, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
5144
|
+
return __assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Relevance != null && { Relevance: serializeAws_json1_1Relevance(input.Relevance, context) })), (input.Search != null && { Search: serializeAws_json1_1Search(input.Search, context) })), (input.Type != null && { Type: input.Type }));
|
|
5272
5145
|
};
|
|
5273
5146
|
var serializeAws_json1_1DocumentMetadataConfigurationList = function (input, context) {
|
|
5274
5147
|
return input
|
|
@@ -5281,8 +5154,7 @@ var serializeAws_json1_1DocumentMetadataConfigurationList = function (input, con
|
|
|
5281
5154
|
});
|
|
5282
5155
|
};
|
|
5283
5156
|
var serializeAws_json1_1DocumentRelevanceConfiguration = function (input, context) {
|
|
5284
|
-
return __assign(__assign({}, (input.Name
|
|
5285
|
-
input.Relevance !== null && { Relevance: serializeAws_json1_1Relevance(input.Relevance, context) }));
|
|
5157
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Relevance != null && { Relevance: serializeAws_json1_1Relevance(input.Relevance, context) }));
|
|
5286
5158
|
};
|
|
5287
5159
|
var serializeAws_json1_1DocumentRelevanceOverrideConfigurationList = function (input, context) {
|
|
5288
5160
|
return input
|
|
@@ -5295,10 +5167,10 @@ var serializeAws_json1_1DocumentRelevanceOverrideConfigurationList = function (i
|
|
|
5295
5167
|
});
|
|
5296
5168
|
};
|
|
5297
5169
|
var serializeAws_json1_1DocumentsMetadataConfiguration = function (input, context) {
|
|
5298
|
-
return __assign({}, (input.S3Prefix
|
|
5170
|
+
return __assign({}, (input.S3Prefix != null && { S3Prefix: input.S3Prefix }));
|
|
5299
5171
|
};
|
|
5300
5172
|
var serializeAws_json1_1EntityConfiguration = function (input, context) {
|
|
5301
|
-
return __assign(__assign({}, (input.EntityId
|
|
5173
|
+
return __assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.EntityType != null && { EntityType: input.EntityType }));
|
|
5302
5174
|
};
|
|
5303
5175
|
var serializeAws_json1_1EntityFilter = function (input, context) {
|
|
5304
5176
|
return input
|
|
@@ -5321,7 +5193,7 @@ var serializeAws_json1_1EntityIdsList = function (input, context) {
|
|
|
5321
5193
|
});
|
|
5322
5194
|
};
|
|
5323
5195
|
var serializeAws_json1_1EntityPersonaConfiguration = function (input, context) {
|
|
5324
|
-
return __assign(__assign({}, (input.EntityId
|
|
5196
|
+
return __assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.Persona != null && { Persona: input.Persona }));
|
|
5325
5197
|
};
|
|
5326
5198
|
var serializeAws_json1_1EntityPersonaConfigurationList = function (input, context) {
|
|
5327
5199
|
return input
|
|
@@ -5364,18 +5236,14 @@ var serializeAws_json1_1ExcludeUserAccountsList = function (input, context) {
|
|
|
5364
5236
|
});
|
|
5365
5237
|
};
|
|
5366
5238
|
var serializeAws_json1_1ExperienceConfiguration = function (input, context) {
|
|
5367
|
-
return __assign(__assign({}, (input.ContentSourceConfiguration
|
|
5368
|
-
input.ContentSourceConfiguration !== null && {
|
|
5239
|
+
return __assign(__assign({}, (input.ContentSourceConfiguration != null && {
|
|
5369
5240
|
ContentSourceConfiguration: serializeAws_json1_1ContentSourceConfiguration(input.ContentSourceConfiguration, context),
|
|
5370
|
-
})), (input.UserIdentityConfiguration
|
|
5371
|
-
input.UserIdentityConfiguration !== null && {
|
|
5241
|
+
})), (input.UserIdentityConfiguration != null && {
|
|
5372
5242
|
UserIdentityConfiguration: serializeAws_json1_1UserIdentityConfiguration(input.UserIdentityConfiguration, context),
|
|
5373
5243
|
}));
|
|
5374
5244
|
};
|
|
5375
5245
|
var serializeAws_json1_1Facet = function (input, context) {
|
|
5376
|
-
return __assign(__assign(__assign({}, (input.DocumentAttributeKey
|
|
5377
|
-
input.DocumentAttributeKey !== null && { DocumentAttributeKey: input.DocumentAttributeKey })), (input.Facets !== undefined &&
|
|
5378
|
-
input.Facets !== null && { Facets: serializeAws_json1_1FacetList(input.Facets, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }));
|
|
5246
|
+
return __assign(__assign(__assign({}, (input.DocumentAttributeKey != null && { DocumentAttributeKey: input.DocumentAttributeKey })), (input.Facets != null && { Facets: serializeAws_json1_1FacetList(input.Facets, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults }));
|
|
5379
5247
|
};
|
|
5380
5248
|
var serializeAws_json1_1FacetList = function (input, context) {
|
|
5381
5249
|
return input
|
|
@@ -5408,125 +5276,87 @@ var serializeAws_json1_1FolderIdList = function (input, context) {
|
|
|
5408
5276
|
});
|
|
5409
5277
|
};
|
|
5410
5278
|
var serializeAws_json1_1FsxConfiguration = function (input, context) {
|
|
5411
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionPatterns
|
|
5412
|
-
input.ExclusionPatterns !== null && {
|
|
5279
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionPatterns != null && {
|
|
5413
5280
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5414
|
-
})), (input.FieldMappings
|
|
5415
|
-
input.FieldMappings !== null && {
|
|
5281
|
+
})), (input.FieldMappings != null && {
|
|
5416
5282
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5417
|
-
})), (input.FileSystemId
|
|
5418
|
-
input.FileSystemType !== null && { FileSystemType: input.FileSystemType })), (input.InclusionPatterns !== undefined &&
|
|
5419
|
-
input.InclusionPatterns !== null && {
|
|
5283
|
+
})), (input.FileSystemId != null && { FileSystemId: input.FileSystemId })), (input.FileSystemType != null && { FileSystemType: input.FileSystemType })), (input.InclusionPatterns != null && {
|
|
5420
5284
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5421
|
-
})), (input.SecretArn
|
|
5422
|
-
input.VpcConfiguration !== null && {
|
|
5285
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.VpcConfiguration != null && {
|
|
5423
5286
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5424
5287
|
}));
|
|
5425
5288
|
};
|
|
5426
5289
|
var serializeAws_json1_1GetQuerySuggestionsRequest = function (input, context) {
|
|
5427
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5428
|
-
input.MaxSuggestionsCount !== null && { MaxSuggestionsCount: input.MaxSuggestionsCount })), (input.QueryText !== undefined && input.QueryText !== null && { QueryText: input.QueryText }));
|
|
5290
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxSuggestionsCount != null && { MaxSuggestionsCount: input.MaxSuggestionsCount })), (input.QueryText != null && { QueryText: input.QueryText }));
|
|
5429
5291
|
};
|
|
5430
5292
|
var serializeAws_json1_1GetSnapshotsRequest = function (input, context) {
|
|
5431
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.IndexId
|
|
5293
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.Interval != null && { Interval: input.Interval })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.MetricType != null && { MetricType: input.MetricType })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5432
5294
|
};
|
|
5433
5295
|
var serializeAws_json1_1GitHubConfiguration = function (input, context) {
|
|
5434
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionFileNamePatterns
|
|
5435
|
-
input.ExclusionFileNamePatterns !== null && {
|
|
5296
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionFileNamePatterns != null && {
|
|
5436
5297
|
ExclusionFileNamePatterns: serializeAws_json1_1StringList(input.ExclusionFileNamePatterns, context),
|
|
5437
|
-
})), (input.ExclusionFileTypePatterns
|
|
5438
|
-
input.ExclusionFileTypePatterns !== null && {
|
|
5298
|
+
})), (input.ExclusionFileTypePatterns != null && {
|
|
5439
5299
|
ExclusionFileTypePatterns: serializeAws_json1_1StringList(input.ExclusionFileTypePatterns, context),
|
|
5440
|
-
})), (input.ExclusionFolderNamePatterns
|
|
5441
|
-
input.ExclusionFolderNamePatterns !== null && {
|
|
5300
|
+
})), (input.ExclusionFolderNamePatterns != null && {
|
|
5442
5301
|
ExclusionFolderNamePatterns: serializeAws_json1_1StringList(input.ExclusionFolderNamePatterns, context),
|
|
5443
|
-
})), (input.GitHubCommitConfigurationFieldMappings
|
|
5444
|
-
input.GitHubCommitConfigurationFieldMappings !== null && {
|
|
5302
|
+
})), (input.GitHubCommitConfigurationFieldMappings != null && {
|
|
5445
5303
|
GitHubCommitConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubCommitConfigurationFieldMappings, context),
|
|
5446
|
-
})), (input.GitHubDocumentCrawlProperties
|
|
5447
|
-
input.GitHubDocumentCrawlProperties !== null && {
|
|
5304
|
+
})), (input.GitHubDocumentCrawlProperties != null && {
|
|
5448
5305
|
GitHubDocumentCrawlProperties: serializeAws_json1_1GitHubDocumentCrawlProperties(input.GitHubDocumentCrawlProperties, context),
|
|
5449
|
-
})), (input.GitHubIssueAttachmentConfigurationFieldMappings
|
|
5450
|
-
input.GitHubIssueAttachmentConfigurationFieldMappings !== null && {
|
|
5306
|
+
})), (input.GitHubIssueAttachmentConfigurationFieldMappings != null && {
|
|
5451
5307
|
GitHubIssueAttachmentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueAttachmentConfigurationFieldMappings, context),
|
|
5452
|
-
})), (input.GitHubIssueCommentConfigurationFieldMappings
|
|
5453
|
-
input.GitHubIssueCommentConfigurationFieldMappings !== null && {
|
|
5308
|
+
})), (input.GitHubIssueCommentConfigurationFieldMappings != null && {
|
|
5454
5309
|
GitHubIssueCommentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueCommentConfigurationFieldMappings, context),
|
|
5455
|
-
})), (input.GitHubIssueDocumentConfigurationFieldMappings
|
|
5456
|
-
input.GitHubIssueDocumentConfigurationFieldMappings !== null && {
|
|
5310
|
+
})), (input.GitHubIssueDocumentConfigurationFieldMappings != null && {
|
|
5457
5311
|
GitHubIssueDocumentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubIssueDocumentConfigurationFieldMappings, context),
|
|
5458
|
-
})), (input.GitHubPullRequestCommentConfigurationFieldMappings
|
|
5459
|
-
input.GitHubPullRequestCommentConfigurationFieldMappings !== null && {
|
|
5312
|
+
})), (input.GitHubPullRequestCommentConfigurationFieldMappings != null && {
|
|
5460
5313
|
GitHubPullRequestCommentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestCommentConfigurationFieldMappings, context),
|
|
5461
|
-
})), (input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings
|
|
5462
|
-
input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== null && {
|
|
5314
|
+
})), (input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings != null && {
|
|
5463
5315
|
GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, context),
|
|
5464
|
-
})), (input.GitHubPullRequestDocumentConfigurationFieldMappings
|
|
5465
|
-
input.GitHubPullRequestDocumentConfigurationFieldMappings !== null && {
|
|
5316
|
+
})), (input.GitHubPullRequestDocumentConfigurationFieldMappings != null && {
|
|
5466
5317
|
GitHubPullRequestDocumentConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubPullRequestDocumentConfigurationFieldMappings, context),
|
|
5467
|
-
})), (input.GitHubRepositoryConfigurationFieldMappings
|
|
5468
|
-
input.GitHubRepositoryConfigurationFieldMappings !== null && {
|
|
5318
|
+
})), (input.GitHubRepositoryConfigurationFieldMappings != null && {
|
|
5469
5319
|
GitHubRepositoryConfigurationFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.GitHubRepositoryConfigurationFieldMappings, context),
|
|
5470
|
-
})), (input.InclusionFileNamePatterns
|
|
5471
|
-
input.InclusionFileNamePatterns !== null && {
|
|
5320
|
+
})), (input.InclusionFileNamePatterns != null && {
|
|
5472
5321
|
InclusionFileNamePatterns: serializeAws_json1_1StringList(input.InclusionFileNamePatterns, context),
|
|
5473
|
-
})), (input.InclusionFileTypePatterns
|
|
5474
|
-
input.InclusionFileTypePatterns !== null && {
|
|
5322
|
+
})), (input.InclusionFileTypePatterns != null && {
|
|
5475
5323
|
InclusionFileTypePatterns: serializeAws_json1_1StringList(input.InclusionFileTypePatterns, context),
|
|
5476
|
-
})), (input.InclusionFolderNamePatterns
|
|
5477
|
-
input.InclusionFolderNamePatterns !== null && {
|
|
5324
|
+
})), (input.InclusionFolderNamePatterns != null && {
|
|
5478
5325
|
InclusionFolderNamePatterns: serializeAws_json1_1StringList(input.InclusionFolderNamePatterns, context),
|
|
5479
|
-
})), (input.OnPremiseConfiguration
|
|
5480
|
-
input.OnPremiseConfiguration !== null && {
|
|
5326
|
+
})), (input.OnPremiseConfiguration != null && {
|
|
5481
5327
|
OnPremiseConfiguration: serializeAws_json1_1OnPremiseConfiguration(input.OnPremiseConfiguration, context),
|
|
5482
|
-
})), (input.RepositoryFilter
|
|
5483
|
-
input.RepositoryFilter !== null && {
|
|
5328
|
+
})), (input.RepositoryFilter != null && {
|
|
5484
5329
|
RepositoryFilter: serializeAws_json1_1RepositoryNames(input.RepositoryFilter, context),
|
|
5485
|
-
})), (input.SaaSConfiguration
|
|
5486
|
-
input.SaaSConfiguration !== null && {
|
|
5330
|
+
})), (input.SaaSConfiguration != null && {
|
|
5487
5331
|
SaaSConfiguration: serializeAws_json1_1SaaSConfiguration(input.SaaSConfiguration, context),
|
|
5488
|
-
})), (input.SecretArn
|
|
5489
|
-
input.VpcConfiguration !== null && {
|
|
5332
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.Type != null && { Type: input.Type })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
5490
5333
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5491
5334
|
}));
|
|
5492
5335
|
};
|
|
5493
5336
|
var serializeAws_json1_1GitHubDocumentCrawlProperties = function (input, context) {
|
|
5494
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlIssue
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
input.CrawlPullRequest !== null && { CrawlPullRequest: input.CrawlPullRequest })), (input.CrawlPullRequestComment !== undefined &&
|
|
5498
|
-
input.CrawlPullRequestComment !== null && { CrawlPullRequestComment: input.CrawlPullRequestComment })), (input.CrawlPullRequestCommentAttachment !== undefined &&
|
|
5499
|
-
input.CrawlPullRequestCommentAttachment !== null && {
|
|
5337
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlIssue != null && { CrawlIssue: input.CrawlIssue })), (input.CrawlIssueComment != null && { CrawlIssueComment: input.CrawlIssueComment })), (input.CrawlIssueCommentAttachment != null && {
|
|
5338
|
+
CrawlIssueCommentAttachment: input.CrawlIssueCommentAttachment,
|
|
5339
|
+
})), (input.CrawlPullRequest != null && { CrawlPullRequest: input.CrawlPullRequest })), (input.CrawlPullRequestComment != null && { CrawlPullRequestComment: input.CrawlPullRequestComment })), (input.CrawlPullRequestCommentAttachment != null && {
|
|
5500
5340
|
CrawlPullRequestCommentAttachment: input.CrawlPullRequestCommentAttachment,
|
|
5501
|
-
})), (input.CrawlRepositoryDocuments
|
|
5502
|
-
input.CrawlRepositoryDocuments !== null && { CrawlRepositoryDocuments: input.CrawlRepositoryDocuments }));
|
|
5341
|
+
})), (input.CrawlRepositoryDocuments != null && { CrawlRepositoryDocuments: input.CrawlRepositoryDocuments }));
|
|
5503
5342
|
};
|
|
5504
5343
|
var serializeAws_json1_1GoogleDriveConfiguration = function (input, context) {
|
|
5505
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExcludeMimeTypes
|
|
5506
|
-
input.ExcludeMimeTypes !== null && {
|
|
5344
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExcludeMimeTypes != null && {
|
|
5507
5345
|
ExcludeMimeTypes: serializeAws_json1_1ExcludeMimeTypesList(input.ExcludeMimeTypes, context),
|
|
5508
|
-
})), (input.ExcludeSharedDrives
|
|
5509
|
-
input.ExcludeSharedDrives !== null && {
|
|
5346
|
+
})), (input.ExcludeSharedDrives != null && {
|
|
5510
5347
|
ExcludeSharedDrives: serializeAws_json1_1ExcludeSharedDrivesList(input.ExcludeSharedDrives, context),
|
|
5511
|
-
})), (input.ExcludeUserAccounts
|
|
5512
|
-
input.ExcludeUserAccounts !== null && {
|
|
5348
|
+
})), (input.ExcludeUserAccounts != null && {
|
|
5513
5349
|
ExcludeUserAccounts: serializeAws_json1_1ExcludeUserAccountsList(input.ExcludeUserAccounts, context),
|
|
5514
|
-
})), (input.ExclusionPatterns
|
|
5515
|
-
input.ExclusionPatterns !== null && {
|
|
5350
|
+
})), (input.ExclusionPatterns != null && {
|
|
5516
5351
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5517
|
-
})), (input.FieldMappings
|
|
5518
|
-
input.FieldMappings !== null && {
|
|
5352
|
+
})), (input.FieldMappings != null && {
|
|
5519
5353
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5520
|
-
})), (input.InclusionPatterns
|
|
5521
|
-
input.InclusionPatterns !== null && {
|
|
5354
|
+
})), (input.InclusionPatterns != null && {
|
|
5522
5355
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5523
|
-
})), (input.SecretArn
|
|
5356
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn }));
|
|
5524
5357
|
};
|
|
5525
5358
|
var serializeAws_json1_1GroupMembers = function (input, context) {
|
|
5526
|
-
return __assign(__assign(__assign({}, (input.MemberGroups
|
|
5527
|
-
input.MemberGroups !== null && { MemberGroups: serializeAws_json1_1MemberGroups(input.MemberGroups, context) })), (input.MemberUsers !== undefined &&
|
|
5528
|
-
input.MemberUsers !== null && { MemberUsers: serializeAws_json1_1MemberUsers(input.MemberUsers, context) })), (input.S3PathforGroupMembers !== undefined &&
|
|
5529
|
-
input.S3PathforGroupMembers !== null && {
|
|
5359
|
+
return __assign(__assign(__assign({}, (input.MemberGroups != null && { MemberGroups: serializeAws_json1_1MemberGroups(input.MemberGroups, context) })), (input.MemberUsers != null && { MemberUsers: serializeAws_json1_1MemberUsers(input.MemberUsers, context) })), (input.S3PathforGroupMembers != null && {
|
|
5530
5360
|
S3PathforGroupMembers: serializeAws_json1_1S3Path(input.S3PathforGroupMembers, context),
|
|
5531
5361
|
}));
|
|
5532
5362
|
};
|
|
@@ -5541,8 +5371,7 @@ var serializeAws_json1_1Groups = function (input, context) {
|
|
|
5541
5371
|
});
|
|
5542
5372
|
};
|
|
5543
5373
|
var serializeAws_json1_1HierarchicalPrincipal = function (input, context) {
|
|
5544
|
-
return __assign({}, (input.PrincipalList
|
|
5545
|
-
input.PrincipalList !== null && {
|
|
5374
|
+
return __assign({}, (input.PrincipalList != null && {
|
|
5546
5375
|
PrincipalList: serializeAws_json1_1PrincipalList(input.PrincipalList, context),
|
|
5547
5376
|
}));
|
|
5548
5377
|
};
|
|
@@ -5557,18 +5386,14 @@ var serializeAws_json1_1HierarchicalPrincipalList = function (input, context) {
|
|
|
5557
5386
|
});
|
|
5558
5387
|
};
|
|
5559
5388
|
var serializeAws_json1_1HookConfiguration = function (input, context) {
|
|
5560
|
-
return __assign(__assign(__assign({}, (input.InvocationCondition
|
|
5561
|
-
input.InvocationCondition !== null && {
|
|
5389
|
+
return __assign(__assign(__assign({}, (input.InvocationCondition != null && {
|
|
5562
5390
|
InvocationCondition: serializeAws_json1_1DocumentAttributeCondition(input.InvocationCondition, context),
|
|
5563
|
-
})), (input.LambdaArn
|
|
5391
|
+
})), (input.LambdaArn != null && { LambdaArn: input.LambdaArn })), (input.S3Bucket != null && { S3Bucket: input.S3Bucket }));
|
|
5564
5392
|
};
|
|
5565
5393
|
var serializeAws_json1_1InlineCustomDocumentEnrichmentConfiguration = function (input, context) {
|
|
5566
|
-
return __assign(__assign(__assign({}, (input.Condition
|
|
5567
|
-
input.Condition !== null && {
|
|
5394
|
+
return __assign(__assign(__assign({}, (input.Condition != null && {
|
|
5568
5395
|
Condition: serializeAws_json1_1DocumentAttributeCondition(input.Condition, context),
|
|
5569
|
-
})), (input.DocumentContentDeletion
|
|
5570
|
-
input.DocumentContentDeletion !== null && { DocumentContentDeletion: input.DocumentContentDeletion })), (input.Target !== undefined &&
|
|
5571
|
-
input.Target !== null && { Target: serializeAws_json1_1DocumentAttributeTarget(input.Target, context) }));
|
|
5396
|
+
})), (input.DocumentContentDeletion != null && { DocumentContentDeletion: input.DocumentContentDeletion })), (input.Target != null && { Target: serializeAws_json1_1DocumentAttributeTarget(input.Target, context) }));
|
|
5572
5397
|
};
|
|
5573
5398
|
var serializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList = function (input, context) {
|
|
5574
5399
|
return input
|
|
@@ -5601,36 +5426,23 @@ var serializeAws_json1_1IssueType = function (input, context) {
|
|
|
5601
5426
|
});
|
|
5602
5427
|
};
|
|
5603
5428
|
var serializeAws_json1_1JiraConfiguration = function (input, context) {
|
|
5604
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentFieldMappings
|
|
5605
|
-
input.AttachmentFieldMappings !== null && {
|
|
5429
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentFieldMappings != null && {
|
|
5606
5430
|
AttachmentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.AttachmentFieldMappings, context),
|
|
5607
|
-
})), (input.CommentFieldMappings
|
|
5608
|
-
input.CommentFieldMappings !== null && {
|
|
5431
|
+
})), (input.CommentFieldMappings != null && {
|
|
5609
5432
|
CommentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.CommentFieldMappings, context),
|
|
5610
|
-
})), (input.ExclusionPatterns
|
|
5611
|
-
input.ExclusionPatterns !== null && {
|
|
5433
|
+
})), (input.ExclusionPatterns != null && {
|
|
5612
5434
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5613
|
-
})), (input.InclusionPatterns
|
|
5614
|
-
input.InclusionPatterns !== null && {
|
|
5435
|
+
})), (input.InclusionPatterns != null && {
|
|
5615
5436
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5616
|
-
})), (input.IssueFieldMappings
|
|
5617
|
-
input.IssueFieldMappings !== null && {
|
|
5437
|
+
})), (input.IssueFieldMappings != null && {
|
|
5618
5438
|
IssueFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.IssueFieldMappings, context),
|
|
5619
|
-
})), (input.IssueSubEntityFilter
|
|
5620
|
-
input.IssueSubEntityFilter !== null && {
|
|
5439
|
+
})), (input.IssueSubEntityFilter != null && {
|
|
5621
5440
|
IssueSubEntityFilter: serializeAws_json1_1IssueSubEntityFilter(input.IssueSubEntityFilter, context),
|
|
5622
|
-
})), (input.IssueType
|
|
5623
|
-
input.IssueType !== null && { IssueType: serializeAws_json1_1IssueType(input.IssueType, context) })), (input.JiraAccountUrl !== undefined &&
|
|
5624
|
-
input.JiraAccountUrl !== null && { JiraAccountUrl: input.JiraAccountUrl })), (input.Project !== undefined &&
|
|
5625
|
-
input.Project !== null && { Project: serializeAws_json1_1Project(input.Project, context) })), (input.ProjectFieldMappings !== undefined &&
|
|
5626
|
-
input.ProjectFieldMappings !== null && {
|
|
5441
|
+
})), (input.IssueType != null && { IssueType: serializeAws_json1_1IssueType(input.IssueType, context) })), (input.JiraAccountUrl != null && { JiraAccountUrl: input.JiraAccountUrl })), (input.Project != null && { Project: serializeAws_json1_1Project(input.Project, context) })), (input.ProjectFieldMappings != null && {
|
|
5627
5442
|
ProjectFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.ProjectFieldMappings, context),
|
|
5628
|
-
})), (input.SecretArn
|
|
5629
|
-
input.Status !== null && { Status: serializeAws_json1_1JiraStatus(input.Status, context) })), (input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration !== undefined &&
|
|
5630
|
-
input.VpcConfiguration !== null && {
|
|
5443
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.Status != null && { Status: serializeAws_json1_1JiraStatus(input.Status, context) })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
5631
5444
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5632
|
-
})), (input.WorkLogFieldMappings
|
|
5633
|
-
input.WorkLogFieldMappings !== null && {
|
|
5445
|
+
})), (input.WorkLogFieldMappings != null && {
|
|
5634
5446
|
WorkLogFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.WorkLogFieldMappings, context),
|
|
5635
5447
|
}));
|
|
5636
5448
|
};
|
|
@@ -5645,54 +5457,48 @@ var serializeAws_json1_1JiraStatus = function (input, context) {
|
|
|
5645
5457
|
});
|
|
5646
5458
|
};
|
|
5647
5459
|
var serializeAws_json1_1JsonTokenTypeConfiguration = function (input, context) {
|
|
5648
|
-
return __assign(__assign({}, (input.GroupAttributeField
|
|
5649
|
-
input.GroupAttributeField !== null && { GroupAttributeField: input.GroupAttributeField })), (input.UserNameAttributeField !== undefined &&
|
|
5650
|
-
input.UserNameAttributeField !== null && { UserNameAttributeField: input.UserNameAttributeField }));
|
|
5460
|
+
return __assign(__assign({}, (input.GroupAttributeField != null && { GroupAttributeField: input.GroupAttributeField })), (input.UserNameAttributeField != null && { UserNameAttributeField: input.UserNameAttributeField }));
|
|
5651
5461
|
};
|
|
5652
5462
|
var serializeAws_json1_1JwtTokenTypeConfiguration = function (input, context) {
|
|
5653
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClaimRegex
|
|
5654
|
-
input.GroupAttributeField !== null && { GroupAttributeField: input.GroupAttributeField })), (input.Issuer !== undefined && input.Issuer !== null && { Issuer: input.Issuer })), (input.KeyLocation !== undefined && input.KeyLocation !== null && { KeyLocation: input.KeyLocation })), (input.SecretManagerArn !== undefined &&
|
|
5655
|
-
input.SecretManagerArn !== null && { SecretManagerArn: input.SecretManagerArn })), (input.URL !== undefined && input.URL !== null && { URL: input.URL })), (input.UserNameAttributeField !== undefined &&
|
|
5656
|
-
input.UserNameAttributeField !== null && { UserNameAttributeField: input.UserNameAttributeField }));
|
|
5463
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClaimRegex != null && { ClaimRegex: input.ClaimRegex })), (input.GroupAttributeField != null && { GroupAttributeField: input.GroupAttributeField })), (input.Issuer != null && { Issuer: input.Issuer })), (input.KeyLocation != null && { KeyLocation: input.KeyLocation })), (input.SecretManagerArn != null && { SecretManagerArn: input.SecretManagerArn })), (input.URL != null && { URL: input.URL })), (input.UserNameAttributeField != null && { UserNameAttributeField: input.UserNameAttributeField }));
|
|
5657
5464
|
};
|
|
5658
5465
|
var serializeAws_json1_1ListDataSourcesRequest = function (input, context) {
|
|
5659
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5466
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5660
5467
|
};
|
|
5661
5468
|
var serializeAws_json1_1ListDataSourceSyncJobsRequest = function (input, context) {
|
|
5662
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Id
|
|
5663
|
-
input.StartTimeFilter !== null && {
|
|
5469
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StartTimeFilter != null && {
|
|
5664
5470
|
StartTimeFilter: serializeAws_json1_1TimeRange(input.StartTimeFilter, context),
|
|
5665
|
-
})), (input.StatusFilter
|
|
5471
|
+
})), (input.StatusFilter != null && { StatusFilter: input.StatusFilter }));
|
|
5666
5472
|
};
|
|
5667
5473
|
var serializeAws_json1_1ListEntityPersonasRequest = function (input, context) {
|
|
5668
|
-
return __assign(__assign(__assign(__assign({}, (input.Id
|
|
5474
|
+
return __assign(__assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5669
5475
|
};
|
|
5670
5476
|
var serializeAws_json1_1ListExperienceEntitiesRequest = function (input, context) {
|
|
5671
|
-
return __assign(__assign(__assign({}, (input.Id
|
|
5477
|
+
return __assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5672
5478
|
};
|
|
5673
5479
|
var serializeAws_json1_1ListExperiencesRequest = function (input, context) {
|
|
5674
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5480
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5675
5481
|
};
|
|
5676
5482
|
var serializeAws_json1_1ListFaqsRequest = function (input, context) {
|
|
5677
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5483
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5678
5484
|
};
|
|
5679
5485
|
var serializeAws_json1_1ListGroupsOlderThanOrderingIdRequest = function (input, context) {
|
|
5680
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DataSourceId
|
|
5486
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrderingId != null && { OrderingId: input.OrderingId }));
|
|
5681
5487
|
};
|
|
5682
5488
|
var serializeAws_json1_1ListIndicesRequest = function (input, context) {
|
|
5683
|
-
return __assign(__assign({}, (input.MaxResults
|
|
5489
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5684
5490
|
};
|
|
5685
5491
|
var serializeAws_json1_1ListQuerySuggestionsBlockListsRequest = function (input, context) {
|
|
5686
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5492
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5687
5493
|
};
|
|
5688
5494
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
5689
|
-
return __assign({}, (input.ResourceARN
|
|
5495
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
5690
5496
|
};
|
|
5691
5497
|
var serializeAws_json1_1ListThesauriRequest = function (input, context) {
|
|
5692
|
-
return __assign(__assign(__assign({}, (input.IndexId
|
|
5498
|
+
return __assign(__assign(__assign({}, (input.IndexId != null && { IndexId: input.IndexId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5693
5499
|
};
|
|
5694
5500
|
var serializeAws_json1_1MemberGroup = function (input, context) {
|
|
5695
|
-
return __assign(__assign({}, (input.DataSourceId
|
|
5501
|
+
return __assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.GroupId != null && { GroupId: input.GroupId }));
|
|
5696
5502
|
};
|
|
5697
5503
|
var serializeAws_json1_1MemberGroups = function (input, context) {
|
|
5698
5504
|
return input
|
|
@@ -5705,7 +5511,7 @@ var serializeAws_json1_1MemberGroups = function (input, context) {
|
|
|
5705
5511
|
});
|
|
5706
5512
|
};
|
|
5707
5513
|
var serializeAws_json1_1MemberUser = function (input, context) {
|
|
5708
|
-
return __assign({}, (input.UserId
|
|
5514
|
+
return __assign({}, (input.UserId != null && { UserId: input.UserId }));
|
|
5709
5515
|
};
|
|
5710
5516
|
var serializeAws_json1_1MemberUsers = function (input, context) {
|
|
5711
5517
|
return input
|
|
@@ -5718,20 +5524,15 @@ var serializeAws_json1_1MemberUsers = function (input, context) {
|
|
|
5718
5524
|
});
|
|
5719
5525
|
};
|
|
5720
5526
|
var serializeAws_json1_1OneDriveConfiguration = function (input, context) {
|
|
5721
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DisableLocalGroups
|
|
5722
|
-
input.DisableLocalGroups !== null && { DisableLocalGroups: input.DisableLocalGroups })), (input.ExclusionPatterns !== undefined &&
|
|
5723
|
-
input.ExclusionPatterns !== null && {
|
|
5527
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups })), (input.ExclusionPatterns != null && {
|
|
5724
5528
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5725
|
-
})), (input.FieldMappings
|
|
5726
|
-
input.FieldMappings !== null && {
|
|
5529
|
+
})), (input.FieldMappings != null && {
|
|
5727
5530
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5728
|
-
})), (input.InclusionPatterns
|
|
5729
|
-
input.InclusionPatterns !== null && {
|
|
5531
|
+
})), (input.InclusionPatterns != null && {
|
|
5730
5532
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5731
|
-
})), (input.OneDriveUsers
|
|
5732
|
-
input.OneDriveUsers !== null && {
|
|
5533
|
+
})), (input.OneDriveUsers != null && {
|
|
5733
5534
|
OneDriveUsers: serializeAws_json1_1OneDriveUsers(input.OneDriveUsers, context),
|
|
5734
|
-
})), (input.SecretArn
|
|
5535
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.TenantDomain != null && { TenantDomain: input.TenantDomain }));
|
|
5735
5536
|
};
|
|
5736
5537
|
var serializeAws_json1_1OneDriveUserList = function (input, context) {
|
|
5737
5538
|
return input
|
|
@@ -5744,23 +5545,19 @@ var serializeAws_json1_1OneDriveUserList = function (input, context) {
|
|
|
5744
5545
|
});
|
|
5745
5546
|
};
|
|
5746
5547
|
var serializeAws_json1_1OneDriveUsers = function (input, context) {
|
|
5747
|
-
return __assign(__assign({}, (input.OneDriveUserList
|
|
5748
|
-
input.OneDriveUserList !== null && {
|
|
5548
|
+
return __assign(__assign({}, (input.OneDriveUserList != null && {
|
|
5749
5549
|
OneDriveUserList: serializeAws_json1_1OneDriveUserList(input.OneDriveUserList, context),
|
|
5750
|
-
})), (input.OneDriveUserS3Path
|
|
5751
|
-
input.OneDriveUserS3Path !== null && {
|
|
5550
|
+
})), (input.OneDriveUserS3Path != null && {
|
|
5752
5551
|
OneDriveUserS3Path: serializeAws_json1_1S3Path(input.OneDriveUserS3Path, context),
|
|
5753
5552
|
}));
|
|
5754
5553
|
};
|
|
5755
5554
|
var serializeAws_json1_1OnPremiseConfiguration = function (input, context) {
|
|
5756
|
-
return __assign(__assign(__assign({}, (input.HostUrl
|
|
5757
|
-
input.OrganizationName !== null && { OrganizationName: input.OrganizationName })), (input.SslCertificateS3Path !== undefined &&
|
|
5758
|
-
input.SslCertificateS3Path !== null && {
|
|
5555
|
+
return __assign(__assign(__assign({}, (input.HostUrl != null && { HostUrl: input.HostUrl })), (input.OrganizationName != null && { OrganizationName: input.OrganizationName })), (input.SslCertificateS3Path != null && {
|
|
5759
5556
|
SslCertificateS3Path: serializeAws_json1_1S3Path(input.SslCertificateS3Path, context),
|
|
5760
5557
|
}));
|
|
5761
5558
|
};
|
|
5762
5559
|
var serializeAws_json1_1Principal = function (input, context) {
|
|
5763
|
-
return __assign(__assign(__assign(__assign({}, (input.Access
|
|
5560
|
+
return __assign(__assign(__assign(__assign({}, (input.Access != null && { Access: input.Access })), (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.Name != null && { Name: input.Name })), (input.Type != null && { Type: input.Type }));
|
|
5764
5561
|
};
|
|
5765
5562
|
var serializeAws_json1_1PrincipalList = function (input, context) {
|
|
5766
5563
|
return input
|
|
@@ -5793,7 +5590,7 @@ var serializeAws_json1_1Project = function (input, context) {
|
|
|
5793
5590
|
});
|
|
5794
5591
|
};
|
|
5795
5592
|
var serializeAws_json1_1ProxyConfiguration = function (input, context) {
|
|
5796
|
-
return __assign(__assign(__assign({}, (input.Credentials
|
|
5593
|
+
return __assign(__assign(__assign({}, (input.Credentials != null && { Credentials: input.Credentials })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
|
|
5797
5594
|
};
|
|
5798
5595
|
var serializeAws_json1_1PublicChannelFilter = function (input, context) {
|
|
5799
5596
|
return input
|
|
@@ -5806,64 +5603,43 @@ var serializeAws_json1_1PublicChannelFilter = function (input, context) {
|
|
|
5806
5603
|
});
|
|
5807
5604
|
};
|
|
5808
5605
|
var serializeAws_json1_1PutPrincipalMappingRequest = function (input, context) {
|
|
5809
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataSourceId
|
|
5810
|
-
input.GroupMembers !== null && { GroupMembers: serializeAws_json1_1GroupMembers(input.GroupMembers, context) })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId })), (input.OrderingId !== undefined && input.OrderingId !== null && { OrderingId: input.OrderingId })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
5606
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.GroupId != null && { GroupId: input.GroupId })), (input.GroupMembers != null && { GroupMembers: serializeAws_json1_1GroupMembers(input.GroupMembers, context) })), (input.IndexId != null && { IndexId: input.IndexId })), (input.OrderingId != null && { OrderingId: input.OrderingId })), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
5811
5607
|
};
|
|
5812
5608
|
var serializeAws_json1_1QueryRequest = function (input, context) {
|
|
5813
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeFilter
|
|
5814
|
-
input.AttributeFilter !== null && {
|
|
5609
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeFilter != null && {
|
|
5815
5610
|
AttributeFilter: serializeAws_json1_1AttributeFilter(input.AttributeFilter, context),
|
|
5816
|
-
})), (input.DocumentRelevanceOverrideConfigurations
|
|
5817
|
-
input.DocumentRelevanceOverrideConfigurations !== null && {
|
|
5611
|
+
})), (input.DocumentRelevanceOverrideConfigurations != null && {
|
|
5818
5612
|
DocumentRelevanceOverrideConfigurations: serializeAws_json1_1DocumentRelevanceOverrideConfigurationList(input.DocumentRelevanceOverrideConfigurations, context),
|
|
5819
|
-
})), (input.Facets
|
|
5820
|
-
input.Facets !== null && { Facets: serializeAws_json1_1FacetList(input.Facets, context) })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId })), (input.PageNumber !== undefined && input.PageNumber !== null && { PageNumber: input.PageNumber })), (input.PageSize !== undefined && input.PageSize !== null && { PageSize: input.PageSize })), (input.QueryResultTypeFilter !== undefined &&
|
|
5821
|
-
input.QueryResultTypeFilter !== null && { QueryResultTypeFilter: input.QueryResultTypeFilter })), (input.QueryText !== undefined && input.QueryText !== null && { QueryText: input.QueryText })), (input.RequestedDocumentAttributes !== undefined &&
|
|
5822
|
-
input.RequestedDocumentAttributes !== null && {
|
|
5613
|
+
})), (input.Facets != null && { Facets: serializeAws_json1_1FacetList(input.Facets, context) })), (input.IndexId != null && { IndexId: input.IndexId })), (input.PageNumber != null && { PageNumber: input.PageNumber })), (input.PageSize != null && { PageSize: input.PageSize })), (input.QueryResultTypeFilter != null && { QueryResultTypeFilter: input.QueryResultTypeFilter })), (input.QueryText != null && { QueryText: input.QueryText })), (input.RequestedDocumentAttributes != null && {
|
|
5823
5614
|
RequestedDocumentAttributes: serializeAws_json1_1DocumentAttributeKeyList(input.RequestedDocumentAttributes, context),
|
|
5824
|
-
})), (input.SortingConfiguration
|
|
5825
|
-
input.SortingConfiguration !== null && {
|
|
5615
|
+
})), (input.SortingConfiguration != null && {
|
|
5826
5616
|
SortingConfiguration: serializeAws_json1_1SortingConfiguration(input.SortingConfiguration, context),
|
|
5827
|
-
})), (input.SpellCorrectionConfiguration
|
|
5828
|
-
input.SpellCorrectionConfiguration !== null && {
|
|
5617
|
+
})), (input.SpellCorrectionConfiguration != null && {
|
|
5829
5618
|
SpellCorrectionConfiguration: serializeAws_json1_1SpellCorrectionConfiguration(input.SpellCorrectionConfiguration, context),
|
|
5830
|
-
})), (input.UserContext
|
|
5831
|
-
input.UserContext !== null && { UserContext: serializeAws_json1_1UserContext(input.UserContext, context) })), (input.VisitorId !== undefined && input.VisitorId !== null && { VisitorId: input.VisitorId }));
|
|
5619
|
+
})), (input.UserContext != null && { UserContext: serializeAws_json1_1UserContext(input.UserContext, context) })), (input.VisitorId != null && { VisitorId: input.VisitorId }));
|
|
5832
5620
|
};
|
|
5833
5621
|
var serializeAws_json1_1QuipConfiguration = function (input, context) {
|
|
5834
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentFieldMappings
|
|
5835
|
-
input.AttachmentFieldMappings !== null && {
|
|
5622
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentFieldMappings != null && {
|
|
5836
5623
|
AttachmentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.AttachmentFieldMappings, context),
|
|
5837
|
-
})), (input.CrawlAttachments
|
|
5838
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.CrawlChatRooms !== undefined &&
|
|
5839
|
-
input.CrawlChatRooms !== null && { CrawlChatRooms: input.CrawlChatRooms })), (input.CrawlFileComments !== undefined &&
|
|
5840
|
-
input.CrawlFileComments !== null && { CrawlFileComments: input.CrawlFileComments })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.ExclusionPatterns !== undefined &&
|
|
5841
|
-
input.ExclusionPatterns !== null && {
|
|
5624
|
+
})), (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.CrawlChatRooms != null && { CrawlChatRooms: input.CrawlChatRooms })), (input.CrawlFileComments != null && { CrawlFileComments: input.CrawlFileComments })), (input.Domain != null && { Domain: input.Domain })), (input.ExclusionPatterns != null && {
|
|
5842
5625
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5843
|
-
})), (input.FolderIds
|
|
5844
|
-
input.FolderIds !== null && { FolderIds: serializeAws_json1_1FolderIdList(input.FolderIds, context) })), (input.InclusionPatterns !== undefined &&
|
|
5845
|
-
input.InclusionPatterns !== null && {
|
|
5626
|
+
})), (input.FolderIds != null && { FolderIds: serializeAws_json1_1FolderIdList(input.FolderIds, context) })), (input.InclusionPatterns != null && {
|
|
5846
5627
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5847
|
-
})), (input.MessageFieldMappings
|
|
5848
|
-
input.MessageFieldMappings !== null && {
|
|
5628
|
+
})), (input.MessageFieldMappings != null && {
|
|
5849
5629
|
MessageFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.MessageFieldMappings, context),
|
|
5850
|
-
})), (input.SecretArn
|
|
5851
|
-
input.ThreadFieldMappings !== null && {
|
|
5630
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.ThreadFieldMappings != null && {
|
|
5852
5631
|
ThreadFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.ThreadFieldMappings, context),
|
|
5853
|
-
})), (input.VpcConfiguration
|
|
5854
|
-
input.VpcConfiguration !== null && {
|
|
5632
|
+
})), (input.VpcConfiguration != null && {
|
|
5855
5633
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5856
5634
|
}));
|
|
5857
5635
|
};
|
|
5858
5636
|
var serializeAws_json1_1Relevance = function (input, context) {
|
|
5859
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Duration
|
|
5860
|
-
input.ValueImportanceMap !== null && {
|
|
5637
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Duration != null && { Duration: input.Duration })), (input.Freshness != null && { Freshness: input.Freshness })), (input.Importance != null && { Importance: input.Importance })), (input.RankOrder != null && { RankOrder: input.RankOrder })), (input.ValueImportanceMap != null && {
|
|
5861
5638
|
ValueImportanceMap: serializeAws_json1_1ValueImportanceMap(input.ValueImportanceMap, context),
|
|
5862
5639
|
}));
|
|
5863
5640
|
};
|
|
5864
5641
|
var serializeAws_json1_1RelevanceFeedback = function (input, context) {
|
|
5865
|
-
return __assign(__assign({}, (input.RelevanceValue
|
|
5866
|
-
input.RelevanceValue !== null && { RelevanceValue: input.RelevanceValue })), (input.ResultId !== undefined && input.ResultId !== null && { ResultId: input.ResultId }));
|
|
5642
|
+
return __assign(__assign({}, (input.RelevanceValue != null && { RelevanceValue: input.RelevanceValue })), (input.ResultId != null && { ResultId: input.ResultId }));
|
|
5867
5643
|
};
|
|
5868
5644
|
var serializeAws_json1_1RelevanceFeedbackList = function (input, context) {
|
|
5869
5645
|
return input
|
|
@@ -5886,38 +5662,28 @@ var serializeAws_json1_1RepositoryNames = function (input, context) {
|
|
|
5886
5662
|
});
|
|
5887
5663
|
};
|
|
5888
5664
|
var serializeAws_json1_1S3DataSourceConfiguration = function (input, context) {
|
|
5889
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlListConfiguration
|
|
5890
|
-
input.AccessControlListConfiguration !== null && {
|
|
5665
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessControlListConfiguration != null && {
|
|
5891
5666
|
AccessControlListConfiguration: serializeAws_json1_1AccessControlListConfiguration(input.AccessControlListConfiguration, context),
|
|
5892
|
-
})), (input.BucketName
|
|
5893
|
-
input.DocumentsMetadataConfiguration !== null && {
|
|
5667
|
+
})), (input.BucketName != null && { BucketName: input.BucketName })), (input.DocumentsMetadataConfiguration != null && {
|
|
5894
5668
|
DocumentsMetadataConfiguration: serializeAws_json1_1DocumentsMetadataConfiguration(input.DocumentsMetadataConfiguration, context),
|
|
5895
|
-
})), (input.ExclusionPatterns
|
|
5896
|
-
input.ExclusionPatterns !== null && {
|
|
5669
|
+
})), (input.ExclusionPatterns != null && {
|
|
5897
5670
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5898
|
-
})), (input.InclusionPatterns
|
|
5899
|
-
input.InclusionPatterns !== null && {
|
|
5671
|
+
})), (input.InclusionPatterns != null && {
|
|
5900
5672
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5901
|
-
})), (input.InclusionPrefixes
|
|
5902
|
-
input.InclusionPrefixes !== null && {
|
|
5673
|
+
})), (input.InclusionPrefixes != null && {
|
|
5903
5674
|
InclusionPrefixes: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPrefixes, context),
|
|
5904
5675
|
}));
|
|
5905
5676
|
};
|
|
5906
5677
|
var serializeAws_json1_1S3Path = function (input, context) {
|
|
5907
|
-
return __assign(__assign({}, (input.Bucket
|
|
5678
|
+
return __assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.Key != null && { Key: input.Key }));
|
|
5908
5679
|
};
|
|
5909
5680
|
var serializeAws_json1_1SaaSConfiguration = function (input, context) {
|
|
5910
|
-
return __assign(__assign({}, (input.HostUrl
|
|
5911
|
-
input.OrganizationName !== null && { OrganizationName: input.OrganizationName }));
|
|
5681
|
+
return __assign(__assign({}, (input.HostUrl != null && { HostUrl: input.HostUrl })), (input.OrganizationName != null && { OrganizationName: input.OrganizationName }));
|
|
5912
5682
|
};
|
|
5913
5683
|
var serializeAws_json1_1SalesforceChatterFeedConfiguration = function (input, context) {
|
|
5914
|
-
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName
|
|
5915
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
5916
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings !== undefined &&
|
|
5917
|
-
input.FieldMappings !== null && {
|
|
5684
|
+
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings != null && {
|
|
5918
5685
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5919
|
-
})), (input.IncludeFilterTypes
|
|
5920
|
-
input.IncludeFilterTypes !== null && {
|
|
5686
|
+
})), (input.IncludeFilterTypes != null && {
|
|
5921
5687
|
IncludeFilterTypes: serializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes(input.IncludeFilterTypes, context),
|
|
5922
5688
|
}));
|
|
5923
5689
|
};
|
|
@@ -5932,34 +5698,24 @@ var serializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes = function (inpu
|
|
|
5932
5698
|
});
|
|
5933
5699
|
};
|
|
5934
5700
|
var serializeAws_json1_1SalesforceConfiguration = function (input, context) {
|
|
5935
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChatterFeedConfiguration
|
|
5936
|
-
input.ChatterFeedConfiguration !== null && {
|
|
5701
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChatterFeedConfiguration != null && {
|
|
5937
5702
|
ChatterFeedConfiguration: serializeAws_json1_1SalesforceChatterFeedConfiguration(input.ChatterFeedConfiguration, context),
|
|
5938
|
-
})), (input.CrawlAttachments
|
|
5939
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.ExcludeAttachmentFilePatterns !== undefined &&
|
|
5940
|
-
input.ExcludeAttachmentFilePatterns !== null && {
|
|
5703
|
+
})), (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.ExcludeAttachmentFilePatterns != null && {
|
|
5941
5704
|
ExcludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExcludeAttachmentFilePatterns, context),
|
|
5942
|
-
})), (input.IncludeAttachmentFilePatterns
|
|
5943
|
-
input.IncludeAttachmentFilePatterns !== null && {
|
|
5705
|
+
})), (input.IncludeAttachmentFilePatterns != null && {
|
|
5944
5706
|
IncludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.IncludeAttachmentFilePatterns, context),
|
|
5945
|
-
})), (input.KnowledgeArticleConfiguration
|
|
5946
|
-
input.KnowledgeArticleConfiguration !== null && {
|
|
5707
|
+
})), (input.KnowledgeArticleConfiguration != null && {
|
|
5947
5708
|
KnowledgeArticleConfiguration: serializeAws_json1_1SalesforceKnowledgeArticleConfiguration(input.KnowledgeArticleConfiguration, context),
|
|
5948
|
-
})), (input.SecretArn
|
|
5949
|
-
input.StandardObjectAttachmentConfiguration !== null && {
|
|
5709
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.ServerUrl != null && { ServerUrl: input.ServerUrl })), (input.StandardObjectAttachmentConfiguration != null && {
|
|
5950
5710
|
StandardObjectAttachmentConfiguration: serializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration(input.StandardObjectAttachmentConfiguration, context),
|
|
5951
|
-
})), (input.StandardObjectConfigurations
|
|
5952
|
-
input.StandardObjectConfigurations !== null && {
|
|
5711
|
+
})), (input.StandardObjectConfigurations != null && {
|
|
5953
5712
|
StandardObjectConfigurations: serializeAws_json1_1SalesforceStandardObjectConfigurationList(input.StandardObjectConfigurations, context),
|
|
5954
5713
|
}));
|
|
5955
5714
|
};
|
|
5956
5715
|
var serializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfiguration = function (input, context) {
|
|
5957
|
-
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName
|
|
5958
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
5959
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings !== undefined &&
|
|
5960
|
-
input.FieldMappings !== null && {
|
|
5716
|
+
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings != null && {
|
|
5961
5717
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
5962
|
-
})), (input.Name
|
|
5718
|
+
})), (input.Name != null && { Name: input.Name }));
|
|
5963
5719
|
};
|
|
5964
5720
|
var serializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList = function (input, context) {
|
|
5965
5721
|
return input
|
|
@@ -5972,14 +5728,11 @@ var serializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList =
|
|
|
5972
5728
|
});
|
|
5973
5729
|
};
|
|
5974
5730
|
var serializeAws_json1_1SalesforceKnowledgeArticleConfiguration = function (input, context) {
|
|
5975
|
-
return __assign(__assign(__assign({}, (input.CustomKnowledgeArticleTypeConfigurations
|
|
5976
|
-
input.CustomKnowledgeArticleTypeConfigurations !== null && {
|
|
5731
|
+
return __assign(__assign(__assign({}, (input.CustomKnowledgeArticleTypeConfigurations != null && {
|
|
5977
5732
|
CustomKnowledgeArticleTypeConfigurations: serializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList(input.CustomKnowledgeArticleTypeConfigurations, context),
|
|
5978
|
-
})), (input.IncludedStates
|
|
5979
|
-
input.IncludedStates !== null && {
|
|
5733
|
+
})), (input.IncludedStates != null && {
|
|
5980
5734
|
IncludedStates: serializeAws_json1_1SalesforceKnowledgeArticleStateList(input.IncludedStates, context),
|
|
5981
|
-
})), (input.StandardKnowledgeArticleTypeConfiguration
|
|
5982
|
-
input.StandardKnowledgeArticleTypeConfiguration !== null && {
|
|
5735
|
+
})), (input.StandardKnowledgeArticleTypeConfiguration != null && {
|
|
5983
5736
|
StandardKnowledgeArticleTypeConfiguration: serializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration(input.StandardKnowledgeArticleTypeConfiguration, context),
|
|
5984
5737
|
}));
|
|
5985
5738
|
};
|
|
@@ -5994,27 +5747,19 @@ var serializeAws_json1_1SalesforceKnowledgeArticleStateList = function (input, c
|
|
|
5994
5747
|
});
|
|
5995
5748
|
};
|
|
5996
5749
|
var serializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration = function (input, context) {
|
|
5997
|
-
return __assign(__assign(__assign({}, (input.DocumentDataFieldName
|
|
5998
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
5999
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings !== undefined &&
|
|
6000
|
-
input.FieldMappings !== null && {
|
|
5750
|
+
return __assign(__assign(__assign({}, (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings != null && {
|
|
6001
5751
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6002
5752
|
}));
|
|
6003
5753
|
};
|
|
6004
5754
|
var serializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = function (input, context) {
|
|
6005
|
-
return __assign(__assign({}, (input.DocumentTitleFieldName
|
|
6006
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings !== undefined &&
|
|
6007
|
-
input.FieldMappings !== null && {
|
|
5755
|
+
return __assign(__assign({}, (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings != null && {
|
|
6008
5756
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6009
5757
|
}));
|
|
6010
5758
|
};
|
|
6011
5759
|
var serializeAws_json1_1SalesforceStandardObjectConfiguration = function (input, context) {
|
|
6012
|
-
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName
|
|
6013
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
6014
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings !== undefined &&
|
|
6015
|
-
input.FieldMappings !== null && {
|
|
5760
|
+
return __assign(__assign(__assign(__assign({}, (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.FieldMappings != null && {
|
|
6016
5761
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6017
|
-
})), (input.Name
|
|
5762
|
+
})), (input.Name != null && { Name: input.Name }));
|
|
6018
5763
|
};
|
|
6019
5764
|
var serializeAws_json1_1SalesforceStandardObjectConfigurationList = function (input, context) {
|
|
6020
5765
|
return input
|
|
@@ -6027,7 +5772,7 @@ var serializeAws_json1_1SalesforceStandardObjectConfigurationList = function (in
|
|
|
6027
5772
|
});
|
|
6028
5773
|
};
|
|
6029
5774
|
var serializeAws_json1_1Search = function (input, context) {
|
|
6030
|
-
return __assign(__assign(__assign(__assign({}, (input.Displayable
|
|
5775
|
+
return __assign(__assign(__assign(__assign({}, (input.Displayable != null && { Displayable: input.Displayable })), (input.Facetable != null && { Facetable: input.Facetable })), (input.Searchable != null && { Searchable: input.Searchable })), (input.Sortable != null && { Sortable: input.Sortable }));
|
|
6031
5776
|
};
|
|
6032
5777
|
var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
6033
5778
|
return input
|
|
@@ -6040,9 +5785,7 @@ var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
|
6040
5785
|
});
|
|
6041
5786
|
};
|
|
6042
5787
|
var serializeAws_json1_1SeedUrlConfiguration = function (input, context) {
|
|
6043
|
-
return __assign(__assign({}, (input.SeedUrls
|
|
6044
|
-
input.SeedUrls !== null && { SeedUrls: serializeAws_json1_1SeedUrlList(input.SeedUrls, context) })), (input.WebCrawlerMode !== undefined &&
|
|
6045
|
-
input.WebCrawlerMode !== null && { WebCrawlerMode: input.WebCrawlerMode }));
|
|
5788
|
+
return __assign(__assign({}, (input.SeedUrls != null && { SeedUrls: serializeAws_json1_1SeedUrlList(input.SeedUrls, context) })), (input.WebCrawlerMode != null && { WebCrawlerMode: input.WebCrawlerMode }));
|
|
6046
5789
|
};
|
|
6047
5790
|
var serializeAws_json1_1SeedUrlList = function (input, context) {
|
|
6048
5791
|
return input
|
|
@@ -6055,69 +5798,43 @@ var serializeAws_json1_1SeedUrlList = function (input, context) {
|
|
|
6055
5798
|
});
|
|
6056
5799
|
};
|
|
6057
5800
|
var serializeAws_json1_1ServerSideEncryptionConfiguration = function (input, context) {
|
|
6058
|
-
return __assign({}, (input.KmsKeyId
|
|
5801
|
+
return __assign({}, (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }));
|
|
6059
5802
|
};
|
|
6060
5803
|
var serializeAws_json1_1ServiceNowConfiguration = function (input, context) {
|
|
6061
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType
|
|
6062
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.HostUrl !== undefined && input.HostUrl !== null && { HostUrl: input.HostUrl })), (input.KnowledgeArticleConfiguration !== undefined &&
|
|
6063
|
-
input.KnowledgeArticleConfiguration !== null && {
|
|
5804
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.HostUrl != null && { HostUrl: input.HostUrl })), (input.KnowledgeArticleConfiguration != null && {
|
|
6064
5805
|
KnowledgeArticleConfiguration: serializeAws_json1_1ServiceNowKnowledgeArticleConfiguration(input.KnowledgeArticleConfiguration, context),
|
|
6065
|
-
})), (input.SecretArn
|
|
6066
|
-
input.ServiceCatalogConfiguration !== null && {
|
|
5806
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.ServiceCatalogConfiguration != null && {
|
|
6067
5807
|
ServiceCatalogConfiguration: serializeAws_json1_1ServiceNowServiceCatalogConfiguration(input.ServiceCatalogConfiguration, context),
|
|
6068
|
-
})), (input.ServiceNowBuildVersion
|
|
6069
|
-
input.ServiceNowBuildVersion !== null && { ServiceNowBuildVersion: input.ServiceNowBuildVersion }));
|
|
5808
|
+
})), (input.ServiceNowBuildVersion != null && { ServiceNowBuildVersion: input.ServiceNowBuildVersion }));
|
|
6070
5809
|
};
|
|
6071
5810
|
var serializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = function (input, context) {
|
|
6072
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments
|
|
6073
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.DocumentDataFieldName !== undefined &&
|
|
6074
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
6075
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExcludeAttachmentFilePatterns !== undefined &&
|
|
6076
|
-
input.ExcludeAttachmentFilePatterns !== null && {
|
|
5811
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExcludeAttachmentFilePatterns != null && {
|
|
6077
5812
|
ExcludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExcludeAttachmentFilePatterns, context),
|
|
6078
|
-
})), (input.FieldMappings
|
|
6079
|
-
input.FieldMappings !== null && {
|
|
5813
|
+
})), (input.FieldMappings != null && {
|
|
6080
5814
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6081
|
-
})), (input.FilterQuery
|
|
6082
|
-
input.IncludeAttachmentFilePatterns !== null && {
|
|
5815
|
+
})), (input.FilterQuery != null && { FilterQuery: input.FilterQuery })), (input.IncludeAttachmentFilePatterns != null && {
|
|
6083
5816
|
IncludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.IncludeAttachmentFilePatterns, context),
|
|
6084
5817
|
}));
|
|
6085
5818
|
};
|
|
6086
5819
|
var serializeAws_json1_1ServiceNowServiceCatalogConfiguration = function (input, context) {
|
|
6087
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments
|
|
6088
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.DocumentDataFieldName !== undefined &&
|
|
6089
|
-
input.DocumentDataFieldName !== null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName !== undefined &&
|
|
6090
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExcludeAttachmentFilePatterns !== undefined &&
|
|
6091
|
-
input.ExcludeAttachmentFilePatterns !== null && {
|
|
5820
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DocumentDataFieldName != null && { DocumentDataFieldName: input.DocumentDataFieldName })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExcludeAttachmentFilePatterns != null && {
|
|
6092
5821
|
ExcludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExcludeAttachmentFilePatterns, context),
|
|
6093
|
-
})), (input.FieldMappings
|
|
6094
|
-
input.FieldMappings !== null && {
|
|
5822
|
+
})), (input.FieldMappings != null && {
|
|
6095
5823
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6096
|
-
})), (input.IncludeAttachmentFilePatterns
|
|
6097
|
-
input.IncludeAttachmentFilePatterns !== null && {
|
|
5824
|
+
})), (input.IncludeAttachmentFilePatterns != null && {
|
|
6098
5825
|
IncludeAttachmentFilePatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.IncludeAttachmentFilePatterns, context),
|
|
6099
5826
|
}));
|
|
6100
5827
|
};
|
|
6101
5828
|
var serializeAws_json1_1SharePointConfiguration = function (input, context) {
|
|
6102
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments
|
|
6103
|
-
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.DisableLocalGroups !== undefined &&
|
|
6104
|
-
input.DisableLocalGroups !== null && { DisableLocalGroups: input.DisableLocalGroups })), (input.DocumentTitleFieldName !== undefined &&
|
|
6105
|
-
input.DocumentTitleFieldName !== null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExclusionPatterns !== undefined &&
|
|
6106
|
-
input.ExclusionPatterns !== null && {
|
|
5829
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExclusionPatterns != null && {
|
|
6107
5830
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
6108
|
-
})), (input.FieldMappings
|
|
6109
|
-
input.FieldMappings !== null && {
|
|
5831
|
+
})), (input.FieldMappings != null && {
|
|
6110
5832
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6111
|
-
})), (input.InclusionPatterns
|
|
6112
|
-
input.InclusionPatterns !== null && {
|
|
5833
|
+
})), (input.InclusionPatterns != null && {
|
|
6113
5834
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
6114
|
-
})), (input.SecretArn
|
|
6115
|
-
input.SharePointVersion !== null && { SharePointVersion: input.SharePointVersion })), (input.SslCertificateS3Path !== undefined &&
|
|
6116
|
-
input.SslCertificateS3Path !== null && {
|
|
5835
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.SharePointVersion != null && { SharePointVersion: input.SharePointVersion })), (input.SslCertificateS3Path != null && {
|
|
6117
5836
|
SslCertificateS3Path: serializeAws_json1_1S3Path(input.SslCertificateS3Path, context),
|
|
6118
|
-
})), (input.Urls
|
|
6119
|
-
input.Urls !== null && { Urls: serializeAws_json1_1SharePointUrlList(input.Urls, context) })), (input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration !== undefined &&
|
|
6120
|
-
input.VpcConfiguration !== null && {
|
|
5837
|
+
})), (input.Urls != null && { Urls: serializeAws_json1_1SharePointUrlList(input.Urls, context) })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
6121
5838
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
6122
5839
|
}));
|
|
6123
5840
|
};
|
|
@@ -6132,8 +5849,7 @@ var serializeAws_json1_1SharePointUrlList = function (input, context) {
|
|
|
6132
5849
|
});
|
|
6133
5850
|
};
|
|
6134
5851
|
var serializeAws_json1_1SiteMapsConfiguration = function (input, context) {
|
|
6135
|
-
return __assign({}, (input.SiteMaps
|
|
6136
|
-
input.SiteMaps !== null && { SiteMaps: serializeAws_json1_1SiteMapsList(input.SiteMaps, context) }));
|
|
5852
|
+
return __assign({}, (input.SiteMaps != null && { SiteMaps: serializeAws_json1_1SiteMapsList(input.SiteMaps, context) }));
|
|
6137
5853
|
};
|
|
6138
5854
|
var serializeAws_json1_1SiteMapsList = function (input, context) {
|
|
6139
5855
|
return input
|
|
@@ -6146,30 +5862,19 @@ var serializeAws_json1_1SiteMapsList = function (input, context) {
|
|
|
6146
5862
|
});
|
|
6147
5863
|
};
|
|
6148
5864
|
var serializeAws_json1_1SlackConfiguration = function (input, context) {
|
|
6149
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlBotMessage
|
|
6150
|
-
input.CrawlBotMessage !== null && { CrawlBotMessage: input.CrawlBotMessage })), (input.ExcludeArchived !== undefined &&
|
|
6151
|
-
input.ExcludeArchived !== null && { ExcludeArchived: input.ExcludeArchived })), (input.ExclusionPatterns !== undefined &&
|
|
6152
|
-
input.ExclusionPatterns !== null && {
|
|
5865
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlBotMessage != null && { CrawlBotMessage: input.CrawlBotMessage })), (input.ExcludeArchived != null && { ExcludeArchived: input.ExcludeArchived })), (input.ExclusionPatterns != null && {
|
|
6153
5866
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
6154
|
-
})), (input.FieldMappings
|
|
6155
|
-
input.FieldMappings !== null && {
|
|
5867
|
+
})), (input.FieldMappings != null && {
|
|
6156
5868
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6157
|
-
})), (input.InclusionPatterns
|
|
6158
|
-
input.InclusionPatterns !== null && {
|
|
5869
|
+
})), (input.InclusionPatterns != null && {
|
|
6159
5870
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
6160
|
-
})), (input.LookBackPeriod
|
|
6161
|
-
input.LookBackPeriod !== null && { LookBackPeriod: input.LookBackPeriod })), (input.PrivateChannelFilter !== undefined &&
|
|
6162
|
-
input.PrivateChannelFilter !== null && {
|
|
5871
|
+
})), (input.LookBackPeriod != null && { LookBackPeriod: input.LookBackPeriod })), (input.PrivateChannelFilter != null && {
|
|
6163
5872
|
PrivateChannelFilter: serializeAws_json1_1PrivateChannelFilter(input.PrivateChannelFilter, context),
|
|
6164
|
-
})), (input.PublicChannelFilter
|
|
6165
|
-
input.PublicChannelFilter !== null && {
|
|
5873
|
+
})), (input.PublicChannelFilter != null && {
|
|
6166
5874
|
PublicChannelFilter: serializeAws_json1_1PublicChannelFilter(input.PublicChannelFilter, context),
|
|
6167
|
-
})), (input.SecretArn
|
|
6168
|
-
input.SinceCrawlDate !== null && { SinceCrawlDate: input.SinceCrawlDate })), (input.SlackEntityList !== undefined &&
|
|
6169
|
-
input.SlackEntityList !== null && {
|
|
5875
|
+
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.SinceCrawlDate != null && { SinceCrawlDate: input.SinceCrawlDate })), (input.SlackEntityList != null && {
|
|
6170
5876
|
SlackEntityList: serializeAws_json1_1SlackEntityList(input.SlackEntityList, context),
|
|
6171
|
-
})), (input.TeamId
|
|
6172
|
-
input.VpcConfiguration !== null && {
|
|
5877
|
+
})), (input.TeamId != null && { TeamId: input.TeamId })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
6173
5878
|
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
6174
5879
|
}));
|
|
6175
5880
|
};
|
|
@@ -6184,26 +5889,23 @@ var serializeAws_json1_1SlackEntityList = function (input, context) {
|
|
|
6184
5889
|
});
|
|
6185
5890
|
};
|
|
6186
5891
|
var serializeAws_json1_1SortingConfiguration = function (input, context) {
|
|
6187
|
-
return __assign(__assign({}, (input.DocumentAttributeKey
|
|
6188
|
-
input.DocumentAttributeKey !== null && { DocumentAttributeKey: input.DocumentAttributeKey })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
5892
|
+
return __assign(__assign({}, (input.DocumentAttributeKey != null && { DocumentAttributeKey: input.DocumentAttributeKey })), (input.SortOrder != null && { SortOrder: input.SortOrder }));
|
|
6189
5893
|
};
|
|
6190
5894
|
var serializeAws_json1_1SpellCorrectionConfiguration = function (input, context) {
|
|
6191
|
-
return __assign({}, (input.IncludeQuerySpellCheckSuggestions
|
|
6192
|
-
input.IncludeQuerySpellCheckSuggestions !== null && {
|
|
5895
|
+
return __assign({}, (input.IncludeQuerySpellCheckSuggestions != null && {
|
|
6193
5896
|
IncludeQuerySpellCheckSuggestions: input.IncludeQuerySpellCheckSuggestions,
|
|
6194
5897
|
}));
|
|
6195
5898
|
};
|
|
6196
5899
|
var serializeAws_json1_1SqlConfiguration = function (input, context) {
|
|
6197
|
-
return __assign({}, (input.QueryIdentifiersEnclosingOption
|
|
6198
|
-
input.QueryIdentifiersEnclosingOption !== null && {
|
|
5900
|
+
return __assign({}, (input.QueryIdentifiersEnclosingOption != null && {
|
|
6199
5901
|
QueryIdentifiersEnclosingOption: input.QueryIdentifiersEnclosingOption,
|
|
6200
5902
|
}));
|
|
6201
5903
|
};
|
|
6202
5904
|
var serializeAws_json1_1StartDataSourceSyncJobRequest = function (input, context) {
|
|
6203
|
-
return __assign(__assign({}, (input.Id
|
|
5905
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
6204
5906
|
};
|
|
6205
5907
|
var serializeAws_json1_1StopDataSourceSyncJobRequest = function (input, context) {
|
|
6206
|
-
return __assign(__assign({}, (input.Id
|
|
5908
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId }));
|
|
6207
5909
|
};
|
|
6208
5910
|
var serializeAws_json1_1StringList = function (input, context) {
|
|
6209
5911
|
return input
|
|
@@ -6216,11 +5918,9 @@ var serializeAws_json1_1StringList = function (input, context) {
|
|
|
6216
5918
|
});
|
|
6217
5919
|
};
|
|
6218
5920
|
var serializeAws_json1_1SubmitFeedbackRequest = function (input, context) {
|
|
6219
|
-
return __assign(__assign(__assign(__assign({}, (input.ClickFeedbackItems
|
|
6220
|
-
input.ClickFeedbackItems !== null && {
|
|
5921
|
+
return __assign(__assign(__assign(__assign({}, (input.ClickFeedbackItems != null && {
|
|
6221
5922
|
ClickFeedbackItems: serializeAws_json1_1ClickFeedbackList(input.ClickFeedbackItems, context),
|
|
6222
|
-
})), (input.IndexId
|
|
6223
|
-
input.RelevanceFeedbackItems !== null && {
|
|
5923
|
+
})), (input.IndexId != null && { IndexId: input.IndexId })), (input.QueryId != null && { QueryId: input.QueryId })), (input.RelevanceFeedbackItems != null && {
|
|
6224
5924
|
RelevanceFeedbackItems: serializeAws_json1_1RelevanceFeedbackList(input.RelevanceFeedbackItems, context),
|
|
6225
5925
|
}));
|
|
6226
5926
|
};
|
|
@@ -6235,7 +5935,7 @@ var serializeAws_json1_1SubnetIdList = function (input, context) {
|
|
|
6235
5935
|
});
|
|
6236
5936
|
};
|
|
6237
5937
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
6238
|
-
return __assign(__assign({}, (input.Key
|
|
5938
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
6239
5939
|
};
|
|
6240
5940
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
6241
5941
|
return input
|
|
@@ -6258,99 +5958,74 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
6258
5958
|
});
|
|
6259
5959
|
};
|
|
6260
5960
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
6261
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
5961
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
6262
5962
|
};
|
|
6263
5963
|
var serializeAws_json1_1TimeRange = function (input, context) {
|
|
6264
|
-
return __assign(__assign({}, (input.EndTime
|
|
6265
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.StartTime !== undefined &&
|
|
6266
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
5964
|
+
return __assign(__assign({}, (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
6267
5965
|
};
|
|
6268
5966
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
6269
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
6270
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5967
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
6271
5968
|
};
|
|
6272
5969
|
var serializeAws_json1_1UpdateDataSourceRequest = function (input, context) {
|
|
6273
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration
|
|
6274
|
-
input.Configuration !== null && {
|
|
5970
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
|
|
6275
5971
|
Configuration: serializeAws_json1_1DataSourceConfiguration(input.Configuration, context),
|
|
6276
|
-
})), (input.CustomDocumentEnrichmentConfiguration
|
|
6277
|
-
input.CustomDocumentEnrichmentConfiguration !== null && {
|
|
5972
|
+
})), (input.CustomDocumentEnrichmentConfiguration != null && {
|
|
6278
5973
|
CustomDocumentEnrichmentConfiguration: serializeAws_json1_1CustomDocumentEnrichmentConfiguration(input.CustomDocumentEnrichmentConfiguration, context),
|
|
6279
|
-
})), (input.Description
|
|
5974
|
+
})), (input.Description != null && { Description: input.Description })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Schedule != null && { Schedule: input.Schedule }));
|
|
6280
5975
|
};
|
|
6281
5976
|
var serializeAws_json1_1UpdateExperienceRequest = function (input, context) {
|
|
6282
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration
|
|
6283
|
-
input.Configuration !== null && {
|
|
5977
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
|
|
6284
5978
|
Configuration: serializeAws_json1_1ExperienceConfiguration(input.Configuration, context),
|
|
6285
|
-
})), (input.Description
|
|
5979
|
+
})), (input.Description != null && { Description: input.Description })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
6286
5980
|
};
|
|
6287
5981
|
var serializeAws_json1_1UpdateIndexRequest = function (input, context) {
|
|
6288
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CapacityUnits
|
|
6289
|
-
input.CapacityUnits !== null && {
|
|
5982
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CapacityUnits != null && {
|
|
6290
5983
|
CapacityUnits: serializeAws_json1_1CapacityUnitsConfiguration(input.CapacityUnits, context),
|
|
6291
|
-
})), (input.Description
|
|
6292
|
-
input.DocumentMetadataConfigurationUpdates !== null && {
|
|
5984
|
+
})), (input.Description != null && { Description: input.Description })), (input.DocumentMetadataConfigurationUpdates != null && {
|
|
6293
5985
|
DocumentMetadataConfigurationUpdates: serializeAws_json1_1DocumentMetadataConfigurationList(input.DocumentMetadataConfigurationUpdates, context),
|
|
6294
|
-
})), (input.Id
|
|
6295
|
-
input.UserContextPolicy !== null && { UserContextPolicy: input.UserContextPolicy })), (input.UserGroupResolutionConfiguration !== undefined &&
|
|
6296
|
-
input.UserGroupResolutionConfiguration !== null && {
|
|
5986
|
+
})), (input.Id != null && { Id: input.Id })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.UserContextPolicy != null && { UserContextPolicy: input.UserContextPolicy })), (input.UserGroupResolutionConfiguration != null && {
|
|
6297
5987
|
UserGroupResolutionConfiguration: serializeAws_json1_1UserGroupResolutionConfiguration(input.UserGroupResolutionConfiguration, context),
|
|
6298
|
-
})), (input.UserTokenConfigurations
|
|
6299
|
-
input.UserTokenConfigurations !== null && {
|
|
5988
|
+
})), (input.UserTokenConfigurations != null && {
|
|
6300
5989
|
UserTokenConfigurations: serializeAws_json1_1UserTokenConfigurationList(input.UserTokenConfigurations, context),
|
|
6301
5990
|
}));
|
|
6302
5991
|
};
|
|
6303
5992
|
var serializeAws_json1_1UpdateQuerySuggestionsBlockListRequest = function (input, context) {
|
|
6304
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
6305
|
-
input.SourceS3Path !== null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) }));
|
|
5993
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.SourceS3Path != null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) }));
|
|
6306
5994
|
};
|
|
6307
5995
|
var serializeAws_json1_1UpdateQuerySuggestionsConfigRequest = function (input, context) {
|
|
6308
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IncludeQueriesWithoutUserInformation
|
|
6309
|
-
input.IncludeQueriesWithoutUserInformation !== null && {
|
|
5996
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.IncludeQueriesWithoutUserInformation != null && {
|
|
6310
5997
|
IncludeQueriesWithoutUserInformation: input.IncludeQueriesWithoutUserInformation,
|
|
6311
|
-
})), (input.IndexId
|
|
6312
|
-
input.MinimumNumberOfQueryingUsers !== null && {
|
|
5998
|
+
})), (input.IndexId != null && { IndexId: input.IndexId })), (input.MinimumNumberOfQueryingUsers != null && {
|
|
6313
5999
|
MinimumNumberOfQueryingUsers: input.MinimumNumberOfQueryingUsers,
|
|
6314
|
-
})), (input.MinimumQueryCount
|
|
6315
|
-
input.MinimumQueryCount !== null && { MinimumQueryCount: input.MinimumQueryCount })), (input.Mode !== undefined && input.Mode !== null && { Mode: input.Mode })), (input.QueryLogLookBackWindowInDays !== undefined &&
|
|
6316
|
-
input.QueryLogLookBackWindowInDays !== null && {
|
|
6000
|
+
})), (input.MinimumQueryCount != null && { MinimumQueryCount: input.MinimumQueryCount })), (input.Mode != null && { Mode: input.Mode })), (input.QueryLogLookBackWindowInDays != null && {
|
|
6317
6001
|
QueryLogLookBackWindowInDays: input.QueryLogLookBackWindowInDays,
|
|
6318
6002
|
}));
|
|
6319
6003
|
};
|
|
6320
6004
|
var serializeAws_json1_1UpdateThesaurusRequest = function (input, context) {
|
|
6321
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
6322
|
-
input.SourceS3Path !== null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) }));
|
|
6005
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.SourceS3Path != null && { SourceS3Path: serializeAws_json1_1S3Path(input.SourceS3Path, context) }));
|
|
6323
6006
|
};
|
|
6324
6007
|
var serializeAws_json1_1Urls = function (input, context) {
|
|
6325
|
-
return __assign(__assign({}, (input.SeedUrlConfiguration
|
|
6326
|
-
input.SeedUrlConfiguration !== null && {
|
|
6008
|
+
return __assign(__assign({}, (input.SeedUrlConfiguration != null && {
|
|
6327
6009
|
SeedUrlConfiguration: serializeAws_json1_1SeedUrlConfiguration(input.SeedUrlConfiguration, context),
|
|
6328
|
-
})), (input.SiteMapsConfiguration
|
|
6329
|
-
input.SiteMapsConfiguration !== null && {
|
|
6010
|
+
})), (input.SiteMapsConfiguration != null && {
|
|
6330
6011
|
SiteMapsConfiguration: serializeAws_json1_1SiteMapsConfiguration(input.SiteMapsConfiguration, context),
|
|
6331
6012
|
}));
|
|
6332
6013
|
};
|
|
6333
6014
|
var serializeAws_json1_1UserContext = function (input, context) {
|
|
6334
|
-
return __assign(__assign(__assign(__assign({}, (input.DataSourceGroups
|
|
6335
|
-
input.DataSourceGroups !== null && {
|
|
6015
|
+
return __assign(__assign(__assign(__assign({}, (input.DataSourceGroups != null && {
|
|
6336
6016
|
DataSourceGroups: serializeAws_json1_1DataSourceGroups(input.DataSourceGroups, context),
|
|
6337
|
-
})), (input.Groups
|
|
6338
|
-
input.Groups !== null && { Groups: serializeAws_json1_1Groups(input.Groups, context) })), (input.Token !== undefined && input.Token !== null && { Token: input.Token })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
6017
|
+
})), (input.Groups != null && { Groups: serializeAws_json1_1Groups(input.Groups, context) })), (input.Token != null && { Token: input.Token })), (input.UserId != null && { UserId: input.UserId }));
|
|
6339
6018
|
};
|
|
6340
6019
|
var serializeAws_json1_1UserGroupResolutionConfiguration = function (input, context) {
|
|
6341
|
-
return __assign({}, (input.UserGroupResolutionMode
|
|
6342
|
-
input.UserGroupResolutionMode !== null && { UserGroupResolutionMode: input.UserGroupResolutionMode }));
|
|
6020
|
+
return __assign({}, (input.UserGroupResolutionMode != null && { UserGroupResolutionMode: input.UserGroupResolutionMode }));
|
|
6343
6021
|
};
|
|
6344
6022
|
var serializeAws_json1_1UserIdentityConfiguration = function (input, context) {
|
|
6345
|
-
return __assign({}, (input.IdentityAttributeName
|
|
6346
|
-
input.IdentityAttributeName !== null && { IdentityAttributeName: input.IdentityAttributeName }));
|
|
6023
|
+
return __assign({}, (input.IdentityAttributeName != null && { IdentityAttributeName: input.IdentityAttributeName }));
|
|
6347
6024
|
};
|
|
6348
6025
|
var serializeAws_json1_1UserTokenConfiguration = function (input, context) {
|
|
6349
|
-
return __assign(__assign({}, (input.JsonTokenTypeConfiguration
|
|
6350
|
-
input.JsonTokenTypeConfiguration !== null && {
|
|
6026
|
+
return __assign(__assign({}, (input.JsonTokenTypeConfiguration != null && {
|
|
6351
6027
|
JsonTokenTypeConfiguration: serializeAws_json1_1JsonTokenTypeConfiguration(input.JsonTokenTypeConfiguration, context),
|
|
6352
|
-
})), (input.JwtTokenTypeConfiguration
|
|
6353
|
-
input.JwtTokenTypeConfiguration !== null && {
|
|
6028
|
+
})), (input.JwtTokenTypeConfiguration != null && {
|
|
6354
6029
|
JwtTokenTypeConfiguration: serializeAws_json1_1JwtTokenTypeConfiguration(input.JwtTokenTypeConfiguration, context),
|
|
6355
6030
|
}));
|
|
6356
6031
|
};
|
|
@@ -6375,37 +6050,26 @@ var serializeAws_json1_1ValueImportanceMap = function (input, context) {
|
|
|
6375
6050
|
}, {});
|
|
6376
6051
|
};
|
|
6377
6052
|
var serializeAws_json1_1WebCrawlerConfiguration = function (input, context) {
|
|
6378
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationConfiguration
|
|
6379
|
-
input.AuthenticationConfiguration !== null && {
|
|
6053
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationConfiguration != null && {
|
|
6380
6054
|
AuthenticationConfiguration: serializeAws_json1_1AuthenticationConfiguration(input.AuthenticationConfiguration, context),
|
|
6381
|
-
})), (input.CrawlDepth
|
|
6382
|
-
input.MaxContentSizePerPageInMegaBytes !== null && {
|
|
6055
|
+
})), (input.CrawlDepth != null && { CrawlDepth: input.CrawlDepth })), (input.MaxContentSizePerPageInMegaBytes != null && {
|
|
6383
6056
|
MaxContentSizePerPageInMegaBytes: __serializeFloat(input.MaxContentSizePerPageInMegaBytes),
|
|
6384
|
-
})), (input.MaxLinksPerPage
|
|
6385
|
-
input.MaxLinksPerPage !== null && { MaxLinksPerPage: input.MaxLinksPerPage })), (input.MaxUrlsPerMinuteCrawlRate !== undefined &&
|
|
6386
|
-
input.MaxUrlsPerMinuteCrawlRate !== null && { MaxUrlsPerMinuteCrawlRate: input.MaxUrlsPerMinuteCrawlRate })), (input.ProxyConfiguration !== undefined &&
|
|
6387
|
-
input.ProxyConfiguration !== null && {
|
|
6057
|
+
})), (input.MaxLinksPerPage != null && { MaxLinksPerPage: input.MaxLinksPerPage })), (input.MaxUrlsPerMinuteCrawlRate != null && { MaxUrlsPerMinuteCrawlRate: input.MaxUrlsPerMinuteCrawlRate })), (input.ProxyConfiguration != null && {
|
|
6388
6058
|
ProxyConfiguration: serializeAws_json1_1ProxyConfiguration(input.ProxyConfiguration, context),
|
|
6389
|
-
})), (input.UrlExclusionPatterns
|
|
6390
|
-
input.UrlExclusionPatterns !== null && {
|
|
6059
|
+
})), (input.UrlExclusionPatterns != null && {
|
|
6391
6060
|
UrlExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.UrlExclusionPatterns, context),
|
|
6392
|
-
})), (input.UrlInclusionPatterns
|
|
6393
|
-
input.UrlInclusionPatterns !== null && {
|
|
6061
|
+
})), (input.UrlInclusionPatterns != null && {
|
|
6394
6062
|
UrlInclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.UrlInclusionPatterns, context),
|
|
6395
|
-
})), (input.Urls
|
|
6063
|
+
})), (input.Urls != null && { Urls: serializeAws_json1_1Urls(input.Urls, context) }));
|
|
6396
6064
|
};
|
|
6397
6065
|
var serializeAws_json1_1WorkDocsConfiguration = function (input, context) {
|
|
6398
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlComments
|
|
6399
|
-
input.ExclusionPatterns !== null && {
|
|
6066
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlComments != null && { CrawlComments: input.CrawlComments })), (input.ExclusionPatterns != null && {
|
|
6400
6067
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
6401
|
-
})), (input.FieldMappings
|
|
6402
|
-
input.FieldMappings !== null && {
|
|
6068
|
+
})), (input.FieldMappings != null && {
|
|
6403
6069
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6404
|
-
})), (input.InclusionPatterns
|
|
6405
|
-
input.InclusionPatterns !== null && {
|
|
6070
|
+
})), (input.InclusionPatterns != null && {
|
|
6406
6071
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
6407
|
-
})), (input.OrganizationId
|
|
6408
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog }));
|
|
6072
|
+
})), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog }));
|
|
6409
6073
|
};
|
|
6410
6074
|
var deserializeAws_json1_1AccessControlListConfiguration = function (output, context) {
|
|
6411
6075
|
return {
|
|
@@ -6425,9 +6089,7 @@ var deserializeAws_json1_1AclConfiguration = function (output, context) {
|
|
|
6425
6089
|
var deserializeAws_json1_1AdditionalResultAttribute = function (output, context) {
|
|
6426
6090
|
return {
|
|
6427
6091
|
Key: __expectString(output.Key),
|
|
6428
|
-
Value: output.Value
|
|
6429
|
-
? deserializeAws_json1_1AdditionalResultAttributeValue(output.Value, context)
|
|
6430
|
-
: undefined,
|
|
6092
|
+
Value: output.Value != null ? deserializeAws_json1_1AdditionalResultAttributeValue(output.Value, context) : undefined,
|
|
6431
6093
|
ValueType: __expectString(output.ValueType),
|
|
6432
6094
|
};
|
|
6433
6095
|
};
|
|
@@ -6444,40 +6106,38 @@ var deserializeAws_json1_1AdditionalResultAttributeList = function (output, cont
|
|
|
6444
6106
|
};
|
|
6445
6107
|
var deserializeAws_json1_1AdditionalResultAttributeValue = function (output, context) {
|
|
6446
6108
|
return {
|
|
6447
|
-
TextWithHighlightsValue: output.TextWithHighlightsValue
|
|
6109
|
+
TextWithHighlightsValue: output.TextWithHighlightsValue != null
|
|
6448
6110
|
? deserializeAws_json1_1TextWithHighlights(output.TextWithHighlightsValue, context)
|
|
6449
6111
|
: undefined,
|
|
6450
6112
|
};
|
|
6451
6113
|
};
|
|
6452
6114
|
var deserializeAws_json1_1AlfrescoConfiguration = function (output, context) {
|
|
6453
6115
|
return {
|
|
6454
|
-
BlogFieldMappings: output.BlogFieldMappings
|
|
6116
|
+
BlogFieldMappings: output.BlogFieldMappings != null
|
|
6455
6117
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.BlogFieldMappings, context)
|
|
6456
6118
|
: undefined,
|
|
6457
6119
|
CrawlComments: __expectBoolean(output.CrawlComments),
|
|
6458
6120
|
CrawlSystemFolders: __expectBoolean(output.CrawlSystemFolders),
|
|
6459
|
-
DocumentLibraryFieldMappings: output.DocumentLibraryFieldMappings
|
|
6121
|
+
DocumentLibraryFieldMappings: output.DocumentLibraryFieldMappings != null
|
|
6460
6122
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.DocumentLibraryFieldMappings, context)
|
|
6461
6123
|
: undefined,
|
|
6462
|
-
EntityFilter: output.EntityFilter
|
|
6463
|
-
|
|
6464
|
-
: undefined,
|
|
6465
|
-
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
6124
|
+
EntityFilter: output.EntityFilter != null ? deserializeAws_json1_1EntityFilter(output.EntityFilter, context) : undefined,
|
|
6125
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
6466
6126
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
6467
6127
|
: undefined,
|
|
6468
|
-
InclusionPatterns: output.InclusionPatterns
|
|
6128
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
6469
6129
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6470
6130
|
: undefined,
|
|
6471
6131
|
SecretArn: __expectString(output.SecretArn),
|
|
6472
6132
|
SiteId: __expectString(output.SiteId),
|
|
6473
6133
|
SiteUrl: __expectString(output.SiteUrl),
|
|
6474
|
-
SslCertificateS3Path: output.SslCertificateS3Path
|
|
6134
|
+
SslCertificateS3Path: output.SslCertificateS3Path != null
|
|
6475
6135
|
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
6476
6136
|
: undefined,
|
|
6477
|
-
VpcConfiguration: output.VpcConfiguration
|
|
6137
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
6478
6138
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6479
6139
|
: undefined,
|
|
6480
|
-
WikiFieldMappings: output.WikiFieldMappings
|
|
6140
|
+
WikiFieldMappings: output.WikiFieldMappings != null
|
|
6481
6141
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.WikiFieldMappings, context)
|
|
6482
6142
|
: undefined,
|
|
6483
6143
|
};
|
|
@@ -6495,21 +6155,21 @@ var deserializeAws_json1_1AssociateEntitiesToExperienceFailedEntityList = functi
|
|
|
6495
6155
|
};
|
|
6496
6156
|
var deserializeAws_json1_1AssociateEntitiesToExperienceResponse = function (output, context) {
|
|
6497
6157
|
return {
|
|
6498
|
-
FailedEntityList: output.FailedEntityList
|
|
6158
|
+
FailedEntityList: output.FailedEntityList != null
|
|
6499
6159
|
? deserializeAws_json1_1AssociateEntitiesToExperienceFailedEntityList(output.FailedEntityList, context)
|
|
6500
6160
|
: undefined,
|
|
6501
6161
|
};
|
|
6502
6162
|
};
|
|
6503
6163
|
var deserializeAws_json1_1AssociatePersonasToEntitiesResponse = function (output, context) {
|
|
6504
6164
|
return {
|
|
6505
|
-
FailedEntityList: output.FailedEntityList
|
|
6165
|
+
FailedEntityList: output.FailedEntityList != null
|
|
6506
6166
|
? deserializeAws_json1_1FailedEntityList(output.FailedEntityList, context)
|
|
6507
6167
|
: undefined,
|
|
6508
6168
|
};
|
|
6509
6169
|
};
|
|
6510
6170
|
var deserializeAws_json1_1AuthenticationConfiguration = function (output, context) {
|
|
6511
6171
|
return {
|
|
6512
|
-
BasicAuthentication: output.BasicAuthentication
|
|
6172
|
+
BasicAuthentication: output.BasicAuthentication != null
|
|
6513
6173
|
? deserializeAws_json1_1BasicAuthenticationConfigurationList(output.BasicAuthentication, context)
|
|
6514
6174
|
: undefined,
|
|
6515
6175
|
};
|
|
@@ -6534,7 +6194,7 @@ var deserializeAws_json1_1BasicAuthenticationConfigurationList = function (outpu
|
|
|
6534
6194
|
};
|
|
6535
6195
|
var deserializeAws_json1_1BatchDeleteDocumentResponse = function (output, context) {
|
|
6536
6196
|
return {
|
|
6537
|
-
FailedDocuments: output.FailedDocuments
|
|
6197
|
+
FailedDocuments: output.FailedDocuments != null
|
|
6538
6198
|
? deserializeAws_json1_1BatchDeleteDocumentResponseFailedDocuments(output.FailedDocuments, context)
|
|
6539
6199
|
: undefined,
|
|
6540
6200
|
};
|
|
@@ -6559,10 +6219,10 @@ var deserializeAws_json1_1BatchDeleteDocumentResponseFailedDocuments = function
|
|
|
6559
6219
|
};
|
|
6560
6220
|
var deserializeAws_json1_1BatchGetDocumentStatusResponse = function (output, context) {
|
|
6561
6221
|
return {
|
|
6562
|
-
DocumentStatusList: output.DocumentStatusList
|
|
6222
|
+
DocumentStatusList: output.DocumentStatusList != null
|
|
6563
6223
|
? deserializeAws_json1_1DocumentStatusList(output.DocumentStatusList, context)
|
|
6564
6224
|
: undefined,
|
|
6565
|
-
Errors: output.Errors
|
|
6225
|
+
Errors: output.Errors != null
|
|
6566
6226
|
? deserializeAws_json1_1BatchGetDocumentStatusResponseErrors(output.Errors, context)
|
|
6567
6227
|
: undefined,
|
|
6568
6228
|
};
|
|
@@ -6587,7 +6247,7 @@ var deserializeAws_json1_1BatchGetDocumentStatusResponseErrors = function (outpu
|
|
|
6587
6247
|
};
|
|
6588
6248
|
var deserializeAws_json1_1BatchPutDocumentResponse = function (output, context) {
|
|
6589
6249
|
return {
|
|
6590
|
-
FailedDocuments: output.FailedDocuments
|
|
6250
|
+
FailedDocuments: output.FailedDocuments != null
|
|
6591
6251
|
? deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments(output.FailedDocuments, context)
|
|
6592
6252
|
: undefined,
|
|
6593
6253
|
};
|
|
@@ -6612,31 +6272,31 @@ var deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = function (ou
|
|
|
6612
6272
|
};
|
|
6613
6273
|
var deserializeAws_json1_1BoxConfiguration = function (output, context) {
|
|
6614
6274
|
return {
|
|
6615
|
-
CommentFieldMappings: output.CommentFieldMappings
|
|
6275
|
+
CommentFieldMappings: output.CommentFieldMappings != null
|
|
6616
6276
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.CommentFieldMappings, context)
|
|
6617
6277
|
: undefined,
|
|
6618
6278
|
CrawlComments: __expectBoolean(output.CrawlComments),
|
|
6619
6279
|
CrawlTasks: __expectBoolean(output.CrawlTasks),
|
|
6620
6280
|
CrawlWebLinks: __expectBoolean(output.CrawlWebLinks),
|
|
6621
6281
|
EnterpriseId: __expectString(output.EnterpriseId),
|
|
6622
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
6282
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
6623
6283
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
6624
6284
|
: undefined,
|
|
6625
|
-
FileFieldMappings: output.FileFieldMappings
|
|
6285
|
+
FileFieldMappings: output.FileFieldMappings != null
|
|
6626
6286
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FileFieldMappings, context)
|
|
6627
6287
|
: undefined,
|
|
6628
|
-
InclusionPatterns: output.InclusionPatterns
|
|
6288
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
6629
6289
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6630
6290
|
: undefined,
|
|
6631
6291
|
SecretArn: __expectString(output.SecretArn),
|
|
6632
|
-
TaskFieldMappings: output.TaskFieldMappings
|
|
6292
|
+
TaskFieldMappings: output.TaskFieldMappings != null
|
|
6633
6293
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.TaskFieldMappings, context)
|
|
6634
6294
|
: undefined,
|
|
6635
6295
|
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
6636
|
-
VpcConfiguration: output.VpcConfiguration
|
|
6296
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
6637
6297
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6638
6298
|
: undefined,
|
|
6639
|
-
WebLinkFieldMappings: output.WebLinkFieldMappings
|
|
6299
|
+
WebLinkFieldMappings: output.WebLinkFieldMappings != null
|
|
6640
6300
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.WebLinkFieldMappings, context)
|
|
6641
6301
|
: undefined,
|
|
6642
6302
|
};
|
|
@@ -6660,13 +6320,13 @@ var deserializeAws_json1_1ChangeDetectingColumns = function (output, context) {
|
|
|
6660
6320
|
};
|
|
6661
6321
|
var deserializeAws_json1_1ColumnConfiguration = function (output, context) {
|
|
6662
6322
|
return {
|
|
6663
|
-
ChangeDetectingColumns: output.ChangeDetectingColumns
|
|
6323
|
+
ChangeDetectingColumns: output.ChangeDetectingColumns != null
|
|
6664
6324
|
? deserializeAws_json1_1ChangeDetectingColumns(output.ChangeDetectingColumns, context)
|
|
6665
6325
|
: undefined,
|
|
6666
6326
|
DocumentDataColumnName: __expectString(output.DocumentDataColumnName),
|
|
6667
6327
|
DocumentIdColumnName: __expectString(output.DocumentIdColumnName),
|
|
6668
6328
|
DocumentTitleColumnName: __expectString(output.DocumentTitleColumnName),
|
|
6669
|
-
FieldMappings: output.FieldMappings
|
|
6329
|
+
FieldMappings: output.FieldMappings != null
|
|
6670
6330
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
6671
6331
|
: undefined,
|
|
6672
6332
|
};
|
|
@@ -6678,7 +6338,7 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
|
6678
6338
|
};
|
|
6679
6339
|
var deserializeAws_json1_1ConfluenceAttachmentConfiguration = function (output, context) {
|
|
6680
6340
|
return {
|
|
6681
|
-
AttachmentFieldMappings: output.AttachmentFieldMappings
|
|
6341
|
+
AttachmentFieldMappings: output.AttachmentFieldMappings != null
|
|
6682
6342
|
? deserializeAws_json1_1ConfluenceAttachmentFieldMappingsList(output.AttachmentFieldMappings, context)
|
|
6683
6343
|
: undefined,
|
|
6684
6344
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
@@ -6704,7 +6364,7 @@ var deserializeAws_json1_1ConfluenceAttachmentToIndexFieldMapping = function (ou
|
|
|
6704
6364
|
};
|
|
6705
6365
|
var deserializeAws_json1_1ConfluenceBlogConfiguration = function (output, context) {
|
|
6706
6366
|
return {
|
|
6707
|
-
BlogFieldMappings: output.BlogFieldMappings
|
|
6367
|
+
BlogFieldMappings: output.BlogFieldMappings != null
|
|
6708
6368
|
? deserializeAws_json1_1ConfluenceBlogFieldMappingsList(output.BlogFieldMappings, context)
|
|
6709
6369
|
: undefined,
|
|
6710
6370
|
};
|
|
@@ -6729,35 +6389,35 @@ var deserializeAws_json1_1ConfluenceBlogToIndexFieldMapping = function (output,
|
|
|
6729
6389
|
};
|
|
6730
6390
|
var deserializeAws_json1_1ConfluenceConfiguration = function (output, context) {
|
|
6731
6391
|
return {
|
|
6732
|
-
AttachmentConfiguration: output.AttachmentConfiguration
|
|
6392
|
+
AttachmentConfiguration: output.AttachmentConfiguration != null
|
|
6733
6393
|
? deserializeAws_json1_1ConfluenceAttachmentConfiguration(output.AttachmentConfiguration, context)
|
|
6734
6394
|
: undefined,
|
|
6735
|
-
BlogConfiguration: output.BlogConfiguration
|
|
6395
|
+
BlogConfiguration: output.BlogConfiguration != null
|
|
6736
6396
|
? deserializeAws_json1_1ConfluenceBlogConfiguration(output.BlogConfiguration, context)
|
|
6737
6397
|
: undefined,
|
|
6738
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
6398
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
6739
6399
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
6740
6400
|
: undefined,
|
|
6741
|
-
InclusionPatterns: output.InclusionPatterns
|
|
6401
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
6742
6402
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6743
6403
|
: undefined,
|
|
6744
|
-
PageConfiguration: output.PageConfiguration
|
|
6404
|
+
PageConfiguration: output.PageConfiguration != null
|
|
6745
6405
|
? deserializeAws_json1_1ConfluencePageConfiguration(output.PageConfiguration, context)
|
|
6746
6406
|
: undefined,
|
|
6747
6407
|
SecretArn: __expectString(output.SecretArn),
|
|
6748
6408
|
ServerUrl: __expectString(output.ServerUrl),
|
|
6749
|
-
SpaceConfiguration: output.SpaceConfiguration
|
|
6409
|
+
SpaceConfiguration: output.SpaceConfiguration != null
|
|
6750
6410
|
? deserializeAws_json1_1ConfluenceSpaceConfiguration(output.SpaceConfiguration, context)
|
|
6751
6411
|
: undefined,
|
|
6752
6412
|
Version: __expectString(output.Version),
|
|
6753
|
-
VpcConfiguration: output.VpcConfiguration
|
|
6413
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
6754
6414
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6755
6415
|
: undefined,
|
|
6756
6416
|
};
|
|
6757
6417
|
};
|
|
6758
6418
|
var deserializeAws_json1_1ConfluencePageConfiguration = function (output, context) {
|
|
6759
6419
|
return {
|
|
6760
|
-
PageFieldMappings: output.PageFieldMappings
|
|
6420
|
+
PageFieldMappings: output.PageFieldMappings != null
|
|
6761
6421
|
? deserializeAws_json1_1ConfluencePageFieldMappingsList(output.PageFieldMappings, context)
|
|
6762
6422
|
: undefined,
|
|
6763
6423
|
};
|
|
@@ -6784,13 +6444,13 @@ var deserializeAws_json1_1ConfluenceSpaceConfiguration = function (output, conte
|
|
|
6784
6444
|
return {
|
|
6785
6445
|
CrawlArchivedSpaces: __expectBoolean(output.CrawlArchivedSpaces),
|
|
6786
6446
|
CrawlPersonalSpaces: __expectBoolean(output.CrawlPersonalSpaces),
|
|
6787
|
-
ExcludeSpaces: output.ExcludeSpaces
|
|
6447
|
+
ExcludeSpaces: output.ExcludeSpaces != null
|
|
6788
6448
|
? deserializeAws_json1_1ConfluenceSpaceList(output.ExcludeSpaces, context)
|
|
6789
6449
|
: undefined,
|
|
6790
|
-
IncludeSpaces: output.IncludeSpaces
|
|
6450
|
+
IncludeSpaces: output.IncludeSpaces != null
|
|
6791
6451
|
? deserializeAws_json1_1ConfluenceSpaceList(output.IncludeSpaces, context)
|
|
6792
6452
|
: undefined,
|
|
6793
|
-
SpaceFieldMappings: output.SpaceFieldMappings
|
|
6453
|
+
SpaceFieldMappings: output.SpaceFieldMappings != null
|
|
6794
6454
|
? deserializeAws_json1_1ConfluenceSpaceFieldMappingsList(output.SpaceFieldMappings, context)
|
|
6795
6455
|
: undefined,
|
|
6796
6456
|
};
|
|
@@ -6835,13 +6495,9 @@ var deserializeAws_json1_1ConnectionConfiguration = function (output, context) {
|
|
|
6835
6495
|
};
|
|
6836
6496
|
var deserializeAws_json1_1ContentSourceConfiguration = function (output, context) {
|
|
6837
6497
|
return {
|
|
6838
|
-
DataSourceIds: output.DataSourceIds
|
|
6839
|
-
? deserializeAws_json1_1DataSourceIdList(output.DataSourceIds, context)
|
|
6840
|
-
: undefined,
|
|
6498
|
+
DataSourceIds: output.DataSourceIds != null ? deserializeAws_json1_1DataSourceIdList(output.DataSourceIds, context) : undefined,
|
|
6841
6499
|
DirectPutContent: __expectBoolean(output.DirectPutContent),
|
|
6842
|
-
FaqIds: output.FaqIds
|
|
6843
|
-
? deserializeAws_json1_1FaqIdsList(output.FaqIds, context)
|
|
6844
|
-
: undefined,
|
|
6500
|
+
FaqIds: output.FaqIds != null ? deserializeAws_json1_1FaqIdsList(output.FaqIds, context) : undefined,
|
|
6845
6501
|
};
|
|
6846
6502
|
};
|
|
6847
6503
|
var deserializeAws_json1_1Correction = function (output, context) {
|
|
@@ -6895,13 +6551,13 @@ var deserializeAws_json1_1CreateThesaurusResponse = function (output, context) {
|
|
|
6895
6551
|
};
|
|
6896
6552
|
var deserializeAws_json1_1CustomDocumentEnrichmentConfiguration = function (output, context) {
|
|
6897
6553
|
return {
|
|
6898
|
-
InlineConfigurations: output.InlineConfigurations
|
|
6554
|
+
InlineConfigurations: output.InlineConfigurations != null
|
|
6899
6555
|
? deserializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList(output.InlineConfigurations, context)
|
|
6900
6556
|
: undefined,
|
|
6901
|
-
PostExtractionHookConfiguration: output.PostExtractionHookConfiguration
|
|
6557
|
+
PostExtractionHookConfiguration: output.PostExtractionHookConfiguration != null
|
|
6902
6558
|
? deserializeAws_json1_1HookConfiguration(output.PostExtractionHookConfiguration, context)
|
|
6903
6559
|
: undefined,
|
|
6904
|
-
PreExtractionHookConfiguration: output.PreExtractionHookConfiguration
|
|
6560
|
+
PreExtractionHookConfiguration: output.PreExtractionHookConfiguration != null
|
|
6905
6561
|
? deserializeAws_json1_1HookConfiguration(output.PreExtractionHookConfiguration, context)
|
|
6906
6562
|
: undefined,
|
|
6907
6563
|
RoleArn: __expectString(output.RoleArn),
|
|
@@ -6909,75 +6565,75 @@ var deserializeAws_json1_1CustomDocumentEnrichmentConfiguration = function (outp
|
|
|
6909
6565
|
};
|
|
6910
6566
|
var deserializeAws_json1_1DatabaseConfiguration = function (output, context) {
|
|
6911
6567
|
return {
|
|
6912
|
-
AclConfiguration: output.AclConfiguration
|
|
6568
|
+
AclConfiguration: output.AclConfiguration != null
|
|
6913
6569
|
? deserializeAws_json1_1AclConfiguration(output.AclConfiguration, context)
|
|
6914
6570
|
: undefined,
|
|
6915
|
-
ColumnConfiguration: output.ColumnConfiguration
|
|
6571
|
+
ColumnConfiguration: output.ColumnConfiguration != null
|
|
6916
6572
|
? deserializeAws_json1_1ColumnConfiguration(output.ColumnConfiguration, context)
|
|
6917
6573
|
: undefined,
|
|
6918
|
-
ConnectionConfiguration: output.ConnectionConfiguration
|
|
6574
|
+
ConnectionConfiguration: output.ConnectionConfiguration != null
|
|
6919
6575
|
? deserializeAws_json1_1ConnectionConfiguration(output.ConnectionConfiguration, context)
|
|
6920
6576
|
: undefined,
|
|
6921
6577
|
DatabaseEngineType: __expectString(output.DatabaseEngineType),
|
|
6922
|
-
SqlConfiguration: output.SqlConfiguration
|
|
6578
|
+
SqlConfiguration: output.SqlConfiguration != null
|
|
6923
6579
|
? deserializeAws_json1_1SqlConfiguration(output.SqlConfiguration, context)
|
|
6924
6580
|
: undefined,
|
|
6925
|
-
VpcConfiguration: output.VpcConfiguration
|
|
6581
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
6926
6582
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6927
6583
|
: undefined,
|
|
6928
6584
|
};
|
|
6929
6585
|
};
|
|
6930
6586
|
var deserializeAws_json1_1DataSourceConfiguration = function (output, context) {
|
|
6931
6587
|
return {
|
|
6932
|
-
AlfrescoConfiguration: output.AlfrescoConfiguration
|
|
6588
|
+
AlfrescoConfiguration: output.AlfrescoConfiguration != null
|
|
6933
6589
|
? deserializeAws_json1_1AlfrescoConfiguration(output.AlfrescoConfiguration, context)
|
|
6934
6590
|
: undefined,
|
|
6935
|
-
BoxConfiguration: output.BoxConfiguration
|
|
6591
|
+
BoxConfiguration: output.BoxConfiguration != null
|
|
6936
6592
|
? deserializeAws_json1_1BoxConfiguration(output.BoxConfiguration, context)
|
|
6937
6593
|
: undefined,
|
|
6938
|
-
ConfluenceConfiguration: output.ConfluenceConfiguration
|
|
6594
|
+
ConfluenceConfiguration: output.ConfluenceConfiguration != null
|
|
6939
6595
|
? deserializeAws_json1_1ConfluenceConfiguration(output.ConfluenceConfiguration, context)
|
|
6940
6596
|
: undefined,
|
|
6941
|
-
DatabaseConfiguration: output.DatabaseConfiguration
|
|
6597
|
+
DatabaseConfiguration: output.DatabaseConfiguration != null
|
|
6942
6598
|
? deserializeAws_json1_1DatabaseConfiguration(output.DatabaseConfiguration, context)
|
|
6943
6599
|
: undefined,
|
|
6944
|
-
FsxConfiguration: output.FsxConfiguration
|
|
6600
|
+
FsxConfiguration: output.FsxConfiguration != null
|
|
6945
6601
|
? deserializeAws_json1_1FsxConfiguration(output.FsxConfiguration, context)
|
|
6946
6602
|
: undefined,
|
|
6947
|
-
GitHubConfiguration: output.GitHubConfiguration
|
|
6603
|
+
GitHubConfiguration: output.GitHubConfiguration != null
|
|
6948
6604
|
? deserializeAws_json1_1GitHubConfiguration(output.GitHubConfiguration, context)
|
|
6949
6605
|
: undefined,
|
|
6950
|
-
GoogleDriveConfiguration: output.GoogleDriveConfiguration
|
|
6606
|
+
GoogleDriveConfiguration: output.GoogleDriveConfiguration != null
|
|
6951
6607
|
? deserializeAws_json1_1GoogleDriveConfiguration(output.GoogleDriveConfiguration, context)
|
|
6952
6608
|
: undefined,
|
|
6953
|
-
JiraConfiguration: output.JiraConfiguration
|
|
6609
|
+
JiraConfiguration: output.JiraConfiguration != null
|
|
6954
6610
|
? deserializeAws_json1_1JiraConfiguration(output.JiraConfiguration, context)
|
|
6955
6611
|
: undefined,
|
|
6956
|
-
OneDriveConfiguration: output.OneDriveConfiguration
|
|
6612
|
+
OneDriveConfiguration: output.OneDriveConfiguration != null
|
|
6957
6613
|
? deserializeAws_json1_1OneDriveConfiguration(output.OneDriveConfiguration, context)
|
|
6958
6614
|
: undefined,
|
|
6959
|
-
QuipConfiguration: output.QuipConfiguration
|
|
6615
|
+
QuipConfiguration: output.QuipConfiguration != null
|
|
6960
6616
|
? deserializeAws_json1_1QuipConfiguration(output.QuipConfiguration, context)
|
|
6961
6617
|
: undefined,
|
|
6962
|
-
S3Configuration: output.S3Configuration
|
|
6618
|
+
S3Configuration: output.S3Configuration != null
|
|
6963
6619
|
? deserializeAws_json1_1S3DataSourceConfiguration(output.S3Configuration, context)
|
|
6964
6620
|
: undefined,
|
|
6965
|
-
SalesforceConfiguration: output.SalesforceConfiguration
|
|
6621
|
+
SalesforceConfiguration: output.SalesforceConfiguration != null
|
|
6966
6622
|
? deserializeAws_json1_1SalesforceConfiguration(output.SalesforceConfiguration, context)
|
|
6967
6623
|
: undefined,
|
|
6968
|
-
ServiceNowConfiguration: output.ServiceNowConfiguration
|
|
6624
|
+
ServiceNowConfiguration: output.ServiceNowConfiguration != null
|
|
6969
6625
|
? deserializeAws_json1_1ServiceNowConfiguration(output.ServiceNowConfiguration, context)
|
|
6970
6626
|
: undefined,
|
|
6971
|
-
SharePointConfiguration: output.SharePointConfiguration
|
|
6627
|
+
SharePointConfiguration: output.SharePointConfiguration != null
|
|
6972
6628
|
? deserializeAws_json1_1SharePointConfiguration(output.SharePointConfiguration, context)
|
|
6973
6629
|
: undefined,
|
|
6974
|
-
SlackConfiguration: output.SlackConfiguration
|
|
6630
|
+
SlackConfiguration: output.SlackConfiguration != null
|
|
6975
6631
|
? deserializeAws_json1_1SlackConfiguration(output.SlackConfiguration, context)
|
|
6976
6632
|
: undefined,
|
|
6977
|
-
WebCrawlerConfiguration: output.WebCrawlerConfiguration
|
|
6633
|
+
WebCrawlerConfiguration: output.WebCrawlerConfiguration != null
|
|
6978
6634
|
? deserializeAws_json1_1WebCrawlerConfiguration(output.WebCrawlerConfiguration, context)
|
|
6979
6635
|
: undefined,
|
|
6980
|
-
WorkDocsConfiguration: output.WorkDocsConfiguration
|
|
6636
|
+
WorkDocsConfiguration: output.WorkDocsConfiguration != null
|
|
6981
6637
|
? deserializeAws_json1_1WorkDocsConfiguration(output.WorkDocsConfiguration, context)
|
|
6982
6638
|
: undefined,
|
|
6983
6639
|
};
|
|
@@ -7006,17 +6662,13 @@ var deserializeAws_json1_1DataSourceInclusionsExclusionsStrings = function (outp
|
|
|
7006
6662
|
};
|
|
7007
6663
|
var deserializeAws_json1_1DataSourceSummary = function (output, context) {
|
|
7008
6664
|
return {
|
|
7009
|
-
CreatedAt: output.CreatedAt
|
|
7010
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7011
|
-
: undefined,
|
|
6665
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7012
6666
|
Id: __expectString(output.Id),
|
|
7013
6667
|
LanguageCode: __expectString(output.LanguageCode),
|
|
7014
6668
|
Name: __expectString(output.Name),
|
|
7015
6669
|
Status: __expectString(output.Status),
|
|
7016
6670
|
Type: __expectString(output.Type),
|
|
7017
|
-
UpdatedAt: output.UpdatedAt
|
|
7018
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7019
|
-
: undefined,
|
|
6671
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7020
6672
|
};
|
|
7021
6673
|
};
|
|
7022
6674
|
var deserializeAws_json1_1DataSourceSummaryList = function (output, context) {
|
|
@@ -7033,18 +6685,12 @@ var deserializeAws_json1_1DataSourceSummaryList = function (output, context) {
|
|
|
7033
6685
|
var deserializeAws_json1_1DataSourceSyncJob = function (output, context) {
|
|
7034
6686
|
return {
|
|
7035
6687
|
DataSourceErrorCode: __expectString(output.DataSourceErrorCode),
|
|
7036
|
-
EndTime: output.EndTime
|
|
7037
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
7038
|
-
: undefined,
|
|
6688
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
7039
6689
|
ErrorCode: __expectString(output.ErrorCode),
|
|
7040
6690
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7041
6691
|
ExecutionId: __expectString(output.ExecutionId),
|
|
7042
|
-
Metrics: output.Metrics
|
|
7043
|
-
|
|
7044
|
-
: undefined,
|
|
7045
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
7046
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
7047
|
-
: undefined,
|
|
6692
|
+
Metrics: output.Metrics != null ? deserializeAws_json1_1DataSourceSyncJobMetrics(output.Metrics, context) : undefined,
|
|
6693
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
7048
6694
|
Status: __expectString(output.Status),
|
|
7049
6695
|
};
|
|
7050
6696
|
};
|
|
@@ -7088,12 +6734,10 @@ var deserializeAws_json1_1DataSourceToIndexFieldMappingList = function (output,
|
|
|
7088
6734
|
};
|
|
7089
6735
|
var deserializeAws_json1_1DataSourceVpcConfiguration = function (output, context) {
|
|
7090
6736
|
return {
|
|
7091
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
6737
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
7092
6738
|
? deserializeAws_json1_1SecurityGroupIdList(output.SecurityGroupIds, context)
|
|
7093
6739
|
: undefined,
|
|
7094
|
-
SubnetIds: output.SubnetIds
|
|
7095
|
-
? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context)
|
|
7096
|
-
: undefined,
|
|
6740
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context) : undefined,
|
|
7097
6741
|
};
|
|
7098
6742
|
};
|
|
7099
6743
|
var deserializeAws_json1_1DeleteExperienceResponse = function (output, context) {
|
|
@@ -7101,14 +6745,11 @@ var deserializeAws_json1_1DeleteExperienceResponse = function (output, context)
|
|
|
7101
6745
|
};
|
|
7102
6746
|
var deserializeAws_json1_1DescribeDataSourceResponse = function (output, context) {
|
|
7103
6747
|
return {
|
|
7104
|
-
Configuration: output.Configuration
|
|
6748
|
+
Configuration: output.Configuration != null
|
|
7105
6749
|
? deserializeAws_json1_1DataSourceConfiguration(output.Configuration, context)
|
|
7106
6750
|
: undefined,
|
|
7107
|
-
CreatedAt: output.CreatedAt
|
|
7108
|
-
|
|
7109
|
-
: undefined,
|
|
7110
|
-
CustomDocumentEnrichmentConfiguration: output.CustomDocumentEnrichmentConfiguration !== undefined &&
|
|
7111
|
-
output.CustomDocumentEnrichmentConfiguration !== null
|
|
6751
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
6752
|
+
CustomDocumentEnrichmentConfiguration: output.CustomDocumentEnrichmentConfiguration != null
|
|
7112
6753
|
? deserializeAws_json1_1CustomDocumentEnrichmentConfiguration(output.CustomDocumentEnrichmentConfiguration, context)
|
|
7113
6754
|
: undefined,
|
|
7114
6755
|
Description: __expectString(output.Description),
|
|
@@ -7121,39 +6762,29 @@ var deserializeAws_json1_1DescribeDataSourceResponse = function (output, context
|
|
|
7121
6762
|
Schedule: __expectString(output.Schedule),
|
|
7122
6763
|
Status: __expectString(output.Status),
|
|
7123
6764
|
Type: __expectString(output.Type),
|
|
7124
|
-
UpdatedAt: output.UpdatedAt
|
|
7125
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7126
|
-
: undefined,
|
|
6765
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7127
6766
|
};
|
|
7128
6767
|
};
|
|
7129
6768
|
var deserializeAws_json1_1DescribeExperienceResponse = function (output, context) {
|
|
7130
6769
|
return {
|
|
7131
|
-
Configuration: output.Configuration
|
|
6770
|
+
Configuration: output.Configuration != null
|
|
7132
6771
|
? deserializeAws_json1_1ExperienceConfiguration(output.Configuration, context)
|
|
7133
6772
|
: undefined,
|
|
7134
|
-
CreatedAt: output.CreatedAt
|
|
7135
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7136
|
-
: undefined,
|
|
6773
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7137
6774
|
Description: __expectString(output.Description),
|
|
7138
|
-
Endpoints: output.Endpoints
|
|
7139
|
-
? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context)
|
|
7140
|
-
: undefined,
|
|
6775
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context) : undefined,
|
|
7141
6776
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7142
6777
|
Id: __expectString(output.Id),
|
|
7143
6778
|
IndexId: __expectString(output.IndexId),
|
|
7144
6779
|
Name: __expectString(output.Name),
|
|
7145
6780
|
RoleArn: __expectString(output.RoleArn),
|
|
7146
6781
|
Status: __expectString(output.Status),
|
|
7147
|
-
UpdatedAt: output.UpdatedAt
|
|
7148
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7149
|
-
: undefined,
|
|
6782
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7150
6783
|
};
|
|
7151
6784
|
};
|
|
7152
6785
|
var deserializeAws_json1_1DescribeFaqResponse = function (output, context) {
|
|
7153
6786
|
return {
|
|
7154
|
-
CreatedAt: output.CreatedAt
|
|
7155
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7156
|
-
: undefined,
|
|
6787
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7157
6788
|
Description: __expectString(output.Description),
|
|
7158
6789
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7159
6790
|
FileFormat: __expectString(output.FileFormat),
|
|
@@ -7162,47 +6793,39 @@ var deserializeAws_json1_1DescribeFaqResponse = function (output, context) {
|
|
|
7162
6793
|
LanguageCode: __expectString(output.LanguageCode),
|
|
7163
6794
|
Name: __expectString(output.Name),
|
|
7164
6795
|
RoleArn: __expectString(output.RoleArn),
|
|
7165
|
-
S3Path: output.S3Path
|
|
7166
|
-
? deserializeAws_json1_1S3Path(output.S3Path, context)
|
|
7167
|
-
: undefined,
|
|
6796
|
+
S3Path: output.S3Path != null ? deserializeAws_json1_1S3Path(output.S3Path, context) : undefined,
|
|
7168
6797
|
Status: __expectString(output.Status),
|
|
7169
|
-
UpdatedAt: output.UpdatedAt
|
|
7170
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7171
|
-
: undefined,
|
|
6798
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7172
6799
|
};
|
|
7173
6800
|
};
|
|
7174
6801
|
var deserializeAws_json1_1DescribeIndexResponse = function (output, context) {
|
|
7175
6802
|
return {
|
|
7176
|
-
CapacityUnits: output.CapacityUnits
|
|
6803
|
+
CapacityUnits: output.CapacityUnits != null
|
|
7177
6804
|
? deserializeAws_json1_1CapacityUnitsConfiguration(output.CapacityUnits, context)
|
|
7178
6805
|
: undefined,
|
|
7179
|
-
CreatedAt: output.CreatedAt
|
|
7180
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7181
|
-
: undefined,
|
|
6806
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7182
6807
|
Description: __expectString(output.Description),
|
|
7183
|
-
DocumentMetadataConfigurations: output.DocumentMetadataConfigurations
|
|
6808
|
+
DocumentMetadataConfigurations: output.DocumentMetadataConfigurations != null
|
|
7184
6809
|
? deserializeAws_json1_1DocumentMetadataConfigurationList(output.DocumentMetadataConfigurations, context)
|
|
7185
6810
|
: undefined,
|
|
7186
6811
|
Edition: __expectString(output.Edition),
|
|
7187
6812
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7188
6813
|
Id: __expectString(output.Id),
|
|
7189
|
-
IndexStatistics: output.IndexStatistics
|
|
6814
|
+
IndexStatistics: output.IndexStatistics != null
|
|
7190
6815
|
? deserializeAws_json1_1IndexStatistics(output.IndexStatistics, context)
|
|
7191
6816
|
: undefined,
|
|
7192
6817
|
Name: __expectString(output.Name),
|
|
7193
6818
|
RoleArn: __expectString(output.RoleArn),
|
|
7194
|
-
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration
|
|
6819
|
+
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration != null
|
|
7195
6820
|
? deserializeAws_json1_1ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
7196
6821
|
: undefined,
|
|
7197
6822
|
Status: __expectString(output.Status),
|
|
7198
|
-
UpdatedAt: output.UpdatedAt
|
|
7199
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7200
|
-
: undefined,
|
|
6823
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7201
6824
|
UserContextPolicy: __expectString(output.UserContextPolicy),
|
|
7202
|
-
UserGroupResolutionConfiguration: output.UserGroupResolutionConfiguration
|
|
6825
|
+
UserGroupResolutionConfiguration: output.UserGroupResolutionConfiguration != null
|
|
7203
6826
|
? deserializeAws_json1_1UserGroupResolutionConfiguration(output.UserGroupResolutionConfiguration, context)
|
|
7204
6827
|
: undefined,
|
|
7205
|
-
UserTokenConfigurations: output.UserTokenConfigurations
|
|
6828
|
+
UserTokenConfigurations: output.UserTokenConfigurations != null
|
|
7206
6829
|
? deserializeAws_json1_1UserTokenConfigurationList(output.UserTokenConfigurations, context)
|
|
7207
6830
|
: undefined,
|
|
7208
6831
|
};
|
|
@@ -7211,7 +6834,7 @@ var deserializeAws_json1_1DescribePrincipalMappingResponse = function (output, c
|
|
|
7211
6834
|
return {
|
|
7212
6835
|
DataSourceId: __expectString(output.DataSourceId),
|
|
7213
6836
|
GroupId: __expectString(output.GroupId),
|
|
7214
|
-
GroupOrderingIdSummaries: output.GroupOrderingIdSummaries
|
|
6837
|
+
GroupOrderingIdSummaries: output.GroupOrderingIdSummaries != null
|
|
7215
6838
|
? deserializeAws_json1_1GroupOrderingIdSummaries(output.GroupOrderingIdSummaries, context)
|
|
7216
6839
|
: undefined,
|
|
7217
6840
|
IndexId: __expectString(output.IndexId),
|
|
@@ -7219,9 +6842,7 @@ var deserializeAws_json1_1DescribePrincipalMappingResponse = function (output, c
|
|
|
7219
6842
|
};
|
|
7220
6843
|
var deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = function (output, context) {
|
|
7221
6844
|
return {
|
|
7222
|
-
CreatedAt: output.CreatedAt
|
|
7223
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7224
|
-
: undefined,
|
|
6845
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7225
6846
|
Description: __expectString(output.Description),
|
|
7226
6847
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7227
6848
|
FileSizeBytes: __expectLong(output.FileSizeBytes),
|
|
@@ -7230,22 +6851,18 @@ var deserializeAws_json1_1DescribeQuerySuggestionsBlockListResponse = function (
|
|
|
7230
6851
|
ItemCount: __expectInt32(output.ItemCount),
|
|
7231
6852
|
Name: __expectString(output.Name),
|
|
7232
6853
|
RoleArn: __expectString(output.RoleArn),
|
|
7233
|
-
SourceS3Path: output.SourceS3Path
|
|
7234
|
-
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
7235
|
-
: undefined,
|
|
6854
|
+
SourceS3Path: output.SourceS3Path != null ? deserializeAws_json1_1S3Path(output.SourceS3Path, context) : undefined,
|
|
7236
6855
|
Status: __expectString(output.Status),
|
|
7237
|
-
UpdatedAt: output.UpdatedAt
|
|
7238
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7239
|
-
: undefined,
|
|
6856
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7240
6857
|
};
|
|
7241
6858
|
};
|
|
7242
6859
|
var deserializeAws_json1_1DescribeQuerySuggestionsConfigResponse = function (output, context) {
|
|
7243
6860
|
return {
|
|
7244
6861
|
IncludeQueriesWithoutUserInformation: __expectBoolean(output.IncludeQueriesWithoutUserInformation),
|
|
7245
|
-
LastClearTime: output.LastClearTime
|
|
6862
|
+
LastClearTime: output.LastClearTime != null
|
|
7246
6863
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastClearTime)))
|
|
7247
6864
|
: undefined,
|
|
7248
|
-
LastSuggestionsBuildTime: output.LastSuggestionsBuildTime
|
|
6865
|
+
LastSuggestionsBuildTime: output.LastSuggestionsBuildTime != null
|
|
7249
6866
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuggestionsBuildTime)))
|
|
7250
6867
|
: undefined,
|
|
7251
6868
|
MinimumNumberOfQueryingUsers: __expectInt32(output.MinimumNumberOfQueryingUsers),
|
|
@@ -7258,9 +6875,7 @@ var deserializeAws_json1_1DescribeQuerySuggestionsConfigResponse = function (out
|
|
|
7258
6875
|
};
|
|
7259
6876
|
var deserializeAws_json1_1DescribeThesaurusResponse = function (output, context) {
|
|
7260
6877
|
return {
|
|
7261
|
-
CreatedAt: output.CreatedAt
|
|
7262
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7263
|
-
: undefined,
|
|
6878
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7264
6879
|
Description: __expectString(output.Description),
|
|
7265
6880
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
7266
6881
|
FileSizeBytes: __expectLong(output.FileSizeBytes),
|
|
@@ -7268,27 +6883,23 @@ var deserializeAws_json1_1DescribeThesaurusResponse = function (output, context)
|
|
|
7268
6883
|
IndexId: __expectString(output.IndexId),
|
|
7269
6884
|
Name: __expectString(output.Name),
|
|
7270
6885
|
RoleArn: __expectString(output.RoleArn),
|
|
7271
|
-
SourceS3Path: output.SourceS3Path
|
|
7272
|
-
? deserializeAws_json1_1S3Path(output.SourceS3Path, context)
|
|
7273
|
-
: undefined,
|
|
6886
|
+
SourceS3Path: output.SourceS3Path != null ? deserializeAws_json1_1S3Path(output.SourceS3Path, context) : undefined,
|
|
7274
6887
|
Status: __expectString(output.Status),
|
|
7275
6888
|
SynonymRuleCount: __expectLong(output.SynonymRuleCount),
|
|
7276
6889
|
TermCount: __expectLong(output.TermCount),
|
|
7277
|
-
UpdatedAt: output.UpdatedAt
|
|
7278
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7279
|
-
: undefined,
|
|
6890
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7280
6891
|
};
|
|
7281
6892
|
};
|
|
7282
6893
|
var deserializeAws_json1_1DisassociateEntitiesFromExperienceResponse = function (output, context) {
|
|
7283
6894
|
return {
|
|
7284
|
-
FailedEntityList: output.FailedEntityList
|
|
6895
|
+
FailedEntityList: output.FailedEntityList != null
|
|
7285
6896
|
? deserializeAws_json1_1FailedEntityList(output.FailedEntityList, context)
|
|
7286
6897
|
: undefined,
|
|
7287
6898
|
};
|
|
7288
6899
|
};
|
|
7289
6900
|
var deserializeAws_json1_1DisassociatePersonasFromEntitiesResponse = function (output, context) {
|
|
7290
6901
|
return {
|
|
7291
|
-
FailedEntityList: output.FailedEntityList
|
|
6902
|
+
FailedEntityList: output.FailedEntityList != null
|
|
7292
6903
|
? deserializeAws_json1_1FailedEntityList(output.FailedEntityList, context)
|
|
7293
6904
|
: undefined,
|
|
7294
6905
|
};
|
|
@@ -7296,15 +6907,13 @@ var deserializeAws_json1_1DisassociatePersonasFromEntitiesResponse = function (o
|
|
|
7296
6907
|
var deserializeAws_json1_1DocumentAttribute = function (output, context) {
|
|
7297
6908
|
return {
|
|
7298
6909
|
Key: __expectString(output.Key),
|
|
7299
|
-
Value: output.Value
|
|
7300
|
-
? deserializeAws_json1_1DocumentAttributeValue(output.Value, context)
|
|
7301
|
-
: undefined,
|
|
6910
|
+
Value: output.Value != null ? deserializeAws_json1_1DocumentAttributeValue(output.Value, context) : undefined,
|
|
7302
6911
|
};
|
|
7303
6912
|
};
|
|
7304
6913
|
var deserializeAws_json1_1DocumentAttributeCondition = function (output, context) {
|
|
7305
6914
|
return {
|
|
7306
6915
|
ConditionDocumentAttributeKey: __expectString(output.ConditionDocumentAttributeKey),
|
|
7307
|
-
ConditionOnValue: output.ConditionOnValue
|
|
6916
|
+
ConditionOnValue: output.ConditionOnValue != null
|
|
7308
6917
|
? deserializeAws_json1_1DocumentAttributeValue(output.ConditionOnValue, context)
|
|
7309
6918
|
: undefined,
|
|
7310
6919
|
Operator: __expectString(output.Operator),
|
|
@@ -7335,7 +6944,7 @@ var deserializeAws_json1_1DocumentAttributeStringListValue = function (output, c
|
|
|
7335
6944
|
var deserializeAws_json1_1DocumentAttributeTarget = function (output, context) {
|
|
7336
6945
|
return {
|
|
7337
6946
|
TargetDocumentAttributeKey: __expectString(output.TargetDocumentAttributeKey),
|
|
7338
|
-
TargetDocumentAttributeValue: output.TargetDocumentAttributeValue
|
|
6947
|
+
TargetDocumentAttributeValue: output.TargetDocumentAttributeValue != null
|
|
7339
6948
|
? deserializeAws_json1_1DocumentAttributeValue(output.TargetDocumentAttributeValue, context)
|
|
7340
6949
|
: undefined,
|
|
7341
6950
|
TargetDocumentAttributeValueDeletion: __expectBoolean(output.TargetDocumentAttributeValueDeletion),
|
|
@@ -7343,11 +6952,9 @@ var deserializeAws_json1_1DocumentAttributeTarget = function (output, context) {
|
|
|
7343
6952
|
};
|
|
7344
6953
|
var deserializeAws_json1_1DocumentAttributeValue = function (output, context) {
|
|
7345
6954
|
return {
|
|
7346
|
-
DateValue: output.DateValue
|
|
7347
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateValue)))
|
|
7348
|
-
: undefined,
|
|
6955
|
+
DateValue: output.DateValue != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateValue))) : undefined,
|
|
7349
6956
|
LongValue: __expectLong(output.LongValue),
|
|
7350
|
-
StringListValue: output.StringListValue
|
|
6957
|
+
StringListValue: output.StringListValue != null
|
|
7351
6958
|
? deserializeAws_json1_1DocumentAttributeStringListValue(output.StringListValue, context)
|
|
7352
6959
|
: undefined,
|
|
7353
6960
|
StringValue: __expectString(output.StringValue),
|
|
@@ -7356,12 +6963,10 @@ var deserializeAws_json1_1DocumentAttributeValue = function (output, context) {
|
|
|
7356
6963
|
var deserializeAws_json1_1DocumentAttributeValueCountPair = function (output, context) {
|
|
7357
6964
|
return {
|
|
7358
6965
|
Count: __expectInt32(output.Count),
|
|
7359
|
-
DocumentAttributeValue: output.DocumentAttributeValue
|
|
6966
|
+
DocumentAttributeValue: output.DocumentAttributeValue != null
|
|
7360
6967
|
? deserializeAws_json1_1DocumentAttributeValue(output.DocumentAttributeValue, context)
|
|
7361
6968
|
: undefined,
|
|
7362
|
-
FacetResults: output.FacetResults
|
|
7363
|
-
? deserializeAws_json1_1FacetResultList(output.FacetResults, context)
|
|
7364
|
-
: undefined,
|
|
6969
|
+
FacetResults: output.FacetResults != null ? deserializeAws_json1_1FacetResultList(output.FacetResults, context) : undefined,
|
|
7365
6970
|
};
|
|
7366
6971
|
};
|
|
7367
6972
|
var deserializeAws_json1_1DocumentAttributeValueCountPairList = function (output, context) {
|
|
@@ -7378,12 +6983,8 @@ var deserializeAws_json1_1DocumentAttributeValueCountPairList = function (output
|
|
|
7378
6983
|
var deserializeAws_json1_1DocumentMetadataConfiguration = function (output, context) {
|
|
7379
6984
|
return {
|
|
7380
6985
|
Name: __expectString(output.Name),
|
|
7381
|
-
Relevance: output.Relevance
|
|
7382
|
-
|
|
7383
|
-
: undefined,
|
|
7384
|
-
Search: output.Search !== undefined && output.Search !== null
|
|
7385
|
-
? deserializeAws_json1_1Search(output.Search, context)
|
|
7386
|
-
: undefined,
|
|
6986
|
+
Relevance: output.Relevance != null ? deserializeAws_json1_1Relevance(output.Relevance, context) : undefined,
|
|
6987
|
+
Search: output.Search != null ? deserializeAws_json1_1Search(output.Search, context) : undefined,
|
|
7387
6988
|
Type: __expectString(output.Type),
|
|
7388
6989
|
};
|
|
7389
6990
|
};
|
|
@@ -7469,10 +7070,10 @@ var deserializeAws_json1_1ExcludeUserAccountsList = function (output, context) {
|
|
|
7469
7070
|
};
|
|
7470
7071
|
var deserializeAws_json1_1ExperienceConfiguration = function (output, context) {
|
|
7471
7072
|
return {
|
|
7472
|
-
ContentSourceConfiguration: output.ContentSourceConfiguration
|
|
7073
|
+
ContentSourceConfiguration: output.ContentSourceConfiguration != null
|
|
7473
7074
|
? deserializeAws_json1_1ContentSourceConfiguration(output.ContentSourceConfiguration, context)
|
|
7474
7075
|
: undefined,
|
|
7475
|
-
UserIdentityConfiguration: output.UserIdentityConfiguration
|
|
7076
|
+
UserIdentityConfiguration: output.UserIdentityConfiguration != null
|
|
7476
7077
|
? deserializeAws_json1_1UserIdentityConfiguration(output.UserIdentityConfiguration, context)
|
|
7477
7078
|
: undefined,
|
|
7478
7079
|
};
|
|
@@ -7496,9 +7097,7 @@ var deserializeAws_json1_1ExperienceEndpoints = function (output, context) {
|
|
|
7496
7097
|
};
|
|
7497
7098
|
var deserializeAws_json1_1ExperienceEntitiesSummary = function (output, context) {
|
|
7498
7099
|
return {
|
|
7499
|
-
DisplayData: output.DisplayData
|
|
7500
|
-
? deserializeAws_json1_1EntityDisplayData(output.DisplayData, context)
|
|
7501
|
-
: undefined,
|
|
7100
|
+
DisplayData: output.DisplayData != null ? deserializeAws_json1_1EntityDisplayData(output.DisplayData, context) : undefined,
|
|
7502
7101
|
EntityId: __expectString(output.EntityId),
|
|
7503
7102
|
EntityType: __expectString(output.EntityType),
|
|
7504
7103
|
};
|
|
@@ -7516,12 +7115,8 @@ var deserializeAws_json1_1ExperienceEntitiesSummaryList = function (output, cont
|
|
|
7516
7115
|
};
|
|
7517
7116
|
var deserializeAws_json1_1ExperiencesSummary = function (output, context) {
|
|
7518
7117
|
return {
|
|
7519
|
-
CreatedAt: output.CreatedAt
|
|
7520
|
-
|
|
7521
|
-
: undefined,
|
|
7522
|
-
Endpoints: output.Endpoints !== undefined && output.Endpoints !== null
|
|
7523
|
-
? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context)
|
|
7524
|
-
: undefined,
|
|
7118
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7119
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_1ExperienceEndpoints(output.Endpoints, context) : undefined,
|
|
7525
7120
|
Id: __expectString(output.Id),
|
|
7526
7121
|
Name: __expectString(output.Name),
|
|
7527
7122
|
Status: __expectString(output.Status),
|
|
@@ -7541,7 +7136,7 @@ var deserializeAws_json1_1ExperiencesSummaryList = function (output, context) {
|
|
|
7541
7136
|
var deserializeAws_json1_1FacetResult = function (output, context) {
|
|
7542
7137
|
return {
|
|
7543
7138
|
DocumentAttributeKey: __expectString(output.DocumentAttributeKey),
|
|
7544
|
-
DocumentAttributeValueCountPairs: output.DocumentAttributeValueCountPairs
|
|
7139
|
+
DocumentAttributeValueCountPairs: output.DocumentAttributeValueCountPairs != null
|
|
7545
7140
|
? deserializeAws_json1_1DocumentAttributeValueCountPairList(output.DocumentAttributeValueCountPairs, context)
|
|
7546
7141
|
: undefined,
|
|
7547
7142
|
DocumentAttributeValueType: __expectString(output.DocumentAttributeValueType),
|
|
@@ -7593,17 +7188,13 @@ var deserializeAws_json1_1FaqStatistics = function (output, context) {
|
|
|
7593
7188
|
};
|
|
7594
7189
|
var deserializeAws_json1_1FaqSummary = function (output, context) {
|
|
7595
7190
|
return {
|
|
7596
|
-
CreatedAt: output.CreatedAt
|
|
7597
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7598
|
-
: undefined,
|
|
7191
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7599
7192
|
FileFormat: __expectString(output.FileFormat),
|
|
7600
7193
|
Id: __expectString(output.Id),
|
|
7601
7194
|
LanguageCode: __expectString(output.LanguageCode),
|
|
7602
7195
|
Name: __expectString(output.Name),
|
|
7603
7196
|
Status: __expectString(output.Status),
|
|
7604
|
-
UpdatedAt: output.UpdatedAt
|
|
7605
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7606
|
-
: undefined,
|
|
7197
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7607
7198
|
};
|
|
7608
7199
|
};
|
|
7609
7200
|
var deserializeAws_json1_1FaqSummaryItems = function (output, context) {
|
|
@@ -7630,19 +7221,19 @@ var deserializeAws_json1_1FolderIdList = function (output, context) {
|
|
|
7630
7221
|
};
|
|
7631
7222
|
var deserializeAws_json1_1FsxConfiguration = function (output, context) {
|
|
7632
7223
|
return {
|
|
7633
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
7224
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
7634
7225
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7635
7226
|
: undefined,
|
|
7636
|
-
FieldMappings: output.FieldMappings
|
|
7227
|
+
FieldMappings: output.FieldMappings != null
|
|
7637
7228
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7638
7229
|
: undefined,
|
|
7639
7230
|
FileSystemId: __expectString(output.FileSystemId),
|
|
7640
7231
|
FileSystemType: __expectString(output.FileSystemType),
|
|
7641
|
-
InclusionPatterns: output.InclusionPatterns
|
|
7232
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
7642
7233
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7643
7234
|
: undefined,
|
|
7644
7235
|
SecretArn: __expectString(output.SecretArn),
|
|
7645
|
-
VpcConfiguration: output.VpcConfiguration
|
|
7236
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
7646
7237
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7647
7238
|
: undefined,
|
|
7648
7239
|
};
|
|
@@ -7650,93 +7241,83 @@ var deserializeAws_json1_1FsxConfiguration = function (output, context) {
|
|
|
7650
7241
|
var deserializeAws_json1_1GetQuerySuggestionsResponse = function (output, context) {
|
|
7651
7242
|
return {
|
|
7652
7243
|
QuerySuggestionsId: __expectString(output.QuerySuggestionsId),
|
|
7653
|
-
Suggestions: output.Suggestions
|
|
7654
|
-
? deserializeAws_json1_1SuggestionList(output.Suggestions, context)
|
|
7655
|
-
: undefined,
|
|
7244
|
+
Suggestions: output.Suggestions != null ? deserializeAws_json1_1SuggestionList(output.Suggestions, context) : undefined,
|
|
7656
7245
|
};
|
|
7657
7246
|
};
|
|
7658
7247
|
var deserializeAws_json1_1GetSnapshotsResponse = function (output, context) {
|
|
7659
7248
|
return {
|
|
7660
7249
|
NextToken: __expectString(output.NextToken),
|
|
7661
|
-
SnapShotTimeFilter: output.SnapShotTimeFilter
|
|
7250
|
+
SnapShotTimeFilter: output.SnapShotTimeFilter != null
|
|
7662
7251
|
? deserializeAws_json1_1TimeRange(output.SnapShotTimeFilter, context)
|
|
7663
7252
|
: undefined,
|
|
7664
|
-
SnapshotsData: output.SnapshotsData
|
|
7253
|
+
SnapshotsData: output.SnapshotsData != null
|
|
7665
7254
|
? deserializeAws_json1_1SnapshotsDataRecords(output.SnapshotsData, context)
|
|
7666
7255
|
: undefined,
|
|
7667
|
-
SnapshotsDataHeader: output.SnapshotsDataHeader
|
|
7256
|
+
SnapshotsDataHeader: output.SnapshotsDataHeader != null
|
|
7668
7257
|
? deserializeAws_json1_1SnapshotsDataHeaderFields(output.SnapshotsDataHeader, context)
|
|
7669
7258
|
: undefined,
|
|
7670
7259
|
};
|
|
7671
7260
|
};
|
|
7672
7261
|
var deserializeAws_json1_1GitHubConfiguration = function (output, context) {
|
|
7673
7262
|
return {
|
|
7674
|
-
ExclusionFileNamePatterns: output.ExclusionFileNamePatterns
|
|
7263
|
+
ExclusionFileNamePatterns: output.ExclusionFileNamePatterns != null
|
|
7675
7264
|
? deserializeAws_json1_1StringList(output.ExclusionFileNamePatterns, context)
|
|
7676
7265
|
: undefined,
|
|
7677
|
-
ExclusionFileTypePatterns: output.ExclusionFileTypePatterns
|
|
7266
|
+
ExclusionFileTypePatterns: output.ExclusionFileTypePatterns != null
|
|
7678
7267
|
? deserializeAws_json1_1StringList(output.ExclusionFileTypePatterns, context)
|
|
7679
7268
|
: undefined,
|
|
7680
|
-
ExclusionFolderNamePatterns: output.ExclusionFolderNamePatterns
|
|
7269
|
+
ExclusionFolderNamePatterns: output.ExclusionFolderNamePatterns != null
|
|
7681
7270
|
? deserializeAws_json1_1StringList(output.ExclusionFolderNamePatterns, context)
|
|
7682
7271
|
: undefined,
|
|
7683
|
-
GitHubCommitConfigurationFieldMappings: output.GitHubCommitConfigurationFieldMappings
|
|
7684
|
-
output.GitHubCommitConfigurationFieldMappings !== null
|
|
7272
|
+
GitHubCommitConfigurationFieldMappings: output.GitHubCommitConfigurationFieldMappings != null
|
|
7685
7273
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubCommitConfigurationFieldMappings, context)
|
|
7686
7274
|
: undefined,
|
|
7687
|
-
GitHubDocumentCrawlProperties: output.GitHubDocumentCrawlProperties
|
|
7275
|
+
GitHubDocumentCrawlProperties: output.GitHubDocumentCrawlProperties != null
|
|
7688
7276
|
? deserializeAws_json1_1GitHubDocumentCrawlProperties(output.GitHubDocumentCrawlProperties, context)
|
|
7689
7277
|
: undefined,
|
|
7690
|
-
GitHubIssueAttachmentConfigurationFieldMappings: output.GitHubIssueAttachmentConfigurationFieldMappings
|
|
7691
|
-
output.GitHubIssueAttachmentConfigurationFieldMappings !== null
|
|
7278
|
+
GitHubIssueAttachmentConfigurationFieldMappings: output.GitHubIssueAttachmentConfigurationFieldMappings != null
|
|
7692
7279
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueAttachmentConfigurationFieldMappings, context)
|
|
7693
7280
|
: undefined,
|
|
7694
|
-
GitHubIssueCommentConfigurationFieldMappings: output.GitHubIssueCommentConfigurationFieldMappings
|
|
7695
|
-
output.GitHubIssueCommentConfigurationFieldMappings !== null
|
|
7281
|
+
GitHubIssueCommentConfigurationFieldMappings: output.GitHubIssueCommentConfigurationFieldMappings != null
|
|
7696
7282
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueCommentConfigurationFieldMappings, context)
|
|
7697
7283
|
: undefined,
|
|
7698
|
-
GitHubIssueDocumentConfigurationFieldMappings: output.GitHubIssueDocumentConfigurationFieldMappings
|
|
7699
|
-
output.GitHubIssueDocumentConfigurationFieldMappings !== null
|
|
7284
|
+
GitHubIssueDocumentConfigurationFieldMappings: output.GitHubIssueDocumentConfigurationFieldMappings != null
|
|
7700
7285
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubIssueDocumentConfigurationFieldMappings, context)
|
|
7701
7286
|
: undefined,
|
|
7702
|
-
GitHubPullRequestCommentConfigurationFieldMappings: output.GitHubPullRequestCommentConfigurationFieldMappings
|
|
7703
|
-
output.GitHubPullRequestCommentConfigurationFieldMappings !== null
|
|
7287
|
+
GitHubPullRequestCommentConfigurationFieldMappings: output.GitHubPullRequestCommentConfigurationFieldMappings != null
|
|
7704
7288
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestCommentConfigurationFieldMappings, context)
|
|
7705
7289
|
: undefined,
|
|
7706
|
-
GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings
|
|
7707
|
-
output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings !== null
|
|
7290
|
+
GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings != null
|
|
7708
7291
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, context)
|
|
7709
7292
|
: undefined,
|
|
7710
|
-
GitHubPullRequestDocumentConfigurationFieldMappings: output.GitHubPullRequestDocumentConfigurationFieldMappings
|
|
7711
|
-
output.GitHubPullRequestDocumentConfigurationFieldMappings !== null
|
|
7293
|
+
GitHubPullRequestDocumentConfigurationFieldMappings: output.GitHubPullRequestDocumentConfigurationFieldMappings != null
|
|
7712
7294
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubPullRequestDocumentConfigurationFieldMappings, context)
|
|
7713
7295
|
: undefined,
|
|
7714
|
-
GitHubRepositoryConfigurationFieldMappings: output.GitHubRepositoryConfigurationFieldMappings
|
|
7715
|
-
output.GitHubRepositoryConfigurationFieldMappings !== null
|
|
7296
|
+
GitHubRepositoryConfigurationFieldMappings: output.GitHubRepositoryConfigurationFieldMappings != null
|
|
7716
7297
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.GitHubRepositoryConfigurationFieldMappings, context)
|
|
7717
7298
|
: undefined,
|
|
7718
|
-
InclusionFileNamePatterns: output.InclusionFileNamePatterns
|
|
7299
|
+
InclusionFileNamePatterns: output.InclusionFileNamePatterns != null
|
|
7719
7300
|
? deserializeAws_json1_1StringList(output.InclusionFileNamePatterns, context)
|
|
7720
7301
|
: undefined,
|
|
7721
|
-
InclusionFileTypePatterns: output.InclusionFileTypePatterns
|
|
7302
|
+
InclusionFileTypePatterns: output.InclusionFileTypePatterns != null
|
|
7722
7303
|
? deserializeAws_json1_1StringList(output.InclusionFileTypePatterns, context)
|
|
7723
7304
|
: undefined,
|
|
7724
|
-
InclusionFolderNamePatterns: output.InclusionFolderNamePatterns
|
|
7305
|
+
InclusionFolderNamePatterns: output.InclusionFolderNamePatterns != null
|
|
7725
7306
|
? deserializeAws_json1_1StringList(output.InclusionFolderNamePatterns, context)
|
|
7726
7307
|
: undefined,
|
|
7727
|
-
OnPremiseConfiguration: output.OnPremiseConfiguration
|
|
7308
|
+
OnPremiseConfiguration: output.OnPremiseConfiguration != null
|
|
7728
7309
|
? deserializeAws_json1_1OnPremiseConfiguration(output.OnPremiseConfiguration, context)
|
|
7729
7310
|
: undefined,
|
|
7730
|
-
RepositoryFilter: output.RepositoryFilter
|
|
7311
|
+
RepositoryFilter: output.RepositoryFilter != null
|
|
7731
7312
|
? deserializeAws_json1_1RepositoryNames(output.RepositoryFilter, context)
|
|
7732
7313
|
: undefined,
|
|
7733
|
-
SaaSConfiguration: output.SaaSConfiguration
|
|
7314
|
+
SaaSConfiguration: output.SaaSConfiguration != null
|
|
7734
7315
|
? deserializeAws_json1_1SaaSConfiguration(output.SaaSConfiguration, context)
|
|
7735
7316
|
: undefined,
|
|
7736
7317
|
SecretArn: __expectString(output.SecretArn),
|
|
7737
7318
|
Type: __expectString(output.Type),
|
|
7738
7319
|
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
7739
|
-
VpcConfiguration: output.VpcConfiguration
|
|
7320
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
7740
7321
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7741
7322
|
: undefined,
|
|
7742
7323
|
};
|
|
@@ -7754,22 +7335,22 @@ var deserializeAws_json1_1GitHubDocumentCrawlProperties = function (output, cont
|
|
|
7754
7335
|
};
|
|
7755
7336
|
var deserializeAws_json1_1GoogleDriveConfiguration = function (output, context) {
|
|
7756
7337
|
return {
|
|
7757
|
-
ExcludeMimeTypes: output.ExcludeMimeTypes
|
|
7338
|
+
ExcludeMimeTypes: output.ExcludeMimeTypes != null
|
|
7758
7339
|
? deserializeAws_json1_1ExcludeMimeTypesList(output.ExcludeMimeTypes, context)
|
|
7759
7340
|
: undefined,
|
|
7760
|
-
ExcludeSharedDrives: output.ExcludeSharedDrives
|
|
7341
|
+
ExcludeSharedDrives: output.ExcludeSharedDrives != null
|
|
7761
7342
|
? deserializeAws_json1_1ExcludeSharedDrivesList(output.ExcludeSharedDrives, context)
|
|
7762
7343
|
: undefined,
|
|
7763
|
-
ExcludeUserAccounts: output.ExcludeUserAccounts
|
|
7344
|
+
ExcludeUserAccounts: output.ExcludeUserAccounts != null
|
|
7764
7345
|
? deserializeAws_json1_1ExcludeUserAccountsList(output.ExcludeUserAccounts, context)
|
|
7765
7346
|
: undefined,
|
|
7766
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
7347
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
7767
7348
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7768
7349
|
: undefined,
|
|
7769
|
-
FieldMappings: output.FieldMappings
|
|
7350
|
+
FieldMappings: output.FieldMappings != null
|
|
7770
7351
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
7771
7352
|
: undefined,
|
|
7772
|
-
InclusionPatterns: output.InclusionPatterns
|
|
7353
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
7773
7354
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7774
7355
|
: undefined,
|
|
7775
7356
|
SecretArn: __expectString(output.SecretArn),
|
|
@@ -7789,13 +7370,11 @@ var deserializeAws_json1_1GroupOrderingIdSummaries = function (output, context)
|
|
|
7789
7370
|
var deserializeAws_json1_1GroupOrderingIdSummary = function (output, context) {
|
|
7790
7371
|
return {
|
|
7791
7372
|
FailureReason: __expectString(output.FailureReason),
|
|
7792
|
-
LastUpdatedAt: output.LastUpdatedAt
|
|
7373
|
+
LastUpdatedAt: output.LastUpdatedAt != null
|
|
7793
7374
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
7794
7375
|
: undefined,
|
|
7795
7376
|
OrderingId: __expectLong(output.OrderingId),
|
|
7796
|
-
ReceivedAt: output.ReceivedAt
|
|
7797
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReceivedAt)))
|
|
7798
|
-
: undefined,
|
|
7377
|
+
ReceivedAt: output.ReceivedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReceivedAt))) : undefined,
|
|
7799
7378
|
Status: __expectString(output.Status),
|
|
7800
7379
|
};
|
|
7801
7380
|
};
|
|
@@ -7826,7 +7405,7 @@ var deserializeAws_json1_1HighlightList = function (output, context) {
|
|
|
7826
7405
|
};
|
|
7827
7406
|
var deserializeAws_json1_1HookConfiguration = function (output, context) {
|
|
7828
7407
|
return {
|
|
7829
|
-
InvocationCondition: output.InvocationCondition
|
|
7408
|
+
InvocationCondition: output.InvocationCondition != null
|
|
7830
7409
|
? deserializeAws_json1_1DocumentAttributeCondition(output.InvocationCondition, context)
|
|
7831
7410
|
: undefined,
|
|
7832
7411
|
LambdaArn: __expectString(output.LambdaArn),
|
|
@@ -7835,16 +7414,12 @@ var deserializeAws_json1_1HookConfiguration = function (output, context) {
|
|
|
7835
7414
|
};
|
|
7836
7415
|
var deserializeAws_json1_1IndexConfigurationSummary = function (output, context) {
|
|
7837
7416
|
return {
|
|
7838
|
-
CreatedAt: output.CreatedAt
|
|
7839
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
7840
|
-
: undefined,
|
|
7417
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
7841
7418
|
Edition: __expectString(output.Edition),
|
|
7842
7419
|
Id: __expectString(output.Id),
|
|
7843
7420
|
Name: __expectString(output.Name),
|
|
7844
7421
|
Status: __expectString(output.Status),
|
|
7845
|
-
UpdatedAt: output.UpdatedAt
|
|
7846
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
7847
|
-
: undefined,
|
|
7422
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7848
7423
|
};
|
|
7849
7424
|
};
|
|
7850
7425
|
var deserializeAws_json1_1IndexConfigurationSummaryList = function (output, context) {
|
|
@@ -7860,23 +7435,19 @@ var deserializeAws_json1_1IndexConfigurationSummaryList = function (output, cont
|
|
|
7860
7435
|
};
|
|
7861
7436
|
var deserializeAws_json1_1IndexStatistics = function (output, context) {
|
|
7862
7437
|
return {
|
|
7863
|
-
FaqStatistics: output.FaqStatistics
|
|
7864
|
-
|
|
7865
|
-
: undefined,
|
|
7866
|
-
TextDocumentStatistics: output.TextDocumentStatistics !== undefined && output.TextDocumentStatistics !== null
|
|
7438
|
+
FaqStatistics: output.FaqStatistics != null ? deserializeAws_json1_1FaqStatistics(output.FaqStatistics, context) : undefined,
|
|
7439
|
+
TextDocumentStatistics: output.TextDocumentStatistics != null
|
|
7867
7440
|
? deserializeAws_json1_1TextDocumentStatistics(output.TextDocumentStatistics, context)
|
|
7868
7441
|
: undefined,
|
|
7869
7442
|
};
|
|
7870
7443
|
};
|
|
7871
7444
|
var deserializeAws_json1_1InlineCustomDocumentEnrichmentConfiguration = function (output, context) {
|
|
7872
7445
|
return {
|
|
7873
|
-
Condition: output.Condition
|
|
7446
|
+
Condition: output.Condition != null
|
|
7874
7447
|
? deserializeAws_json1_1DocumentAttributeCondition(output.Condition, context)
|
|
7875
7448
|
: undefined,
|
|
7876
7449
|
DocumentContentDeletion: __expectBoolean(output.DocumentContentDeletion),
|
|
7877
|
-
Target: output.Target
|
|
7878
|
-
? deserializeAws_json1_1DocumentAttributeTarget(output.Target, context)
|
|
7879
|
-
: undefined,
|
|
7450
|
+
Target: output.Target != null ? deserializeAws_json1_1DocumentAttributeTarget(output.Target, context) : undefined,
|
|
7880
7451
|
};
|
|
7881
7452
|
};
|
|
7882
7453
|
var deserializeAws_json1_1InlineCustomDocumentEnrichmentConfigurationList = function (output, context) {
|
|
@@ -7924,43 +7495,37 @@ var deserializeAws_json1_1IssueType = function (output, context) {
|
|
|
7924
7495
|
};
|
|
7925
7496
|
var deserializeAws_json1_1JiraConfiguration = function (output, context) {
|
|
7926
7497
|
return {
|
|
7927
|
-
AttachmentFieldMappings: output.AttachmentFieldMappings
|
|
7498
|
+
AttachmentFieldMappings: output.AttachmentFieldMappings != null
|
|
7928
7499
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.AttachmentFieldMappings, context)
|
|
7929
7500
|
: undefined,
|
|
7930
|
-
CommentFieldMappings: output.CommentFieldMappings
|
|
7501
|
+
CommentFieldMappings: output.CommentFieldMappings != null
|
|
7931
7502
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.CommentFieldMappings, context)
|
|
7932
7503
|
: undefined,
|
|
7933
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
7504
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
7934
7505
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7935
7506
|
: undefined,
|
|
7936
|
-
InclusionPatterns: output.InclusionPatterns
|
|
7507
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
7937
7508
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7938
7509
|
: undefined,
|
|
7939
|
-
IssueFieldMappings: output.IssueFieldMappings
|
|
7510
|
+
IssueFieldMappings: output.IssueFieldMappings != null
|
|
7940
7511
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.IssueFieldMappings, context)
|
|
7941
7512
|
: undefined,
|
|
7942
|
-
IssueSubEntityFilter: output.IssueSubEntityFilter
|
|
7513
|
+
IssueSubEntityFilter: output.IssueSubEntityFilter != null
|
|
7943
7514
|
? deserializeAws_json1_1IssueSubEntityFilter(output.IssueSubEntityFilter, context)
|
|
7944
7515
|
: undefined,
|
|
7945
|
-
IssueType: output.IssueType
|
|
7946
|
-
? deserializeAws_json1_1IssueType(output.IssueType, context)
|
|
7947
|
-
: undefined,
|
|
7516
|
+
IssueType: output.IssueType != null ? deserializeAws_json1_1IssueType(output.IssueType, context) : undefined,
|
|
7948
7517
|
JiraAccountUrl: __expectString(output.JiraAccountUrl),
|
|
7949
|
-
Project: output.Project
|
|
7950
|
-
|
|
7951
|
-
: undefined,
|
|
7952
|
-
ProjectFieldMappings: output.ProjectFieldMappings !== undefined && output.ProjectFieldMappings !== null
|
|
7518
|
+
Project: output.Project != null ? deserializeAws_json1_1Project(output.Project, context) : undefined,
|
|
7519
|
+
ProjectFieldMappings: output.ProjectFieldMappings != null
|
|
7953
7520
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.ProjectFieldMappings, context)
|
|
7954
7521
|
: undefined,
|
|
7955
7522
|
SecretArn: __expectString(output.SecretArn),
|
|
7956
|
-
Status: output.Status
|
|
7957
|
-
? deserializeAws_json1_1JiraStatus(output.Status, context)
|
|
7958
|
-
: undefined,
|
|
7523
|
+
Status: output.Status != null ? deserializeAws_json1_1JiraStatus(output.Status, context) : undefined,
|
|
7959
7524
|
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
7960
|
-
VpcConfiguration: output.VpcConfiguration
|
|
7525
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
7961
7526
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7962
7527
|
: undefined,
|
|
7963
|
-
WorkLogFieldMappings: output.WorkLogFieldMappings
|
|
7528
|
+
WorkLogFieldMappings: output.WorkLogFieldMappings != null
|
|
7964
7529
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.WorkLogFieldMappings, context)
|
|
7965
7530
|
: undefined,
|
|
7966
7531
|
};
|
|
@@ -7996,31 +7561,27 @@ var deserializeAws_json1_1JwtTokenTypeConfiguration = function (output, context)
|
|
|
7996
7561
|
var deserializeAws_json1_1ListDataSourcesResponse = function (output, context) {
|
|
7997
7562
|
return {
|
|
7998
7563
|
NextToken: __expectString(output.NextToken),
|
|
7999
|
-
SummaryItems: output.SummaryItems
|
|
7564
|
+
SummaryItems: output.SummaryItems != null
|
|
8000
7565
|
? deserializeAws_json1_1DataSourceSummaryList(output.SummaryItems, context)
|
|
8001
7566
|
: undefined,
|
|
8002
7567
|
};
|
|
8003
7568
|
};
|
|
8004
7569
|
var deserializeAws_json1_1ListDataSourceSyncJobsResponse = function (output, context) {
|
|
8005
7570
|
return {
|
|
8006
|
-
History: output.History
|
|
8007
|
-
? deserializeAws_json1_1DataSourceSyncJobHistoryList(output.History, context)
|
|
8008
|
-
: undefined,
|
|
7571
|
+
History: output.History != null ? deserializeAws_json1_1DataSourceSyncJobHistoryList(output.History, context) : undefined,
|
|
8009
7572
|
NextToken: __expectString(output.NextToken),
|
|
8010
7573
|
};
|
|
8011
7574
|
};
|
|
8012
7575
|
var deserializeAws_json1_1ListEntityPersonasResponse = function (output, context) {
|
|
8013
7576
|
return {
|
|
8014
7577
|
NextToken: __expectString(output.NextToken),
|
|
8015
|
-
SummaryItems: output.SummaryItems
|
|
8016
|
-
? deserializeAws_json1_1PersonasSummaryList(output.SummaryItems, context)
|
|
8017
|
-
: undefined,
|
|
7578
|
+
SummaryItems: output.SummaryItems != null ? deserializeAws_json1_1PersonasSummaryList(output.SummaryItems, context) : undefined,
|
|
8018
7579
|
};
|
|
8019
7580
|
};
|
|
8020
7581
|
var deserializeAws_json1_1ListExperienceEntitiesResponse = function (output, context) {
|
|
8021
7582
|
return {
|
|
8022
7583
|
NextToken: __expectString(output.NextToken),
|
|
8023
|
-
SummaryItems: output.SummaryItems
|
|
7584
|
+
SummaryItems: output.SummaryItems != null
|
|
8024
7585
|
? deserializeAws_json1_1ExperienceEntitiesSummaryList(output.SummaryItems, context)
|
|
8025
7586
|
: undefined,
|
|
8026
7587
|
};
|
|
@@ -8028,14 +7589,14 @@ var deserializeAws_json1_1ListExperienceEntitiesResponse = function (output, con
|
|
|
8028
7589
|
var deserializeAws_json1_1ListExperiencesResponse = function (output, context) {
|
|
8029
7590
|
return {
|
|
8030
7591
|
NextToken: __expectString(output.NextToken),
|
|
8031
|
-
SummaryItems: output.SummaryItems
|
|
7592
|
+
SummaryItems: output.SummaryItems != null
|
|
8032
7593
|
? deserializeAws_json1_1ExperiencesSummaryList(output.SummaryItems, context)
|
|
8033
7594
|
: undefined,
|
|
8034
7595
|
};
|
|
8035
7596
|
};
|
|
8036
7597
|
var deserializeAws_json1_1ListFaqsResponse = function (output, context) {
|
|
8037
7598
|
return {
|
|
8038
|
-
FaqSummaryItems: output.FaqSummaryItems
|
|
7599
|
+
FaqSummaryItems: output.FaqSummaryItems != null
|
|
8039
7600
|
? deserializeAws_json1_1FaqSummaryItems(output.FaqSummaryItems, context)
|
|
8040
7601
|
: undefined,
|
|
8041
7602
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8043,7 +7604,7 @@ var deserializeAws_json1_1ListFaqsResponse = function (output, context) {
|
|
|
8043
7604
|
};
|
|
8044
7605
|
var deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = function (output, context) {
|
|
8045
7606
|
return {
|
|
8046
|
-
GroupsSummaries: output.GroupsSummaries
|
|
7607
|
+
GroupsSummaries: output.GroupsSummaries != null
|
|
8047
7608
|
? deserializeAws_json1_1ListOfGroupSummaries(output.GroupsSummaries, context)
|
|
8048
7609
|
: undefined,
|
|
8049
7610
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8051,7 +7612,7 @@ var deserializeAws_json1_1ListGroupsOlderThanOrderingIdResponse = function (outp
|
|
|
8051
7612
|
};
|
|
8052
7613
|
var deserializeAws_json1_1ListIndicesResponse = function (output, context) {
|
|
8053
7614
|
return {
|
|
8054
|
-
IndexConfigurationSummaryItems: output.IndexConfigurationSummaryItems
|
|
7615
|
+
IndexConfigurationSummaryItems: output.IndexConfigurationSummaryItems != null
|
|
8055
7616
|
? deserializeAws_json1_1IndexConfigurationSummaryList(output.IndexConfigurationSummaryItems, context)
|
|
8056
7617
|
: undefined,
|
|
8057
7618
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8070,7 +7631,7 @@ var deserializeAws_json1_1ListOfGroupSummaries = function (output, context) {
|
|
|
8070
7631
|
};
|
|
8071
7632
|
var deserializeAws_json1_1ListQuerySuggestionsBlockListsResponse = function (output, context) {
|
|
8072
7633
|
return {
|
|
8073
|
-
BlockListSummaryItems: output.BlockListSummaryItems
|
|
7634
|
+
BlockListSummaryItems: output.BlockListSummaryItems != null
|
|
8074
7635
|
? deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems(output.BlockListSummaryItems, context)
|
|
8075
7636
|
: undefined,
|
|
8076
7637
|
NextToken: __expectString(output.NextToken),
|
|
@@ -8078,15 +7639,13 @@ var deserializeAws_json1_1ListQuerySuggestionsBlockListsResponse = function (out
|
|
|
8078
7639
|
};
|
|
8079
7640
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
8080
7641
|
return {
|
|
8081
|
-
Tags: output.Tags
|
|
8082
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
8083
|
-
: undefined,
|
|
7642
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
8084
7643
|
};
|
|
8085
7644
|
};
|
|
8086
7645
|
var deserializeAws_json1_1ListThesauriResponse = function (output, context) {
|
|
8087
7646
|
return {
|
|
8088
7647
|
NextToken: __expectString(output.NextToken),
|
|
8089
|
-
ThesaurusSummaryItems: output.ThesaurusSummaryItems
|
|
7648
|
+
ThesaurusSummaryItems: output.ThesaurusSummaryItems != null
|
|
8090
7649
|
? deserializeAws_json1_1ThesaurusSummaryItems(output.ThesaurusSummaryItems, context)
|
|
8091
7650
|
: undefined,
|
|
8092
7651
|
};
|
|
@@ -8094,18 +7653,16 @@ var deserializeAws_json1_1ListThesauriResponse = function (output, context) {
|
|
|
8094
7653
|
var deserializeAws_json1_1OneDriveConfiguration = function (output, context) {
|
|
8095
7654
|
return {
|
|
8096
7655
|
DisableLocalGroups: __expectBoolean(output.DisableLocalGroups),
|
|
8097
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
7656
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
8098
7657
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8099
7658
|
: undefined,
|
|
8100
|
-
FieldMappings: output.FieldMappings
|
|
7659
|
+
FieldMappings: output.FieldMappings != null
|
|
8101
7660
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8102
7661
|
: undefined,
|
|
8103
|
-
InclusionPatterns: output.InclusionPatterns
|
|
7662
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
8104
7663
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8105
7664
|
: undefined,
|
|
8106
|
-
OneDriveUsers: output.OneDriveUsers
|
|
8107
|
-
? deserializeAws_json1_1OneDriveUsers(output.OneDriveUsers, context)
|
|
8108
|
-
: undefined,
|
|
7665
|
+
OneDriveUsers: output.OneDriveUsers != null ? deserializeAws_json1_1OneDriveUsers(output.OneDriveUsers, context) : undefined,
|
|
8109
7666
|
SecretArn: __expectString(output.SecretArn),
|
|
8110
7667
|
TenantDomain: __expectString(output.TenantDomain),
|
|
8111
7668
|
};
|
|
@@ -8123,33 +7680,27 @@ var deserializeAws_json1_1OneDriveUserList = function (output, context) {
|
|
|
8123
7680
|
};
|
|
8124
7681
|
var deserializeAws_json1_1OneDriveUsers = function (output, context) {
|
|
8125
7682
|
return {
|
|
8126
|
-
OneDriveUserList: output.OneDriveUserList
|
|
7683
|
+
OneDriveUserList: output.OneDriveUserList != null
|
|
8127
7684
|
? deserializeAws_json1_1OneDriveUserList(output.OneDriveUserList, context)
|
|
8128
7685
|
: undefined,
|
|
8129
|
-
OneDriveUserS3Path: output.OneDriveUserS3Path
|
|
8130
|
-
? deserializeAws_json1_1S3Path(output.OneDriveUserS3Path, context)
|
|
8131
|
-
: undefined,
|
|
7686
|
+
OneDriveUserS3Path: output.OneDriveUserS3Path != null ? deserializeAws_json1_1S3Path(output.OneDriveUserS3Path, context) : undefined,
|
|
8132
7687
|
};
|
|
8133
7688
|
};
|
|
8134
7689
|
var deserializeAws_json1_1OnPremiseConfiguration = function (output, context) {
|
|
8135
7690
|
return {
|
|
8136
7691
|
HostUrl: __expectString(output.HostUrl),
|
|
8137
7692
|
OrganizationName: __expectString(output.OrganizationName),
|
|
8138
|
-
SslCertificateS3Path: output.SslCertificateS3Path
|
|
7693
|
+
SslCertificateS3Path: output.SslCertificateS3Path != null
|
|
8139
7694
|
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
8140
7695
|
: undefined,
|
|
8141
7696
|
};
|
|
8142
7697
|
};
|
|
8143
7698
|
var deserializeAws_json1_1PersonasSummary = function (output, context) {
|
|
8144
7699
|
return {
|
|
8145
|
-
CreatedAt: output.CreatedAt
|
|
8146
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
8147
|
-
: undefined,
|
|
7700
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
8148
7701
|
EntityId: __expectString(output.EntityId),
|
|
8149
7702
|
Persona: __expectString(output.Persona),
|
|
8150
|
-
UpdatedAt: output.UpdatedAt
|
|
8151
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
8152
|
-
: undefined,
|
|
7703
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
8153
7704
|
};
|
|
8154
7705
|
};
|
|
8155
7706
|
var deserializeAws_json1_1PersonasSummaryList = function (output, context) {
|
|
@@ -8205,41 +7756,35 @@ var deserializeAws_json1_1PublicChannelFilter = function (output, context) {
|
|
|
8205
7756
|
};
|
|
8206
7757
|
var deserializeAws_json1_1QueryResult = function (output, context) {
|
|
8207
7758
|
return {
|
|
8208
|
-
FacetResults: output.FacetResults
|
|
8209
|
-
? deserializeAws_json1_1FacetResultList(output.FacetResults, context)
|
|
8210
|
-
: undefined,
|
|
7759
|
+
FacetResults: output.FacetResults != null ? deserializeAws_json1_1FacetResultList(output.FacetResults, context) : undefined,
|
|
8211
7760
|
QueryId: __expectString(output.QueryId),
|
|
8212
|
-
ResultItems: output.ResultItems
|
|
8213
|
-
|
|
8214
|
-
: undefined,
|
|
8215
|
-
SpellCorrectedQueries: output.SpellCorrectedQueries !== undefined && output.SpellCorrectedQueries !== null
|
|
7761
|
+
ResultItems: output.ResultItems != null ? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context) : undefined,
|
|
7762
|
+
SpellCorrectedQueries: output.SpellCorrectedQueries != null
|
|
8216
7763
|
? deserializeAws_json1_1SpellCorrectedQueryList(output.SpellCorrectedQueries, context)
|
|
8217
7764
|
: undefined,
|
|
8218
7765
|
TotalNumberOfResults: __expectInt32(output.TotalNumberOfResults),
|
|
8219
|
-
Warnings: output.Warnings
|
|
8220
|
-
? deserializeAws_json1_1WarningList(output.Warnings, context)
|
|
8221
|
-
: undefined,
|
|
7766
|
+
Warnings: output.Warnings != null ? deserializeAws_json1_1WarningList(output.Warnings, context) : undefined,
|
|
8222
7767
|
};
|
|
8223
7768
|
};
|
|
8224
7769
|
var deserializeAws_json1_1QueryResultItem = function (output, context) {
|
|
8225
7770
|
return {
|
|
8226
|
-
AdditionalAttributes: output.AdditionalAttributes
|
|
7771
|
+
AdditionalAttributes: output.AdditionalAttributes != null
|
|
8227
7772
|
? deserializeAws_json1_1AdditionalResultAttributeList(output.AdditionalAttributes, context)
|
|
8228
7773
|
: undefined,
|
|
8229
|
-
DocumentAttributes: output.DocumentAttributes
|
|
7774
|
+
DocumentAttributes: output.DocumentAttributes != null
|
|
8230
7775
|
? deserializeAws_json1_1DocumentAttributeList(output.DocumentAttributes, context)
|
|
8231
7776
|
: undefined,
|
|
8232
|
-
DocumentExcerpt: output.DocumentExcerpt
|
|
7777
|
+
DocumentExcerpt: output.DocumentExcerpt != null
|
|
8233
7778
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentExcerpt, context)
|
|
8234
7779
|
: undefined,
|
|
8235
7780
|
DocumentId: __expectString(output.DocumentId),
|
|
8236
|
-
DocumentTitle: output.DocumentTitle
|
|
7781
|
+
DocumentTitle: output.DocumentTitle != null
|
|
8237
7782
|
? deserializeAws_json1_1TextWithHighlights(output.DocumentTitle, context)
|
|
8238
7783
|
: undefined,
|
|
8239
7784
|
DocumentURI: __expectString(output.DocumentURI),
|
|
8240
7785
|
FeedbackToken: __expectString(output.FeedbackToken),
|
|
8241
7786
|
Id: __expectString(output.Id),
|
|
8242
|
-
ScoreAttributes: output.ScoreAttributes
|
|
7787
|
+
ScoreAttributes: output.ScoreAttributes != null
|
|
8243
7788
|
? deserializeAws_json1_1ScoreAttributes(output.ScoreAttributes, context)
|
|
8244
7789
|
: undefined,
|
|
8245
7790
|
Type: __expectString(output.Type),
|
|
@@ -8258,16 +7803,12 @@ var deserializeAws_json1_1QueryResultItemList = function (output, context) {
|
|
|
8258
7803
|
};
|
|
8259
7804
|
var deserializeAws_json1_1QuerySuggestionsBlockListSummary = function (output, context) {
|
|
8260
7805
|
return {
|
|
8261
|
-
CreatedAt: output.CreatedAt
|
|
8262
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
8263
|
-
: undefined,
|
|
7806
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
8264
7807
|
Id: __expectString(output.Id),
|
|
8265
7808
|
ItemCount: __expectInt32(output.ItemCount),
|
|
8266
7809
|
Name: __expectString(output.Name),
|
|
8267
7810
|
Status: __expectString(output.Status),
|
|
8268
|
-
UpdatedAt: output.UpdatedAt
|
|
8269
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
8270
|
-
: undefined,
|
|
7811
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
8271
7812
|
};
|
|
8272
7813
|
};
|
|
8273
7814
|
var deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = function (output, context) {
|
|
@@ -8283,30 +7824,28 @@ var deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = function (outp
|
|
|
8283
7824
|
};
|
|
8284
7825
|
var deserializeAws_json1_1QuipConfiguration = function (output, context) {
|
|
8285
7826
|
return {
|
|
8286
|
-
AttachmentFieldMappings: output.AttachmentFieldMappings
|
|
7827
|
+
AttachmentFieldMappings: output.AttachmentFieldMappings != null
|
|
8287
7828
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.AttachmentFieldMappings, context)
|
|
8288
7829
|
: undefined,
|
|
8289
7830
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
8290
7831
|
CrawlChatRooms: __expectBoolean(output.CrawlChatRooms),
|
|
8291
7832
|
CrawlFileComments: __expectBoolean(output.CrawlFileComments),
|
|
8292
7833
|
Domain: __expectString(output.Domain),
|
|
8293
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
7834
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
8294
7835
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8295
7836
|
: undefined,
|
|
8296
|
-
FolderIds: output.FolderIds
|
|
8297
|
-
|
|
8298
|
-
: undefined,
|
|
8299
|
-
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7837
|
+
FolderIds: output.FolderIds != null ? deserializeAws_json1_1FolderIdList(output.FolderIds, context) : undefined,
|
|
7838
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
8300
7839
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8301
7840
|
: undefined,
|
|
8302
|
-
MessageFieldMappings: output.MessageFieldMappings
|
|
7841
|
+
MessageFieldMappings: output.MessageFieldMappings != null
|
|
8303
7842
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.MessageFieldMappings, context)
|
|
8304
7843
|
: undefined,
|
|
8305
7844
|
SecretArn: __expectString(output.SecretArn),
|
|
8306
|
-
ThreadFieldMappings: output.ThreadFieldMappings
|
|
7845
|
+
ThreadFieldMappings: output.ThreadFieldMappings != null
|
|
8307
7846
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.ThreadFieldMappings, context)
|
|
8308
7847
|
: undefined,
|
|
8309
|
-
VpcConfiguration: output.VpcConfiguration
|
|
7848
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
8310
7849
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
8311
7850
|
: undefined,
|
|
8312
7851
|
};
|
|
@@ -8317,7 +7856,7 @@ var deserializeAws_json1_1Relevance = function (output, context) {
|
|
|
8317
7856
|
Freshness: __expectBoolean(output.Freshness),
|
|
8318
7857
|
Importance: __expectInt32(output.Importance),
|
|
8319
7858
|
RankOrder: __expectString(output.RankOrder),
|
|
8320
|
-
ValueImportanceMap: output.ValueImportanceMap
|
|
7859
|
+
ValueImportanceMap: output.ValueImportanceMap != null
|
|
8321
7860
|
? deserializeAws_json1_1ValueImportanceMap(output.ValueImportanceMap, context)
|
|
8322
7861
|
: undefined,
|
|
8323
7862
|
};
|
|
@@ -8355,20 +7894,20 @@ var deserializeAws_json1_1ResourceUnavailableException = function (output, conte
|
|
|
8355
7894
|
};
|
|
8356
7895
|
var deserializeAws_json1_1S3DataSourceConfiguration = function (output, context) {
|
|
8357
7896
|
return {
|
|
8358
|
-
AccessControlListConfiguration: output.AccessControlListConfiguration
|
|
7897
|
+
AccessControlListConfiguration: output.AccessControlListConfiguration != null
|
|
8359
7898
|
? deserializeAws_json1_1AccessControlListConfiguration(output.AccessControlListConfiguration, context)
|
|
8360
7899
|
: undefined,
|
|
8361
7900
|
BucketName: __expectString(output.BucketName),
|
|
8362
|
-
DocumentsMetadataConfiguration: output.DocumentsMetadataConfiguration
|
|
7901
|
+
DocumentsMetadataConfiguration: output.DocumentsMetadataConfiguration != null
|
|
8363
7902
|
? deserializeAws_json1_1DocumentsMetadataConfiguration(output.DocumentsMetadataConfiguration, context)
|
|
8364
7903
|
: undefined,
|
|
8365
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
7904
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
8366
7905
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8367
7906
|
: undefined,
|
|
8368
|
-
InclusionPatterns: output.InclusionPatterns
|
|
7907
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
8369
7908
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8370
7909
|
: undefined,
|
|
8371
|
-
InclusionPrefixes: output.InclusionPrefixes
|
|
7910
|
+
InclusionPrefixes: output.InclusionPrefixes != null
|
|
8372
7911
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPrefixes, context)
|
|
8373
7912
|
: undefined,
|
|
8374
7913
|
};
|
|
@@ -8389,10 +7928,10 @@ var deserializeAws_json1_1SalesforceChatterFeedConfiguration = function (output,
|
|
|
8389
7928
|
return {
|
|
8390
7929
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8391
7930
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8392
|
-
FieldMappings: output.FieldMappings
|
|
7931
|
+
FieldMappings: output.FieldMappings != null
|
|
8393
7932
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8394
7933
|
: undefined,
|
|
8395
|
-
IncludeFilterTypes: output.IncludeFilterTypes
|
|
7934
|
+
IncludeFilterTypes: output.IncludeFilterTypes != null
|
|
8396
7935
|
? deserializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes(output.IncludeFilterTypes, context)
|
|
8397
7936
|
: undefined,
|
|
8398
7937
|
};
|
|
@@ -8410,26 +7949,25 @@ var deserializeAws_json1_1SalesforceChatterFeedIncludeFilterTypes = function (ou
|
|
|
8410
7949
|
};
|
|
8411
7950
|
var deserializeAws_json1_1SalesforceConfiguration = function (output, context) {
|
|
8412
7951
|
return {
|
|
8413
|
-
ChatterFeedConfiguration: output.ChatterFeedConfiguration
|
|
7952
|
+
ChatterFeedConfiguration: output.ChatterFeedConfiguration != null
|
|
8414
7953
|
? deserializeAws_json1_1SalesforceChatterFeedConfiguration(output.ChatterFeedConfiguration, context)
|
|
8415
7954
|
: undefined,
|
|
8416
7955
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
8417
|
-
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns
|
|
7956
|
+
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns != null
|
|
8418
7957
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
8419
7958
|
: undefined,
|
|
8420
|
-
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns
|
|
7959
|
+
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns != null
|
|
8421
7960
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.IncludeAttachmentFilePatterns, context)
|
|
8422
7961
|
: undefined,
|
|
8423
|
-
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration
|
|
7962
|
+
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration != null
|
|
8424
7963
|
? deserializeAws_json1_1SalesforceKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
8425
7964
|
: undefined,
|
|
8426
7965
|
SecretArn: __expectString(output.SecretArn),
|
|
8427
7966
|
ServerUrl: __expectString(output.ServerUrl),
|
|
8428
|
-
StandardObjectAttachmentConfiguration: output.StandardObjectAttachmentConfiguration
|
|
8429
|
-
output.StandardObjectAttachmentConfiguration !== null
|
|
7967
|
+
StandardObjectAttachmentConfiguration: output.StandardObjectAttachmentConfiguration != null
|
|
8430
7968
|
? deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration(output.StandardObjectAttachmentConfiguration, context)
|
|
8431
7969
|
: undefined,
|
|
8432
|
-
StandardObjectConfigurations: output.StandardObjectConfigurations
|
|
7970
|
+
StandardObjectConfigurations: output.StandardObjectConfigurations != null
|
|
8433
7971
|
? deserializeAws_json1_1SalesforceStandardObjectConfigurationList(output.StandardObjectConfigurations, context)
|
|
8434
7972
|
: undefined,
|
|
8435
7973
|
};
|
|
@@ -8438,7 +7976,7 @@ var deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfiguration = fu
|
|
|
8438
7976
|
return {
|
|
8439
7977
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8440
7978
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8441
|
-
FieldMappings: output.FieldMappings
|
|
7979
|
+
FieldMappings: output.FieldMappings != null
|
|
8442
7980
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8443
7981
|
: undefined,
|
|
8444
7982
|
Name: __expectString(output.Name),
|
|
@@ -8457,15 +7995,13 @@ var deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList
|
|
|
8457
7995
|
};
|
|
8458
7996
|
var deserializeAws_json1_1SalesforceKnowledgeArticleConfiguration = function (output, context) {
|
|
8459
7997
|
return {
|
|
8460
|
-
CustomKnowledgeArticleTypeConfigurations: output.CustomKnowledgeArticleTypeConfigurations
|
|
8461
|
-
output.CustomKnowledgeArticleTypeConfigurations !== null
|
|
7998
|
+
CustomKnowledgeArticleTypeConfigurations: output.CustomKnowledgeArticleTypeConfigurations != null
|
|
8462
7999
|
? deserializeAws_json1_1SalesforceCustomKnowledgeArticleTypeConfigurationList(output.CustomKnowledgeArticleTypeConfigurations, context)
|
|
8463
8000
|
: undefined,
|
|
8464
|
-
IncludedStates: output.IncludedStates
|
|
8001
|
+
IncludedStates: output.IncludedStates != null
|
|
8465
8002
|
? deserializeAws_json1_1SalesforceKnowledgeArticleStateList(output.IncludedStates, context)
|
|
8466
8003
|
: undefined,
|
|
8467
|
-
StandardKnowledgeArticleTypeConfiguration: output.StandardKnowledgeArticleTypeConfiguration
|
|
8468
|
-
output.StandardKnowledgeArticleTypeConfiguration !== null
|
|
8004
|
+
StandardKnowledgeArticleTypeConfiguration: output.StandardKnowledgeArticleTypeConfiguration != null
|
|
8469
8005
|
? deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration(output.StandardKnowledgeArticleTypeConfiguration, context)
|
|
8470
8006
|
: undefined,
|
|
8471
8007
|
};
|
|
@@ -8485,7 +8021,7 @@ var deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration =
|
|
|
8485
8021
|
return {
|
|
8486
8022
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8487
8023
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8488
|
-
FieldMappings: output.FieldMappings
|
|
8024
|
+
FieldMappings: output.FieldMappings != null
|
|
8489
8025
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8490
8026
|
: undefined,
|
|
8491
8027
|
};
|
|
@@ -8493,7 +8029,7 @@ var deserializeAws_json1_1SalesforceStandardKnowledgeArticleTypeConfiguration =
|
|
|
8493
8029
|
var deserializeAws_json1_1SalesforceStandardObjectAttachmentConfiguration = function (output, context) {
|
|
8494
8030
|
return {
|
|
8495
8031
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8496
|
-
FieldMappings: output.FieldMappings
|
|
8032
|
+
FieldMappings: output.FieldMappings != null
|
|
8497
8033
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8498
8034
|
: undefined,
|
|
8499
8035
|
};
|
|
@@ -8502,7 +8038,7 @@ var deserializeAws_json1_1SalesforceStandardObjectConfiguration = function (outp
|
|
|
8502
8038
|
return {
|
|
8503
8039
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8504
8040
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8505
|
-
FieldMappings: output.FieldMappings
|
|
8041
|
+
FieldMappings: output.FieldMappings != null
|
|
8506
8042
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8507
8043
|
: undefined,
|
|
8508
8044
|
Name: __expectString(output.Name),
|
|
@@ -8545,9 +8081,7 @@ var deserializeAws_json1_1SecurityGroupIdList = function (output, context) {
|
|
|
8545
8081
|
};
|
|
8546
8082
|
var deserializeAws_json1_1SeedUrlConfiguration = function (output, context) {
|
|
8547
8083
|
return {
|
|
8548
|
-
SeedUrls: output.SeedUrls
|
|
8549
|
-
? deserializeAws_json1_1SeedUrlList(output.SeedUrls, context)
|
|
8550
|
-
: undefined,
|
|
8084
|
+
SeedUrls: output.SeedUrls != null ? deserializeAws_json1_1SeedUrlList(output.SeedUrls, context) : undefined,
|
|
8551
8085
|
WebCrawlerMode: __expectString(output.WebCrawlerMode),
|
|
8552
8086
|
};
|
|
8553
8087
|
};
|
|
@@ -8571,11 +8105,11 @@ var deserializeAws_json1_1ServiceNowConfiguration = function (output, context) {
|
|
|
8571
8105
|
return {
|
|
8572
8106
|
AuthenticationType: __expectString(output.AuthenticationType),
|
|
8573
8107
|
HostUrl: __expectString(output.HostUrl),
|
|
8574
|
-
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration
|
|
8108
|
+
KnowledgeArticleConfiguration: output.KnowledgeArticleConfiguration != null
|
|
8575
8109
|
? deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration(output.KnowledgeArticleConfiguration, context)
|
|
8576
8110
|
: undefined,
|
|
8577
8111
|
SecretArn: __expectString(output.SecretArn),
|
|
8578
|
-
ServiceCatalogConfiguration: output.ServiceCatalogConfiguration
|
|
8112
|
+
ServiceCatalogConfiguration: output.ServiceCatalogConfiguration != null
|
|
8579
8113
|
? deserializeAws_json1_1ServiceNowServiceCatalogConfiguration(output.ServiceCatalogConfiguration, context)
|
|
8580
8114
|
: undefined,
|
|
8581
8115
|
ServiceNowBuildVersion: __expectString(output.ServiceNowBuildVersion),
|
|
@@ -8586,14 +8120,14 @@ var deserializeAws_json1_1ServiceNowKnowledgeArticleConfiguration = function (ou
|
|
|
8586
8120
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
8587
8121
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8588
8122
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8589
|
-
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns
|
|
8123
|
+
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns != null
|
|
8590
8124
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
8591
8125
|
: undefined,
|
|
8592
|
-
FieldMappings: output.FieldMappings
|
|
8126
|
+
FieldMappings: output.FieldMappings != null
|
|
8593
8127
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8594
8128
|
: undefined,
|
|
8595
8129
|
FilterQuery: __expectString(output.FilterQuery),
|
|
8596
|
-
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns
|
|
8130
|
+
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns != null
|
|
8597
8131
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.IncludeAttachmentFilePatterns, context)
|
|
8598
8132
|
: undefined,
|
|
8599
8133
|
};
|
|
@@ -8603,13 +8137,13 @@ var deserializeAws_json1_1ServiceNowServiceCatalogConfiguration = function (outp
|
|
|
8603
8137
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
8604
8138
|
DocumentDataFieldName: __expectString(output.DocumentDataFieldName),
|
|
8605
8139
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8606
|
-
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns
|
|
8140
|
+
ExcludeAttachmentFilePatterns: output.ExcludeAttachmentFilePatterns != null
|
|
8607
8141
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExcludeAttachmentFilePatterns, context)
|
|
8608
8142
|
: undefined,
|
|
8609
|
-
FieldMappings: output.FieldMappings
|
|
8143
|
+
FieldMappings: output.FieldMappings != null
|
|
8610
8144
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8611
8145
|
: undefined,
|
|
8612
|
-
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns
|
|
8146
|
+
IncludeAttachmentFilePatterns: output.IncludeAttachmentFilePatterns != null
|
|
8613
8147
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.IncludeAttachmentFilePatterns, context)
|
|
8614
8148
|
: undefined,
|
|
8615
8149
|
};
|
|
@@ -8624,25 +8158,23 @@ var deserializeAws_json1_1SharePointConfiguration = function (output, context) {
|
|
|
8624
8158
|
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
8625
8159
|
DisableLocalGroups: __expectBoolean(output.DisableLocalGroups),
|
|
8626
8160
|
DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
|
|
8627
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
8161
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
8628
8162
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8629
8163
|
: undefined,
|
|
8630
|
-
FieldMappings: output.FieldMappings
|
|
8164
|
+
FieldMappings: output.FieldMappings != null
|
|
8631
8165
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8632
8166
|
: undefined,
|
|
8633
|
-
InclusionPatterns: output.InclusionPatterns
|
|
8167
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
8634
8168
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8635
8169
|
: undefined,
|
|
8636
8170
|
SecretArn: __expectString(output.SecretArn),
|
|
8637
8171
|
SharePointVersion: __expectString(output.SharePointVersion),
|
|
8638
|
-
SslCertificateS3Path: output.SslCertificateS3Path
|
|
8172
|
+
SslCertificateS3Path: output.SslCertificateS3Path != null
|
|
8639
8173
|
? deserializeAws_json1_1S3Path(output.SslCertificateS3Path, context)
|
|
8640
8174
|
: undefined,
|
|
8641
|
-
Urls: output.Urls
|
|
8642
|
-
? deserializeAws_json1_1SharePointUrlList(output.Urls, context)
|
|
8643
|
-
: undefined,
|
|
8175
|
+
Urls: output.Urls != null ? deserializeAws_json1_1SharePointUrlList(output.Urls, context) : undefined,
|
|
8644
8176
|
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
8645
|
-
VpcConfiguration: output.VpcConfiguration
|
|
8177
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
8646
8178
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
8647
8179
|
: undefined,
|
|
8648
8180
|
};
|
|
@@ -8660,9 +8192,7 @@ var deserializeAws_json1_1SharePointUrlList = function (output, context) {
|
|
|
8660
8192
|
};
|
|
8661
8193
|
var deserializeAws_json1_1SiteMapsConfiguration = function (output, context) {
|
|
8662
8194
|
return {
|
|
8663
|
-
SiteMaps: output.SiteMaps
|
|
8664
|
-
? deserializeAws_json1_1SiteMapsList(output.SiteMaps, context)
|
|
8665
|
-
: undefined,
|
|
8195
|
+
SiteMaps: output.SiteMaps != null ? deserializeAws_json1_1SiteMapsList(output.SiteMaps, context) : undefined,
|
|
8666
8196
|
};
|
|
8667
8197
|
};
|
|
8668
8198
|
var deserializeAws_json1_1SiteMapsList = function (output, context) {
|
|
@@ -8680,30 +8210,30 @@ var deserializeAws_json1_1SlackConfiguration = function (output, context) {
|
|
|
8680
8210
|
return {
|
|
8681
8211
|
CrawlBotMessage: __expectBoolean(output.CrawlBotMessage),
|
|
8682
8212
|
ExcludeArchived: __expectBoolean(output.ExcludeArchived),
|
|
8683
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
8213
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
8684
8214
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8685
8215
|
: undefined,
|
|
8686
|
-
FieldMappings: output.FieldMappings
|
|
8216
|
+
FieldMappings: output.FieldMappings != null
|
|
8687
8217
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8688
8218
|
: undefined,
|
|
8689
|
-
InclusionPatterns: output.InclusionPatterns
|
|
8219
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
8690
8220
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8691
8221
|
: undefined,
|
|
8692
8222
|
LookBackPeriod: __expectInt32(output.LookBackPeriod),
|
|
8693
|
-
PrivateChannelFilter: output.PrivateChannelFilter
|
|
8223
|
+
PrivateChannelFilter: output.PrivateChannelFilter != null
|
|
8694
8224
|
? deserializeAws_json1_1PrivateChannelFilter(output.PrivateChannelFilter, context)
|
|
8695
8225
|
: undefined,
|
|
8696
|
-
PublicChannelFilter: output.PublicChannelFilter
|
|
8226
|
+
PublicChannelFilter: output.PublicChannelFilter != null
|
|
8697
8227
|
? deserializeAws_json1_1PublicChannelFilter(output.PublicChannelFilter, context)
|
|
8698
8228
|
: undefined,
|
|
8699
8229
|
SecretArn: __expectString(output.SecretArn),
|
|
8700
8230
|
SinceCrawlDate: __expectString(output.SinceCrawlDate),
|
|
8701
|
-
SlackEntityList: output.SlackEntityList
|
|
8231
|
+
SlackEntityList: output.SlackEntityList != null
|
|
8702
8232
|
? deserializeAws_json1_1SlackEntityList(output.SlackEntityList, context)
|
|
8703
8233
|
: undefined,
|
|
8704
8234
|
TeamId: __expectString(output.TeamId),
|
|
8705
8235
|
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
8706
|
-
VpcConfiguration: output.VpcConfiguration
|
|
8236
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
8707
8237
|
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
8708
8238
|
: undefined,
|
|
8709
8239
|
};
|
|
@@ -8754,9 +8284,7 @@ var deserializeAws_json1_1SnapshotsDataRecords = function (output, context) {
|
|
|
8754
8284
|
};
|
|
8755
8285
|
var deserializeAws_json1_1SpellCorrectedQuery = function (output, context) {
|
|
8756
8286
|
return {
|
|
8757
|
-
Corrections: output.Corrections
|
|
8758
|
-
? deserializeAws_json1_1CorrectionList(output.Corrections, context)
|
|
8759
|
-
: undefined,
|
|
8287
|
+
Corrections: output.Corrections != null ? deserializeAws_json1_1CorrectionList(output.Corrections, context) : undefined,
|
|
8760
8288
|
SuggestedQueryText: __expectString(output.SuggestedQueryText),
|
|
8761
8289
|
};
|
|
8762
8290
|
};
|
|
@@ -8814,9 +8342,7 @@ var deserializeAws_json1_1SubnetIdList = function (output, context) {
|
|
|
8814
8342
|
var deserializeAws_json1_1Suggestion = function (output, context) {
|
|
8815
8343
|
return {
|
|
8816
8344
|
Id: __expectString(output.Id),
|
|
8817
|
-
Value: output.Value
|
|
8818
|
-
? deserializeAws_json1_1SuggestionValue(output.Value, context)
|
|
8819
|
-
: undefined,
|
|
8345
|
+
Value: output.Value != null ? deserializeAws_json1_1SuggestionValue(output.Value, context) : undefined,
|
|
8820
8346
|
};
|
|
8821
8347
|
};
|
|
8822
8348
|
var deserializeAws_json1_1SuggestionHighlight = function (output, context) {
|
|
@@ -8849,17 +8375,13 @@ var deserializeAws_json1_1SuggestionList = function (output, context) {
|
|
|
8849
8375
|
};
|
|
8850
8376
|
var deserializeAws_json1_1SuggestionTextWithHighlights = function (output, context) {
|
|
8851
8377
|
return {
|
|
8852
|
-
Highlights: output.Highlights
|
|
8853
|
-
? deserializeAws_json1_1SuggestionHighlightList(output.Highlights, context)
|
|
8854
|
-
: undefined,
|
|
8378
|
+
Highlights: output.Highlights != null ? deserializeAws_json1_1SuggestionHighlightList(output.Highlights, context) : undefined,
|
|
8855
8379
|
Text: __expectString(output.Text),
|
|
8856
8380
|
};
|
|
8857
8381
|
};
|
|
8858
8382
|
var deserializeAws_json1_1SuggestionValue = function (output, context) {
|
|
8859
8383
|
return {
|
|
8860
|
-
Text: output.Text
|
|
8861
|
-
? deserializeAws_json1_1SuggestionTextWithHighlights(output.Text, context)
|
|
8862
|
-
: undefined,
|
|
8384
|
+
Text: output.Text != null ? deserializeAws_json1_1SuggestionTextWithHighlights(output.Text, context) : undefined,
|
|
8863
8385
|
};
|
|
8864
8386
|
};
|
|
8865
8387
|
var deserializeAws_json1_1Tag = function (output, context) {
|
|
@@ -8890,23 +8412,17 @@ var deserializeAws_json1_1TextDocumentStatistics = function (output, context) {
|
|
|
8890
8412
|
};
|
|
8891
8413
|
var deserializeAws_json1_1TextWithHighlights = function (output, context) {
|
|
8892
8414
|
return {
|
|
8893
|
-
Highlights: output.Highlights
|
|
8894
|
-
? deserializeAws_json1_1HighlightList(output.Highlights, context)
|
|
8895
|
-
: undefined,
|
|
8415
|
+
Highlights: output.Highlights != null ? deserializeAws_json1_1HighlightList(output.Highlights, context) : undefined,
|
|
8896
8416
|
Text: __expectString(output.Text),
|
|
8897
8417
|
};
|
|
8898
8418
|
};
|
|
8899
8419
|
var deserializeAws_json1_1ThesaurusSummary = function (output, context) {
|
|
8900
8420
|
return {
|
|
8901
|
-
CreatedAt: output.CreatedAt
|
|
8902
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
8903
|
-
: undefined,
|
|
8421
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
8904
8422
|
Id: __expectString(output.Id),
|
|
8905
8423
|
Name: __expectString(output.Name),
|
|
8906
8424
|
Status: __expectString(output.Status),
|
|
8907
|
-
UpdatedAt: output.UpdatedAt
|
|
8908
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
8909
|
-
: undefined,
|
|
8425
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
8910
8426
|
};
|
|
8911
8427
|
};
|
|
8912
8428
|
var deserializeAws_json1_1ThesaurusSummaryItems = function (output, context) {
|
|
@@ -8927,12 +8443,8 @@ var deserializeAws_json1_1ThrottlingException = function (output, context) {
|
|
|
8927
8443
|
};
|
|
8928
8444
|
var deserializeAws_json1_1TimeRange = function (output, context) {
|
|
8929
8445
|
return {
|
|
8930
|
-
EndTime: output.EndTime
|
|
8931
|
-
|
|
8932
|
-
: undefined,
|
|
8933
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
8934
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
8935
|
-
: undefined,
|
|
8446
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
8447
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
8936
8448
|
};
|
|
8937
8449
|
};
|
|
8938
8450
|
var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
@@ -8940,10 +8452,10 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
8940
8452
|
};
|
|
8941
8453
|
var deserializeAws_json1_1Urls = function (output, context) {
|
|
8942
8454
|
return {
|
|
8943
|
-
SeedUrlConfiguration: output.SeedUrlConfiguration
|
|
8455
|
+
SeedUrlConfiguration: output.SeedUrlConfiguration != null
|
|
8944
8456
|
? deserializeAws_json1_1SeedUrlConfiguration(output.SeedUrlConfiguration, context)
|
|
8945
8457
|
: undefined,
|
|
8946
|
-
SiteMapsConfiguration: output.SiteMapsConfiguration
|
|
8458
|
+
SiteMapsConfiguration: output.SiteMapsConfiguration != null
|
|
8947
8459
|
? deserializeAws_json1_1SiteMapsConfiguration(output.SiteMapsConfiguration, context)
|
|
8948
8460
|
: undefined,
|
|
8949
8461
|
};
|
|
@@ -8960,10 +8472,10 @@ var deserializeAws_json1_1UserIdentityConfiguration = function (output, context)
|
|
|
8960
8472
|
};
|
|
8961
8473
|
var deserializeAws_json1_1UserTokenConfiguration = function (output, context) {
|
|
8962
8474
|
return {
|
|
8963
|
-
JsonTokenTypeConfiguration: output.JsonTokenTypeConfiguration
|
|
8475
|
+
JsonTokenTypeConfiguration: output.JsonTokenTypeConfiguration != null
|
|
8964
8476
|
? deserializeAws_json1_1JsonTokenTypeConfiguration(output.JsonTokenTypeConfiguration, context)
|
|
8965
8477
|
: undefined,
|
|
8966
|
-
JwtTokenTypeConfiguration: output.JwtTokenTypeConfiguration
|
|
8478
|
+
JwtTokenTypeConfiguration: output.JwtTokenTypeConfiguration != null
|
|
8967
8479
|
? deserializeAws_json1_1JwtTokenTypeConfiguration(output.JwtTokenTypeConfiguration, context)
|
|
8968
8480
|
: undefined,
|
|
8969
8481
|
};
|
|
@@ -9013,35 +8525,35 @@ var deserializeAws_json1_1WarningList = function (output, context) {
|
|
|
9013
8525
|
};
|
|
9014
8526
|
var deserializeAws_json1_1WebCrawlerConfiguration = function (output, context) {
|
|
9015
8527
|
return {
|
|
9016
|
-
AuthenticationConfiguration: output.AuthenticationConfiguration
|
|
8528
|
+
AuthenticationConfiguration: output.AuthenticationConfiguration != null
|
|
9017
8529
|
? deserializeAws_json1_1AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
9018
8530
|
: undefined,
|
|
9019
8531
|
CrawlDepth: __expectInt32(output.CrawlDepth),
|
|
9020
8532
|
MaxContentSizePerPageInMegaBytes: __limitedParseFloat32(output.MaxContentSizePerPageInMegaBytes),
|
|
9021
8533
|
MaxLinksPerPage: __expectInt32(output.MaxLinksPerPage),
|
|
9022
8534
|
MaxUrlsPerMinuteCrawlRate: __expectInt32(output.MaxUrlsPerMinuteCrawlRate),
|
|
9023
|
-
ProxyConfiguration: output.ProxyConfiguration
|
|
8535
|
+
ProxyConfiguration: output.ProxyConfiguration != null
|
|
9024
8536
|
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
9025
8537
|
: undefined,
|
|
9026
|
-
UrlExclusionPatterns: output.UrlExclusionPatterns
|
|
8538
|
+
UrlExclusionPatterns: output.UrlExclusionPatterns != null
|
|
9027
8539
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.UrlExclusionPatterns, context)
|
|
9028
8540
|
: undefined,
|
|
9029
|
-
UrlInclusionPatterns: output.UrlInclusionPatterns
|
|
8541
|
+
UrlInclusionPatterns: output.UrlInclusionPatterns != null
|
|
9030
8542
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.UrlInclusionPatterns, context)
|
|
9031
8543
|
: undefined,
|
|
9032
|
-
Urls: output.Urls
|
|
8544
|
+
Urls: output.Urls != null ? deserializeAws_json1_1Urls(output.Urls, context) : undefined,
|
|
9033
8545
|
};
|
|
9034
8546
|
};
|
|
9035
8547
|
var deserializeAws_json1_1WorkDocsConfiguration = function (output, context) {
|
|
9036
8548
|
return {
|
|
9037
8549
|
CrawlComments: __expectBoolean(output.CrawlComments),
|
|
9038
|
-
ExclusionPatterns: output.ExclusionPatterns
|
|
8550
|
+
ExclusionPatterns: output.ExclusionPatterns != null
|
|
9039
8551
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
9040
8552
|
: undefined,
|
|
9041
|
-
FieldMappings: output.FieldMappings
|
|
8553
|
+
FieldMappings: output.FieldMappings != null
|
|
9042
8554
|
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
9043
8555
|
: undefined,
|
|
9044
|
-
InclusionPatterns: output.InclusionPatterns
|
|
8556
|
+
InclusionPatterns: output.InclusionPatterns != null
|
|
9045
8557
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
9046
8558
|
: undefined,
|
|
9047
8559
|
OrganizationId: __expectString(output.OrganizationId),
|