@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
package/src/Kendra.ts
DELETED
|
@@ -1,1643 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
BatchDeleteDocumentCommand,
|
|
5
|
-
BatchDeleteDocumentCommandInput,
|
|
6
|
-
BatchDeleteDocumentCommandOutput,
|
|
7
|
-
} from "./commands/BatchDeleteDocumentCommand";
|
|
8
|
-
import {
|
|
9
|
-
BatchGetDocumentStatusCommand,
|
|
10
|
-
BatchGetDocumentStatusCommandInput,
|
|
11
|
-
BatchGetDocumentStatusCommandOutput,
|
|
12
|
-
} from "./commands/BatchGetDocumentStatusCommand";
|
|
13
|
-
import {
|
|
14
|
-
BatchPutDocumentCommand,
|
|
15
|
-
BatchPutDocumentCommandInput,
|
|
16
|
-
BatchPutDocumentCommandOutput,
|
|
17
|
-
} from "./commands/BatchPutDocumentCommand";
|
|
18
|
-
import {
|
|
19
|
-
ClearQuerySuggestionsCommand,
|
|
20
|
-
ClearQuerySuggestionsCommandInput,
|
|
21
|
-
ClearQuerySuggestionsCommandOutput,
|
|
22
|
-
} from "./commands/ClearQuerySuggestionsCommand";
|
|
23
|
-
import {
|
|
24
|
-
CreateDataSourceCommand,
|
|
25
|
-
CreateDataSourceCommandInput,
|
|
26
|
-
CreateDataSourceCommandOutput,
|
|
27
|
-
} from "./commands/CreateDataSourceCommand";
|
|
28
|
-
import { CreateFaqCommand, CreateFaqCommandInput, CreateFaqCommandOutput } from "./commands/CreateFaqCommand";
|
|
29
|
-
import { CreateIndexCommand, CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
30
|
-
import {
|
|
31
|
-
CreateQuerySuggestionsBlockListCommand,
|
|
32
|
-
CreateQuerySuggestionsBlockListCommandInput,
|
|
33
|
-
CreateQuerySuggestionsBlockListCommandOutput,
|
|
34
|
-
} from "./commands/CreateQuerySuggestionsBlockListCommand";
|
|
35
|
-
import {
|
|
36
|
-
CreateThesaurusCommand,
|
|
37
|
-
CreateThesaurusCommandInput,
|
|
38
|
-
CreateThesaurusCommandOutput,
|
|
39
|
-
} from "./commands/CreateThesaurusCommand";
|
|
40
|
-
import {
|
|
41
|
-
DeleteDataSourceCommand,
|
|
42
|
-
DeleteDataSourceCommandInput,
|
|
43
|
-
DeleteDataSourceCommandOutput,
|
|
44
|
-
} from "./commands/DeleteDataSourceCommand";
|
|
45
|
-
import { DeleteFaqCommand, DeleteFaqCommandInput, DeleteFaqCommandOutput } from "./commands/DeleteFaqCommand";
|
|
46
|
-
import { DeleteIndexCommand, DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
|
|
47
|
-
import {
|
|
48
|
-
DeletePrincipalMappingCommand,
|
|
49
|
-
DeletePrincipalMappingCommandInput,
|
|
50
|
-
DeletePrincipalMappingCommandOutput,
|
|
51
|
-
} from "./commands/DeletePrincipalMappingCommand";
|
|
52
|
-
import {
|
|
53
|
-
DeleteQuerySuggestionsBlockListCommand,
|
|
54
|
-
DeleteQuerySuggestionsBlockListCommandInput,
|
|
55
|
-
DeleteQuerySuggestionsBlockListCommandOutput,
|
|
56
|
-
} from "./commands/DeleteQuerySuggestionsBlockListCommand";
|
|
57
|
-
import {
|
|
58
|
-
DeleteThesaurusCommand,
|
|
59
|
-
DeleteThesaurusCommandInput,
|
|
60
|
-
DeleteThesaurusCommandOutput,
|
|
61
|
-
} from "./commands/DeleteThesaurusCommand";
|
|
62
|
-
import {
|
|
63
|
-
DescribeDataSourceCommand,
|
|
64
|
-
DescribeDataSourceCommandInput,
|
|
65
|
-
DescribeDataSourceCommandOutput,
|
|
66
|
-
} from "./commands/DescribeDataSourceCommand";
|
|
67
|
-
import { DescribeFaqCommand, DescribeFaqCommandInput, DescribeFaqCommandOutput } from "./commands/DescribeFaqCommand";
|
|
68
|
-
import {
|
|
69
|
-
DescribeIndexCommand,
|
|
70
|
-
DescribeIndexCommandInput,
|
|
71
|
-
DescribeIndexCommandOutput,
|
|
72
|
-
} from "./commands/DescribeIndexCommand";
|
|
73
|
-
import {
|
|
74
|
-
DescribePrincipalMappingCommand,
|
|
75
|
-
DescribePrincipalMappingCommandInput,
|
|
76
|
-
DescribePrincipalMappingCommandOutput,
|
|
77
|
-
} from "./commands/DescribePrincipalMappingCommand";
|
|
78
|
-
import {
|
|
79
|
-
DescribeQuerySuggestionsBlockListCommand,
|
|
80
|
-
DescribeQuerySuggestionsBlockListCommandInput,
|
|
81
|
-
DescribeQuerySuggestionsBlockListCommandOutput,
|
|
82
|
-
} from "./commands/DescribeQuerySuggestionsBlockListCommand";
|
|
83
|
-
import {
|
|
84
|
-
DescribeQuerySuggestionsConfigCommand,
|
|
85
|
-
DescribeQuerySuggestionsConfigCommandInput,
|
|
86
|
-
DescribeQuerySuggestionsConfigCommandOutput,
|
|
87
|
-
} from "./commands/DescribeQuerySuggestionsConfigCommand";
|
|
88
|
-
import {
|
|
89
|
-
DescribeThesaurusCommand,
|
|
90
|
-
DescribeThesaurusCommandInput,
|
|
91
|
-
DescribeThesaurusCommandOutput,
|
|
92
|
-
} from "./commands/DescribeThesaurusCommand";
|
|
93
|
-
import {
|
|
94
|
-
GetQuerySuggestionsCommand,
|
|
95
|
-
GetQuerySuggestionsCommandInput,
|
|
96
|
-
GetQuerySuggestionsCommandOutput,
|
|
97
|
-
} from "./commands/GetQuerySuggestionsCommand";
|
|
98
|
-
import {
|
|
99
|
-
ListDataSourcesCommand,
|
|
100
|
-
ListDataSourcesCommandInput,
|
|
101
|
-
ListDataSourcesCommandOutput,
|
|
102
|
-
} from "./commands/ListDataSourcesCommand";
|
|
103
|
-
import {
|
|
104
|
-
ListDataSourceSyncJobsCommand,
|
|
105
|
-
ListDataSourceSyncJobsCommandInput,
|
|
106
|
-
ListDataSourceSyncJobsCommandOutput,
|
|
107
|
-
} from "./commands/ListDataSourceSyncJobsCommand";
|
|
108
|
-
import { ListFaqsCommand, ListFaqsCommandInput, ListFaqsCommandOutput } from "./commands/ListFaqsCommand";
|
|
109
|
-
import {
|
|
110
|
-
ListGroupsOlderThanOrderingIdCommand,
|
|
111
|
-
ListGroupsOlderThanOrderingIdCommandInput,
|
|
112
|
-
ListGroupsOlderThanOrderingIdCommandOutput,
|
|
113
|
-
} from "./commands/ListGroupsOlderThanOrderingIdCommand";
|
|
114
|
-
import { ListIndicesCommand, ListIndicesCommandInput, ListIndicesCommandOutput } from "./commands/ListIndicesCommand";
|
|
115
|
-
import {
|
|
116
|
-
ListQuerySuggestionsBlockListsCommand,
|
|
117
|
-
ListQuerySuggestionsBlockListsCommandInput,
|
|
118
|
-
ListQuerySuggestionsBlockListsCommandOutput,
|
|
119
|
-
} from "./commands/ListQuerySuggestionsBlockListsCommand";
|
|
120
|
-
import {
|
|
121
|
-
ListTagsForResourceCommand,
|
|
122
|
-
ListTagsForResourceCommandInput,
|
|
123
|
-
ListTagsForResourceCommandOutput,
|
|
124
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
125
|
-
import {
|
|
126
|
-
ListThesauriCommand,
|
|
127
|
-
ListThesauriCommandInput,
|
|
128
|
-
ListThesauriCommandOutput,
|
|
129
|
-
} from "./commands/ListThesauriCommand";
|
|
130
|
-
import {
|
|
131
|
-
PutPrincipalMappingCommand,
|
|
132
|
-
PutPrincipalMappingCommandInput,
|
|
133
|
-
PutPrincipalMappingCommandOutput,
|
|
134
|
-
} from "./commands/PutPrincipalMappingCommand";
|
|
135
|
-
import { QueryCommand, QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
|
|
136
|
-
import {
|
|
137
|
-
StartDataSourceSyncJobCommand,
|
|
138
|
-
StartDataSourceSyncJobCommandInput,
|
|
139
|
-
StartDataSourceSyncJobCommandOutput,
|
|
140
|
-
} from "./commands/StartDataSourceSyncJobCommand";
|
|
141
|
-
import {
|
|
142
|
-
StopDataSourceSyncJobCommand,
|
|
143
|
-
StopDataSourceSyncJobCommandInput,
|
|
144
|
-
StopDataSourceSyncJobCommandOutput,
|
|
145
|
-
} from "./commands/StopDataSourceSyncJobCommand";
|
|
146
|
-
import {
|
|
147
|
-
SubmitFeedbackCommand,
|
|
148
|
-
SubmitFeedbackCommandInput,
|
|
149
|
-
SubmitFeedbackCommandOutput,
|
|
150
|
-
} from "./commands/SubmitFeedbackCommand";
|
|
151
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
152
|
-
import {
|
|
153
|
-
UntagResourceCommand,
|
|
154
|
-
UntagResourceCommandInput,
|
|
155
|
-
UntagResourceCommandOutput,
|
|
156
|
-
} from "./commands/UntagResourceCommand";
|
|
157
|
-
import {
|
|
158
|
-
UpdateDataSourceCommand,
|
|
159
|
-
UpdateDataSourceCommandInput,
|
|
160
|
-
UpdateDataSourceCommandOutput,
|
|
161
|
-
} from "./commands/UpdateDataSourceCommand";
|
|
162
|
-
import { UpdateIndexCommand, UpdateIndexCommandInput, UpdateIndexCommandOutput } from "./commands/UpdateIndexCommand";
|
|
163
|
-
import {
|
|
164
|
-
UpdateQuerySuggestionsBlockListCommand,
|
|
165
|
-
UpdateQuerySuggestionsBlockListCommandInput,
|
|
166
|
-
UpdateQuerySuggestionsBlockListCommandOutput,
|
|
167
|
-
} from "./commands/UpdateQuerySuggestionsBlockListCommand";
|
|
168
|
-
import {
|
|
169
|
-
UpdateQuerySuggestionsConfigCommand,
|
|
170
|
-
UpdateQuerySuggestionsConfigCommandInput,
|
|
171
|
-
UpdateQuerySuggestionsConfigCommandOutput,
|
|
172
|
-
} from "./commands/UpdateQuerySuggestionsConfigCommand";
|
|
173
|
-
import {
|
|
174
|
-
UpdateThesaurusCommand,
|
|
175
|
-
UpdateThesaurusCommandInput,
|
|
176
|
-
UpdateThesaurusCommandOutput,
|
|
177
|
-
} from "./commands/UpdateThesaurusCommand";
|
|
178
|
-
import { KendraClient } from "./KendraClient";
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* <p>Amazon Kendra is a service for indexing large document sets.</p>
|
|
182
|
-
*/
|
|
183
|
-
export class Kendra extends KendraClient {
|
|
184
|
-
/**
|
|
185
|
-
* <p>Removes one or more documents from an index. The documents must have
|
|
186
|
-
* been added with the <code>BatchPutDocument</code> operation.</p>
|
|
187
|
-
* <p>The documents are deleted asynchronously. You can see the progress of
|
|
188
|
-
* the deletion by using Amazon Web Services CloudWatch. Any error messages related to the
|
|
189
|
-
* processing of the batch are sent to you CloudWatch log.</p>
|
|
190
|
-
*/
|
|
191
|
-
public batchDeleteDocument(
|
|
192
|
-
args: BatchDeleteDocumentCommandInput,
|
|
193
|
-
options?: __HttpHandlerOptions
|
|
194
|
-
): Promise<BatchDeleteDocumentCommandOutput>;
|
|
195
|
-
public batchDeleteDocument(
|
|
196
|
-
args: BatchDeleteDocumentCommandInput,
|
|
197
|
-
cb: (err: any, data?: BatchDeleteDocumentCommandOutput) => void
|
|
198
|
-
): void;
|
|
199
|
-
public batchDeleteDocument(
|
|
200
|
-
args: BatchDeleteDocumentCommandInput,
|
|
201
|
-
options: __HttpHandlerOptions,
|
|
202
|
-
cb: (err: any, data?: BatchDeleteDocumentCommandOutput) => void
|
|
203
|
-
): void;
|
|
204
|
-
public batchDeleteDocument(
|
|
205
|
-
args: BatchDeleteDocumentCommandInput,
|
|
206
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDeleteDocumentCommandOutput) => void),
|
|
207
|
-
cb?: (err: any, data?: BatchDeleteDocumentCommandOutput) => void
|
|
208
|
-
): Promise<BatchDeleteDocumentCommandOutput> | void {
|
|
209
|
-
const command = new BatchDeleteDocumentCommand(args);
|
|
210
|
-
if (typeof optionsOrCb === "function") {
|
|
211
|
-
this.send(command, optionsOrCb);
|
|
212
|
-
} else if (typeof cb === "function") {
|
|
213
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
214
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
215
|
-
} else {
|
|
216
|
-
return this.send(command, optionsOrCb);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* <p>Returns the indexing status for one or more documents submitted
|
|
222
|
-
* with the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">
|
|
223
|
-
* BatchPutDocument</a> operation.</p>
|
|
224
|
-
* <p>When you use the <code>BatchPutDocument</code> operation,
|
|
225
|
-
* documents are indexed asynchronously. You can use the
|
|
226
|
-
* <code>BatchGetDocumentStatus</code> operation to get the current
|
|
227
|
-
* status of a list of documents so that you can determine if they have
|
|
228
|
-
* been successfully indexed.</p>
|
|
229
|
-
* <p>You can also use the <code>BatchGetDocumentStatus</code> operation
|
|
230
|
-
* to check the status of the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchDeleteDocument.html">
|
|
231
|
-
* BatchDeleteDocument</a> operation. When a document is
|
|
232
|
-
* deleted from the index, Amazon Kendra returns <code>NOT_FOUND</code> as the
|
|
233
|
-
* status.</p>
|
|
234
|
-
*/
|
|
235
|
-
public batchGetDocumentStatus(
|
|
236
|
-
args: BatchGetDocumentStatusCommandInput,
|
|
237
|
-
options?: __HttpHandlerOptions
|
|
238
|
-
): Promise<BatchGetDocumentStatusCommandOutput>;
|
|
239
|
-
public batchGetDocumentStatus(
|
|
240
|
-
args: BatchGetDocumentStatusCommandInput,
|
|
241
|
-
cb: (err: any, data?: BatchGetDocumentStatusCommandOutput) => void
|
|
242
|
-
): void;
|
|
243
|
-
public batchGetDocumentStatus(
|
|
244
|
-
args: BatchGetDocumentStatusCommandInput,
|
|
245
|
-
options: __HttpHandlerOptions,
|
|
246
|
-
cb: (err: any, data?: BatchGetDocumentStatusCommandOutput) => void
|
|
247
|
-
): void;
|
|
248
|
-
public batchGetDocumentStatus(
|
|
249
|
-
args: BatchGetDocumentStatusCommandInput,
|
|
250
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetDocumentStatusCommandOutput) => void),
|
|
251
|
-
cb?: (err: any, data?: BatchGetDocumentStatusCommandOutput) => void
|
|
252
|
-
): Promise<BatchGetDocumentStatusCommandOutput> | void {
|
|
253
|
-
const command = new BatchGetDocumentStatusCommand(args);
|
|
254
|
-
if (typeof optionsOrCb === "function") {
|
|
255
|
-
this.send(command, optionsOrCb);
|
|
256
|
-
} else if (typeof cb === "function") {
|
|
257
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
258
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
259
|
-
} else {
|
|
260
|
-
return this.send(command, optionsOrCb);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* <p>Adds one or more documents to an index.</p>
|
|
266
|
-
* <p>The <code>BatchPutDocument</code> operation enables you to ingest
|
|
267
|
-
* inline documents or a set of documents stored in an Amazon S3 bucket. Use
|
|
268
|
-
* this operation to ingest your text and unstructured text into an index,
|
|
269
|
-
* add custom attributes to the documents, and to attach an access control
|
|
270
|
-
* list to the documents added to the index.</p>
|
|
271
|
-
* <p>The documents are indexed asynchronously. You can see the progress of
|
|
272
|
-
* the batch using Amazon Web Services CloudWatch. Any error messages related to processing
|
|
273
|
-
* the batch are sent to your Amazon Web Services CloudWatch log.</p>
|
|
274
|
-
*/
|
|
275
|
-
public batchPutDocument(
|
|
276
|
-
args: BatchPutDocumentCommandInput,
|
|
277
|
-
options?: __HttpHandlerOptions
|
|
278
|
-
): Promise<BatchPutDocumentCommandOutput>;
|
|
279
|
-
public batchPutDocument(
|
|
280
|
-
args: BatchPutDocumentCommandInput,
|
|
281
|
-
cb: (err: any, data?: BatchPutDocumentCommandOutput) => void
|
|
282
|
-
): void;
|
|
283
|
-
public batchPutDocument(
|
|
284
|
-
args: BatchPutDocumentCommandInput,
|
|
285
|
-
options: __HttpHandlerOptions,
|
|
286
|
-
cb: (err: any, data?: BatchPutDocumentCommandOutput) => void
|
|
287
|
-
): void;
|
|
288
|
-
public batchPutDocument(
|
|
289
|
-
args: BatchPutDocumentCommandInput,
|
|
290
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchPutDocumentCommandOutput) => void),
|
|
291
|
-
cb?: (err: any, data?: BatchPutDocumentCommandOutput) => void
|
|
292
|
-
): Promise<BatchPutDocumentCommandOutput> | void {
|
|
293
|
-
const command = new BatchPutDocumentCommand(args);
|
|
294
|
-
if (typeof optionsOrCb === "function") {
|
|
295
|
-
this.send(command, optionsOrCb);
|
|
296
|
-
} else if (typeof cb === "function") {
|
|
297
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
298
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
299
|
-
} else {
|
|
300
|
-
return this.send(command, optionsOrCb);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* <p>Clears existing query suggestions from an index.</p>
|
|
306
|
-
* <p>This deletes existing suggestions only, not the queries
|
|
307
|
-
* in the query log. After you clear suggestions, Amazon Kendra learns
|
|
308
|
-
* new suggestions based on new queries added to the query log
|
|
309
|
-
* from the time you cleared suggestions. If you do not see any
|
|
310
|
-
* new suggestions, then please allow Amazon Kendra to collect
|
|
311
|
-
* enough queries to learn new suggestions.</p>
|
|
312
|
-
*/
|
|
313
|
-
public clearQuerySuggestions(
|
|
314
|
-
args: ClearQuerySuggestionsCommandInput,
|
|
315
|
-
options?: __HttpHandlerOptions
|
|
316
|
-
): Promise<ClearQuerySuggestionsCommandOutput>;
|
|
317
|
-
public clearQuerySuggestions(
|
|
318
|
-
args: ClearQuerySuggestionsCommandInput,
|
|
319
|
-
cb: (err: any, data?: ClearQuerySuggestionsCommandOutput) => void
|
|
320
|
-
): void;
|
|
321
|
-
public clearQuerySuggestions(
|
|
322
|
-
args: ClearQuerySuggestionsCommandInput,
|
|
323
|
-
options: __HttpHandlerOptions,
|
|
324
|
-
cb: (err: any, data?: ClearQuerySuggestionsCommandOutput) => void
|
|
325
|
-
): void;
|
|
326
|
-
public clearQuerySuggestions(
|
|
327
|
-
args: ClearQuerySuggestionsCommandInput,
|
|
328
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ClearQuerySuggestionsCommandOutput) => void),
|
|
329
|
-
cb?: (err: any, data?: ClearQuerySuggestionsCommandOutput) => void
|
|
330
|
-
): Promise<ClearQuerySuggestionsCommandOutput> | void {
|
|
331
|
-
const command = new ClearQuerySuggestionsCommand(args);
|
|
332
|
-
if (typeof optionsOrCb === "function") {
|
|
333
|
-
this.send(command, optionsOrCb);
|
|
334
|
-
} else if (typeof cb === "function") {
|
|
335
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
336
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
337
|
-
} else {
|
|
338
|
-
return this.send(command, optionsOrCb);
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* <p>Creates a data source that you use to with an Amazon Kendra index. </p>
|
|
344
|
-
* <p>You specify a name, data source connector type and description for
|
|
345
|
-
* your data source. You also specify configuration information such as
|
|
346
|
-
* document metadata (author, source URI, and so on) and user context
|
|
347
|
-
* information.</p>
|
|
348
|
-
* <p>
|
|
349
|
-
* <code>CreateDataSource</code> is a synchronous operation. The
|
|
350
|
-
* operation returns 200 if the data source was successfully created.
|
|
351
|
-
* Otherwise, an exception is raised.</p>
|
|
352
|
-
*/
|
|
353
|
-
public createDataSource(
|
|
354
|
-
args: CreateDataSourceCommandInput,
|
|
355
|
-
options?: __HttpHandlerOptions
|
|
356
|
-
): Promise<CreateDataSourceCommandOutput>;
|
|
357
|
-
public createDataSource(
|
|
358
|
-
args: CreateDataSourceCommandInput,
|
|
359
|
-
cb: (err: any, data?: CreateDataSourceCommandOutput) => void
|
|
360
|
-
): void;
|
|
361
|
-
public createDataSource(
|
|
362
|
-
args: CreateDataSourceCommandInput,
|
|
363
|
-
options: __HttpHandlerOptions,
|
|
364
|
-
cb: (err: any, data?: CreateDataSourceCommandOutput) => void
|
|
365
|
-
): void;
|
|
366
|
-
public createDataSource(
|
|
367
|
-
args: CreateDataSourceCommandInput,
|
|
368
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDataSourceCommandOutput) => void),
|
|
369
|
-
cb?: (err: any, data?: CreateDataSourceCommandOutput) => void
|
|
370
|
-
): Promise<CreateDataSourceCommandOutput> | void {
|
|
371
|
-
const command = new CreateDataSourceCommand(args);
|
|
372
|
-
if (typeof optionsOrCb === "function") {
|
|
373
|
-
this.send(command, optionsOrCb);
|
|
374
|
-
} else if (typeof cb === "function") {
|
|
375
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
376
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
377
|
-
} else {
|
|
378
|
-
return this.send(command, optionsOrCb);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* <p>Creates an new set of frequently asked question (FAQ) questions and answers.</p>
|
|
384
|
-
*/
|
|
385
|
-
public createFaq(args: CreateFaqCommandInput, options?: __HttpHandlerOptions): Promise<CreateFaqCommandOutput>;
|
|
386
|
-
public createFaq(args: CreateFaqCommandInput, cb: (err: any, data?: CreateFaqCommandOutput) => void): void;
|
|
387
|
-
public createFaq(
|
|
388
|
-
args: CreateFaqCommandInput,
|
|
389
|
-
options: __HttpHandlerOptions,
|
|
390
|
-
cb: (err: any, data?: CreateFaqCommandOutput) => void
|
|
391
|
-
): void;
|
|
392
|
-
public createFaq(
|
|
393
|
-
args: CreateFaqCommandInput,
|
|
394
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFaqCommandOutput) => void),
|
|
395
|
-
cb?: (err: any, data?: CreateFaqCommandOutput) => void
|
|
396
|
-
): Promise<CreateFaqCommandOutput> | void {
|
|
397
|
-
const command = new CreateFaqCommand(args);
|
|
398
|
-
if (typeof optionsOrCb === "function") {
|
|
399
|
-
this.send(command, optionsOrCb);
|
|
400
|
-
} else if (typeof cb === "function") {
|
|
401
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
402
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
403
|
-
} else {
|
|
404
|
-
return this.send(command, optionsOrCb);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* <p>Creates a new Amazon Kendra index. Index creation is an asynchronous
|
|
410
|
-
* operation. To determine if index creation has completed, check the
|
|
411
|
-
* <code>Status</code> field returned from a call to
|
|
412
|
-
* <code>DescribeIndex</code>. The <code>Status</code> field is set to
|
|
413
|
-
* <code>ACTIVE</code> when the index is ready to use.</p>
|
|
414
|
-
* <p>Once the index is active you can index your documents using the
|
|
415
|
-
* <code>BatchPutDocument</code> operation or using one of the supported
|
|
416
|
-
* data sources. </p>
|
|
417
|
-
*/
|
|
418
|
-
public createIndex(args: CreateIndexCommandInput, options?: __HttpHandlerOptions): Promise<CreateIndexCommandOutput>;
|
|
419
|
-
public createIndex(args: CreateIndexCommandInput, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
|
|
420
|
-
public createIndex(
|
|
421
|
-
args: CreateIndexCommandInput,
|
|
422
|
-
options: __HttpHandlerOptions,
|
|
423
|
-
cb: (err: any, data?: CreateIndexCommandOutput) => void
|
|
424
|
-
): void;
|
|
425
|
-
public createIndex(
|
|
426
|
-
args: CreateIndexCommandInput,
|
|
427
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIndexCommandOutput) => void),
|
|
428
|
-
cb?: (err: any, data?: CreateIndexCommandOutput) => void
|
|
429
|
-
): Promise<CreateIndexCommandOutput> | void {
|
|
430
|
-
const command = new CreateIndexCommand(args);
|
|
431
|
-
if (typeof optionsOrCb === "function") {
|
|
432
|
-
this.send(command, optionsOrCb);
|
|
433
|
-
} else if (typeof cb === "function") {
|
|
434
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
435
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
436
|
-
} else {
|
|
437
|
-
return this.send(command, optionsOrCb);
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* <p>Creates a block list to exlcude certain queries from suggestions.</p>
|
|
443
|
-
* <p>Any query that contains words or phrases specified in the block
|
|
444
|
-
* list is blocked or filtered out from being shown as a suggestion.</p>
|
|
445
|
-
* <p>You need to provide the file location of your block list text file
|
|
446
|
-
* in your S3 bucket. In your text file, enter each block word or phrase
|
|
447
|
-
* on a separate line.</p>
|
|
448
|
-
* <p>For information on the current quota limits for block lists, see
|
|
449
|
-
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas
|
|
450
|
-
* for Amazon Kendra</a>.</p>
|
|
451
|
-
*/
|
|
452
|
-
public createQuerySuggestionsBlockList(
|
|
453
|
-
args: CreateQuerySuggestionsBlockListCommandInput,
|
|
454
|
-
options?: __HttpHandlerOptions
|
|
455
|
-
): Promise<CreateQuerySuggestionsBlockListCommandOutput>;
|
|
456
|
-
public createQuerySuggestionsBlockList(
|
|
457
|
-
args: CreateQuerySuggestionsBlockListCommandInput,
|
|
458
|
-
cb: (err: any, data?: CreateQuerySuggestionsBlockListCommandOutput) => void
|
|
459
|
-
): void;
|
|
460
|
-
public createQuerySuggestionsBlockList(
|
|
461
|
-
args: CreateQuerySuggestionsBlockListCommandInput,
|
|
462
|
-
options: __HttpHandlerOptions,
|
|
463
|
-
cb: (err: any, data?: CreateQuerySuggestionsBlockListCommandOutput) => void
|
|
464
|
-
): void;
|
|
465
|
-
public createQuerySuggestionsBlockList(
|
|
466
|
-
args: CreateQuerySuggestionsBlockListCommandInput,
|
|
467
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateQuerySuggestionsBlockListCommandOutput) => void),
|
|
468
|
-
cb?: (err: any, data?: CreateQuerySuggestionsBlockListCommandOutput) => void
|
|
469
|
-
): Promise<CreateQuerySuggestionsBlockListCommandOutput> | void {
|
|
470
|
-
const command = new CreateQuerySuggestionsBlockListCommand(args);
|
|
471
|
-
if (typeof optionsOrCb === "function") {
|
|
472
|
-
this.send(command, optionsOrCb);
|
|
473
|
-
} else if (typeof cb === "function") {
|
|
474
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
475
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
476
|
-
} else {
|
|
477
|
-
return this.send(command, optionsOrCb);
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* <p>Creates a thesaurus for an index. The thesaurus
|
|
483
|
-
* contains a list of synonyms in Solr format.</p>
|
|
484
|
-
*/
|
|
485
|
-
public createThesaurus(
|
|
486
|
-
args: CreateThesaurusCommandInput,
|
|
487
|
-
options?: __HttpHandlerOptions
|
|
488
|
-
): Promise<CreateThesaurusCommandOutput>;
|
|
489
|
-
public createThesaurus(
|
|
490
|
-
args: CreateThesaurusCommandInput,
|
|
491
|
-
cb: (err: any, data?: CreateThesaurusCommandOutput) => void
|
|
492
|
-
): void;
|
|
493
|
-
public createThesaurus(
|
|
494
|
-
args: CreateThesaurusCommandInput,
|
|
495
|
-
options: __HttpHandlerOptions,
|
|
496
|
-
cb: (err: any, data?: CreateThesaurusCommandOutput) => void
|
|
497
|
-
): void;
|
|
498
|
-
public createThesaurus(
|
|
499
|
-
args: CreateThesaurusCommandInput,
|
|
500
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateThesaurusCommandOutput) => void),
|
|
501
|
-
cb?: (err: any, data?: CreateThesaurusCommandOutput) => void
|
|
502
|
-
): Promise<CreateThesaurusCommandOutput> | void {
|
|
503
|
-
const command = new CreateThesaurusCommand(args);
|
|
504
|
-
if (typeof optionsOrCb === "function") {
|
|
505
|
-
this.send(command, optionsOrCb);
|
|
506
|
-
} else if (typeof cb === "function") {
|
|
507
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
508
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
509
|
-
} else {
|
|
510
|
-
return this.send(command, optionsOrCb);
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* <p>Deletes an Amazon Kendra data source. An exception is not thrown if the
|
|
516
|
-
* data source is already being deleted. While the data source is being
|
|
517
|
-
* deleted, the <code>Status</code> field returned by a call to the
|
|
518
|
-
* <code>DescribeDataSource</code> operation is set to
|
|
519
|
-
* <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>
|
|
520
|
-
*/
|
|
521
|
-
public deleteDataSource(
|
|
522
|
-
args: DeleteDataSourceCommandInput,
|
|
523
|
-
options?: __HttpHandlerOptions
|
|
524
|
-
): Promise<DeleteDataSourceCommandOutput>;
|
|
525
|
-
public deleteDataSource(
|
|
526
|
-
args: DeleteDataSourceCommandInput,
|
|
527
|
-
cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
|
|
528
|
-
): void;
|
|
529
|
-
public deleteDataSource(
|
|
530
|
-
args: DeleteDataSourceCommandInput,
|
|
531
|
-
options: __HttpHandlerOptions,
|
|
532
|
-
cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
|
|
533
|
-
): void;
|
|
534
|
-
public deleteDataSource(
|
|
535
|
-
args: DeleteDataSourceCommandInput,
|
|
536
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDataSourceCommandOutput) => void),
|
|
537
|
-
cb?: (err: any, data?: DeleteDataSourceCommandOutput) => void
|
|
538
|
-
): Promise<DeleteDataSourceCommandOutput> | void {
|
|
539
|
-
const command = new DeleteDataSourceCommand(args);
|
|
540
|
-
if (typeof optionsOrCb === "function") {
|
|
541
|
-
this.send(command, optionsOrCb);
|
|
542
|
-
} else if (typeof cb === "function") {
|
|
543
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
544
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
545
|
-
} else {
|
|
546
|
-
return this.send(command, optionsOrCb);
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* <p>Removes an FAQ from an index.</p>
|
|
552
|
-
*/
|
|
553
|
-
public deleteFaq(args: DeleteFaqCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFaqCommandOutput>;
|
|
554
|
-
public deleteFaq(args: DeleteFaqCommandInput, cb: (err: any, data?: DeleteFaqCommandOutput) => void): void;
|
|
555
|
-
public deleteFaq(
|
|
556
|
-
args: DeleteFaqCommandInput,
|
|
557
|
-
options: __HttpHandlerOptions,
|
|
558
|
-
cb: (err: any, data?: DeleteFaqCommandOutput) => void
|
|
559
|
-
): void;
|
|
560
|
-
public deleteFaq(
|
|
561
|
-
args: DeleteFaqCommandInput,
|
|
562
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFaqCommandOutput) => void),
|
|
563
|
-
cb?: (err: any, data?: DeleteFaqCommandOutput) => void
|
|
564
|
-
): Promise<DeleteFaqCommandOutput> | void {
|
|
565
|
-
const command = new DeleteFaqCommand(args);
|
|
566
|
-
if (typeof optionsOrCb === "function") {
|
|
567
|
-
this.send(command, optionsOrCb);
|
|
568
|
-
} else if (typeof cb === "function") {
|
|
569
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
570
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
571
|
-
} else {
|
|
572
|
-
return this.send(command, optionsOrCb);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
* <p>Deletes an existing Amazon Kendra index. An exception is not thrown if
|
|
578
|
-
* the index is already being deleted. While the index is being deleted, the
|
|
579
|
-
* <code>Status</code> field returned by a call to the
|
|
580
|
-
* <code>DescribeIndex</code> operation is set to
|
|
581
|
-
* <code>DELETING</code>.</p>
|
|
582
|
-
*/
|
|
583
|
-
public deleteIndex(args: DeleteIndexCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexCommandOutput>;
|
|
584
|
-
public deleteIndex(args: DeleteIndexCommandInput, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
|
|
585
|
-
public deleteIndex(
|
|
586
|
-
args: DeleteIndexCommandInput,
|
|
587
|
-
options: __HttpHandlerOptions,
|
|
588
|
-
cb: (err: any, data?: DeleteIndexCommandOutput) => void
|
|
589
|
-
): void;
|
|
590
|
-
public deleteIndex(
|
|
591
|
-
args: DeleteIndexCommandInput,
|
|
592
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIndexCommandOutput) => void),
|
|
593
|
-
cb?: (err: any, data?: DeleteIndexCommandOutput) => void
|
|
594
|
-
): Promise<DeleteIndexCommandOutput> | void {
|
|
595
|
-
const command = new DeleteIndexCommand(args);
|
|
596
|
-
if (typeof optionsOrCb === "function") {
|
|
597
|
-
this.send(command, optionsOrCb);
|
|
598
|
-
} else if (typeof cb === "function") {
|
|
599
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
600
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
601
|
-
} else {
|
|
602
|
-
return this.send(command, optionsOrCb);
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* <p>Deletes a group so that all users and sub groups that belong to the group can
|
|
608
|
-
* no longer access documents only available to that group.</p>
|
|
609
|
-
* <p>For example, after deleting the group "Summer Interns", all interns who
|
|
610
|
-
* belonged to that group no longer see intern-only documents in their search
|
|
611
|
-
* results.</p>
|
|
612
|
-
* <p>If you want to delete or replace users or sub groups of a group, you need to
|
|
613
|
-
* use the <code>PutPrincipalMapping</code> operation. For example, if a user in
|
|
614
|
-
* the group "Engineering" leaves the engineering team and another user takes
|
|
615
|
-
* their place, you provide an updated list of users or sub groups that belong
|
|
616
|
-
* to the "Engineering" group when calling <code>PutPrincipalMapping</code>. You
|
|
617
|
-
* can update your internal list of users or sub groups and input this list
|
|
618
|
-
* when calling <code>PutPrincipalMapping</code>.</p>
|
|
619
|
-
*/
|
|
620
|
-
public deletePrincipalMapping(
|
|
621
|
-
args: DeletePrincipalMappingCommandInput,
|
|
622
|
-
options?: __HttpHandlerOptions
|
|
623
|
-
): Promise<DeletePrincipalMappingCommandOutput>;
|
|
624
|
-
public deletePrincipalMapping(
|
|
625
|
-
args: DeletePrincipalMappingCommandInput,
|
|
626
|
-
cb: (err: any, data?: DeletePrincipalMappingCommandOutput) => void
|
|
627
|
-
): void;
|
|
628
|
-
public deletePrincipalMapping(
|
|
629
|
-
args: DeletePrincipalMappingCommandInput,
|
|
630
|
-
options: __HttpHandlerOptions,
|
|
631
|
-
cb: (err: any, data?: DeletePrincipalMappingCommandOutput) => void
|
|
632
|
-
): void;
|
|
633
|
-
public deletePrincipalMapping(
|
|
634
|
-
args: DeletePrincipalMappingCommandInput,
|
|
635
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePrincipalMappingCommandOutput) => void),
|
|
636
|
-
cb?: (err: any, data?: DeletePrincipalMappingCommandOutput) => void
|
|
637
|
-
): Promise<DeletePrincipalMappingCommandOutput> | void {
|
|
638
|
-
const command = new DeletePrincipalMappingCommand(args);
|
|
639
|
-
if (typeof optionsOrCb === "function") {
|
|
640
|
-
this.send(command, optionsOrCb);
|
|
641
|
-
} else if (typeof cb === "function") {
|
|
642
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
643
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
644
|
-
} else {
|
|
645
|
-
return this.send(command, optionsOrCb);
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* <p>Deletes a block list used for query suggestions for an index.</p>
|
|
651
|
-
* <p>A deleted block list might not take effect right away. Amazon Kendra
|
|
652
|
-
* needs to refresh the entire suggestions list to add back the
|
|
653
|
-
* queries that were previously blocked.</p>
|
|
654
|
-
*/
|
|
655
|
-
public deleteQuerySuggestionsBlockList(
|
|
656
|
-
args: DeleteQuerySuggestionsBlockListCommandInput,
|
|
657
|
-
options?: __HttpHandlerOptions
|
|
658
|
-
): Promise<DeleteQuerySuggestionsBlockListCommandOutput>;
|
|
659
|
-
public deleteQuerySuggestionsBlockList(
|
|
660
|
-
args: DeleteQuerySuggestionsBlockListCommandInput,
|
|
661
|
-
cb: (err: any, data?: DeleteQuerySuggestionsBlockListCommandOutput) => void
|
|
662
|
-
): void;
|
|
663
|
-
public deleteQuerySuggestionsBlockList(
|
|
664
|
-
args: DeleteQuerySuggestionsBlockListCommandInput,
|
|
665
|
-
options: __HttpHandlerOptions,
|
|
666
|
-
cb: (err: any, data?: DeleteQuerySuggestionsBlockListCommandOutput) => void
|
|
667
|
-
): void;
|
|
668
|
-
public deleteQuerySuggestionsBlockList(
|
|
669
|
-
args: DeleteQuerySuggestionsBlockListCommandInput,
|
|
670
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteQuerySuggestionsBlockListCommandOutput) => void),
|
|
671
|
-
cb?: (err: any, data?: DeleteQuerySuggestionsBlockListCommandOutput) => void
|
|
672
|
-
): Promise<DeleteQuerySuggestionsBlockListCommandOutput> | void {
|
|
673
|
-
const command = new DeleteQuerySuggestionsBlockListCommand(args);
|
|
674
|
-
if (typeof optionsOrCb === "function") {
|
|
675
|
-
this.send(command, optionsOrCb);
|
|
676
|
-
} else if (typeof cb === "function") {
|
|
677
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
678
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
679
|
-
} else {
|
|
680
|
-
return this.send(command, optionsOrCb);
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* <p>Deletes an existing Amazon Kendra thesaurus.
|
|
686
|
-
* </p>
|
|
687
|
-
*/
|
|
688
|
-
public deleteThesaurus(
|
|
689
|
-
args: DeleteThesaurusCommandInput,
|
|
690
|
-
options?: __HttpHandlerOptions
|
|
691
|
-
): Promise<DeleteThesaurusCommandOutput>;
|
|
692
|
-
public deleteThesaurus(
|
|
693
|
-
args: DeleteThesaurusCommandInput,
|
|
694
|
-
cb: (err: any, data?: DeleteThesaurusCommandOutput) => void
|
|
695
|
-
): void;
|
|
696
|
-
public deleteThesaurus(
|
|
697
|
-
args: DeleteThesaurusCommandInput,
|
|
698
|
-
options: __HttpHandlerOptions,
|
|
699
|
-
cb: (err: any, data?: DeleteThesaurusCommandOutput) => void
|
|
700
|
-
): void;
|
|
701
|
-
public deleteThesaurus(
|
|
702
|
-
args: DeleteThesaurusCommandInput,
|
|
703
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteThesaurusCommandOutput) => void),
|
|
704
|
-
cb?: (err: any, data?: DeleteThesaurusCommandOutput) => void
|
|
705
|
-
): Promise<DeleteThesaurusCommandOutput> | void {
|
|
706
|
-
const command = new DeleteThesaurusCommand(args);
|
|
707
|
-
if (typeof optionsOrCb === "function") {
|
|
708
|
-
this.send(command, optionsOrCb);
|
|
709
|
-
} else if (typeof cb === "function") {
|
|
710
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
711
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
712
|
-
} else {
|
|
713
|
-
return this.send(command, optionsOrCb);
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* <p>Gets information about a Amazon Kendra data source.</p>
|
|
719
|
-
*/
|
|
720
|
-
public describeDataSource(
|
|
721
|
-
args: DescribeDataSourceCommandInput,
|
|
722
|
-
options?: __HttpHandlerOptions
|
|
723
|
-
): Promise<DescribeDataSourceCommandOutput>;
|
|
724
|
-
public describeDataSource(
|
|
725
|
-
args: DescribeDataSourceCommandInput,
|
|
726
|
-
cb: (err: any, data?: DescribeDataSourceCommandOutput) => void
|
|
727
|
-
): void;
|
|
728
|
-
public describeDataSource(
|
|
729
|
-
args: DescribeDataSourceCommandInput,
|
|
730
|
-
options: __HttpHandlerOptions,
|
|
731
|
-
cb: (err: any, data?: DescribeDataSourceCommandOutput) => void
|
|
732
|
-
): void;
|
|
733
|
-
public describeDataSource(
|
|
734
|
-
args: DescribeDataSourceCommandInput,
|
|
735
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDataSourceCommandOutput) => void),
|
|
736
|
-
cb?: (err: any, data?: DescribeDataSourceCommandOutput) => void
|
|
737
|
-
): Promise<DescribeDataSourceCommandOutput> | void {
|
|
738
|
-
const command = new DescribeDataSourceCommand(args);
|
|
739
|
-
if (typeof optionsOrCb === "function") {
|
|
740
|
-
this.send(command, optionsOrCb);
|
|
741
|
-
} else if (typeof cb === "function") {
|
|
742
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
743
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
744
|
-
} else {
|
|
745
|
-
return this.send(command, optionsOrCb);
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
* <p>Gets information about an FAQ list.</p>
|
|
751
|
-
*/
|
|
752
|
-
public describeFaq(args: DescribeFaqCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFaqCommandOutput>;
|
|
753
|
-
public describeFaq(args: DescribeFaqCommandInput, cb: (err: any, data?: DescribeFaqCommandOutput) => void): void;
|
|
754
|
-
public describeFaq(
|
|
755
|
-
args: DescribeFaqCommandInput,
|
|
756
|
-
options: __HttpHandlerOptions,
|
|
757
|
-
cb: (err: any, data?: DescribeFaqCommandOutput) => void
|
|
758
|
-
): void;
|
|
759
|
-
public describeFaq(
|
|
760
|
-
args: DescribeFaqCommandInput,
|
|
761
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFaqCommandOutput) => void),
|
|
762
|
-
cb?: (err: any, data?: DescribeFaqCommandOutput) => void
|
|
763
|
-
): Promise<DescribeFaqCommandOutput> | void {
|
|
764
|
-
const command = new DescribeFaqCommand(args);
|
|
765
|
-
if (typeof optionsOrCb === "function") {
|
|
766
|
-
this.send(command, optionsOrCb);
|
|
767
|
-
} else if (typeof cb === "function") {
|
|
768
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
769
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
770
|
-
} else {
|
|
771
|
-
return this.send(command, optionsOrCb);
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* <p>Describes an existing Amazon Kendra index</p>
|
|
777
|
-
*/
|
|
778
|
-
public describeIndex(
|
|
779
|
-
args: DescribeIndexCommandInput,
|
|
780
|
-
options?: __HttpHandlerOptions
|
|
781
|
-
): Promise<DescribeIndexCommandOutput>;
|
|
782
|
-
public describeIndex(
|
|
783
|
-
args: DescribeIndexCommandInput,
|
|
784
|
-
cb: (err: any, data?: DescribeIndexCommandOutput) => void
|
|
785
|
-
): void;
|
|
786
|
-
public describeIndex(
|
|
787
|
-
args: DescribeIndexCommandInput,
|
|
788
|
-
options: __HttpHandlerOptions,
|
|
789
|
-
cb: (err: any, data?: DescribeIndexCommandOutput) => void
|
|
790
|
-
): void;
|
|
791
|
-
public describeIndex(
|
|
792
|
-
args: DescribeIndexCommandInput,
|
|
793
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeIndexCommandOutput) => void),
|
|
794
|
-
cb?: (err: any, data?: DescribeIndexCommandOutput) => void
|
|
795
|
-
): Promise<DescribeIndexCommandOutput> | void {
|
|
796
|
-
const command = new DescribeIndexCommand(args);
|
|
797
|
-
if (typeof optionsOrCb === "function") {
|
|
798
|
-
this.send(command, optionsOrCb);
|
|
799
|
-
} else if (typeof cb === "function") {
|
|
800
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
801
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
802
|
-
} else {
|
|
803
|
-
return this.send(command, optionsOrCb);
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
/**
|
|
808
|
-
* <p>Describes the processing of <code>PUT</code> and <code>DELETE</code> actions
|
|
809
|
-
* for mapping users to their groups. This includes information on the status of
|
|
810
|
-
* actions currently processing or yet to be processed, when actions were last updated,
|
|
811
|
-
* when actions were received by Amazon Kendra, the latest action that should process
|
|
812
|
-
* and apply after other actions, and useful error messages if an action could
|
|
813
|
-
* not be processed.</p>
|
|
814
|
-
*/
|
|
815
|
-
public describePrincipalMapping(
|
|
816
|
-
args: DescribePrincipalMappingCommandInput,
|
|
817
|
-
options?: __HttpHandlerOptions
|
|
818
|
-
): Promise<DescribePrincipalMappingCommandOutput>;
|
|
819
|
-
public describePrincipalMapping(
|
|
820
|
-
args: DescribePrincipalMappingCommandInput,
|
|
821
|
-
cb: (err: any, data?: DescribePrincipalMappingCommandOutput) => void
|
|
822
|
-
): void;
|
|
823
|
-
public describePrincipalMapping(
|
|
824
|
-
args: DescribePrincipalMappingCommandInput,
|
|
825
|
-
options: __HttpHandlerOptions,
|
|
826
|
-
cb: (err: any, data?: DescribePrincipalMappingCommandOutput) => void
|
|
827
|
-
): void;
|
|
828
|
-
public describePrincipalMapping(
|
|
829
|
-
args: DescribePrincipalMappingCommandInput,
|
|
830
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribePrincipalMappingCommandOutput) => void),
|
|
831
|
-
cb?: (err: any, data?: DescribePrincipalMappingCommandOutput) => void
|
|
832
|
-
): Promise<DescribePrincipalMappingCommandOutput> | void {
|
|
833
|
-
const command = new DescribePrincipalMappingCommand(args);
|
|
834
|
-
if (typeof optionsOrCb === "function") {
|
|
835
|
-
this.send(command, optionsOrCb);
|
|
836
|
-
} else if (typeof cb === "function") {
|
|
837
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
838
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
839
|
-
} else {
|
|
840
|
-
return this.send(command, optionsOrCb);
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
/**
|
|
845
|
-
* <p>Describes a block list used for query suggestions for an index.</p>
|
|
846
|
-
* <p>This is used to check the current settings that are applied to a
|
|
847
|
-
* block list.</p>
|
|
848
|
-
*/
|
|
849
|
-
public describeQuerySuggestionsBlockList(
|
|
850
|
-
args: DescribeQuerySuggestionsBlockListCommandInput,
|
|
851
|
-
options?: __HttpHandlerOptions
|
|
852
|
-
): Promise<DescribeQuerySuggestionsBlockListCommandOutput>;
|
|
853
|
-
public describeQuerySuggestionsBlockList(
|
|
854
|
-
args: DescribeQuerySuggestionsBlockListCommandInput,
|
|
855
|
-
cb: (err: any, data?: DescribeQuerySuggestionsBlockListCommandOutput) => void
|
|
856
|
-
): void;
|
|
857
|
-
public describeQuerySuggestionsBlockList(
|
|
858
|
-
args: DescribeQuerySuggestionsBlockListCommandInput,
|
|
859
|
-
options: __HttpHandlerOptions,
|
|
860
|
-
cb: (err: any, data?: DescribeQuerySuggestionsBlockListCommandOutput) => void
|
|
861
|
-
): void;
|
|
862
|
-
public describeQuerySuggestionsBlockList(
|
|
863
|
-
args: DescribeQuerySuggestionsBlockListCommandInput,
|
|
864
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeQuerySuggestionsBlockListCommandOutput) => void),
|
|
865
|
-
cb?: (err: any, data?: DescribeQuerySuggestionsBlockListCommandOutput) => void
|
|
866
|
-
): Promise<DescribeQuerySuggestionsBlockListCommandOutput> | void {
|
|
867
|
-
const command = new DescribeQuerySuggestionsBlockListCommand(args);
|
|
868
|
-
if (typeof optionsOrCb === "function") {
|
|
869
|
-
this.send(command, optionsOrCb);
|
|
870
|
-
} else if (typeof cb === "function") {
|
|
871
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
872
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
873
|
-
} else {
|
|
874
|
-
return this.send(command, optionsOrCb);
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* <p>Describes the settings of query suggestions for an index.</p>
|
|
880
|
-
* <p>This is used to check the current settings applied
|
|
881
|
-
* to query suggestions.</p>
|
|
882
|
-
*/
|
|
883
|
-
public describeQuerySuggestionsConfig(
|
|
884
|
-
args: DescribeQuerySuggestionsConfigCommandInput,
|
|
885
|
-
options?: __HttpHandlerOptions
|
|
886
|
-
): Promise<DescribeQuerySuggestionsConfigCommandOutput>;
|
|
887
|
-
public describeQuerySuggestionsConfig(
|
|
888
|
-
args: DescribeQuerySuggestionsConfigCommandInput,
|
|
889
|
-
cb: (err: any, data?: DescribeQuerySuggestionsConfigCommandOutput) => void
|
|
890
|
-
): void;
|
|
891
|
-
public describeQuerySuggestionsConfig(
|
|
892
|
-
args: DescribeQuerySuggestionsConfigCommandInput,
|
|
893
|
-
options: __HttpHandlerOptions,
|
|
894
|
-
cb: (err: any, data?: DescribeQuerySuggestionsConfigCommandOutput) => void
|
|
895
|
-
): void;
|
|
896
|
-
public describeQuerySuggestionsConfig(
|
|
897
|
-
args: DescribeQuerySuggestionsConfigCommandInput,
|
|
898
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeQuerySuggestionsConfigCommandOutput) => void),
|
|
899
|
-
cb?: (err: any, data?: DescribeQuerySuggestionsConfigCommandOutput) => void
|
|
900
|
-
): Promise<DescribeQuerySuggestionsConfigCommandOutput> | void {
|
|
901
|
-
const command = new DescribeQuerySuggestionsConfigCommand(args);
|
|
902
|
-
if (typeof optionsOrCb === "function") {
|
|
903
|
-
this.send(command, optionsOrCb);
|
|
904
|
-
} else if (typeof cb === "function") {
|
|
905
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
906
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
907
|
-
} else {
|
|
908
|
-
return this.send(command, optionsOrCb);
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
/**
|
|
913
|
-
* <p>Describes an existing Amazon Kendra thesaurus.</p>
|
|
914
|
-
*/
|
|
915
|
-
public describeThesaurus(
|
|
916
|
-
args: DescribeThesaurusCommandInput,
|
|
917
|
-
options?: __HttpHandlerOptions
|
|
918
|
-
): Promise<DescribeThesaurusCommandOutput>;
|
|
919
|
-
public describeThesaurus(
|
|
920
|
-
args: DescribeThesaurusCommandInput,
|
|
921
|
-
cb: (err: any, data?: DescribeThesaurusCommandOutput) => void
|
|
922
|
-
): void;
|
|
923
|
-
public describeThesaurus(
|
|
924
|
-
args: DescribeThesaurusCommandInput,
|
|
925
|
-
options: __HttpHandlerOptions,
|
|
926
|
-
cb: (err: any, data?: DescribeThesaurusCommandOutput) => void
|
|
927
|
-
): void;
|
|
928
|
-
public describeThesaurus(
|
|
929
|
-
args: DescribeThesaurusCommandInput,
|
|
930
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeThesaurusCommandOutput) => void),
|
|
931
|
-
cb?: (err: any, data?: DescribeThesaurusCommandOutput) => void
|
|
932
|
-
): Promise<DescribeThesaurusCommandOutput> | void {
|
|
933
|
-
const command = new DescribeThesaurusCommand(args);
|
|
934
|
-
if (typeof optionsOrCb === "function") {
|
|
935
|
-
this.send(command, optionsOrCb);
|
|
936
|
-
} else if (typeof cb === "function") {
|
|
937
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
938
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
939
|
-
} else {
|
|
940
|
-
return this.send(command, optionsOrCb);
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
/**
|
|
945
|
-
* <p>Fetches the queries that are suggested to your users.</p>
|
|
946
|
-
*/
|
|
947
|
-
public getQuerySuggestions(
|
|
948
|
-
args: GetQuerySuggestionsCommandInput,
|
|
949
|
-
options?: __HttpHandlerOptions
|
|
950
|
-
): Promise<GetQuerySuggestionsCommandOutput>;
|
|
951
|
-
public getQuerySuggestions(
|
|
952
|
-
args: GetQuerySuggestionsCommandInput,
|
|
953
|
-
cb: (err: any, data?: GetQuerySuggestionsCommandOutput) => void
|
|
954
|
-
): void;
|
|
955
|
-
public getQuerySuggestions(
|
|
956
|
-
args: GetQuerySuggestionsCommandInput,
|
|
957
|
-
options: __HttpHandlerOptions,
|
|
958
|
-
cb: (err: any, data?: GetQuerySuggestionsCommandOutput) => void
|
|
959
|
-
): void;
|
|
960
|
-
public getQuerySuggestions(
|
|
961
|
-
args: GetQuerySuggestionsCommandInput,
|
|
962
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetQuerySuggestionsCommandOutput) => void),
|
|
963
|
-
cb?: (err: any, data?: GetQuerySuggestionsCommandOutput) => void
|
|
964
|
-
): Promise<GetQuerySuggestionsCommandOutput> | void {
|
|
965
|
-
const command = new GetQuerySuggestionsCommand(args);
|
|
966
|
-
if (typeof optionsOrCb === "function") {
|
|
967
|
-
this.send(command, optionsOrCb);
|
|
968
|
-
} else if (typeof cb === "function") {
|
|
969
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
970
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
971
|
-
} else {
|
|
972
|
-
return this.send(command, optionsOrCb);
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
* <p>Lists the data sources that you have created.</p>
|
|
978
|
-
*/
|
|
979
|
-
public listDataSources(
|
|
980
|
-
args: ListDataSourcesCommandInput,
|
|
981
|
-
options?: __HttpHandlerOptions
|
|
982
|
-
): Promise<ListDataSourcesCommandOutput>;
|
|
983
|
-
public listDataSources(
|
|
984
|
-
args: ListDataSourcesCommandInput,
|
|
985
|
-
cb: (err: any, data?: ListDataSourcesCommandOutput) => void
|
|
986
|
-
): void;
|
|
987
|
-
public listDataSources(
|
|
988
|
-
args: ListDataSourcesCommandInput,
|
|
989
|
-
options: __HttpHandlerOptions,
|
|
990
|
-
cb: (err: any, data?: ListDataSourcesCommandOutput) => void
|
|
991
|
-
): void;
|
|
992
|
-
public listDataSources(
|
|
993
|
-
args: ListDataSourcesCommandInput,
|
|
994
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDataSourcesCommandOutput) => void),
|
|
995
|
-
cb?: (err: any, data?: ListDataSourcesCommandOutput) => void
|
|
996
|
-
): Promise<ListDataSourcesCommandOutput> | void {
|
|
997
|
-
const command = new ListDataSourcesCommand(args);
|
|
998
|
-
if (typeof optionsOrCb === "function") {
|
|
999
|
-
this.send(command, optionsOrCb);
|
|
1000
|
-
} else if (typeof cb === "function") {
|
|
1001
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1002
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1003
|
-
} else {
|
|
1004
|
-
return this.send(command, optionsOrCb);
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
/**
|
|
1009
|
-
* <p>Gets statistics about synchronizing Amazon Kendra with a data
|
|
1010
|
-
* source.</p>
|
|
1011
|
-
*/
|
|
1012
|
-
public listDataSourceSyncJobs(
|
|
1013
|
-
args: ListDataSourceSyncJobsCommandInput,
|
|
1014
|
-
options?: __HttpHandlerOptions
|
|
1015
|
-
): Promise<ListDataSourceSyncJobsCommandOutput>;
|
|
1016
|
-
public listDataSourceSyncJobs(
|
|
1017
|
-
args: ListDataSourceSyncJobsCommandInput,
|
|
1018
|
-
cb: (err: any, data?: ListDataSourceSyncJobsCommandOutput) => void
|
|
1019
|
-
): void;
|
|
1020
|
-
public listDataSourceSyncJobs(
|
|
1021
|
-
args: ListDataSourceSyncJobsCommandInput,
|
|
1022
|
-
options: __HttpHandlerOptions,
|
|
1023
|
-
cb: (err: any, data?: ListDataSourceSyncJobsCommandOutput) => void
|
|
1024
|
-
): void;
|
|
1025
|
-
public listDataSourceSyncJobs(
|
|
1026
|
-
args: ListDataSourceSyncJobsCommandInput,
|
|
1027
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDataSourceSyncJobsCommandOutput) => void),
|
|
1028
|
-
cb?: (err: any, data?: ListDataSourceSyncJobsCommandOutput) => void
|
|
1029
|
-
): Promise<ListDataSourceSyncJobsCommandOutput> | void {
|
|
1030
|
-
const command = new ListDataSourceSyncJobsCommand(args);
|
|
1031
|
-
if (typeof optionsOrCb === "function") {
|
|
1032
|
-
this.send(command, optionsOrCb);
|
|
1033
|
-
} else if (typeof cb === "function") {
|
|
1034
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1035
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1036
|
-
} else {
|
|
1037
|
-
return this.send(command, optionsOrCb);
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
/**
|
|
1042
|
-
* <p>Gets a list of FAQ lists associated with an index.</p>
|
|
1043
|
-
*/
|
|
1044
|
-
public listFaqs(args: ListFaqsCommandInput, options?: __HttpHandlerOptions): Promise<ListFaqsCommandOutput>;
|
|
1045
|
-
public listFaqs(args: ListFaqsCommandInput, cb: (err: any, data?: ListFaqsCommandOutput) => void): void;
|
|
1046
|
-
public listFaqs(
|
|
1047
|
-
args: ListFaqsCommandInput,
|
|
1048
|
-
options: __HttpHandlerOptions,
|
|
1049
|
-
cb: (err: any, data?: ListFaqsCommandOutput) => void
|
|
1050
|
-
): void;
|
|
1051
|
-
public listFaqs(
|
|
1052
|
-
args: ListFaqsCommandInput,
|
|
1053
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFaqsCommandOutput) => void),
|
|
1054
|
-
cb?: (err: any, data?: ListFaqsCommandOutput) => void
|
|
1055
|
-
): Promise<ListFaqsCommandOutput> | void {
|
|
1056
|
-
const command = new ListFaqsCommand(args);
|
|
1057
|
-
if (typeof optionsOrCb === "function") {
|
|
1058
|
-
this.send(command, optionsOrCb);
|
|
1059
|
-
} else if (typeof cb === "function") {
|
|
1060
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1061
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1062
|
-
} else {
|
|
1063
|
-
return this.send(command, optionsOrCb);
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
* <p>Provides a list of groups that are mapped to users before a
|
|
1069
|
-
* given ordering or timestamp identifier.</p>
|
|
1070
|
-
*/
|
|
1071
|
-
public listGroupsOlderThanOrderingId(
|
|
1072
|
-
args: ListGroupsOlderThanOrderingIdCommandInput,
|
|
1073
|
-
options?: __HttpHandlerOptions
|
|
1074
|
-
): Promise<ListGroupsOlderThanOrderingIdCommandOutput>;
|
|
1075
|
-
public listGroupsOlderThanOrderingId(
|
|
1076
|
-
args: ListGroupsOlderThanOrderingIdCommandInput,
|
|
1077
|
-
cb: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void
|
|
1078
|
-
): void;
|
|
1079
|
-
public listGroupsOlderThanOrderingId(
|
|
1080
|
-
args: ListGroupsOlderThanOrderingIdCommandInput,
|
|
1081
|
-
options: __HttpHandlerOptions,
|
|
1082
|
-
cb: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void
|
|
1083
|
-
): void;
|
|
1084
|
-
public listGroupsOlderThanOrderingId(
|
|
1085
|
-
args: ListGroupsOlderThanOrderingIdCommandInput,
|
|
1086
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void),
|
|
1087
|
-
cb?: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void
|
|
1088
|
-
): Promise<ListGroupsOlderThanOrderingIdCommandOutput> | void {
|
|
1089
|
-
const command = new ListGroupsOlderThanOrderingIdCommand(args);
|
|
1090
|
-
if (typeof optionsOrCb === "function") {
|
|
1091
|
-
this.send(command, optionsOrCb);
|
|
1092
|
-
} else if (typeof cb === "function") {
|
|
1093
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1094
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1095
|
-
} else {
|
|
1096
|
-
return this.send(command, optionsOrCb);
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
* <p>Lists the Amazon Kendra indexes that you have created.</p>
|
|
1102
|
-
*/
|
|
1103
|
-
public listIndices(args: ListIndicesCommandInput, options?: __HttpHandlerOptions): Promise<ListIndicesCommandOutput>;
|
|
1104
|
-
public listIndices(args: ListIndicesCommandInput, cb: (err: any, data?: ListIndicesCommandOutput) => void): void;
|
|
1105
|
-
public listIndices(
|
|
1106
|
-
args: ListIndicesCommandInput,
|
|
1107
|
-
options: __HttpHandlerOptions,
|
|
1108
|
-
cb: (err: any, data?: ListIndicesCommandOutput) => void
|
|
1109
|
-
): void;
|
|
1110
|
-
public listIndices(
|
|
1111
|
-
args: ListIndicesCommandInput,
|
|
1112
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListIndicesCommandOutput) => void),
|
|
1113
|
-
cb?: (err: any, data?: ListIndicesCommandOutput) => void
|
|
1114
|
-
): Promise<ListIndicesCommandOutput> | void {
|
|
1115
|
-
const command = new ListIndicesCommand(args);
|
|
1116
|
-
if (typeof optionsOrCb === "function") {
|
|
1117
|
-
this.send(command, optionsOrCb);
|
|
1118
|
-
} else if (typeof cb === "function") {
|
|
1119
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1120
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1121
|
-
} else {
|
|
1122
|
-
return this.send(command, optionsOrCb);
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
/**
|
|
1127
|
-
* <p>Lists the block lists used for query suggestions for an index.</p>
|
|
1128
|
-
* <p>For information on the current quota limits for block lists, see
|
|
1129
|
-
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas
|
|
1130
|
-
* for Amazon Kendra</a>.</p>
|
|
1131
|
-
*/
|
|
1132
|
-
public listQuerySuggestionsBlockLists(
|
|
1133
|
-
args: ListQuerySuggestionsBlockListsCommandInput,
|
|
1134
|
-
options?: __HttpHandlerOptions
|
|
1135
|
-
): Promise<ListQuerySuggestionsBlockListsCommandOutput>;
|
|
1136
|
-
public listQuerySuggestionsBlockLists(
|
|
1137
|
-
args: ListQuerySuggestionsBlockListsCommandInput,
|
|
1138
|
-
cb: (err: any, data?: ListQuerySuggestionsBlockListsCommandOutput) => void
|
|
1139
|
-
): void;
|
|
1140
|
-
public listQuerySuggestionsBlockLists(
|
|
1141
|
-
args: ListQuerySuggestionsBlockListsCommandInput,
|
|
1142
|
-
options: __HttpHandlerOptions,
|
|
1143
|
-
cb: (err: any, data?: ListQuerySuggestionsBlockListsCommandOutput) => void
|
|
1144
|
-
): void;
|
|
1145
|
-
public listQuerySuggestionsBlockLists(
|
|
1146
|
-
args: ListQuerySuggestionsBlockListsCommandInput,
|
|
1147
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListQuerySuggestionsBlockListsCommandOutput) => void),
|
|
1148
|
-
cb?: (err: any, data?: ListQuerySuggestionsBlockListsCommandOutput) => void
|
|
1149
|
-
): Promise<ListQuerySuggestionsBlockListsCommandOutput> | void {
|
|
1150
|
-
const command = new ListQuerySuggestionsBlockListsCommand(args);
|
|
1151
|
-
if (typeof optionsOrCb === "function") {
|
|
1152
|
-
this.send(command, optionsOrCb);
|
|
1153
|
-
} else if (typeof cb === "function") {
|
|
1154
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1155
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1156
|
-
} else {
|
|
1157
|
-
return this.send(command, optionsOrCb);
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
/**
|
|
1162
|
-
* <p>Gets a list of tags associated with a specified resource. Indexes,
|
|
1163
|
-
* FAQs, and data sources can have tags associated with them.</p>
|
|
1164
|
-
*/
|
|
1165
|
-
public listTagsForResource(
|
|
1166
|
-
args: ListTagsForResourceCommandInput,
|
|
1167
|
-
options?: __HttpHandlerOptions
|
|
1168
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
1169
|
-
public listTagsForResource(
|
|
1170
|
-
args: ListTagsForResourceCommandInput,
|
|
1171
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1172
|
-
): void;
|
|
1173
|
-
public listTagsForResource(
|
|
1174
|
-
args: ListTagsForResourceCommandInput,
|
|
1175
|
-
options: __HttpHandlerOptions,
|
|
1176
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1177
|
-
): void;
|
|
1178
|
-
public listTagsForResource(
|
|
1179
|
-
args: ListTagsForResourceCommandInput,
|
|
1180
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
1181
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1182
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
1183
|
-
const command = new ListTagsForResourceCommand(args);
|
|
1184
|
-
if (typeof optionsOrCb === "function") {
|
|
1185
|
-
this.send(command, optionsOrCb);
|
|
1186
|
-
} else if (typeof cb === "function") {
|
|
1187
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1188
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1189
|
-
} else {
|
|
1190
|
-
return this.send(command, optionsOrCb);
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
/**
|
|
1195
|
-
* <p>Lists the Amazon Kendra thesauri associated with an index.</p>
|
|
1196
|
-
*/
|
|
1197
|
-
public listThesauri(
|
|
1198
|
-
args: ListThesauriCommandInput,
|
|
1199
|
-
options?: __HttpHandlerOptions
|
|
1200
|
-
): Promise<ListThesauriCommandOutput>;
|
|
1201
|
-
public listThesauri(args: ListThesauriCommandInput, cb: (err: any, data?: ListThesauriCommandOutput) => void): void;
|
|
1202
|
-
public listThesauri(
|
|
1203
|
-
args: ListThesauriCommandInput,
|
|
1204
|
-
options: __HttpHandlerOptions,
|
|
1205
|
-
cb: (err: any, data?: ListThesauriCommandOutput) => void
|
|
1206
|
-
): void;
|
|
1207
|
-
public listThesauri(
|
|
1208
|
-
args: ListThesauriCommandInput,
|
|
1209
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListThesauriCommandOutput) => void),
|
|
1210
|
-
cb?: (err: any, data?: ListThesauriCommandOutput) => void
|
|
1211
|
-
): Promise<ListThesauriCommandOutput> | void {
|
|
1212
|
-
const command = new ListThesauriCommand(args);
|
|
1213
|
-
if (typeof optionsOrCb === "function") {
|
|
1214
|
-
this.send(command, optionsOrCb);
|
|
1215
|
-
} else if (typeof cb === "function") {
|
|
1216
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1217
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1218
|
-
} else {
|
|
1219
|
-
return this.send(command, optionsOrCb);
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
/**
|
|
1224
|
-
* <p>Maps users to their groups. You can also map sub groups to groups.
|
|
1225
|
-
* For example, the group "Company Intellectual Property Teams" includes
|
|
1226
|
-
* sub groups "Research" and "Engineering". These sub groups include their
|
|
1227
|
-
* own list of users or people who work in these teams. Only users who work
|
|
1228
|
-
* in research and engineering, and therefore belong in the intellectual
|
|
1229
|
-
* property group, can see top-secret company documents in their search
|
|
1230
|
-
* results. </p>
|
|
1231
|
-
* <p>You map users to their groups when you want to filter search results
|
|
1232
|
-
* for different users based on their group’s access to documents. For more
|
|
1233
|
-
* information on filtering search results for different users, see
|
|
1234
|
-
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html">Filtering
|
|
1235
|
-
* on user context</a>.</p>
|
|
1236
|
-
* <p>If more than five <code>PUT</code> actions for a group are currently
|
|
1237
|
-
* processing, a validation exception is thrown.</p>
|
|
1238
|
-
*/
|
|
1239
|
-
public putPrincipalMapping(
|
|
1240
|
-
args: PutPrincipalMappingCommandInput,
|
|
1241
|
-
options?: __HttpHandlerOptions
|
|
1242
|
-
): Promise<PutPrincipalMappingCommandOutput>;
|
|
1243
|
-
public putPrincipalMapping(
|
|
1244
|
-
args: PutPrincipalMappingCommandInput,
|
|
1245
|
-
cb: (err: any, data?: PutPrincipalMappingCommandOutput) => void
|
|
1246
|
-
): void;
|
|
1247
|
-
public putPrincipalMapping(
|
|
1248
|
-
args: PutPrincipalMappingCommandInput,
|
|
1249
|
-
options: __HttpHandlerOptions,
|
|
1250
|
-
cb: (err: any, data?: PutPrincipalMappingCommandOutput) => void
|
|
1251
|
-
): void;
|
|
1252
|
-
public putPrincipalMapping(
|
|
1253
|
-
args: PutPrincipalMappingCommandInput,
|
|
1254
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutPrincipalMappingCommandOutput) => void),
|
|
1255
|
-
cb?: (err: any, data?: PutPrincipalMappingCommandOutput) => void
|
|
1256
|
-
): Promise<PutPrincipalMappingCommandOutput> | void {
|
|
1257
|
-
const command = new PutPrincipalMappingCommand(args);
|
|
1258
|
-
if (typeof optionsOrCb === "function") {
|
|
1259
|
-
this.send(command, optionsOrCb);
|
|
1260
|
-
} else if (typeof cb === "function") {
|
|
1261
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1262
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1263
|
-
} else {
|
|
1264
|
-
return this.send(command, optionsOrCb);
|
|
1265
|
-
}
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
/**
|
|
1269
|
-
* <p>Searches an active index. Use this API to search your documents
|
|
1270
|
-
* using query. The <code>Query</code> operation enables to do faceted
|
|
1271
|
-
* search and to filter results based on document attributes.</p>
|
|
1272
|
-
* <p>It also enables you to provide user context that Amazon Kendra uses
|
|
1273
|
-
* to enforce document access control in the search results. </p>
|
|
1274
|
-
* <p>Amazon Kendra searches your index for text content and question and
|
|
1275
|
-
* answer (FAQ) content. By default the response contains three types of
|
|
1276
|
-
* results.</p>
|
|
1277
|
-
* <ul>
|
|
1278
|
-
* <li>
|
|
1279
|
-
* <p>Relevant passages</p>
|
|
1280
|
-
* </li>
|
|
1281
|
-
* <li>
|
|
1282
|
-
* <p>Matching FAQs</p>
|
|
1283
|
-
* </li>
|
|
1284
|
-
* <li>
|
|
1285
|
-
* <p>Relevant documents</p>
|
|
1286
|
-
* </li>
|
|
1287
|
-
* </ul>
|
|
1288
|
-
* <p>You can specify that the query return only one type of result using
|
|
1289
|
-
* the <code>QueryResultTypeConfig</code> parameter.</p>
|
|
1290
|
-
* <p>Each query returns the 100 most relevant results. </p>
|
|
1291
|
-
*/
|
|
1292
|
-
public query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise<QueryCommandOutput>;
|
|
1293
|
-
public query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void;
|
|
1294
|
-
public query(
|
|
1295
|
-
args: QueryCommandInput,
|
|
1296
|
-
options: __HttpHandlerOptions,
|
|
1297
|
-
cb: (err: any, data?: QueryCommandOutput) => void
|
|
1298
|
-
): void;
|
|
1299
|
-
public query(
|
|
1300
|
-
args: QueryCommandInput,
|
|
1301
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: QueryCommandOutput) => void),
|
|
1302
|
-
cb?: (err: any, data?: QueryCommandOutput) => void
|
|
1303
|
-
): Promise<QueryCommandOutput> | void {
|
|
1304
|
-
const command = new QueryCommand(args);
|
|
1305
|
-
if (typeof optionsOrCb === "function") {
|
|
1306
|
-
this.send(command, optionsOrCb);
|
|
1307
|
-
} else if (typeof cb === "function") {
|
|
1308
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1309
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1310
|
-
} else {
|
|
1311
|
-
return this.send(command, optionsOrCb);
|
|
1312
|
-
}
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
/**
|
|
1316
|
-
* <p>Starts a synchronization job for a data source. If a synchronization
|
|
1317
|
-
* job is already in progress, Amazon Kendra returns a
|
|
1318
|
-
* <code>ResourceInUseException</code> exception.</p>
|
|
1319
|
-
*/
|
|
1320
|
-
public startDataSourceSyncJob(
|
|
1321
|
-
args: StartDataSourceSyncJobCommandInput,
|
|
1322
|
-
options?: __HttpHandlerOptions
|
|
1323
|
-
): Promise<StartDataSourceSyncJobCommandOutput>;
|
|
1324
|
-
public startDataSourceSyncJob(
|
|
1325
|
-
args: StartDataSourceSyncJobCommandInput,
|
|
1326
|
-
cb: (err: any, data?: StartDataSourceSyncJobCommandOutput) => void
|
|
1327
|
-
): void;
|
|
1328
|
-
public startDataSourceSyncJob(
|
|
1329
|
-
args: StartDataSourceSyncJobCommandInput,
|
|
1330
|
-
options: __HttpHandlerOptions,
|
|
1331
|
-
cb: (err: any, data?: StartDataSourceSyncJobCommandOutput) => void
|
|
1332
|
-
): void;
|
|
1333
|
-
public startDataSourceSyncJob(
|
|
1334
|
-
args: StartDataSourceSyncJobCommandInput,
|
|
1335
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartDataSourceSyncJobCommandOutput) => void),
|
|
1336
|
-
cb?: (err: any, data?: StartDataSourceSyncJobCommandOutput) => void
|
|
1337
|
-
): Promise<StartDataSourceSyncJobCommandOutput> | void {
|
|
1338
|
-
const command = new StartDataSourceSyncJobCommand(args);
|
|
1339
|
-
if (typeof optionsOrCb === "function") {
|
|
1340
|
-
this.send(command, optionsOrCb);
|
|
1341
|
-
} else if (typeof cb === "function") {
|
|
1342
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1343
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1344
|
-
} else {
|
|
1345
|
-
return this.send(command, optionsOrCb);
|
|
1346
|
-
}
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* <p>Stops a running synchronization job. You can't stop a scheduled
|
|
1351
|
-
* synchronization job.</p>
|
|
1352
|
-
*/
|
|
1353
|
-
public stopDataSourceSyncJob(
|
|
1354
|
-
args: StopDataSourceSyncJobCommandInput,
|
|
1355
|
-
options?: __HttpHandlerOptions
|
|
1356
|
-
): Promise<StopDataSourceSyncJobCommandOutput>;
|
|
1357
|
-
public stopDataSourceSyncJob(
|
|
1358
|
-
args: StopDataSourceSyncJobCommandInput,
|
|
1359
|
-
cb: (err: any, data?: StopDataSourceSyncJobCommandOutput) => void
|
|
1360
|
-
): void;
|
|
1361
|
-
public stopDataSourceSyncJob(
|
|
1362
|
-
args: StopDataSourceSyncJobCommandInput,
|
|
1363
|
-
options: __HttpHandlerOptions,
|
|
1364
|
-
cb: (err: any, data?: StopDataSourceSyncJobCommandOutput) => void
|
|
1365
|
-
): void;
|
|
1366
|
-
public stopDataSourceSyncJob(
|
|
1367
|
-
args: StopDataSourceSyncJobCommandInput,
|
|
1368
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopDataSourceSyncJobCommandOutput) => void),
|
|
1369
|
-
cb?: (err: any, data?: StopDataSourceSyncJobCommandOutput) => void
|
|
1370
|
-
): Promise<StopDataSourceSyncJobCommandOutput> | void {
|
|
1371
|
-
const command = new StopDataSourceSyncJobCommand(args);
|
|
1372
|
-
if (typeof optionsOrCb === "function") {
|
|
1373
|
-
this.send(command, optionsOrCb);
|
|
1374
|
-
} else if (typeof cb === "function") {
|
|
1375
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1376
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1377
|
-
} else {
|
|
1378
|
-
return this.send(command, optionsOrCb);
|
|
1379
|
-
}
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
|
-
/**
|
|
1383
|
-
* <p>Enables you to provide feedback to Amazon Kendra to improve the
|
|
1384
|
-
* performance of your index. </p>
|
|
1385
|
-
*/
|
|
1386
|
-
public submitFeedback(
|
|
1387
|
-
args: SubmitFeedbackCommandInput,
|
|
1388
|
-
options?: __HttpHandlerOptions
|
|
1389
|
-
): Promise<SubmitFeedbackCommandOutput>;
|
|
1390
|
-
public submitFeedback(
|
|
1391
|
-
args: SubmitFeedbackCommandInput,
|
|
1392
|
-
cb: (err: any, data?: SubmitFeedbackCommandOutput) => void
|
|
1393
|
-
): void;
|
|
1394
|
-
public submitFeedback(
|
|
1395
|
-
args: SubmitFeedbackCommandInput,
|
|
1396
|
-
options: __HttpHandlerOptions,
|
|
1397
|
-
cb: (err: any, data?: SubmitFeedbackCommandOutput) => void
|
|
1398
|
-
): void;
|
|
1399
|
-
public submitFeedback(
|
|
1400
|
-
args: SubmitFeedbackCommandInput,
|
|
1401
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SubmitFeedbackCommandOutput) => void),
|
|
1402
|
-
cb?: (err: any, data?: SubmitFeedbackCommandOutput) => void
|
|
1403
|
-
): Promise<SubmitFeedbackCommandOutput> | void {
|
|
1404
|
-
const command = new SubmitFeedbackCommand(args);
|
|
1405
|
-
if (typeof optionsOrCb === "function") {
|
|
1406
|
-
this.send(command, optionsOrCb);
|
|
1407
|
-
} else if (typeof cb === "function") {
|
|
1408
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1409
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1410
|
-
} else {
|
|
1411
|
-
return this.send(command, optionsOrCb);
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
/**
|
|
1416
|
-
* <p>Adds the specified tag to the specified index, FAQ, or data source
|
|
1417
|
-
* resource. If the tag already exists, the existing value is replaced with
|
|
1418
|
-
* the new value.</p>
|
|
1419
|
-
*/
|
|
1420
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1421
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1422
|
-
public tagResource(
|
|
1423
|
-
args: TagResourceCommandInput,
|
|
1424
|
-
options: __HttpHandlerOptions,
|
|
1425
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1426
|
-
): void;
|
|
1427
|
-
public tagResource(
|
|
1428
|
-
args: TagResourceCommandInput,
|
|
1429
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1430
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1431
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1432
|
-
const command = new TagResourceCommand(args);
|
|
1433
|
-
if (typeof optionsOrCb === "function") {
|
|
1434
|
-
this.send(command, optionsOrCb);
|
|
1435
|
-
} else if (typeof cb === "function") {
|
|
1436
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1437
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1438
|
-
} else {
|
|
1439
|
-
return this.send(command, optionsOrCb);
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
/**
|
|
1444
|
-
* <p>Removes a tag from an index, FAQ, or a data source.</p>
|
|
1445
|
-
*/
|
|
1446
|
-
public untagResource(
|
|
1447
|
-
args: UntagResourceCommandInput,
|
|
1448
|
-
options?: __HttpHandlerOptions
|
|
1449
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1450
|
-
public untagResource(
|
|
1451
|
-
args: UntagResourceCommandInput,
|
|
1452
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1453
|
-
): void;
|
|
1454
|
-
public untagResource(
|
|
1455
|
-
args: UntagResourceCommandInput,
|
|
1456
|
-
options: __HttpHandlerOptions,
|
|
1457
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1458
|
-
): void;
|
|
1459
|
-
public untagResource(
|
|
1460
|
-
args: UntagResourceCommandInput,
|
|
1461
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1462
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1463
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1464
|
-
const command = new UntagResourceCommand(args);
|
|
1465
|
-
if (typeof optionsOrCb === "function") {
|
|
1466
|
-
this.send(command, optionsOrCb);
|
|
1467
|
-
} else if (typeof cb === "function") {
|
|
1468
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1469
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1470
|
-
} else {
|
|
1471
|
-
return this.send(command, optionsOrCb);
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* <p>Updates an existing Amazon Kendra data source.</p>
|
|
1477
|
-
*/
|
|
1478
|
-
public updateDataSource(
|
|
1479
|
-
args: UpdateDataSourceCommandInput,
|
|
1480
|
-
options?: __HttpHandlerOptions
|
|
1481
|
-
): Promise<UpdateDataSourceCommandOutput>;
|
|
1482
|
-
public updateDataSource(
|
|
1483
|
-
args: UpdateDataSourceCommandInput,
|
|
1484
|
-
cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
|
|
1485
|
-
): void;
|
|
1486
|
-
public updateDataSource(
|
|
1487
|
-
args: UpdateDataSourceCommandInput,
|
|
1488
|
-
options: __HttpHandlerOptions,
|
|
1489
|
-
cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
|
|
1490
|
-
): void;
|
|
1491
|
-
public updateDataSource(
|
|
1492
|
-
args: UpdateDataSourceCommandInput,
|
|
1493
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDataSourceCommandOutput) => void),
|
|
1494
|
-
cb?: (err: any, data?: UpdateDataSourceCommandOutput) => void
|
|
1495
|
-
): Promise<UpdateDataSourceCommandOutput> | void {
|
|
1496
|
-
const command = new UpdateDataSourceCommand(args);
|
|
1497
|
-
if (typeof optionsOrCb === "function") {
|
|
1498
|
-
this.send(command, optionsOrCb);
|
|
1499
|
-
} else if (typeof cb === "function") {
|
|
1500
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1501
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1502
|
-
} else {
|
|
1503
|
-
return this.send(command, optionsOrCb);
|
|
1504
|
-
}
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
/**
|
|
1508
|
-
* <p>Updates an existing Amazon Kendra index.</p>
|
|
1509
|
-
*/
|
|
1510
|
-
public updateIndex(args: UpdateIndexCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIndexCommandOutput>;
|
|
1511
|
-
public updateIndex(args: UpdateIndexCommandInput, cb: (err: any, data?: UpdateIndexCommandOutput) => void): void;
|
|
1512
|
-
public updateIndex(
|
|
1513
|
-
args: UpdateIndexCommandInput,
|
|
1514
|
-
options: __HttpHandlerOptions,
|
|
1515
|
-
cb: (err: any, data?: UpdateIndexCommandOutput) => void
|
|
1516
|
-
): void;
|
|
1517
|
-
public updateIndex(
|
|
1518
|
-
args: UpdateIndexCommandInput,
|
|
1519
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateIndexCommandOutput) => void),
|
|
1520
|
-
cb?: (err: any, data?: UpdateIndexCommandOutput) => void
|
|
1521
|
-
): Promise<UpdateIndexCommandOutput> | void {
|
|
1522
|
-
const command = new UpdateIndexCommand(args);
|
|
1523
|
-
if (typeof optionsOrCb === "function") {
|
|
1524
|
-
this.send(command, optionsOrCb);
|
|
1525
|
-
} else if (typeof cb === "function") {
|
|
1526
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1527
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1528
|
-
} else {
|
|
1529
|
-
return this.send(command, optionsOrCb);
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
/**
|
|
1534
|
-
* <p>Updates a block list used for query suggestions for an index.</p>
|
|
1535
|
-
* <p>Updates to a block list might not take effect right away. Amazon Kendra
|
|
1536
|
-
* needs to refresh the entire suggestions list to apply any updates to the
|
|
1537
|
-
* block list. Other changes not related to the block list apply immediately.</p>
|
|
1538
|
-
* <p>If a block list is updating, then you need to wait for the first update to
|
|
1539
|
-
* finish before submitting another update.</p>
|
|
1540
|
-
* <p>Amazon Kendra supports partial updates, so you only need to provide the fields
|
|
1541
|
-
* you want to update.</p>
|
|
1542
|
-
*/
|
|
1543
|
-
public updateQuerySuggestionsBlockList(
|
|
1544
|
-
args: UpdateQuerySuggestionsBlockListCommandInput,
|
|
1545
|
-
options?: __HttpHandlerOptions
|
|
1546
|
-
): Promise<UpdateQuerySuggestionsBlockListCommandOutput>;
|
|
1547
|
-
public updateQuerySuggestionsBlockList(
|
|
1548
|
-
args: UpdateQuerySuggestionsBlockListCommandInput,
|
|
1549
|
-
cb: (err: any, data?: UpdateQuerySuggestionsBlockListCommandOutput) => void
|
|
1550
|
-
): void;
|
|
1551
|
-
public updateQuerySuggestionsBlockList(
|
|
1552
|
-
args: UpdateQuerySuggestionsBlockListCommandInput,
|
|
1553
|
-
options: __HttpHandlerOptions,
|
|
1554
|
-
cb: (err: any, data?: UpdateQuerySuggestionsBlockListCommandOutput) => void
|
|
1555
|
-
): void;
|
|
1556
|
-
public updateQuerySuggestionsBlockList(
|
|
1557
|
-
args: UpdateQuerySuggestionsBlockListCommandInput,
|
|
1558
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateQuerySuggestionsBlockListCommandOutput) => void),
|
|
1559
|
-
cb?: (err: any, data?: UpdateQuerySuggestionsBlockListCommandOutput) => void
|
|
1560
|
-
): Promise<UpdateQuerySuggestionsBlockListCommandOutput> | void {
|
|
1561
|
-
const command = new UpdateQuerySuggestionsBlockListCommand(args);
|
|
1562
|
-
if (typeof optionsOrCb === "function") {
|
|
1563
|
-
this.send(command, optionsOrCb);
|
|
1564
|
-
} else if (typeof cb === "function") {
|
|
1565
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1566
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1567
|
-
} else {
|
|
1568
|
-
return this.send(command, optionsOrCb);
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
/**
|
|
1573
|
-
* <p>Updates the settings of query suggestions for an index.</p>
|
|
1574
|
-
* <p>Amazon Kendra supports partial updates, so you only need to provide
|
|
1575
|
-
* the fields you want to update.</p>
|
|
1576
|
-
* <p>If an update is currently processing (i.e. 'happening'), you
|
|
1577
|
-
* need to wait for the update to finish before making another update.</p>
|
|
1578
|
-
* <p>Updates to query suggestions settings might not take effect right away.
|
|
1579
|
-
* The time for your updated settings to take effect depends on the updates
|
|
1580
|
-
* made and the number of search queries in your index.</p>
|
|
1581
|
-
* <p>You can still enable/disable query suggestions at any time.</p>
|
|
1582
|
-
*/
|
|
1583
|
-
public updateQuerySuggestionsConfig(
|
|
1584
|
-
args: UpdateQuerySuggestionsConfigCommandInput,
|
|
1585
|
-
options?: __HttpHandlerOptions
|
|
1586
|
-
): Promise<UpdateQuerySuggestionsConfigCommandOutput>;
|
|
1587
|
-
public updateQuerySuggestionsConfig(
|
|
1588
|
-
args: UpdateQuerySuggestionsConfigCommandInput,
|
|
1589
|
-
cb: (err: any, data?: UpdateQuerySuggestionsConfigCommandOutput) => void
|
|
1590
|
-
): void;
|
|
1591
|
-
public updateQuerySuggestionsConfig(
|
|
1592
|
-
args: UpdateQuerySuggestionsConfigCommandInput,
|
|
1593
|
-
options: __HttpHandlerOptions,
|
|
1594
|
-
cb: (err: any, data?: UpdateQuerySuggestionsConfigCommandOutput) => void
|
|
1595
|
-
): void;
|
|
1596
|
-
public updateQuerySuggestionsConfig(
|
|
1597
|
-
args: UpdateQuerySuggestionsConfigCommandInput,
|
|
1598
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateQuerySuggestionsConfigCommandOutput) => void),
|
|
1599
|
-
cb?: (err: any, data?: UpdateQuerySuggestionsConfigCommandOutput) => void
|
|
1600
|
-
): Promise<UpdateQuerySuggestionsConfigCommandOutput> | void {
|
|
1601
|
-
const command = new UpdateQuerySuggestionsConfigCommand(args);
|
|
1602
|
-
if (typeof optionsOrCb === "function") {
|
|
1603
|
-
this.send(command, optionsOrCb);
|
|
1604
|
-
} else if (typeof cb === "function") {
|
|
1605
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1606
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1607
|
-
} else {
|
|
1608
|
-
return this.send(command, optionsOrCb);
|
|
1609
|
-
}
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
/**
|
|
1613
|
-
* <p>Updates a thesaurus file associated with an index.</p>
|
|
1614
|
-
*/
|
|
1615
|
-
public updateThesaurus(
|
|
1616
|
-
args: UpdateThesaurusCommandInput,
|
|
1617
|
-
options?: __HttpHandlerOptions
|
|
1618
|
-
): Promise<UpdateThesaurusCommandOutput>;
|
|
1619
|
-
public updateThesaurus(
|
|
1620
|
-
args: UpdateThesaurusCommandInput,
|
|
1621
|
-
cb: (err: any, data?: UpdateThesaurusCommandOutput) => void
|
|
1622
|
-
): void;
|
|
1623
|
-
public updateThesaurus(
|
|
1624
|
-
args: UpdateThesaurusCommandInput,
|
|
1625
|
-
options: __HttpHandlerOptions,
|
|
1626
|
-
cb: (err: any, data?: UpdateThesaurusCommandOutput) => void
|
|
1627
|
-
): void;
|
|
1628
|
-
public updateThesaurus(
|
|
1629
|
-
args: UpdateThesaurusCommandInput,
|
|
1630
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateThesaurusCommandOutput) => void),
|
|
1631
|
-
cb?: (err: any, data?: UpdateThesaurusCommandOutput) => void
|
|
1632
|
-
): Promise<UpdateThesaurusCommandOutput> | void {
|
|
1633
|
-
const command = new UpdateThesaurusCommand(args);
|
|
1634
|
-
if (typeof optionsOrCb === "function") {
|
|
1635
|
-
this.send(command, optionsOrCb);
|
|
1636
|
-
} else if (typeof cb === "function") {
|
|
1637
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1638
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1639
|
-
} else {
|
|
1640
|
-
return this.send(command, optionsOrCb);
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
}
|