@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/KendraClient.ts
DELETED
|
@@ -1,422 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import {
|
|
53
|
-
BatchDeleteDocumentCommandInput,
|
|
54
|
-
BatchDeleteDocumentCommandOutput,
|
|
55
|
-
} from "./commands/BatchDeleteDocumentCommand";
|
|
56
|
-
import {
|
|
57
|
-
BatchGetDocumentStatusCommandInput,
|
|
58
|
-
BatchGetDocumentStatusCommandOutput,
|
|
59
|
-
} from "./commands/BatchGetDocumentStatusCommand";
|
|
60
|
-
import { BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput } from "./commands/BatchPutDocumentCommand";
|
|
61
|
-
import {
|
|
62
|
-
ClearQuerySuggestionsCommandInput,
|
|
63
|
-
ClearQuerySuggestionsCommandOutput,
|
|
64
|
-
} from "./commands/ClearQuerySuggestionsCommand";
|
|
65
|
-
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
|
|
66
|
-
import { CreateFaqCommandInput, CreateFaqCommandOutput } from "./commands/CreateFaqCommand";
|
|
67
|
-
import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
68
|
-
import {
|
|
69
|
-
CreateQuerySuggestionsBlockListCommandInput,
|
|
70
|
-
CreateQuerySuggestionsBlockListCommandOutput,
|
|
71
|
-
} from "./commands/CreateQuerySuggestionsBlockListCommand";
|
|
72
|
-
import { CreateThesaurusCommandInput, CreateThesaurusCommandOutput } from "./commands/CreateThesaurusCommand";
|
|
73
|
-
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
74
|
-
import { DeleteFaqCommandInput, DeleteFaqCommandOutput } from "./commands/DeleteFaqCommand";
|
|
75
|
-
import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
|
|
76
|
-
import {
|
|
77
|
-
DeletePrincipalMappingCommandInput,
|
|
78
|
-
DeletePrincipalMappingCommandOutput,
|
|
79
|
-
} from "./commands/DeletePrincipalMappingCommand";
|
|
80
|
-
import {
|
|
81
|
-
DeleteQuerySuggestionsBlockListCommandInput,
|
|
82
|
-
DeleteQuerySuggestionsBlockListCommandOutput,
|
|
83
|
-
} from "./commands/DeleteQuerySuggestionsBlockListCommand";
|
|
84
|
-
import { DeleteThesaurusCommandInput, DeleteThesaurusCommandOutput } from "./commands/DeleteThesaurusCommand";
|
|
85
|
-
import { DescribeDataSourceCommandInput, DescribeDataSourceCommandOutput } from "./commands/DescribeDataSourceCommand";
|
|
86
|
-
import { DescribeFaqCommandInput, DescribeFaqCommandOutput } from "./commands/DescribeFaqCommand";
|
|
87
|
-
import { DescribeIndexCommandInput, DescribeIndexCommandOutput } from "./commands/DescribeIndexCommand";
|
|
88
|
-
import {
|
|
89
|
-
DescribePrincipalMappingCommandInput,
|
|
90
|
-
DescribePrincipalMappingCommandOutput,
|
|
91
|
-
} from "./commands/DescribePrincipalMappingCommand";
|
|
92
|
-
import {
|
|
93
|
-
DescribeQuerySuggestionsBlockListCommandInput,
|
|
94
|
-
DescribeQuerySuggestionsBlockListCommandOutput,
|
|
95
|
-
} from "./commands/DescribeQuerySuggestionsBlockListCommand";
|
|
96
|
-
import {
|
|
97
|
-
DescribeQuerySuggestionsConfigCommandInput,
|
|
98
|
-
DescribeQuerySuggestionsConfigCommandOutput,
|
|
99
|
-
} from "./commands/DescribeQuerySuggestionsConfigCommand";
|
|
100
|
-
import { DescribeThesaurusCommandInput, DescribeThesaurusCommandOutput } from "./commands/DescribeThesaurusCommand";
|
|
101
|
-
import {
|
|
102
|
-
GetQuerySuggestionsCommandInput,
|
|
103
|
-
GetQuerySuggestionsCommandOutput,
|
|
104
|
-
} from "./commands/GetQuerySuggestionsCommand";
|
|
105
|
-
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
106
|
-
import {
|
|
107
|
-
ListDataSourceSyncJobsCommandInput,
|
|
108
|
-
ListDataSourceSyncJobsCommandOutput,
|
|
109
|
-
} from "./commands/ListDataSourceSyncJobsCommand";
|
|
110
|
-
import { ListFaqsCommandInput, ListFaqsCommandOutput } from "./commands/ListFaqsCommand";
|
|
111
|
-
import {
|
|
112
|
-
ListGroupsOlderThanOrderingIdCommandInput,
|
|
113
|
-
ListGroupsOlderThanOrderingIdCommandOutput,
|
|
114
|
-
} from "./commands/ListGroupsOlderThanOrderingIdCommand";
|
|
115
|
-
import { ListIndicesCommandInput, ListIndicesCommandOutput } from "./commands/ListIndicesCommand";
|
|
116
|
-
import {
|
|
117
|
-
ListQuerySuggestionsBlockListsCommandInput,
|
|
118
|
-
ListQuerySuggestionsBlockListsCommandOutput,
|
|
119
|
-
} from "./commands/ListQuerySuggestionsBlockListsCommand";
|
|
120
|
-
import {
|
|
121
|
-
ListTagsForResourceCommandInput,
|
|
122
|
-
ListTagsForResourceCommandOutput,
|
|
123
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
124
|
-
import { ListThesauriCommandInput, ListThesauriCommandOutput } from "./commands/ListThesauriCommand";
|
|
125
|
-
import {
|
|
126
|
-
PutPrincipalMappingCommandInput,
|
|
127
|
-
PutPrincipalMappingCommandOutput,
|
|
128
|
-
} from "./commands/PutPrincipalMappingCommand";
|
|
129
|
-
import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
|
|
130
|
-
import {
|
|
131
|
-
StartDataSourceSyncJobCommandInput,
|
|
132
|
-
StartDataSourceSyncJobCommandOutput,
|
|
133
|
-
} from "./commands/StartDataSourceSyncJobCommand";
|
|
134
|
-
import {
|
|
135
|
-
StopDataSourceSyncJobCommandInput,
|
|
136
|
-
StopDataSourceSyncJobCommandOutput,
|
|
137
|
-
} from "./commands/StopDataSourceSyncJobCommand";
|
|
138
|
-
import { SubmitFeedbackCommandInput, SubmitFeedbackCommandOutput } from "./commands/SubmitFeedbackCommand";
|
|
139
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
140
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
141
|
-
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
142
|
-
import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "./commands/UpdateIndexCommand";
|
|
143
|
-
import {
|
|
144
|
-
UpdateQuerySuggestionsBlockListCommandInput,
|
|
145
|
-
UpdateQuerySuggestionsBlockListCommandOutput,
|
|
146
|
-
} from "./commands/UpdateQuerySuggestionsBlockListCommand";
|
|
147
|
-
import {
|
|
148
|
-
UpdateQuerySuggestionsConfigCommandInput,
|
|
149
|
-
UpdateQuerySuggestionsConfigCommandOutput,
|
|
150
|
-
} from "./commands/UpdateQuerySuggestionsConfigCommand";
|
|
151
|
-
import { UpdateThesaurusCommandInput, UpdateThesaurusCommandOutput } from "./commands/UpdateThesaurusCommand";
|
|
152
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
153
|
-
|
|
154
|
-
export type ServiceInputTypes =
|
|
155
|
-
| BatchDeleteDocumentCommandInput
|
|
156
|
-
| BatchGetDocumentStatusCommandInput
|
|
157
|
-
| BatchPutDocumentCommandInput
|
|
158
|
-
| ClearQuerySuggestionsCommandInput
|
|
159
|
-
| CreateDataSourceCommandInput
|
|
160
|
-
| CreateFaqCommandInput
|
|
161
|
-
| CreateIndexCommandInput
|
|
162
|
-
| CreateQuerySuggestionsBlockListCommandInput
|
|
163
|
-
| CreateThesaurusCommandInput
|
|
164
|
-
| DeleteDataSourceCommandInput
|
|
165
|
-
| DeleteFaqCommandInput
|
|
166
|
-
| DeleteIndexCommandInput
|
|
167
|
-
| DeletePrincipalMappingCommandInput
|
|
168
|
-
| DeleteQuerySuggestionsBlockListCommandInput
|
|
169
|
-
| DeleteThesaurusCommandInput
|
|
170
|
-
| DescribeDataSourceCommandInput
|
|
171
|
-
| DescribeFaqCommandInput
|
|
172
|
-
| DescribeIndexCommandInput
|
|
173
|
-
| DescribePrincipalMappingCommandInput
|
|
174
|
-
| DescribeQuerySuggestionsBlockListCommandInput
|
|
175
|
-
| DescribeQuerySuggestionsConfigCommandInput
|
|
176
|
-
| DescribeThesaurusCommandInput
|
|
177
|
-
| GetQuerySuggestionsCommandInput
|
|
178
|
-
| ListDataSourceSyncJobsCommandInput
|
|
179
|
-
| ListDataSourcesCommandInput
|
|
180
|
-
| ListFaqsCommandInput
|
|
181
|
-
| ListGroupsOlderThanOrderingIdCommandInput
|
|
182
|
-
| ListIndicesCommandInput
|
|
183
|
-
| ListQuerySuggestionsBlockListsCommandInput
|
|
184
|
-
| ListTagsForResourceCommandInput
|
|
185
|
-
| ListThesauriCommandInput
|
|
186
|
-
| PutPrincipalMappingCommandInput
|
|
187
|
-
| QueryCommandInput
|
|
188
|
-
| StartDataSourceSyncJobCommandInput
|
|
189
|
-
| StopDataSourceSyncJobCommandInput
|
|
190
|
-
| SubmitFeedbackCommandInput
|
|
191
|
-
| TagResourceCommandInput
|
|
192
|
-
| UntagResourceCommandInput
|
|
193
|
-
| UpdateDataSourceCommandInput
|
|
194
|
-
| UpdateIndexCommandInput
|
|
195
|
-
| UpdateQuerySuggestionsBlockListCommandInput
|
|
196
|
-
| UpdateQuerySuggestionsConfigCommandInput
|
|
197
|
-
| UpdateThesaurusCommandInput;
|
|
198
|
-
|
|
199
|
-
export type ServiceOutputTypes =
|
|
200
|
-
| BatchDeleteDocumentCommandOutput
|
|
201
|
-
| BatchGetDocumentStatusCommandOutput
|
|
202
|
-
| BatchPutDocumentCommandOutput
|
|
203
|
-
| ClearQuerySuggestionsCommandOutput
|
|
204
|
-
| CreateDataSourceCommandOutput
|
|
205
|
-
| CreateFaqCommandOutput
|
|
206
|
-
| CreateIndexCommandOutput
|
|
207
|
-
| CreateQuerySuggestionsBlockListCommandOutput
|
|
208
|
-
| CreateThesaurusCommandOutput
|
|
209
|
-
| DeleteDataSourceCommandOutput
|
|
210
|
-
| DeleteFaqCommandOutput
|
|
211
|
-
| DeleteIndexCommandOutput
|
|
212
|
-
| DeletePrincipalMappingCommandOutput
|
|
213
|
-
| DeleteQuerySuggestionsBlockListCommandOutput
|
|
214
|
-
| DeleteThesaurusCommandOutput
|
|
215
|
-
| DescribeDataSourceCommandOutput
|
|
216
|
-
| DescribeFaqCommandOutput
|
|
217
|
-
| DescribeIndexCommandOutput
|
|
218
|
-
| DescribePrincipalMappingCommandOutput
|
|
219
|
-
| DescribeQuerySuggestionsBlockListCommandOutput
|
|
220
|
-
| DescribeQuerySuggestionsConfigCommandOutput
|
|
221
|
-
| DescribeThesaurusCommandOutput
|
|
222
|
-
| GetQuerySuggestionsCommandOutput
|
|
223
|
-
| ListDataSourceSyncJobsCommandOutput
|
|
224
|
-
| ListDataSourcesCommandOutput
|
|
225
|
-
| ListFaqsCommandOutput
|
|
226
|
-
| ListGroupsOlderThanOrderingIdCommandOutput
|
|
227
|
-
| ListIndicesCommandOutput
|
|
228
|
-
| ListQuerySuggestionsBlockListsCommandOutput
|
|
229
|
-
| ListTagsForResourceCommandOutput
|
|
230
|
-
| ListThesauriCommandOutput
|
|
231
|
-
| PutPrincipalMappingCommandOutput
|
|
232
|
-
| QueryCommandOutput
|
|
233
|
-
| StartDataSourceSyncJobCommandOutput
|
|
234
|
-
| StopDataSourceSyncJobCommandOutput
|
|
235
|
-
| SubmitFeedbackCommandOutput
|
|
236
|
-
| TagResourceCommandOutput
|
|
237
|
-
| UntagResourceCommandOutput
|
|
238
|
-
| UpdateDataSourceCommandOutput
|
|
239
|
-
| UpdateIndexCommandOutput
|
|
240
|
-
| UpdateQuerySuggestionsBlockListCommandOutput
|
|
241
|
-
| UpdateQuerySuggestionsConfigCommandOutput
|
|
242
|
-
| UpdateThesaurusCommandOutput;
|
|
243
|
-
|
|
244
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
245
|
-
/**
|
|
246
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
247
|
-
*/
|
|
248
|
-
requestHandler?: __HttpHandler;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
252
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
253
|
-
* @internal
|
|
254
|
-
*/
|
|
255
|
-
sha256?: __HashConstructor;
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
259
|
-
* @internal
|
|
260
|
-
*/
|
|
261
|
-
urlParser?: __UrlParser;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* A function that can calculate the length of a request body.
|
|
265
|
-
* @internal
|
|
266
|
-
*/
|
|
267
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* A function that converts a stream into an array of bytes.
|
|
271
|
-
* @internal
|
|
272
|
-
*/
|
|
273
|
-
streamCollector?: __StreamCollector;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
277
|
-
* @internal
|
|
278
|
-
*/
|
|
279
|
-
base64Decoder?: __Decoder;
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
283
|
-
* @internal
|
|
284
|
-
*/
|
|
285
|
-
base64Encoder?: __Encoder;
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
289
|
-
* @internal
|
|
290
|
-
*/
|
|
291
|
-
utf8Decoder?: __Decoder;
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
295
|
-
* @internal
|
|
296
|
-
*/
|
|
297
|
-
utf8Encoder?: __Encoder;
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* The runtime environment.
|
|
301
|
-
* @internal
|
|
302
|
-
*/
|
|
303
|
-
runtime?: string;
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
307
|
-
* trait of an operation.
|
|
308
|
-
*/
|
|
309
|
-
disableHostPrefix?: boolean;
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
313
|
-
*/
|
|
314
|
-
maxAttempts?: number | __Provider<number>;
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Specifies which retry algorithm to use.
|
|
318
|
-
*/
|
|
319
|
-
retryMode?: string | __Provider<string>;
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* Optional logger for logging debug/info/warn/error.
|
|
323
|
-
*/
|
|
324
|
-
logger?: __Logger;
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* Unique service identifier.
|
|
328
|
-
* @internal
|
|
329
|
-
*/
|
|
330
|
-
serviceId?: string;
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* The AWS region to which this client will send requests
|
|
334
|
-
*/
|
|
335
|
-
region?: string | __Provider<string>;
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* Default credentials provider; Not available in browser runtime.
|
|
339
|
-
* @internal
|
|
340
|
-
*/
|
|
341
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
345
|
-
* @internal
|
|
346
|
-
*/
|
|
347
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
351
|
-
* @internal
|
|
352
|
-
*/
|
|
353
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
type KendraClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
357
|
-
ClientDefaults &
|
|
358
|
-
RegionInputConfig &
|
|
359
|
-
EndpointsInputConfig &
|
|
360
|
-
RetryInputConfig &
|
|
361
|
-
HostHeaderInputConfig &
|
|
362
|
-
AwsAuthInputConfig &
|
|
363
|
-
UserAgentInputConfig;
|
|
364
|
-
/**
|
|
365
|
-
* The configuration interface of KendraClient class constructor that set the region, credentials and other options.
|
|
366
|
-
*/
|
|
367
|
-
export interface KendraClientConfig extends KendraClientConfigType {}
|
|
368
|
-
|
|
369
|
-
type KendraClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
370
|
-
Required<ClientDefaults> &
|
|
371
|
-
RegionResolvedConfig &
|
|
372
|
-
EndpointsResolvedConfig &
|
|
373
|
-
RetryResolvedConfig &
|
|
374
|
-
HostHeaderResolvedConfig &
|
|
375
|
-
AwsAuthResolvedConfig &
|
|
376
|
-
UserAgentResolvedConfig;
|
|
377
|
-
/**
|
|
378
|
-
* The resolved configuration interface of KendraClient class. This is resolved and normalized from the {@link KendraClientConfig | constructor configuration interface}.
|
|
379
|
-
*/
|
|
380
|
-
export interface KendraClientResolvedConfig extends KendraClientResolvedConfigType {}
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* <p>Amazon Kendra is a service for indexing large document sets.</p>
|
|
384
|
-
*/
|
|
385
|
-
export class KendraClient extends __Client<
|
|
386
|
-
__HttpHandlerOptions,
|
|
387
|
-
ServiceInputTypes,
|
|
388
|
-
ServiceOutputTypes,
|
|
389
|
-
KendraClientResolvedConfig
|
|
390
|
-
> {
|
|
391
|
-
/**
|
|
392
|
-
* The resolved configuration of KendraClient class. This is resolved and normalized from the {@link KendraClientConfig | constructor configuration interface}.
|
|
393
|
-
*/
|
|
394
|
-
readonly config: KendraClientResolvedConfig;
|
|
395
|
-
|
|
396
|
-
constructor(configuration: KendraClientConfig) {
|
|
397
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
398
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
399
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
400
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
401
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
402
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
403
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
404
|
-
super(_config_6);
|
|
405
|
-
this.config = _config_6;
|
|
406
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
407
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
408
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
409
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
410
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
411
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
416
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
417
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
418
|
-
*/
|
|
419
|
-
destroy(): void {
|
|
420
|
-
super.destroy();
|
|
421
|
-
}
|
|
422
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
15
|
-
import { BatchDeleteDocumentRequest, BatchDeleteDocumentResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1BatchDeleteDocumentCommand,
|
|
18
|
-
serializeAws_json1_1BatchDeleteDocumentCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface BatchDeleteDocumentCommandInput extends BatchDeleteDocumentRequest {}
|
|
22
|
-
export interface BatchDeleteDocumentCommandOutput extends BatchDeleteDocumentResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Removes one or more documents from an index. The documents must have
|
|
26
|
-
* been added with the <code>BatchPutDocument</code> operation.</p>
|
|
27
|
-
* <p>The documents are deleted asynchronously. You can see the progress of
|
|
28
|
-
* the deletion by using Amazon Web Services CloudWatch. Any error messages related to the
|
|
29
|
-
* processing of the batch are sent to you CloudWatch log.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { KendraClient, BatchDeleteDocumentCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
34
|
-
* // const { KendraClient, BatchDeleteDocumentCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
35
|
-
* const client = new KendraClient(config);
|
|
36
|
-
* const command = new BatchDeleteDocumentCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link BatchDeleteDocumentCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link BatchDeleteDocumentCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class BatchDeleteDocumentCommand extends $Command<
|
|
46
|
-
BatchDeleteDocumentCommandInput,
|
|
47
|
-
BatchDeleteDocumentCommandOutput,
|
|
48
|
-
KendraClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: BatchDeleteDocumentCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: KendraClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "KendraClient";
|
|
73
|
-
const commandName = "BatchDeleteDocumentCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: BatchDeleteDocumentRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: BatchDeleteDocumentResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: BatchDeleteDocumentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1BatchDeleteDocumentCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchDeleteDocumentCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1BatchDeleteDocumentCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
15
|
-
import { BatchGetDocumentStatusRequest, BatchGetDocumentStatusResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1BatchGetDocumentStatusCommand,
|
|
18
|
-
serializeAws_json1_1BatchGetDocumentStatusCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface BatchGetDocumentStatusCommandInput extends BatchGetDocumentStatusRequest {}
|
|
22
|
-
export interface BatchGetDocumentStatusCommandOutput extends BatchGetDocumentStatusResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns the indexing status for one or more documents submitted
|
|
26
|
-
* with the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">
|
|
27
|
-
* BatchPutDocument</a> operation.</p>
|
|
28
|
-
* <p>When you use the <code>BatchPutDocument</code> operation,
|
|
29
|
-
* documents are indexed asynchronously. You can use the
|
|
30
|
-
* <code>BatchGetDocumentStatus</code> operation to get the current
|
|
31
|
-
* status of a list of documents so that you can determine if they have
|
|
32
|
-
* been successfully indexed.</p>
|
|
33
|
-
* <p>You can also use the <code>BatchGetDocumentStatus</code> operation
|
|
34
|
-
* to check the status of the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchDeleteDocument.html">
|
|
35
|
-
* BatchDeleteDocument</a> operation. When a document is
|
|
36
|
-
* deleted from the index, Amazon Kendra returns <code>NOT_FOUND</code> as the
|
|
37
|
-
* status.</p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { KendraClient, BatchGetDocumentStatusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
42
|
-
* // const { KendraClient, BatchGetDocumentStatusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
43
|
-
* const client = new KendraClient(config);
|
|
44
|
-
* const command = new BatchGetDocumentStatusCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link BatchGetDocumentStatusCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link BatchGetDocumentStatusCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class BatchGetDocumentStatusCommand extends $Command<
|
|
54
|
-
BatchGetDocumentStatusCommandInput,
|
|
55
|
-
BatchGetDocumentStatusCommandOutput,
|
|
56
|
-
KendraClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: BatchGetDocumentStatusCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: KendraClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<BatchGetDocumentStatusCommandInput, BatchGetDocumentStatusCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
|
|
77
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
78
|
-
|
|
79
|
-
const { logger } = configuration;
|
|
80
|
-
const clientName = "KendraClient";
|
|
81
|
-
const commandName = "BatchGetDocumentStatusCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: BatchGetDocumentStatusRequest.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: BatchGetDocumentStatusResponse.filterSensitiveLog,
|
|
88
|
-
};
|
|
89
|
-
const { requestHandler } = configuration;
|
|
90
|
-
return stack.resolve(
|
|
91
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
92
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
93
|
-
handlerExecutionContext
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private serialize(input: BatchGetDocumentStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
98
|
-
return serializeAws_json1_1BatchGetDocumentStatusCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchGetDocumentStatusCommandOutput> {
|
|
102
|
-
return deserializeAws_json1_1BatchGetDocumentStatusCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|