@aws-sdk/client-kendra 3.58.0 → 3.72.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/README.md +2 -2
- package/dist-cjs/models/models_0.js +24 -17
- package/dist-cjs/protocols/Aws_json1_1.js +76 -0
- package/dist-es/models/models_0.js +13 -8
- package/dist-es/protocols/Aws_json1_1.js +62 -1
- package/dist-types/Kendra.d.ts +2 -2
- package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
- package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +203 -71
- package/dist-types/ts3.4/models/models_0.d.ts +60 -24
- package/package.json +6 -6
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.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-kendra
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.65.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.64.0...v3.65.0) (2022-04-06)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **client-kendra:** Amazon Kendra now provides a data source connector for Box. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-box.html ([23658e5](https://github.com/aws/aws-sdk-js-v3/commit/23658e58933ed49de16a4ddbe52e3f920b084404))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-kendra
|
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ but they are supported by the send operation.
|
|
|
115
115
|
```js
|
|
116
116
|
// callbacks.
|
|
117
117
|
client.send(command, (err, data) => {
|
|
118
|
-
//
|
|
118
|
+
// process err and data.
|
|
119
119
|
});
|
|
120
120
|
```
|
|
121
121
|
|
|
@@ -149,7 +149,7 @@ client
|
|
|
149
149
|
|
|
150
150
|
// callbacks.
|
|
151
151
|
client.associateEntitiesToExperience(params, (err, data) => {
|
|
152
|
-
//
|
|
152
|
+
// process err and data.
|
|
153
153
|
});
|
|
154
154
|
```
|
|
155
155
|
|
|
@@ -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 = void 0;
|
|
4
|
+
exports.ServiceNowServiceCatalogConfiguration = 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.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.DescribeDataSourceRequest = 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 = void 0;
|
|
6
|
+
exports.TimeRange = 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 = void 0;
|
|
7
|
+
exports.UserContext = 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 = 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 = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const KendraServiceException_1 = require("./KendraServiceException");
|
|
11
11
|
var AccessControlListConfiguration;
|
|
@@ -419,6 +419,24 @@ var ClearQuerySuggestionsRequest;
|
|
|
419
419
|
...obj,
|
|
420
420
|
});
|
|
421
421
|
})(ClearQuerySuggestionsRequest = exports.ClearQuerySuggestionsRequest || (exports.ClearQuerySuggestionsRequest = {}));
|
|
422
|
+
var DataSourceToIndexFieldMapping;
|
|
423
|
+
(function (DataSourceToIndexFieldMapping) {
|
|
424
|
+
DataSourceToIndexFieldMapping.filterSensitiveLog = (obj) => ({
|
|
425
|
+
...obj,
|
|
426
|
+
});
|
|
427
|
+
})(DataSourceToIndexFieldMapping = exports.DataSourceToIndexFieldMapping || (exports.DataSourceToIndexFieldMapping = {}));
|
|
428
|
+
var DataSourceVpcConfiguration;
|
|
429
|
+
(function (DataSourceVpcConfiguration) {
|
|
430
|
+
DataSourceVpcConfiguration.filterSensitiveLog = (obj) => ({
|
|
431
|
+
...obj,
|
|
432
|
+
});
|
|
433
|
+
})(DataSourceVpcConfiguration = exports.DataSourceVpcConfiguration || (exports.DataSourceVpcConfiguration = {}));
|
|
434
|
+
var BoxConfiguration;
|
|
435
|
+
(function (BoxConfiguration) {
|
|
436
|
+
BoxConfiguration.filterSensitiveLog = (obj) => ({
|
|
437
|
+
...obj,
|
|
438
|
+
});
|
|
439
|
+
})(BoxConfiguration = exports.BoxConfiguration || (exports.BoxConfiguration = {}));
|
|
422
440
|
var ConfluenceAttachmentFieldName;
|
|
423
441
|
(function (ConfluenceAttachmentFieldName) {
|
|
424
442
|
ConfluenceAttachmentFieldName["AUTHOR"] = "AUTHOR";
|
|
@@ -520,24 +538,12 @@ var ConfluenceVersion;
|
|
|
520
538
|
ConfluenceVersion["CLOUD"] = "CLOUD";
|
|
521
539
|
ConfluenceVersion["SERVER"] = "SERVER";
|
|
522
540
|
})(ConfluenceVersion = exports.ConfluenceVersion || (exports.ConfluenceVersion = {}));
|
|
523
|
-
var DataSourceVpcConfiguration;
|
|
524
|
-
(function (DataSourceVpcConfiguration) {
|
|
525
|
-
DataSourceVpcConfiguration.filterSensitiveLog = (obj) => ({
|
|
526
|
-
...obj,
|
|
527
|
-
});
|
|
528
|
-
})(DataSourceVpcConfiguration = exports.DataSourceVpcConfiguration || (exports.DataSourceVpcConfiguration = {}));
|
|
529
541
|
var ConfluenceConfiguration;
|
|
530
542
|
(function (ConfluenceConfiguration) {
|
|
531
543
|
ConfluenceConfiguration.filterSensitiveLog = (obj) => ({
|
|
532
544
|
...obj,
|
|
533
545
|
});
|
|
534
546
|
})(ConfluenceConfiguration = exports.ConfluenceConfiguration || (exports.ConfluenceConfiguration = {}));
|
|
535
|
-
var DataSourceToIndexFieldMapping;
|
|
536
|
-
(function (DataSourceToIndexFieldMapping) {
|
|
537
|
-
DataSourceToIndexFieldMapping.filterSensitiveLog = (obj) => ({
|
|
538
|
-
...obj,
|
|
539
|
-
});
|
|
540
|
-
})(DataSourceToIndexFieldMapping = exports.DataSourceToIndexFieldMapping || (exports.DataSourceToIndexFieldMapping = {}));
|
|
541
547
|
var ColumnConfiguration;
|
|
542
548
|
(function (ColumnConfiguration) {
|
|
543
549
|
ColumnConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -796,6 +802,7 @@ var Tag;
|
|
|
796
802
|
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
797
803
|
var DataSourceType;
|
|
798
804
|
(function (DataSourceType) {
|
|
805
|
+
DataSourceType["BOX"] = "BOX";
|
|
799
806
|
DataSourceType["CONFLUENCE"] = "CONFLUENCE";
|
|
800
807
|
DataSourceType["CUSTOM"] = "CUSTOM";
|
|
801
808
|
DataSourceType["DATABASE"] = "DATABASE";
|
|
@@ -3518,6 +3518,44 @@ const serializeAws_json1_1BatchPutDocumentRequest = (input, context) => {
|
|
|
3518
3518
|
...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }),
|
|
3519
3519
|
};
|
|
3520
3520
|
};
|
|
3521
|
+
const serializeAws_json1_1BoxConfiguration = (input, context) => {
|
|
3522
|
+
return {
|
|
3523
|
+
...(input.CommentFieldMappings !== undefined &&
|
|
3524
|
+
input.CommentFieldMappings !== null && {
|
|
3525
|
+
CommentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.CommentFieldMappings, context),
|
|
3526
|
+
}),
|
|
3527
|
+
...(input.CrawlComments !== undefined && input.CrawlComments !== null && { CrawlComments: input.CrawlComments }),
|
|
3528
|
+
...(input.CrawlTasks !== undefined && input.CrawlTasks !== null && { CrawlTasks: input.CrawlTasks }),
|
|
3529
|
+
...(input.CrawlWebLinks !== undefined && input.CrawlWebLinks !== null && { CrawlWebLinks: input.CrawlWebLinks }),
|
|
3530
|
+
...(input.EnterpriseId !== undefined && input.EnterpriseId !== null && { EnterpriseId: input.EnterpriseId }),
|
|
3531
|
+
...(input.ExclusionPatterns !== undefined &&
|
|
3532
|
+
input.ExclusionPatterns !== null && {
|
|
3533
|
+
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
3534
|
+
}),
|
|
3535
|
+
...(input.FileFieldMappings !== undefined &&
|
|
3536
|
+
input.FileFieldMappings !== null && {
|
|
3537
|
+
FileFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FileFieldMappings, context),
|
|
3538
|
+
}),
|
|
3539
|
+
...(input.InclusionPatterns !== undefined &&
|
|
3540
|
+
input.InclusionPatterns !== null && {
|
|
3541
|
+
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
3542
|
+
}),
|
|
3543
|
+
...(input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }),
|
|
3544
|
+
...(input.TaskFieldMappings !== undefined &&
|
|
3545
|
+
input.TaskFieldMappings !== null && {
|
|
3546
|
+
TaskFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.TaskFieldMappings, context),
|
|
3547
|
+
}),
|
|
3548
|
+
...(input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog }),
|
|
3549
|
+
...(input.VpcConfiguration !== undefined &&
|
|
3550
|
+
input.VpcConfiguration !== null && {
|
|
3551
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
3552
|
+
}),
|
|
3553
|
+
...(input.WebLinkFieldMappings !== undefined &&
|
|
3554
|
+
input.WebLinkFieldMappings !== null && {
|
|
3555
|
+
WebLinkFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.WebLinkFieldMappings, context),
|
|
3556
|
+
}),
|
|
3557
|
+
};
|
|
3558
|
+
};
|
|
3521
3559
|
const serializeAws_json1_1CapacityUnitsConfiguration = (input, context) => {
|
|
3522
3560
|
return {
|
|
3523
3561
|
...(input.QueryCapacityUnits !== undefined &&
|
|
@@ -3915,6 +3953,10 @@ const serializeAws_json1_1DatabaseConfiguration = (input, context) => {
|
|
|
3915
3953
|
};
|
|
3916
3954
|
const serializeAws_json1_1DataSourceConfiguration = (input, context) => {
|
|
3917
3955
|
return {
|
|
3956
|
+
...(input.BoxConfiguration !== undefined &&
|
|
3957
|
+
input.BoxConfiguration !== null && {
|
|
3958
|
+
BoxConfiguration: serializeAws_json1_1BoxConfiguration(input.BoxConfiguration, context),
|
|
3959
|
+
}),
|
|
3918
3960
|
...(input.ConfluenceConfiguration !== undefined &&
|
|
3919
3961
|
input.ConfluenceConfiguration !== null && {
|
|
3920
3962
|
ConfluenceConfiguration: serializeAws_json1_1ConfluenceConfiguration(input.ConfluenceConfiguration, context),
|
|
@@ -5776,6 +5818,37 @@ const deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = (output, c
|
|
|
5776
5818
|
});
|
|
5777
5819
|
return retVal;
|
|
5778
5820
|
};
|
|
5821
|
+
const deserializeAws_json1_1BoxConfiguration = (output, context) => {
|
|
5822
|
+
return {
|
|
5823
|
+
CommentFieldMappings: output.CommentFieldMappings !== undefined && output.CommentFieldMappings !== null
|
|
5824
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.CommentFieldMappings, context)
|
|
5825
|
+
: undefined,
|
|
5826
|
+
CrawlComments: (0, smithy_client_1.expectBoolean)(output.CrawlComments),
|
|
5827
|
+
CrawlTasks: (0, smithy_client_1.expectBoolean)(output.CrawlTasks),
|
|
5828
|
+
CrawlWebLinks: (0, smithy_client_1.expectBoolean)(output.CrawlWebLinks),
|
|
5829
|
+
EnterpriseId: (0, smithy_client_1.expectString)(output.EnterpriseId),
|
|
5830
|
+
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
5831
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
5832
|
+
: undefined,
|
|
5833
|
+
FileFieldMappings: output.FileFieldMappings !== undefined && output.FileFieldMappings !== null
|
|
5834
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FileFieldMappings, context)
|
|
5835
|
+
: undefined,
|
|
5836
|
+
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
5837
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
5838
|
+
: undefined,
|
|
5839
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
5840
|
+
TaskFieldMappings: output.TaskFieldMappings !== undefined && output.TaskFieldMappings !== null
|
|
5841
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.TaskFieldMappings, context)
|
|
5842
|
+
: undefined,
|
|
5843
|
+
UseChangeLog: (0, smithy_client_1.expectBoolean)(output.UseChangeLog),
|
|
5844
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
5845
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
5846
|
+
: undefined,
|
|
5847
|
+
WebLinkFieldMappings: output.WebLinkFieldMappings !== undefined && output.WebLinkFieldMappings !== null
|
|
5848
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.WebLinkFieldMappings, context)
|
|
5849
|
+
: undefined,
|
|
5850
|
+
};
|
|
5851
|
+
};
|
|
5779
5852
|
const deserializeAws_json1_1CapacityUnitsConfiguration = (output, context) => {
|
|
5780
5853
|
return {
|
|
5781
5854
|
QueryCapacityUnits: (0, smithy_client_1.expectInt32)(output.QueryCapacityUnits),
|
|
@@ -6064,6 +6137,9 @@ const deserializeAws_json1_1DatabaseConfiguration = (output, context) => {
|
|
|
6064
6137
|
};
|
|
6065
6138
|
const deserializeAws_json1_1DataSourceConfiguration = (output, context) => {
|
|
6066
6139
|
return {
|
|
6140
|
+
BoxConfiguration: output.BoxConfiguration !== undefined && output.BoxConfiguration !== null
|
|
6141
|
+
? deserializeAws_json1_1BoxConfiguration(output.BoxConfiguration, context)
|
|
6142
|
+
: undefined,
|
|
6067
6143
|
ConfluenceConfiguration: output.ConfluenceConfiguration !== undefined && output.ConfluenceConfiguration !== null
|
|
6068
6144
|
? deserializeAws_json1_1ConfluenceConfiguration(output.ConfluenceConfiguration, context)
|
|
6069
6145
|
: undefined,
|
|
@@ -326,6 +326,18 @@ export var ClearQuerySuggestionsRequest;
|
|
|
326
326
|
(function (ClearQuerySuggestionsRequest) {
|
|
327
327
|
ClearQuerySuggestionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
328
328
|
})(ClearQuerySuggestionsRequest || (ClearQuerySuggestionsRequest = {}));
|
|
329
|
+
export var DataSourceToIndexFieldMapping;
|
|
330
|
+
(function (DataSourceToIndexFieldMapping) {
|
|
331
|
+
DataSourceToIndexFieldMapping.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
332
|
+
})(DataSourceToIndexFieldMapping || (DataSourceToIndexFieldMapping = {}));
|
|
333
|
+
export var DataSourceVpcConfiguration;
|
|
334
|
+
(function (DataSourceVpcConfiguration) {
|
|
335
|
+
DataSourceVpcConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
336
|
+
})(DataSourceVpcConfiguration || (DataSourceVpcConfiguration = {}));
|
|
337
|
+
export var BoxConfiguration;
|
|
338
|
+
(function (BoxConfiguration) {
|
|
339
|
+
BoxConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
340
|
+
})(BoxConfiguration || (BoxConfiguration = {}));
|
|
329
341
|
export var ConfluenceAttachmentFieldName;
|
|
330
342
|
(function (ConfluenceAttachmentFieldName) {
|
|
331
343
|
ConfluenceAttachmentFieldName["AUTHOR"] = "AUTHOR";
|
|
@@ -411,18 +423,10 @@ export var ConfluenceVersion;
|
|
|
411
423
|
ConfluenceVersion["CLOUD"] = "CLOUD";
|
|
412
424
|
ConfluenceVersion["SERVER"] = "SERVER";
|
|
413
425
|
})(ConfluenceVersion || (ConfluenceVersion = {}));
|
|
414
|
-
export var DataSourceVpcConfiguration;
|
|
415
|
-
(function (DataSourceVpcConfiguration) {
|
|
416
|
-
DataSourceVpcConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
417
|
-
})(DataSourceVpcConfiguration || (DataSourceVpcConfiguration = {}));
|
|
418
426
|
export var ConfluenceConfiguration;
|
|
419
427
|
(function (ConfluenceConfiguration) {
|
|
420
428
|
ConfluenceConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
421
429
|
})(ConfluenceConfiguration || (ConfluenceConfiguration = {}));
|
|
422
|
-
export var DataSourceToIndexFieldMapping;
|
|
423
|
-
(function (DataSourceToIndexFieldMapping) {
|
|
424
|
-
DataSourceToIndexFieldMapping.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
425
|
-
})(DataSourceToIndexFieldMapping || (DataSourceToIndexFieldMapping = {}));
|
|
426
430
|
export var ColumnConfiguration;
|
|
427
431
|
(function (ColumnConfiguration) {
|
|
428
432
|
ColumnConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -621,6 +625,7 @@ export var Tag;
|
|
|
621
625
|
})(Tag || (Tag = {}));
|
|
622
626
|
export var DataSourceType;
|
|
623
627
|
(function (DataSourceType) {
|
|
628
|
+
DataSourceType["BOX"] = "BOX";
|
|
624
629
|
DataSourceType["CONFLUENCE"] = "CONFLUENCE";
|
|
625
630
|
DataSourceType["CUSTOM"] = "CUSTOM";
|
|
626
631
|
DataSourceType["DATABASE"] = "DATABASE";
|
|
@@ -4609,6 +4609,30 @@ var serializeAws_json1_1BatchPutDocumentRequest = function (input, context) {
|
|
|
4609
4609
|
})), (input.Documents !== undefined &&
|
|
4610
4610
|
input.Documents !== null && { Documents: serializeAws_json1_1DocumentList(input.Documents, context) })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
4611
4611
|
};
|
|
4612
|
+
var serializeAws_json1_1BoxConfiguration = function (input, context) {
|
|
4613
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CommentFieldMappings !== undefined &&
|
|
4614
|
+
input.CommentFieldMappings !== null && {
|
|
4615
|
+
CommentFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.CommentFieldMappings, context),
|
|
4616
|
+
})), (input.CrawlComments !== undefined && input.CrawlComments !== null && { CrawlComments: input.CrawlComments })), (input.CrawlTasks !== undefined && input.CrawlTasks !== null && { CrawlTasks: input.CrawlTasks })), (input.CrawlWebLinks !== undefined && input.CrawlWebLinks !== null && { CrawlWebLinks: input.CrawlWebLinks })), (input.EnterpriseId !== undefined && input.EnterpriseId !== null && { EnterpriseId: input.EnterpriseId })), (input.ExclusionPatterns !== undefined &&
|
|
4617
|
+
input.ExclusionPatterns !== null && {
|
|
4618
|
+
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
4619
|
+
})), (input.FileFieldMappings !== undefined &&
|
|
4620
|
+
input.FileFieldMappings !== null && {
|
|
4621
|
+
FileFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FileFieldMappings, context),
|
|
4622
|
+
})), (input.InclusionPatterns !== undefined &&
|
|
4623
|
+
input.InclusionPatterns !== null && {
|
|
4624
|
+
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
4625
|
+
})), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.TaskFieldMappings !== undefined &&
|
|
4626
|
+
input.TaskFieldMappings !== null && {
|
|
4627
|
+
TaskFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.TaskFieldMappings, context),
|
|
4628
|
+
})), (input.UseChangeLog !== undefined && input.UseChangeLog !== null && { UseChangeLog: input.UseChangeLog })), (input.VpcConfiguration !== undefined &&
|
|
4629
|
+
input.VpcConfiguration !== null && {
|
|
4630
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
4631
|
+
})), (input.WebLinkFieldMappings !== undefined &&
|
|
4632
|
+
input.WebLinkFieldMappings !== null && {
|
|
4633
|
+
WebLinkFieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.WebLinkFieldMappings, context),
|
|
4634
|
+
}));
|
|
4635
|
+
};
|
|
4612
4636
|
var serializeAws_json1_1CapacityUnitsConfiguration = function (input, context) {
|
|
4613
4637
|
return __assign(__assign({}, (input.QueryCapacityUnits !== undefined &&
|
|
4614
4638
|
input.QueryCapacityUnits !== null && { QueryCapacityUnits: input.QueryCapacityUnits })), (input.StorageCapacityUnits !== undefined &&
|
|
@@ -4873,7 +4897,10 @@ var serializeAws_json1_1DatabaseConfiguration = function (input, context) {
|
|
|
4873
4897
|
}));
|
|
4874
4898
|
};
|
|
4875
4899
|
var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
4876
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.
|
|
4900
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BoxConfiguration !== undefined &&
|
|
4901
|
+
input.BoxConfiguration !== null && {
|
|
4902
|
+
BoxConfiguration: serializeAws_json1_1BoxConfiguration(input.BoxConfiguration, context),
|
|
4903
|
+
})), (input.ConfluenceConfiguration !== undefined &&
|
|
4877
4904
|
input.ConfluenceConfiguration !== null && {
|
|
4878
4905
|
ConfluenceConfiguration: serializeAws_json1_1ConfluenceConfiguration(input.ConfluenceConfiguration, context),
|
|
4879
4906
|
})), (input.DatabaseConfiguration !== undefined &&
|
|
@@ -6235,6 +6262,37 @@ var deserializeAws_json1_1BatchPutDocumentResponseFailedDocuments = function (ou
|
|
|
6235
6262
|
});
|
|
6236
6263
|
return retVal;
|
|
6237
6264
|
};
|
|
6265
|
+
var deserializeAws_json1_1BoxConfiguration = function (output, context) {
|
|
6266
|
+
return {
|
|
6267
|
+
CommentFieldMappings: output.CommentFieldMappings !== undefined && output.CommentFieldMappings !== null
|
|
6268
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.CommentFieldMappings, context)
|
|
6269
|
+
: undefined,
|
|
6270
|
+
CrawlComments: __expectBoolean(output.CrawlComments),
|
|
6271
|
+
CrawlTasks: __expectBoolean(output.CrawlTasks),
|
|
6272
|
+
CrawlWebLinks: __expectBoolean(output.CrawlWebLinks),
|
|
6273
|
+
EnterpriseId: __expectString(output.EnterpriseId),
|
|
6274
|
+
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
6275
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
6276
|
+
: undefined,
|
|
6277
|
+
FileFieldMappings: output.FileFieldMappings !== undefined && output.FileFieldMappings !== null
|
|
6278
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FileFieldMappings, context)
|
|
6279
|
+
: undefined,
|
|
6280
|
+
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
6281
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
6282
|
+
: undefined,
|
|
6283
|
+
SecretArn: __expectString(output.SecretArn),
|
|
6284
|
+
TaskFieldMappings: output.TaskFieldMappings !== undefined && output.TaskFieldMappings !== null
|
|
6285
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.TaskFieldMappings, context)
|
|
6286
|
+
: undefined,
|
|
6287
|
+
UseChangeLog: __expectBoolean(output.UseChangeLog),
|
|
6288
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
6289
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
6290
|
+
: undefined,
|
|
6291
|
+
WebLinkFieldMappings: output.WebLinkFieldMappings !== undefined && output.WebLinkFieldMappings !== null
|
|
6292
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.WebLinkFieldMappings, context)
|
|
6293
|
+
: undefined,
|
|
6294
|
+
};
|
|
6295
|
+
};
|
|
6238
6296
|
var deserializeAws_json1_1CapacityUnitsConfiguration = function (output, context) {
|
|
6239
6297
|
return {
|
|
6240
6298
|
QueryCapacityUnits: __expectInt32(output.QueryCapacityUnits),
|
|
@@ -6523,6 +6581,9 @@ var deserializeAws_json1_1DatabaseConfiguration = function (output, context) {
|
|
|
6523
6581
|
};
|
|
6524
6582
|
var deserializeAws_json1_1DataSourceConfiguration = function (output, context) {
|
|
6525
6583
|
return {
|
|
6584
|
+
BoxConfiguration: output.BoxConfiguration !== undefined && output.BoxConfiguration !== null
|
|
6585
|
+
? deserializeAws_json1_1BoxConfiguration(output.BoxConfiguration, context)
|
|
6586
|
+
: undefined,
|
|
6526
6587
|
ConfluenceConfiguration: output.ConfluenceConfiguration !== undefined && output.ConfluenceConfiguration !== null
|
|
6527
6588
|
? deserializeAws_json1_1ConfluenceConfiguration(output.ConfluenceConfiguration, context)
|
|
6528
6589
|
: undefined,
|
package/dist-types/Kendra.d.ts
CHANGED
|
@@ -298,7 +298,7 @@ export declare class Kendra extends KendraClient {
|
|
|
298
298
|
describeFaq(args: DescribeFaqCommandInput, cb: (err: any, data?: DescribeFaqCommandOutput) => void): void;
|
|
299
299
|
describeFaq(args: DescribeFaqCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFaqCommandOutput) => void): void;
|
|
300
300
|
/**
|
|
301
|
-
* <p>Describes an existing Amazon Kendra index
|
|
301
|
+
* <p>Describes an existing Amazon Kendra index.</p>
|
|
302
302
|
*/
|
|
303
303
|
describeIndex(args: DescribeIndexCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIndexCommandOutput>;
|
|
304
304
|
describeIndex(args: DescribeIndexCommandInput, cb: (err: any, data?: DescribeIndexCommandOutput) => void): void;
|
|
@@ -438,7 +438,7 @@ export declare class Kendra extends KendraClient {
|
|
|
438
438
|
listGroupsOlderThanOrderingId(args: ListGroupsOlderThanOrderingIdCommandInput, cb: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void): void;
|
|
439
439
|
listGroupsOlderThanOrderingId(args: ListGroupsOlderThanOrderingIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void): void;
|
|
440
440
|
/**
|
|
441
|
-
* <p>Lists the Amazon Kendra indexes that you
|
|
441
|
+
* <p>Lists the Amazon Kendra indexes that you created.</p>
|
|
442
442
|
*/
|
|
443
443
|
listIndices(args: ListIndicesCommandInput, options?: __HttpHandlerOptions): Promise<ListIndicesCommandOutput>;
|
|
444
444
|
listIndices(args: ListIndicesCommandInput, cb: (err: any, data?: ListIndicesCommandOutput) => void): void;
|
|
@@ -7,7 +7,7 @@ export interface DescribeIndexCommandInput extends DescribeIndexRequest {
|
|
|
7
7
|
export interface DescribeIndexCommandOutput extends DescribeIndexResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Describes an existing Amazon Kendra index
|
|
10
|
+
* <p>Describes an existing Amazon Kendra index.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface ListIndicesCommandInput extends ListIndicesRequest {
|
|
|
7
7
|
export interface ListIndicesCommandOutput extends ListIndicesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists the Amazon Kendra indexes that you
|
|
10
|
+
* <p>Lists the Amazon Kendra indexes that you created.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -1199,6 +1199,179 @@ export declare namespace ClearQuerySuggestionsRequest {
|
|
|
1199
1199
|
*/
|
|
1200
1200
|
const filterSensitiveLog: (obj: ClearQuerySuggestionsRequest) => any;
|
|
1201
1201
|
}
|
|
1202
|
+
/**
|
|
1203
|
+
* <p>Maps a column or attribute in the data source to an index field.
|
|
1204
|
+
* You must first create the fields in the index using the
|
|
1205
|
+
* <code>UpdateIndex</code> API.</p>
|
|
1206
|
+
*/
|
|
1207
|
+
export interface DataSourceToIndexFieldMapping {
|
|
1208
|
+
/**
|
|
1209
|
+
* <p>The name of the column or attribute in the data source.</p>
|
|
1210
|
+
*/
|
|
1211
|
+
DataSourceFieldName: string | undefined;
|
|
1212
|
+
/**
|
|
1213
|
+
* <p>The type of data stored in the column or attribute.</p>
|
|
1214
|
+
*/
|
|
1215
|
+
DateFieldFormat?: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* <p>The name of the field in the index.</p>
|
|
1218
|
+
*/
|
|
1219
|
+
IndexFieldName: string | undefined;
|
|
1220
|
+
}
|
|
1221
|
+
export declare namespace DataSourceToIndexFieldMapping {
|
|
1222
|
+
/**
|
|
1223
|
+
* @internal
|
|
1224
|
+
*/
|
|
1225
|
+
const filterSensitiveLog: (obj: DataSourceToIndexFieldMapping) => any;
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* <p>Provides the configuration information to connect to an Amazon VPC.</p>
|
|
1229
|
+
*/
|
|
1230
|
+
export interface DataSourceVpcConfiguration {
|
|
1231
|
+
/**
|
|
1232
|
+
* <p>A list of identifiers for subnets within your Amazon VPC. The
|
|
1233
|
+
* subnets should be able to connect to each other in the VPC, and they
|
|
1234
|
+
* should have outgoing access to the Internet through a NAT
|
|
1235
|
+
* device.</p>
|
|
1236
|
+
*/
|
|
1237
|
+
SubnetIds: string[] | undefined;
|
|
1238
|
+
/**
|
|
1239
|
+
* <p>A list of identifiers of security groups within your Amazon VPC.
|
|
1240
|
+
* The security groups should enable Amazon Kendra to connect to the data
|
|
1241
|
+
* source.</p>
|
|
1242
|
+
*/
|
|
1243
|
+
SecurityGroupIds: string[] | undefined;
|
|
1244
|
+
}
|
|
1245
|
+
export declare namespace DataSourceVpcConfiguration {
|
|
1246
|
+
/**
|
|
1247
|
+
* @internal
|
|
1248
|
+
*/
|
|
1249
|
+
const filterSensitiveLog: (obj: DataSourceVpcConfiguration) => any;
|
|
1250
|
+
}
|
|
1251
|
+
/**
|
|
1252
|
+
* <p>Provides the configuration information to connect to Box as
|
|
1253
|
+
* your data source.</p>
|
|
1254
|
+
*/
|
|
1255
|
+
export interface BoxConfiguration {
|
|
1256
|
+
/**
|
|
1257
|
+
* <p>The identifier of the Box Enterprise platform. You can find the enterprise
|
|
1258
|
+
* ID in the Box Developer Console settings or when you create an app in Box and
|
|
1259
|
+
* download your authentication credentials. For example, <i>801234567</i>.</p>
|
|
1260
|
+
*/
|
|
1261
|
+
EnterpriseId: string | undefined;
|
|
1262
|
+
/**
|
|
1263
|
+
* <p>The Amazon Resource Name (ARN) of an Secrets Manager secret that contains
|
|
1264
|
+
* the key-value pairs required to connect to your Box platform. The secret must
|
|
1265
|
+
* contain a JSON structure with the following keys:</p>
|
|
1266
|
+
* <ul>
|
|
1267
|
+
* <li>
|
|
1268
|
+
* <p>clientID—The identifier of the client OAuth 2.0 authentication
|
|
1269
|
+
* application created in Box.</p>
|
|
1270
|
+
* </li>
|
|
1271
|
+
* <li>
|
|
1272
|
+
* <p>clientSecret—A set of characters known only to the OAuth 2.0
|
|
1273
|
+
* authentication application created in Box.</p>
|
|
1274
|
+
* </li>
|
|
1275
|
+
* <li>
|
|
1276
|
+
* <p>publicKeyId—The identifier of the public key contained within an
|
|
1277
|
+
* identity certificate.</p>
|
|
1278
|
+
* </li>
|
|
1279
|
+
* <li>
|
|
1280
|
+
* <p>privateKey—A set of characters that make up an encryption key.</p>
|
|
1281
|
+
* </li>
|
|
1282
|
+
* <li>
|
|
1283
|
+
* <p>passphrase—A set of characters that act like a password.</p>
|
|
1284
|
+
* </li>
|
|
1285
|
+
* </ul>
|
|
1286
|
+
* <p>You create an application in Box to generate the keys or credentials required
|
|
1287
|
+
* for the secret. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-box.html#box-authentication">Authentication
|
|
1288
|
+
* for a Box data source</a>.</p>
|
|
1289
|
+
*/
|
|
1290
|
+
SecretArn: string | undefined;
|
|
1291
|
+
/**
|
|
1292
|
+
* <p>
|
|
1293
|
+
* <code>TRUE</code> to use the Slack change log to determine which documents require
|
|
1294
|
+
* updating in the index. Depending on the data source change log's size, it may take
|
|
1295
|
+
* longer for Amazon Kendra to use the change log than to scan all of your
|
|
1296
|
+
* documents.</p>
|
|
1297
|
+
*/
|
|
1298
|
+
UseChangeLog?: boolean;
|
|
1299
|
+
/**
|
|
1300
|
+
* <p>
|
|
1301
|
+
* <code>TRUE</code> to index comments.</p>
|
|
1302
|
+
*/
|
|
1303
|
+
CrawlComments?: boolean;
|
|
1304
|
+
/**
|
|
1305
|
+
* <p>
|
|
1306
|
+
* <code>TRUE</code> to index the contents of tasks.</p>
|
|
1307
|
+
*/
|
|
1308
|
+
CrawlTasks?: boolean;
|
|
1309
|
+
/**
|
|
1310
|
+
* <p>
|
|
1311
|
+
* <code>TRUE</code> to index web links.</p>
|
|
1312
|
+
*/
|
|
1313
|
+
CrawlWebLinks?: boolean;
|
|
1314
|
+
/**
|
|
1315
|
+
* <p>A
|
|
1316
|
+
* list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes or
|
|
1317
|
+
* field names of Box files to Amazon Kendra index field names. To create custom
|
|
1318
|
+
* fields, use the <code>UpdateIndex</code> API before you map to Box fields. For more
|
|
1319
|
+
* information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
1320
|
+
* The Box field names must exist in your Box custom metadata.</p>
|
|
1321
|
+
*/
|
|
1322
|
+
FileFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
1323
|
+
/**
|
|
1324
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes
|
|
1325
|
+
* or field names of Box tasks to Amazon Kendra index field names. To create
|
|
1326
|
+
* custom fields, use the <code>UpdateIndex</code> API before you map to Box fields.
|
|
1327
|
+
* For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
1328
|
+
* The Box field names must exist in your Box custom metadata.</p>
|
|
1329
|
+
*/
|
|
1330
|
+
TaskFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
1331
|
+
/**
|
|
1332
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes
|
|
1333
|
+
* or field names of Box comments to Amazon Kendra index field names. To create
|
|
1334
|
+
* custom fields, use the <code>UpdateIndex</code> API before you map to Box fields.
|
|
1335
|
+
* For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
1336
|
+
* The Box field names must exist in your Box custom metadata.</p>
|
|
1337
|
+
*/
|
|
1338
|
+
CommentFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
1339
|
+
/**
|
|
1340
|
+
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes
|
|
1341
|
+
* or field names of Box web links to Amazon Kendra index field names. To create
|
|
1342
|
+
* custom fields, use the <code>UpdateIndex</code> API before you map to Box fields.
|
|
1343
|
+
* For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
|
|
1344
|
+
* The Box field names must exist in your Box custom metadata.</p>
|
|
1345
|
+
*/
|
|
1346
|
+
WebLinkFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
1347
|
+
/**
|
|
1348
|
+
* <p>A list of regular expression patterns to include certain files and folders in your
|
|
1349
|
+
* Box platform. Files and folders that match the patterns are included in the index.
|
|
1350
|
+
* Files and folders that don't match the patterns are excluded from the index. If a
|
|
1351
|
+
* file or folder matches both an inclusion and exclusion pattern, the exclusion pattern
|
|
1352
|
+
* takes precedence and the file or folder isn't included in the index.</p>
|
|
1353
|
+
*/
|
|
1354
|
+
InclusionPatterns?: string[];
|
|
1355
|
+
/**
|
|
1356
|
+
* <p>A list of regular expression patterns to exclude certain files and folders from
|
|
1357
|
+
* your Box platform. Files and folders that match the patterns are excluded from the
|
|
1358
|
+
* index.Files and folders that don't match the patterns are included in the index.
|
|
1359
|
+
* If a file or folder matches both an inclusion and exclusion pattern, the exclusion
|
|
1360
|
+
* pattern takes precedence and the file or folder isn't included in the index.</p>
|
|
1361
|
+
*/
|
|
1362
|
+
ExclusionPatterns?: string[];
|
|
1363
|
+
/**
|
|
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/endra/latest/dg/vpc-configuration.html">Configuring a VPC</a>.</p>
|
|
1366
|
+
*/
|
|
1367
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
1368
|
+
}
|
|
1369
|
+
export declare namespace BoxConfiguration {
|
|
1370
|
+
/**
|
|
1371
|
+
* @internal
|
|
1372
|
+
*/
|
|
1373
|
+
const filterSensitiveLog: (obj: BoxConfiguration) => any;
|
|
1374
|
+
}
|
|
1202
1375
|
export declare enum ConfluenceAttachmentFieldName {
|
|
1203
1376
|
AUTHOR = "AUTHOR",
|
|
1204
1377
|
CONTENT_TYPE = "CONTENT_TYPE",
|
|
@@ -1501,30 +1674,6 @@ export declare enum ConfluenceVersion {
|
|
|
1501
1674
|
CLOUD = "CLOUD",
|
|
1502
1675
|
SERVER = "SERVER"
|
|
1503
1676
|
}
|
|
1504
|
-
/**
|
|
1505
|
-
* <p>Provides the configuration information to connect to an Amazon VPC.</p>
|
|
1506
|
-
*/
|
|
1507
|
-
export interface DataSourceVpcConfiguration {
|
|
1508
|
-
/**
|
|
1509
|
-
* <p>A list of identifiers for subnets within your Amazon VPC. The
|
|
1510
|
-
* subnets should be able to connect to each other in the VPC, and they
|
|
1511
|
-
* should have outgoing access to the Internet through a NAT
|
|
1512
|
-
* device.</p>
|
|
1513
|
-
*/
|
|
1514
|
-
SubnetIds: string[] | undefined;
|
|
1515
|
-
/**
|
|
1516
|
-
* <p>A list of identifiers of security groups within your Amazon VPC.
|
|
1517
|
-
* The security groups should enable Amazon Kendra to connect to the data
|
|
1518
|
-
* source.</p>
|
|
1519
|
-
*/
|
|
1520
|
-
SecurityGroupIds: string[] | undefined;
|
|
1521
|
-
}
|
|
1522
|
-
export declare namespace DataSourceVpcConfiguration {
|
|
1523
|
-
/**
|
|
1524
|
-
* @internal
|
|
1525
|
-
*/
|
|
1526
|
-
const filterSensitiveLog: (obj: DataSourceVpcConfiguration) => any;
|
|
1527
|
-
}
|
|
1528
1677
|
/**
|
|
1529
1678
|
* <p>Provides the configuration information to connect to Confluence
|
|
1530
1679
|
* as your data source.</p>
|
|
@@ -1604,31 +1753,6 @@ export declare namespace ConfluenceConfiguration {
|
|
|
1604
1753
|
*/
|
|
1605
1754
|
const filterSensitiveLog: (obj: ConfluenceConfiguration) => any;
|
|
1606
1755
|
}
|
|
1607
|
-
/**
|
|
1608
|
-
* <p>Maps a column or attribute in the data source to an index field.
|
|
1609
|
-
* You must first create the fields in the index using the
|
|
1610
|
-
* <code>UpdateIndex</code> API.</p>
|
|
1611
|
-
*/
|
|
1612
|
-
export interface DataSourceToIndexFieldMapping {
|
|
1613
|
-
/**
|
|
1614
|
-
* <p>The name of the column or attribute in the data source.</p>
|
|
1615
|
-
*/
|
|
1616
|
-
DataSourceFieldName: string | undefined;
|
|
1617
|
-
/**
|
|
1618
|
-
* <p>The type of data stored in the column or attribute.</p>
|
|
1619
|
-
*/
|
|
1620
|
-
DateFieldFormat?: string;
|
|
1621
|
-
/**
|
|
1622
|
-
* <p>The name of the field in the index.</p>
|
|
1623
|
-
*/
|
|
1624
|
-
IndexFieldName: string | undefined;
|
|
1625
|
-
}
|
|
1626
|
-
export declare namespace DataSourceToIndexFieldMapping {
|
|
1627
|
-
/**
|
|
1628
|
-
* @internal
|
|
1629
|
-
*/
|
|
1630
|
-
const filterSensitiveLog: (obj: DataSourceToIndexFieldMapping) => any;
|
|
1631
|
-
}
|
|
1632
1756
|
/**
|
|
1633
1757
|
* <p>Provides information about how Amazon Kendra should use the columns of
|
|
1634
1758
|
* a database in an index.</p>
|
|
@@ -3210,6 +3334,10 @@ export interface DataSourceConfiguration {
|
|
|
3210
3334
|
* data source.</p>
|
|
3211
3335
|
*/
|
|
3212
3336
|
SlackConfiguration?: SlackConfiguration;
|
|
3337
|
+
/**
|
|
3338
|
+
* <p>Provides the configuration information to connect to Box as your data source.</p>
|
|
3339
|
+
*/
|
|
3340
|
+
BoxConfiguration?: BoxConfiguration;
|
|
3213
3341
|
}
|
|
3214
3342
|
export declare namespace DataSourceConfiguration {
|
|
3215
3343
|
/**
|
|
@@ -3241,6 +3369,7 @@ export declare namespace Tag {
|
|
|
3241
3369
|
const filterSensitiveLog: (obj: Tag) => any;
|
|
3242
3370
|
}
|
|
3243
3371
|
export declare enum DataSourceType {
|
|
3372
|
+
BOX = "BOX",
|
|
3244
3373
|
CONFLUENCE = "CONFLUENCE",
|
|
3245
3374
|
CUSTOM = "CUSTOM",
|
|
3246
3375
|
DATABASE = "DATABASE",
|
|
@@ -3716,16 +3845,16 @@ export interface CreateIndexRequest {
|
|
|
3716
3845
|
*/
|
|
3717
3846
|
Edition?: IndexEdition | string;
|
|
3718
3847
|
/**
|
|
3719
|
-
* <p>An Identity and Access Management(IAM) role that gives
|
|
3848
|
+
* <p>An Identity and Access Management (IAM) role that gives
|
|
3720
3849
|
* Amazon Kendra permissions to access your Amazon CloudWatch logs and
|
|
3721
|
-
* metrics. This is also the role
|
|
3850
|
+
* metrics. This is also the role you use when you call the
|
|
3722
3851
|
* <code>BatchPutDocument</code> API to index documents from an
|
|
3723
3852
|
* Amazon S3 bucket.</p>
|
|
3724
3853
|
*/
|
|
3725
3854
|
RoleArn: string | undefined;
|
|
3726
3855
|
/**
|
|
3727
|
-
* <p>The identifier of the
|
|
3728
|
-
* encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support
|
|
3856
|
+
* <p>The identifier of the KMS customer managed key (CMK) that's
|
|
3857
|
+
* used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support
|
|
3729
3858
|
* asymmetric CMKs.</p>
|
|
3730
3859
|
*/
|
|
3731
3860
|
ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
@@ -4369,7 +4498,7 @@ export declare namespace DescribeFaqResponse {
|
|
|
4369
4498
|
}
|
|
4370
4499
|
export interface DescribeIndexRequest {
|
|
4371
4500
|
/**
|
|
4372
|
-
* <p>The
|
|
4501
|
+
* <p>The identifier of the index to describe.</p>
|
|
4373
4502
|
*/
|
|
4374
4503
|
Id: string | undefined;
|
|
4375
4504
|
}
|
|
@@ -4380,9 +4509,9 @@ export declare namespace DescribeIndexRequest {
|
|
|
4380
4509
|
const filterSensitiveLog: (obj: DescribeIndexRequest) => any;
|
|
4381
4510
|
}
|
|
4382
4511
|
/**
|
|
4383
|
-
* <p>Specifies capacity units configured for your
|
|
4384
|
-
* You can add and remove capacity units
|
|
4385
|
-
* requirements.</p>
|
|
4512
|
+
* <p>Specifies additional capacity units configured for your
|
|
4513
|
+
* Enterprise Edition index. You can add and remove capacity units
|
|
4514
|
+
* to fit your usage requirements.</p>
|
|
4386
4515
|
*/
|
|
4387
4516
|
export interface CapacityUnitsConfiguration {
|
|
4388
4517
|
/**
|
|
@@ -4631,7 +4760,7 @@ export interface DescribeIndexResponse {
|
|
|
4631
4760
|
*/
|
|
4632
4761
|
Name?: string;
|
|
4633
4762
|
/**
|
|
4634
|
-
* <p>The
|
|
4763
|
+
* <p>The identifier of the index.</p>
|
|
4635
4764
|
*/
|
|
4636
4765
|
Id?: string;
|
|
4637
4766
|
/**
|
|
@@ -4645,8 +4774,9 @@ export interface DescribeIndexResponse {
|
|
|
4645
4774
|
*/
|
|
4646
4775
|
RoleArn?: string;
|
|
4647
4776
|
/**
|
|
4648
|
-
* <p>The identifier of the KMScustomer master key (CMK)
|
|
4649
|
-
* encrypt your data. Amazon Kendra doesn't support
|
|
4777
|
+
* <p>The identifier of the KMScustomer master key (CMK)
|
|
4778
|
+
* that is used to encrypt your data. Amazon Kendra doesn't support
|
|
4779
|
+
* asymmetric CMKs.</p>
|
|
4650
4780
|
*/
|
|
4651
4781
|
ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
4652
4782
|
/**
|
|
@@ -4658,7 +4788,7 @@ export interface DescribeIndexResponse {
|
|
|
4658
4788
|
*/
|
|
4659
4789
|
Status?: IndexStatus | string;
|
|
4660
4790
|
/**
|
|
4661
|
-
* <p>The description
|
|
4791
|
+
* <p>The description for the index.</p>
|
|
4662
4792
|
*/
|
|
4663
4793
|
Description?: string;
|
|
4664
4794
|
/**
|
|
@@ -4680,17 +4810,19 @@ export interface DescribeIndexResponse {
|
|
|
4680
4810
|
*/
|
|
4681
4811
|
IndexStatistics?: IndexStatistics;
|
|
4682
4812
|
/**
|
|
4683
|
-
* <p>When
|
|
4813
|
+
* <p>When the <code>Status</code> field value is <code>FAILED</code>, the
|
|
4684
4814
|
* <code>ErrorMessage</code> field contains a message that explains
|
|
4685
4815
|
* why.</p>
|
|
4686
4816
|
*/
|
|
4687
4817
|
ErrorMessage?: string;
|
|
4688
4818
|
/**
|
|
4689
|
-
* <p>For Enterprise
|
|
4819
|
+
* <p>For Enterprise Edition indexes, you can choose to use additional
|
|
4690
4820
|
* capacity to meet the needs of your application. This contains the capacity
|
|
4691
|
-
* units used for the index. A
|
|
4692
|
-
*
|
|
4693
|
-
* index
|
|
4821
|
+
* units used for the index. A query or document storage capacity of zero
|
|
4822
|
+
* indicates that the index is using the default capacity. For more information
|
|
4823
|
+
* on the default capacity for an index and adjusting this, see
|
|
4824
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html">Adjusting
|
|
4825
|
+
* capacity</a>.</p>
|
|
4694
4826
|
*/
|
|
4695
4827
|
CapacityUnits?: CapacityUnitsConfiguration;
|
|
4696
4828
|
/**
|
|
@@ -6139,7 +6271,7 @@ export declare namespace ListIndicesRequest {
|
|
|
6139
6271
|
*/
|
|
6140
6272
|
export interface IndexConfigurationSummary {
|
|
6141
6273
|
/**
|
|
6142
|
-
* <p>The
|
|
6274
|
+
* <p>The identifier of the index.</p>
|
|
6143
6275
|
*/
|
|
6144
6276
|
Name?: string;
|
|
6145
6277
|
/**
|
|
@@ -7284,11 +7416,11 @@ export interface UpdateIndexRequest {
|
|
|
7284
7416
|
*/
|
|
7285
7417
|
DocumentMetadataConfigurationUpdates?: DocumentMetadataConfiguration[];
|
|
7286
7418
|
/**
|
|
7287
|
-
* <p>Sets the number of additional storage and query capacity
|
|
7288
|
-
* should be used by the index. You can change the capacity of
|
|
7289
|
-
* to 5 times per day.</p>
|
|
7419
|
+
* <p>Sets the number of additional document storage and query capacity
|
|
7420
|
+
* units that should be used by the index. You can change the capacity of
|
|
7421
|
+
* the index up to 5 times per day, or make 5 API calls.</p>
|
|
7290
7422
|
* <p>If you are using extra storage units, you can't reduce the storage
|
|
7291
|
-
* capacity below
|
|
7423
|
+
* capacity below what is required to meet the storage needs for your
|
|
7292
7424
|
* index.</p>
|
|
7293
7425
|
*/
|
|
7294
7426
|
CapacityUnits?: CapacityUnitsConfiguration;
|
|
@@ -577,6 +577,63 @@ export declare namespace ClearQuerySuggestionsRequest {
|
|
|
577
577
|
|
|
578
578
|
const filterSensitiveLog: (obj: ClearQuerySuggestionsRequest) => any;
|
|
579
579
|
}
|
|
580
|
+
|
|
581
|
+
export interface DataSourceToIndexFieldMapping {
|
|
582
|
+
|
|
583
|
+
DataSourceFieldName: string | undefined;
|
|
584
|
+
|
|
585
|
+
DateFieldFormat?: string;
|
|
586
|
+
|
|
587
|
+
IndexFieldName: string | undefined;
|
|
588
|
+
}
|
|
589
|
+
export declare namespace DataSourceToIndexFieldMapping {
|
|
590
|
+
|
|
591
|
+
const filterSensitiveLog: (obj: DataSourceToIndexFieldMapping) => any;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export interface DataSourceVpcConfiguration {
|
|
595
|
+
|
|
596
|
+
SubnetIds: string[] | undefined;
|
|
597
|
+
|
|
598
|
+
SecurityGroupIds: string[] | undefined;
|
|
599
|
+
}
|
|
600
|
+
export declare namespace DataSourceVpcConfiguration {
|
|
601
|
+
|
|
602
|
+
const filterSensitiveLog: (obj: DataSourceVpcConfiguration) => any;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export interface BoxConfiguration {
|
|
606
|
+
|
|
607
|
+
EnterpriseId: string | undefined;
|
|
608
|
+
|
|
609
|
+
SecretArn: string | undefined;
|
|
610
|
+
|
|
611
|
+
UseChangeLog?: boolean;
|
|
612
|
+
|
|
613
|
+
CrawlComments?: boolean;
|
|
614
|
+
|
|
615
|
+
CrawlTasks?: boolean;
|
|
616
|
+
|
|
617
|
+
CrawlWebLinks?: boolean;
|
|
618
|
+
|
|
619
|
+
FileFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
620
|
+
|
|
621
|
+
TaskFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
622
|
+
|
|
623
|
+
CommentFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
624
|
+
|
|
625
|
+
WebLinkFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
626
|
+
|
|
627
|
+
InclusionPatterns?: string[];
|
|
628
|
+
|
|
629
|
+
ExclusionPatterns?: string[];
|
|
630
|
+
|
|
631
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
632
|
+
}
|
|
633
|
+
export declare namespace BoxConfiguration {
|
|
634
|
+
|
|
635
|
+
const filterSensitiveLog: (obj: BoxConfiguration) => any;
|
|
636
|
+
}
|
|
580
637
|
export declare enum ConfluenceAttachmentFieldName {
|
|
581
638
|
AUTHOR = "AUTHOR",
|
|
582
639
|
CONTENT_TYPE = "CONTENT_TYPE",
|
|
@@ -724,17 +781,6 @@ export declare enum ConfluenceVersion {
|
|
|
724
781
|
SERVER = "SERVER"
|
|
725
782
|
}
|
|
726
783
|
|
|
727
|
-
export interface DataSourceVpcConfiguration {
|
|
728
|
-
|
|
729
|
-
SubnetIds: string[] | undefined;
|
|
730
|
-
|
|
731
|
-
SecurityGroupIds: string[] | undefined;
|
|
732
|
-
}
|
|
733
|
-
export declare namespace DataSourceVpcConfiguration {
|
|
734
|
-
|
|
735
|
-
const filterSensitiveLog: (obj: DataSourceVpcConfiguration) => any;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
784
|
export interface ConfluenceConfiguration {
|
|
739
785
|
|
|
740
786
|
ServerUrl: string | undefined;
|
|
@@ -762,19 +808,6 @@ export declare namespace ConfluenceConfiguration {
|
|
|
762
808
|
const filterSensitiveLog: (obj: ConfluenceConfiguration) => any;
|
|
763
809
|
}
|
|
764
810
|
|
|
765
|
-
export interface DataSourceToIndexFieldMapping {
|
|
766
|
-
|
|
767
|
-
DataSourceFieldName: string | undefined;
|
|
768
|
-
|
|
769
|
-
DateFieldFormat?: string;
|
|
770
|
-
|
|
771
|
-
IndexFieldName: string | undefined;
|
|
772
|
-
}
|
|
773
|
-
export declare namespace DataSourceToIndexFieldMapping {
|
|
774
|
-
|
|
775
|
-
const filterSensitiveLog: (obj: DataSourceToIndexFieldMapping) => any;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
811
|
export interface ColumnConfiguration {
|
|
779
812
|
|
|
780
813
|
DocumentIdColumnName: string | undefined;
|
|
@@ -1349,6 +1382,8 @@ export interface DataSourceConfiguration {
|
|
|
1349
1382
|
FsxConfiguration?: FsxConfiguration;
|
|
1350
1383
|
|
|
1351
1384
|
SlackConfiguration?: SlackConfiguration;
|
|
1385
|
+
|
|
1386
|
+
BoxConfiguration?: BoxConfiguration;
|
|
1352
1387
|
}
|
|
1353
1388
|
export declare namespace DataSourceConfiguration {
|
|
1354
1389
|
|
|
@@ -1366,6 +1401,7 @@ export declare namespace Tag {
|
|
|
1366
1401
|
const filterSensitiveLog: (obj: Tag) => any;
|
|
1367
1402
|
}
|
|
1368
1403
|
export declare enum DataSourceType {
|
|
1404
|
+
BOX = "BOX",
|
|
1369
1405
|
CONFLUENCE = "CONFLUENCE",
|
|
1370
1406
|
CUSTOM = "CUSTOM",
|
|
1371
1407
|
DATABASE = "DATABASE",
|
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.72.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.72.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.72.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",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
36
|
"@aws-sdk/node-http-handler": "3.58.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",
|