@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
|
@@ -43,412 +43,177 @@ import { UpdateQuerySuggestionsBlockListCommandInput, UpdateQuerySuggestionsBloc
|
|
|
43
43
|
import { UpdateQuerySuggestionsConfigCommandInput, UpdateQuerySuggestionsConfigCommandOutput } from "./commands/UpdateQuerySuggestionsConfigCommand";
|
|
44
44
|
import { UpdateThesaurusCommandInput, UpdateThesaurusCommandOutput } from "./commands/UpdateThesaurusCommand";
|
|
45
45
|
import { KendraClient } from "./KendraClient";
|
|
46
|
-
|
|
47
|
-
* <p>Amazon Kendra is a service for indexing large document sets.</p>
|
|
48
|
-
*/
|
|
46
|
+
|
|
49
47
|
export declare class Kendra extends KendraClient {
|
|
50
|
-
|
|
51
|
-
* <p>Removes one or more documents from an index. The documents must have
|
|
52
|
-
* been added with the <code>BatchPutDocument</code> operation.</p>
|
|
53
|
-
* <p>The documents are deleted asynchronously. You can see the progress of
|
|
54
|
-
* the deletion by using Amazon Web Services CloudWatch. Any error messages related to the
|
|
55
|
-
* processing of the batch are sent to you CloudWatch log.</p>
|
|
56
|
-
*/
|
|
48
|
+
|
|
57
49
|
batchDeleteDocument(args: BatchDeleteDocumentCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteDocumentCommandOutput>;
|
|
58
50
|
batchDeleteDocument(args: BatchDeleteDocumentCommandInput, cb: (err: any, data?: BatchDeleteDocumentCommandOutput) => void): void;
|
|
59
51
|
batchDeleteDocument(args: BatchDeleteDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteDocumentCommandOutput) => void): void;
|
|
60
|
-
|
|
61
|
-
* <p>Returns the indexing status for one or more documents submitted
|
|
62
|
-
* with the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">
|
|
63
|
-
* BatchPutDocument</a> operation.</p>
|
|
64
|
-
* <p>When you use the <code>BatchPutDocument</code> operation,
|
|
65
|
-
* documents are indexed asynchronously. You can use the
|
|
66
|
-
* <code>BatchGetDocumentStatus</code> operation to get the current
|
|
67
|
-
* status of a list of documents so that you can determine if they have
|
|
68
|
-
* been successfully indexed.</p>
|
|
69
|
-
* <p>You can also use the <code>BatchGetDocumentStatus</code> operation
|
|
70
|
-
* to check the status of the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchDeleteDocument.html">
|
|
71
|
-
* BatchDeleteDocument</a> operation. When a document is
|
|
72
|
-
* deleted from the index, Amazon Kendra returns <code>NOT_FOUND</code> as the
|
|
73
|
-
* status.</p>
|
|
74
|
-
*/
|
|
52
|
+
|
|
75
53
|
batchGetDocumentStatus(args: BatchGetDocumentStatusCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetDocumentStatusCommandOutput>;
|
|
76
54
|
batchGetDocumentStatus(args: BatchGetDocumentStatusCommandInput, cb: (err: any, data?: BatchGetDocumentStatusCommandOutput) => void): void;
|
|
77
55
|
batchGetDocumentStatus(args: BatchGetDocumentStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetDocumentStatusCommandOutput) => void): void;
|
|
78
|
-
|
|
79
|
-
* <p>Adds one or more documents to an index.</p>
|
|
80
|
-
* <p>The <code>BatchPutDocument</code> operation enables you to ingest
|
|
81
|
-
* inline documents or a set of documents stored in an Amazon S3 bucket. Use
|
|
82
|
-
* this operation to ingest your text and unstructured text into an index,
|
|
83
|
-
* add custom attributes to the documents, and to attach an access control
|
|
84
|
-
* list to the documents added to the index.</p>
|
|
85
|
-
* <p>The documents are indexed asynchronously. You can see the progress of
|
|
86
|
-
* the batch using Amazon Web Services CloudWatch. Any error messages related to processing
|
|
87
|
-
* the batch are sent to your Amazon Web Services CloudWatch log.</p>
|
|
88
|
-
*/
|
|
56
|
+
|
|
89
57
|
batchPutDocument(args: BatchPutDocumentCommandInput, options?: __HttpHandlerOptions): Promise<BatchPutDocumentCommandOutput>;
|
|
90
58
|
batchPutDocument(args: BatchPutDocumentCommandInput, cb: (err: any, data?: BatchPutDocumentCommandOutput) => void): void;
|
|
91
59
|
batchPutDocument(args: BatchPutDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchPutDocumentCommandOutput) => void): void;
|
|
92
|
-
|
|
93
|
-
* <p>Clears existing query suggestions from an index.</p>
|
|
94
|
-
* <p>This deletes existing suggestions only, not the queries
|
|
95
|
-
* in the query log. After you clear suggestions, Amazon Kendra learns
|
|
96
|
-
* new suggestions based on new queries added to the query log
|
|
97
|
-
* from the time you cleared suggestions. If you do not see any
|
|
98
|
-
* new suggestions, then please allow Amazon Kendra to collect
|
|
99
|
-
* enough queries to learn new suggestions.</p>
|
|
100
|
-
*/
|
|
60
|
+
|
|
101
61
|
clearQuerySuggestions(args: ClearQuerySuggestionsCommandInput, options?: __HttpHandlerOptions): Promise<ClearQuerySuggestionsCommandOutput>;
|
|
102
62
|
clearQuerySuggestions(args: ClearQuerySuggestionsCommandInput, cb: (err: any, data?: ClearQuerySuggestionsCommandOutput) => void): void;
|
|
103
63
|
clearQuerySuggestions(args: ClearQuerySuggestionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ClearQuerySuggestionsCommandOutput) => void): void;
|
|
104
|
-
|
|
105
|
-
* <p>Creates a data source that you use to with an Amazon Kendra index. </p>
|
|
106
|
-
* <p>You specify a name, data source connector type and description for
|
|
107
|
-
* your data source. You also specify configuration information such as
|
|
108
|
-
* document metadata (author, source URI, and so on) and user context
|
|
109
|
-
* information.</p>
|
|
110
|
-
* <p>
|
|
111
|
-
* <code>CreateDataSource</code> is a synchronous operation. The
|
|
112
|
-
* operation returns 200 if the data source was successfully created.
|
|
113
|
-
* Otherwise, an exception is raised.</p>
|
|
114
|
-
*/
|
|
64
|
+
|
|
115
65
|
createDataSource(args: CreateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataSourceCommandOutput>;
|
|
116
66
|
createDataSource(args: CreateDataSourceCommandInput, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
|
|
117
67
|
createDataSource(args: CreateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
|
|
118
|
-
|
|
119
|
-
* <p>Creates an new set of frequently asked question (FAQ) questions and answers.</p>
|
|
120
|
-
*/
|
|
68
|
+
|
|
121
69
|
createFaq(args: CreateFaqCommandInput, options?: __HttpHandlerOptions): Promise<CreateFaqCommandOutput>;
|
|
122
70
|
createFaq(args: CreateFaqCommandInput, cb: (err: any, data?: CreateFaqCommandOutput) => void): void;
|
|
123
71
|
createFaq(args: CreateFaqCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFaqCommandOutput) => void): void;
|
|
124
|
-
|
|
125
|
-
* <p>Creates a new Amazon Kendra index. Index creation is an asynchronous
|
|
126
|
-
* operation. To determine if index creation has completed, check the
|
|
127
|
-
* <code>Status</code> field returned from a call to
|
|
128
|
-
* <code>DescribeIndex</code>. The <code>Status</code> field is set to
|
|
129
|
-
* <code>ACTIVE</code> when the index is ready to use.</p>
|
|
130
|
-
* <p>Once the index is active you can index your documents using the
|
|
131
|
-
* <code>BatchPutDocument</code> operation or using one of the supported
|
|
132
|
-
* data sources. </p>
|
|
133
|
-
*/
|
|
72
|
+
|
|
134
73
|
createIndex(args: CreateIndexCommandInput, options?: __HttpHandlerOptions): Promise<CreateIndexCommandOutput>;
|
|
135
74
|
createIndex(args: CreateIndexCommandInput, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
|
|
136
75
|
createIndex(args: CreateIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
|
|
137
|
-
|
|
138
|
-
* <p>Creates a block list to exlcude certain queries from suggestions.</p>
|
|
139
|
-
* <p>Any query that contains words or phrases specified in the block
|
|
140
|
-
* list is blocked or filtered out from being shown as a suggestion.</p>
|
|
141
|
-
* <p>You need to provide the file location of your block list text file
|
|
142
|
-
* in your S3 bucket. In your text file, enter each block word or phrase
|
|
143
|
-
* on a separate line.</p>
|
|
144
|
-
* <p>For information on the current quota limits for block lists, see
|
|
145
|
-
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas
|
|
146
|
-
* for Amazon Kendra</a>.</p>
|
|
147
|
-
*/
|
|
76
|
+
|
|
148
77
|
createQuerySuggestionsBlockList(args: CreateQuerySuggestionsBlockListCommandInput, options?: __HttpHandlerOptions): Promise<CreateQuerySuggestionsBlockListCommandOutput>;
|
|
149
78
|
createQuerySuggestionsBlockList(args: CreateQuerySuggestionsBlockListCommandInput, cb: (err: any, data?: CreateQuerySuggestionsBlockListCommandOutput) => void): void;
|
|
150
79
|
createQuerySuggestionsBlockList(args: CreateQuerySuggestionsBlockListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQuerySuggestionsBlockListCommandOutput) => void): void;
|
|
151
|
-
|
|
152
|
-
* <p>Creates a thesaurus for an index. The thesaurus
|
|
153
|
-
* contains a list of synonyms in Solr format.</p>
|
|
154
|
-
*/
|
|
80
|
+
|
|
155
81
|
createThesaurus(args: CreateThesaurusCommandInput, options?: __HttpHandlerOptions): Promise<CreateThesaurusCommandOutput>;
|
|
156
82
|
createThesaurus(args: CreateThesaurusCommandInput, cb: (err: any, data?: CreateThesaurusCommandOutput) => void): void;
|
|
157
83
|
createThesaurus(args: CreateThesaurusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateThesaurusCommandOutput) => void): void;
|
|
158
|
-
|
|
159
|
-
* <p>Deletes an Amazon Kendra data source. An exception is not thrown if the
|
|
160
|
-
* data source is already being deleted. While the data source is being
|
|
161
|
-
* deleted, the <code>Status</code> field returned by a call to the
|
|
162
|
-
* <code>DescribeDataSource</code> operation is set to
|
|
163
|
-
* <code>DELETING</code>. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/delete-data-source.html">Deleting Data Sources</a>.</p>
|
|
164
|
-
*/
|
|
84
|
+
|
|
165
85
|
deleteDataSource(args: DeleteDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataSourceCommandOutput>;
|
|
166
86
|
deleteDataSource(args: DeleteDataSourceCommandInput, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
167
87
|
deleteDataSource(args: DeleteDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
168
|
-
|
|
169
|
-
* <p>Removes an FAQ from an index.</p>
|
|
170
|
-
*/
|
|
88
|
+
|
|
171
89
|
deleteFaq(args: DeleteFaqCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFaqCommandOutput>;
|
|
172
90
|
deleteFaq(args: DeleteFaqCommandInput, cb: (err: any, data?: DeleteFaqCommandOutput) => void): void;
|
|
173
91
|
deleteFaq(args: DeleteFaqCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFaqCommandOutput) => void): void;
|
|
174
|
-
|
|
175
|
-
* <p>Deletes an existing Amazon Kendra index. An exception is not thrown if
|
|
176
|
-
* the index is already being deleted. While the index is being deleted, the
|
|
177
|
-
* <code>Status</code> field returned by a call to the
|
|
178
|
-
* <code>DescribeIndex</code> operation is set to
|
|
179
|
-
* <code>DELETING</code>.</p>
|
|
180
|
-
*/
|
|
92
|
+
|
|
181
93
|
deleteIndex(args: DeleteIndexCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexCommandOutput>;
|
|
182
94
|
deleteIndex(args: DeleteIndexCommandInput, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
|
|
183
95
|
deleteIndex(args: DeleteIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
|
|
184
|
-
|
|
185
|
-
* <p>Deletes a group so that all users and sub groups that belong to the group can
|
|
186
|
-
* no longer access documents only available to that group.</p>
|
|
187
|
-
* <p>For example, after deleting the group "Summer Interns", all interns who
|
|
188
|
-
* belonged to that group no longer see intern-only documents in their search
|
|
189
|
-
* results.</p>
|
|
190
|
-
* <p>If you want to delete or replace users or sub groups of a group, you need to
|
|
191
|
-
* use the <code>PutPrincipalMapping</code> operation. For example, if a user in
|
|
192
|
-
* the group "Engineering" leaves the engineering team and another user takes
|
|
193
|
-
* their place, you provide an updated list of users or sub groups that belong
|
|
194
|
-
* to the "Engineering" group when calling <code>PutPrincipalMapping</code>. You
|
|
195
|
-
* can update your internal list of users or sub groups and input this list
|
|
196
|
-
* when calling <code>PutPrincipalMapping</code>.</p>
|
|
197
|
-
*/
|
|
96
|
+
|
|
198
97
|
deletePrincipalMapping(args: DeletePrincipalMappingCommandInput, options?: __HttpHandlerOptions): Promise<DeletePrincipalMappingCommandOutput>;
|
|
199
98
|
deletePrincipalMapping(args: DeletePrincipalMappingCommandInput, cb: (err: any, data?: DeletePrincipalMappingCommandOutput) => void): void;
|
|
200
99
|
deletePrincipalMapping(args: DeletePrincipalMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePrincipalMappingCommandOutput) => void): void;
|
|
201
|
-
|
|
202
|
-
* <p>Deletes a block list used for query suggestions for an index.</p>
|
|
203
|
-
* <p>A deleted block list might not take effect right away. Amazon Kendra
|
|
204
|
-
* needs to refresh the entire suggestions list to add back the
|
|
205
|
-
* queries that were previously blocked.</p>
|
|
206
|
-
*/
|
|
100
|
+
|
|
207
101
|
deleteQuerySuggestionsBlockList(args: DeleteQuerySuggestionsBlockListCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQuerySuggestionsBlockListCommandOutput>;
|
|
208
102
|
deleteQuerySuggestionsBlockList(args: DeleteQuerySuggestionsBlockListCommandInput, cb: (err: any, data?: DeleteQuerySuggestionsBlockListCommandOutput) => void): void;
|
|
209
103
|
deleteQuerySuggestionsBlockList(args: DeleteQuerySuggestionsBlockListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQuerySuggestionsBlockListCommandOutput) => void): void;
|
|
210
|
-
|
|
211
|
-
* <p>Deletes an existing Amazon Kendra thesaurus.
|
|
212
|
-
* </p>
|
|
213
|
-
*/
|
|
104
|
+
|
|
214
105
|
deleteThesaurus(args: DeleteThesaurusCommandInput, options?: __HttpHandlerOptions): Promise<DeleteThesaurusCommandOutput>;
|
|
215
106
|
deleteThesaurus(args: DeleteThesaurusCommandInput, cb: (err: any, data?: DeleteThesaurusCommandOutput) => void): void;
|
|
216
107
|
deleteThesaurus(args: DeleteThesaurusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteThesaurusCommandOutput) => void): void;
|
|
217
|
-
|
|
218
|
-
* <p>Gets information about a Amazon Kendra data source.</p>
|
|
219
|
-
*/
|
|
108
|
+
|
|
220
109
|
describeDataSource(args: DescribeDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDataSourceCommandOutput>;
|
|
221
110
|
describeDataSource(args: DescribeDataSourceCommandInput, cb: (err: any, data?: DescribeDataSourceCommandOutput) => void): void;
|
|
222
111
|
describeDataSource(args: DescribeDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDataSourceCommandOutput) => void): void;
|
|
223
|
-
|
|
224
|
-
* <p>Gets information about an FAQ list.</p>
|
|
225
|
-
*/
|
|
112
|
+
|
|
226
113
|
describeFaq(args: DescribeFaqCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFaqCommandOutput>;
|
|
227
114
|
describeFaq(args: DescribeFaqCommandInput, cb: (err: any, data?: DescribeFaqCommandOutput) => void): void;
|
|
228
115
|
describeFaq(args: DescribeFaqCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFaqCommandOutput) => void): void;
|
|
229
|
-
|
|
230
|
-
* <p>Describes an existing Amazon Kendra index</p>
|
|
231
|
-
*/
|
|
116
|
+
|
|
232
117
|
describeIndex(args: DescribeIndexCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIndexCommandOutput>;
|
|
233
118
|
describeIndex(args: DescribeIndexCommandInput, cb: (err: any, data?: DescribeIndexCommandOutput) => void): void;
|
|
234
119
|
describeIndex(args: DescribeIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIndexCommandOutput) => void): void;
|
|
235
|
-
|
|
236
|
-
* <p>Describes the processing of <code>PUT</code> and <code>DELETE</code> actions
|
|
237
|
-
* for mapping users to their groups. This includes information on the status of
|
|
238
|
-
* actions currently processing or yet to be processed, when actions were last updated,
|
|
239
|
-
* when actions were received by Amazon Kendra, the latest action that should process
|
|
240
|
-
* and apply after other actions, and useful error messages if an action could
|
|
241
|
-
* not be processed.</p>
|
|
242
|
-
*/
|
|
120
|
+
|
|
243
121
|
describePrincipalMapping(args: DescribePrincipalMappingCommandInput, options?: __HttpHandlerOptions): Promise<DescribePrincipalMappingCommandOutput>;
|
|
244
122
|
describePrincipalMapping(args: DescribePrincipalMappingCommandInput, cb: (err: any, data?: DescribePrincipalMappingCommandOutput) => void): void;
|
|
245
123
|
describePrincipalMapping(args: DescribePrincipalMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePrincipalMappingCommandOutput) => void): void;
|
|
246
|
-
|
|
247
|
-
* <p>Describes a block list used for query suggestions for an index.</p>
|
|
248
|
-
* <p>This is used to check the current settings that are applied to a
|
|
249
|
-
* block list.</p>
|
|
250
|
-
*/
|
|
124
|
+
|
|
251
125
|
describeQuerySuggestionsBlockList(args: DescribeQuerySuggestionsBlockListCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQuerySuggestionsBlockListCommandOutput>;
|
|
252
126
|
describeQuerySuggestionsBlockList(args: DescribeQuerySuggestionsBlockListCommandInput, cb: (err: any, data?: DescribeQuerySuggestionsBlockListCommandOutput) => void): void;
|
|
253
127
|
describeQuerySuggestionsBlockList(args: DescribeQuerySuggestionsBlockListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQuerySuggestionsBlockListCommandOutput) => void): void;
|
|
254
|
-
|
|
255
|
-
* <p>Describes the settings of query suggestions for an index.</p>
|
|
256
|
-
* <p>This is used to check the current settings applied
|
|
257
|
-
* to query suggestions.</p>
|
|
258
|
-
*/
|
|
128
|
+
|
|
259
129
|
describeQuerySuggestionsConfig(args: DescribeQuerySuggestionsConfigCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQuerySuggestionsConfigCommandOutput>;
|
|
260
130
|
describeQuerySuggestionsConfig(args: DescribeQuerySuggestionsConfigCommandInput, cb: (err: any, data?: DescribeQuerySuggestionsConfigCommandOutput) => void): void;
|
|
261
131
|
describeQuerySuggestionsConfig(args: DescribeQuerySuggestionsConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQuerySuggestionsConfigCommandOutput) => void): void;
|
|
262
|
-
|
|
263
|
-
* <p>Describes an existing Amazon Kendra thesaurus.</p>
|
|
264
|
-
*/
|
|
132
|
+
|
|
265
133
|
describeThesaurus(args: DescribeThesaurusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeThesaurusCommandOutput>;
|
|
266
134
|
describeThesaurus(args: DescribeThesaurusCommandInput, cb: (err: any, data?: DescribeThesaurusCommandOutput) => void): void;
|
|
267
135
|
describeThesaurus(args: DescribeThesaurusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeThesaurusCommandOutput) => void): void;
|
|
268
|
-
|
|
269
|
-
* <p>Fetches the queries that are suggested to your users.</p>
|
|
270
|
-
*/
|
|
136
|
+
|
|
271
137
|
getQuerySuggestions(args: GetQuerySuggestionsCommandInput, options?: __HttpHandlerOptions): Promise<GetQuerySuggestionsCommandOutput>;
|
|
272
138
|
getQuerySuggestions(args: GetQuerySuggestionsCommandInput, cb: (err: any, data?: GetQuerySuggestionsCommandOutput) => void): void;
|
|
273
139
|
getQuerySuggestions(args: GetQuerySuggestionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQuerySuggestionsCommandOutput) => void): void;
|
|
274
|
-
|
|
275
|
-
* <p>Lists the data sources that you have created.</p>
|
|
276
|
-
*/
|
|
140
|
+
|
|
277
141
|
listDataSources(args: ListDataSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSourcesCommandOutput>;
|
|
278
142
|
listDataSources(args: ListDataSourcesCommandInput, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
279
143
|
listDataSources(args: ListDataSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
280
|
-
|
|
281
|
-
* <p>Gets statistics about synchronizing Amazon Kendra with a data
|
|
282
|
-
* source.</p>
|
|
283
|
-
*/
|
|
144
|
+
|
|
284
145
|
listDataSourceSyncJobs(args: ListDataSourceSyncJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSourceSyncJobsCommandOutput>;
|
|
285
146
|
listDataSourceSyncJobs(args: ListDataSourceSyncJobsCommandInput, cb: (err: any, data?: ListDataSourceSyncJobsCommandOutput) => void): void;
|
|
286
147
|
listDataSourceSyncJobs(args: ListDataSourceSyncJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSourceSyncJobsCommandOutput) => void): void;
|
|
287
|
-
|
|
288
|
-
* <p>Gets a list of FAQ lists associated with an index.</p>
|
|
289
|
-
*/
|
|
148
|
+
|
|
290
149
|
listFaqs(args: ListFaqsCommandInput, options?: __HttpHandlerOptions): Promise<ListFaqsCommandOutput>;
|
|
291
150
|
listFaqs(args: ListFaqsCommandInput, cb: (err: any, data?: ListFaqsCommandOutput) => void): void;
|
|
292
151
|
listFaqs(args: ListFaqsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFaqsCommandOutput) => void): void;
|
|
293
|
-
|
|
294
|
-
* <p>Provides a list of groups that are mapped to users before a
|
|
295
|
-
* given ordering or timestamp identifier.</p>
|
|
296
|
-
*/
|
|
152
|
+
|
|
297
153
|
listGroupsOlderThanOrderingId(args: ListGroupsOlderThanOrderingIdCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsOlderThanOrderingIdCommandOutput>;
|
|
298
154
|
listGroupsOlderThanOrderingId(args: ListGroupsOlderThanOrderingIdCommandInput, cb: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void): void;
|
|
299
155
|
listGroupsOlderThanOrderingId(args: ListGroupsOlderThanOrderingIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void): void;
|
|
300
|
-
|
|
301
|
-
* <p>Lists the Amazon Kendra indexes that you have created.</p>
|
|
302
|
-
*/
|
|
156
|
+
|
|
303
157
|
listIndices(args: ListIndicesCommandInput, options?: __HttpHandlerOptions): Promise<ListIndicesCommandOutput>;
|
|
304
158
|
listIndices(args: ListIndicesCommandInput, cb: (err: any, data?: ListIndicesCommandOutput) => void): void;
|
|
305
159
|
listIndices(args: ListIndicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIndicesCommandOutput) => void): void;
|
|
306
|
-
|
|
307
|
-
* <p>Lists the block lists used for query suggestions for an index.</p>
|
|
308
|
-
* <p>For information on the current quota limits for block lists, see
|
|
309
|
-
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas
|
|
310
|
-
* for Amazon Kendra</a>.</p>
|
|
311
|
-
*/
|
|
160
|
+
|
|
312
161
|
listQuerySuggestionsBlockLists(args: ListQuerySuggestionsBlockListsCommandInput, options?: __HttpHandlerOptions): Promise<ListQuerySuggestionsBlockListsCommandOutput>;
|
|
313
162
|
listQuerySuggestionsBlockLists(args: ListQuerySuggestionsBlockListsCommandInput, cb: (err: any, data?: ListQuerySuggestionsBlockListsCommandOutput) => void): void;
|
|
314
163
|
listQuerySuggestionsBlockLists(args: ListQuerySuggestionsBlockListsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQuerySuggestionsBlockListsCommandOutput) => void): void;
|
|
315
|
-
|
|
316
|
-
* <p>Gets a list of tags associated with a specified resource. Indexes,
|
|
317
|
-
* FAQs, and data sources can have tags associated with them.</p>
|
|
318
|
-
*/
|
|
164
|
+
|
|
319
165
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
320
166
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
321
167
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
322
|
-
|
|
323
|
-
* <p>Lists the Amazon Kendra thesauri associated with an index.</p>
|
|
324
|
-
*/
|
|
168
|
+
|
|
325
169
|
listThesauri(args: ListThesauriCommandInput, options?: __HttpHandlerOptions): Promise<ListThesauriCommandOutput>;
|
|
326
170
|
listThesauri(args: ListThesauriCommandInput, cb: (err: any, data?: ListThesauriCommandOutput) => void): void;
|
|
327
171
|
listThesauri(args: ListThesauriCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListThesauriCommandOutput) => void): void;
|
|
328
|
-
|
|
329
|
-
* <p>Maps users to their groups. You can also map sub groups to groups.
|
|
330
|
-
* For example, the group "Company Intellectual Property Teams" includes
|
|
331
|
-
* sub groups "Research" and "Engineering". These sub groups include their
|
|
332
|
-
* own list of users or people who work in these teams. Only users who work
|
|
333
|
-
* in research and engineering, and therefore belong in the intellectual
|
|
334
|
-
* property group, can see top-secret company documents in their search
|
|
335
|
-
* results. </p>
|
|
336
|
-
* <p>You map users to their groups when you want to filter search results
|
|
337
|
-
* for different users based on their group’s access to documents. For more
|
|
338
|
-
* information on filtering search results for different users, see
|
|
339
|
-
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html">Filtering
|
|
340
|
-
* on user context</a>.</p>
|
|
341
|
-
* <p>If more than five <code>PUT</code> actions for a group are currently
|
|
342
|
-
* processing, a validation exception is thrown.</p>
|
|
343
|
-
*/
|
|
172
|
+
|
|
344
173
|
putPrincipalMapping(args: PutPrincipalMappingCommandInput, options?: __HttpHandlerOptions): Promise<PutPrincipalMappingCommandOutput>;
|
|
345
174
|
putPrincipalMapping(args: PutPrincipalMappingCommandInput, cb: (err: any, data?: PutPrincipalMappingCommandOutput) => void): void;
|
|
346
175
|
putPrincipalMapping(args: PutPrincipalMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPrincipalMappingCommandOutput) => void): void;
|
|
347
|
-
|
|
348
|
-
* <p>Searches an active index. Use this API to search your documents
|
|
349
|
-
* using query. The <code>Query</code> operation enables to do faceted
|
|
350
|
-
* search and to filter results based on document attributes.</p>
|
|
351
|
-
* <p>It also enables you to provide user context that Amazon Kendra uses
|
|
352
|
-
* to enforce document access control in the search results. </p>
|
|
353
|
-
* <p>Amazon Kendra searches your index for text content and question and
|
|
354
|
-
* answer (FAQ) content. By default the response contains three types of
|
|
355
|
-
* results.</p>
|
|
356
|
-
* <ul>
|
|
357
|
-
* <li>
|
|
358
|
-
* <p>Relevant passages</p>
|
|
359
|
-
* </li>
|
|
360
|
-
* <li>
|
|
361
|
-
* <p>Matching FAQs</p>
|
|
362
|
-
* </li>
|
|
363
|
-
* <li>
|
|
364
|
-
* <p>Relevant documents</p>
|
|
365
|
-
* </li>
|
|
366
|
-
* </ul>
|
|
367
|
-
* <p>You can specify that the query return only one type of result using
|
|
368
|
-
* the <code>QueryResultTypeConfig</code> parameter.</p>
|
|
369
|
-
* <p>Each query returns the 100 most relevant results. </p>
|
|
370
|
-
*/
|
|
176
|
+
|
|
371
177
|
query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise<QueryCommandOutput>;
|
|
372
178
|
query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void;
|
|
373
179
|
query(args: QueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryCommandOutput) => void): void;
|
|
374
|
-
|
|
375
|
-
* <p>Starts a synchronization job for a data source. If a synchronization
|
|
376
|
-
* job is already in progress, Amazon Kendra returns a
|
|
377
|
-
* <code>ResourceInUseException</code> exception.</p>
|
|
378
|
-
*/
|
|
180
|
+
|
|
379
181
|
startDataSourceSyncJob(args: StartDataSourceSyncJobCommandInput, options?: __HttpHandlerOptions): Promise<StartDataSourceSyncJobCommandOutput>;
|
|
380
182
|
startDataSourceSyncJob(args: StartDataSourceSyncJobCommandInput, cb: (err: any, data?: StartDataSourceSyncJobCommandOutput) => void): void;
|
|
381
183
|
startDataSourceSyncJob(args: StartDataSourceSyncJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDataSourceSyncJobCommandOutput) => void): void;
|
|
382
|
-
|
|
383
|
-
* <p>Stops a running synchronization job. You can't stop a scheduled
|
|
384
|
-
* synchronization job.</p>
|
|
385
|
-
*/
|
|
184
|
+
|
|
386
185
|
stopDataSourceSyncJob(args: StopDataSourceSyncJobCommandInput, options?: __HttpHandlerOptions): Promise<StopDataSourceSyncJobCommandOutput>;
|
|
387
186
|
stopDataSourceSyncJob(args: StopDataSourceSyncJobCommandInput, cb: (err: any, data?: StopDataSourceSyncJobCommandOutput) => void): void;
|
|
388
187
|
stopDataSourceSyncJob(args: StopDataSourceSyncJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopDataSourceSyncJobCommandOutput) => void): void;
|
|
389
|
-
|
|
390
|
-
* <p>Enables you to provide feedback to Amazon Kendra to improve the
|
|
391
|
-
* performance of your index. </p>
|
|
392
|
-
*/
|
|
188
|
+
|
|
393
189
|
submitFeedback(args: SubmitFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<SubmitFeedbackCommandOutput>;
|
|
394
190
|
submitFeedback(args: SubmitFeedbackCommandInput, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void;
|
|
395
191
|
submitFeedback(args: SubmitFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void;
|
|
396
|
-
|
|
397
|
-
* <p>Adds the specified tag to the specified index, FAQ, or data source
|
|
398
|
-
* resource. If the tag already exists, the existing value is replaced with
|
|
399
|
-
* the new value.</p>
|
|
400
|
-
*/
|
|
192
|
+
|
|
401
193
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
402
194
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
403
195
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
404
|
-
|
|
405
|
-
* <p>Removes a tag from an index, FAQ, or a data source.</p>
|
|
406
|
-
*/
|
|
196
|
+
|
|
407
197
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
408
198
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
409
199
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
410
|
-
|
|
411
|
-
* <p>Updates an existing Amazon Kendra data source.</p>
|
|
412
|
-
*/
|
|
200
|
+
|
|
413
201
|
updateDataSource(args: UpdateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataSourceCommandOutput>;
|
|
414
202
|
updateDataSource(args: UpdateDataSourceCommandInput, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
415
203
|
updateDataSource(args: UpdateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
416
|
-
|
|
417
|
-
* <p>Updates an existing Amazon Kendra index.</p>
|
|
418
|
-
*/
|
|
204
|
+
|
|
419
205
|
updateIndex(args: UpdateIndexCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIndexCommandOutput>;
|
|
420
206
|
updateIndex(args: UpdateIndexCommandInput, cb: (err: any, data?: UpdateIndexCommandOutput) => void): void;
|
|
421
207
|
updateIndex(args: UpdateIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIndexCommandOutput) => void): void;
|
|
422
|
-
|
|
423
|
-
* <p>Updates a block list used for query suggestions for an index.</p>
|
|
424
|
-
* <p>Updates to a block list might not take effect right away. Amazon Kendra
|
|
425
|
-
* needs to refresh the entire suggestions list to apply any updates to the
|
|
426
|
-
* block list. Other changes not related to the block list apply immediately.</p>
|
|
427
|
-
* <p>If a block list is updating, then you need to wait for the first update to
|
|
428
|
-
* finish before submitting another update.</p>
|
|
429
|
-
* <p>Amazon Kendra supports partial updates, so you only need to provide the fields
|
|
430
|
-
* you want to update.</p>
|
|
431
|
-
*/
|
|
208
|
+
|
|
432
209
|
updateQuerySuggestionsBlockList(args: UpdateQuerySuggestionsBlockListCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQuerySuggestionsBlockListCommandOutput>;
|
|
433
210
|
updateQuerySuggestionsBlockList(args: UpdateQuerySuggestionsBlockListCommandInput, cb: (err: any, data?: UpdateQuerySuggestionsBlockListCommandOutput) => void): void;
|
|
434
211
|
updateQuerySuggestionsBlockList(args: UpdateQuerySuggestionsBlockListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQuerySuggestionsBlockListCommandOutput) => void): void;
|
|
435
|
-
|
|
436
|
-
* <p>Updates the settings of query suggestions for an index.</p>
|
|
437
|
-
* <p>Amazon Kendra supports partial updates, so you only need to provide
|
|
438
|
-
* the fields you want to update.</p>
|
|
439
|
-
* <p>If an update is currently processing (i.e. 'happening'), you
|
|
440
|
-
* need to wait for the update to finish before making another update.</p>
|
|
441
|
-
* <p>Updates to query suggestions settings might not take effect right away.
|
|
442
|
-
* The time for your updated settings to take effect depends on the updates
|
|
443
|
-
* made and the number of search queries in your index.</p>
|
|
444
|
-
* <p>You can still enable/disable query suggestions at any time.</p>
|
|
445
|
-
*/
|
|
212
|
+
|
|
446
213
|
updateQuerySuggestionsConfig(args: UpdateQuerySuggestionsConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQuerySuggestionsConfigCommandOutput>;
|
|
447
214
|
updateQuerySuggestionsConfig(args: UpdateQuerySuggestionsConfigCommandInput, cb: (err: any, data?: UpdateQuerySuggestionsConfigCommandOutput) => void): void;
|
|
448
215
|
updateQuerySuggestionsConfig(args: UpdateQuerySuggestionsConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQuerySuggestionsConfigCommandOutput) => void): void;
|
|
449
|
-
|
|
450
|
-
* <p>Updates a thesaurus file associated with an index.</p>
|
|
451
|
-
*/
|
|
216
|
+
|
|
452
217
|
updateThesaurus(args: UpdateThesaurusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateThesaurusCommandOutput>;
|
|
453
218
|
updateThesaurus(args: UpdateThesaurusCommandInput, cb: (err: any, data?: UpdateThesaurusCommandOutput) => void): void;
|
|
454
219
|
updateThesaurus(args: UpdateThesaurusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateThesaurusCommandOutput) => void): void;
|
|
@@ -52,124 +52,59 @@ import { UpdateThesaurusCommandInput, UpdateThesaurusCommandOutput } from "./com
|
|
|
52
52
|
export declare type ServiceInputTypes = BatchDeleteDocumentCommandInput | BatchGetDocumentStatusCommandInput | BatchPutDocumentCommandInput | ClearQuerySuggestionsCommandInput | CreateDataSourceCommandInput | CreateFaqCommandInput | CreateIndexCommandInput | CreateQuerySuggestionsBlockListCommandInput | CreateThesaurusCommandInput | DeleteDataSourceCommandInput | DeleteFaqCommandInput | DeleteIndexCommandInput | DeletePrincipalMappingCommandInput | DeleteQuerySuggestionsBlockListCommandInput | DeleteThesaurusCommandInput | DescribeDataSourceCommandInput | DescribeFaqCommandInput | DescribeIndexCommandInput | DescribePrincipalMappingCommandInput | DescribeQuerySuggestionsBlockListCommandInput | DescribeQuerySuggestionsConfigCommandInput | DescribeThesaurusCommandInput | GetQuerySuggestionsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListFaqsCommandInput | ListGroupsOlderThanOrderingIdCommandInput | ListIndicesCommandInput | ListQuerySuggestionsBlockListsCommandInput | ListTagsForResourceCommandInput | ListThesauriCommandInput | PutPrincipalMappingCommandInput | QueryCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | SubmitFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataSourceCommandInput | UpdateIndexCommandInput | UpdateQuerySuggestionsBlockListCommandInput | UpdateQuerySuggestionsConfigCommandInput | UpdateThesaurusCommandInput;
|
|
53
53
|
export declare type ServiceOutputTypes = BatchDeleteDocumentCommandOutput | BatchGetDocumentStatusCommandOutput | BatchPutDocumentCommandOutput | ClearQuerySuggestionsCommandOutput | CreateDataSourceCommandOutput | CreateFaqCommandOutput | CreateIndexCommandOutput | CreateQuerySuggestionsBlockListCommandOutput | CreateThesaurusCommandOutput | DeleteDataSourceCommandOutput | DeleteFaqCommandOutput | DeleteIndexCommandOutput | DeletePrincipalMappingCommandOutput | DeleteQuerySuggestionsBlockListCommandOutput | DeleteThesaurusCommandOutput | DescribeDataSourceCommandOutput | DescribeFaqCommandOutput | DescribeIndexCommandOutput | DescribePrincipalMappingCommandOutput | DescribeQuerySuggestionsBlockListCommandOutput | DescribeQuerySuggestionsConfigCommandOutput | DescribeThesaurusCommandOutput | GetQuerySuggestionsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListFaqsCommandOutput | ListGroupsOlderThanOrderingIdCommandOutput | ListIndicesCommandOutput | ListQuerySuggestionsBlockListsCommandOutput | ListTagsForResourceCommandOutput | ListThesauriCommandOutput | PutPrincipalMappingCommandOutput | QueryCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | SubmitFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataSourceCommandOutput | UpdateIndexCommandOutput | UpdateQuerySuggestionsBlockListCommandOutput | UpdateQuerySuggestionsConfigCommandOutput | UpdateThesaurusCommandOutput;
|
|
54
54
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
55
|
-
|
|
56
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
57
|
-
*/
|
|
55
|
+
|
|
58
56
|
requestHandler?: __HttpHandler;
|
|
59
|
-
|
|
60
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
61
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
57
|
+
|
|
64
58
|
sha256?: __HashConstructor;
|
|
65
|
-
|
|
66
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
59
|
+
|
|
69
60
|
urlParser?: __UrlParser;
|
|
70
|
-
|
|
71
|
-
* A function that can calculate the length of a request body.
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
61
|
+
|
|
74
62
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
75
|
-
|
|
76
|
-
* A function that converts a stream into an array of bytes.
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
63
|
+
|
|
79
64
|
streamCollector?: __StreamCollector;
|
|
80
|
-
|
|
81
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
65
|
+
|
|
84
66
|
base64Decoder?: __Decoder;
|
|
85
|
-
|
|
86
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
67
|
+
|
|
89
68
|
base64Encoder?: __Encoder;
|
|
90
|
-
|
|
91
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
69
|
+
|
|
94
70
|
utf8Decoder?: __Decoder;
|
|
95
|
-
|
|
96
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
71
|
+
|
|
99
72
|
utf8Encoder?: __Encoder;
|
|
100
|
-
|
|
101
|
-
* The runtime environment.
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
73
|
+
|
|
104
74
|
runtime?: string;
|
|
105
|
-
|
|
106
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
107
|
-
* trait of an operation.
|
|
108
|
-
*/
|
|
75
|
+
|
|
109
76
|
disableHostPrefix?: boolean;
|
|
110
|
-
|
|
111
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
112
|
-
*/
|
|
77
|
+
|
|
113
78
|
maxAttempts?: number | __Provider<number>;
|
|
114
|
-
|
|
115
|
-
* Specifies which retry algorithm to use.
|
|
116
|
-
*/
|
|
79
|
+
|
|
117
80
|
retryMode?: string | __Provider<string>;
|
|
118
|
-
|
|
119
|
-
* Optional logger for logging debug/info/warn/error.
|
|
120
|
-
*/
|
|
81
|
+
|
|
121
82
|
logger?: __Logger;
|
|
122
|
-
|
|
123
|
-
* Unique service identifier.
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
83
|
+
|
|
126
84
|
serviceId?: string;
|
|
127
|
-
|
|
128
|
-
* The AWS region to which this client will send requests
|
|
129
|
-
*/
|
|
85
|
+
|
|
130
86
|
region?: string | __Provider<string>;
|
|
131
|
-
|
|
132
|
-
* Default credentials provider; Not available in browser runtime.
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
87
|
+
|
|
135
88
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
136
|
-
|
|
137
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
138
|
-
* @internal
|
|
139
|
-
*/
|
|
89
|
+
|
|
140
90
|
regionInfoProvider?: RegionInfoProvider;
|
|
141
|
-
|
|
142
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
143
|
-
* @internal
|
|
144
|
-
*/
|
|
91
|
+
|
|
145
92
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
146
93
|
}
|
|
147
94
|
declare type KendraClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
148
|
-
|
|
149
|
-
* The configuration interface of KendraClient class constructor that set the region, credentials and other options.
|
|
150
|
-
*/
|
|
95
|
+
|
|
151
96
|
export interface KendraClientConfig extends KendraClientConfigType {
|
|
152
97
|
}
|
|
153
98
|
declare type KendraClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
154
|
-
|
|
155
|
-
* The resolved configuration interface of KendraClient class. This is resolved and normalized from the {@link KendraClientConfig | constructor configuration interface}.
|
|
156
|
-
*/
|
|
99
|
+
|
|
157
100
|
export interface KendraClientResolvedConfig extends KendraClientResolvedConfigType {
|
|
158
101
|
}
|
|
159
|
-
|
|
160
|
-
* <p>Amazon Kendra is a service for indexing large document sets.</p>
|
|
161
|
-
*/
|
|
102
|
+
|
|
162
103
|
export declare class KendraClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, KendraClientResolvedConfig> {
|
|
163
|
-
|
|
164
|
-
* The resolved configuration of KendraClient class. This is resolved and normalized from the {@link KendraClientConfig | constructor configuration interface}.
|
|
165
|
-
*/
|
|
104
|
+
|
|
166
105
|
readonly config: KendraClientResolvedConfig;
|
|
167
106
|
constructor(configuration: KendraClientConfig);
|
|
168
|
-
|
|
169
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
170
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
171
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
172
|
-
*/
|
|
107
|
+
|
|
173
108
|
destroy(): void;
|
|
174
109
|
}
|
|
175
110
|
export {};
|