@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
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the Amazon Kendra indexes that you have created.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { KendraClient, ListIndicesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
14
|
-
* // const { KendraClient, ListIndicesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
15
|
-
* const client = new KendraClient(config);
|
|
16
|
-
* const command = new ListIndicesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListIndicesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListIndicesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListIndicesCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class ListIndicesCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.ListIndicesCommand = ListIndicesCommand;
|
|
61
|
-
//# sourceMappingURL=ListIndicesCommand.js.map
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the block lists used for query suggestions for an index.</p>
|
|
10
|
-
* <p>For information on the current quota limits for block lists, see
|
|
11
|
-
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas
|
|
12
|
-
* for Amazon Kendra</a>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { KendraClient, ListQuerySuggestionsBlockListsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
17
|
-
* // const { KendraClient, ListQuerySuggestionsBlockListsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
18
|
-
* const client = new KendraClient(config);
|
|
19
|
-
* const command = new ListQuerySuggestionsBlockListsCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link ListQuerySuggestionsBlockListsCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link ListQuerySuggestionsBlockListsCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class ListQuerySuggestionsBlockListsCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class ListQuerySuggestionsBlockListsCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.ListQuerySuggestionsBlockListsCommand = ListQuerySuggestionsBlockListsCommand;
|
|
64
|
-
//# sourceMappingURL=ListQuerySuggestionsBlockListsCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets a list of tags associated with a specified resource. Indexes,
|
|
10
|
-
* FAQs, and data sources can have tags associated with them.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { KendraClient, ListTagsForResourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
15
|
-
* // const { KendraClient, ListTagsForResourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
16
|
-
* const client = new KendraClient(config);
|
|
17
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
62
|
-
//# sourceMappingURL=ListTagsForResourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the Amazon Kendra thesauri associated with an index.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { KendraClient, ListThesauriCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
14
|
-
* // const { KendraClient, ListThesauriCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
15
|
-
* const client = new KendraClient(config);
|
|
16
|
-
* const command = new ListThesauriCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListThesauriCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListThesauriCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListThesauriCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class ListThesauriCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.ListThesauriCommand = ListThesauriCommand;
|
|
61
|
-
//# sourceMappingURL=ListThesauriCommand.js.map
|
|
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Maps users to their groups. You can also map sub groups to groups.
|
|
10
|
-
* For example, the group "Company Intellectual Property Teams" includes
|
|
11
|
-
* sub groups "Research" and "Engineering". These sub groups include their
|
|
12
|
-
* own list of users or people who work in these teams. Only users who work
|
|
13
|
-
* in research and engineering, and therefore belong in the intellectual
|
|
14
|
-
* property group, can see top-secret company documents in their search
|
|
15
|
-
* results. </p>
|
|
16
|
-
* <p>You map users to their groups when you want to filter search results
|
|
17
|
-
* for different users based on their group’s access to documents. For more
|
|
18
|
-
* information on filtering search results for different users, see
|
|
19
|
-
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html">Filtering
|
|
20
|
-
* on user context</a>.</p>
|
|
21
|
-
* <p>If more than five <code>PUT</code> actions for a group are currently
|
|
22
|
-
* processing, a validation exception is thrown.</p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { KendraClient, PutPrincipalMappingCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
|
-
* // const { KendraClient, PutPrincipalMappingCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
|
-
* const client = new KendraClient(config);
|
|
29
|
-
* const command = new PutPrincipalMappingCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link PutPrincipalMappingCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link PutPrincipalMappingCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
8
|
class PutPrincipalMappingCommand extends smithy_client_1.Command {
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
9
|
constructor(input) {
|
|
42
|
-
// Start section: command_constructor
|
|
43
10
|
super();
|
|
44
11
|
this.input = input;
|
|
45
|
-
// End section: command_constructor
|
|
46
12
|
}
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
51
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
52
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -71,4 +34,3 @@ class PutPrincipalMappingCommand extends smithy_client_1.Command {
|
|
|
71
34
|
}
|
|
72
35
|
}
|
|
73
36
|
exports.PutPrincipalMappingCommand = PutPrincipalMappingCommand;
|
|
74
|
-
//# sourceMappingURL=PutPrincipalMappingCommand.js.map
|
|
@@ -5,56 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Searches an active index. Use this API to search your documents
|
|
10
|
-
* using query. The <code>Query</code> operation enables to do faceted
|
|
11
|
-
* search and to filter results based on document attributes.</p>
|
|
12
|
-
* <p>It also enables you to provide user context that Amazon Kendra uses
|
|
13
|
-
* to enforce document access control in the search results. </p>
|
|
14
|
-
* <p>Amazon Kendra searches your index for text content and question and
|
|
15
|
-
* answer (FAQ) content. By default the response contains three types of
|
|
16
|
-
* results.</p>
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>Relevant passages</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>Matching FAQs</p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>Relevant documents</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ul>
|
|
28
|
-
* <p>You can specify that the query return only one type of result using
|
|
29
|
-
* the <code>QueryResultTypeConfig</code> parameter.</p>
|
|
30
|
-
* <p>Each query returns the 100 most relevant results. </p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { KendraClient, QueryCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
35
|
-
* // const { KendraClient, QueryCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
36
|
-
* const client = new KendraClient(config);
|
|
37
|
-
* const command = new QueryCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link QueryCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link QueryCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
8
|
class QueryCommand extends smithy_client_1.Command {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
9
|
constructor(input) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
10
|
super();
|
|
52
11
|
this.input = input;
|
|
53
|
-
// End section: command_constructor
|
|
54
12
|
}
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
59
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
60
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -79,4 +34,3 @@ class QueryCommand extends smithy_client_1.Command {
|
|
|
79
34
|
}
|
|
80
35
|
}
|
|
81
36
|
exports.QueryCommand = QueryCommand;
|
|
82
|
-
//# sourceMappingURL=QueryCommand.js.map
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Starts a synchronization job for a data source. If a synchronization
|
|
10
|
-
* job is already in progress, Amazon Kendra returns a
|
|
11
|
-
* <code>ResourceInUseException</code> exception.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { KendraClient, StartDataSourceSyncJobCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
16
|
-
* // const { KendraClient, StartDataSourceSyncJobCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
17
|
-
* const client = new KendraClient(config);
|
|
18
|
-
* const command = new StartDataSourceSyncJobCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link StartDataSourceSyncJobCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link StartDataSourceSyncJobCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class StartDataSourceSyncJobCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class StartDataSourceSyncJobCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.StartDataSourceSyncJobCommand = StartDataSourceSyncJobCommand;
|
|
63
|
-
//# sourceMappingURL=StartDataSourceSyncJobCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Stops a running synchronization job. You can't stop a scheduled
|
|
10
|
-
* synchronization job.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { KendraClient, StopDataSourceSyncJobCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
15
|
-
* // const { KendraClient, StopDataSourceSyncJobCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
16
|
-
* const client = new KendraClient(config);
|
|
17
|
-
* const command = new StopDataSourceSyncJobCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link StopDataSourceSyncJobCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link StopDataSourceSyncJobCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class StopDataSourceSyncJobCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class StopDataSourceSyncJobCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.StopDataSourceSyncJobCommand = StopDataSourceSyncJobCommand;
|
|
62
|
-
//# sourceMappingURL=StopDataSourceSyncJobCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Enables you to provide feedback to Amazon Kendra to improve the
|
|
10
|
-
* performance of your index. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { KendraClient, SubmitFeedbackCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
15
|
-
* // const { KendraClient, SubmitFeedbackCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
16
|
-
* const client = new KendraClient(config);
|
|
17
|
-
* const command = new SubmitFeedbackCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link SubmitFeedbackCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link SubmitFeedbackCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class SubmitFeedbackCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class SubmitFeedbackCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.SubmitFeedbackCommand = SubmitFeedbackCommand;
|
|
62
|
-
//# sourceMappingURL=SubmitFeedbackCommand.js.map
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds the specified tag to the specified index, FAQ, or data source
|
|
10
|
-
* resource. If the tag already exists, the existing value is replaced with
|
|
11
|
-
* the new value.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { KendraClient, TagResourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
16
|
-
* // const { KendraClient, TagResourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
17
|
-
* const client = new KendraClient(config);
|
|
18
|
-
* const command = new TagResourceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.TagResourceCommand = TagResourceCommand;
|
|
63
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes a tag from an index, FAQ, or a data source.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { KendraClient, UntagResourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
14
|
-
* // const { KendraClient, UntagResourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
15
|
-
* const client = new KendraClient(config);
|
|
16
|
-
* const command = new UntagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates an existing Amazon Kendra data source.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { KendraClient, UpdateDataSourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
14
|
-
* // const { KendraClient, UpdateDataSourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
15
|
-
* const client = new KendraClient(config);
|
|
16
|
-
* const command = new UpdateDataSourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateDataSourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateDataSourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateDataSourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateDataSourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateDataSourceCommand = UpdateDataSourceCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateDataSourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates an existing Amazon Kendra index.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { KendraClient, UpdateIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
14
|
-
* // const { KendraClient, UpdateIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
15
|
-
* const client = new KendraClient(config);
|
|
16
|
-
* const command = new UpdateIndexCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateIndexCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateIndexCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateIndexCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateIndexCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateIndexCommand = UpdateIndexCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateIndexCommand.js.map
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates a block list used for query suggestions for an index.</p>
|
|
10
|
-
* <p>Updates to a block list might not take effect right away. Amazon Kendra
|
|
11
|
-
* needs to refresh the entire suggestions list to apply any updates to the
|
|
12
|
-
* block list. Other changes not related to the block list apply immediately.</p>
|
|
13
|
-
* <p>If a block list is updating, then you need to wait for the first update to
|
|
14
|
-
* finish before submitting another update.</p>
|
|
15
|
-
* <p>Amazon Kendra supports partial updates, so you only need to provide the fields
|
|
16
|
-
* you want to update.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { KendraClient, UpdateQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
21
|
-
* // const { KendraClient, UpdateQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
22
|
-
* const client = new KendraClient(config);
|
|
23
|
-
* const command = new UpdateQuerySuggestionsBlockListCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link UpdateQuerySuggestionsBlockListCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link UpdateQuerySuggestionsBlockListCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class UpdateQuerySuggestionsBlockListCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +34,3 @@ class UpdateQuerySuggestionsBlockListCommand extends smithy_client_1.Command {
|
|
|
65
34
|
}
|
|
66
35
|
}
|
|
67
36
|
exports.UpdateQuerySuggestionsBlockListCommand = UpdateQuerySuggestionsBlockListCommand;
|
|
68
|
-
//# sourceMappingURL=UpdateQuerySuggestionsBlockListCommand.js.map
|