@aws-sdk/client-kendra 3.35.0 → 3.38.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 +49 -0
- package/dist-cjs/Kendra.js +0 -4
- package/dist-cjs/KendraClient.js +0 -9
- package/dist-cjs/commands/BatchDeleteDocumentCommand.js +0 -29
- package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +0 -37
- package/dist-cjs/commands/BatchPutDocumentCommand.js +0 -33
- package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +0 -31
- package/dist-cjs/commands/CreateDataSourceCommand.js +0 -33
- package/dist-cjs/commands/CreateFaqCommand.js +0 -25
- package/dist-cjs/commands/CreateIndexCommand.js +0 -32
- package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +0 -33
- package/dist-cjs/commands/CreateThesaurusCommand.js +0 -26
- package/dist-cjs/commands/DeleteDataSourceCommand.js +0 -29
- package/dist-cjs/commands/DeleteFaqCommand.js +0 -25
- package/dist-cjs/commands/DeleteIndexCommand.js +0 -29
- package/dist-cjs/commands/DeletePrincipalMappingCommand.js +0 -36
- package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +0 -28
- package/dist-cjs/commands/DeleteThesaurusCommand.js +0 -26
- package/dist-cjs/commands/DescribeDataSourceCommand.js +0 -25
- package/dist-cjs/commands/DescribeFaqCommand.js +0 -25
- package/dist-cjs/commands/DescribeIndexCommand.js +0 -25
- package/dist-cjs/commands/DescribePrincipalMappingCommand.js +0 -30
- package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +0 -27
- package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +0 -27
- package/dist-cjs/commands/DescribeThesaurusCommand.js +0 -25
- package/dist-cjs/commands/GetQuerySuggestionsCommand.js +0 -25
- package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +0 -26
- package/dist-cjs/commands/ListDataSourcesCommand.js +0 -25
- package/dist-cjs/commands/ListFaqsCommand.js +0 -25
- package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +0 -26
- package/dist-cjs/commands/ListIndicesCommand.js +0 -25
- package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +0 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/ListThesauriCommand.js +0 -25
- package/dist-cjs/commands/PutPrincipalMappingCommand.js +0 -38
- package/dist-cjs/commands/QueryCommand.js +0 -46
- package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +0 -27
- package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +0 -26
- package/dist-cjs/commands/SubmitFeedbackCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -27
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateDataSourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateIndexCommand.js +0 -25
- package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +0 -32
- package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +0 -33
- package/dist-cjs/commands/UpdateThesaurusCommand.js +0 -25
- package/dist-cjs/commands/index.js +46 -0
- package/dist-cjs/endpoints.js +23 -4
- package/dist-cjs/index.js +4 -50
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +15 -544
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDataSourceSyncJobsPaginator.js +0 -11
- package/dist-cjs/pagination/ListDataSourcesPaginator.js +0 -11
- package/dist-cjs/pagination/ListIndicesPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_1.js +29 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Kendra.js +0 -1
- package/dist-es/KendraClient.js +0 -1
- package/dist-es/commands/BatchDeleteDocumentCommand.js +0 -1
- package/dist-es/commands/BatchGetDocumentStatusCommand.js +0 -1
- package/dist-es/commands/BatchPutDocumentCommand.js +0 -1
- package/dist-es/commands/ClearQuerySuggestionsCommand.js +0 -1
- package/dist-es/commands/CreateDataSourceCommand.js +0 -1
- package/dist-es/commands/CreateFaqCommand.js +0 -1
- package/dist-es/commands/CreateIndexCommand.js +0 -1
- package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +0 -1
- package/dist-es/commands/CreateThesaurusCommand.js +0 -1
- package/dist-es/commands/DeleteDataSourceCommand.js +0 -1
- package/dist-es/commands/DeleteFaqCommand.js +0 -1
- package/dist-es/commands/DeleteIndexCommand.js +0 -1
- package/dist-es/commands/DeletePrincipalMappingCommand.js +0 -1
- package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +0 -1
- package/dist-es/commands/DeleteThesaurusCommand.js +0 -1
- package/dist-es/commands/DescribeDataSourceCommand.js +0 -1
- package/dist-es/commands/DescribeFaqCommand.js +0 -1
- package/dist-es/commands/DescribeIndexCommand.js +0 -1
- package/dist-es/commands/DescribePrincipalMappingCommand.js +0 -1
- package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +0 -1
- package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +0 -1
- package/dist-es/commands/DescribeThesaurusCommand.js +0 -1
- package/dist-es/commands/GetQuerySuggestionsCommand.js +0 -1
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +0 -1
- package/dist-es/commands/ListDataSourcesCommand.js +0 -1
- package/dist-es/commands/ListFaqsCommand.js +0 -1
- package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +0 -1
- package/dist-es/commands/ListIndicesCommand.js +0 -1
- package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListThesauriCommand.js +0 -1
- package/dist-es/commands/PutPrincipalMappingCommand.js +0 -1
- package/dist-es/commands/QueryCommand.js +0 -1
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +0 -1
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +0 -1
- package/dist-es/commands/SubmitFeedbackCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateDataSourceCommand.js +0 -1
- package/dist-es/commands/UpdateIndexCommand.js +0 -1
- package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +0 -1
- package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +0 -1
- package/dist-es/commands/UpdateThesaurusCommand.js +0 -1
- package/dist-es/commands/index.js +43 -0
- package/dist-es/endpoints.js +23 -4
- package/dist-es/index.js +4 -50
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +10 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +0 -1
- package/dist-es/pagination/ListDataSourcesPaginator.js +0 -1
- package/dist-es/pagination/ListIndicesPaginator.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +31 -10
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/Kendra.d.ts +7 -6
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -4
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +4 -2
- package/dist-types/commands/index.d.ts +43 -0
- package/dist-types/index.d.ts +4 -49
- package/dist-types/models/models_0.d.ts +167 -42
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/Kendra.d.ts +44 -279
- package/dist-types/ts3.4/KendraClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/BatchGetDocumentStatusCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ClearQuerySuggestionsCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateFaqCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateQuerySuggestionsBlockListCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateThesaurusCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteFaqCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeletePrincipalMappingCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteThesaurusCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeDataSourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeFaqCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeIndexCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePrincipalMappingCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeQuerySuggestionsConfigCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeThesaurusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFaqsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListQuerySuggestionsBlockListsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListThesauriCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutPrincipalMappingCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +43 -0
- package/dist-types/ts3.4/index.d.ts +4 -49
- package/dist-types/ts3.4/models/models_0.d.ts +959 -4225
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Kendra.js.map +0 -1
- package/dist-cjs/KendraClient.js.map +0 -1
- package/dist-cjs/commands/BatchDeleteDocumentCommand.js.map +0 -1
- package/dist-cjs/commands/BatchGetDocumentStatusCommand.js.map +0 -1
- package/dist-cjs/commands/BatchPutDocumentCommand.js.map +0 -1
- package/dist-cjs/commands/ClearQuerySuggestionsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFaqCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIndexCommand.js.map +0 -1
- package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js.map +0 -1
- package/dist-cjs/commands/CreateThesaurusCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFaqCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIndexCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePrincipalMappingCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteThesaurusCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFaqCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeIndexCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePrincipalMappingCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeThesaurusCommand.js.map +0 -1
- package/dist-cjs/commands/GetQuerySuggestionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDataSourcesCommand.js.map +0 -1
- package/dist-cjs/commands/ListFaqsCommand.js.map +0 -1
- package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js.map +0 -1
- package/dist-cjs/commands/ListIndicesCommand.js.map +0 -1
- package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListThesauriCommand.js.map +0 -1
- package/dist-cjs/commands/PutPrincipalMappingCommand.js.map +0 -1
- package/dist-cjs/commands/QueryCommand.js.map +0 -1
- package/dist-cjs/commands/StartDataSourceSyncJobCommand.js.map +0 -1
- package/dist-cjs/commands/StopDataSourceSyncJobCommand.js.map +0 -1
- package/dist-cjs/commands/SubmitFeedbackCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateIndexCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateThesaurusCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListDataSourceSyncJobsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDataSourcesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListIndicesPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Kendra.js.map +0 -1
- package/dist-es/KendraClient.js.map +0 -1
- package/dist-es/commands/BatchDeleteDocumentCommand.js.map +0 -1
- package/dist-es/commands/BatchGetDocumentStatusCommand.js.map +0 -1
- package/dist-es/commands/BatchPutDocumentCommand.js.map +0 -1
- package/dist-es/commands/ClearQuerySuggestionsCommand.js.map +0 -1
- package/dist-es/commands/CreateDataSourceCommand.js.map +0 -1
- package/dist-es/commands/CreateFaqCommand.js.map +0 -1
- package/dist-es/commands/CreateIndexCommand.js.map +0 -1
- package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js.map +0 -1
- package/dist-es/commands/CreateThesaurusCommand.js.map +0 -1
- package/dist-es/commands/DeleteDataSourceCommand.js.map +0 -1
- package/dist-es/commands/DeleteFaqCommand.js.map +0 -1
- package/dist-es/commands/DeleteIndexCommand.js.map +0 -1
- package/dist-es/commands/DeletePrincipalMappingCommand.js.map +0 -1
- package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js.map +0 -1
- package/dist-es/commands/DeleteThesaurusCommand.js.map +0 -1
- package/dist-es/commands/DescribeDataSourceCommand.js.map +0 -1
- package/dist-es/commands/DescribeFaqCommand.js.map +0 -1
- package/dist-es/commands/DescribeIndexCommand.js.map +0 -1
- package/dist-es/commands/DescribePrincipalMappingCommand.js.map +0 -1
- package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js.map +0 -1
- package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js.map +0 -1
- package/dist-es/commands/DescribeThesaurusCommand.js.map +0 -1
- package/dist-es/commands/GetQuerySuggestionsCommand.js.map +0 -1
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js.map +0 -1
- package/dist-es/commands/ListDataSourcesCommand.js.map +0 -1
- package/dist-es/commands/ListFaqsCommand.js.map +0 -1
- package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js.map +0 -1
- package/dist-es/commands/ListIndicesCommand.js.map +0 -1
- package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListThesauriCommand.js.map +0 -1
- package/dist-es/commands/PutPrincipalMappingCommand.js.map +0 -1
- package/dist-es/commands/QueryCommand.js.map +0 -1
- package/dist-es/commands/StartDataSourceSyncJobCommand.js.map +0 -1
- package/dist-es/commands/StopDataSourceSyncJobCommand.js.map +0 -1
- package/dist-es/commands/SubmitFeedbackCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDataSourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateIndexCommand.js.map +0 -1
- package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js.map +0 -1
- package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js.map +0 -1
- package/dist-es/commands/UpdateThesaurusCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDataSourcesPaginator.js.map +0 -1
- package/dist-es/pagination/ListIndicesPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Kendra.ts +0 -1643
- package/src/KendraClient.ts +0 -422
- package/src/commands/BatchDeleteDocumentCommand.ts +0 -99
- package/src/commands/BatchGetDocumentStatusCommand.ts +0 -107
- package/src/commands/BatchPutDocumentCommand.ts +0 -103
- package/src/commands/ClearQuerySuggestionsCommand.ts +0 -101
- package/src/commands/CreateDataSourceCommand.ts +0 -103
- package/src/commands/CreateFaqCommand.ts +0 -92
- package/src/commands/CreateIndexCommand.ts +0 -102
- package/src/commands/CreateQuerySuggestionsBlockListCommand.ts +0 -111
- package/src/commands/CreateThesaurusCommand.ts +0 -96
- package/src/commands/DeleteDataSourceCommand.ts +0 -99
- package/src/commands/DeleteFaqCommand.ts +0 -92
- package/src/commands/DeleteIndexCommand.ts +0 -99
- package/src/commands/DeletePrincipalMappingCommand.ts +0 -106
- package/src/commands/DeleteQuerySuggestionsBlockListCommand.ts +0 -104
- package/src/commands/DeleteThesaurusCommand.ts +0 -96
- package/src/commands/DescribeDataSourceCommand.ts +0 -95
- package/src/commands/DescribeFaqCommand.ts +0 -95
- package/src/commands/DescribeIndexCommand.ts +0 -95
- package/src/commands/DescribePrincipalMappingCommand.ts +0 -100
- package/src/commands/DescribeQuerySuggestionsBlockListCommand.ts +0 -108
- package/src/commands/DescribeQuerySuggestionsConfigCommand.ts +0 -105
- package/src/commands/DescribeThesaurusCommand.ts +0 -95
- package/src/commands/GetQuerySuggestionsCommand.ts +0 -95
- package/src/commands/ListDataSourceSyncJobsCommand.ts +0 -96
- package/src/commands/ListDataSourcesCommand.ts +0 -95
- package/src/commands/ListFaqsCommand.ts +0 -88
- package/src/commands/ListGroupsOlderThanOrderingIdCommand.ts +0 -101
- package/src/commands/ListIndicesCommand.ts +0 -95
- package/src/commands/ListQuerySuggestionsBlockListsCommand.ts +0 -106
- package/src/commands/ListTagsForResourceCommand.ts +0 -96
- package/src/commands/ListThesauriCommand.ts +0 -95
- package/src/commands/PutPrincipalMappingCommand.ts +0 -108
- package/src/commands/QueryCommand.ts +0 -109
- package/src/commands/StartDataSourceSyncJobCommand.ts +0 -97
- package/src/commands/StopDataSourceSyncJobCommand.ts +0 -96
- package/src/commands/SubmitFeedbackCommand.ts +0 -96
- package/src/commands/TagResourceCommand.ts +0 -97
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateDataSourceCommand.ts +0 -95
- package/src/commands/UpdateIndexCommand.ts +0 -95
- package/src/commands/UpdateQuerySuggestionsBlockListCommand.ts +0 -108
- package/src/commands/UpdateQuerySuggestionsConfigCommand.ts +0 -106
- package/src/commands/UpdateThesaurusCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -50
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -7376
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListDataSourceSyncJobsPaginator.ts +0 -59
- package/src/pagination/ListDataSourcesPaginator.ts +0 -59
- package/src/pagination/ListIndicesPaginator.ts +0 -55
- package/src/protocols/Aws_json1_1.ts +0 -9632
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -2391,6 +2391,9 @@ export declare namespace SiteMapsConfiguration {
|
|
|
2391
2391
|
}
|
|
2392
2392
|
/**
|
|
2393
2393
|
* <p>Provides the configuration information of the URLs to crawl.</p>
|
|
2394
|
+
* <p>You can only crawl websites that use the secure communication protocol,
|
|
2395
|
+
* Hypertext Transfer Protocol Secure (HTTPS). If you receive an error when
|
|
2396
|
+
* crawling a website, it could be that the website is blocked from crawling.</p>
|
|
2394
2397
|
* <p>
|
|
2395
2398
|
* <i>When selecting websites to index, you must adhere to
|
|
2396
2399
|
* the <a href="https://aws.amazon.com/aup/">Amazon Acceptable Use Policy</a>
|
|
@@ -2432,6 +2435,9 @@ export interface WebCrawlerConfiguration {
|
|
|
2432
2435
|
* websites or the sitemap URLs of the websites you want to crawl.</p>
|
|
2433
2436
|
* <p>You can include website subdomains. You can list up to 100 seed
|
|
2434
2437
|
* URLs and up to three sitemap URLs.</p>
|
|
2438
|
+
* <p>You can only crawl websites that use the secure communication protocol,
|
|
2439
|
+
* Hypertext Transfer Protocol Secure (HTTPS). If you receive an error when
|
|
2440
|
+
* crawling a website, it could be that the website is blocked from crawling.</p>
|
|
2435
2441
|
* <p>
|
|
2436
2442
|
* <i>When selecting websites to index, you must adhere to
|
|
2437
2443
|
* the <a href="https://aws.amazon.com/aup/">Amazon Acceptable Use Policy</a>
|
|
@@ -2744,6 +2750,14 @@ export interface CreateDataSourceRequest {
|
|
|
2744
2750
|
* the same client token will create only one data source.</p>
|
|
2745
2751
|
*/
|
|
2746
2752
|
ClientToken?: string;
|
|
2753
|
+
/**
|
|
2754
|
+
* <p>The code for a language. This allows you to support a language for all
|
|
2755
|
+
* documents when creating the data source. English is supported
|
|
2756
|
+
* by default. For more information on supported languages, including their codes,
|
|
2757
|
+
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html">Adding
|
|
2758
|
+
* documents in languages other than English</a>.</p>
|
|
2759
|
+
*/
|
|
2760
|
+
LanguageCode?: string;
|
|
2747
2761
|
}
|
|
2748
2762
|
export declare namespace CreateDataSourceRequest {
|
|
2749
2763
|
/**
|
|
@@ -2825,6 +2839,14 @@ export interface CreateFaqRequest {
|
|
|
2825
2839
|
* one FAQ. </p>
|
|
2826
2840
|
*/
|
|
2827
2841
|
ClientToken?: string;
|
|
2842
|
+
/**
|
|
2843
|
+
* <p>The code for a language. This allows you to support a language
|
|
2844
|
+
* for the FAQ document. English is supported by default.
|
|
2845
|
+
* For more information on supported languages, including their codes,
|
|
2846
|
+
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html">Adding
|
|
2847
|
+
* documents in languages other than English</a>.</p>
|
|
2848
|
+
*/
|
|
2849
|
+
LanguageCode?: string;
|
|
2828
2850
|
}
|
|
2829
2851
|
export declare namespace CreateFaqRequest {
|
|
2830
2852
|
/**
|
|
@@ -2870,6 +2892,41 @@ export declare enum UserContextPolicy {
|
|
|
2870
2892
|
ATTRIBUTE_FILTER = "ATTRIBUTE_FILTER",
|
|
2871
2893
|
USER_TOKEN = "USER_TOKEN"
|
|
2872
2894
|
}
|
|
2895
|
+
export declare enum UserGroupResolutionMode {
|
|
2896
|
+
AWS_SSO = "AWS_SSO",
|
|
2897
|
+
NONE = "NONE"
|
|
2898
|
+
}
|
|
2899
|
+
/**
|
|
2900
|
+
* <p>Provides the configuration information to fetch access levels
|
|
2901
|
+
* of groups and users from an AWS Single Sign-On identity
|
|
2902
|
+
* source. This is useful for setting up user context filtering, where
|
|
2903
|
+
* Amazon Kendra filters search results for different users based on their
|
|
2904
|
+
* group's access to documents. You can also map your users to their
|
|
2905
|
+
* groups for user context filtering using the
|
|
2906
|
+
* <a href="https://docs.aws.amazon.com/latest/dg/API_PutPrincipalMapping.html">PutPrincipalMapping
|
|
2907
|
+
* operation</a>.</p>
|
|
2908
|
+
* <p>To set up an AWS SSO identity source in the console to use with
|
|
2909
|
+
* Amazon Kendra, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/getting-started-aws-sso.html">Getting started
|
|
2910
|
+
* with an AWS SSO identity source</a>. You must also grant the required
|
|
2911
|
+
* permissions to use AWS SSO with Amazon Kendra. For more information, see
|
|
2912
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html#iam-roles-aws-sso">IAM roles for
|
|
2913
|
+
* AWS Single Sign-On</a>.</p>
|
|
2914
|
+
*/
|
|
2915
|
+
export interface UserGroupResolutionConfiguration {
|
|
2916
|
+
/**
|
|
2917
|
+
* <p>The identity store provider (mode) you want to use to fetch access levels of groups and
|
|
2918
|
+
* users. AWS Single Sign-On is currently the only available mode. Your users and groups
|
|
2919
|
+
* must
|
|
2920
|
+
* exist in an AWS SSO identity source in order to use this mode.</p>
|
|
2921
|
+
*/
|
|
2922
|
+
UserGroupResolutionMode: UserGroupResolutionMode | string | undefined;
|
|
2923
|
+
}
|
|
2924
|
+
export declare namespace UserGroupResolutionConfiguration {
|
|
2925
|
+
/**
|
|
2926
|
+
* @internal
|
|
2927
|
+
*/
|
|
2928
|
+
const filterSensitiveLog: (obj: UserGroupResolutionConfiguration) => any;
|
|
2929
|
+
}
|
|
2873
2930
|
/**
|
|
2874
2931
|
* <p>Configuration information for the JSON token type.</p>
|
|
2875
2932
|
*/
|
|
@@ -3008,21 +3065,29 @@ export interface CreateIndexRequest {
|
|
|
3008
3065
|
* <dt>ATTRIBUTE_FILTER</dt>
|
|
3009
3066
|
* <dd>
|
|
3010
3067
|
* <p>All indexed content is searchable and displayable
|
|
3011
|
-
* for all users. If
|
|
3012
|
-
*
|
|
3068
|
+
* for all users. If you want to filter search results on
|
|
3069
|
+
* user context, you can use the attribute filters of
|
|
3070
|
+
* <code>_user_id</code> and <code>_group_ids</code> or
|
|
3071
|
+
* you can provide user and group information in <code>UserContext</code>.
|
|
3013
3072
|
* </p>
|
|
3014
3073
|
* </dd>
|
|
3015
3074
|
* <dt>USER_TOKEN</dt>
|
|
3016
3075
|
* <dd>
|
|
3017
|
-
* <p>Enables
|
|
3018
|
-
*
|
|
3019
|
-
*
|
|
3020
|
-
*
|
|
3076
|
+
* <p>Enables token-based user access control to filter
|
|
3077
|
+
* search results on user context. All documents with no
|
|
3078
|
+
* access control and all documents accessible to the user
|
|
3079
|
+
* will be searchable and displayable.
|
|
3021
3080
|
* </p>
|
|
3022
3081
|
* </dd>
|
|
3023
3082
|
* </dl>
|
|
3024
3083
|
*/
|
|
3025
3084
|
UserContextPolicy?: UserContextPolicy | string;
|
|
3085
|
+
/**
|
|
3086
|
+
* <p>Enables fetching access levels of groups and users from an AWS Single Sign-On
|
|
3087
|
+
* identity source. To configure this, see
|
|
3088
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_UserGroupResolutionConfiguration.html">UserGroupResolutionConfiguration</a>.</p>
|
|
3089
|
+
*/
|
|
3090
|
+
UserGroupResolutionConfiguration?: UserGroupResolutionConfiguration;
|
|
3026
3091
|
}
|
|
3027
3092
|
export declare namespace CreateIndexRequest {
|
|
3028
3093
|
/**
|
|
@@ -3142,7 +3207,7 @@ export interface CreateThesaurusRequest {
|
|
|
3142
3207
|
/**
|
|
3143
3208
|
* <p>A token that you provide to identify the request to create a
|
|
3144
3209
|
* thesaurus. Multiple calls to the <code>CreateThesaurus</code> operation
|
|
3145
|
-
* with the same client token will create only one
|
|
3210
|
+
* with the same client token will create only one thesaurus.
|
|
3146
3211
|
* </p>
|
|
3147
3212
|
*/
|
|
3148
3213
|
ClientToken?: string;
|
|
@@ -3368,6 +3433,14 @@ export interface DescribeDataSourceResponse {
|
|
|
3368
3433
|
* caused the data source to fail.</p>
|
|
3369
3434
|
*/
|
|
3370
3435
|
ErrorMessage?: string;
|
|
3436
|
+
/**
|
|
3437
|
+
* <p>The code for a language. This shows a supported language for all
|
|
3438
|
+
* documents in the data source. English is supported by
|
|
3439
|
+
* default. For more information on supported languages, including their codes,
|
|
3440
|
+
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html">Adding
|
|
3441
|
+
* documents in languages other than English</a>.</p>
|
|
3442
|
+
*/
|
|
3443
|
+
LanguageCode?: string;
|
|
3371
3444
|
}
|
|
3372
3445
|
export declare namespace DescribeDataSourceResponse {
|
|
3373
3446
|
/**
|
|
@@ -3447,6 +3520,14 @@ export interface DescribeFaqResponse {
|
|
|
3447
3520
|
* <p>The file format used by the input files for the FAQ.</p>
|
|
3448
3521
|
*/
|
|
3449
3522
|
FileFormat?: FaqFileFormat | string;
|
|
3523
|
+
/**
|
|
3524
|
+
* <p>The code for a language. This shows a supported language
|
|
3525
|
+
* for the FAQ document. English is supported by default.
|
|
3526
|
+
* For more information on supported languages, including their codes,
|
|
3527
|
+
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html">Adding
|
|
3528
|
+
* documents in languages other than English</a>.</p>
|
|
3529
|
+
*/
|
|
3530
|
+
LanguageCode?: string;
|
|
3450
3531
|
}
|
|
3451
3532
|
export declare namespace DescribeFaqResponse {
|
|
3452
3533
|
/**
|
|
@@ -3788,6 +3869,11 @@ export interface DescribeIndexResponse {
|
|
|
3788
3869
|
* <p>The user context policy for the Amazon Kendra index.</p>
|
|
3789
3870
|
*/
|
|
3790
3871
|
UserContextPolicy?: UserContextPolicy | string;
|
|
3872
|
+
/**
|
|
3873
|
+
* <p>Shows whether you have enabled the configuration for fetching access
|
|
3874
|
+
* levels of groups and users from an AWS Single Sign-On identity source.</p>
|
|
3875
|
+
*/
|
|
3876
|
+
UserGroupResolutionConfiguration?: UserGroupResolutionConfiguration;
|
|
3791
3877
|
}
|
|
3792
3878
|
export declare namespace DescribeIndexResponse {
|
|
3793
3879
|
/**
|
|
@@ -3973,7 +4059,7 @@ export interface DescribeQuerySuggestionsBlockListResponse {
|
|
|
3973
4059
|
*/
|
|
3974
4060
|
ErrorMessage?: string;
|
|
3975
4061
|
/**
|
|
3976
|
-
* <p>Shows the date-time a block list for query suggestions was
|
|
4062
|
+
* <p>Shows the date-time a block list for query suggestions was created.</p>
|
|
3977
4063
|
*/
|
|
3978
4064
|
CreatedAt?: Date;
|
|
3979
4065
|
/**
|
|
@@ -4368,6 +4454,14 @@ export interface DataSourceSummary {
|
|
|
4368
4454
|
* <code>ACTIVE</code> the data source is ready to use.</p>
|
|
4369
4455
|
*/
|
|
4370
4456
|
Status?: DataSourceStatus | string;
|
|
4457
|
+
/**
|
|
4458
|
+
* <p>The code for a language. This shows a supported language for all documents
|
|
4459
|
+
* in the data source. English is supported by default.
|
|
4460
|
+
* For more information on supported languages, including their codes,
|
|
4461
|
+
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html">Adding
|
|
4462
|
+
* documents in languages other than English</a>.</p>
|
|
4463
|
+
*/
|
|
4464
|
+
LanguageCode?: string;
|
|
4371
4465
|
}
|
|
4372
4466
|
export declare namespace DataSourceSummary {
|
|
4373
4467
|
/**
|
|
@@ -4431,9 +4525,9 @@ export interface ListDataSourceSyncJobsRequest {
|
|
|
4431
4525
|
*/
|
|
4432
4526
|
IndexId: string | undefined;
|
|
4433
4527
|
/**
|
|
4434
|
-
* <p>If the
|
|
4435
|
-
*
|
|
4436
|
-
*
|
|
4528
|
+
* <p>If the previous response was incomplete (because there is more data to retrieve),
|
|
4529
|
+
* Amazon Kendra returns a pagination token in the response. You can use this pagination token
|
|
4530
|
+
* to retrieve the next set of jobs.</p>
|
|
4437
4531
|
*/
|
|
4438
4532
|
NextToken?: string;
|
|
4439
4533
|
/**
|
|
@@ -4560,12 +4654,8 @@ export interface ListDataSourceSyncJobsResponse {
|
|
|
4560
4654
|
*/
|
|
4561
4655
|
History?: DataSourceSyncJob[];
|
|
4562
4656
|
/**
|
|
4563
|
-
* <p>
|
|
4564
|
-
*
|
|
4565
|
-
* <code>MaxResults</code> parameter. If there are more jobs in the list
|
|
4566
|
-
* than the page size, Amazon Kendra returns the NextPage token. Include the
|
|
4567
|
-
* token in the next request to the <code>GetDataSourceSyncJobHistory</code>
|
|
4568
|
-
* operation to return in the next page of jobs.</p>
|
|
4657
|
+
* <p>If the response is truncated, Amazon Kendra returns this token that you
|
|
4658
|
+
* can use in the subsequent request to retrieve the next set of jobs.</p>
|
|
4569
4659
|
*/
|
|
4570
4660
|
NextToken?: string;
|
|
4571
4661
|
}
|
|
@@ -4581,8 +4671,9 @@ export interface ListFaqsRequest {
|
|
|
4581
4671
|
*/
|
|
4582
4672
|
IndexId: string | undefined;
|
|
4583
4673
|
/**
|
|
4584
|
-
* <p>If the
|
|
4585
|
-
*
|
|
4674
|
+
* <p>If the previous response was incomplete (because there is more data to retrieve),
|
|
4675
|
+
* Amazon Kendra returns a pagination token in the response. You can use this pagination token
|
|
4676
|
+
* to retrieve the next set of FAQs.</p>
|
|
4586
4677
|
*/
|
|
4587
4678
|
NextToken?: string;
|
|
4588
4679
|
/**
|
|
@@ -4628,6 +4719,14 @@ export interface FaqSummary {
|
|
|
4628
4719
|
* <p>The file type used to create the FAQ. </p>
|
|
4629
4720
|
*/
|
|
4630
4721
|
FileFormat?: FaqFileFormat | string;
|
|
4722
|
+
/**
|
|
4723
|
+
* <p>The code for a language. This shows a supported language for the FAQ document
|
|
4724
|
+
* as part of the summary information for FAQs. English is supported by default.
|
|
4725
|
+
* For more information on supported languages, including their codes,
|
|
4726
|
+
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html">Adding
|
|
4727
|
+
* documents in languages other than English</a>.</p>
|
|
4728
|
+
*/
|
|
4729
|
+
LanguageCode?: string;
|
|
4631
4730
|
}
|
|
4632
4731
|
export declare namespace FaqSummary {
|
|
4633
4732
|
/**
|
|
@@ -4637,11 +4736,8 @@ export declare namespace FaqSummary {
|
|
|
4637
4736
|
}
|
|
4638
4737
|
export interface ListFaqsResponse {
|
|
4639
4738
|
/**
|
|
4640
|
-
* <p>
|
|
4641
|
-
*
|
|
4642
|
-
* the list than the page size, Amazon Kendra returns the <code>NextPage</code> token.
|
|
4643
|
-
* Include the token in the next request to the <code>ListFaqs</code> operation to return
|
|
4644
|
-
* the next page of FAQs.</p>
|
|
4739
|
+
* <p>If the response is truncated, Amazon Kendra returns this token that you can use
|
|
4740
|
+
* in the subsequent request to retrieve the next set of FAQs.</p>
|
|
4645
4741
|
*/
|
|
4646
4742
|
NextToken?: string;
|
|
4647
4743
|
/**
|
|
@@ -4673,13 +4769,16 @@ export interface ListGroupsOlderThanOrderingIdRequest {
|
|
|
4673
4769
|
OrderingId: number | undefined;
|
|
4674
4770
|
/**
|
|
4675
4771
|
* <p>
|
|
4676
|
-
*
|
|
4772
|
+
* If the previous response was incomplete (because there is more data to retrieve),
|
|
4773
|
+
* Amazon Kendra returns a pagination token in the response. You can use this pagination
|
|
4774
|
+
* token to retrieve the next set of groups that are mapped to users before a
|
|
4775
|
+
* given ordering or timestamp identifier.
|
|
4677
4776
|
* </p>
|
|
4678
4777
|
*/
|
|
4679
4778
|
NextToken?: string;
|
|
4680
4779
|
/**
|
|
4681
4780
|
* <p>
|
|
4682
|
-
* The maximum
|
|
4781
|
+
* The maximum number of returned groups that are mapped to users before a
|
|
4683
4782
|
* given ordering or timestamp identifier.
|
|
4684
4783
|
* </p>
|
|
4685
4784
|
*/
|
|
@@ -4727,7 +4826,9 @@ export interface ListGroupsOlderThanOrderingIdResponse {
|
|
|
4727
4826
|
GroupsSummaries?: GroupSummary[];
|
|
4728
4827
|
/**
|
|
4729
4828
|
* <p>
|
|
4730
|
-
*
|
|
4829
|
+
* If the response is truncated, Amazon Kendra returns this token that you can use
|
|
4830
|
+
* in the subsequent request to retrieve the next set of groups that are
|
|
4831
|
+
* mapped to users before a given ordering or timestamp identifier.
|
|
4731
4832
|
* </p>
|
|
4732
4833
|
*/
|
|
4733
4834
|
NextToken?: string;
|
|
@@ -4970,7 +5071,7 @@ export declare namespace ListThesauriRequest {
|
|
|
4970
5071
|
const filterSensitiveLog: (obj: ListThesauriRequest) => any;
|
|
4971
5072
|
}
|
|
4972
5073
|
/**
|
|
4973
|
-
* <p>An array of summary information for
|
|
5074
|
+
* <p>An array of summary information for a thesaurus or multiple thesauri.</p>
|
|
4974
5075
|
*/
|
|
4975
5076
|
export interface ThesaurusSummary {
|
|
4976
5077
|
/**
|
|
@@ -5009,7 +5110,7 @@ export interface ListThesauriResponse {
|
|
|
5009
5110
|
*/
|
|
5010
5111
|
NextToken?: string;
|
|
5011
5112
|
/**
|
|
5012
|
-
* <p>An array of summary information for
|
|
5113
|
+
* <p>An array of summary information for a thesaurus or multiple thesauri.</p>
|
|
5013
5114
|
*/
|
|
5014
5115
|
ThesaurusSummaryItems?: ThesaurusSummary[];
|
|
5015
5116
|
}
|
|
@@ -5077,6 +5178,12 @@ export interface GroupMembers {
|
|
|
5077
5178
|
* groups for a group. Your sub groups can contain more than 1000 users, but
|
|
5078
5179
|
* the list of sub groups that belong to a group (and/or users) must be no
|
|
5079
5180
|
* more than 1000.</p>
|
|
5181
|
+
* <p>You can download this
|
|
5182
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/samples/group_members.zip">example
|
|
5183
|
+
* S3 file</a> that uses the correct format for listing group members. Note,
|
|
5184
|
+
* <code>dataSourceId</code> is optional. The value of <code>type</code>
|
|
5185
|
+
* for a group is always <code>GROUP</code> and for a user it is
|
|
5186
|
+
* always <code>USER</code>.</p>
|
|
5080
5187
|
*/
|
|
5081
5188
|
S3PathforGroupMembers?: S3Path;
|
|
5082
5189
|
}
|
|
@@ -5283,7 +5390,9 @@ export declare namespace DataSourceGroup {
|
|
|
5283
5390
|
const filterSensitiveLog: (obj: DataSourceGroup) => any;
|
|
5284
5391
|
}
|
|
5285
5392
|
/**
|
|
5286
|
-
* <p>Provides information about the user context for
|
|
5393
|
+
* <p>Provides information about the user context for
|
|
5394
|
+
* an
|
|
5395
|
+
* Amazon Kendra index.</p>
|
|
5287
5396
|
* <p>This is used for filtering search results for different users based on their access
|
|
5288
5397
|
* to documents.</p>
|
|
5289
5398
|
* <p>You provide one of the following:</p>
|
|
@@ -5292,8 +5401,8 @@ export declare namespace DataSourceGroup {
|
|
|
5292
5401
|
* <p>User token</p>
|
|
5293
5402
|
* </li>
|
|
5294
5403
|
* <li>
|
|
5295
|
-
* <p>User ID, the groups the user belongs to, and
|
|
5296
|
-
*
|
|
5404
|
+
* <p>User ID, the groups the user belongs to, and any data sources the groups can
|
|
5405
|
+
* access.</p>
|
|
5297
5406
|
* </li>
|
|
5298
5407
|
* </ul>
|
|
5299
5408
|
* <p>If you provide both, an exception is thrown.</p>
|
|
@@ -5378,6 +5487,7 @@ export declare enum ScoreConfidence {
|
|
|
5378
5487
|
HIGH = "HIGH",
|
|
5379
5488
|
LOW = "LOW",
|
|
5380
5489
|
MEDIUM = "MEDIUM",
|
|
5490
|
+
NOT_AVAILABLE = "NOT_AVAILABLE",
|
|
5381
5491
|
VERY_HIGH = "VERY_HIGH"
|
|
5382
5492
|
}
|
|
5383
5493
|
/**
|
|
@@ -5719,6 +5829,14 @@ export interface UpdateDataSourceRequest {
|
|
|
5719
5829
|
* source is accessing resources on your behalf.</p>
|
|
5720
5830
|
*/
|
|
5721
5831
|
RoleArn?: string;
|
|
5832
|
+
/**
|
|
5833
|
+
* <p>The code for a language. This allows you to support a language for all
|
|
5834
|
+
* documents when updating the data source. English is supported
|
|
5835
|
+
* by default. For more information on supported languages, including their codes,
|
|
5836
|
+
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html">Adding
|
|
5837
|
+
* documents in languages other than English</a>.</p>
|
|
5838
|
+
*/
|
|
5839
|
+
LanguageCode?: string;
|
|
5722
5840
|
}
|
|
5723
5841
|
export declare namespace UpdateDataSourceRequest {
|
|
5724
5842
|
/**
|
|
@@ -5762,9 +5880,15 @@ export interface UpdateIndexRequest {
|
|
|
5762
5880
|
*/
|
|
5763
5881
|
UserTokenConfigurations?: UserTokenConfiguration[];
|
|
5764
5882
|
/**
|
|
5765
|
-
* <p>The user
|
|
5883
|
+
* <p>The user context policy.</p>
|
|
5766
5884
|
*/
|
|
5767
5885
|
UserContextPolicy?: UserContextPolicy | string;
|
|
5886
|
+
/**
|
|
5887
|
+
* <p>Enables fetching access levels of groups and users from an AWS Single Sign-On
|
|
5888
|
+
* identity source. To configure this, see
|
|
5889
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_UserGroupResolutionConfiguration.html">UserGroupResolutionConfiguration</a>.</p>
|
|
5890
|
+
*/
|
|
5891
|
+
UserGroupResolutionConfiguration?: UserGroupResolutionConfiguration;
|
|
5768
5892
|
}
|
|
5769
5893
|
export declare namespace UpdateIndexRequest {
|
|
5770
5894
|
/**
|
|
@@ -5929,10 +6053,11 @@ export declare namespace UpdateThesaurusRequest {
|
|
|
5929
6053
|
* </ol>
|
|
5930
6054
|
* <p>If you use more than 2 layers, you receive a
|
|
5931
6055
|
* <code>ValidationException</code> exception with the message
|
|
5932
|
-
* "<code>AttributeFilter</code> cannot have a depth of more
|
|
5933
|
-
* 2."</p>
|
|
5934
|
-
* <p>If you use more than 10 attribute filters
|
|
5935
|
-
* <code>
|
|
6056
|
+
* "<code>AttributeFilter</code> cannot have a depth of more
|
|
6057
|
+
* than 2."</p>
|
|
6058
|
+
* <p>If you use more than 10 attribute filters in a given list for
|
|
6059
|
+
* <code>AndAllFilters</code> or <code>OrAllFilters</code>, you receive
|
|
6060
|
+
* a <code>ValidationException</code> with the message
|
|
5936
6061
|
* "<code>AttributeFilter</code> cannot have a length of more than 10".</p>
|
|
5937
6062
|
*/
|
|
5938
6063
|
export interface AttributeFilter {
|
|
@@ -5969,25 +6094,25 @@ export interface AttributeFilter {
|
|
|
5969
6094
|
ContainsAny?: DocumentAttribute;
|
|
5970
6095
|
/**
|
|
5971
6096
|
* <p>Performs a greater than operation on two document attributes. Use
|
|
5972
|
-
* with a document attribute of type <code>
|
|
6097
|
+
* with a document attribute of type <code>Date</code> or
|
|
5973
6098
|
* <code>Long</code>.</p>
|
|
5974
6099
|
*/
|
|
5975
6100
|
GreaterThan?: DocumentAttribute;
|
|
5976
6101
|
/**
|
|
5977
6102
|
* <p>Performs a greater or equals than operation on two document
|
|
5978
|
-
* attributes. Use with a document attribute of type <code>
|
|
6103
|
+
* attributes. Use with a document attribute of type <code>Date</code>
|
|
5979
6104
|
* or <code>Long</code>.</p>
|
|
5980
6105
|
*/
|
|
5981
6106
|
GreaterThanOrEquals?: DocumentAttribute;
|
|
5982
6107
|
/**
|
|
5983
6108
|
* <p>Performs a less than operation on two document attributes. Use with
|
|
5984
|
-
* a document attribute of type <code>
|
|
6109
|
+
* a document attribute of type <code>Date</code> or
|
|
5985
6110
|
* <code>Long</code>.</p>
|
|
5986
6111
|
*/
|
|
5987
6112
|
LessThan?: DocumentAttribute;
|
|
5988
6113
|
/**
|
|
5989
6114
|
* <p>Performs a less than or equals operation on two document attributes.
|
|
5990
|
-
* Use with a document attribute of type <code>
|
|
6115
|
+
* Use with a document attribute of type <code>Date</code> or
|
|
5991
6116
|
* <code>Long</code>.</p>
|
|
5992
6117
|
*/
|
|
5993
6118
|
LessThanOrEquals?: DocumentAttribute;
|
|
@@ -6072,7 +6197,7 @@ export interface QueryRequest {
|
|
|
6072
6197
|
*/
|
|
6073
6198
|
SortingConfiguration?: SortingConfiguration;
|
|
6074
6199
|
/**
|
|
6075
|
-
* <p>The user context token.</p>
|
|
6200
|
+
* <p>The user context token or user and group information.</p>
|
|
6076
6201
|
*/
|
|
6077
6202
|
UserContext?: UserContext;
|
|
6078
6203
|
/**
|