@aws-sdk/client-kendra 3.53.0 → 3.54.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 +20 -2
- package/dist-cjs/protocols/Aws_json1_1.js +53 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_json1_1.js +51 -1
- package/dist-types/KendraClient.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +152 -78
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/KendraClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +39 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
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.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -4,8 +4,8 @@ exports.HierarchicalPrincipal = exports.ContentType = exports.Principal = export
|
|
|
4
4
|
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 = exports.ConfluenceAttachmentFieldName = exports.ClearQuerySuggestionsRequest = exports.ServiceQuotaExceededException = exports.BatchPutDocumentResponse = exports.BatchPutDocumentResponseFailedDocument = exports.BatchPutDocumentRequest = exports.Document = exports.S3Path = void 0;
|
|
5
5
|
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 = exports.Urls = exports.SiteMapsConfiguration = exports.SeedUrlConfiguration = exports.WebCrawlerMode = exports.ProxyConfiguration = exports.SharePointConfiguration = exports.SharePointVersion = exports.ServiceNowConfiguration = void 0;
|
|
6
6
|
exports.ListDataSourcesRequest = exports.InvalidRequestException = 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 = exports.DescribeIndexRequest = exports.DescribeFaqResponse = exports.FaqStatus = exports.DescribeFaqRequest = exports.DescribeExperienceResponse = exports.ExperienceStatus = exports.ExperienceEndpoint = exports.EndpointType = void 0;
|
|
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.QueryResultItem = void 0;
|
|
7
|
+
exports.ScoreConfidence = exports.FacetResult = exports.DocumentAttributeValueCountPair = 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 = 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 = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const KendraServiceException_1 = require("./KendraServiceException");
|
|
11
11
|
var AccessControlListConfiguration;
|
|
@@ -1631,6 +1631,12 @@ var SortingConfiguration;
|
|
|
1631
1631
|
...obj,
|
|
1632
1632
|
});
|
|
1633
1633
|
})(SortingConfiguration = exports.SortingConfiguration || (exports.SortingConfiguration = {}));
|
|
1634
|
+
var SpellCorrectionConfiguration;
|
|
1635
|
+
(function (SpellCorrectionConfiguration) {
|
|
1636
|
+
SpellCorrectionConfiguration.filterSensitiveLog = (obj) => ({
|
|
1637
|
+
...obj,
|
|
1638
|
+
});
|
|
1639
|
+
})(SpellCorrectionConfiguration = exports.SpellCorrectionConfiguration || (exports.SpellCorrectionConfiguration = {}));
|
|
1634
1640
|
var DataSourceGroup;
|
|
1635
1641
|
(function (DataSourceGroup) {
|
|
1636
1642
|
DataSourceGroup.filterSensitiveLog = (obj) => ({
|
|
@@ -1675,6 +1681,18 @@ var QueryResultItem;
|
|
|
1675
1681
|
...obj,
|
|
1676
1682
|
});
|
|
1677
1683
|
})(QueryResultItem = exports.QueryResultItem || (exports.QueryResultItem = {}));
|
|
1684
|
+
var Correction;
|
|
1685
|
+
(function (Correction) {
|
|
1686
|
+
Correction.filterSensitiveLog = (obj) => ({
|
|
1687
|
+
...obj,
|
|
1688
|
+
});
|
|
1689
|
+
})(Correction = exports.Correction || (exports.Correction = {}));
|
|
1690
|
+
var SpellCorrectedQuery;
|
|
1691
|
+
(function (SpellCorrectedQuery) {
|
|
1692
|
+
SpellCorrectedQuery.filterSensitiveLog = (obj) => ({
|
|
1693
|
+
...obj,
|
|
1694
|
+
});
|
|
1695
|
+
})(SpellCorrectedQuery = exports.SpellCorrectedQuery || (exports.SpellCorrectedQuery = {}));
|
|
1678
1696
|
var WarningCode;
|
|
1679
1697
|
(function (WarningCode) {
|
|
1680
1698
|
WarningCode["QUERY_LANGUAGE_INVALID_SYNTAX"] = "QUERY_LANGUAGE_INVALID_SYNTAX";
|
|
@@ -4817,6 +4817,10 @@ const serializeAws_json1_1QueryRequest = (input, context) => {
|
|
|
4817
4817
|
input.SortingConfiguration !== null && {
|
|
4818
4818
|
SortingConfiguration: serializeAws_json1_1SortingConfiguration(input.SortingConfiguration, context),
|
|
4819
4819
|
}),
|
|
4820
|
+
...(input.SpellCorrectionConfiguration !== undefined &&
|
|
4821
|
+
input.SpellCorrectionConfiguration !== null && {
|
|
4822
|
+
SpellCorrectionConfiguration: serializeAws_json1_1SpellCorrectionConfiguration(input.SpellCorrectionConfiguration, context),
|
|
4823
|
+
}),
|
|
4820
4824
|
...(input.UserContext !== undefined &&
|
|
4821
4825
|
input.UserContext !== null && { UserContext: serializeAws_json1_1UserContext(input.UserContext, context) }),
|
|
4822
4826
|
...(input.VisitorId !== undefined && input.VisitorId !== null && { VisitorId: input.VisitorId }),
|
|
@@ -5207,6 +5211,14 @@ const serializeAws_json1_1SortingConfiguration = (input, context) => {
|
|
|
5207
5211
|
...(input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }),
|
|
5208
5212
|
};
|
|
5209
5213
|
};
|
|
5214
|
+
const serializeAws_json1_1SpellCorrectionConfiguration = (input, context) => {
|
|
5215
|
+
return {
|
|
5216
|
+
...(input.IncludeQuerySpellCheckSuggestions !== undefined &&
|
|
5217
|
+
input.IncludeQuerySpellCheckSuggestions !== null && {
|
|
5218
|
+
IncludeQuerySpellCheckSuggestions: input.IncludeQuerySpellCheckSuggestions,
|
|
5219
|
+
}),
|
|
5220
|
+
};
|
|
5221
|
+
};
|
|
5210
5222
|
const serializeAws_json1_1SqlConfiguration = (input, context) => {
|
|
5211
5223
|
return {
|
|
5212
5224
|
...(input.QueryIdentifiersEnclosingOption !== undefined &&
|
|
@@ -5890,6 +5902,25 @@ const deserializeAws_json1_1ContentSourceConfiguration = (output, context) => {
|
|
|
5890
5902
|
: undefined,
|
|
5891
5903
|
};
|
|
5892
5904
|
};
|
|
5905
|
+
const deserializeAws_json1_1Correction = (output, context) => {
|
|
5906
|
+
return {
|
|
5907
|
+
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
5908
|
+
CorrectedTerm: smithy_client_1.expectString(output.CorrectedTerm),
|
|
5909
|
+
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
5910
|
+
Term: smithy_client_1.expectString(output.Term),
|
|
5911
|
+
};
|
|
5912
|
+
};
|
|
5913
|
+
const deserializeAws_json1_1CorrectionList = (output, context) => {
|
|
5914
|
+
const retVal = (output || [])
|
|
5915
|
+
.filter((e) => e != null)
|
|
5916
|
+
.map((entry) => {
|
|
5917
|
+
if (entry === null) {
|
|
5918
|
+
return null;
|
|
5919
|
+
}
|
|
5920
|
+
return deserializeAws_json1_1Correction(entry, context);
|
|
5921
|
+
});
|
|
5922
|
+
return retVal;
|
|
5923
|
+
};
|
|
5893
5924
|
const deserializeAws_json1_1CreateDataSourceResponse = (output, context) => {
|
|
5894
5925
|
return {
|
|
5895
5926
|
Id: smithy_client_1.expectString(output.Id),
|
|
@@ -6995,6 +7026,9 @@ const deserializeAws_json1_1QueryResult = (output, context) => {
|
|
|
6995
7026
|
ResultItems: output.ResultItems !== undefined && output.ResultItems !== null
|
|
6996
7027
|
? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context)
|
|
6997
7028
|
: undefined,
|
|
7029
|
+
SpellCorrectedQueries: output.SpellCorrectedQueries !== undefined && output.SpellCorrectedQueries !== null
|
|
7030
|
+
? deserializeAws_json1_1SpellCorrectedQueryList(output.SpellCorrectedQueries, context)
|
|
7031
|
+
: undefined,
|
|
6998
7032
|
TotalNumberOfResults: smithy_client_1.expectInt32(output.TotalNumberOfResults),
|
|
6999
7033
|
Warnings: output.Warnings !== undefined && output.Warnings !== null
|
|
7000
7034
|
? deserializeAws_json1_1WarningList(output.Warnings, context)
|
|
@@ -7442,6 +7476,25 @@ const deserializeAws_json1_1SnapshotsDataRecords = (output, context) => {
|
|
|
7442
7476
|
});
|
|
7443
7477
|
return retVal;
|
|
7444
7478
|
};
|
|
7479
|
+
const deserializeAws_json1_1SpellCorrectedQuery = (output, context) => {
|
|
7480
|
+
return {
|
|
7481
|
+
Corrections: output.Corrections !== undefined && output.Corrections !== null
|
|
7482
|
+
? deserializeAws_json1_1CorrectionList(output.Corrections, context)
|
|
7483
|
+
: undefined,
|
|
7484
|
+
SuggestedQueryText: smithy_client_1.expectString(output.SuggestedQueryText),
|
|
7485
|
+
};
|
|
7486
|
+
};
|
|
7487
|
+
const deserializeAws_json1_1SpellCorrectedQueryList = (output, context) => {
|
|
7488
|
+
const retVal = (output || [])
|
|
7489
|
+
.filter((e) => e != null)
|
|
7490
|
+
.map((entry) => {
|
|
7491
|
+
if (entry === null) {
|
|
7492
|
+
return null;
|
|
7493
|
+
}
|
|
7494
|
+
return deserializeAws_json1_1SpellCorrectedQuery(entry, context);
|
|
7495
|
+
});
|
|
7496
|
+
return retVal;
|
|
7497
|
+
};
|
|
7445
7498
|
const deserializeAws_json1_1SqlConfiguration = (output, context) => {
|
|
7446
7499
|
return {
|
|
7447
7500
|
QueryIdentifiersEnclosingOption: smithy_client_1.expectString(output.QueryIdentifiersEnclosingOption),
|
|
@@ -1232,6 +1232,10 @@ export var SortingConfiguration;
|
|
|
1232
1232
|
(function (SortingConfiguration) {
|
|
1233
1233
|
SortingConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1234
1234
|
})(SortingConfiguration || (SortingConfiguration = {}));
|
|
1235
|
+
export var SpellCorrectionConfiguration;
|
|
1236
|
+
(function (SpellCorrectionConfiguration) {
|
|
1237
|
+
SpellCorrectionConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1238
|
+
})(SpellCorrectionConfiguration || (SpellCorrectionConfiguration = {}));
|
|
1235
1239
|
export var DataSourceGroup;
|
|
1236
1240
|
(function (DataSourceGroup) {
|
|
1237
1241
|
DataSourceGroup.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1264,6 +1268,14 @@ export var QueryResultItem;
|
|
|
1264
1268
|
(function (QueryResultItem) {
|
|
1265
1269
|
QueryResultItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1266
1270
|
})(QueryResultItem || (QueryResultItem = {}));
|
|
1271
|
+
export var Correction;
|
|
1272
|
+
(function (Correction) {
|
|
1273
|
+
Correction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1274
|
+
})(Correction || (Correction = {}));
|
|
1275
|
+
export var SpellCorrectedQuery;
|
|
1276
|
+
(function (SpellCorrectedQuery) {
|
|
1277
|
+
SpellCorrectedQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1278
|
+
})(SpellCorrectedQuery || (SpellCorrectedQuery = {}));
|
|
1267
1279
|
export var WarningCode;
|
|
1268
1280
|
(function (WarningCode) {
|
|
1269
1281
|
WarningCode["QUERY_LANGUAGE_INVALID_SYNTAX"] = "QUERY_LANGUAGE_INVALID_SYNTAX";
|
|
@@ -5494,7 +5494,7 @@ var serializeAws_json1_1PutPrincipalMappingRequest = function (input, context) {
|
|
|
5494
5494
|
input.GroupMembers !== null && { GroupMembers: serializeAws_json1_1GroupMembers(input.GroupMembers, context) })), (input.IndexId !== undefined && input.IndexId !== null && { IndexId: input.IndexId })), (input.OrderingId !== undefined && input.OrderingId !== null && { OrderingId: input.OrderingId })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
5495
5495
|
};
|
|
5496
5496
|
var serializeAws_json1_1QueryRequest = function (input, context) {
|
|
5497
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeFilter !== undefined &&
|
|
5497
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeFilter !== undefined &&
|
|
5498
5498
|
input.AttributeFilter !== null && {
|
|
5499
5499
|
AttributeFilter: serializeAws_json1_1AttributeFilter(input.AttributeFilter, context),
|
|
5500
5500
|
})), (input.DocumentRelevanceOverrideConfigurations !== undefined &&
|
|
@@ -5508,6 +5508,9 @@ var serializeAws_json1_1QueryRequest = function (input, context) {
|
|
|
5508
5508
|
})), (input.SortingConfiguration !== undefined &&
|
|
5509
5509
|
input.SortingConfiguration !== null && {
|
|
5510
5510
|
SortingConfiguration: serializeAws_json1_1SortingConfiguration(input.SortingConfiguration, context),
|
|
5511
|
+
})), (input.SpellCorrectionConfiguration !== undefined &&
|
|
5512
|
+
input.SpellCorrectionConfiguration !== null && {
|
|
5513
|
+
SpellCorrectionConfiguration: serializeAws_json1_1SpellCorrectionConfiguration(input.SpellCorrectionConfiguration, context),
|
|
5511
5514
|
})), (input.UserContext !== undefined &&
|
|
5512
5515
|
input.UserContext !== null && { UserContext: serializeAws_json1_1UserContext(input.UserContext, context) })), (input.VisitorId !== undefined && input.VisitorId !== null && { VisitorId: input.VisitorId }));
|
|
5513
5516
|
};
|
|
@@ -5791,6 +5794,12 @@ var serializeAws_json1_1SortingConfiguration = function (input, context) {
|
|
|
5791
5794
|
return __assign(__assign({}, (input.DocumentAttributeKey !== undefined &&
|
|
5792
5795
|
input.DocumentAttributeKey !== null && { DocumentAttributeKey: input.DocumentAttributeKey })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
5793
5796
|
};
|
|
5797
|
+
var serializeAws_json1_1SpellCorrectionConfiguration = function (input, context) {
|
|
5798
|
+
return __assign({}, (input.IncludeQuerySpellCheckSuggestions !== undefined &&
|
|
5799
|
+
input.IncludeQuerySpellCheckSuggestions !== null && {
|
|
5800
|
+
IncludeQuerySpellCheckSuggestions: input.IncludeQuerySpellCheckSuggestions,
|
|
5801
|
+
}));
|
|
5802
|
+
};
|
|
5794
5803
|
var serializeAws_json1_1SqlConfiguration = function (input, context) {
|
|
5795
5804
|
return __assign({}, (input.QueryIdentifiersEnclosingOption !== undefined &&
|
|
5796
5805
|
input.QueryIdentifiersEnclosingOption !== null && {
|
|
@@ -6368,6 +6377,25 @@ var deserializeAws_json1_1ContentSourceConfiguration = function (output, context
|
|
|
6368
6377
|
: undefined,
|
|
6369
6378
|
};
|
|
6370
6379
|
};
|
|
6380
|
+
var deserializeAws_json1_1Correction = function (output, context) {
|
|
6381
|
+
return {
|
|
6382
|
+
BeginOffset: __expectInt32(output.BeginOffset),
|
|
6383
|
+
CorrectedTerm: __expectString(output.CorrectedTerm),
|
|
6384
|
+
EndOffset: __expectInt32(output.EndOffset),
|
|
6385
|
+
Term: __expectString(output.Term),
|
|
6386
|
+
};
|
|
6387
|
+
};
|
|
6388
|
+
var deserializeAws_json1_1CorrectionList = function (output, context) {
|
|
6389
|
+
var retVal = (output || [])
|
|
6390
|
+
.filter(function (e) { return e != null; })
|
|
6391
|
+
.map(function (entry) {
|
|
6392
|
+
if (entry === null) {
|
|
6393
|
+
return null;
|
|
6394
|
+
}
|
|
6395
|
+
return deserializeAws_json1_1Correction(entry, context);
|
|
6396
|
+
});
|
|
6397
|
+
return retVal;
|
|
6398
|
+
};
|
|
6371
6399
|
var deserializeAws_json1_1CreateDataSourceResponse = function (output, context) {
|
|
6372
6400
|
return {
|
|
6373
6401
|
Id: __expectString(output.Id),
|
|
@@ -7473,6 +7501,9 @@ var deserializeAws_json1_1QueryResult = function (output, context) {
|
|
|
7473
7501
|
ResultItems: output.ResultItems !== undefined && output.ResultItems !== null
|
|
7474
7502
|
? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context)
|
|
7475
7503
|
: undefined,
|
|
7504
|
+
SpellCorrectedQueries: output.SpellCorrectedQueries !== undefined && output.SpellCorrectedQueries !== null
|
|
7505
|
+
? deserializeAws_json1_1SpellCorrectedQueryList(output.SpellCorrectedQueries, context)
|
|
7506
|
+
: undefined,
|
|
7476
7507
|
TotalNumberOfResults: __expectInt32(output.TotalNumberOfResults),
|
|
7477
7508
|
Warnings: output.Warnings !== undefined && output.Warnings !== null
|
|
7478
7509
|
? deserializeAws_json1_1WarningList(output.Warnings, context)
|
|
@@ -7920,6 +7951,25 @@ var deserializeAws_json1_1SnapshotsDataRecords = function (output, context) {
|
|
|
7920
7951
|
});
|
|
7921
7952
|
return retVal;
|
|
7922
7953
|
};
|
|
7954
|
+
var deserializeAws_json1_1SpellCorrectedQuery = function (output, context) {
|
|
7955
|
+
return {
|
|
7956
|
+
Corrections: output.Corrections !== undefined && output.Corrections !== null
|
|
7957
|
+
? deserializeAws_json1_1CorrectionList(output.Corrections, context)
|
|
7958
|
+
: undefined,
|
|
7959
|
+
SuggestedQueryText: __expectString(output.SuggestedQueryText),
|
|
7960
|
+
};
|
|
7961
|
+
};
|
|
7962
|
+
var deserializeAws_json1_1SpellCorrectedQueryList = function (output, context) {
|
|
7963
|
+
var retVal = (output || [])
|
|
7964
|
+
.filter(function (e) { return e != null; })
|
|
7965
|
+
.map(function (entry) {
|
|
7966
|
+
if (entry === null) {
|
|
7967
|
+
return null;
|
|
7968
|
+
}
|
|
7969
|
+
return deserializeAws_json1_1SpellCorrectedQuery(entry, context);
|
|
7970
|
+
});
|
|
7971
|
+
return retVal;
|
|
7972
|
+
};
|
|
7923
7973
|
var deserializeAws_json1_1SqlConfiguration = function (output, context) {
|
|
7924
7974
|
return {
|
|
7925
7975
|
QueryIdentifiersEnclosingOption: __expectString(output.QueryIdentifiersEnclosingOption),
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput } from "./commands/AssociateEntitiesToExperienceCommand";
|
|
10
10
|
import { AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput } from "./commands/AssociatePersonasToEntitiesCommand";
|
|
11
11
|
import { BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput } from "./commands/BatchDeleteDocumentCommand";
|
|
@@ -83,7 +83,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
83
83
|
* A function that can calculate the length of a request body.
|
|
84
84
|
* @internal
|
|
85
85
|
*/
|
|
86
|
-
bodyLengthChecker?:
|
|
86
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
87
87
|
/**
|
|
88
88
|
* A function that converts a stream into an array of bytes.
|
|
89
89
|
* @internal
|
|
@@ -153,7 +153,7 @@ export declare enum EntityType {
|
|
|
153
153
|
USER = "USER"
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
156
|
-
* <p>Provides the configuration information
|
|
156
|
+
* <p>Provides the configuration information for users or groups in
|
|
157
157
|
* your Amazon Web Services SSO identity source to grant access your Amazon Kendra
|
|
158
158
|
* experience.</p>
|
|
159
159
|
*/
|
|
@@ -295,7 +295,7 @@ export declare enum Persona {
|
|
|
295
295
|
VIEWER = "VIEWER"
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
298
|
-
* <p>Provides the configuration information
|
|
298
|
+
* <p>Provides the configuration information for users or groups in your
|
|
299
299
|
* Amazon Web Services SSO identity source for access to your Amazon Kendra experience.
|
|
300
300
|
* Specific permissions are defined for each user or group once they are
|
|
301
301
|
* granted access to your Amazon Kendra experience.</p>
|
|
@@ -1494,7 +1494,7 @@ export declare enum ConfluenceVersion {
|
|
|
1494
1494
|
SERVER = "SERVER"
|
|
1495
1495
|
}
|
|
1496
1496
|
/**
|
|
1497
|
-
* <p>Provides information
|
|
1497
|
+
* <p>Provides the configuration information to connect to an Amazon VPC.</p>
|
|
1498
1498
|
*/
|
|
1499
1499
|
export interface DataSourceVpcConfiguration {
|
|
1500
1500
|
/**
|
|
@@ -1518,8 +1518,8 @@ export declare namespace DataSourceVpcConfiguration {
|
|
|
1518
1518
|
const filterSensitiveLog: (obj: DataSourceVpcConfiguration) => any;
|
|
1519
1519
|
}
|
|
1520
1520
|
/**
|
|
1521
|
-
* <p>Provides configuration information
|
|
1522
|
-
*
|
|
1521
|
+
* <p>Provides the configuration information to connect to Confluence
|
|
1522
|
+
* as your data source.</p>
|
|
1523
1523
|
*/
|
|
1524
1524
|
export interface ConfluenceConfiguration {
|
|
1525
1525
|
/**
|
|
@@ -1663,7 +1663,7 @@ export declare namespace ColumnConfiguration {
|
|
|
1663
1663
|
const filterSensitiveLog: (obj: ColumnConfiguration) => any;
|
|
1664
1664
|
}
|
|
1665
1665
|
/**
|
|
1666
|
-
* <p>Provides the information
|
|
1666
|
+
* <p>Provides the configuration information that's required to connect to a
|
|
1667
1667
|
* database.</p>
|
|
1668
1668
|
*/
|
|
1669
1669
|
export interface ConnectionConfiguration {
|
|
@@ -1712,7 +1712,7 @@ export declare enum QueryIdentifiersEnclosingOption {
|
|
|
1712
1712
|
NONE = "NONE"
|
|
1713
1713
|
}
|
|
1714
1714
|
/**
|
|
1715
|
-
* <p>Provides
|
|
1715
|
+
* <p>Provides the configuration information to use a SQL
|
|
1716
1716
|
* database.</p>
|
|
1717
1717
|
*/
|
|
1718
1718
|
export interface SqlConfiguration {
|
|
@@ -1739,7 +1739,7 @@ export declare namespace SqlConfiguration {
|
|
|
1739
1739
|
const filterSensitiveLog: (obj: SqlConfiguration) => any;
|
|
1740
1740
|
}
|
|
1741
1741
|
/**
|
|
1742
|
-
* <p>Provides the information
|
|
1742
|
+
* <p>Provides the configuration information to connect to a
|
|
1743
1743
|
* index. </p>
|
|
1744
1744
|
*/
|
|
1745
1745
|
export interface DatabaseConfiguration {
|
|
@@ -1748,11 +1748,11 @@ export interface DatabaseConfiguration {
|
|
|
1748
1748
|
*/
|
|
1749
1749
|
DatabaseEngineType: DatabaseEngineType | string | undefined;
|
|
1750
1750
|
/**
|
|
1751
|
-
* <p>
|
|
1751
|
+
* <p>Configuration information that's required to connect to a database.</p>
|
|
1752
1752
|
*/
|
|
1753
1753
|
ConnectionConfiguration: ConnectionConfiguration | undefined;
|
|
1754
1754
|
/**
|
|
1755
|
-
* <p>Provides information
|
|
1755
|
+
* <p>Provides the configuration information to connect to an Amazon VPC.</p>
|
|
1756
1756
|
*/
|
|
1757
1757
|
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
1758
1758
|
/**
|
|
@@ -1800,7 +1800,7 @@ export interface FsxConfiguration {
|
|
|
1800
1800
|
*/
|
|
1801
1801
|
FileSystemType: FsxFileSystemType | string | undefined;
|
|
1802
1802
|
/**
|
|
1803
|
-
* <p>
|
|
1803
|
+
* <p>Configuration information for connecting to an
|
|
1804
1804
|
* Amazon Virtual Private Cloud for your Amazon FSx. Your Amazon FSx
|
|
1805
1805
|
* instance must reside inside your VPC.</p>
|
|
1806
1806
|
*/
|
|
@@ -1819,8 +1819,8 @@ export interface FsxConfiguration {
|
|
|
1819
1819
|
* Amazon FSx file system for Windows.</p>
|
|
1820
1820
|
* </li>
|
|
1821
1821
|
* <li>
|
|
1822
|
-
* <p>password—The password of the
|
|
1823
|
-
* read and mounting access Amazon FSx Windows file system.</p>
|
|
1822
|
+
* <p>password—The password of the Active Directory user account with
|
|
1823
|
+
* read and mounting access to the Amazon FSx Windows file system.</p>
|
|
1824
1824
|
* </li>
|
|
1825
1825
|
* </ul>
|
|
1826
1826
|
*/
|
|
@@ -1846,7 +1846,7 @@ export interface FsxConfiguration {
|
|
|
1846
1846
|
/**
|
|
1847
1847
|
* <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that
|
|
1848
1848
|
* map Amazon FSx data source attributes or field names to Amazon Kendra
|
|
1849
|
-
* index field names
|
|
1849
|
+
* index field names. To create custom fields, use the
|
|
1850
1850
|
* <code>UpdateIndex</code> API before you map to Amazon FSx fields.
|
|
1851
1851
|
* For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping
|
|
1852
1852
|
* data source fields</a>. The Amazon FSx data source field names
|
|
@@ -1861,8 +1861,8 @@ export declare namespace FsxConfiguration {
|
|
|
1861
1861
|
const filterSensitiveLog: (obj: FsxConfiguration) => any;
|
|
1862
1862
|
}
|
|
1863
1863
|
/**
|
|
1864
|
-
* <p>Provides configuration information
|
|
1865
|
-
*
|
|
1864
|
+
* <p>Provides the configuration information to connect to
|
|
1865
|
+
* Google Drive as your data source.</p>
|
|
1866
1866
|
*/
|
|
1867
1867
|
export interface GoogleDriveConfiguration {
|
|
1868
1868
|
/**
|
|
@@ -1951,8 +1951,8 @@ export declare namespace OneDriveUsers {
|
|
|
1951
1951
|
const filterSensitiveLog: (obj: OneDriveUsers) => any;
|
|
1952
1952
|
}
|
|
1953
1953
|
/**
|
|
1954
|
-
* <p>Provides configuration information
|
|
1955
|
-
* to OneDrive.</p>
|
|
1954
|
+
* <p>Provides the configuration information to connect
|
|
1955
|
+
* to OneDrive as your data source.</p>
|
|
1956
1956
|
*/
|
|
1957
1957
|
export interface OneDriveConfiguration {
|
|
1958
1958
|
/**
|
|
@@ -2030,8 +2030,8 @@ export declare namespace DocumentsMetadataConfiguration {
|
|
|
2030
2030
|
const filterSensitiveLog: (obj: DocumentsMetadataConfiguration) => any;
|
|
2031
2031
|
}
|
|
2032
2032
|
/**
|
|
2033
|
-
* <p>Provides configuration information
|
|
2034
|
-
*
|
|
2033
|
+
* <p>Provides the configuration information to connect to
|
|
2034
|
+
* an Amazon S3 bucket.</p>
|
|
2035
2035
|
*/
|
|
2036
2036
|
export interface S3DataSourceConfiguration {
|
|
2037
2037
|
/**
|
|
@@ -2122,7 +2122,7 @@ export declare enum SalesforceChatterFeedIncludeFilterType {
|
|
|
2122
2122
|
STANDARD_USER = "STANDARD_USER"
|
|
2123
2123
|
}
|
|
2124
2124
|
/**
|
|
2125
|
-
* <p>
|
|
2125
|
+
* <p>The configuration information for syncing a Salesforce chatter feed. The
|
|
2126
2126
|
* contents of the object comes from the Salesforce FeedItem
|
|
2127
2127
|
* table.</p>
|
|
2128
2128
|
*/
|
|
@@ -2196,7 +2196,7 @@ export declare enum SalesforceKnowledgeArticleState {
|
|
|
2196
2196
|
PUBLISHED = "PUBLISHED"
|
|
2197
2197
|
}
|
|
2198
2198
|
/**
|
|
2199
|
-
* <p>
|
|
2199
|
+
* <p>Configuration information for standard Salesforce
|
|
2200
2200
|
* knowledge articles.</p>
|
|
2201
2201
|
*/
|
|
2202
2202
|
export interface SalesforceStandardKnowledgeArticleTypeConfiguration {
|
|
@@ -2223,7 +2223,7 @@ export declare namespace SalesforceStandardKnowledgeArticleTypeConfiguration {
|
|
|
2223
2223
|
const filterSensitiveLog: (obj: SalesforceStandardKnowledgeArticleTypeConfiguration) => any;
|
|
2224
2224
|
}
|
|
2225
2225
|
/**
|
|
2226
|
-
* <p>
|
|
2226
|
+
* <p>Provides the configuration information for the knowledge article
|
|
2227
2227
|
* types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge
|
|
2228
2228
|
* articles and the standard fields of knowledge articles, or the
|
|
2229
2229
|
* custom fields of custom knowledge articles, but not both </p>
|
|
@@ -2236,12 +2236,12 @@ export interface SalesforceKnowledgeArticleConfiguration {
|
|
|
2236
2236
|
*/
|
|
2237
2237
|
IncludedStates: (SalesforceKnowledgeArticleState | string)[] | undefined;
|
|
2238
2238
|
/**
|
|
2239
|
-
* <p>
|
|
2239
|
+
* <p>Configuration information for standard Salesforce
|
|
2240
2240
|
* knowledge articles.</p>
|
|
2241
2241
|
*/
|
|
2242
2242
|
StandardKnowledgeArticleTypeConfiguration?: SalesforceStandardKnowledgeArticleTypeConfiguration;
|
|
2243
2243
|
/**
|
|
2244
|
-
* <p>
|
|
2244
|
+
* <p>Configuration information for custom Salesforce knowledge
|
|
2245
2245
|
* articles.</p>
|
|
2246
2246
|
*/
|
|
2247
2247
|
CustomKnowledgeArticleTypeConfigurations?: SalesforceCustomKnowledgeArticleTypeConfiguration[];
|
|
@@ -2253,7 +2253,7 @@ export declare namespace SalesforceKnowledgeArticleConfiguration {
|
|
|
2253
2253
|
const filterSensitiveLog: (obj: SalesforceKnowledgeArticleConfiguration) => any;
|
|
2254
2254
|
}
|
|
2255
2255
|
/**
|
|
2256
|
-
* <p>Provides configuration information for processing attachments to
|
|
2256
|
+
* <p>Provides the configuration information for processing attachments to
|
|
2257
2257
|
* Salesforce standard objects. </p>
|
|
2258
2258
|
*/
|
|
2259
2259
|
export interface SalesforceStandardObjectAttachmentConfiguration {
|
|
@@ -2293,7 +2293,7 @@ export declare enum SalesforceStandardObjectName {
|
|
|
2293
2293
|
USER = "USER"
|
|
2294
2294
|
}
|
|
2295
2295
|
/**
|
|
2296
|
-
* <p>
|
|
2296
|
+
* <p>Provides the configuration information for indexing a single standard
|
|
2297
2297
|
* object.</p>
|
|
2298
2298
|
*/
|
|
2299
2299
|
export interface SalesforceStandardObjectConfiguration {
|
|
@@ -2390,7 +2390,7 @@ export interface SalesforceConfiguration {
|
|
|
2390
2390
|
*/
|
|
2391
2391
|
CrawlAttachments?: boolean;
|
|
2392
2392
|
/**
|
|
2393
|
-
* <p>
|
|
2393
|
+
* <p>Configuration information for processing attachments to
|
|
2394
2394
|
* Salesforce standard objects. </p>
|
|
2395
2395
|
*/
|
|
2396
2396
|
StandardObjectAttachmentConfiguration?: SalesforceStandardObjectAttachmentConfiguration;
|
|
@@ -2424,7 +2424,7 @@ export declare enum ServiceNowAuthenticationType {
|
|
|
2424
2424
|
OAUTH2 = "OAUTH2"
|
|
2425
2425
|
}
|
|
2426
2426
|
/**
|
|
2427
|
-
* <p>Provides configuration information for crawling knowledge articles
|
|
2427
|
+
* <p>Provides the configuration information for crawling knowledge articles
|
|
2428
2428
|
* in the ServiceNow site.</p>
|
|
2429
2429
|
*/
|
|
2430
2430
|
export interface ServiceNowKnowledgeArticleConfiguration {
|
|
@@ -2480,7 +2480,7 @@ export declare namespace ServiceNowKnowledgeArticleConfiguration {
|
|
|
2480
2480
|
const filterSensitiveLog: (obj: ServiceNowKnowledgeArticleConfiguration) => any;
|
|
2481
2481
|
}
|
|
2482
2482
|
/**
|
|
2483
|
-
* <p>Provides configuration information for crawling service catalog
|
|
2483
|
+
* <p>Provides the configuration information for crawling service catalog
|
|
2484
2484
|
* items in the ServiceNow site</p>
|
|
2485
2485
|
*/
|
|
2486
2486
|
export interface ServiceNowServiceCatalogConfiguration {
|
|
@@ -2534,8 +2534,8 @@ export declare enum ServiceNowBuildVersionType {
|
|
|
2534
2534
|
OTHERS = "OTHERS"
|
|
2535
2535
|
}
|
|
2536
2536
|
/**
|
|
2537
|
-
* <p>Provides configuration information
|
|
2538
|
-
* ServiceNow data source.</p>
|
|
2537
|
+
* <p>Provides the configuration information to connect to
|
|
2538
|
+
* ServiceNow as your data source.</p>
|
|
2539
2539
|
*/
|
|
2540
2540
|
export interface ServiceNowConfiguration {
|
|
2541
2541
|
/**
|
|
@@ -2558,12 +2558,12 @@ export interface ServiceNowConfiguration {
|
|
|
2558
2558
|
*/
|
|
2559
2559
|
ServiceNowBuildVersion: ServiceNowBuildVersionType | string | undefined;
|
|
2560
2560
|
/**
|
|
2561
|
-
* <p>
|
|
2561
|
+
* <p>Configuration information for crawling knowledge articles
|
|
2562
2562
|
* in the ServiceNow site.</p>
|
|
2563
2563
|
*/
|
|
2564
2564
|
KnowledgeArticleConfiguration?: ServiceNowKnowledgeArticleConfiguration;
|
|
2565
2565
|
/**
|
|
2566
|
-
* <p>
|
|
2566
|
+
* <p>Configuration information for crawling service catalogs
|
|
2567
2567
|
* in the ServiceNow site.</p>
|
|
2568
2568
|
*/
|
|
2569
2569
|
ServiceCatalogConfiguration?: ServiceNowServiceCatalogConfiguration;
|
|
@@ -2595,8 +2595,8 @@ export declare enum SharePointVersion {
|
|
|
2595
2595
|
SHAREPOINT_ONLINE = "SHAREPOINT_ONLINE"
|
|
2596
2596
|
}
|
|
2597
2597
|
/**
|
|
2598
|
-
* <p>Provides configuration information
|
|
2599
|
-
* SharePoint data source.</p>
|
|
2598
|
+
* <p>Provides the configuration information to connect to Microsoft
|
|
2599
|
+
* SharePoint as your data source.</p>
|
|
2600
2600
|
*/
|
|
2601
2601
|
export interface SharePointConfiguration {
|
|
2602
2602
|
/**
|
|
@@ -2658,7 +2658,7 @@ export interface SharePointConfiguration {
|
|
|
2658
2658
|
*/
|
|
2659
2659
|
ExclusionPatterns?: string[];
|
|
2660
2660
|
/**
|
|
2661
|
-
* <p>Provides information
|
|
2661
|
+
* <p>Provides the configuration information to connect to an Amazon VPC.</p>
|
|
2662
2662
|
*/
|
|
2663
2663
|
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
2664
2664
|
/**
|
|
@@ -2734,7 +2734,7 @@ export declare enum WebCrawlerMode {
|
|
|
2734
2734
|
SUBDOMAINS = "SUBDOMAINS"
|
|
2735
2735
|
}
|
|
2736
2736
|
/**
|
|
2737
|
-
* <p>Provides the configuration information
|
|
2737
|
+
* <p>Provides the configuration information for the seed or starting point URLs to crawl.</p>
|
|
2738
2738
|
* <p>
|
|
2739
2739
|
* <i>When selecting websites to index, you must adhere to
|
|
2740
2740
|
* the <a href="https://aws.amazon.com/aup/">Amazon Acceptable Use Policy</a>
|
|
@@ -2782,7 +2782,7 @@ export declare namespace SeedUrlConfiguration {
|
|
|
2782
2782
|
const filterSensitiveLog: (obj: SeedUrlConfiguration) => any;
|
|
2783
2783
|
}
|
|
2784
2784
|
/**
|
|
2785
|
-
* <p>Provides the configuration information
|
|
2785
|
+
* <p>Provides the configuration information for the sitemap URLs to crawl.</p>
|
|
2786
2786
|
* <p>
|
|
2787
2787
|
* <i>When selecting websites to index, you must adhere to
|
|
2788
2788
|
* the <a href="https://aws.amazon.com/aup/">Amazon Acceptable Use Policy</a>
|
|
@@ -2820,7 +2820,7 @@ export declare namespace SiteMapsConfiguration {
|
|
|
2820
2820
|
*/
|
|
2821
2821
|
export interface Urls {
|
|
2822
2822
|
/**
|
|
2823
|
-
* <p>
|
|
2823
|
+
* <p>Configuration of the seed or starting point URLs of the websites
|
|
2824
2824
|
* you want to crawl.</p>
|
|
2825
2825
|
* <p>You can choose to crawl only the website host names, or the website host names
|
|
2826
2826
|
* with subdomains, or the website host names with subdomains and other domains
|
|
@@ -2829,7 +2829,7 @@ export interface Urls {
|
|
|
2829
2829
|
*/
|
|
2830
2830
|
SeedUrlConfiguration?: SeedUrlConfiguration;
|
|
2831
2831
|
/**
|
|
2832
|
-
* <p>
|
|
2832
|
+
* <p>Configuration of the sitemap URLs of the websites you want to crawl.</p>
|
|
2833
2833
|
* <p>Only URLs belonging to the same website host names are crawled. You can list up to
|
|
2834
2834
|
* three sitemap URLs.</p>
|
|
2835
2835
|
*/
|
|
@@ -2906,7 +2906,7 @@ export interface WebCrawlerConfiguration {
|
|
|
2906
2906
|
*/
|
|
2907
2907
|
UrlExclusionPatterns?: string[];
|
|
2908
2908
|
/**
|
|
2909
|
-
* <p>
|
|
2909
|
+
* <p>Configuration information required to connect to your internal
|
|
2910
2910
|
* websites via a web proxy.</p>
|
|
2911
2911
|
* <p>You must provide the website host name and port number. For example, the
|
|
2912
2912
|
* host name of https://a.example.com/page1.html is "a.example.com" and the
|
|
@@ -2917,7 +2917,7 @@ export interface WebCrawlerConfiguration {
|
|
|
2917
2917
|
*/
|
|
2918
2918
|
ProxyConfiguration?: ProxyConfiguration;
|
|
2919
2919
|
/**
|
|
2920
|
-
* <p>
|
|
2920
|
+
* <p>Configuration information required to connect to websites using
|
|
2921
2921
|
* authentication.</p>
|
|
2922
2922
|
* <p>You can connect to websites using basic authentication of user name and password.</p>
|
|
2923
2923
|
* <p>You must provide the website host name and port number. For example, the host name
|
|
@@ -3007,37 +3007,37 @@ export declare namespace WorkDocsConfiguration {
|
|
|
3007
3007
|
const filterSensitiveLog: (obj: WorkDocsConfiguration) => any;
|
|
3008
3008
|
}
|
|
3009
3009
|
/**
|
|
3010
|
-
* <p>
|
|
3010
|
+
* <p>Provides the configuration information for an Amazon Kendra data source.</p>
|
|
3011
3011
|
*/
|
|
3012
3012
|
export interface DataSourceConfiguration {
|
|
3013
3013
|
/**
|
|
3014
|
-
* <p>Provides information to
|
|
3015
|
-
*
|
|
3014
|
+
* <p>Provides the configuration information to connect to an Amazon S3
|
|
3015
|
+
* bucket as your data source.</p>
|
|
3016
3016
|
*/
|
|
3017
3017
|
S3Configuration?: S3DataSourceConfiguration;
|
|
3018
3018
|
/**
|
|
3019
|
-
* <p>Provides information
|
|
3020
|
-
*
|
|
3019
|
+
* <p>Provides the configuration information to connect to Microsoft SharePoint
|
|
3020
|
+
* as your data source.</p>
|
|
3021
3021
|
*/
|
|
3022
3022
|
SharePointConfiguration?: SharePointConfiguration;
|
|
3023
3023
|
/**
|
|
3024
|
-
* <p>Provides information
|
|
3025
|
-
*
|
|
3024
|
+
* <p>Provides the configuration information to connect to a database as
|
|
3025
|
+
* your data source.</p>
|
|
3026
3026
|
*/
|
|
3027
3027
|
DatabaseConfiguration?: DatabaseConfiguration;
|
|
3028
3028
|
/**
|
|
3029
|
-
* <p>Provides configuration information
|
|
3030
|
-
*
|
|
3029
|
+
* <p>Provides the configuration information to connect to
|
|
3030
|
+
* Salesforce as your data source.</p>
|
|
3031
3031
|
*/
|
|
3032
3032
|
SalesforceConfiguration?: SalesforceConfiguration;
|
|
3033
3033
|
/**
|
|
3034
|
-
* <p>Provides configuration
|
|
3035
|
-
* OneDrive.</p>
|
|
3034
|
+
* <p>Provides the configuration information to connect to Microsoft
|
|
3035
|
+
* OneDrive as your data source.</p>
|
|
3036
3036
|
*/
|
|
3037
3037
|
OneDriveConfiguration?: OneDriveConfiguration;
|
|
3038
3038
|
/**
|
|
3039
|
-
* <p>Provides configuration
|
|
3040
|
-
*
|
|
3039
|
+
* <p>Provides the configuration information to connect to ServiceNow
|
|
3040
|
+
* as your data source.</p>
|
|
3041
3041
|
*/
|
|
3042
3042
|
ServiceNowConfiguration?: ServiceNowConfiguration;
|
|
3043
3043
|
/**
|
|
@@ -3046,8 +3046,8 @@ export interface DataSourceConfiguration {
|
|
|
3046
3046
|
*/
|
|
3047
3047
|
ConfluenceConfiguration?: ConfluenceConfiguration;
|
|
3048
3048
|
/**
|
|
3049
|
-
* <p>Provides configuration
|
|
3050
|
-
* Drive. </p>
|
|
3049
|
+
* <p>Provides the configuration information to connect to Google
|
|
3050
|
+
* Drive as your data source. </p>
|
|
3051
3051
|
*/
|
|
3052
3052
|
GoogleDriveConfiguration?: GoogleDriveConfiguration;
|
|
3053
3053
|
/**
|
|
@@ -3125,7 +3125,7 @@ export interface CreateDataSourceRequest {
|
|
|
3125
3125
|
*/
|
|
3126
3126
|
Type: DataSourceType | string | undefined;
|
|
3127
3127
|
/**
|
|
3128
|
-
* <p>
|
|
3128
|
+
* <p>Configuration information that is required to access the data source
|
|
3129
3129
|
* repository.</p>
|
|
3130
3130
|
* <p>You can't specify the <code>Configuration</code> parameter when the
|
|
3131
3131
|
* <code>Type</code> parameter is set to <code>CUSTOM</code>. If you do,
|
|
@@ -3209,7 +3209,7 @@ export declare namespace CreateDataSourceResponse {
|
|
|
3209
3209
|
const filterSensitiveLog: (obj: CreateDataSourceResponse) => any;
|
|
3210
3210
|
}
|
|
3211
3211
|
/**
|
|
3212
|
-
* <p>
|
|
3212
|
+
* <p>Provides the configuration information for your content sources, such as data sources,
|
|
3213
3213
|
* FAQs, and content indexed directly via <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a>.</p>
|
|
3214
3214
|
*/
|
|
3215
3215
|
export interface ContentSourceConfiguration {
|
|
@@ -3235,7 +3235,7 @@ export declare namespace ContentSourceConfiguration {
|
|
|
3235
3235
|
const filterSensitiveLog: (obj: ContentSourceConfiguration) => any;
|
|
3236
3236
|
}
|
|
3237
3237
|
/**
|
|
3238
|
-
* <p>
|
|
3238
|
+
* <p>Provides the configuration information for the identifiers of your users.</p>
|
|
3239
3239
|
*/
|
|
3240
3240
|
export interface UserIdentityConfiguration {
|
|
3241
3241
|
/**
|
|
@@ -3256,7 +3256,7 @@ export declare namespace UserIdentityConfiguration {
|
|
|
3256
3256
|
const filterSensitiveLog: (obj: UserIdentityConfiguration) => any;
|
|
3257
3257
|
}
|
|
3258
3258
|
/**
|
|
3259
|
-
* <p>
|
|
3259
|
+
* <p>Provides the configuration information for your Amazon Kendra experience. This includes
|
|
3260
3260
|
* the data source IDs and/or FAQ IDs, and user or group information to grant access
|
|
3261
3261
|
* to your Amazon Kendra experience.</p>
|
|
3262
3262
|
*/
|
|
@@ -3296,7 +3296,7 @@ export interface CreateExperienceRequest {
|
|
|
3296
3296
|
*/
|
|
3297
3297
|
RoleArn?: string;
|
|
3298
3298
|
/**
|
|
3299
|
-
* <p>
|
|
3299
|
+
* <p>Configuration information for your Amazon Kendra experience. This includes
|
|
3300
3300
|
* <code>ContentSourceConfiguration</code>, which specifies the data source IDs
|
|
3301
3301
|
* and/or FAQ IDs, and <code>UserIdentityConfiguration</code>, which specifies the
|
|
3302
3302
|
* user or group information to grant access to your Amazon Kendra experience.</p>
|
|
@@ -3472,7 +3472,7 @@ export declare namespace UserGroupResolutionConfiguration {
|
|
|
3472
3472
|
const filterSensitiveLog: (obj: UserGroupResolutionConfiguration) => any;
|
|
3473
3473
|
}
|
|
3474
3474
|
/**
|
|
3475
|
-
* <p>
|
|
3475
|
+
* <p>Provides the configuration information for the JSON token type.</p>
|
|
3476
3476
|
*/
|
|
3477
3477
|
export interface JsonTokenTypeConfiguration {
|
|
3478
3478
|
/**
|
|
@@ -3495,7 +3495,7 @@ export declare enum KeyLocation {
|
|
|
3495
3495
|
URL = "URL"
|
|
3496
3496
|
}
|
|
3497
3497
|
/**
|
|
3498
|
-
* <p>
|
|
3498
|
+
* <p>Provides the configuration information for the JWT token type.</p>
|
|
3499
3499
|
*/
|
|
3500
3500
|
export interface JwtTokenTypeConfiguration {
|
|
3501
3501
|
/**
|
|
@@ -3534,7 +3534,7 @@ export declare namespace JwtTokenTypeConfiguration {
|
|
|
3534
3534
|
const filterSensitiveLog: (obj: JwtTokenTypeConfiguration) => any;
|
|
3535
3535
|
}
|
|
3536
3536
|
/**
|
|
3537
|
-
* <p>Provides configuration information for a token
|
|
3537
|
+
* <p>Provides the configuration information for a token.</p>
|
|
3538
3538
|
*/
|
|
3539
3539
|
export interface UserTokenConfiguration {
|
|
3540
3540
|
/**
|
|
@@ -3962,8 +3962,7 @@ export interface DescribeDataSourceResponse {
|
|
|
3962
3962
|
*/
|
|
3963
3963
|
Type?: DataSourceType | string;
|
|
3964
3964
|
/**
|
|
3965
|
-
* <p>
|
|
3966
|
-
* the data source is configured. The specific information in the description
|
|
3965
|
+
* <p>Describes how the data source is configured. The specific information in the description
|
|
3967
3966
|
* depends on the data source provider.</p>
|
|
3968
3967
|
*/
|
|
3969
3968
|
Configuration?: DataSourceConfiguration;
|
|
@@ -4046,7 +4045,7 @@ export declare enum EndpointType {
|
|
|
4046
4045
|
HOME = "HOME"
|
|
4047
4046
|
}
|
|
4048
4047
|
/**
|
|
4049
|
-
* <p>Provides the configuration information
|
|
4048
|
+
* <p>Provides the configuration information for the endpoint for your Amazon Kendra
|
|
4050
4049
|
* experience.</p>
|
|
4051
4050
|
*/
|
|
4052
4051
|
export interface ExperienceEndpoint {
|
|
@@ -5990,7 +5989,7 @@ export declare namespace ListIndicesRequest {
|
|
|
5990
5989
|
const filterSensitiveLog: (obj: ListIndicesRequest) => any;
|
|
5991
5990
|
}
|
|
5992
5991
|
/**
|
|
5993
|
-
* <p>A summary of information
|
|
5992
|
+
* <p>A summary of information on the configuration of an index.</p>
|
|
5994
5993
|
*/
|
|
5995
5994
|
export interface IndexConfigurationSummary {
|
|
5996
5995
|
/**
|
|
@@ -6032,7 +6031,7 @@ export declare namespace IndexConfigurationSummary {
|
|
|
6032
6031
|
}
|
|
6033
6032
|
export interface ListIndicesResponse {
|
|
6034
6033
|
/**
|
|
6035
|
-
* <p>An array of summary information
|
|
6034
|
+
* <p>An array of summary information on the configuration of one or more indexes.</p>
|
|
6036
6035
|
*/
|
|
6037
6036
|
IndexConfigurationSummaryItems?: IndexConfigurationSummary[];
|
|
6038
6037
|
/**
|
|
@@ -6493,9 +6492,29 @@ export declare namespace SortingConfiguration {
|
|
|
6493
6492
|
const filterSensitiveLog: (obj: SortingConfiguration) => any;
|
|
6494
6493
|
}
|
|
6495
6494
|
/**
|
|
6496
|
-
* <p>
|
|
6497
|
-
*
|
|
6498
|
-
*
|
|
6495
|
+
* <p>Provides the configuration information for suggested query spell corrections.</p>
|
|
6496
|
+
* <p>Suggested spell corrections are based on words that appear in your indexed documents
|
|
6497
|
+
* and how closely a corrected word matches a misspelled word.</p>
|
|
6498
|
+
* <p>This feature is designed with certain defaults or limits. For information on the
|
|
6499
|
+
* current limits and how to request more support for some limits, see the
|
|
6500
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/query-spell-check.html">Spell
|
|
6501
|
+
* Checker documentation</a>.</p>
|
|
6502
|
+
*/
|
|
6503
|
+
export interface SpellCorrectionConfiguration {
|
|
6504
|
+
/**
|
|
6505
|
+
* <p>
|
|
6506
|
+
* <code>TRUE</code> to suggest spell corrections for queries.</p>
|
|
6507
|
+
*/
|
|
6508
|
+
IncludeQuerySpellCheckSuggestions: boolean | undefined;
|
|
6509
|
+
}
|
|
6510
|
+
export declare namespace SpellCorrectionConfiguration {
|
|
6511
|
+
/**
|
|
6512
|
+
* @internal
|
|
6513
|
+
*/
|
|
6514
|
+
const filterSensitiveLog: (obj: SpellCorrectionConfiguration) => any;
|
|
6515
|
+
}
|
|
6516
|
+
/**
|
|
6517
|
+
* <p>Data source information for user context filtering.</p>
|
|
6499
6518
|
*/
|
|
6500
6519
|
export interface DataSourceGroup {
|
|
6501
6520
|
/**
|
|
@@ -6706,6 +6725,54 @@ export declare namespace QueryResultItem {
|
|
|
6706
6725
|
*/
|
|
6707
6726
|
const filterSensitiveLog: (obj: QueryResultItem) => any;
|
|
6708
6727
|
}
|
|
6728
|
+
/**
|
|
6729
|
+
* <p>A corrected misspelled word in a query.</p>
|
|
6730
|
+
*/
|
|
6731
|
+
export interface Correction {
|
|
6732
|
+
/**
|
|
6733
|
+
* <p>The zero-based location in the response string or text where
|
|
6734
|
+
* the corrected word starts.</p>
|
|
6735
|
+
*/
|
|
6736
|
+
BeginOffset?: number;
|
|
6737
|
+
/**
|
|
6738
|
+
* <p>The zero-based location in the response string or text where
|
|
6739
|
+
* the corrected word ends.</p>
|
|
6740
|
+
*/
|
|
6741
|
+
EndOffset?: number;
|
|
6742
|
+
/**
|
|
6743
|
+
* <p>The string or text of a misspelled word in a query.</p>
|
|
6744
|
+
*/
|
|
6745
|
+
Term?: string;
|
|
6746
|
+
/**
|
|
6747
|
+
* <p>The string or text of a corrected misspelled word in a query.</p>
|
|
6748
|
+
*/
|
|
6749
|
+
CorrectedTerm?: string;
|
|
6750
|
+
}
|
|
6751
|
+
export declare namespace Correction {
|
|
6752
|
+
/**
|
|
6753
|
+
* @internal
|
|
6754
|
+
*/
|
|
6755
|
+
const filterSensitiveLog: (obj: Correction) => any;
|
|
6756
|
+
}
|
|
6757
|
+
/**
|
|
6758
|
+
* <p>A query with suggested spell corrections. </p>
|
|
6759
|
+
*/
|
|
6760
|
+
export interface SpellCorrectedQuery {
|
|
6761
|
+
/**
|
|
6762
|
+
* <p>The query with the suggested spell corrections.</p>
|
|
6763
|
+
*/
|
|
6764
|
+
SuggestedQueryText?: string;
|
|
6765
|
+
/**
|
|
6766
|
+
* <p>The corrected misspelled word or words in a query.</p>
|
|
6767
|
+
*/
|
|
6768
|
+
Corrections?: Correction[];
|
|
6769
|
+
}
|
|
6770
|
+
export declare namespace SpellCorrectedQuery {
|
|
6771
|
+
/**
|
|
6772
|
+
* @internal
|
|
6773
|
+
*/
|
|
6774
|
+
const filterSensitiveLog: (obj: SpellCorrectedQuery) => any;
|
|
6775
|
+
}
|
|
6709
6776
|
export declare enum WarningCode {
|
|
6710
6777
|
QUERY_LANGUAGE_INVALID_SYNTAX = "QUERY_LANGUAGE_INVALID_SYNTAX"
|
|
6711
6778
|
}
|
|
@@ -6758,6 +6825,10 @@ export interface QueryResult {
|
|
|
6758
6825
|
* with advanced query syntax</a>.</p>
|
|
6759
6826
|
*/
|
|
6760
6827
|
Warnings?: Warning[];
|
|
6828
|
+
/**
|
|
6829
|
+
* <p>A list of information related to suggested spell corrections for a query.</p>
|
|
6830
|
+
*/
|
|
6831
|
+
SpellCorrectedQueries?: SpellCorrectedQuery[];
|
|
6761
6832
|
}
|
|
6762
6833
|
export declare namespace QueryResult {
|
|
6763
6834
|
/**
|
|
@@ -6969,7 +7040,7 @@ export interface UpdateDataSourceRequest {
|
|
|
6969
7040
|
*/
|
|
6970
7041
|
IndexId: string | undefined;
|
|
6971
7042
|
/**
|
|
6972
|
-
* <p>Configuration information for an Amazon Kendra data source.</p>
|
|
7043
|
+
* <p>Configuration information for an Amazon Kendra data source you want to update.</p>
|
|
6973
7044
|
*/
|
|
6974
7045
|
Configuration?: DataSourceConfiguration;
|
|
6975
7046
|
/**
|
|
@@ -7030,8 +7101,7 @@ export interface UpdateExperienceRequest {
|
|
|
7030
7101
|
*/
|
|
7031
7102
|
RoleArn?: string;
|
|
7032
7103
|
/**
|
|
7033
|
-
* <p>
|
|
7034
|
-
* field name that contains the identifiers of your users, such as their emails.</p>
|
|
7104
|
+
* <p>Configuration information for your Amazon Kendra you want to update.</p>
|
|
7035
7105
|
*/
|
|
7036
7106
|
Configuration?: ExperienceConfiguration;
|
|
7037
7107
|
/**
|
|
@@ -7064,7 +7134,7 @@ export interface UpdateIndexRequest {
|
|
|
7064
7134
|
*/
|
|
7065
7135
|
Description?: string;
|
|
7066
7136
|
/**
|
|
7067
|
-
* <p>The document metadata to update
|
|
7137
|
+
* <p>The document metadata you want to update.</p>
|
|
7068
7138
|
*/
|
|
7069
7139
|
DocumentMetadataConfigurationUpdates?: DocumentMetadataConfiguration[];
|
|
7070
7140
|
/**
|
|
@@ -7408,6 +7478,10 @@ export interface QueryRequest {
|
|
|
7408
7478
|
* email address, as the <code>VisitorId</code>.</p>
|
|
7409
7479
|
*/
|
|
7410
7480
|
VisitorId?: string;
|
|
7481
|
+
/**
|
|
7482
|
+
* <p>Enables suggested spell corrections for queries.</p>
|
|
7483
|
+
*/
|
|
7484
|
+
SpellCorrectionConfiguration?: SpellCorrectionConfiguration;
|
|
7411
7485
|
}
|
|
7412
7486
|
export declare namespace QueryRequest {
|
|
7413
7487
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput } from "./commands/AssociateEntitiesToExperienceCommand";
|
|
10
10
|
import { AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput } from "./commands/AssociatePersonasToEntitiesCommand";
|
|
11
11
|
import { BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput } from "./commands/BatchDeleteDocumentCommand";
|
|
@@ -71,7 +71,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
71
71
|
|
|
72
72
|
urlParser?: __UrlParser;
|
|
73
73
|
|
|
74
|
-
bodyLengthChecker?:
|
|
74
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
75
75
|
|
|
76
76
|
streamCollector?: __StreamCollector;
|
|
77
77
|
|
|
@@ -2946,6 +2946,15 @@ export declare namespace SortingConfiguration {
|
|
|
2946
2946
|
const filterSensitiveLog: (obj: SortingConfiguration) => any;
|
|
2947
2947
|
}
|
|
2948
2948
|
|
|
2949
|
+
export interface SpellCorrectionConfiguration {
|
|
2950
|
+
|
|
2951
|
+
IncludeQuerySpellCheckSuggestions: boolean | undefined;
|
|
2952
|
+
}
|
|
2953
|
+
export declare namespace SpellCorrectionConfiguration {
|
|
2954
|
+
|
|
2955
|
+
const filterSensitiveLog: (obj: SpellCorrectionConfiguration) => any;
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2949
2958
|
export interface DataSourceGroup {
|
|
2950
2959
|
|
|
2951
2960
|
GroupId: string | undefined;
|
|
@@ -3038,6 +3047,32 @@ export declare namespace QueryResultItem {
|
|
|
3038
3047
|
|
|
3039
3048
|
const filterSensitiveLog: (obj: QueryResultItem) => any;
|
|
3040
3049
|
}
|
|
3050
|
+
|
|
3051
|
+
export interface Correction {
|
|
3052
|
+
|
|
3053
|
+
BeginOffset?: number;
|
|
3054
|
+
|
|
3055
|
+
EndOffset?: number;
|
|
3056
|
+
|
|
3057
|
+
Term?: string;
|
|
3058
|
+
|
|
3059
|
+
CorrectedTerm?: string;
|
|
3060
|
+
}
|
|
3061
|
+
export declare namespace Correction {
|
|
3062
|
+
|
|
3063
|
+
const filterSensitiveLog: (obj: Correction) => any;
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
export interface SpellCorrectedQuery {
|
|
3067
|
+
|
|
3068
|
+
SuggestedQueryText?: string;
|
|
3069
|
+
|
|
3070
|
+
Corrections?: Correction[];
|
|
3071
|
+
}
|
|
3072
|
+
export declare namespace SpellCorrectedQuery {
|
|
3073
|
+
|
|
3074
|
+
const filterSensitiveLog: (obj: SpellCorrectedQuery) => any;
|
|
3075
|
+
}
|
|
3041
3076
|
export declare enum WarningCode {
|
|
3042
3077
|
QUERY_LANGUAGE_INVALID_SYNTAX = "QUERY_LANGUAGE_INVALID_SYNTAX"
|
|
3043
3078
|
}
|
|
@@ -3063,6 +3098,8 @@ export interface QueryResult {
|
|
|
3063
3098
|
TotalNumberOfResults?: number;
|
|
3064
3099
|
|
|
3065
3100
|
Warnings?: Warning[];
|
|
3101
|
+
|
|
3102
|
+
SpellCorrectedQueries?: SpellCorrectedQuery[];
|
|
3066
3103
|
}
|
|
3067
3104
|
export declare namespace QueryResult {
|
|
3068
3105
|
|
|
@@ -3348,6 +3385,8 @@ export interface QueryRequest {
|
|
|
3348
3385
|
UserContext?: UserContext;
|
|
3349
3386
|
|
|
3350
3387
|
VisitorId?: string;
|
|
3388
|
+
|
|
3389
|
+
SpellCorrectionConfiguration?: SpellCorrectionConfiguration;
|
|
3351
3390
|
}
|
|
3352
3391
|
export declare namespace QueryRequest {
|
|
3353
3392
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
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.54.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,34 +18,34 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|