@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
|
@@ -1,108 +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 { UpdateQuerySuggestionsBlockListRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1UpdateQuerySuggestionsBlockListCommand,
|
|
18
|
-
serializeAws_json1_1UpdateQuerySuggestionsBlockListCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateQuerySuggestionsBlockListCommandInput extends UpdateQuerySuggestionsBlockListRequest {}
|
|
22
|
-
export interface UpdateQuerySuggestionsBlockListCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates a block list used for query suggestions for an index.</p>
|
|
26
|
-
* <p>Updates to a block list might not take effect right away. Amazon Kendra
|
|
27
|
-
* needs to refresh the entire suggestions list to apply any updates to the
|
|
28
|
-
* block list. Other changes not related to the block list apply immediately.</p>
|
|
29
|
-
* <p>If a block list is updating, then you need to wait for the first update to
|
|
30
|
-
* finish before submitting another update.</p>
|
|
31
|
-
* <p>Amazon Kendra supports partial updates, so you only need to provide the fields
|
|
32
|
-
* you want to update.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { KendraClient, UpdateQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
37
|
-
* // const { KendraClient, UpdateQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
38
|
-
* const client = new KendraClient(config);
|
|
39
|
-
* const command = new UpdateQuerySuggestionsBlockListCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link UpdateQuerySuggestionsBlockListCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link UpdateQuerySuggestionsBlockListCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class UpdateQuerySuggestionsBlockListCommand extends $Command<
|
|
49
|
-
UpdateQuerySuggestionsBlockListCommandInput,
|
|
50
|
-
UpdateQuerySuggestionsBlockListCommandOutput,
|
|
51
|
-
KendraClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: UpdateQuerySuggestionsBlockListCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: KendraClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<UpdateQuerySuggestionsBlockListCommandInput, UpdateQuerySuggestionsBlockListCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "KendraClient";
|
|
76
|
-
const commandName = "UpdateQuerySuggestionsBlockListCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: UpdateQuerySuggestionsBlockListRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(
|
|
93
|
-
input: UpdateQuerySuggestionsBlockListCommandInput,
|
|
94
|
-
context: __SerdeContext
|
|
95
|
-
): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_json1_1UpdateQuerySuggestionsBlockListCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(
|
|
100
|
-
output: __HttpResponse,
|
|
101
|
-
context: __SerdeContext
|
|
102
|
-
): Promise<UpdateQuerySuggestionsBlockListCommandOutput> {
|
|
103
|
-
return deserializeAws_json1_1UpdateQuerySuggestionsBlockListCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,106 +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 { UpdateQuerySuggestionsConfigRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1UpdateQuerySuggestionsConfigCommand,
|
|
18
|
-
serializeAws_json1_1UpdateQuerySuggestionsConfigCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateQuerySuggestionsConfigCommandInput extends UpdateQuerySuggestionsConfigRequest {}
|
|
22
|
-
export interface UpdateQuerySuggestionsConfigCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates the settings of query suggestions for an index.</p>
|
|
26
|
-
* <p>Amazon Kendra supports partial updates, so you only need to provide
|
|
27
|
-
* the fields you want to update.</p>
|
|
28
|
-
* <p>If an update is currently processing (i.e. 'happening'), you
|
|
29
|
-
* need to wait for the update to finish before making another update.</p>
|
|
30
|
-
* <p>Updates to query suggestions settings might not take effect right away.
|
|
31
|
-
* The time for your updated settings to take effect depends on the updates
|
|
32
|
-
* made and the number of search queries in your index.</p>
|
|
33
|
-
* <p>You can still enable/disable query suggestions at any time.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { KendraClient, UpdateQuerySuggestionsConfigCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
38
|
-
* // const { KendraClient, UpdateQuerySuggestionsConfigCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
39
|
-
* const client = new KendraClient(config);
|
|
40
|
-
* const command = new UpdateQuerySuggestionsConfigCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link UpdateQuerySuggestionsConfigCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link UpdateQuerySuggestionsConfigCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class UpdateQuerySuggestionsConfigCommand extends $Command<
|
|
50
|
-
UpdateQuerySuggestionsConfigCommandInput,
|
|
51
|
-
UpdateQuerySuggestionsConfigCommandOutput,
|
|
52
|
-
KendraClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: UpdateQuerySuggestionsConfigCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: KendraClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<UpdateQuerySuggestionsConfigCommandInput, UpdateQuerySuggestionsConfigCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "KendraClient";
|
|
77
|
-
const commandName = "UpdateQuerySuggestionsConfigCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: UpdateQuerySuggestionsConfigRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: UpdateQuerySuggestionsConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1UpdateQuerySuggestionsConfigCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<UpdateQuerySuggestionsConfigCommandOutput> {
|
|
101
|
-
return deserializeAws_json1_1UpdateQuerySuggestionsConfigCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,95 +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 { UpdateThesaurusRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1UpdateThesaurusCommand,
|
|
18
|
-
serializeAws_json1_1UpdateThesaurusCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateThesaurusCommandInput extends UpdateThesaurusRequest {}
|
|
22
|
-
export interface UpdateThesaurusCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates a thesaurus file associated with an index.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { KendraClient, UpdateThesaurusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
|
-
* // const { KendraClient, UpdateThesaurusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
|
-
* const client = new KendraClient(config);
|
|
32
|
-
* const command = new UpdateThesaurusCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateThesaurusCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateThesaurusCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link KendraClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateThesaurusCommand extends $Command<
|
|
42
|
-
UpdateThesaurusCommandInput,
|
|
43
|
-
UpdateThesaurusCommandOutput,
|
|
44
|
-
KendraClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateThesaurusCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: KendraClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<UpdateThesaurusCommandInput, UpdateThesaurusCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "KendraClient";
|
|
69
|
-
const commandName = "UpdateThesaurusCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateThesaurusRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: UpdateThesaurusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1UpdateThesaurusCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateThesaurusCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1UpdateThesaurusCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
package/src/endpoints.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
3
|
-
|
|
4
|
-
const regionHash: RegionHash = {};
|
|
5
|
-
|
|
6
|
-
const partitionHash: PartitionHash = {
|
|
7
|
-
aws: {
|
|
8
|
-
regions: [
|
|
9
|
-
"af-south-1",
|
|
10
|
-
"ap-east-1",
|
|
11
|
-
"ap-northeast-1",
|
|
12
|
-
"ap-northeast-2",
|
|
13
|
-
"ap-northeast-3",
|
|
14
|
-
"ap-south-1",
|
|
15
|
-
"ap-southeast-1",
|
|
16
|
-
"ap-southeast-2",
|
|
17
|
-
"ca-central-1",
|
|
18
|
-
"eu-central-1",
|
|
19
|
-
"eu-north-1",
|
|
20
|
-
"eu-south-1",
|
|
21
|
-
"eu-west-1",
|
|
22
|
-
"eu-west-2",
|
|
23
|
-
"eu-west-3",
|
|
24
|
-
"me-south-1",
|
|
25
|
-
"sa-east-1",
|
|
26
|
-
"us-east-1",
|
|
27
|
-
"us-east-2",
|
|
28
|
-
"us-west-1",
|
|
29
|
-
"us-west-2",
|
|
30
|
-
],
|
|
31
|
-
hostname: "kendra.{region}.amazonaws.com",
|
|
32
|
-
},
|
|
33
|
-
"aws-cn": {
|
|
34
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
35
|
-
hostname: "kendra.{region}.amazonaws.com.cn",
|
|
36
|
-
},
|
|
37
|
-
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
39
|
-
hostname: "kendra.{region}.c2s.ic.gov",
|
|
40
|
-
},
|
|
41
|
-
"aws-iso-b": {
|
|
42
|
-
regions: ["us-isob-east-1"],
|
|
43
|
-
hostname: "kendra.{region}.sc2s.sgov.gov",
|
|
44
|
-
},
|
|
45
|
-
"aws-us-gov": {
|
|
46
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
47
|
-
hostname: "kendra.{region}.amazonaws.com",
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
|
|
52
|
-
getRegionInfo(region, {
|
|
53
|
-
...options,
|
|
54
|
-
signingService: "kendra",
|
|
55
|
-
regionHash,
|
|
56
|
-
partitionHash,
|
|
57
|
-
});
|
package/src/index.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export * from "./KendraClient";
|
|
2
|
-
export * from "./Kendra";
|
|
3
|
-
export * from "./commands/BatchDeleteDocumentCommand";
|
|
4
|
-
export * from "./commands/BatchGetDocumentStatusCommand";
|
|
5
|
-
export * from "./commands/BatchPutDocumentCommand";
|
|
6
|
-
export * from "./commands/ClearQuerySuggestionsCommand";
|
|
7
|
-
export * from "./commands/CreateDataSourceCommand";
|
|
8
|
-
export * from "./commands/CreateFaqCommand";
|
|
9
|
-
export * from "./commands/CreateIndexCommand";
|
|
10
|
-
export * from "./commands/CreateQuerySuggestionsBlockListCommand";
|
|
11
|
-
export * from "./commands/CreateThesaurusCommand";
|
|
12
|
-
export * from "./commands/DeleteDataSourceCommand";
|
|
13
|
-
export * from "./commands/DeleteFaqCommand";
|
|
14
|
-
export * from "./commands/DeleteIndexCommand";
|
|
15
|
-
export * from "./commands/DeletePrincipalMappingCommand";
|
|
16
|
-
export * from "./commands/DeleteQuerySuggestionsBlockListCommand";
|
|
17
|
-
export * from "./commands/DeleteThesaurusCommand";
|
|
18
|
-
export * from "./commands/DescribeDataSourceCommand";
|
|
19
|
-
export * from "./commands/DescribeFaqCommand";
|
|
20
|
-
export * from "./commands/DescribeIndexCommand";
|
|
21
|
-
export * from "./commands/DescribePrincipalMappingCommand";
|
|
22
|
-
export * from "./commands/DescribeQuerySuggestionsBlockListCommand";
|
|
23
|
-
export * from "./commands/DescribeQuerySuggestionsConfigCommand";
|
|
24
|
-
export * from "./commands/DescribeThesaurusCommand";
|
|
25
|
-
export * from "./commands/GetQuerySuggestionsCommand";
|
|
26
|
-
export * from "./commands/ListDataSourcesCommand";
|
|
27
|
-
export * from "./pagination/ListDataSourcesPaginator";
|
|
28
|
-
export * from "./commands/ListDataSourceSyncJobsCommand";
|
|
29
|
-
export * from "./pagination/ListDataSourceSyncJobsPaginator";
|
|
30
|
-
export * from "./commands/ListFaqsCommand";
|
|
31
|
-
export * from "./commands/ListGroupsOlderThanOrderingIdCommand";
|
|
32
|
-
export * from "./commands/ListIndicesCommand";
|
|
33
|
-
export * from "./pagination/ListIndicesPaginator";
|
|
34
|
-
export * from "./commands/ListQuerySuggestionsBlockListsCommand";
|
|
35
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
36
|
-
export * from "./commands/ListThesauriCommand";
|
|
37
|
-
export * from "./commands/PutPrincipalMappingCommand";
|
|
38
|
-
export * from "./commands/QueryCommand";
|
|
39
|
-
export * from "./commands/StartDataSourceSyncJobCommand";
|
|
40
|
-
export * from "./commands/StopDataSourceSyncJobCommand";
|
|
41
|
-
export * from "./commands/SubmitFeedbackCommand";
|
|
42
|
-
export * from "./commands/TagResourceCommand";
|
|
43
|
-
export * from "./commands/UntagResourceCommand";
|
|
44
|
-
export * from "./commands/UpdateDataSourceCommand";
|
|
45
|
-
export * from "./commands/UpdateIndexCommand";
|
|
46
|
-
export * from "./commands/UpdateQuerySuggestionsBlockListCommand";
|
|
47
|
-
export * from "./commands/UpdateQuerySuggestionsConfigCommand";
|
|
48
|
-
export * from "./commands/UpdateThesaurusCommand";
|
|
49
|
-
export * from "./pagination/Interfaces";
|
|
50
|
-
export * from "./models/index";
|
package/src/models/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|