@aws-sdk/client-kendra 3.67.0 → 3.74.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 +12 -5
- package/dist-cjs/protocols/Aws_json1_1.js +96 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +83 -1
- package/dist-types/models/models_0.d.ts +100 -1
- package/dist-types/ts3.4/models/models_0.d.ts +34 -0
- package/package.json +7 -7
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.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.73.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.72.0...v3.73.0) (2022-04-19)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-kendra:** Amazon Kendra now provides a data source connector for Quip. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-quip.html ([d1aebb8](https://github.com/aws/aws-sdk-js-v3/commit/d1aebb88223102ec2ce417cc44cb3c5d571cc6ae))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HierarchicalPrincipal = exports.ContentType = exports.Principal = exports.PrincipalType = exports.ReadAccessType = exports.CustomDocumentEnrichmentConfiguration = exports.HookConfiguration = exports.InlineCustomDocumentEnrichmentConfiguration = exports.DocumentAttributeTarget = exports.DocumentAttributeCondition = exports.ConditionOperator = exports.BatchGetDocumentStatusResponse = exports.BatchGetDocumentStatusResponseError = exports.Status = exports.DocumentStatus = exports.BatchGetDocumentStatusRequest = exports.DocumentInfo = exports.ConflictException = exports.BatchDeleteDocumentResponse = exports.BatchDeleteDocumentResponseFailedDocument = exports.ErrorCode = exports.BatchDeleteDocumentRequest = exports.DataSourceSyncJobMetricTarget = exports.AuthenticationConfiguration = exports.BasicAuthenticationConfiguration = exports.DocumentAttribute = exports.DocumentAttributeValue = exports.AssociatePersonasToEntitiesResponse = exports.AssociatePersonasToEntitiesRequest = exports.EntityPersonaConfiguration = exports.Persona = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceAlreadyExistException = exports.InternalServerException = exports.AssociateEntitiesToExperienceResponse = exports.FailedEntity = exports.AssociateEntitiesToExperienceRequest = exports.EntityConfiguration = exports.EntityType = exports.AdditionalResultAttribute = exports.AdditionalResultAttributeValueType = exports.AdditionalResultAttributeValue = exports.TextWithHighlights = exports.Highlight = exports.HighlightType = exports.AclConfiguration = exports.AccessDeniedException = exports.AccessControlListConfiguration = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.QueryRequest = exports.AttributeFilter = exports.UpdateThesaurusRequest = exports.UpdateQuerySuggestionsConfigRequest = exports.UpdateQuerySuggestionsBlockListRequest = exports.UpdateIndexRequest = exports.UpdateExperienceRequest = exports.UpdateDataSourceRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitFeedbackRequest = exports.RelevanceFeedback = exports.RelevanceType = exports.ClickFeedback = exports.StopDataSourceSyncJobRequest = exports.StartDataSourceSyncJobResponse = exports.StartDataSourceSyncJobRequest = exports.ResourceInUseException = exports.QueryResult = exports.Warning = exports.WarningCode = exports.SpellCorrectedQuery = exports.Correction = exports.QueryResultItem = exports.ScoreAttributes = exports.ScoreConfidence = exports.FacetResult = exports.DocumentAttributeValueCountPair = void 0;
|
|
4
|
+
exports.ServiceNowKnowledgeArticleConfiguration = exports.ServiceNowAuthenticationType = exports.SalesforceConfiguration = exports.SalesforceStandardObjectConfiguration = exports.SalesforceStandardObjectName = exports.SalesforceStandardObjectAttachmentConfiguration = exports.SalesforceKnowledgeArticleConfiguration = exports.SalesforceStandardKnowledgeArticleTypeConfiguration = exports.SalesforceKnowledgeArticleState = exports.SalesforceCustomKnowledgeArticleTypeConfiguration = exports.SalesforceChatterFeedConfiguration = exports.SalesforceChatterFeedIncludeFilterType = exports.S3DataSourceConfiguration = exports.DocumentsMetadataConfiguration = exports.QuipConfiguration = exports.OneDriveConfiguration = exports.OneDriveUsers = exports.GoogleDriveConfiguration = exports.FsxConfiguration = exports.FsxFileSystemType = exports.DatabaseConfiguration = exports.SqlConfiguration = exports.QueryIdentifiersEnclosingOption = exports.DatabaseEngineType = exports.ConnectionConfiguration = exports.ColumnConfiguration = exports.ConfluenceConfiguration = exports.ConfluenceVersion = exports.ConfluenceSpaceConfiguration = exports.ConfluenceSpaceToIndexFieldMapping = exports.ConfluenceSpaceFieldName = exports.ConfluencePageConfiguration = exports.ConfluencePageToIndexFieldMapping = exports.ConfluencePageFieldName = exports.ConfluenceBlogConfiguration = exports.ConfluenceBlogToIndexFieldMapping = exports.ConfluenceBlogFieldName = exports.ConfluenceAttachmentConfiguration = exports.ConfluenceAttachmentToIndexFieldMapping = exports.ConfluenceAttachmentFieldName = exports.BoxConfiguration = exports.DataSourceVpcConfiguration = exports.DataSourceToIndexFieldMapping = exports.ClearQuerySuggestionsRequest = exports.ServiceQuotaExceededException = exports.BatchPutDocumentResponse = exports.BatchPutDocumentResponseFailedDocument = exports.BatchPutDocumentRequest = exports.Document = exports.S3Path = void 0;
|
|
5
|
+
exports.DeleteThesaurusRequest = exports.DeleteQuerySuggestionsBlockListRequest = exports.DeletePrincipalMappingRequest = exports.DeleteIndexRequest = exports.DeleteFaqRequest = exports.DeleteExperienceResponse = exports.DeleteExperienceRequest = exports.DeleteDataSourceRequest = exports.CreateThesaurusResponse = exports.CreateThesaurusRequest = exports.CreateQuerySuggestionsBlockListResponse = exports.CreateQuerySuggestionsBlockListRequest = exports.CreateIndexResponse = exports.CreateIndexRequest = exports.UserTokenConfiguration = exports.JwtTokenTypeConfiguration = exports.KeyLocation = exports.JsonTokenTypeConfiguration = exports.UserGroupResolutionConfiguration = exports.UserGroupResolutionMode = exports.UserContextPolicy = exports.ServerSideEncryptionConfiguration = exports.IndexEdition = exports.CreateFaqResponse = exports.CreateFaqRequest = exports.FaqFileFormat = exports.CreateExperienceResponse = exports.CreateExperienceRequest = exports.ExperienceConfiguration = exports.UserIdentityConfiguration = exports.ContentSourceConfiguration = exports.CreateDataSourceResponse = exports.CreateDataSourceRequest = exports.DataSourceType = exports.Tag = exports.DataSourceConfiguration = exports.WorkDocsConfiguration = exports.WebCrawlerConfiguration = exports.Urls = exports.SiteMapsConfiguration = exports.SeedUrlConfiguration = exports.WebCrawlerMode = exports.ProxyConfiguration = exports.SlackConfiguration = exports.SlackEntity = exports.SharePointConfiguration = exports.SharePointVersion = exports.ServiceNowConfiguration = exports.ServiceNowBuildVersionType = exports.ServiceNowServiceCatalogConfiguration = void 0;
|
|
6
|
+
exports.GetSnapshotsRequest = exports.MetricType = exports.Interval = exports.GetQuerySuggestionsResponse = exports.Suggestion = exports.SuggestionValue = exports.SuggestionTextWithHighlights = exports.SuggestionHighlight = exports.GetQuerySuggestionsRequest = exports.DisassociatePersonasFromEntitiesResponse = exports.DisassociatePersonasFromEntitiesRequest = exports.DisassociateEntitiesFromExperienceResponse = exports.DisassociateEntitiesFromExperienceRequest = exports.DescribeThesaurusResponse = exports.ThesaurusStatus = exports.DescribeThesaurusRequest = exports.DescribeQuerySuggestionsConfigResponse = exports.QuerySuggestionsStatus = exports.Mode = exports.DescribeQuerySuggestionsConfigRequest = exports.DescribeQuerySuggestionsBlockListResponse = exports.QuerySuggestionsBlockListStatus = exports.DescribeQuerySuggestionsBlockListRequest = exports.DescribePrincipalMappingResponse = exports.GroupOrderingIdSummary = exports.PrincipalMappingStatus = exports.DescribePrincipalMappingRequest = exports.DescribeIndexResponse = exports.IndexStatus = exports.IndexStatistics = exports.TextDocumentStatistics = exports.FaqStatistics = exports.DocumentMetadataConfiguration = exports.DocumentAttributeValueType = exports.Search = exports.Relevance = exports.Order = exports.CapacityUnitsConfiguration = exports.DescribeIndexRequest = exports.DescribeFaqResponse = exports.FaqStatus = exports.DescribeFaqRequest = exports.DescribeExperienceResponse = exports.ExperienceStatus = exports.ExperienceEndpoint = exports.EndpointType = exports.DescribeExperienceRequest = exports.DescribeDataSourceResponse = exports.DataSourceStatus = exports.DescribeDataSourceRequest = void 0;
|
|
7
|
+
exports.DataSourceGroup = exports.SpellCorrectionConfiguration = exports.SortingConfiguration = exports.SortOrder = exports.QueryResultType = exports.Facet = exports.DocumentRelevanceConfiguration = exports.PutPrincipalMappingRequest = exports.GroupMembers = exports.MemberUser = exports.MemberGroup = exports.ListThesauriResponse = exports.ThesaurusSummary = exports.ListThesauriRequest = exports.ResourceUnavailableException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListQuerySuggestionsBlockListsResponse = exports.QuerySuggestionsBlockListSummary = exports.ListQuerySuggestionsBlockListsRequest = exports.ListIndicesResponse = exports.IndexConfigurationSummary = exports.ListIndicesRequest = exports.ListGroupsOlderThanOrderingIdResponse = exports.GroupSummary = exports.ListGroupsOlderThanOrderingIdRequest = exports.ListFaqsResponse = exports.FaqSummary = exports.ListFaqsRequest = exports.ListExperiencesResponse = exports.ExperiencesSummary = exports.ListExperiencesRequest = exports.ListExperienceEntitiesResponse = exports.ExperienceEntitiesSummary = exports.EntityDisplayData = exports.ListExperienceEntitiesRequest = exports.ListEntityPersonasResponse = exports.PersonasSummary = exports.ListEntityPersonasRequest = exports.ListDataSourceSyncJobsResponse = exports.DataSourceSyncJob = exports.DataSourceSyncJobMetrics = exports.ListDataSourceSyncJobsRequest = exports.DataSourceSyncJobStatus = exports.ListDataSourcesResponse = exports.DataSourceSummary = exports.ListDataSourcesRequest = exports.InvalidRequestException = exports.GetSnapshotsResponse = exports.TimeRange = void 0;
|
|
8
|
+
exports.QueryRequest = exports.AttributeFilter = exports.UpdateThesaurusRequest = exports.UpdateQuerySuggestionsConfigRequest = exports.UpdateQuerySuggestionsBlockListRequest = exports.UpdateIndexRequest = exports.UpdateExperienceRequest = exports.UpdateDataSourceRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitFeedbackRequest = exports.RelevanceFeedback = exports.RelevanceType = exports.ClickFeedback = exports.StopDataSourceSyncJobRequest = exports.StartDataSourceSyncJobResponse = exports.StartDataSourceSyncJobRequest = exports.ResourceInUseException = exports.QueryResult = exports.Warning = exports.WarningCode = exports.SpellCorrectedQuery = exports.Correction = exports.QueryResultItem = exports.ScoreAttributes = exports.ScoreConfidence = exports.FacetResult = exports.DocumentAttributeValueCountPair = exports.UserContext = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const KendraServiceException_1 = require("./KendraServiceException");
|
|
11
11
|
var AccessControlListConfiguration;
|
|
@@ -608,6 +608,12 @@ var OneDriveConfiguration;
|
|
|
608
608
|
...obj,
|
|
609
609
|
});
|
|
610
610
|
})(OneDriveConfiguration = exports.OneDriveConfiguration || (exports.OneDriveConfiguration = {}));
|
|
611
|
+
var QuipConfiguration;
|
|
612
|
+
(function (QuipConfiguration) {
|
|
613
|
+
QuipConfiguration.filterSensitiveLog = (obj) => ({
|
|
614
|
+
...obj,
|
|
615
|
+
});
|
|
616
|
+
})(QuipConfiguration = exports.QuipConfiguration || (exports.QuipConfiguration = {}));
|
|
611
617
|
var DocumentsMetadataConfiguration;
|
|
612
618
|
(function (DocumentsMetadataConfiguration) {
|
|
613
619
|
DocumentsMetadataConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -809,6 +815,7 @@ var DataSourceType;
|
|
|
809
815
|
DataSourceType["FSX"] = "FSX";
|
|
810
816
|
DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
|
|
811
817
|
DataSourceType["ONEDRIVE"] = "ONEDRIVE";
|
|
818
|
+
DataSourceType["QUIP"] = "QUIP";
|
|
812
819
|
DataSourceType["S3"] = "S3";
|
|
813
820
|
DataSourceType["SALESFORCE"] = "SALESFORCE";
|
|
814
821
|
DataSourceType["SERVICENOW"] = "SERVICENOW";
|
|
@@ -3977,6 +3977,10 @@ const serializeAws_json1_1DataSourceConfiguration = (input, context) => {
|
|
|
3977
3977
|
input.OneDriveConfiguration !== null && {
|
|
3978
3978
|
OneDriveConfiguration: serializeAws_json1_1OneDriveConfiguration(input.OneDriveConfiguration, context),
|
|
3979
3979
|
}),
|
|
3980
|
+
...(input.QuipConfiguration !== undefined &&
|
|
3981
|
+
input.QuipConfiguration !== null && {
|
|
3982
|
+
QuipConfiguration: serializeAws_json1_1QuipConfiguration(input.QuipConfiguration, context),
|
|
3983
|
+
}),
|
|
3980
3984
|
...(input.S3Configuration !== undefined &&
|
|
3981
3985
|
input.S3Configuration !== null && {
|
|
3982
3986
|
S3Configuration: serializeAws_json1_1S3DataSourceConfiguration(input.S3Configuration, context),
|
|
@@ -4477,6 +4481,16 @@ const serializeAws_json1_1FaqIdsList = (input, context) => {
|
|
|
4477
4481
|
return entry;
|
|
4478
4482
|
});
|
|
4479
4483
|
};
|
|
4484
|
+
const serializeAws_json1_1FolderIdList = (input, context) => {
|
|
4485
|
+
return input
|
|
4486
|
+
.filter((e) => e != null)
|
|
4487
|
+
.map((entry) => {
|
|
4488
|
+
if (entry === null) {
|
|
4489
|
+
return null;
|
|
4490
|
+
}
|
|
4491
|
+
return entry;
|
|
4492
|
+
});
|
|
4493
|
+
};
|
|
4480
4494
|
const serializeAws_json1_1FsxConfiguration = (input, context) => {
|
|
4481
4495
|
return {
|
|
4482
4496
|
...(input.ExclusionPatterns !== undefined &&
|
|
@@ -4892,6 +4906,44 @@ const serializeAws_json1_1QueryRequest = (input, context) => {
|
|
|
4892
4906
|
...(input.VisitorId !== undefined && input.VisitorId !== null && { VisitorId: input.VisitorId }),
|
|
4893
4907
|
};
|
|
4894
4908
|
};
|
|
4909
|
+
const serializeAws_json1_1QuipConfiguration = (input, context) => {
|
|
4910
|
+
return {
|
|
4911
|
+
...(input.AttachmentFieldMappings !== undefined &&
|
|
4912
|
+
input.AttachmentFieldMappings !== null && {
|
|
4913
|
+
AttachmentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.AttachmentFieldMappings, context),
|
|
4914
|
+
}),
|
|
4915
|
+
...(input.CrawlAttachments !== undefined &&
|
|
4916
|
+
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments }),
|
|
4917
|
+
...(input.CrawlChatRooms !== undefined &&
|
|
4918
|
+
input.CrawlChatRooms !== null && { CrawlChatRooms: input.CrawlChatRooms }),
|
|
4919
|
+
...(input.CrawlFileComments !== undefined &&
|
|
4920
|
+
input.CrawlFileComments !== null && { CrawlFileComments: input.CrawlFileComments }),
|
|
4921
|
+
...(input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain }),
|
|
4922
|
+
...(input.ExclusionPatterns !== undefined &&
|
|
4923
|
+
input.ExclusionPatterns !== null && {
|
|
4924
|
+
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
4925
|
+
}),
|
|
4926
|
+
...(input.FolderIds !== undefined &&
|
|
4927
|
+
input.FolderIds !== null && { FolderIds: serializeAws_json1_1FolderIdList(input.FolderIds, context) }),
|
|
4928
|
+
...(input.InclusionPatterns !== undefined &&
|
|
4929
|
+
input.InclusionPatterns !== null && {
|
|
4930
|
+
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
4931
|
+
}),
|
|
4932
|
+
...(input.MessageFieldMappings !== undefined &&
|
|
4933
|
+
input.MessageFieldMappings !== null && {
|
|
4934
|
+
MessageFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.MessageFieldMappings, context),
|
|
4935
|
+
}),
|
|
4936
|
+
...(input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }),
|
|
4937
|
+
...(input.ThreadFieldMappings !== undefined &&
|
|
4938
|
+
input.ThreadFieldMappings !== null && {
|
|
4939
|
+
ThreadFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.ThreadFieldMappings, context),
|
|
4940
|
+
}),
|
|
4941
|
+
...(input.VpcConfiguration !== undefined &&
|
|
4942
|
+
input.VpcConfiguration !== null && {
|
|
4943
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4944
|
+
}),
|
|
4945
|
+
};
|
|
4946
|
+
};
|
|
4895
4947
|
const serializeAws_json1_1Relevance = (input, context) => {
|
|
4896
4948
|
return {
|
|
4897
4949
|
...(input.Duration !== undefined && input.Duration !== null && { Duration: input.Duration }),
|
|
@@ -6155,6 +6207,9 @@ const deserializeAws_json1_1DataSourceConfiguration = (output, context) => {
|
|
|
6155
6207
|
OneDriveConfiguration: output.OneDriveConfiguration !== undefined && output.OneDriveConfiguration !== null
|
|
6156
6208
|
? deserializeAws_json1_1OneDriveConfiguration(output.OneDriveConfiguration, context)
|
|
6157
6209
|
: undefined,
|
|
6210
|
+
QuipConfiguration: output.QuipConfiguration !== undefined && output.QuipConfiguration !== null
|
|
6211
|
+
? deserializeAws_json1_1QuipConfiguration(output.QuipConfiguration, context)
|
|
6212
|
+
: undefined,
|
|
6158
6213
|
S3Configuration: output.S3Configuration !== undefined && output.S3Configuration !== null
|
|
6159
6214
|
? deserializeAws_json1_1S3DataSourceConfiguration(output.S3Configuration, context)
|
|
6160
6215
|
: undefined,
|
|
@@ -6799,6 +6854,17 @@ const deserializeAws_json1_1FaqSummaryItems = (output, context) => {
|
|
|
6799
6854
|
});
|
|
6800
6855
|
return retVal;
|
|
6801
6856
|
};
|
|
6857
|
+
const deserializeAws_json1_1FolderIdList = (output, context) => {
|
|
6858
|
+
const retVal = (output || [])
|
|
6859
|
+
.filter((e) => e != null)
|
|
6860
|
+
.map((entry) => {
|
|
6861
|
+
if (entry === null) {
|
|
6862
|
+
return null;
|
|
6863
|
+
}
|
|
6864
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6865
|
+
});
|
|
6866
|
+
return retVal;
|
|
6867
|
+
};
|
|
6802
6868
|
const deserializeAws_json1_1FsxConfiguration = (output, context) => {
|
|
6803
6869
|
return {
|
|
6804
6870
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
@@ -7273,6 +7339,36 @@ const deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = (output, con
|
|
|
7273
7339
|
});
|
|
7274
7340
|
return retVal;
|
|
7275
7341
|
};
|
|
7342
|
+
const deserializeAws_json1_1QuipConfiguration = (output, context) => {
|
|
7343
|
+
return {
|
|
7344
|
+
AttachmentFieldMappings: output.AttachmentFieldMappings !== undefined && output.AttachmentFieldMappings !== null
|
|
7345
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.AttachmentFieldMappings, context)
|
|
7346
|
+
: undefined,
|
|
7347
|
+
CrawlAttachments: (0, smithy_client_1.expectBoolean)(output.CrawlAttachments),
|
|
7348
|
+
CrawlChatRooms: (0, smithy_client_1.expectBoolean)(output.CrawlChatRooms),
|
|
7349
|
+
CrawlFileComments: (0, smithy_client_1.expectBoolean)(output.CrawlFileComments),
|
|
7350
|
+
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
7351
|
+
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7352
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7353
|
+
: undefined,
|
|
7354
|
+
FolderIds: output.FolderIds !== undefined && output.FolderIds !== null
|
|
7355
|
+
? deserializeAws_json1_1FolderIdList(output.FolderIds, context)
|
|
7356
|
+
: undefined,
|
|
7357
|
+
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7358
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7359
|
+
: undefined,
|
|
7360
|
+
MessageFieldMappings: output.MessageFieldMappings !== undefined && output.MessageFieldMappings !== null
|
|
7361
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.MessageFieldMappings, context)
|
|
7362
|
+
: undefined,
|
|
7363
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
7364
|
+
ThreadFieldMappings: output.ThreadFieldMappings !== undefined && output.ThreadFieldMappings !== null
|
|
7365
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.ThreadFieldMappings, context)
|
|
7366
|
+
: undefined,
|
|
7367
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
7368
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7369
|
+
: undefined,
|
|
7370
|
+
};
|
|
7371
|
+
};
|
|
7276
7372
|
const deserializeAws_json1_1Relevance = (output, context) => {
|
|
7277
7373
|
return {
|
|
7278
7374
|
Duration: (0, smithy_client_1.expectString)(output.Duration),
|
|
@@ -475,6 +475,10 @@ export var OneDriveConfiguration;
|
|
|
475
475
|
(function (OneDriveConfiguration) {
|
|
476
476
|
OneDriveConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
477
477
|
})(OneDriveConfiguration || (OneDriveConfiguration = {}));
|
|
478
|
+
export var QuipConfiguration;
|
|
479
|
+
(function (QuipConfiguration) {
|
|
480
|
+
QuipConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
481
|
+
})(QuipConfiguration || (QuipConfiguration = {}));
|
|
478
482
|
export var DocumentsMetadataConfiguration;
|
|
479
483
|
(function (DocumentsMetadataConfiguration) {
|
|
480
484
|
DocumentsMetadataConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -632,6 +636,7 @@ export var DataSourceType;
|
|
|
632
636
|
DataSourceType["FSX"] = "FSX";
|
|
633
637
|
DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
|
|
634
638
|
DataSourceType["ONEDRIVE"] = "ONEDRIVE";
|
|
639
|
+
DataSourceType["QUIP"] = "QUIP";
|
|
635
640
|
DataSourceType["S3"] = "S3";
|
|
636
641
|
DataSourceType["SALESFORCE"] = "SALESFORCE";
|
|
637
642
|
DataSourceType["SERVICENOW"] = "SERVICENOW";
|
|
@@ -4897,7 +4897,7 @@ var serializeAws_json1_1DatabaseConfiguration = function (input, context) {
|
|
|
4897
4897
|
}));
|
|
4898
4898
|
};
|
|
4899
4899
|
var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
4900
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BoxConfiguration !== undefined &&
|
|
4900
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BoxConfiguration !== undefined &&
|
|
4901
4901
|
input.BoxConfiguration !== null && {
|
|
4902
4902
|
BoxConfiguration: serializeAws_json1_1BoxConfiguration(input.BoxConfiguration, context),
|
|
4903
4903
|
})), (input.ConfluenceConfiguration !== undefined &&
|
|
@@ -4915,6 +4915,9 @@ var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
|
4915
4915
|
})), (input.OneDriveConfiguration !== undefined &&
|
|
4916
4916
|
input.OneDriveConfiguration !== null && {
|
|
4917
4917
|
OneDriveConfiguration: serializeAws_json1_1OneDriveConfiguration(input.OneDriveConfiguration, context),
|
|
4918
|
+
})), (input.QuipConfiguration !== undefined &&
|
|
4919
|
+
input.QuipConfiguration !== null && {
|
|
4920
|
+
QuipConfiguration: serializeAws_json1_1QuipConfiguration(input.QuipConfiguration, context),
|
|
4918
4921
|
})), (input.S3Configuration !== undefined &&
|
|
4919
4922
|
input.S3Configuration !== null && {
|
|
4920
4923
|
S3Configuration: serializeAws_json1_1S3DataSourceConfiguration(input.S3Configuration, context),
|
|
@@ -5293,6 +5296,16 @@ var serializeAws_json1_1FaqIdsList = function (input, context) {
|
|
|
5293
5296
|
return entry;
|
|
5294
5297
|
});
|
|
5295
5298
|
};
|
|
5299
|
+
var serializeAws_json1_1FolderIdList = function (input, context) {
|
|
5300
|
+
return input
|
|
5301
|
+
.filter(function (e) { return e != null; })
|
|
5302
|
+
.map(function (entry) {
|
|
5303
|
+
if (entry === null) {
|
|
5304
|
+
return null;
|
|
5305
|
+
}
|
|
5306
|
+
return entry;
|
|
5307
|
+
});
|
|
5308
|
+
};
|
|
5296
5309
|
var serializeAws_json1_1FsxConfiguration = function (input, context) {
|
|
5297
5310
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionPatterns !== undefined &&
|
|
5298
5311
|
input.ExclusionPatterns !== null && {
|
|
@@ -5564,6 +5577,31 @@ var serializeAws_json1_1QueryRequest = function (input, context) {
|
|
|
5564
5577
|
})), (input.UserContext !== undefined &&
|
|
5565
5578
|
input.UserContext !== null && { UserContext: serializeAws_json1_1UserContext(input.UserContext, context) })), (input.VisitorId !== undefined && input.VisitorId !== null && { VisitorId: input.VisitorId }));
|
|
5566
5579
|
};
|
|
5580
|
+
var serializeAws_json1_1QuipConfiguration = function (input, context) {
|
|
5581
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttachmentFieldMappings !== undefined &&
|
|
5582
|
+
input.AttachmentFieldMappings !== null && {
|
|
5583
|
+
AttachmentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.AttachmentFieldMappings, context),
|
|
5584
|
+
})), (input.CrawlAttachments !== undefined &&
|
|
5585
|
+
input.CrawlAttachments !== null && { CrawlAttachments: input.CrawlAttachments })), (input.CrawlChatRooms !== undefined &&
|
|
5586
|
+
input.CrawlChatRooms !== null && { CrawlChatRooms: input.CrawlChatRooms })), (input.CrawlFileComments !== undefined &&
|
|
5587
|
+
input.CrawlFileComments !== null && { CrawlFileComments: input.CrawlFileComments })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.ExclusionPatterns !== undefined &&
|
|
5588
|
+
input.ExclusionPatterns !== null && {
|
|
5589
|
+
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
5590
|
+
})), (input.FolderIds !== undefined &&
|
|
5591
|
+
input.FolderIds !== null && { FolderIds: serializeAws_json1_1FolderIdList(input.FolderIds, context) })), (input.InclusionPatterns !== undefined &&
|
|
5592
|
+
input.InclusionPatterns !== null && {
|
|
5593
|
+
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
5594
|
+
})), (input.MessageFieldMappings !== undefined &&
|
|
5595
|
+
input.MessageFieldMappings !== null && {
|
|
5596
|
+
MessageFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.MessageFieldMappings, context),
|
|
5597
|
+
})), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.ThreadFieldMappings !== undefined &&
|
|
5598
|
+
input.ThreadFieldMappings !== null && {
|
|
5599
|
+
ThreadFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.ThreadFieldMappings, context),
|
|
5600
|
+
})), (input.VpcConfiguration !== undefined &&
|
|
5601
|
+
input.VpcConfiguration !== null && {
|
|
5602
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
5603
|
+
}));
|
|
5604
|
+
};
|
|
5567
5605
|
var serializeAws_json1_1Relevance = function (input, context) {
|
|
5568
5606
|
return __assign(__assign(__assign(__assign(__assign({}, (input.Duration !== undefined && input.Duration !== null && { Duration: input.Duration })), (input.Freshness !== undefined && input.Freshness !== null && { Freshness: input.Freshness })), (input.Importance !== undefined && input.Importance !== null && { Importance: input.Importance })), (input.RankOrder !== undefined && input.RankOrder !== null && { RankOrder: input.RankOrder })), (input.ValueImportanceMap !== undefined &&
|
|
5569
5607
|
input.ValueImportanceMap !== null && {
|
|
@@ -6599,6 +6637,9 @@ var deserializeAws_json1_1DataSourceConfiguration = function (output, context) {
|
|
|
6599
6637
|
OneDriveConfiguration: output.OneDriveConfiguration !== undefined && output.OneDriveConfiguration !== null
|
|
6600
6638
|
? deserializeAws_json1_1OneDriveConfiguration(output.OneDriveConfiguration, context)
|
|
6601
6639
|
: undefined,
|
|
6640
|
+
QuipConfiguration: output.QuipConfiguration !== undefined && output.QuipConfiguration !== null
|
|
6641
|
+
? deserializeAws_json1_1QuipConfiguration(output.QuipConfiguration, context)
|
|
6642
|
+
: undefined,
|
|
6602
6643
|
S3Configuration: output.S3Configuration !== undefined && output.S3Configuration !== null
|
|
6603
6644
|
? deserializeAws_json1_1S3DataSourceConfiguration(output.S3Configuration, context)
|
|
6604
6645
|
: undefined,
|
|
@@ -7243,6 +7284,17 @@ var deserializeAws_json1_1FaqSummaryItems = function (output, context) {
|
|
|
7243
7284
|
});
|
|
7244
7285
|
return retVal;
|
|
7245
7286
|
};
|
|
7287
|
+
var deserializeAws_json1_1FolderIdList = function (output, context) {
|
|
7288
|
+
var retVal = (output || [])
|
|
7289
|
+
.filter(function (e) { return e != null; })
|
|
7290
|
+
.map(function (entry) {
|
|
7291
|
+
if (entry === null) {
|
|
7292
|
+
return null;
|
|
7293
|
+
}
|
|
7294
|
+
return __expectString(entry);
|
|
7295
|
+
});
|
|
7296
|
+
return retVal;
|
|
7297
|
+
};
|
|
7246
7298
|
var deserializeAws_json1_1FsxConfiguration = function (output, context) {
|
|
7247
7299
|
return {
|
|
7248
7300
|
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
@@ -7717,6 +7769,36 @@ var deserializeAws_json1_1QuerySuggestionsBlockListSummaryItems = function (outp
|
|
|
7717
7769
|
});
|
|
7718
7770
|
return retVal;
|
|
7719
7771
|
};
|
|
7772
|
+
var deserializeAws_json1_1QuipConfiguration = function (output, context) {
|
|
7773
|
+
return {
|
|
7774
|
+
AttachmentFieldMappings: output.AttachmentFieldMappings !== undefined && output.AttachmentFieldMappings !== null
|
|
7775
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.AttachmentFieldMappings, context)
|
|
7776
|
+
: undefined,
|
|
7777
|
+
CrawlAttachments: __expectBoolean(output.CrawlAttachments),
|
|
7778
|
+
CrawlChatRooms: __expectBoolean(output.CrawlChatRooms),
|
|
7779
|
+
CrawlFileComments: __expectBoolean(output.CrawlFileComments),
|
|
7780
|
+
Domain: __expectString(output.Domain),
|
|
7781
|
+
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
7782
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
7783
|
+
: undefined,
|
|
7784
|
+
FolderIds: output.FolderIds !== undefined && output.FolderIds !== null
|
|
7785
|
+
? deserializeAws_json1_1FolderIdList(output.FolderIds, context)
|
|
7786
|
+
: undefined,
|
|
7787
|
+
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
7788
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
7789
|
+
: undefined,
|
|
7790
|
+
MessageFieldMappings: output.MessageFieldMappings !== undefined && output.MessageFieldMappings !== null
|
|
7791
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.MessageFieldMappings, context)
|
|
7792
|
+
: undefined,
|
|
7793
|
+
SecretArn: __expectString(output.SecretArn),
|
|
7794
|
+
ThreadFieldMappings: output.ThreadFieldMappings !== undefined && output.ThreadFieldMappings !== null
|
|
7795
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.ThreadFieldMappings, context)
|
|
7796
|
+
: undefined,
|
|
7797
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
7798
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
7799
|
+
: undefined,
|
|
7800
|
+
};
|
|
7801
|
+
};
|
|
7720
7802
|
var deserializeAws_json1_1Relevance = function (output, context) {
|
|
7721
7803
|
return {
|
|
7722
7804
|
Duration: __expectString(output.Duration),
|
|
@@ -1362,7 +1362,7 @@ export interface BoxConfiguration {
|
|
|
1362
1362
|
ExclusionPatterns?: string[];
|
|
1363
1363
|
/**
|
|
1364
1364
|
* <p>Configuration information for an Amazon VPC to connect to your Box. For
|
|
1365
|
-
* more information, see <a href="https://docs.aws.amazon.com/
|
|
1365
|
+
* more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html">Configuring a VPC</a>.</p>
|
|
1366
1366
|
*/
|
|
1367
1367
|
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
1368
1368
|
}
|
|
@@ -2137,6 +2137,99 @@ export declare namespace OneDriveConfiguration {
|
|
|
2137
2137
|
*/
|
|
2138
2138
|
const filterSensitiveLog: (obj: OneDriveConfiguration) => any;
|
|
2139
2139
|
}
|
|
2140
|
+
/**
|
|
2141
|
+
* <p>Provides the configuration information to connect to Quip as your data source.</p>
|
|
2142
|
+
*/
|
|
2143
|
+
export interface QuipConfiguration {
|
|
2144
|
+
/**
|
|
2145
|
+
* <p>The configuration information to connect to your Quip data source domain.</p>
|
|
2146
|
+
*/
|
|
2147
|
+
Domain: string | undefined;
|
|
2148
|
+
/**
|
|
2149
|
+
* <p>The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the
|
|
2150
|
+
* key-value pairs
|
|
2151
|
+
* that are
|
|
2152
|
+
* required to connect to your Quip file system. Windows is currently the
|
|
2153
|
+
* only supported type. The secret must contain a JSON structure with the following
|
|
2154
|
+
* keys:</p>
|
|
2155
|
+
* <ul>
|
|
2156
|
+
* <li>
|
|
2157
|
+
* <p>username—The Active Directory user name, along with the Domain Name
|
|
2158
|
+
* System (DNS) domain
|
|
2159
|
+
* name. For example,
|
|
2160
|
+
* <i>user@corp.example.com</i>.
|
|
2161
|
+
* The Active Directory user account must have read and mounting access to the Quip
|
|
2162
|
+
* file system for Windows.</p>
|
|
2163
|
+
* </li>
|
|
2164
|
+
* <li>
|
|
2165
|
+
* <p>password—The password of the Active Directory user account with
|
|
2166
|
+
* read and mounting access to the Quip Windows file system.</p>
|
|
2167
|
+
* </li>
|
|
2168
|
+
* </ul>
|
|
2169
|
+
*/
|
|
2170
|
+
SecretArn: string | undefined;
|
|
2171
|
+
/**
|
|
2172
|
+
* <p>Specify whether to crawl file comments in your Quip data source.
|
|
2173
|
+
* You can specify one or more of these options.</p>
|
|
2174
|
+
*/
|
|
2175
|
+
CrawlFileComments?: boolean;
|
|
2176
|
+
/**
|
|
2177
|
+
* <p>Specify whether to crawl chat rooms in your Quip data source.
|
|
2178
|
+
* You can specify one or more of these options.</p>
|
|
2179
|
+
*/
|
|
2180
|
+
CrawlChatRooms?: boolean;
|
|
2181
|
+
/**
|
|
2182
|
+
* <p>Specify whether to crawl attachments in your Quip data source.
|
|
2183
|
+
* You can specify one or more of these options.</p>
|
|
2184
|
+
*/
|
|
2185
|
+
CrawlAttachments?: boolean;
|
|
2186
|
+
/**
|
|
2187
|
+
* <p>The identifier of the Quip folder IDs to index.</p>
|
|
2188
|
+
*/
|
|
2189
|
+
FolderIds?: string[];
|
|
2190
|
+
/**
|
|
2191
|
+
* <p>A list of field mappings to apply when indexing Quip threads.</p>
|
|
2192
|
+
*/
|
|
2193
|
+
ThreadFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2194
|
+
/**
|
|
2195
|
+
* <p>A list of field mappings to apply when indexing Quip messages.</p>
|
|
2196
|
+
*/
|
|
2197
|
+
MessageFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2198
|
+
/**
|
|
2199
|
+
* <p>A list of field mappings to apply when indexing Quip attachments.</p>
|
|
2200
|
+
*/
|
|
2201
|
+
AttachmentFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
2202
|
+
/**
|
|
2203
|
+
* <p>A list of regular expression patterns to include certain files in your Quip file
|
|
2204
|
+
* system. Files that match the patterns are included in the index. Files that don't match
|
|
2205
|
+
* the patterns are excluded from the index. If a file matches both an inclusion pattern
|
|
2206
|
+
* and an exclusion pattern, the exclusion pattern takes
|
|
2207
|
+
* precedence,
|
|
2208
|
+
* and the file isn't included in the index.</p>
|
|
2209
|
+
*/
|
|
2210
|
+
InclusionPatterns?: string[];
|
|
2211
|
+
/**
|
|
2212
|
+
* <p>A list of regular expression patterns to exclude certain files in your Quip file
|
|
2213
|
+
* system. Files that match the patterns are excluded from the index. Files that don’t
|
|
2214
|
+
* match the patterns are included in the index. If a file matches both an inclusion
|
|
2215
|
+
* pattern and an exclusion pattern, the exclusion pattern takes
|
|
2216
|
+
* precedence,
|
|
2217
|
+
* and the file isn't included in the index.</p>
|
|
2218
|
+
*/
|
|
2219
|
+
ExclusionPatterns?: string[];
|
|
2220
|
+
/**
|
|
2221
|
+
* <p>Configuration information for connecting to an Amazon Virtual Private Cloud
|
|
2222
|
+
* (VPC)
|
|
2223
|
+
* for your Quip. Your Quip instance must reside inside your VPC.</p>
|
|
2224
|
+
*/
|
|
2225
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
2226
|
+
}
|
|
2227
|
+
export declare namespace QuipConfiguration {
|
|
2228
|
+
/**
|
|
2229
|
+
* @internal
|
|
2230
|
+
*/
|
|
2231
|
+
const filterSensitiveLog: (obj: QuipConfiguration) => any;
|
|
2232
|
+
}
|
|
2140
2233
|
/**
|
|
2141
2234
|
* <p>Document metadata files that contain information such as the
|
|
2142
2235
|
* document access control information, source URI, document author,
|
|
@@ -3338,6 +3431,11 @@ export interface DataSourceConfiguration {
|
|
|
3338
3431
|
* <p>Provides the configuration information to connect to Box as your data source.</p>
|
|
3339
3432
|
*/
|
|
3340
3433
|
BoxConfiguration?: BoxConfiguration;
|
|
3434
|
+
/**
|
|
3435
|
+
* <p>Provides the configuration information to connect to Quip as your
|
|
3436
|
+
* data source.</p>
|
|
3437
|
+
*/
|
|
3438
|
+
QuipConfiguration?: QuipConfiguration;
|
|
3341
3439
|
}
|
|
3342
3440
|
export declare namespace DataSourceConfiguration {
|
|
3343
3441
|
/**
|
|
@@ -3376,6 +3474,7 @@ export declare enum DataSourceType {
|
|
|
3376
3474
|
FSX = "FSX",
|
|
3377
3475
|
GOOGLEDRIVE = "GOOGLEDRIVE",
|
|
3378
3476
|
ONEDRIVE = "ONEDRIVE",
|
|
3477
|
+
QUIP = "QUIP",
|
|
3379
3478
|
S3 = "S3",
|
|
3380
3479
|
SALESFORCE = "SALESFORCE",
|
|
3381
3480
|
SERVICENOW = "SERVICENOW",
|
|
@@ -957,6 +957,37 @@ export declare namespace OneDriveConfiguration {
|
|
|
957
957
|
const filterSensitiveLog: (obj: OneDriveConfiguration) => any;
|
|
958
958
|
}
|
|
959
959
|
|
|
960
|
+
export interface QuipConfiguration {
|
|
961
|
+
|
|
962
|
+
Domain: string | undefined;
|
|
963
|
+
|
|
964
|
+
SecretArn: string | undefined;
|
|
965
|
+
|
|
966
|
+
CrawlFileComments?: boolean;
|
|
967
|
+
|
|
968
|
+
CrawlChatRooms?: boolean;
|
|
969
|
+
|
|
970
|
+
CrawlAttachments?: boolean;
|
|
971
|
+
|
|
972
|
+
FolderIds?: string[];
|
|
973
|
+
|
|
974
|
+
ThreadFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
975
|
+
|
|
976
|
+
MessageFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
977
|
+
|
|
978
|
+
AttachmentFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
979
|
+
|
|
980
|
+
InclusionPatterns?: string[];
|
|
981
|
+
|
|
982
|
+
ExclusionPatterns?: string[];
|
|
983
|
+
|
|
984
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
985
|
+
}
|
|
986
|
+
export declare namespace QuipConfiguration {
|
|
987
|
+
|
|
988
|
+
const filterSensitiveLog: (obj: QuipConfiguration) => any;
|
|
989
|
+
}
|
|
990
|
+
|
|
960
991
|
export interface DocumentsMetadataConfiguration {
|
|
961
992
|
|
|
962
993
|
S3Prefix?: string;
|
|
@@ -1384,6 +1415,8 @@ export interface DataSourceConfiguration {
|
|
|
1384
1415
|
SlackConfiguration?: SlackConfiguration;
|
|
1385
1416
|
|
|
1386
1417
|
BoxConfiguration?: BoxConfiguration;
|
|
1418
|
+
|
|
1419
|
+
QuipConfiguration?: QuipConfiguration;
|
|
1387
1420
|
}
|
|
1388
1421
|
export declare namespace DataSourceConfiguration {
|
|
1389
1422
|
|
|
@@ -1408,6 +1441,7 @@ export declare enum DataSourceType {
|
|
|
1408
1441
|
FSX = "FSX",
|
|
1409
1442
|
GOOGLEDRIVE = "GOOGLEDRIVE",
|
|
1410
1443
|
ONEDRIVE = "ONEDRIVE",
|
|
1444
|
+
QUIP = "QUIP",
|
|
1411
1445
|
S3 = "S3",
|
|
1412
1446
|
SALESFORCE = "SALESFORCE",
|
|
1413
1447
|
SERVICENOW = "SERVICENOW",
|
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.74.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.74.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.74.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.55.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.74.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.72.0",
|
|
39
39
|
"@aws-sdk/types": "3.55.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.55.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.72.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.72.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|