@aws-sdk/client-kendra 3.142.0 → 3.152.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/models/models_0.js +11 -10
- package/dist-cjs/models/models_1.js +5 -1
- package/dist-cjs/protocols/Aws_json1_1.js +43 -0
- package/dist-es/models/models_0.js +3 -2
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +43 -7
- package/dist-types/models/models_0.d.ts +113 -124
- package/dist-types/models/models_1.d.ts +92 -1
- package/dist-types/ts3.4/models/models_0.d.ts +28 -32
- package/dist-types/ts3.4/models/models_1.d.ts +26 -1
- package/package.json +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.152.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.151.0...v3.152.0) (2022-08-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-kendra:** This release adds Zendesk connector (which allows you to specify Zendesk SAAS platform as data source), Proxy Support for Sharepoint and Confluence Server (which allows you to specify the proxy configuration if proxy is required to connect to your Sharepoint/Confluence Server as data source). ([5bc8cef](https://github.com/aws/aws-sdk-js-v3/commit/5bc8cef902aa063fb2fe46dc02dc89120ce1e28e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DocumentAttributeValueType = exports.Order = exports.FaqStatus = exports.ExperienceStatus = exports.EndpointType = exports.DataSourceStatus = exports.KeyLocation = exports.UserGroupResolutionMode = exports.UserContextPolicy = exports.IndexEdition = exports.FaqFileFormat = exports.DataSourceType = exports.WebCrawlerMode = exports.SlackEntity = exports.SharePointVersion = exports.SharePointOnlineAuthenticationType = exports.ServiceNowBuildVersionType = exports.ServiceNowAuthenticationType = exports.SalesforceStandardObjectName = exports.SalesforceKnowledgeArticleState = exports.SalesforceChatterFeedIncludeFilterType = exports.IssueSubEntity = exports.Type = exports.FsxFileSystemType = exports.QueryIdentifiersEnclosingOption = exports.DatabaseEngineType = exports.ConfluenceVersion = exports.ConfluenceSpaceFieldName = exports.ConfluencePageFieldName = exports.ConfluenceBlogFieldName = exports.ConfluenceAttachmentFieldName = exports.ServiceQuotaExceededException = exports.ContentType = exports.PrincipalType = exports.ReadAccessType = exports.ConditionOperator = exports.DocumentStatus = exports.ConflictException = exports.ErrorCode = exports.Persona = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceAlreadyExistException = exports.InternalServerException = exports.EntityType = exports.AlfrescoEntity = exports.AdditionalResultAttributeValueType = exports.HighlightType = exports.AccessDeniedException = void 0;
|
|
4
4
|
exports.DocumentAttributeTargetFilterSensitiveLog = exports.DocumentAttributeConditionFilterSensitiveLog = exports.BatchGetDocumentStatusResponseFilterSensitiveLog = exports.BatchGetDocumentStatusResponseErrorFilterSensitiveLog = exports.StatusFilterSensitiveLog = exports.BatchGetDocumentStatusRequestFilterSensitiveLog = exports.DocumentInfoFilterSensitiveLog = exports.BatchDeleteDocumentResponseFilterSensitiveLog = exports.BatchDeleteDocumentResponseFailedDocumentFilterSensitiveLog = exports.BatchDeleteDocumentRequestFilterSensitiveLog = exports.DataSourceSyncJobMetricTargetFilterSensitiveLog = exports.AuthenticationConfigurationFilterSensitiveLog = exports.BasicAuthenticationConfigurationFilterSensitiveLog = exports.DocumentAttributeFilterSensitiveLog = exports.DocumentAttributeValueFilterSensitiveLog = exports.AssociatePersonasToEntitiesResponseFilterSensitiveLog = exports.AssociatePersonasToEntitiesRequestFilterSensitiveLog = exports.EntityPersonaConfigurationFilterSensitiveLog = exports.AssociateEntitiesToExperienceResponseFilterSensitiveLog = exports.FailedEntityFilterSensitiveLog = exports.AssociateEntitiesToExperienceRequestFilterSensitiveLog = exports.EntityConfigurationFilterSensitiveLog = exports.AlfrescoConfigurationFilterSensitiveLog = exports.DataSourceVpcConfigurationFilterSensitiveLog = exports.S3PathFilterSensitiveLog = exports.DataSourceToIndexFieldMappingFilterSensitiveLog = exports.AdditionalResultAttributeFilterSensitiveLog = exports.AdditionalResultAttributeValueFilterSensitiveLog = exports.TextWithHighlightsFilterSensitiveLog = exports.HighlightFilterSensitiveLog = exports.AclConfigurationFilterSensitiveLog = exports.AccessControlListConfigurationFilterSensitiveLog = exports.AccessControlConfigurationSummaryFilterSensitiveLog = exports.RelevanceType = exports.ResourceInUseException = exports.WarningCode = exports.ScoreConfidence = exports.SortOrder = exports.QueryResultType = exports.ResourceUnavailableException = exports.DataSourceSyncJobStatus = exports.InvalidRequestException = exports.MetricType = exports.Interval = exports.ThesaurusStatus = exports.QuerySuggestionsStatus = exports.Mode = exports.QuerySuggestionsBlockListStatus = exports.PrincipalMappingStatus = exports.IndexStatus = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
5
|
+
exports.SharePointConfigurationFilterSensitiveLog = exports.ServiceNowConfigurationFilterSensitiveLog = exports.ServiceNowServiceCatalogConfigurationFilterSensitiveLog = exports.ServiceNowKnowledgeArticleConfigurationFilterSensitiveLog = exports.SalesforceConfigurationFilterSensitiveLog = exports.SalesforceStandardObjectConfigurationFilterSensitiveLog = exports.SalesforceStandardObjectAttachmentConfigurationFilterSensitiveLog = exports.SalesforceKnowledgeArticleConfigurationFilterSensitiveLog = exports.SalesforceStandardKnowledgeArticleTypeConfigurationFilterSensitiveLog = exports.SalesforceCustomKnowledgeArticleTypeConfigurationFilterSensitiveLog = exports.SalesforceChatterFeedConfigurationFilterSensitiveLog = exports.S3DataSourceConfigurationFilterSensitiveLog = exports.DocumentsMetadataConfigurationFilterSensitiveLog = exports.QuipConfigurationFilterSensitiveLog = exports.OneDriveConfigurationFilterSensitiveLog = exports.OneDriveUsersFilterSensitiveLog = exports.JiraConfigurationFilterSensitiveLog = exports.GoogleDriveConfigurationFilterSensitiveLog = exports.GitHubConfigurationFilterSensitiveLog = exports.SaaSConfigurationFilterSensitiveLog = exports.OnPremiseConfigurationFilterSensitiveLog = exports.GitHubDocumentCrawlPropertiesFilterSensitiveLog = exports.FsxConfigurationFilterSensitiveLog = exports.DatabaseConfigurationFilterSensitiveLog = exports.SqlConfigurationFilterSensitiveLog = exports.ConnectionConfigurationFilterSensitiveLog = exports.ColumnConfigurationFilterSensitiveLog = exports.ConfluenceConfigurationFilterSensitiveLog = exports.ConfluenceSpaceConfigurationFilterSensitiveLog = exports.ConfluenceSpaceToIndexFieldMappingFilterSensitiveLog = exports.ProxyConfigurationFilterSensitiveLog = exports.ConfluencePageConfigurationFilterSensitiveLog = exports.ConfluencePageToIndexFieldMappingFilterSensitiveLog = exports.ConfluenceBlogConfigurationFilterSensitiveLog = exports.ConfluenceBlogToIndexFieldMappingFilterSensitiveLog = exports.ConfluenceAttachmentConfigurationFilterSensitiveLog = exports.ConfluenceAttachmentToIndexFieldMappingFilterSensitiveLog = exports.BoxConfigurationFilterSensitiveLog = exports.CreateAccessControlConfigurationResponseFilterSensitiveLog = exports.CreateAccessControlConfigurationRequestFilterSensitiveLog = exports.ClearQuerySuggestionsRequestFilterSensitiveLog = exports.BatchPutDocumentResponseFilterSensitiveLog = exports.BatchPutDocumentResponseFailedDocumentFilterSensitiveLog = exports.BatchPutDocumentRequestFilterSensitiveLog = exports.DocumentFilterSensitiveLog = exports.HierarchicalPrincipalFilterSensitiveLog = exports.PrincipalFilterSensitiveLog = exports.CustomDocumentEnrichmentConfigurationFilterSensitiveLog = exports.HookConfigurationFilterSensitiveLog = exports.InlineCustomDocumentEnrichmentConfigurationFilterSensitiveLog = void 0;
|
|
6
|
+
exports.CapacityUnitsConfigurationFilterSensitiveLog = exports.DescribeIndexRequestFilterSensitiveLog = exports.DescribeFaqResponseFilterSensitiveLog = exports.DescribeFaqRequestFilterSensitiveLog = exports.DescribeExperienceResponseFilterSensitiveLog = exports.ExperienceEndpointFilterSensitiveLog = exports.DescribeExperienceRequestFilterSensitiveLog = exports.DescribeDataSourceResponseFilterSensitiveLog = exports.DescribeDataSourceRequestFilterSensitiveLog = exports.DescribeAccessControlConfigurationResponseFilterSensitiveLog = exports.DescribeAccessControlConfigurationRequestFilterSensitiveLog = exports.DeleteThesaurusRequestFilterSensitiveLog = exports.DeleteQuerySuggestionsBlockListRequestFilterSensitiveLog = exports.DeletePrincipalMappingRequestFilterSensitiveLog = exports.DeleteIndexRequestFilterSensitiveLog = exports.DeleteFaqRequestFilterSensitiveLog = exports.DeleteExperienceResponseFilterSensitiveLog = exports.DeleteExperienceRequestFilterSensitiveLog = exports.DeleteDataSourceRequestFilterSensitiveLog = exports.DeleteAccessControlConfigurationResponseFilterSensitiveLog = exports.DeleteAccessControlConfigurationRequestFilterSensitiveLog = exports.CreateThesaurusResponseFilterSensitiveLog = exports.CreateThesaurusRequestFilterSensitiveLog = exports.CreateQuerySuggestionsBlockListResponseFilterSensitiveLog = exports.CreateQuerySuggestionsBlockListRequestFilterSensitiveLog = exports.CreateIndexResponseFilterSensitiveLog = exports.CreateIndexRequestFilterSensitiveLog = exports.UserTokenConfigurationFilterSensitiveLog = exports.JwtTokenTypeConfigurationFilterSensitiveLog = exports.JsonTokenTypeConfigurationFilterSensitiveLog = exports.UserGroupResolutionConfigurationFilterSensitiveLog = exports.ServerSideEncryptionConfigurationFilterSensitiveLog = exports.CreateFaqResponseFilterSensitiveLog = exports.CreateFaqRequestFilterSensitiveLog = exports.CreateExperienceResponseFilterSensitiveLog = exports.CreateExperienceRequestFilterSensitiveLog = exports.ExperienceConfigurationFilterSensitiveLog = exports.UserIdentityConfigurationFilterSensitiveLog = exports.ContentSourceConfigurationFilterSensitiveLog = exports.CreateDataSourceResponseFilterSensitiveLog = exports.CreateDataSourceRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.DataSourceConfigurationFilterSensitiveLog = exports.WorkDocsConfigurationFilterSensitiveLog = exports.WebCrawlerConfigurationFilterSensitiveLog = exports.UrlsFilterSensitiveLog = exports.SiteMapsConfigurationFilterSensitiveLog = exports.SeedUrlConfigurationFilterSensitiveLog = exports.TemplateConfigurationFilterSensitiveLog = exports.SlackConfigurationFilterSensitiveLog = void 0;
|
|
7
|
+
exports.FaqSummaryFilterSensitiveLog = exports.ListFaqsRequestFilterSensitiveLog = exports.ListExperiencesResponseFilterSensitiveLog = exports.ExperiencesSummaryFilterSensitiveLog = exports.ListExperiencesRequestFilterSensitiveLog = exports.ListExperienceEntitiesResponseFilterSensitiveLog = exports.ExperienceEntitiesSummaryFilterSensitiveLog = exports.EntityDisplayDataFilterSensitiveLog = exports.ListExperienceEntitiesRequestFilterSensitiveLog = exports.ListEntityPersonasResponseFilterSensitiveLog = exports.PersonasSummaryFilterSensitiveLog = exports.ListEntityPersonasRequestFilterSensitiveLog = exports.ListDataSourceSyncJobsResponseFilterSensitiveLog = exports.DataSourceSyncJobFilterSensitiveLog = exports.DataSourceSyncJobMetricsFilterSensitiveLog = exports.ListDataSourceSyncJobsRequestFilterSensitiveLog = exports.ListDataSourcesResponseFilterSensitiveLog = exports.DataSourceSummaryFilterSensitiveLog = exports.ListDataSourcesRequestFilterSensitiveLog = exports.ListAccessControlConfigurationsResponseFilterSensitiveLog = exports.ListAccessControlConfigurationsRequestFilterSensitiveLog = exports.GetSnapshotsResponseFilterSensitiveLog = exports.TimeRangeFilterSensitiveLog = exports.GetSnapshotsRequestFilterSensitiveLog = exports.GetQuerySuggestionsResponseFilterSensitiveLog = exports.SuggestionFilterSensitiveLog = exports.SuggestionValueFilterSensitiveLog = exports.SuggestionTextWithHighlightsFilterSensitiveLog = exports.SuggestionHighlightFilterSensitiveLog = exports.GetQuerySuggestionsRequestFilterSensitiveLog = exports.DisassociatePersonasFromEntitiesResponseFilterSensitiveLog = exports.DisassociatePersonasFromEntitiesRequestFilterSensitiveLog = exports.DisassociateEntitiesFromExperienceResponseFilterSensitiveLog = exports.DisassociateEntitiesFromExperienceRequestFilterSensitiveLog = exports.DescribeThesaurusResponseFilterSensitiveLog = exports.DescribeThesaurusRequestFilterSensitiveLog = exports.DescribeQuerySuggestionsConfigResponseFilterSensitiveLog = exports.DescribeQuerySuggestionsConfigRequestFilterSensitiveLog = exports.DescribeQuerySuggestionsBlockListResponseFilterSensitiveLog = exports.DescribeQuerySuggestionsBlockListRequestFilterSensitiveLog = exports.DescribePrincipalMappingResponseFilterSensitiveLog = exports.GroupOrderingIdSummaryFilterSensitiveLog = exports.DescribePrincipalMappingRequestFilterSensitiveLog = exports.DescribeIndexResponseFilterSensitiveLog = exports.IndexStatisticsFilterSensitiveLog = exports.TextDocumentStatisticsFilterSensitiveLog = exports.FaqStatisticsFilterSensitiveLog = exports.DocumentMetadataConfigurationFilterSensitiveLog = exports.SearchFilterSensitiveLog = exports.RelevanceFilterSensitiveLog = void 0;
|
|
8
|
+
exports.FacetResultFilterSensitiveLog = exports.DocumentAttributeValueCountPairFilterSensitiveLog = exports.FacetFilterSensitiveLog = exports.UpdateThesaurusRequestFilterSensitiveLog = exports.UpdateQuerySuggestionsConfigRequestFilterSensitiveLog = exports.UpdateQuerySuggestionsBlockListRequestFilterSensitiveLog = exports.UpdateIndexRequestFilterSensitiveLog = exports.UpdateExperienceRequestFilterSensitiveLog = exports.UpdateDataSourceRequestFilterSensitiveLog = exports.UpdateAccessControlConfigurationResponseFilterSensitiveLog = exports.UpdateAccessControlConfigurationRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SubmitFeedbackRequestFilterSensitiveLog = exports.RelevanceFeedbackFilterSensitiveLog = exports.ClickFeedbackFilterSensitiveLog = exports.StopDataSourceSyncJobRequestFilterSensitiveLog = exports.StartDataSourceSyncJobResponseFilterSensitiveLog = exports.StartDataSourceSyncJobRequestFilterSensitiveLog = exports.WarningFilterSensitiveLog = exports.SpellCorrectedQueryFilterSensitiveLog = exports.CorrectionFilterSensitiveLog = exports.QueryResultItemFilterSensitiveLog = exports.ScoreAttributesFilterSensitiveLog = exports.UserContextFilterSensitiveLog = exports.DataSourceGroupFilterSensitiveLog = exports.SpellCorrectionConfigurationFilterSensitiveLog = exports.SortingConfigurationFilterSensitiveLog = exports.DocumentRelevanceConfigurationFilterSensitiveLog = exports.PutPrincipalMappingRequestFilterSensitiveLog = exports.GroupMembersFilterSensitiveLog = exports.MemberUserFilterSensitiveLog = exports.MemberGroupFilterSensitiveLog = exports.ListThesauriResponseFilterSensitiveLog = exports.ThesaurusSummaryFilterSensitiveLog = exports.ListThesauriRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListQuerySuggestionsBlockListsResponseFilterSensitiveLog = exports.QuerySuggestionsBlockListSummaryFilterSensitiveLog = exports.ListQuerySuggestionsBlockListsRequestFilterSensitiveLog = exports.ListIndicesResponseFilterSensitiveLog = exports.IndexConfigurationSummaryFilterSensitiveLog = exports.ListIndicesRequestFilterSensitiveLog = exports.ListGroupsOlderThanOrderingIdResponseFilterSensitiveLog = exports.GroupSummaryFilterSensitiveLog = exports.ListGroupsOlderThanOrderingIdRequestFilterSensitiveLog = exports.ListFaqsResponseFilterSensitiveLog = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const KendraServiceException_1 = require("./KendraServiceException");
|
|
11
11
|
class AccessDeniedException extends KendraServiceException_1.KendraServiceException {
|
|
@@ -354,6 +354,7 @@ var DataSourceType;
|
|
|
354
354
|
DataSourceType["SERVICENOW"] = "SERVICENOW";
|
|
355
355
|
DataSourceType["SHAREPOINT"] = "SHAREPOINT";
|
|
356
356
|
DataSourceType["SLACK"] = "SLACK";
|
|
357
|
+
DataSourceType["TEMPLATE"] = "TEMPLATE";
|
|
357
358
|
DataSourceType["WEBCRAWLER"] = "WEBCRAWLER";
|
|
358
359
|
DataSourceType["WORKDOCS"] = "WORKDOCS";
|
|
359
360
|
})(DataSourceType = exports.DataSourceType || (exports.DataSourceType = {}));
|
|
@@ -773,6 +774,10 @@ const ConfluencePageConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
773
774
|
...obj,
|
|
774
775
|
});
|
|
775
776
|
exports.ConfluencePageConfigurationFilterSensitiveLog = ConfluencePageConfigurationFilterSensitiveLog;
|
|
777
|
+
const ProxyConfigurationFilterSensitiveLog = (obj) => ({
|
|
778
|
+
...obj,
|
|
779
|
+
});
|
|
780
|
+
exports.ProxyConfigurationFilterSensitiveLog = ProxyConfigurationFilterSensitiveLog;
|
|
776
781
|
const ConfluenceSpaceToIndexFieldMappingFilterSensitiveLog = (obj) => ({
|
|
777
782
|
...obj,
|
|
778
783
|
});
|
|
@@ -897,10 +902,10 @@ const SlackConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
897
902
|
...obj,
|
|
898
903
|
});
|
|
899
904
|
exports.SlackConfigurationFilterSensitiveLog = SlackConfigurationFilterSensitiveLog;
|
|
900
|
-
const
|
|
905
|
+
const TemplateConfigurationFilterSensitiveLog = (obj) => ({
|
|
901
906
|
...obj,
|
|
902
907
|
});
|
|
903
|
-
exports.
|
|
908
|
+
exports.TemplateConfigurationFilterSensitiveLog = TemplateConfigurationFilterSensitiveLog;
|
|
904
909
|
const SeedUrlConfigurationFilterSensitiveLog = (obj) => ({
|
|
905
910
|
...obj,
|
|
906
911
|
});
|
|
@@ -1509,7 +1514,3 @@ const FacetResultFilterSensitiveLog = (obj) => ({
|
|
|
1509
1514
|
...obj,
|
|
1510
1515
|
});
|
|
1511
1516
|
exports.FacetResultFilterSensitiveLog = FacetResultFilterSensitiveLog;
|
|
1512
|
-
const AttributeFilterFilterSensitiveLog = (obj) => ({
|
|
1513
|
-
...obj,
|
|
1514
|
-
});
|
|
1515
|
-
exports.AttributeFilterFilterSensitiveLog = AttributeFilterFilterSensitiveLog;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryRequestFilterSensitiveLog = exports.QueryResultFilterSensitiveLog = void 0;
|
|
3
|
+
exports.QueryRequestFilterSensitiveLog = exports.QueryResultFilterSensitiveLog = exports.AttributeFilterFilterSensitiveLog = void 0;
|
|
4
|
+
const AttributeFilterFilterSensitiveLog = (obj) => ({
|
|
5
|
+
...obj,
|
|
6
|
+
});
|
|
7
|
+
exports.AttributeFilterFilterSensitiveLog = AttributeFilterFilterSensitiveLog;
|
|
4
8
|
const QueryResultFilterSensitiveLog = (obj) => ({
|
|
5
9
|
...obj,
|
|
6
10
|
});
|
|
@@ -3847,6 +3847,9 @@ const serializeAws_json1_1ConfluenceConfiguration = (input, context) => {
|
|
|
3847
3847
|
...(input.PageConfiguration != null && {
|
|
3848
3848
|
PageConfiguration: serializeAws_json1_1ConfluencePageConfiguration(input.PageConfiguration, context),
|
|
3849
3849
|
}),
|
|
3850
|
+
...(input.ProxyConfiguration != null && {
|
|
3851
|
+
ProxyConfiguration: serializeAws_json1_1ProxyConfiguration(input.ProxyConfiguration, context),
|
|
3852
|
+
}),
|
|
3850
3853
|
...(input.SecretArn != null && { SecretArn: input.SecretArn }),
|
|
3851
3854
|
...(input.ServerUrl != null && { ServerUrl: input.ServerUrl }),
|
|
3852
3855
|
...(input.SpaceConfiguration != null && {
|
|
@@ -3966,6 +3969,9 @@ const serializeAws_json1_1CreateDataSourceRequest = (input, context) => {
|
|
|
3966
3969
|
...(input.Schedule != null && { Schedule: input.Schedule }),
|
|
3967
3970
|
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
3968
3971
|
...(input.Type != null && { Type: input.Type }),
|
|
3972
|
+
...(input.VpcConfiguration != null && {
|
|
3973
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
3974
|
+
}),
|
|
3969
3975
|
};
|
|
3970
3976
|
};
|
|
3971
3977
|
const serializeAws_json1_1CreateExperienceRequest = (input, context) => {
|
|
@@ -4121,6 +4127,9 @@ const serializeAws_json1_1DataSourceConfiguration = (input, context) => {
|
|
|
4121
4127
|
...(input.SlackConfiguration != null && {
|
|
4122
4128
|
SlackConfiguration: serializeAws_json1_1SlackConfiguration(input.SlackConfiguration, context),
|
|
4123
4129
|
}),
|
|
4130
|
+
...(input.TemplateConfiguration != null && {
|
|
4131
|
+
TemplateConfiguration: serializeAws_json1_1TemplateConfiguration(input.TemplateConfiguration, context),
|
|
4132
|
+
}),
|
|
4124
4133
|
...(input.WebCrawlerConfiguration != null && {
|
|
4125
4134
|
WebCrawlerConfiguration: serializeAws_json1_1WebCrawlerConfiguration(input.WebCrawlerConfiguration, context),
|
|
4126
4135
|
}),
|
|
@@ -5350,6 +5359,9 @@ const serializeAws_json1_1SharePointConfiguration = (input, context) => {
|
|
|
5350
5359
|
...(input.InclusionPatterns != null && {
|
|
5351
5360
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5352
5361
|
}),
|
|
5362
|
+
...(input.ProxyConfiguration != null && {
|
|
5363
|
+
ProxyConfiguration: serializeAws_json1_1ProxyConfiguration(input.ProxyConfiguration, context),
|
|
5364
|
+
}),
|
|
5353
5365
|
...(input.SecretArn != null && { SecretArn: input.SecretArn }),
|
|
5354
5366
|
...(input.SharePointVersion != null && { SharePointVersion: input.SharePointVersion }),
|
|
5355
5367
|
...(input.SslCertificateS3Path != null && {
|
|
@@ -5504,6 +5516,14 @@ const serializeAws_json1_1TagResourceRequest = (input, context) => {
|
|
|
5504
5516
|
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
5505
5517
|
};
|
|
5506
5518
|
};
|
|
5519
|
+
const serializeAws_json1_1Template = (input, context) => {
|
|
5520
|
+
return input;
|
|
5521
|
+
};
|
|
5522
|
+
const serializeAws_json1_1TemplateConfiguration = (input, context) => {
|
|
5523
|
+
return {
|
|
5524
|
+
...(input.Template != null && { Template: serializeAws_json1_1Template(input.Template, context) }),
|
|
5525
|
+
};
|
|
5526
|
+
};
|
|
5507
5527
|
const serializeAws_json1_1TimeRange = (input, context) => {
|
|
5508
5528
|
return {
|
|
5509
5529
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
@@ -5545,6 +5565,9 @@ const serializeAws_json1_1UpdateDataSourceRequest = (input, context) => {
|
|
|
5545
5565
|
...(input.Name != null && { Name: input.Name }),
|
|
5546
5566
|
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
5547
5567
|
...(input.Schedule != null && { Schedule: input.Schedule }),
|
|
5568
|
+
...(input.VpcConfiguration != null && {
|
|
5569
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5570
|
+
}),
|
|
5548
5571
|
};
|
|
5549
5572
|
};
|
|
5550
5573
|
const serializeAws_json1_1UpdateExperienceRequest = (input, context) => {
|
|
@@ -6062,6 +6085,9 @@ const deserializeAws_json1_1ConfluenceConfiguration = (output, context) => {
|
|
|
6062
6085
|
PageConfiguration: output.PageConfiguration != null
|
|
6063
6086
|
? deserializeAws_json1_1ConfluencePageConfiguration(output.PageConfiguration, context)
|
|
6064
6087
|
: undefined,
|
|
6088
|
+
ProxyConfiguration: output.ProxyConfiguration != null
|
|
6089
|
+
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
6090
|
+
: undefined,
|
|
6065
6091
|
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
6066
6092
|
ServerUrl: (0, smithy_client_1.expectString)(output.ServerUrl),
|
|
6067
6093
|
SpaceConfiguration: output.SpaceConfiguration != null
|
|
@@ -6293,6 +6319,9 @@ const deserializeAws_json1_1DataSourceConfiguration = (output, context) => {
|
|
|
6293
6319
|
SlackConfiguration: output.SlackConfiguration != null
|
|
6294
6320
|
? deserializeAws_json1_1SlackConfiguration(output.SlackConfiguration, context)
|
|
6295
6321
|
: undefined,
|
|
6322
|
+
TemplateConfiguration: output.TemplateConfiguration != null
|
|
6323
|
+
? deserializeAws_json1_1TemplateConfiguration(output.TemplateConfiguration, context)
|
|
6324
|
+
: undefined,
|
|
6296
6325
|
WebCrawlerConfiguration: output.WebCrawlerConfiguration != null
|
|
6297
6326
|
? deserializeAws_json1_1WebCrawlerConfiguration(output.WebCrawlerConfiguration, context)
|
|
6298
6327
|
: undefined,
|
|
@@ -6442,6 +6471,9 @@ const deserializeAws_json1_1DescribeDataSourceResponse = (output, context) => {
|
|
|
6442
6471
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6443
6472
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6444
6473
|
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
|
|
6474
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
6475
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6476
|
+
: undefined,
|
|
6445
6477
|
};
|
|
6446
6478
|
};
|
|
6447
6479
|
const deserializeAws_json1_1DescribeExperienceResponse = (output, context) => {
|
|
@@ -7890,6 +7922,9 @@ const deserializeAws_json1_1SharePointConfiguration = (output, context) => {
|
|
|
7890
7922
|
InclusionPatterns: output.InclusionPatterns != null
|
|
7891
7923
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7892
7924
|
: undefined,
|
|
7925
|
+
ProxyConfiguration: output.ProxyConfiguration != null
|
|
7926
|
+
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
7927
|
+
: undefined,
|
|
7893
7928
|
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
7894
7929
|
SharePointVersion: (0, smithy_client_1.expectString)(output.SharePointVersion),
|
|
7895
7930
|
SslCertificateS3Path: output.SslCertificateS3Path != null
|
|
@@ -8127,6 +8162,14 @@ const deserializeAws_json1_1TagList = (output, context) => {
|
|
|
8127
8162
|
const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
8128
8163
|
return {};
|
|
8129
8164
|
};
|
|
8165
|
+
const deserializeAws_json1_1Template = (output, context) => {
|
|
8166
|
+
return output;
|
|
8167
|
+
};
|
|
8168
|
+
const deserializeAws_json1_1TemplateConfiguration = (output, context) => {
|
|
8169
|
+
return {
|
|
8170
|
+
Template: output.Template != null ? deserializeAws_json1_1Template(output.Template, context) : undefined,
|
|
8171
|
+
};
|
|
8172
|
+
};
|
|
8130
8173
|
const deserializeAws_json1_1TextDocumentStatistics = (output, context) => {
|
|
8131
8174
|
return {
|
|
8132
8175
|
IndexedTextBytes: (0, smithy_client_1.expectLong)(output.IndexedTextBytes),
|
|
@@ -339,6 +339,7 @@ export var DataSourceType;
|
|
|
339
339
|
DataSourceType["SERVICENOW"] = "SERVICENOW";
|
|
340
340
|
DataSourceType["SHAREPOINT"] = "SHAREPOINT";
|
|
341
341
|
DataSourceType["SLACK"] = "SLACK";
|
|
342
|
+
DataSourceType["TEMPLATE"] = "TEMPLATE";
|
|
342
343
|
DataSourceType["WEBCRAWLER"] = "WEBCRAWLER";
|
|
343
344
|
DataSourceType["WORKDOCS"] = "WORKDOCS";
|
|
344
345
|
})(DataSourceType || (DataSourceType = {}));
|
|
@@ -599,6 +600,7 @@ export var ConfluenceBlogToIndexFieldMappingFilterSensitiveLog = function (obj)
|
|
|
599
600
|
export var ConfluenceBlogConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
600
601
|
export var ConfluencePageToIndexFieldMappingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
601
602
|
export var ConfluencePageConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
603
|
+
export var ProxyConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
602
604
|
export var ConfluenceSpaceToIndexFieldMappingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
603
605
|
export var ConfluenceSpaceConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
604
606
|
export var ConfluenceConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -630,7 +632,7 @@ export var ServiceNowServiceCatalogConfigurationFilterSensitiveLog = function (o
|
|
|
630
632
|
export var ServiceNowConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
631
633
|
export var SharePointConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
632
634
|
export var SlackConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
633
|
-
export var
|
|
635
|
+
export var TemplateConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
634
636
|
export var SeedUrlConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
635
637
|
export var SiteMapsConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
636
638
|
export var UrlsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -785,4 +787,3 @@ export var UpdateThesaurusRequestFilterSensitiveLog = function (obj) { return (_
|
|
|
785
787
|
export var FacetFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
786
788
|
export var DocumentAttributeValueCountPairFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
787
789
|
export var FacetResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
788
|
-
export var AttributeFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var AttributeFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
2
3
|
export var QueryResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
3
4
|
export var QueryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -5147,7 +5147,7 @@ var serializeAws_json1_1ConfluenceBlogToIndexFieldMapping = function (input, con
|
|
|
5147
5147
|
return __assign(__assign(__assign({}, (input.DataSourceFieldName != null && { DataSourceFieldName: input.DataSourceFieldName })), (input.DateFieldFormat != null && { DateFieldFormat: input.DateFieldFormat })), (input.IndexFieldName != null && { IndexFieldName: input.IndexFieldName }));
|
|
5148
5148
|
};
|
|
5149
5149
|
var serializeAws_json1_1ConfluenceConfiguration = function (input, context) {
|
|
5150
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentConfiguration != null && {
|
|
5150
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentConfiguration != null && {
|
|
5151
5151
|
AttachmentConfiguration: serializeAws_json1_1ConfluenceAttachmentConfiguration(input.AttachmentConfiguration, context),
|
|
5152
5152
|
})), (input.BlogConfiguration != null && {
|
|
5153
5153
|
BlogConfiguration: serializeAws_json1_1ConfluenceBlogConfiguration(input.BlogConfiguration, context),
|
|
@@ -5157,6 +5157,8 @@ var serializeAws_json1_1ConfluenceConfiguration = function (input, context) {
|
|
|
5157
5157
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5158
5158
|
})), (input.PageConfiguration != null && {
|
|
5159
5159
|
PageConfiguration: serializeAws_json1_1ConfluencePageConfiguration(input.PageConfiguration, context),
|
|
5160
|
+
})), (input.ProxyConfiguration != null && {
|
|
5161
|
+
ProxyConfiguration: serializeAws_json1_1ProxyConfiguration(input.ProxyConfiguration, context),
|
|
5160
5162
|
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.ServerUrl != null && { ServerUrl: input.ServerUrl })), (input.SpaceConfiguration != null && {
|
|
5161
5163
|
SpaceConfiguration: serializeAws_json1_1ConfluenceSpaceConfiguration(input.SpaceConfiguration, context),
|
|
5162
5164
|
})), (input.Version != null && { Version: input.Version })), (input.VpcConfiguration != null && {
|
|
@@ -5222,11 +5224,13 @@ var serializeAws_json1_1CreateAccessControlConfigurationRequest = function (inpu
|
|
|
5222
5224
|
};
|
|
5223
5225
|
var serializeAws_json1_1CreateDataSourceRequest = function (input, context) {
|
|
5224
5226
|
var _a;
|
|
5225
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Configuration != null && {
|
|
5227
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Configuration != null && {
|
|
5226
5228
|
Configuration: serializeAws_json1_1DataSourceConfiguration(input.Configuration, context),
|
|
5227
5229
|
})), (input.CustomDocumentEnrichmentConfiguration != null && {
|
|
5228
5230
|
CustomDocumentEnrichmentConfiguration: serializeAws_json1_1CustomDocumentEnrichmentConfiguration(input.CustomDocumentEnrichmentConfiguration, context),
|
|
5229
|
-
})), (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 }))
|
|
5231
|
+
})), (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 })), (input.VpcConfiguration != null && {
|
|
5232
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5233
|
+
}));
|
|
5230
5234
|
};
|
|
5231
5235
|
var serializeAws_json1_1CreateExperienceRequest = function (input, context) {
|
|
5232
5236
|
var _a;
|
|
@@ -5279,7 +5283,7 @@ var serializeAws_json1_1DatabaseConfiguration = function (input, context) {
|
|
|
5279
5283
|
}));
|
|
5280
5284
|
};
|
|
5281
5285
|
var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
5282
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlfrescoConfiguration != null && {
|
|
5286
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlfrescoConfiguration != null && {
|
|
5283
5287
|
AlfrescoConfiguration: serializeAws_json1_1AlfrescoConfiguration(input.AlfrescoConfiguration, context),
|
|
5284
5288
|
})), (input.BoxConfiguration != null && {
|
|
5285
5289
|
BoxConfiguration: serializeAws_json1_1BoxConfiguration(input.BoxConfiguration, context),
|
|
@@ -5309,6 +5313,8 @@ var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
|
5309
5313
|
SharePointConfiguration: serializeAws_json1_1SharePointConfiguration(input.SharePointConfiguration, context),
|
|
5310
5314
|
})), (input.SlackConfiguration != null && {
|
|
5311
5315
|
SlackConfiguration: serializeAws_json1_1SlackConfiguration(input.SlackConfiguration, context),
|
|
5316
|
+
})), (input.TemplateConfiguration != null && {
|
|
5317
|
+
TemplateConfiguration: serializeAws_json1_1TemplateConfiguration(input.TemplateConfiguration, context),
|
|
5312
5318
|
})), (input.WebCrawlerConfiguration != null && {
|
|
5313
5319
|
WebCrawlerConfiguration: serializeAws_json1_1WebCrawlerConfiguration(input.WebCrawlerConfiguration, context),
|
|
5314
5320
|
})), (input.WorkDocsConfiguration != null && {
|
|
@@ -6096,12 +6102,14 @@ var serializeAws_json1_1ServiceNowServiceCatalogConfiguration = function (input,
|
|
|
6096
6102
|
}));
|
|
6097
6103
|
};
|
|
6098
6104
|
var serializeAws_json1_1SharePointConfiguration = function (input, context) {
|
|
6099
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExclusionPatterns != null && {
|
|
6105
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExclusionPatterns != null && {
|
|
6100
6106
|
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
6101
6107
|
})), (input.FieldMappings != null && {
|
|
6102
6108
|
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6103
6109
|
})), (input.InclusionPatterns != null && {
|
|
6104
6110
|
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
6111
|
+
})), (input.ProxyConfiguration != null && {
|
|
6112
|
+
ProxyConfiguration: serializeAws_json1_1ProxyConfiguration(input.ProxyConfiguration, context),
|
|
6105
6113
|
})), (input.SecretArn != null && { SecretArn: input.SecretArn })), (input.SharePointVersion != null && { SharePointVersion: input.SharePointVersion })), (input.SslCertificateS3Path != null && {
|
|
6106
6114
|
SslCertificateS3Path: serializeAws_json1_1S3Path(input.SslCertificateS3Path, context),
|
|
6107
6115
|
})), (input.Urls != null && { Urls: serializeAws_json1_1SharePointUrlList(input.Urls, context) })), (input.UseChangeLog != null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration != null && {
|
|
@@ -6209,6 +6217,12 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
6209
6217
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
6210
6218
|
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
6211
6219
|
};
|
|
6220
|
+
var serializeAws_json1_1Template = function (input, context) {
|
|
6221
|
+
return input;
|
|
6222
|
+
};
|
|
6223
|
+
var serializeAws_json1_1TemplateConfiguration = function (input, context) {
|
|
6224
|
+
return __assign({}, (input.Template != null && { Template: serializeAws_json1_1Template(input.Template, context) }));
|
|
6225
|
+
};
|
|
6212
6226
|
var serializeAws_json1_1TimeRange = function (input, context) {
|
|
6213
6227
|
return __assign(__assign({}, (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
6214
6228
|
};
|
|
@@ -6223,11 +6237,13 @@ var serializeAws_json1_1UpdateAccessControlConfigurationRequest = function (inpu
|
|
|
6223
6237
|
})), (input.Id != null && { Id: input.Id })), (input.IndexId != null && { IndexId: input.IndexId })), (input.Name != null && { Name: input.Name }));
|
|
6224
6238
|
};
|
|
6225
6239
|
var serializeAws_json1_1UpdateDataSourceRequest = function (input, context) {
|
|
6226
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
|
|
6240
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
|
|
6227
6241
|
Configuration: serializeAws_json1_1DataSourceConfiguration(input.Configuration, context),
|
|
6228
6242
|
})), (input.CustomDocumentEnrichmentConfiguration != null && {
|
|
6229
6243
|
CustomDocumentEnrichmentConfiguration: serializeAws_json1_1CustomDocumentEnrichmentConfiguration(input.CustomDocumentEnrichmentConfiguration, context),
|
|
6230
|
-
})), (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 }))
|
|
6244
|
+
})), (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 })), (input.VpcConfiguration != null && {
|
|
6245
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
6246
|
+
}));
|
|
6231
6247
|
};
|
|
6232
6248
|
var serializeAws_json1_1UpdateExperienceRequest = function (input, context) {
|
|
6233
6249
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
|
|
@@ -6673,6 +6689,9 @@ var deserializeAws_json1_1ConfluenceConfiguration = function (output, context) {
|
|
|
6673
6689
|
PageConfiguration: output.PageConfiguration != null
|
|
6674
6690
|
? deserializeAws_json1_1ConfluencePageConfiguration(output.PageConfiguration, context)
|
|
6675
6691
|
: undefined,
|
|
6692
|
+
ProxyConfiguration: output.ProxyConfiguration != null
|
|
6693
|
+
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
6694
|
+
: undefined,
|
|
6676
6695
|
SecretArn: __expectString(output.SecretArn),
|
|
6677
6696
|
ServerUrl: __expectString(output.ServerUrl),
|
|
6678
6697
|
SpaceConfiguration: output.SpaceConfiguration != null
|
|
@@ -6904,6 +6923,9 @@ var deserializeAws_json1_1DataSourceConfiguration = function (output, context) {
|
|
|
6904
6923
|
SlackConfiguration: output.SlackConfiguration != null
|
|
6905
6924
|
? deserializeAws_json1_1SlackConfiguration(output.SlackConfiguration, context)
|
|
6906
6925
|
: undefined,
|
|
6926
|
+
TemplateConfiguration: output.TemplateConfiguration != null
|
|
6927
|
+
? deserializeAws_json1_1TemplateConfiguration(output.TemplateConfiguration, context)
|
|
6928
|
+
: undefined,
|
|
6907
6929
|
WebCrawlerConfiguration: output.WebCrawlerConfiguration != null
|
|
6908
6930
|
? deserializeAws_json1_1WebCrawlerConfiguration(output.WebCrawlerConfiguration, context)
|
|
6909
6931
|
: undefined,
|
|
@@ -7053,6 +7075,9 @@ var deserializeAws_json1_1DescribeDataSourceResponse = function (output, context
|
|
|
7053
7075
|
Status: __expectString(output.Status),
|
|
7054
7076
|
Type: __expectString(output.Type),
|
|
7055
7077
|
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
7078
|
+
VpcConfiguration: output.VpcConfiguration != null
|
|
7079
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7080
|
+
: undefined,
|
|
7056
7081
|
};
|
|
7057
7082
|
};
|
|
7058
7083
|
var deserializeAws_json1_1DescribeExperienceResponse = function (output, context) {
|
|
@@ -8501,6 +8526,9 @@ var deserializeAws_json1_1SharePointConfiguration = function (output, context) {
|
|
|
8501
8526
|
InclusionPatterns: output.InclusionPatterns != null
|
|
8502
8527
|
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8503
8528
|
: undefined,
|
|
8529
|
+
ProxyConfiguration: output.ProxyConfiguration != null
|
|
8530
|
+
? deserializeAws_json1_1ProxyConfiguration(output.ProxyConfiguration, context)
|
|
8531
|
+
: undefined,
|
|
8504
8532
|
SecretArn: __expectString(output.SecretArn),
|
|
8505
8533
|
SharePointVersion: __expectString(output.SharePointVersion),
|
|
8506
8534
|
SslCertificateS3Path: output.SslCertificateS3Path != null
|
|
@@ -8738,6 +8766,14 @@ var deserializeAws_json1_1TagList = function (output, context) {
|
|
|
8738
8766
|
var deserializeAws_json1_1TagResourceResponse = function (output, context) {
|
|
8739
8767
|
return {};
|
|
8740
8768
|
};
|
|
8769
|
+
var deserializeAws_json1_1Template = function (output, context) {
|
|
8770
|
+
return output;
|
|
8771
|
+
};
|
|
8772
|
+
var deserializeAws_json1_1TemplateConfiguration = function (output, context) {
|
|
8773
|
+
return {
|
|
8774
|
+
Template: output.Template != null ? deserializeAws_json1_1Template(output.Template, context) : undefined,
|
|
8775
|
+
};
|
|
8776
|
+
};
|
|
8741
8777
|
var deserializeAws_json1_1TextDocumentStatistics = function (output, context) {
|
|
8742
8778
|
return {
|
|
8743
8779
|
IndexedTextBytes: __expectLong(output.IndexedTextBytes),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { DocumentType as __DocumentType } from "@aws-sdk/types";
|
|
2
3
|
import { KendraServiceException as __BaseException } from "./KendraServiceException";
|
|
3
4
|
/**
|
|
4
5
|
* <p>Summary information on an access control configuration that you created for
|
|
@@ -17,7 +18,7 @@ export interface AccessControlConfigurationSummary {
|
|
|
17
18
|
*/
|
|
18
19
|
export interface AccessControlListConfiguration {
|
|
19
20
|
/**
|
|
20
|
-
* <p>Path to the Amazon
|
|
21
|
+
* <p>Path to the Amazon S3 bucket that contains the ACL files.</p>
|
|
21
22
|
*/
|
|
22
23
|
KeyPath?: string;
|
|
23
24
|
}
|
|
@@ -1461,6 +1462,35 @@ export interface ConfluencePageConfiguration {
|
|
|
1461
1462
|
*/
|
|
1462
1463
|
PageFieldMappings?: ConfluencePageToIndexFieldMapping[];
|
|
1463
1464
|
}
|
|
1465
|
+
/**
|
|
1466
|
+
* <p>Provides the configuration information for a web proxy to connect to
|
|
1467
|
+
* website hosts.</p>
|
|
1468
|
+
*/
|
|
1469
|
+
export interface ProxyConfiguration {
|
|
1470
|
+
/**
|
|
1471
|
+
* <p>The name of the website host you want to connect to
|
|
1472
|
+
* via a web proxy server.</p>
|
|
1473
|
+
* <p>For example, the host name of https://a.example.com/page1.html
|
|
1474
|
+
* is "a.example.com".</p>
|
|
1475
|
+
*/
|
|
1476
|
+
Host: string | undefined;
|
|
1477
|
+
/**
|
|
1478
|
+
* <p>The port number of the website host you want to connect
|
|
1479
|
+
* to via a web proxy server. </p>
|
|
1480
|
+
* <p>For example, the port for https://a.example.com/page1.html
|
|
1481
|
+
* is 443, the standard port for HTTPS.</p>
|
|
1482
|
+
*/
|
|
1483
|
+
Port: number | undefined;
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>Your secret ARN, which you can create in <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html">Secrets Manager</a>
|
|
1486
|
+
* </p>
|
|
1487
|
+
* <p>The credentials are optional. You use a secret if web proxy credentials
|
|
1488
|
+
* are required to connect to a website host. Amazon Kendra currently support basic
|
|
1489
|
+
* authentication to connect to a web proxy server. The secret stores your
|
|
1490
|
+
* credentials.</p>
|
|
1491
|
+
*/
|
|
1492
|
+
Credentials?: string;
|
|
1493
|
+
}
|
|
1464
1494
|
export declare enum ConfluenceSpaceFieldName {
|
|
1465
1495
|
DISPLAY_URL = "DISPLAY_URL",
|
|
1466
1496
|
ITEM_TYPE = "ITEM_TYPE",
|
|
@@ -1607,6 +1637,23 @@ export interface ConfluenceConfiguration {
|
|
|
1607
1637
|
* exclusion pattern takes precedence and the content isn't included in the index.</p>
|
|
1608
1638
|
*/
|
|
1609
1639
|
ExclusionPatterns?: string[];
|
|
1640
|
+
/**
|
|
1641
|
+
* <p>Configuration information to connect to your Confluence URL instance via a web proxy.
|
|
1642
|
+
* You can use this option for Confluence Server.</p>
|
|
1643
|
+
* <p>You must provide the website host name and port number. For example, the host name of
|
|
1644
|
+
* <i>https://a.example.com/page1.html</i> is "a.example.com" and the port
|
|
1645
|
+
* is 443, the standard port for HTTPS.</p>
|
|
1646
|
+
* <p>Web proxy credentials are optional and you can use them to connect to a web proxy
|
|
1647
|
+
* server that requires basic authentication of user name and password. To store web
|
|
1648
|
+
* proxy credentials, you use a secret in Secrets Manager.</p>
|
|
1649
|
+
* <p>It is recommended that you follow best security practices when configuring your
|
|
1650
|
+
* web proxy. This includes setting up throttling, setting up logging and monitoring,
|
|
1651
|
+
* and applying security patches on a regular basis. If you use your web proxy with
|
|
1652
|
+
* multiple data sources, sync jobs that occur at the same time could strain the load
|
|
1653
|
+
* on your proxy. It is recommended you prepare your proxy beforehand for any security
|
|
1654
|
+
* and load requirements.</p>
|
|
1655
|
+
*/
|
|
1656
|
+
ProxyConfiguration?: ProxyConfiguration;
|
|
1610
1657
|
}
|
|
1611
1658
|
/**
|
|
1612
1659
|
* <p>Provides information about how Amazon Kendra should use the columns of
|
|
@@ -2365,7 +2412,10 @@ export interface QuipConfiguration {
|
|
|
2365
2412
|
*/
|
|
2366
2413
|
CrawlAttachments?: boolean;
|
|
2367
2414
|
/**
|
|
2368
|
-
* <p>The identifiers of the Quip folders you want to index
|
|
2415
|
+
* <p>The identifiers of the Quip folders you want to index. You
|
|
2416
|
+
* can find in your browser URL when you access your folder
|
|
2417
|
+
* in Quip. For example,
|
|
2418
|
+
* <i>https://quip-company.com/zlLuOVNSarTL/folder-name</i>.</p>
|
|
2369
2419
|
*/
|
|
2370
2420
|
FolderIds?: string[];
|
|
2371
2421
|
/**
|
|
@@ -3055,6 +3105,23 @@ export interface SharePointConfiguration {
|
|
|
3055
3105
|
* SharePoint Online.</p>
|
|
3056
3106
|
*/
|
|
3057
3107
|
AuthenticationType?: SharePointOnlineAuthenticationType | string;
|
|
3108
|
+
/**
|
|
3109
|
+
* <p>Configuration information to connect to your Microsoft SharePoint site URLs
|
|
3110
|
+
* via instance via a web proxy. You can use this option for SharePoint Server.</p>
|
|
3111
|
+
* <p>You must provide the website host name and port number. For example, the host name of
|
|
3112
|
+
* <i>https://a.example.com/page1.html</i> is "a.example.com" and the port
|
|
3113
|
+
* is 443, the standard port for HTTPS.</p>
|
|
3114
|
+
* <p>Web proxy credentials are optional and you can use them to connect to a web proxy
|
|
3115
|
+
* server that requires basic authentication of user name and password. To store web
|
|
3116
|
+
* proxy credentials, you use a secret in Secrets Manager.</p>
|
|
3117
|
+
* <p>It is recommended that you follow best security practices when configuring your
|
|
3118
|
+
* web proxy. This includes setting up throttling, setting up logging and monitoring,
|
|
3119
|
+
* and applying security patches on a regular basis. If you use your web proxy with
|
|
3120
|
+
* multiple data sources, sync jobs that occur at the same time could strain the load
|
|
3121
|
+
* on your proxy. It is recommended you prepare your proxy beforehand for any security
|
|
3122
|
+
* and load requirements.</p>
|
|
3123
|
+
*/
|
|
3124
|
+
ProxyConfiguration?: ProxyConfiguration;
|
|
3058
3125
|
}
|
|
3059
3126
|
export declare enum SlackEntity {
|
|
3060
3127
|
DIRECT_MESSAGE = "DIRECT_MESSAGE",
|
|
@@ -3170,33 +3237,24 @@ export interface SlackConfiguration {
|
|
|
3170
3237
|
FieldMappings?: DataSourceToIndexFieldMapping[];
|
|
3171
3238
|
}
|
|
3172
3239
|
/**
|
|
3173
|
-
* <p>Provides
|
|
3174
|
-
*
|
|
3240
|
+
* <p>Provides a template for the configuration information to connect
|
|
3241
|
+
* to your data source.</p>
|
|
3175
3242
|
*/
|
|
3176
|
-
export interface
|
|
3177
|
-
/**
|
|
3178
|
-
* <p>The name of the website host you want to connect to
|
|
3179
|
-
* via a web proxy server.</p>
|
|
3180
|
-
* <p>For example, the host name of https://a.example.com/page1.html
|
|
3181
|
-
* is "a.example.com".</p>
|
|
3182
|
-
*/
|
|
3183
|
-
Host: string | undefined;
|
|
3184
|
-
/**
|
|
3185
|
-
* <p>The port number of the website host you want to connect
|
|
3186
|
-
* to via a web proxy server. </p>
|
|
3187
|
-
* <p>For example, the port for https://a.example.com/page1.html
|
|
3188
|
-
* is 443, the standard port for HTTPS.</p>
|
|
3189
|
-
*/
|
|
3190
|
-
Port: number | undefined;
|
|
3243
|
+
export interface TemplateConfiguration {
|
|
3191
3244
|
/**
|
|
3192
|
-
* <p>
|
|
3193
|
-
*
|
|
3194
|
-
*
|
|
3195
|
-
*
|
|
3196
|
-
*
|
|
3197
|
-
*
|
|
3245
|
+
* <p>The template schema used for the data source.</p>
|
|
3246
|
+
* <p>The following links to the template schema for data sources
|
|
3247
|
+
* where templates are supported:</p>
|
|
3248
|
+
* <ul>
|
|
3249
|
+
* <li>
|
|
3250
|
+
* <p>
|
|
3251
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-zendesk.html#zendesk-template-schema">Zendesk
|
|
3252
|
+
* template schema</a>
|
|
3253
|
+
* </p>
|
|
3254
|
+
* </li>
|
|
3255
|
+
* </ul>
|
|
3198
3256
|
*/
|
|
3199
|
-
|
|
3257
|
+
Template?: __DocumentType;
|
|
3200
3258
|
}
|
|
3201
3259
|
export declare enum WebCrawlerMode {
|
|
3202
3260
|
EVERYTHING = "EVERYTHING",
|
|
@@ -3536,6 +3594,11 @@ export interface DataSourceConfiguration {
|
|
|
3536
3594
|
* data source.</p>
|
|
3537
3595
|
*/
|
|
3538
3596
|
AlfrescoConfiguration?: AlfrescoConfiguration;
|
|
3597
|
+
/**
|
|
3598
|
+
* <p>Provides a template for the configuration information to connect
|
|
3599
|
+
* to your data source.</p>
|
|
3600
|
+
*/
|
|
3601
|
+
TemplateConfiguration?: TemplateConfiguration;
|
|
3539
3602
|
}
|
|
3540
3603
|
/**
|
|
3541
3604
|
* <p>A list of key/value pairs that identify an index, FAQ, or data source.
|
|
@@ -3571,13 +3634,13 @@ export declare enum DataSourceType {
|
|
|
3571
3634
|
SERVICENOW = "SERVICENOW",
|
|
3572
3635
|
SHAREPOINT = "SHAREPOINT",
|
|
3573
3636
|
SLACK = "SLACK",
|
|
3637
|
+
TEMPLATE = "TEMPLATE",
|
|
3574
3638
|
WEBCRAWLER = "WEBCRAWLER",
|
|
3575
3639
|
WORKDOCS = "WORKDOCS"
|
|
3576
3640
|
}
|
|
3577
3641
|
export interface CreateDataSourceRequest {
|
|
3578
3642
|
/**
|
|
3579
|
-
* <p>A
|
|
3580
|
-
* without deleting and recreating the data source connector.</p>
|
|
3643
|
+
* <p>A name for the data source connector.</p>
|
|
3581
3644
|
*/
|
|
3582
3645
|
Name: string | undefined;
|
|
3583
3646
|
/**
|
|
@@ -3597,6 +3660,11 @@ export interface CreateDataSourceRequest {
|
|
|
3597
3660
|
* data sources.</p>
|
|
3598
3661
|
*/
|
|
3599
3662
|
Configuration?: DataSourceConfiguration;
|
|
3663
|
+
/**
|
|
3664
|
+
* <p>Configuration information for an Amazon Virtual Private Cloud to connect to your
|
|
3665
|
+
* data source. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html">Configuring a VPC</a>.</p>
|
|
3666
|
+
*/
|
|
3667
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
3600
3668
|
/**
|
|
3601
3669
|
* <p>A description for the data source connector.</p>
|
|
3602
3670
|
*/
|
|
@@ -4288,7 +4356,7 @@ export interface DescribeDataSourceResponse {
|
|
|
4288
4356
|
*/
|
|
4289
4357
|
IndexId?: string;
|
|
4290
4358
|
/**
|
|
4291
|
-
* <p>The name
|
|
4359
|
+
* <p>The name for the data source.</p>
|
|
4292
4360
|
*/
|
|
4293
4361
|
Name?: string;
|
|
4294
4362
|
/**
|
|
@@ -4301,6 +4369,11 @@ export interface DescribeDataSourceResponse {
|
|
|
4301
4369
|
* source depend on the data source provider.</p>
|
|
4302
4370
|
*/
|
|
4303
4371
|
Configuration?: DataSourceConfiguration;
|
|
4372
|
+
/**
|
|
4373
|
+
* <p>Configuration information for an Amazon Virtual Private Cloud to connect to your
|
|
4374
|
+
* data source. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html">Configuring a VPC</a>.</p>
|
|
4375
|
+
*/
|
|
4376
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
4304
4377
|
/**
|
|
4305
4378
|
* <p>The Unix timestamp of when the data source was created.</p>
|
|
4306
4379
|
*/
|
|
@@ -6752,9 +6825,7 @@ export interface UpdateDataSourceRequest {
|
|
|
6752
6825
|
*/
|
|
6753
6826
|
Id: string | undefined;
|
|
6754
6827
|
/**
|
|
6755
|
-
* <p>A new name for the data source connector
|
|
6756
|
-
* first delete the data source and re-create it to change the
|
|
6757
|
-
* name of the data source.</p>
|
|
6828
|
+
* <p>A new name for the data source connector.</p>
|
|
6758
6829
|
*/
|
|
6759
6830
|
Name?: string;
|
|
6760
6831
|
/**
|
|
@@ -6765,6 +6836,11 @@ export interface UpdateDataSourceRequest {
|
|
|
6765
6836
|
* <p>Configuration information you want to update for the data source connector.</p>
|
|
6766
6837
|
*/
|
|
6767
6838
|
Configuration?: DataSourceConfiguration;
|
|
6839
|
+
/**
|
|
6840
|
+
* <p>Configuration information for an Amazon Virtual Private Cloud to connect to your
|
|
6841
|
+
* data source. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html">Configuring a VPC</a>.</p>
|
|
6842
|
+
*/
|
|
6843
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
6768
6844
|
/**
|
|
6769
6845
|
* <p>A new description for the data source connector.</p>
|
|
6770
6846
|
*/
|
|
@@ -7077,93 +7153,6 @@ export interface FacetResult {
|
|
|
7077
7153
|
*/
|
|
7078
7154
|
DocumentAttributeValueCountPairs?: DocumentAttributeValueCountPair[];
|
|
7079
7155
|
}
|
|
7080
|
-
/**
|
|
7081
|
-
* <p>Provides filtering the query results based on document
|
|
7082
|
-
* attributes.</p>
|
|
7083
|
-
* <p>When you use the <code>AndAllFilters</code> or
|
|
7084
|
-
* <code>OrAllFilters</code>, filters you can use 2 layers under the
|
|
7085
|
-
* first attribute filter. For example, you can use:</p>
|
|
7086
|
-
* <p>
|
|
7087
|
-
* <code><AndAllFilters></code>
|
|
7088
|
-
* </p>
|
|
7089
|
-
* <ol>
|
|
7090
|
-
* <li>
|
|
7091
|
-
* <p>
|
|
7092
|
-
* <code> <OrAllFilters></code>
|
|
7093
|
-
* </p>
|
|
7094
|
-
* </li>
|
|
7095
|
-
* <li>
|
|
7096
|
-
* <p>
|
|
7097
|
-
* <code> <EqualsTo></code>
|
|
7098
|
-
* </p>
|
|
7099
|
-
* </li>
|
|
7100
|
-
* </ol>
|
|
7101
|
-
* <p>If you use more than 2 layers, you receive a
|
|
7102
|
-
* <code>ValidationException</code> exception with the message
|
|
7103
|
-
* "<code>AttributeFilter</code> cannot have a depth of more
|
|
7104
|
-
* than 2."</p>
|
|
7105
|
-
* <p>If you use more than 10 attribute filters in a given list for
|
|
7106
|
-
* <code>AndAllFilters</code> or <code>OrAllFilters</code>, you receive
|
|
7107
|
-
* a <code>ValidationException</code> with the message
|
|
7108
|
-
* "<code>AttributeFilter</code> cannot have a length of more than 10".</p>
|
|
7109
|
-
*/
|
|
7110
|
-
export interface AttributeFilter {
|
|
7111
|
-
/**
|
|
7112
|
-
* <p>Performs a logical <code>AND</code> operation on all supplied
|
|
7113
|
-
* filters.</p>
|
|
7114
|
-
*/
|
|
7115
|
-
AndAllFilters?: AttributeFilter[];
|
|
7116
|
-
/**
|
|
7117
|
-
* <p>Performs a logical <code>OR</code> operation on all supplied
|
|
7118
|
-
* filters.</p>
|
|
7119
|
-
*/
|
|
7120
|
-
OrAllFilters?: AttributeFilter[];
|
|
7121
|
-
/**
|
|
7122
|
-
* <p>Performs a logical <code>NOT</code> operation on all supplied
|
|
7123
|
-
* filters.</p>
|
|
7124
|
-
*/
|
|
7125
|
-
NotFilter?: AttributeFilter;
|
|
7126
|
-
/**
|
|
7127
|
-
* <p>Performs an equals operation on two document attributes.</p>
|
|
7128
|
-
*/
|
|
7129
|
-
EqualsTo?: DocumentAttribute;
|
|
7130
|
-
/**
|
|
7131
|
-
* <p>Returns true when a document contains all of the specified document
|
|
7132
|
-
* attributes. This filter is only applicable to
|
|
7133
|
-
* <code>StringListValue</code> metadata.</p>
|
|
7134
|
-
*/
|
|
7135
|
-
ContainsAll?: DocumentAttribute;
|
|
7136
|
-
/**
|
|
7137
|
-
* <p>Returns true when a document contains any of the specified document
|
|
7138
|
-
* attributes. This filter is only applicable to
|
|
7139
|
-
* <code>StringListValue</code> metadata.</p>
|
|
7140
|
-
*/
|
|
7141
|
-
ContainsAny?: DocumentAttribute;
|
|
7142
|
-
/**
|
|
7143
|
-
* <p>Performs a greater than operation on two document attributes. Use
|
|
7144
|
-
* with a document attribute of type <code>Date</code> or
|
|
7145
|
-
* <code>Long</code>.</p>
|
|
7146
|
-
*/
|
|
7147
|
-
GreaterThan?: DocumentAttribute;
|
|
7148
|
-
/**
|
|
7149
|
-
* <p>Performs a greater or equals than operation on two document
|
|
7150
|
-
* attributes. Use with a document attribute of type <code>Date</code>
|
|
7151
|
-
* or <code>Long</code>.</p>
|
|
7152
|
-
*/
|
|
7153
|
-
GreaterThanOrEquals?: DocumentAttribute;
|
|
7154
|
-
/**
|
|
7155
|
-
* <p>Performs a less than operation on two document attributes. Use with
|
|
7156
|
-
* a document attribute of type <code>Date</code> or
|
|
7157
|
-
* <code>Long</code>.</p>
|
|
7158
|
-
*/
|
|
7159
|
-
LessThan?: DocumentAttribute;
|
|
7160
|
-
/**
|
|
7161
|
-
* <p>Performs a less than or equals operation on two document attributes.
|
|
7162
|
-
* Use with a document attribute of type <code>Date</code> or
|
|
7163
|
-
* <code>Long</code>.</p>
|
|
7164
|
-
*/
|
|
7165
|
-
LessThanOrEquals?: DocumentAttribute;
|
|
7166
|
-
}
|
|
7167
7156
|
/**
|
|
7168
7157
|
* @internal
|
|
7169
7158
|
*/
|
|
@@ -7372,6 +7361,10 @@ export declare const ConfluencePageToIndexFieldMappingFilterSensitiveLog: (obj:
|
|
|
7372
7361
|
* @internal
|
|
7373
7362
|
*/
|
|
7374
7363
|
export declare const ConfluencePageConfigurationFilterSensitiveLog: (obj: ConfluencePageConfiguration) => any;
|
|
7364
|
+
/**
|
|
7365
|
+
* @internal
|
|
7366
|
+
*/
|
|
7367
|
+
export declare const ProxyConfigurationFilterSensitiveLog: (obj: ProxyConfiguration) => any;
|
|
7375
7368
|
/**
|
|
7376
7369
|
* @internal
|
|
7377
7370
|
*/
|
|
@@ -7499,7 +7492,7 @@ export declare const SlackConfigurationFilterSensitiveLog: (obj: SlackConfigurat
|
|
|
7499
7492
|
/**
|
|
7500
7493
|
* @internal
|
|
7501
7494
|
*/
|
|
7502
|
-
export declare const
|
|
7495
|
+
export declare const TemplateConfigurationFilterSensitiveLog: (obj: TemplateConfiguration) => any;
|
|
7503
7496
|
/**
|
|
7504
7497
|
* @internal
|
|
7505
7498
|
*/
|
|
@@ -8092,7 +8085,3 @@ export declare const DocumentAttributeValueCountPairFilterSensitiveLog: (obj: Do
|
|
|
8092
8085
|
* @internal
|
|
8093
8086
|
*/
|
|
8094
8087
|
export declare const FacetResultFilterSensitiveLog: (obj: FacetResult) => any;
|
|
8095
|
-
/**
|
|
8096
|
-
* @internal
|
|
8097
|
-
*/
|
|
8098
|
-
export declare const AttributeFilterFilterSensitiveLog: (obj: AttributeFilter) => any;
|
|
@@ -1,4 +1,91 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DocumentAttribute, DocumentRelevanceConfiguration, Facet, FacetResult, QueryResultItem, QueryResultType, SortingConfiguration, SpellCorrectedQuery, SpellCorrectionConfiguration, UserContext, Warning } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* <p>Provides filtering the query results based on document
|
|
4
|
+
* attributes.</p>
|
|
5
|
+
* <p>When you use the <code>AndAllFilters</code> or
|
|
6
|
+
* <code>OrAllFilters</code>, filters you can use 2 layers under the
|
|
7
|
+
* first attribute filter. For example, you can use:</p>
|
|
8
|
+
* <p>
|
|
9
|
+
* <code><AndAllFilters></code>
|
|
10
|
+
* </p>
|
|
11
|
+
* <ol>
|
|
12
|
+
* <li>
|
|
13
|
+
* <p>
|
|
14
|
+
* <code> <OrAllFilters></code>
|
|
15
|
+
* </p>
|
|
16
|
+
* </li>
|
|
17
|
+
* <li>
|
|
18
|
+
* <p>
|
|
19
|
+
* <code> <EqualsTo></code>
|
|
20
|
+
* </p>
|
|
21
|
+
* </li>
|
|
22
|
+
* </ol>
|
|
23
|
+
* <p>If you use more than 2 layers, you receive a
|
|
24
|
+
* <code>ValidationException</code> exception with the message
|
|
25
|
+
* "<code>AttributeFilter</code> cannot have a depth of more
|
|
26
|
+
* than 2."</p>
|
|
27
|
+
* <p>If you use more than 10 attribute filters in a given list for
|
|
28
|
+
* <code>AndAllFilters</code> or <code>OrAllFilters</code>, you receive
|
|
29
|
+
* a <code>ValidationException</code> with the message
|
|
30
|
+
* "<code>AttributeFilter</code> cannot have a length of more than 10".</p>
|
|
31
|
+
*/
|
|
32
|
+
export interface AttributeFilter {
|
|
33
|
+
/**
|
|
34
|
+
* <p>Performs a logical <code>AND</code> operation on all supplied
|
|
35
|
+
* filters.</p>
|
|
36
|
+
*/
|
|
37
|
+
AndAllFilters?: AttributeFilter[];
|
|
38
|
+
/**
|
|
39
|
+
* <p>Performs a logical <code>OR</code> operation on all supplied
|
|
40
|
+
* filters.</p>
|
|
41
|
+
*/
|
|
42
|
+
OrAllFilters?: AttributeFilter[];
|
|
43
|
+
/**
|
|
44
|
+
* <p>Performs a logical <code>NOT</code> operation on all supplied
|
|
45
|
+
* filters.</p>
|
|
46
|
+
*/
|
|
47
|
+
NotFilter?: AttributeFilter;
|
|
48
|
+
/**
|
|
49
|
+
* <p>Performs an equals operation on two document attributes.</p>
|
|
50
|
+
*/
|
|
51
|
+
EqualsTo?: DocumentAttribute;
|
|
52
|
+
/**
|
|
53
|
+
* <p>Returns true when a document contains all of the specified document
|
|
54
|
+
* attributes. This filter is only applicable to
|
|
55
|
+
* <code>StringListValue</code> metadata.</p>
|
|
56
|
+
*/
|
|
57
|
+
ContainsAll?: DocumentAttribute;
|
|
58
|
+
/**
|
|
59
|
+
* <p>Returns true when a document contains any of the specified document
|
|
60
|
+
* attributes. This filter is only applicable to
|
|
61
|
+
* <code>StringListValue</code> metadata.</p>
|
|
62
|
+
*/
|
|
63
|
+
ContainsAny?: DocumentAttribute;
|
|
64
|
+
/**
|
|
65
|
+
* <p>Performs a greater than operation on two document attributes. Use
|
|
66
|
+
* with a document attribute of type <code>Date</code> or
|
|
67
|
+
* <code>Long</code>.</p>
|
|
68
|
+
*/
|
|
69
|
+
GreaterThan?: DocumentAttribute;
|
|
70
|
+
/**
|
|
71
|
+
* <p>Performs a greater or equals than operation on two document
|
|
72
|
+
* attributes. Use with a document attribute of type <code>Date</code>
|
|
73
|
+
* or <code>Long</code>.</p>
|
|
74
|
+
*/
|
|
75
|
+
GreaterThanOrEquals?: DocumentAttribute;
|
|
76
|
+
/**
|
|
77
|
+
* <p>Performs a less than operation on two document attributes. Use with
|
|
78
|
+
* a document attribute of type <code>Date</code> or
|
|
79
|
+
* <code>Long</code>.</p>
|
|
80
|
+
*/
|
|
81
|
+
LessThan?: DocumentAttribute;
|
|
82
|
+
/**
|
|
83
|
+
* <p>Performs a less than or equals operation on two document attributes.
|
|
84
|
+
* Use with a document attribute of type <code>Date</code> or
|
|
85
|
+
* <code>Long</code>.</p>
|
|
86
|
+
*/
|
|
87
|
+
LessThanOrEquals?: DocumentAttribute;
|
|
88
|
+
}
|
|
2
89
|
export interface QueryResult {
|
|
3
90
|
/**
|
|
4
91
|
* <p>The unique identifier for the search. You use <code>QueryId</code>
|
|
@@ -122,6 +209,10 @@ export interface QueryRequest {
|
|
|
122
209
|
*/
|
|
123
210
|
SpellCorrectionConfiguration?: SpellCorrectionConfiguration;
|
|
124
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* @internal
|
|
214
|
+
*/
|
|
215
|
+
export declare const AttributeFilterFilterSensitiveLog: (obj: AttributeFilter) => any;
|
|
125
216
|
/**
|
|
126
217
|
* @internal
|
|
127
218
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { DocumentType as __DocumentType } from "@aws-sdk/types";
|
|
2
3
|
import { KendraServiceException as __BaseException } from "./KendraServiceException";
|
|
3
4
|
|
|
4
5
|
export interface AccessControlConfigurationSummary {
|
|
@@ -607,6 +608,15 @@ export interface ConfluencePageConfiguration {
|
|
|
607
608
|
|
|
608
609
|
PageFieldMappings?: ConfluencePageToIndexFieldMapping[];
|
|
609
610
|
}
|
|
611
|
+
|
|
612
|
+
export interface ProxyConfiguration {
|
|
613
|
+
|
|
614
|
+
Host: string | undefined;
|
|
615
|
+
|
|
616
|
+
Port: number | undefined;
|
|
617
|
+
|
|
618
|
+
Credentials?: string;
|
|
619
|
+
}
|
|
610
620
|
export declare enum ConfluenceSpaceFieldName {
|
|
611
621
|
DISPLAY_URL = "DISPLAY_URL",
|
|
612
622
|
ITEM_TYPE = "ITEM_TYPE",
|
|
@@ -661,6 +671,8 @@ export interface ConfluenceConfiguration {
|
|
|
661
671
|
InclusionPatterns?: string[];
|
|
662
672
|
|
|
663
673
|
ExclusionPatterns?: string[];
|
|
674
|
+
|
|
675
|
+
ProxyConfiguration?: ProxyConfiguration;
|
|
664
676
|
}
|
|
665
677
|
|
|
666
678
|
export interface ColumnConfiguration {
|
|
@@ -1147,6 +1159,8 @@ export interface SharePointConfiguration {
|
|
|
1147
1159
|
SslCertificateS3Path?: S3Path;
|
|
1148
1160
|
|
|
1149
1161
|
AuthenticationType?: SharePointOnlineAuthenticationType | string;
|
|
1162
|
+
|
|
1163
|
+
ProxyConfiguration?: ProxyConfiguration;
|
|
1150
1164
|
}
|
|
1151
1165
|
export declare enum SlackEntity {
|
|
1152
1166
|
DIRECT_MESSAGE = "DIRECT_MESSAGE",
|
|
@@ -1186,13 +1200,9 @@ export interface SlackConfiguration {
|
|
|
1186
1200
|
FieldMappings?: DataSourceToIndexFieldMapping[];
|
|
1187
1201
|
}
|
|
1188
1202
|
|
|
1189
|
-
export interface
|
|
1190
|
-
|
|
1191
|
-
Host: string | undefined;
|
|
1203
|
+
export interface TemplateConfiguration {
|
|
1192
1204
|
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
Credentials?: string;
|
|
1205
|
+
Template?: __DocumentType;
|
|
1196
1206
|
}
|
|
1197
1207
|
export declare enum WebCrawlerMode {
|
|
1198
1208
|
EVERYTHING = "EVERYTHING",
|
|
@@ -1290,6 +1300,8 @@ export interface DataSourceConfiguration {
|
|
|
1290
1300
|
GitHubConfiguration?: GitHubConfiguration;
|
|
1291
1301
|
|
|
1292
1302
|
AlfrescoConfiguration?: AlfrescoConfiguration;
|
|
1303
|
+
|
|
1304
|
+
TemplateConfiguration?: TemplateConfiguration;
|
|
1293
1305
|
}
|
|
1294
1306
|
|
|
1295
1307
|
export interface Tag {
|
|
@@ -1315,6 +1327,7 @@ export declare enum DataSourceType {
|
|
|
1315
1327
|
SERVICENOW = "SERVICENOW",
|
|
1316
1328
|
SHAREPOINT = "SHAREPOINT",
|
|
1317
1329
|
SLACK = "SLACK",
|
|
1330
|
+
TEMPLATE = "TEMPLATE",
|
|
1318
1331
|
WEBCRAWLER = "WEBCRAWLER",
|
|
1319
1332
|
WORKDOCS = "WORKDOCS"
|
|
1320
1333
|
}
|
|
@@ -1328,6 +1341,8 @@ export interface CreateDataSourceRequest {
|
|
|
1328
1341
|
|
|
1329
1342
|
Configuration?: DataSourceConfiguration;
|
|
1330
1343
|
|
|
1344
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
1345
|
+
|
|
1331
1346
|
Description?: string;
|
|
1332
1347
|
|
|
1333
1348
|
Schedule?: string;
|
|
@@ -1634,6 +1649,8 @@ export interface DescribeDataSourceResponse {
|
|
|
1634
1649
|
|
|
1635
1650
|
Configuration?: DataSourceConfiguration;
|
|
1636
1651
|
|
|
1652
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
1653
|
+
|
|
1637
1654
|
CreatedAt?: Date;
|
|
1638
1655
|
|
|
1639
1656
|
UpdatedAt?: Date;
|
|
@@ -2712,6 +2729,8 @@ export interface UpdateDataSourceRequest {
|
|
|
2712
2729
|
|
|
2713
2730
|
Configuration?: DataSourceConfiguration;
|
|
2714
2731
|
|
|
2732
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
2733
|
+
|
|
2715
2734
|
Description?: string;
|
|
2716
2735
|
|
|
2717
2736
|
Schedule?: string;
|
|
@@ -2826,29 +2845,6 @@ export interface FacetResult {
|
|
|
2826
2845
|
DocumentAttributeValueCountPairs?: DocumentAttributeValueCountPair[];
|
|
2827
2846
|
}
|
|
2828
2847
|
|
|
2829
|
-
export interface AttributeFilter {
|
|
2830
|
-
|
|
2831
|
-
AndAllFilters?: AttributeFilter[];
|
|
2832
|
-
|
|
2833
|
-
OrAllFilters?: AttributeFilter[];
|
|
2834
|
-
|
|
2835
|
-
NotFilter?: AttributeFilter;
|
|
2836
|
-
|
|
2837
|
-
EqualsTo?: DocumentAttribute;
|
|
2838
|
-
|
|
2839
|
-
ContainsAll?: DocumentAttribute;
|
|
2840
|
-
|
|
2841
|
-
ContainsAny?: DocumentAttribute;
|
|
2842
|
-
|
|
2843
|
-
GreaterThan?: DocumentAttribute;
|
|
2844
|
-
|
|
2845
|
-
GreaterThanOrEquals?: DocumentAttribute;
|
|
2846
|
-
|
|
2847
|
-
LessThan?: DocumentAttribute;
|
|
2848
|
-
|
|
2849
|
-
LessThanOrEquals?: DocumentAttribute;
|
|
2850
|
-
}
|
|
2851
|
-
|
|
2852
2848
|
export declare const AccessControlConfigurationSummaryFilterSensitiveLog: (obj: AccessControlConfigurationSummary) => any;
|
|
2853
2849
|
|
|
2854
2850
|
export declare const AccessControlListConfigurationFilterSensitiveLog: (obj: AccessControlListConfiguration) => any;
|
|
@@ -2953,6 +2949,8 @@ export declare const ConfluencePageToIndexFieldMappingFilterSensitiveLog: (obj:
|
|
|
2953
2949
|
|
|
2954
2950
|
export declare const ConfluencePageConfigurationFilterSensitiveLog: (obj: ConfluencePageConfiguration) => any;
|
|
2955
2951
|
|
|
2952
|
+
export declare const ProxyConfigurationFilterSensitiveLog: (obj: ProxyConfiguration) => any;
|
|
2953
|
+
|
|
2956
2954
|
export declare const ConfluenceSpaceToIndexFieldMappingFilterSensitiveLog: (obj: ConfluenceSpaceToIndexFieldMapping) => any;
|
|
2957
2955
|
|
|
2958
2956
|
export declare const ConfluenceSpaceConfigurationFilterSensitiveLog: (obj: ConfluenceSpaceConfiguration) => any;
|
|
@@ -3015,7 +3013,7 @@ export declare const SharePointConfigurationFilterSensitiveLog: (obj: SharePoint
|
|
|
3015
3013
|
|
|
3016
3014
|
export declare const SlackConfigurationFilterSensitiveLog: (obj: SlackConfiguration) => any;
|
|
3017
3015
|
|
|
3018
|
-
export declare const
|
|
3016
|
+
export declare const TemplateConfigurationFilterSensitiveLog: (obj: TemplateConfiguration) => any;
|
|
3019
3017
|
|
|
3020
3018
|
export declare const SeedUrlConfigurationFilterSensitiveLog: (obj: SeedUrlConfiguration) => any;
|
|
3021
3019
|
|
|
@@ -3312,5 +3310,3 @@ export declare const FacetFilterSensitiveLog: (obj: Facet) => any;
|
|
|
3312
3310
|
export declare const DocumentAttributeValueCountPairFilterSensitiveLog: (obj: DocumentAttributeValueCountPair) => any;
|
|
3313
3311
|
|
|
3314
3312
|
export declare const FacetResultFilterSensitiveLog: (obj: FacetResult) => any;
|
|
3315
|
-
|
|
3316
|
-
export declare const AttributeFilterFilterSensitiveLog: (obj: AttributeFilter) => any;
|
|
@@ -1,4 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DocumentAttribute, DocumentRelevanceConfiguration, Facet, FacetResult, QueryResultItem, QueryResultType, SortingConfiguration, SpellCorrectedQuery, SpellCorrectionConfiguration, UserContext, Warning } from "./models_0";
|
|
2
|
+
|
|
3
|
+
export interface AttributeFilter {
|
|
4
|
+
|
|
5
|
+
AndAllFilters?: AttributeFilter[];
|
|
6
|
+
|
|
7
|
+
OrAllFilters?: AttributeFilter[];
|
|
8
|
+
|
|
9
|
+
NotFilter?: AttributeFilter;
|
|
10
|
+
|
|
11
|
+
EqualsTo?: DocumentAttribute;
|
|
12
|
+
|
|
13
|
+
ContainsAll?: DocumentAttribute;
|
|
14
|
+
|
|
15
|
+
ContainsAny?: DocumentAttribute;
|
|
16
|
+
|
|
17
|
+
GreaterThan?: DocumentAttribute;
|
|
18
|
+
|
|
19
|
+
GreaterThanOrEquals?: DocumentAttribute;
|
|
20
|
+
|
|
21
|
+
LessThan?: DocumentAttribute;
|
|
22
|
+
|
|
23
|
+
LessThanOrEquals?: DocumentAttribute;
|
|
24
|
+
}
|
|
2
25
|
export interface QueryResult {
|
|
3
26
|
|
|
4
27
|
QueryId?: string;
|
|
@@ -42,6 +65,8 @@ export interface QueryRequest {
|
|
|
42
65
|
SpellCorrectionConfiguration?: SpellCorrectionConfiguration;
|
|
43
66
|
}
|
|
44
67
|
|
|
68
|
+
export declare const AttributeFilterFilterSensitiveLog: (obj: AttributeFilter) => any;
|
|
69
|
+
|
|
45
70
|
export declare const QueryResultFilterSensitiveLog: (obj: QueryResult) => any;
|
|
46
71
|
|
|
47
72
|
export declare const QueryRequestFilterSensitiveLog: (obj: QueryRequest) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kendra",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kendra Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.152.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.150.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.150.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -63,6 +63,11 @@
|
|
|
63
63
|
"typedoc": "0.19.2",
|
|
64
64
|
"typescript": "~4.6.2"
|
|
65
65
|
},
|
|
66
|
+
"overrides": {
|
|
67
|
+
"typedoc": {
|
|
68
|
+
"typescript": "~4.6.2"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
66
71
|
"engines": {
|
|
67
72
|
"node": ">=12.0.0"
|
|
68
73
|
},
|