@aws-sdk/client-kendra 3.51.0 → 3.52.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 +11 -0
- package/dist-cjs/models/models_0.js +16 -5
- package/dist-cjs/protocols/Aws_json1_1.js +50 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +42 -1
- package/dist-types/Kendra.d.ts +17 -17
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +5 -5
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +2 -2
- package/dist-types/commands/CreateIndexCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/QueryCommand.d.ts +2 -2
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +158 -71
- package/dist-types/ts3.4/models/models_0.d.ts +27 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
18
|
|
|
8
19
|
**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.ConfluenceAttachmentFieldName = exports.ClearQuerySuggestionsRequest = exports.BatchPutDocumentResponse = exports.BatchPutDocumentResponseFailedDocument = exports.BatchPutDocumentRequest = exports.Document = exports.S3Path = 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.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.AssociateEntitiesToExperienceResponse = exports.FailedEntity = exports.AssociateEntitiesToExperienceRequest = exports.EntityConfiguration = exports.EntityType = exports.AdditionalResultAttribute = exports.AdditionalResultAttributeValueType = exports.AdditionalResultAttributeValue = exports.TextWithHighlights = exports.Highlight = exports.HighlightType = exports.AclConfiguration = 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 = void 0;
|
|
4
|
+
exports.Urls = exports.SiteMapsConfiguration = exports.SeedUrlConfiguration = exports.WebCrawlerMode = exports.ProxyConfiguration = exports.SharePointConfiguration = exports.SharePointVersion = exports.ServiceNowConfiguration = exports.ServiceNowBuildVersionType = 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.DataSourceToIndexFieldMapping = exports.ConfluenceConfiguration = exports.DataSourceVpcConfiguration = exports.ConfluenceVersion = exports.ConfluenceSpaceConfiguration = exports.ConfluenceSpaceToIndexFieldMapping = exports.ConfluenceSpaceFieldName = exports.ConfluencePageConfiguration = exports.ConfluencePageToIndexFieldMapping = exports.ConfluencePageFieldName = exports.ConfluenceBlogConfiguration = exports.ConfluenceBlogToIndexFieldMapping = exports.ConfluenceBlogFieldName = exports.ConfluenceAttachmentConfiguration = exports.ConfluenceAttachmentToIndexFieldMapping = void 0;
|
|
5
|
+
exports.DescribeIndexRequest = exports.DescribeFaqResponse = exports.FaqStatus = exports.DescribeFaqRequest = exports.DescribeExperienceResponse = exports.ExperienceStatus = exports.ExperienceEndpoint = exports.EndpointType = exports.DescribeExperienceRequest = exports.DescribeDataSourceResponse = exports.DataSourceStatus = 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 = void 0;
|
|
6
|
+
exports.PersonasSummary = exports.ListEntityPersonasRequest = exports.ListDataSourceSyncJobsResponse = exports.DataSourceSyncJob = exports.DataSourceSyncJobMetrics = exports.ListDataSourceSyncJobsRequest = exports.DataSourceSyncJobStatus = exports.ListDataSourcesResponse = exports.DataSourceSummary = exports.ListDataSourcesRequest = exports.GetSnapshotsResponse = 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 = void 0;
|
|
7
|
+
exports.RelevanceFeedback = exports.RelevanceType = exports.ClickFeedback = exports.StopDataSourceSyncJobRequest = exports.StartDataSourceSyncJobResponse = exports.StartDataSourceSyncJobRequest = exports.QueryResult = exports.Warning = exports.WarningCode = exports.QueryResultItem = exports.ScoreAttributes = exports.ScoreConfidence = exports.FacetResult = exports.DocumentAttributeValueCountPair = exports.UserContext = exports.DataSourceGroup = 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.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 = 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 = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
var AccessControlListConfiguration;
|
|
11
11
|
(function (AccessControlListConfiguration) {
|
|
@@ -461,6 +461,16 @@ var DatabaseConfiguration;
|
|
|
461
461
|
...obj,
|
|
462
462
|
});
|
|
463
463
|
})(DatabaseConfiguration = exports.DatabaseConfiguration || (exports.DatabaseConfiguration = {}));
|
|
464
|
+
var FsxFileSystemType;
|
|
465
|
+
(function (FsxFileSystemType) {
|
|
466
|
+
FsxFileSystemType["WINDOWS"] = "WINDOWS";
|
|
467
|
+
})(FsxFileSystemType = exports.FsxFileSystemType || (exports.FsxFileSystemType = {}));
|
|
468
|
+
var FsxConfiguration;
|
|
469
|
+
(function (FsxConfiguration) {
|
|
470
|
+
FsxConfiguration.filterSensitiveLog = (obj) => ({
|
|
471
|
+
...obj,
|
|
472
|
+
});
|
|
473
|
+
})(FsxConfiguration = exports.FsxConfiguration || (exports.FsxConfiguration = {}));
|
|
464
474
|
var GoogleDriveConfiguration;
|
|
465
475
|
(function (GoogleDriveConfiguration) {
|
|
466
476
|
GoogleDriveConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -663,6 +673,7 @@ var DataSourceType;
|
|
|
663
673
|
DataSourceType["CONFLUENCE"] = "CONFLUENCE";
|
|
664
674
|
DataSourceType["CUSTOM"] = "CUSTOM";
|
|
665
675
|
DataSourceType["DATABASE"] = "DATABASE";
|
|
676
|
+
DataSourceType["FSX"] = "FSX";
|
|
666
677
|
DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
|
|
667
678
|
DataSourceType["ONEDRIVE"] = "ONEDRIVE";
|
|
668
679
|
DataSourceType["S3"] = "S3";
|
|
@@ -5863,6 +5863,10 @@ const serializeAws_json1_1DataSourceConfiguration = (input, context) => {
|
|
|
5863
5863
|
input.DatabaseConfiguration !== null && {
|
|
5864
5864
|
DatabaseConfiguration: serializeAws_json1_1DatabaseConfiguration(input.DatabaseConfiguration, context),
|
|
5865
5865
|
}),
|
|
5866
|
+
...(input.FsxConfiguration !== undefined &&
|
|
5867
|
+
input.FsxConfiguration !== null && {
|
|
5868
|
+
FsxConfiguration: serializeAws_json1_1FsxConfiguration(input.FsxConfiguration, context),
|
|
5869
|
+
}),
|
|
5866
5870
|
...(input.GoogleDriveConfiguration !== undefined &&
|
|
5867
5871
|
input.GoogleDriveConfiguration !== null && {
|
|
5868
5872
|
GoogleDriveConfiguration: serializeAws_json1_1GoogleDriveConfiguration(input.GoogleDriveConfiguration, context),
|
|
@@ -6367,6 +6371,30 @@ const serializeAws_json1_1FaqIdsList = (input, context) => {
|
|
|
6367
6371
|
return entry;
|
|
6368
6372
|
});
|
|
6369
6373
|
};
|
|
6374
|
+
const serializeAws_json1_1FsxConfiguration = (input, context) => {
|
|
6375
|
+
return {
|
|
6376
|
+
...(input.ExclusionPatterns !== undefined &&
|
|
6377
|
+
input.ExclusionPatterns !== null && {
|
|
6378
|
+
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
6379
|
+
}),
|
|
6380
|
+
...(input.FieldMappings !== undefined &&
|
|
6381
|
+
input.FieldMappings !== null && {
|
|
6382
|
+
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6383
|
+
}),
|
|
6384
|
+
...(input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId }),
|
|
6385
|
+
...(input.FileSystemType !== undefined &&
|
|
6386
|
+
input.FileSystemType !== null && { FileSystemType: input.FileSystemType }),
|
|
6387
|
+
...(input.InclusionPatterns !== undefined &&
|
|
6388
|
+
input.InclusionPatterns !== null && {
|
|
6389
|
+
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
6390
|
+
}),
|
|
6391
|
+
...(input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn }),
|
|
6392
|
+
...(input.VpcConfiguration !== undefined &&
|
|
6393
|
+
input.VpcConfiguration !== null && {
|
|
6394
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
6395
|
+
}),
|
|
6396
|
+
};
|
|
6397
|
+
};
|
|
6370
6398
|
const serializeAws_json1_1GetQuerySuggestionsRequest = (input, context) => {
|
|
6371
6399
|
return {
|
|
6372
6400
|
...(input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId }),
|
|
@@ -7862,6 +7890,9 @@ const deserializeAws_json1_1DataSourceConfiguration = (output, context) => {
|
|
|
7862
7890
|
DatabaseConfiguration: output.DatabaseConfiguration !== undefined && output.DatabaseConfiguration !== null
|
|
7863
7891
|
? deserializeAws_json1_1DatabaseConfiguration(output.DatabaseConfiguration, context)
|
|
7864
7892
|
: undefined,
|
|
7893
|
+
FsxConfiguration: output.FsxConfiguration !== undefined && output.FsxConfiguration !== null
|
|
7894
|
+
? deserializeAws_json1_1FsxConfiguration(output.FsxConfiguration, context)
|
|
7895
|
+
: undefined,
|
|
7865
7896
|
GoogleDriveConfiguration: output.GoogleDriveConfiguration !== undefined && output.GoogleDriveConfiguration !== null
|
|
7866
7897
|
? deserializeAws_json1_1GoogleDriveConfiguration(output.GoogleDriveConfiguration, context)
|
|
7867
7898
|
: undefined,
|
|
@@ -8489,6 +8520,25 @@ const deserializeAws_json1_1FaqSummaryItems = (output, context) => {
|
|
|
8489
8520
|
return deserializeAws_json1_1FaqSummary(entry, context);
|
|
8490
8521
|
});
|
|
8491
8522
|
};
|
|
8523
|
+
const deserializeAws_json1_1FsxConfiguration = (output, context) => {
|
|
8524
|
+
return {
|
|
8525
|
+
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
8526
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8527
|
+
: undefined,
|
|
8528
|
+
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
8529
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8530
|
+
: undefined,
|
|
8531
|
+
FileSystemId: smithy_client_1.expectString(output.FileSystemId),
|
|
8532
|
+
FileSystemType: smithy_client_1.expectString(output.FileSystemType),
|
|
8533
|
+
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
8534
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8535
|
+
: undefined,
|
|
8536
|
+
SecretArn: smithy_client_1.expectString(output.SecretArn),
|
|
8537
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
8538
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
8539
|
+
: undefined,
|
|
8540
|
+
};
|
|
8541
|
+
};
|
|
8492
8542
|
const deserializeAws_json1_1GetQuerySuggestionsResponse = (output, context) => {
|
|
8493
8543
|
return {
|
|
8494
8544
|
QuerySuggestionsId: smithy_client_1.expectString(output.QuerySuggestionsId),
|
|
@@ -346,6 +346,14 @@ export var DatabaseConfiguration;
|
|
|
346
346
|
(function (DatabaseConfiguration) {
|
|
347
347
|
DatabaseConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
348
348
|
})(DatabaseConfiguration || (DatabaseConfiguration = {}));
|
|
349
|
+
export var FsxFileSystemType;
|
|
350
|
+
(function (FsxFileSystemType) {
|
|
351
|
+
FsxFileSystemType["WINDOWS"] = "WINDOWS";
|
|
352
|
+
})(FsxFileSystemType || (FsxFileSystemType = {}));
|
|
353
|
+
export var FsxConfiguration;
|
|
354
|
+
(function (FsxConfiguration) {
|
|
355
|
+
FsxConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
356
|
+
})(FsxConfiguration || (FsxConfiguration = {}));
|
|
349
357
|
export var GoogleDriveConfiguration;
|
|
350
358
|
(function (GoogleDriveConfiguration) {
|
|
351
359
|
GoogleDriveConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -500,6 +508,7 @@ export var DataSourceType;
|
|
|
500
508
|
DataSourceType["CONFLUENCE"] = "CONFLUENCE";
|
|
501
509
|
DataSourceType["CUSTOM"] = "CUSTOM";
|
|
502
510
|
DataSourceType["DATABASE"] = "DATABASE";
|
|
511
|
+
DataSourceType["FSX"] = "FSX";
|
|
503
512
|
DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
|
|
504
513
|
DataSourceType["ONEDRIVE"] = "ONEDRIVE";
|
|
505
514
|
DataSourceType["S3"] = "S3";
|
|
@@ -6253,12 +6253,15 @@ var serializeAws_json1_1DatabaseConfiguration = function (input, context) {
|
|
|
6253
6253
|
}));
|
|
6254
6254
|
};
|
|
6255
6255
|
var serializeAws_json1_1DataSourceConfiguration = function (input, context) {
|
|
6256
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConfluenceConfiguration !== undefined &&
|
|
6256
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConfluenceConfiguration !== undefined &&
|
|
6257
6257
|
input.ConfluenceConfiguration !== null && {
|
|
6258
6258
|
ConfluenceConfiguration: serializeAws_json1_1ConfluenceConfiguration(input.ConfluenceConfiguration, context),
|
|
6259
6259
|
})), (input.DatabaseConfiguration !== undefined &&
|
|
6260
6260
|
input.DatabaseConfiguration !== null && {
|
|
6261
6261
|
DatabaseConfiguration: serializeAws_json1_1DatabaseConfiguration(input.DatabaseConfiguration, context),
|
|
6262
|
+
})), (input.FsxConfiguration !== undefined &&
|
|
6263
|
+
input.FsxConfiguration !== null && {
|
|
6264
|
+
FsxConfiguration: serializeAws_json1_1FsxConfiguration(input.FsxConfiguration, context),
|
|
6262
6265
|
})), (input.GoogleDriveConfiguration !== undefined &&
|
|
6263
6266
|
input.GoogleDriveConfiguration !== null && {
|
|
6264
6267
|
GoogleDriveConfiguration: serializeAws_json1_1GoogleDriveConfiguration(input.GoogleDriveConfiguration, context),
|
|
@@ -6640,6 +6643,22 @@ var serializeAws_json1_1FaqIdsList = function (input, context) {
|
|
|
6640
6643
|
return entry;
|
|
6641
6644
|
});
|
|
6642
6645
|
};
|
|
6646
|
+
var serializeAws_json1_1FsxConfiguration = function (input, context) {
|
|
6647
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusionPatterns !== undefined &&
|
|
6648
|
+
input.ExclusionPatterns !== null && {
|
|
6649
|
+
ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
|
|
6650
|
+
})), (input.FieldMappings !== undefined &&
|
|
6651
|
+
input.FieldMappings !== null && {
|
|
6652
|
+
FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
|
|
6653
|
+
})), (input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId })), (input.FileSystemType !== undefined &&
|
|
6654
|
+
input.FileSystemType !== null && { FileSystemType: input.FileSystemType })), (input.InclusionPatterns !== undefined &&
|
|
6655
|
+
input.InclusionPatterns !== null && {
|
|
6656
|
+
InclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.InclusionPatterns, context),
|
|
6657
|
+
})), (input.SecretArn !== undefined && input.SecretArn !== null && { SecretArn: input.SecretArn })), (input.VpcConfiguration !== undefined &&
|
|
6658
|
+
input.VpcConfiguration !== null && {
|
|
6659
|
+
VpcConfiguration: serializeAws_json1_1DataSourceVpcConfiguration(input.VpcConfiguration, context),
|
|
6660
|
+
}));
|
|
6661
|
+
};
|
|
6643
6662
|
var serializeAws_json1_1GetQuerySuggestionsRequest = function (input, context) {
|
|
6644
6663
|
return __assign(__assign(__assign({}, (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId })), (input.MaxSuggestionsCount !== undefined &&
|
|
6645
6664
|
input.MaxSuggestionsCount !== null && { MaxSuggestionsCount: input.MaxSuggestionsCount })), (input.QueryText !== undefined && input.QueryText !== null && { QueryText: input.QueryText }));
|
|
@@ -7789,6 +7808,9 @@ var deserializeAws_json1_1DataSourceConfiguration = function (output, context) {
|
|
|
7789
7808
|
DatabaseConfiguration: output.DatabaseConfiguration !== undefined && output.DatabaseConfiguration !== null
|
|
7790
7809
|
? deserializeAws_json1_1DatabaseConfiguration(output.DatabaseConfiguration, context)
|
|
7791
7810
|
: undefined,
|
|
7811
|
+
FsxConfiguration: output.FsxConfiguration !== undefined && output.FsxConfiguration !== null
|
|
7812
|
+
? deserializeAws_json1_1FsxConfiguration(output.FsxConfiguration, context)
|
|
7813
|
+
: undefined,
|
|
7792
7814
|
GoogleDriveConfiguration: output.GoogleDriveConfiguration !== undefined && output.GoogleDriveConfiguration !== null
|
|
7793
7815
|
? deserializeAws_json1_1GoogleDriveConfiguration(output.GoogleDriveConfiguration, context)
|
|
7794
7816
|
: undefined,
|
|
@@ -8416,6 +8438,25 @@ var deserializeAws_json1_1FaqSummaryItems = function (output, context) {
|
|
|
8416
8438
|
return deserializeAws_json1_1FaqSummary(entry, context);
|
|
8417
8439
|
});
|
|
8418
8440
|
};
|
|
8441
|
+
var deserializeAws_json1_1FsxConfiguration = function (output, context) {
|
|
8442
|
+
return {
|
|
8443
|
+
ExclusionPatterns: output.ExclusionPatterns !== undefined && output.ExclusionPatterns !== null
|
|
8444
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.ExclusionPatterns, context)
|
|
8445
|
+
: undefined,
|
|
8446
|
+
FieldMappings: output.FieldMappings !== undefined && output.FieldMappings !== null
|
|
8447
|
+
? deserializeAws_json1_1DataSourceToIndexFieldMappingList(output.FieldMappings, context)
|
|
8448
|
+
: undefined,
|
|
8449
|
+
FileSystemId: __expectString(output.FileSystemId),
|
|
8450
|
+
FileSystemType: __expectString(output.FileSystemType),
|
|
8451
|
+
InclusionPatterns: output.InclusionPatterns !== undefined && output.InclusionPatterns !== null
|
|
8452
|
+
? deserializeAws_json1_1DataSourceInclusionsExclusionsStrings(output.InclusionPatterns, context)
|
|
8453
|
+
: undefined,
|
|
8454
|
+
SecretArn: __expectString(output.SecretArn),
|
|
8455
|
+
VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
|
|
8456
|
+
? deserializeAws_json1_1DataSourceVpcConfiguration(output.VpcConfiguration, context)
|
|
8457
|
+
: undefined,
|
|
8458
|
+
};
|
|
8459
|
+
};
|
|
8419
8460
|
var deserializeAws_json1_1GetQuerySuggestionsResponse = function (output, context) {
|
|
8420
8461
|
return {
|
|
8421
8462
|
QuerySuggestionsId: __expectString(output.QuerySuggestionsId),
|
package/dist-types/Kendra.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export declare class Kendra extends KendraClient {
|
|
|
81
81
|
associatePersonasToEntities(args: AssociatePersonasToEntitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociatePersonasToEntitiesCommandOutput) => void): void;
|
|
82
82
|
/**
|
|
83
83
|
* <p>Removes one or more documents from an index. The documents must have
|
|
84
|
-
* been added with the <code>BatchPutDocument</code>
|
|
84
|
+
* been added with the <code>BatchPutDocument</code> API.</p>
|
|
85
85
|
* <p>The documents are deleted asynchronously. You can see the progress of
|
|
86
86
|
* the deletion by using Amazon Web Services CloudWatch. Any error messages related to the
|
|
87
87
|
* processing of the batch are sent to you CloudWatch log.</p>
|
|
@@ -92,15 +92,15 @@ export declare class Kendra extends KendraClient {
|
|
|
92
92
|
/**
|
|
93
93
|
* <p>Returns the indexing status for one or more documents submitted
|
|
94
94
|
* with the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">
|
|
95
|
-
* BatchPutDocument</a>
|
|
96
|
-
* <p>When you use the <code>BatchPutDocument</code>
|
|
95
|
+
* BatchPutDocument</a> API.</p>
|
|
96
|
+
* <p>When you use the <code>BatchPutDocument</code> API,
|
|
97
97
|
* documents are indexed asynchronously. You can use the
|
|
98
|
-
* <code>BatchGetDocumentStatus</code>
|
|
98
|
+
* <code>BatchGetDocumentStatus</code> API to get the current
|
|
99
99
|
* status of a list of documents so that you can determine if they have
|
|
100
100
|
* been successfully indexed.</p>
|
|
101
|
-
* <p>You can also use the <code>BatchGetDocumentStatus</code>
|
|
101
|
+
* <p>You can also use the <code>BatchGetDocumentStatus</code> API
|
|
102
102
|
* to check the status of the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchDeleteDocument.html">
|
|
103
|
-
* BatchDeleteDocument</a>
|
|
103
|
+
* BatchDeleteDocument</a> API. When a document is
|
|
104
104
|
* deleted from the index, Amazon Kendra returns <code>NOT_FOUND</code> as the
|
|
105
105
|
* status.</p>
|
|
106
106
|
*/
|
|
@@ -109,9 +109,9 @@ export declare class Kendra extends KendraClient {
|
|
|
109
109
|
batchGetDocumentStatus(args: BatchGetDocumentStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetDocumentStatusCommandOutput) => void): void;
|
|
110
110
|
/**
|
|
111
111
|
* <p>Adds one or more documents to an index.</p>
|
|
112
|
-
* <p>The <code>BatchPutDocument</code>
|
|
112
|
+
* <p>The <code>BatchPutDocument</code> API enables you to ingest
|
|
113
113
|
* inline documents or a set of documents stored in an Amazon S3 bucket. Use
|
|
114
|
-
* this
|
|
114
|
+
* this API to ingest your text and unstructured text into an index,
|
|
115
115
|
* add custom attributes to the documents, and to attach an access control
|
|
116
116
|
* list to the documents added to the index.</p>
|
|
117
117
|
* <p>The documents are indexed asynchronously. You can see the progress of
|
|
@@ -168,12 +168,12 @@ export declare class Kendra extends KendraClient {
|
|
|
168
168
|
createFaq(args: CreateFaqCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFaqCommandOutput) => void): void;
|
|
169
169
|
/**
|
|
170
170
|
* <p>Creates a new Amazon Kendra index. Index creation is an asynchronous
|
|
171
|
-
*
|
|
171
|
+
* API. To determine if index creation has completed, check the
|
|
172
172
|
* <code>Status</code> field returned from a call to
|
|
173
173
|
* <code>DescribeIndex</code>. The <code>Status</code> field is set to
|
|
174
174
|
* <code>ACTIVE</code> when the index is ready to use.</p>
|
|
175
175
|
* <p>Once the index is active you can index your documents using the
|
|
176
|
-
* <code>BatchPutDocument</code>
|
|
176
|
+
* <code>BatchPutDocument</code> API or using one of the supported
|
|
177
177
|
* data sources. </p>
|
|
178
178
|
*/
|
|
179
179
|
createIndex(args: CreateIndexCommandInput, options?: __HttpHandlerOptions): Promise<CreateIndexCommandOutput>;
|
|
@@ -207,7 +207,7 @@ export declare class Kendra extends KendraClient {
|
|
|
207
207
|
* <p>Deletes an Amazon Kendra data source. An exception is not thrown if the
|
|
208
208
|
* data source is already being deleted. While the data source is being
|
|
209
209
|
* deleted, the <code>Status</code> field returned by a call to the
|
|
210
|
-
* <code>DescribeDataSource</code>
|
|
210
|
+
* <code>DescribeDataSource</code> API is set to
|
|
211
211
|
* <code>DELETING</code>. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/delete-data-source.html">Deleting Data Sources</a>.</p>
|
|
212
212
|
*/
|
|
213
213
|
deleteDataSource(args: DeleteDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataSourceCommandOutput>;
|
|
@@ -231,7 +231,7 @@ export declare class Kendra extends KendraClient {
|
|
|
231
231
|
* <p>Deletes an existing Amazon Kendra index. An exception is not thrown if
|
|
232
232
|
* the index is already being deleted. While the index is being deleted, the
|
|
233
233
|
* <code>Status</code> field returned by a call to the
|
|
234
|
-
* <code>DescribeIndex</code>
|
|
234
|
+
* <code>DescribeIndex</code> API is set to
|
|
235
235
|
* <code>DELETING</code>.</p>
|
|
236
236
|
*/
|
|
237
237
|
deleteIndex(args: DeleteIndexCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexCommandOutput>;
|
|
@@ -277,7 +277,7 @@ export declare class Kendra extends KendraClient {
|
|
|
277
277
|
deleteThesaurus(args: DeleteThesaurusCommandInput, cb: (err: any, data?: DeleteThesaurusCommandOutput) => void): void;
|
|
278
278
|
deleteThesaurus(args: DeleteThesaurusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteThesaurusCommandOutput) => void): void;
|
|
279
279
|
/**
|
|
280
|
-
* <p>Gets information about
|
|
280
|
+
* <p>Gets information about an Amazon Kendra data source.</p>
|
|
281
281
|
*/
|
|
282
282
|
describeDataSource(args: DescribeDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDataSourceCommandOutput>;
|
|
283
283
|
describeDataSource(args: DescribeDataSourceCommandInput, cb: (err: any, data?: DescribeDataSourceCommandOutput) => void): void;
|
|
@@ -494,10 +494,10 @@ export declare class Kendra extends KendraClient {
|
|
|
494
494
|
putPrincipalMapping(args: PutPrincipalMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPrincipalMappingCommandOutput) => void): void;
|
|
495
495
|
/**
|
|
496
496
|
* <p>Searches an active index. Use this API to search your documents
|
|
497
|
-
* using query. The <code>Query</code>
|
|
497
|
+
* using query. The <code>Query</code> API enables to do faceted
|
|
498
498
|
* search and to filter results based on document attributes.</p>
|
|
499
499
|
* <p>It also enables you to provide user context that Amazon Kendra uses
|
|
500
|
-
* to enforce document access control in the search results
|
|
500
|
+
* to enforce document access control in the search results.</p>
|
|
501
501
|
* <p>Amazon Kendra searches your index for text content and question and
|
|
502
502
|
* answer (FAQ) content. By default the response contains three types of
|
|
503
503
|
* results.</p>
|
|
@@ -528,8 +528,8 @@ export declare class Kendra extends KendraClient {
|
|
|
528
528
|
startDataSourceSyncJob(args: StartDataSourceSyncJobCommandInput, cb: (err: any, data?: StartDataSourceSyncJobCommandOutput) => void): void;
|
|
529
529
|
startDataSourceSyncJob(args: StartDataSourceSyncJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDataSourceSyncJobCommandOutput) => void): void;
|
|
530
530
|
/**
|
|
531
|
-
* <p>Stops a
|
|
532
|
-
* synchronization job.</p>
|
|
531
|
+
* <p>Stops a synchronization job that is currently running.
|
|
532
|
+
* You can't stop a scheduled synchronization job.</p>
|
|
533
533
|
*/
|
|
534
534
|
stopDataSourceSyncJob(args: StopDataSourceSyncJobCommandInput, options?: __HttpHandlerOptions): Promise<StopDataSourceSyncJobCommandOutput>;
|
|
535
535
|
stopDataSourceSyncJob(args: StopDataSourceSyncJobCommandInput, cb: (err: any, data?: StopDataSourceSyncJobCommandOutput) => void): void;
|
|
@@ -8,7 +8,7 @@ export interface BatchDeleteDocumentCommandOutput extends BatchDeleteDocumentRes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Removes one or more documents from an index. The documents must have
|
|
11
|
-
* been added with the <code>BatchPutDocument</code>
|
|
11
|
+
* been added with the <code>BatchPutDocument</code> API.</p>
|
|
12
12
|
* <p>The documents are deleted asynchronously. You can see the progress of
|
|
13
13
|
* the deletion by using Amazon Web Services CloudWatch. Any error messages related to the
|
|
14
14
|
* processing of the batch are sent to you CloudWatch log.</p>
|
|
@@ -9,15 +9,15 @@ export interface BatchGetDocumentStatusCommandOutput extends BatchGetDocumentSta
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Returns the indexing status for one or more documents submitted
|
|
11
11
|
* with the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">
|
|
12
|
-
* BatchPutDocument</a>
|
|
13
|
-
* <p>When you use the <code>BatchPutDocument</code>
|
|
12
|
+
* BatchPutDocument</a> API.</p>
|
|
13
|
+
* <p>When you use the <code>BatchPutDocument</code> API,
|
|
14
14
|
* documents are indexed asynchronously. You can use the
|
|
15
|
-
* <code>BatchGetDocumentStatus</code>
|
|
15
|
+
* <code>BatchGetDocumentStatus</code> API to get the current
|
|
16
16
|
* status of a list of documents so that you can determine if they have
|
|
17
17
|
* been successfully indexed.</p>
|
|
18
|
-
* <p>You can also use the <code>BatchGetDocumentStatus</code>
|
|
18
|
+
* <p>You can also use the <code>BatchGetDocumentStatus</code> API
|
|
19
19
|
* to check the status of the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchDeleteDocument.html">
|
|
20
|
-
* BatchDeleteDocument</a>
|
|
20
|
+
* BatchDeleteDocument</a> API. When a document is
|
|
21
21
|
* deleted from the index, Amazon Kendra returns <code>NOT_FOUND</code> as the
|
|
22
22
|
* status.</p>
|
|
23
23
|
* @example
|
|
@@ -8,9 +8,9 @@ export interface BatchPutDocumentCommandOutput extends BatchPutDocumentResponse,
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Adds one or more documents to an index.</p>
|
|
11
|
-
* <p>The <code>BatchPutDocument</code>
|
|
11
|
+
* <p>The <code>BatchPutDocument</code> API enables you to ingest
|
|
12
12
|
* inline documents or a set of documents stored in an Amazon S3 bucket. Use
|
|
13
|
-
* this
|
|
13
|
+
* this API to ingest your text and unstructured text into an index,
|
|
14
14
|
* add custom attributes to the documents, and to attach an access control
|
|
15
15
|
* list to the documents added to the index.</p>
|
|
16
16
|
* <p>The documents are indexed asynchronously. You can see the progress of
|
|
@@ -8,12 +8,12 @@ export interface CreateIndexCommandOutput extends CreateIndexResponse, __Metadat
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a new Amazon Kendra index. Index creation is an asynchronous
|
|
11
|
-
*
|
|
11
|
+
* API. To determine if index creation has completed, check the
|
|
12
12
|
* <code>Status</code> field returned from a call to
|
|
13
13
|
* <code>DescribeIndex</code>. The <code>Status</code> field is set to
|
|
14
14
|
* <code>ACTIVE</code> when the index is ready to use.</p>
|
|
15
15
|
* <p>Once the index is active you can index your documents using the
|
|
16
|
-
* <code>BatchPutDocument</code>
|
|
16
|
+
* <code>BatchPutDocument</code> API or using one of the supported
|
|
17
17
|
* data sources. </p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,7 +10,7 @@ export interface DeleteDataSourceCommandOutput extends __MetadataBearer {
|
|
|
10
10
|
* <p>Deletes an Amazon Kendra data source. An exception is not thrown if the
|
|
11
11
|
* data source is already being deleted. While the data source is being
|
|
12
12
|
* deleted, the <code>Status</code> field returned by a call to the
|
|
13
|
-
* <code>DescribeDataSource</code>
|
|
13
|
+
* <code>DescribeDataSource</code> API is set to
|
|
14
14
|
* <code>DELETING</code>. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/delete-data-source.html">Deleting Data Sources</a>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,7 +10,7 @@ export interface DeleteIndexCommandOutput extends __MetadataBearer {
|
|
|
10
10
|
* <p>Deletes an existing Amazon Kendra index. An exception is not thrown if
|
|
11
11
|
* the index is already being deleted. While the index is being deleted, the
|
|
12
12
|
* <code>Status</code> field returned by a call to the
|
|
13
|
-
* <code>DescribeIndex</code>
|
|
13
|
+
* <code>DescribeIndex</code> API is set to
|
|
14
14
|
* <code>DELETING</code>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,7 @@ export interface DescribeDataSourceCommandInput extends DescribeDataSourceReques
|
|
|
7
7
|
export interface DescribeDataSourceCommandOutput extends DescribeDataSourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Gets information about
|
|
10
|
+
* <p>Gets information about an Amazon Kendra data source.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -8,10 +8,10 @@ export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Searches an active index. Use this API to search your documents
|
|
11
|
-
* using query. The <code>Query</code>
|
|
11
|
+
* using query. The <code>Query</code> API enables to do faceted
|
|
12
12
|
* search and to filter results based on document attributes.</p>
|
|
13
13
|
* <p>It also enables you to provide user context that Amazon Kendra uses
|
|
14
|
-
* to enforce document access control in the search results
|
|
14
|
+
* to enforce document access control in the search results.</p>
|
|
15
15
|
* <p>Amazon Kendra searches your index for text content and question and
|
|
16
16
|
* answer (FAQ) content. By default the response contains three types of
|
|
17
17
|
* results.</p>
|
|
@@ -7,8 +7,8 @@ export interface StopDataSourceSyncJobCommandInput extends StopDataSourceSyncJob
|
|
|
7
7
|
export interface StopDataSourceSyncJobCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Stops a
|
|
11
|
-
* synchronization job.</p>
|
|
10
|
+
* <p>Stops a synchronization job that is currently running.
|
|
11
|
+
* You can't stop a scheduled synchronization job.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|