@aws-sdk/client-qbusiness 3.461.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/LICENSE +201 -0
- package/README.md +646 -0
- package/dist-cjs/QBusiness.js +121 -0
- package/dist-cjs/QBusinessClient.js +43 -0
- package/dist-cjs/commands/BatchDeleteDocumentCommand.js +50 -0
- package/dist-cjs/commands/BatchPutDocumentCommand.js +50 -0
- package/dist-cjs/commands/ChatSyncCommand.js +50 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +51 -0
- package/dist-cjs/commands/CreateDataSourceCommand.js +50 -0
- package/dist-cjs/commands/CreateIndexCommand.js +50 -0
- package/dist-cjs/commands/CreatePluginCommand.js +50 -0
- package/dist-cjs/commands/CreateRetrieverCommand.js +50 -0
- package/dist-cjs/commands/CreateUserCommand.js +50 -0
- package/dist-cjs/commands/CreateWebExperienceCommand.js +50 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +50 -0
- package/dist-cjs/commands/DeleteChatControlsConfigurationCommand.js +50 -0
- package/dist-cjs/commands/DeleteConversationCommand.js +50 -0
- package/dist-cjs/commands/DeleteDataSourceCommand.js +50 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +50 -0
- package/dist-cjs/commands/DeleteIndexCommand.js +50 -0
- package/dist-cjs/commands/DeletePluginCommand.js +50 -0
- package/dist-cjs/commands/DeleteRetrieverCommand.js +50 -0
- package/dist-cjs/commands/DeleteUserCommand.js +50 -0
- package/dist-cjs/commands/DeleteWebExperienceCommand.js +50 -0
- package/dist-cjs/commands/GetApplicationCommand.js +51 -0
- package/dist-cjs/commands/GetChatControlsConfigurationCommand.js +50 -0
- package/dist-cjs/commands/GetDataSourceCommand.js +50 -0
- package/dist-cjs/commands/GetGroupCommand.js +50 -0
- package/dist-cjs/commands/GetIndexCommand.js +50 -0
- package/dist-cjs/commands/GetPluginCommand.js +50 -0
- package/dist-cjs/commands/GetRetrieverCommand.js +50 -0
- package/dist-cjs/commands/GetUserCommand.js +50 -0
- package/dist-cjs/commands/GetWebExperienceCommand.js +50 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +50 -0
- package/dist-cjs/commands/ListConversationsCommand.js +50 -0
- package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +50 -0
- package/dist-cjs/commands/ListDataSourcesCommand.js +50 -0
- package/dist-cjs/commands/ListDocumentsCommand.js +50 -0
- package/dist-cjs/commands/ListGroupsCommand.js +50 -0
- package/dist-cjs/commands/ListIndicesCommand.js +50 -0
- package/dist-cjs/commands/ListMessagesCommand.js +50 -0
- package/dist-cjs/commands/ListPluginsCommand.js +50 -0
- package/dist-cjs/commands/ListRetrieversCommand.js +50 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +50 -0
- package/dist-cjs/commands/ListWebExperiencesCommand.js +50 -0
- package/dist-cjs/commands/PutFeedbackCommand.js +50 -0
- package/dist-cjs/commands/PutGroupCommand.js +50 -0
- package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +50 -0
- package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +50 -0
- package/dist-cjs/commands/TagResourceCommand.js +50 -0
- package/dist-cjs/commands/UntagResourceCommand.js +50 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +50 -0
- package/dist-cjs/commands/UpdateChatControlsConfigurationCommand.js +50 -0
- package/dist-cjs/commands/UpdateDataSourceCommand.js +50 -0
- package/dist-cjs/commands/UpdateIndexCommand.js +50 -0
- package/dist-cjs/commands/UpdatePluginCommand.js +50 -0
- package/dist-cjs/commands/UpdateRetrieverCommand.js +50 -0
- package/dist-cjs/commands/UpdateUserCommand.js +50 -0
- package/dist-cjs/commands/UpdateWebExperienceCommand.js +50 -0
- package/dist-cjs/commands/index.js +58 -0
- package/dist-cjs/endpoint/EndpointParameters.js +11 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/QBusinessServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +392 -0
- package/dist-cjs/pagination/GetChatControlsConfigurationPaginator.js +29 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListConversationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDataSourceSyncJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDataSourcesPaginator.js +29 -0
- package/dist-cjs/pagination/ListDocumentsPaginator.js +29 -0
- package/dist-cjs/pagination/ListGroupsPaginator.js +29 -0
- package/dist-cjs/pagination/ListIndicesPaginator.js +29 -0
- package/dist-cjs/pagination/ListMessagesPaginator.js +29 -0
- package/dist-cjs/pagination/ListPluginsPaginator.js +29 -0
- package/dist-cjs/pagination/ListRetrieversPaginator.js +29 -0
- package/dist-cjs/pagination/ListWebExperiencesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +16 -0
- package/dist-cjs/protocols/Aws_restJson1.js +4637 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +51 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/QBusiness.js +117 -0
- package/dist-es/QBusinessClient.js +39 -0
- package/dist-es/commands/BatchDeleteDocumentCommand.js +46 -0
- package/dist-es/commands/BatchPutDocumentCommand.js +46 -0
- package/dist-es/commands/ChatSyncCommand.js +46 -0
- package/dist-es/commands/CreateApplicationCommand.js +47 -0
- package/dist-es/commands/CreateDataSourceCommand.js +46 -0
- package/dist-es/commands/CreateIndexCommand.js +46 -0
- package/dist-es/commands/CreatePluginCommand.js +46 -0
- package/dist-es/commands/CreateRetrieverCommand.js +46 -0
- package/dist-es/commands/CreateUserCommand.js +46 -0
- package/dist-es/commands/CreateWebExperienceCommand.js +46 -0
- package/dist-es/commands/DeleteApplicationCommand.js +46 -0
- package/dist-es/commands/DeleteChatControlsConfigurationCommand.js +46 -0
- package/dist-es/commands/DeleteConversationCommand.js +46 -0
- package/dist-es/commands/DeleteDataSourceCommand.js +46 -0
- package/dist-es/commands/DeleteGroupCommand.js +46 -0
- package/dist-es/commands/DeleteIndexCommand.js +46 -0
- package/dist-es/commands/DeletePluginCommand.js +46 -0
- package/dist-es/commands/DeleteRetrieverCommand.js +46 -0
- package/dist-es/commands/DeleteUserCommand.js +46 -0
- package/dist-es/commands/DeleteWebExperienceCommand.js +46 -0
- package/dist-es/commands/GetApplicationCommand.js +47 -0
- package/dist-es/commands/GetChatControlsConfigurationCommand.js +46 -0
- package/dist-es/commands/GetDataSourceCommand.js +46 -0
- package/dist-es/commands/GetGroupCommand.js +46 -0
- package/dist-es/commands/GetIndexCommand.js +46 -0
- package/dist-es/commands/GetPluginCommand.js +46 -0
- package/dist-es/commands/GetRetrieverCommand.js +46 -0
- package/dist-es/commands/GetUserCommand.js +46 -0
- package/dist-es/commands/GetWebExperienceCommand.js +46 -0
- package/dist-es/commands/ListApplicationsCommand.js +46 -0
- package/dist-es/commands/ListConversationsCommand.js +46 -0
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +46 -0
- package/dist-es/commands/ListDataSourcesCommand.js +46 -0
- package/dist-es/commands/ListDocumentsCommand.js +46 -0
- package/dist-es/commands/ListGroupsCommand.js +46 -0
- package/dist-es/commands/ListIndicesCommand.js +46 -0
- package/dist-es/commands/ListMessagesCommand.js +46 -0
- package/dist-es/commands/ListPluginsCommand.js +46 -0
- package/dist-es/commands/ListRetrieversCommand.js +46 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-es/commands/ListWebExperiencesCommand.js +46 -0
- package/dist-es/commands/PutFeedbackCommand.js +46 -0
- package/dist-es/commands/PutGroupCommand.js +46 -0
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +46 -0
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +46 -0
- package/dist-es/commands/TagResourceCommand.js +46 -0
- package/dist-es/commands/UntagResourceCommand.js +46 -0
- package/dist-es/commands/UpdateApplicationCommand.js +46 -0
- package/dist-es/commands/UpdateChatControlsConfigurationCommand.js +46 -0
- package/dist-es/commands/UpdateDataSourceCommand.js +46 -0
- package/dist-es/commands/UpdateIndexCommand.js +46 -0
- package/dist-es/commands/UpdatePluginCommand.js +46 -0
- package/dist-es/commands/UpdateRetrieverCommand.js +46 -0
- package/dist-es/commands/UpdateUserCommand.js +46 -0
- package/dist-es/commands/UpdateWebExperienceCommand.js +46 -0
- package/dist-es/commands/index.js +55 -0
- package/dist-es/endpoint/EndpointParameters.js +7 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/QBusinessServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +378 -0
- package/dist-es/pagination/GetChatControlsConfigurationPaginator.js +25 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +25 -0
- package/dist-es/pagination/ListConversationsPaginator.js +25 -0
- package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +25 -0
- package/dist-es/pagination/ListDataSourcesPaginator.js +25 -0
- package/dist-es/pagination/ListDocumentsPaginator.js +25 -0
- package/dist-es/pagination/ListGroupsPaginator.js +25 -0
- package/dist-es/pagination/ListIndicesPaginator.js +25 -0
- package/dist-es/pagination/ListMessagesPaginator.js +25 -0
- package/dist-es/pagination/ListPluginsPaginator.js +25 -0
- package/dist-es/pagination/ListRetrieversPaginator.js +25 -0
- package/dist-es/pagination/ListWebExperiencesPaginator.js +25 -0
- package/dist-es/pagination/index.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +4522 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +46 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/QBusiness.d.ts +396 -0
- package/dist-types/QBusinessClient.d.ts +225 -0
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +116 -0
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +228 -0
- package/dist-types/commands/ChatSyncCommand.d.ts +253 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +116 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +190 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +121 -0
- package/dist-types/commands/CreatePluginCommand.d.ts +121 -0
- package/dist-types/commands/CreateRetrieverCommand.d.ts +119 -0
- package/dist-types/commands/CreateUserCommand.d.ts +108 -0
- package/dist-types/commands/CreateWebExperienceCommand.d.ts +112 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +95 -0
- package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/DeleteConversationCommand.d.ts +97 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +99 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +106 -0
- package/dist-types/commands/DeleteIndexCommand.d.ts +96 -0
- package/dist-types/commands/DeletePluginCommand.d.ts +96 -0
- package/dist-types/commands/DeleteRetrieverCommand.d.ts +96 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +96 -0
- package/dist-types/commands/DeleteWebExperienceCommand.d.ts +96 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +110 -0
- package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +146 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +184 -0
- package/dist-types/commands/GetGroupCommand.d.ts +117 -0
- package/dist-types/commands/GetIndexCommand.d.ts +121 -0
- package/dist-types/commands/GetPluginCommand.d.ts +112 -0
- package/dist-types/commands/GetRetrieverCommand.d.ts +111 -0
- package/dist-types/commands/GetUserCommand.d.ts +105 -0
- package/dist-types/commands/GetWebExperienceCommand.d.ts +116 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +99 -0
- package/dist-types/commands/ListConversationsCommand.d.ts +107 -0
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +120 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +106 -0
- package/dist-types/commands/ListDocumentsCommand.d.ts +111 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +107 -0
- package/dist-types/commands/ListIndicesCommand.d.ts +104 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +163 -0
- package/dist-types/commands/ListPluginsCommand.d.ts +106 -0
- package/dist-types/commands/ListRetrieversCommand.d.ts +104 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +99 -0
- package/dist-types/commands/ListWebExperiencesCommand.d.ts +104 -0
- package/dist-types/commands/PutFeedbackCommand.d.ts +102 -0
- package/dist-types/commands/PutGroupCommand.d.ts +122 -0
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +103 -0
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +103 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +101 -0
- package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +196 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +175 -0
- package/dist-types/commands/UpdateIndexCommand.d.ts +111 -0
- package/dist-types/commands/UpdatePluginCommand.d.ts +112 -0
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +109 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +131 -0
- package/dist-types/commands/UpdateWebExperienceCommand.d.ts +108 -0
- package/dist-types/commands/index.d.ts +55 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/QBusinessServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +5077 -0
- package/dist-types/pagination/GetChatControlsConfigurationPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConversationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataSourceSyncJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDocumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIndicesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMessagesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPluginsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRetrieversPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWebExperiencesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +13 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +497 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/QBusiness.d.ts +940 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +448 -0
- package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ChatSyncCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreatePluginCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateRetrieverCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateWebExperienceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteChatControlsConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteConversationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeletePluginCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteRetrieverCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteWebExperienceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetChatControlsConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetPluginCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetRetrieverCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetWebExperienceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListConversationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListPluginsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListRetrieversCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListWebExperiencesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/PutGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdatePluginCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateRetrieverCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateWebExperienceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +55 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +31 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/QBusinessServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1406 -0
- package/dist-types/ts3.4/pagination/GetChatControlsConfigurationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConversationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataSourceSyncJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDocumentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIndicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMessagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPluginsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRetrieversPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWebExperiencesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +665 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +104 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
3
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
4
|
+
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
5
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
7
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
8
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
|
+
import { BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput } from "./commands/BatchDeleteDocumentCommand";
|
|
12
|
+
import { BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput } from "./commands/BatchPutDocumentCommand";
|
|
13
|
+
import { ChatSyncCommandInput, ChatSyncCommandOutput } from "./commands/ChatSyncCommand";
|
|
14
|
+
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
15
|
+
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
|
|
16
|
+
import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
17
|
+
import { CreatePluginCommandInput, CreatePluginCommandOutput } from "./commands/CreatePluginCommand";
|
|
18
|
+
import { CreateRetrieverCommandInput, CreateRetrieverCommandOutput } from "./commands/CreateRetrieverCommand";
|
|
19
|
+
import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
20
|
+
import { CreateWebExperienceCommandInput, CreateWebExperienceCommandOutput } from "./commands/CreateWebExperienceCommand";
|
|
21
|
+
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
22
|
+
import { DeleteChatControlsConfigurationCommandInput, DeleteChatControlsConfigurationCommandOutput } from "./commands/DeleteChatControlsConfigurationCommand";
|
|
23
|
+
import { DeleteConversationCommandInput, DeleteConversationCommandOutput } from "./commands/DeleteConversationCommand";
|
|
24
|
+
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
25
|
+
import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
|
|
26
|
+
import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
|
|
27
|
+
import { DeletePluginCommandInput, DeletePluginCommandOutput } from "./commands/DeletePluginCommand";
|
|
28
|
+
import { DeleteRetrieverCommandInput, DeleteRetrieverCommandOutput } from "./commands/DeleteRetrieverCommand";
|
|
29
|
+
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
30
|
+
import { DeleteWebExperienceCommandInput, DeleteWebExperienceCommandOutput } from "./commands/DeleteWebExperienceCommand";
|
|
31
|
+
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
32
|
+
import { GetChatControlsConfigurationCommandInput, GetChatControlsConfigurationCommandOutput } from "./commands/GetChatControlsConfigurationCommand";
|
|
33
|
+
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
34
|
+
import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
|
|
35
|
+
import { GetIndexCommandInput, GetIndexCommandOutput } from "./commands/GetIndexCommand";
|
|
36
|
+
import { GetPluginCommandInput, GetPluginCommandOutput } from "./commands/GetPluginCommand";
|
|
37
|
+
import { GetRetrieverCommandInput, GetRetrieverCommandOutput } from "./commands/GetRetrieverCommand";
|
|
38
|
+
import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
39
|
+
import { GetWebExperienceCommandInput, GetWebExperienceCommandOutput } from "./commands/GetWebExperienceCommand";
|
|
40
|
+
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
41
|
+
import { ListConversationsCommandInput, ListConversationsCommandOutput } from "./commands/ListConversationsCommand";
|
|
42
|
+
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
43
|
+
import { ListDataSourceSyncJobsCommandInput, ListDataSourceSyncJobsCommandOutput } from "./commands/ListDataSourceSyncJobsCommand";
|
|
44
|
+
import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "./commands/ListDocumentsCommand";
|
|
45
|
+
import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
|
|
46
|
+
import { ListIndicesCommandInput, ListIndicesCommandOutput } from "./commands/ListIndicesCommand";
|
|
47
|
+
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
48
|
+
import { ListPluginsCommandInput, ListPluginsCommandOutput } from "./commands/ListPluginsCommand";
|
|
49
|
+
import { ListRetrieversCommandInput, ListRetrieversCommandOutput } from "./commands/ListRetrieversCommand";
|
|
50
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
51
|
+
import { ListWebExperiencesCommandInput, ListWebExperiencesCommandOutput } from "./commands/ListWebExperiencesCommand";
|
|
52
|
+
import { PutFeedbackCommandInput, PutFeedbackCommandOutput } from "./commands/PutFeedbackCommand";
|
|
53
|
+
import { PutGroupCommandInput, PutGroupCommandOutput } from "./commands/PutGroupCommand";
|
|
54
|
+
import { StartDataSourceSyncJobCommandInput, StartDataSourceSyncJobCommandOutput } from "./commands/StartDataSourceSyncJobCommand";
|
|
55
|
+
import { StopDataSourceSyncJobCommandInput, StopDataSourceSyncJobCommandOutput } from "./commands/StopDataSourceSyncJobCommand";
|
|
56
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
57
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
58
|
+
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
59
|
+
import { UpdateChatControlsConfigurationCommandInput, UpdateChatControlsConfigurationCommandOutput } from "./commands/UpdateChatControlsConfigurationCommand";
|
|
60
|
+
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
61
|
+
import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "./commands/UpdateIndexCommand";
|
|
62
|
+
import { UpdatePluginCommandInput, UpdatePluginCommandOutput } from "./commands/UpdatePluginCommand";
|
|
63
|
+
import { UpdateRetrieverCommandInput, UpdateRetrieverCommandOutput } from "./commands/UpdateRetrieverCommand";
|
|
64
|
+
import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
|
|
65
|
+
import { UpdateWebExperienceCommandInput, UpdateWebExperienceCommandOutput } from "./commands/UpdateWebExperienceCommand";
|
|
66
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
67
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
68
|
+
export { __Client };
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export type ServiceInputTypes = BatchDeleteDocumentCommandInput | BatchPutDocumentCommandInput | ChatSyncCommandInput | CreateApplicationCommandInput | CreateDataSourceCommandInput | CreateIndexCommandInput | CreatePluginCommandInput | CreateRetrieverCommandInput | CreateUserCommandInput | CreateWebExperienceCommandInput | DeleteApplicationCommandInput | DeleteChatControlsConfigurationCommandInput | DeleteConversationCommandInput | DeleteDataSourceCommandInput | DeleteGroupCommandInput | DeleteIndexCommandInput | DeletePluginCommandInput | DeleteRetrieverCommandInput | DeleteUserCommandInput | DeleteWebExperienceCommandInput | GetApplicationCommandInput | GetChatControlsConfigurationCommandInput | GetDataSourceCommandInput | GetGroupCommandInput | GetIndexCommandInput | GetPluginCommandInput | GetRetrieverCommandInput | GetUserCommandInput | GetWebExperienceCommandInput | ListApplicationsCommandInput | ListConversationsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListDocumentsCommandInput | ListGroupsCommandInput | ListIndicesCommandInput | ListMessagesCommandInput | ListPluginsCommandInput | ListRetrieversCommandInput | ListTagsForResourceCommandInput | ListWebExperiencesCommandInput | PutFeedbackCommandInput | PutGroupCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateChatControlsConfigurationCommandInput | UpdateDataSourceCommandInput | UpdateIndexCommandInput | UpdatePluginCommandInput | UpdateRetrieverCommandInput | UpdateUserCommandInput | UpdateWebExperienceCommandInput;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export type ServiceOutputTypes = BatchDeleteDocumentCommandOutput | BatchPutDocumentCommandOutput | ChatSyncCommandOutput | CreateApplicationCommandOutput | CreateDataSourceCommandOutput | CreateIndexCommandOutput | CreatePluginCommandOutput | CreateRetrieverCommandOutput | CreateUserCommandOutput | CreateWebExperienceCommandOutput | DeleteApplicationCommandOutput | DeleteChatControlsConfigurationCommandOutput | DeleteConversationCommandOutput | DeleteDataSourceCommandOutput | DeleteGroupCommandOutput | DeleteIndexCommandOutput | DeletePluginCommandOutput | DeleteRetrieverCommandOutput | DeleteUserCommandOutput | DeleteWebExperienceCommandOutput | GetApplicationCommandOutput | GetChatControlsConfigurationCommandOutput | GetDataSourceCommandOutput | GetGroupCommandOutput | GetIndexCommandOutput | GetPluginCommandOutput | GetRetrieverCommandOutput | GetUserCommandOutput | GetWebExperienceCommandOutput | ListApplicationsCommandOutput | ListConversationsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListDocumentsCommandOutput | ListGroupsCommandOutput | ListIndicesCommandOutput | ListMessagesCommandOutput | ListPluginsCommandOutput | ListRetrieversCommandOutput | ListTagsForResourceCommandOutput | ListWebExperiencesCommandOutput | PutFeedbackCommandOutput | PutGroupCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateChatControlsConfigurationCommandOutput | UpdateDataSourceCommandOutput | UpdateIndexCommandOutput | UpdatePluginCommandOutput | UpdateRetrieverCommandOutput | UpdateUserCommandOutput | UpdateWebExperienceCommandOutput;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
81
|
+
/**
|
|
82
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
83
|
+
*/
|
|
84
|
+
requestHandler?: __HttpHandler;
|
|
85
|
+
/**
|
|
86
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
87
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
91
|
+
/**
|
|
92
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
urlParser?: __UrlParser;
|
|
96
|
+
/**
|
|
97
|
+
* A function that can calculate the length of a request body.
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
101
|
+
/**
|
|
102
|
+
* A function that converts a stream into an array of bytes.
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
streamCollector?: __StreamCollector;
|
|
106
|
+
/**
|
|
107
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
base64Decoder?: __Decoder;
|
|
111
|
+
/**
|
|
112
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
base64Encoder?: __Encoder;
|
|
116
|
+
/**
|
|
117
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
utf8Decoder?: __Decoder;
|
|
121
|
+
/**
|
|
122
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
utf8Encoder?: __Encoder;
|
|
126
|
+
/**
|
|
127
|
+
* The runtime environment.
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
runtime?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
133
|
+
* trait of an operation.
|
|
134
|
+
*/
|
|
135
|
+
disableHostPrefix?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Unique service identifier.
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
serviceId?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
143
|
+
*/
|
|
144
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* Enables FIPS compatible endpoints.
|
|
147
|
+
*/
|
|
148
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
149
|
+
/**
|
|
150
|
+
* The AWS region to which this client will send requests
|
|
151
|
+
*/
|
|
152
|
+
region?: string | __Provider<string>;
|
|
153
|
+
/**
|
|
154
|
+
* Default credentials provider; Not available in browser runtime.
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
158
|
+
/**
|
|
159
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
163
|
+
/**
|
|
164
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
165
|
+
*/
|
|
166
|
+
maxAttempts?: number | __Provider<number>;
|
|
167
|
+
/**
|
|
168
|
+
* Specifies which retry algorithm to use.
|
|
169
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
retryMode?: string | __Provider<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Optional logger for logging debug/info/warn/error.
|
|
175
|
+
*/
|
|
176
|
+
logger?: __Logger;
|
|
177
|
+
/**
|
|
178
|
+
* Optional extensions
|
|
179
|
+
*/
|
|
180
|
+
extensions?: RuntimeExtension[];
|
|
181
|
+
/**
|
|
182
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
183
|
+
*/
|
|
184
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export type QBusinessClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
190
|
+
/**
|
|
191
|
+
* @public
|
|
192
|
+
*
|
|
193
|
+
* The configuration interface of QBusinessClient class constructor that set the region, credentials and other options.
|
|
194
|
+
*/
|
|
195
|
+
export interface QBusinessClientConfig extends QBusinessClientConfigType {
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
export type QBusinessClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
*
|
|
204
|
+
* The resolved configuration interface of QBusinessClient class. This is resolved and normalized from the {@link QBusinessClientConfig | constructor configuration interface}.
|
|
205
|
+
*/
|
|
206
|
+
export interface QBusinessClientResolvedConfig extends QBusinessClientResolvedConfigType {
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
* <p>
|
|
211
|
+
* </p>
|
|
212
|
+
*/
|
|
213
|
+
export declare class QBusinessClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, QBusinessClientResolvedConfig> {
|
|
214
|
+
/**
|
|
215
|
+
* The resolved configuration of QBusinessClient class. This is resolved and normalized from the {@link QBusinessClientConfig | constructor configuration interface}.
|
|
216
|
+
*/
|
|
217
|
+
readonly config: QBusinessClientResolvedConfig;
|
|
218
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<QBusinessClientConfig>);
|
|
219
|
+
/**
|
|
220
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
221
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
222
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
223
|
+
*/
|
|
224
|
+
destroy(): void;
|
|
225
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BatchDeleteDocumentRequest, BatchDeleteDocumentResponse } from "../models/models_0";
|
|
5
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDeleteDocumentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteDocumentCommandInput extends BatchDeleteDocumentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteDocumentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteDocumentCommandOutput extends BatchDeleteDocumentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Asynchronously deletes one or more documents added using the
|
|
27
|
+
* <code>BatchPutDocument</code> API from an Amazon Q index.</p>
|
|
28
|
+
* <p>You can see the progress of the deletion, and any error messages related to the
|
|
29
|
+
* process, by using CloudWatch.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { QBusinessClient, BatchDeleteDocumentCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
34
|
+
* // const { QBusinessClient, BatchDeleteDocumentCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
35
|
+
* const client = new QBusinessClient(config);
|
|
36
|
+
* const input = { // BatchDeleteDocumentRequest
|
|
37
|
+
* applicationId: "STRING_VALUE", // required
|
|
38
|
+
* indexId: "STRING_VALUE", // required
|
|
39
|
+
* documents: [ // DeleteDocuments // required
|
|
40
|
+
* { // DeleteDocument
|
|
41
|
+
* documentId: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* dataSourceSyncId: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new BatchDeleteDocumentCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // BatchDeleteDocumentResponse
|
|
49
|
+
* // failedDocuments: [ // FailedDocuments
|
|
50
|
+
* // { // FailedDocument
|
|
51
|
+
* // id: "STRING_VALUE",
|
|
52
|
+
* // error: { // ErrorDetail
|
|
53
|
+
* // errorMessage: "STRING_VALUE",
|
|
54
|
+
* // errorCode: "InternalError" || "InvalidRequest" || "ResourceInactive" || "ResourceNotFound",
|
|
55
|
+
* // },
|
|
56
|
+
* // dataSourceId: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param BatchDeleteDocumentCommandInput - {@link BatchDeleteDocumentCommandInput}
|
|
64
|
+
* @returns {@link BatchDeleteDocumentCommandOutput}
|
|
65
|
+
* @see {@link BatchDeleteDocumentCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link BatchDeleteDocumentCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p> You don't have access to perform this action. Make sure you have the required
|
|
71
|
+
* permission policies and user accounts and try again.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ConflictException} (client fault)
|
|
74
|
+
* <p>You are trying to perform an action that conflicts with the current status of your
|
|
75
|
+
* resource. Fix any inconsistences with your resources and try again.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>An issue occurred with the internal server used for your Amazon Q service. Wait
|
|
79
|
+
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
|
|
83
|
+
* resource and try again.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
87
|
+
* again.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
|
|
91
|
+
* correct input and try again.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link QBusinessServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
export declare class BatchDeleteDocumentCommand extends $Command<BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput, QBusinessClientResolvedConfig> {
|
|
98
|
+
readonly input: BatchDeleteDocumentCommandInput;
|
|
99
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
constructor(input: BatchDeleteDocumentCommandInput);
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput>;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
private serialize;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
private deserialize;
|
|
116
|
+
}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BatchPutDocumentRequest, BatchPutDocumentResponse } from "../models/models_0";
|
|
5
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchPutDocumentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchPutDocumentCommandInput extends BatchPutDocumentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchPutDocumentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchPutDocumentCommandOutput extends BatchPutDocumentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Adds one or more documents to an Amazon Q index.</p>
|
|
27
|
+
* <p>You use this API to:</p>
|
|
28
|
+
* <ul>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>ingest your structured and unstructured documents and documents stored in an
|
|
31
|
+
* Amazon S3 bucket into an Amazon Q index.</p>
|
|
32
|
+
* </li>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>add custom attributes to documents in an Amazon Q index.</p>
|
|
35
|
+
* </li>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>attach an access control list to the documents added to an Amazon Q
|
|
38
|
+
* index.</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* </ul>
|
|
41
|
+
* <p>You can see the progress of the deletion, and any error messages related to the
|
|
42
|
+
* process, by using CloudWatch.</p>
|
|
43
|
+
* @example
|
|
44
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
+
* ```javascript
|
|
46
|
+
* import { QBusinessClient, BatchPutDocumentCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
47
|
+
* // const { QBusinessClient, BatchPutDocumentCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
48
|
+
* const client = new QBusinessClient(config);
|
|
49
|
+
* const input = { // BatchPutDocumentRequest
|
|
50
|
+
* applicationId: "STRING_VALUE", // required
|
|
51
|
+
* indexId: "STRING_VALUE", // required
|
|
52
|
+
* documents: [ // Documents // required
|
|
53
|
+
* { // Document
|
|
54
|
+
* id: "STRING_VALUE", // required
|
|
55
|
+
* attributes: [ // DocumentAttributes
|
|
56
|
+
* { // DocumentAttribute
|
|
57
|
+
* name: "STRING_VALUE", // required
|
|
58
|
+
* value: { // DocumentAttributeValue Union: only one key present
|
|
59
|
+
* stringValue: "STRING_VALUE",
|
|
60
|
+
* stringListValue: [ // DocumentAttributeStringListValue
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* longValue: Number("long"),
|
|
64
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* content: { // DocumentContent Union: only one key present
|
|
69
|
+
* blob: "BLOB_VALUE",
|
|
70
|
+
* s3: { // S3
|
|
71
|
+
* bucket: "STRING_VALUE", // required
|
|
72
|
+
* key: "STRING_VALUE", // required
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* contentType: "PDF" || "HTML" || "MS_WORD" || "PLAIN_TEXT" || "PPT" || "RTF" || "XML" || "XSLT" || "MS_EXCEL" || "CSV" || "JSON" || "MD",
|
|
76
|
+
* title: "STRING_VALUE",
|
|
77
|
+
* accessConfiguration: { // AccessConfiguration
|
|
78
|
+
* accessControls: [ // AccessControls // required
|
|
79
|
+
* { // AccessControl
|
|
80
|
+
* principals: [ // Principals // required
|
|
81
|
+
* { // Principal Union: only one key present
|
|
82
|
+
* user: { // PrincipalUser
|
|
83
|
+
* id: "STRING_VALUE",
|
|
84
|
+
* access: "ALLOW" || "DENY", // required
|
|
85
|
+
* membershipType: "INDEX" || "DATASOURCE",
|
|
86
|
+
* },
|
|
87
|
+
* group: { // PrincipalGroup
|
|
88
|
+
* name: "STRING_VALUE",
|
|
89
|
+
* access: "ALLOW" || "DENY", // required
|
|
90
|
+
* membershipType: "INDEX" || "DATASOURCE",
|
|
91
|
+
* },
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* memberRelation: "AND" || "OR",
|
|
95
|
+
* },
|
|
96
|
+
* ],
|
|
97
|
+
* memberRelation: "AND" || "OR",
|
|
98
|
+
* },
|
|
99
|
+
* documentEnrichmentConfiguration: { // DocumentEnrichmentConfiguration
|
|
100
|
+
* inlineConfigurations: [ // InlineDocumentEnrichmentConfigurations
|
|
101
|
+
* { // InlineDocumentEnrichmentConfiguration
|
|
102
|
+
* condition: { // DocumentAttributeCondition
|
|
103
|
+
* key: "STRING_VALUE", // required
|
|
104
|
+
* operator: "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "EXISTS" || "NOT_EXISTS" || "BEGINS_WITH", // required
|
|
105
|
+
* value: {// Union: only one key present
|
|
106
|
+
* stringValue: "STRING_VALUE",
|
|
107
|
+
* stringListValue: [
|
|
108
|
+
* "STRING_VALUE",
|
|
109
|
+
* ],
|
|
110
|
+
* longValue: Number("long"),
|
|
111
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
112
|
+
* },
|
|
113
|
+
* },
|
|
114
|
+
* target: { // DocumentAttributeTarget
|
|
115
|
+
* key: "STRING_VALUE", // required
|
|
116
|
+
* value: {// Union: only one key present
|
|
117
|
+
* stringValue: "STRING_VALUE",
|
|
118
|
+
* stringListValue: [
|
|
119
|
+
* "STRING_VALUE",
|
|
120
|
+
* ],
|
|
121
|
+
* longValue: Number("long"),
|
|
122
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
123
|
+
* },
|
|
124
|
+
* attributeValueOperator: "DELETE",
|
|
125
|
+
* },
|
|
126
|
+
* documentContentOperator: "DELETE",
|
|
127
|
+
* },
|
|
128
|
+
* ],
|
|
129
|
+
* preExtractionHookConfiguration: { // HookConfiguration
|
|
130
|
+
* invocationCondition: {
|
|
131
|
+
* key: "STRING_VALUE", // required
|
|
132
|
+
* operator: "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "EXISTS" || "NOT_EXISTS" || "BEGINS_WITH", // required
|
|
133
|
+
* value: "<DocumentAttributeValue>",
|
|
134
|
+
* },
|
|
135
|
+
* lambdaArn: "STRING_VALUE",
|
|
136
|
+
* s3BucketName: "STRING_VALUE",
|
|
137
|
+
* roleArn: "STRING_VALUE",
|
|
138
|
+
* },
|
|
139
|
+
* postExtractionHookConfiguration: {
|
|
140
|
+
* invocationCondition: {
|
|
141
|
+
* key: "STRING_VALUE", // required
|
|
142
|
+
* operator: "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "EXISTS" || "NOT_EXISTS" || "BEGINS_WITH", // required
|
|
143
|
+
* value: "<DocumentAttributeValue>",
|
|
144
|
+
* },
|
|
145
|
+
* lambdaArn: "STRING_VALUE",
|
|
146
|
+
* s3BucketName: "STRING_VALUE",
|
|
147
|
+
* roleArn: "STRING_VALUE",
|
|
148
|
+
* },
|
|
149
|
+
* },
|
|
150
|
+
* },
|
|
151
|
+
* ],
|
|
152
|
+
* roleArn: "STRING_VALUE",
|
|
153
|
+
* dataSourceSyncId: "STRING_VALUE",
|
|
154
|
+
* };
|
|
155
|
+
* const command = new BatchPutDocumentCommand(input);
|
|
156
|
+
* const response = await client.send(command);
|
|
157
|
+
* // { // BatchPutDocumentResponse
|
|
158
|
+
* // failedDocuments: [ // FailedDocuments
|
|
159
|
+
* // { // FailedDocument
|
|
160
|
+
* // id: "STRING_VALUE",
|
|
161
|
+
* // error: { // ErrorDetail
|
|
162
|
+
* // errorMessage: "STRING_VALUE",
|
|
163
|
+
* // errorCode: "InternalError" || "InvalidRequest" || "ResourceInactive" || "ResourceNotFound",
|
|
164
|
+
* // },
|
|
165
|
+
* // dataSourceId: "STRING_VALUE",
|
|
166
|
+
* // },
|
|
167
|
+
* // ],
|
|
168
|
+
* // };
|
|
169
|
+
*
|
|
170
|
+
* ```
|
|
171
|
+
*
|
|
172
|
+
* @param BatchPutDocumentCommandInput - {@link BatchPutDocumentCommandInput}
|
|
173
|
+
* @returns {@link BatchPutDocumentCommandOutput}
|
|
174
|
+
* @see {@link BatchPutDocumentCommandInput} for command's `input` shape.
|
|
175
|
+
* @see {@link BatchPutDocumentCommandOutput} for command's `response` shape.
|
|
176
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
179
|
+
* <p> You don't have access to perform this action. Make sure you have the required
|
|
180
|
+
* permission policies and user accounts and try again.</p>
|
|
181
|
+
*
|
|
182
|
+
* @throws {@link ConflictException} (client fault)
|
|
183
|
+
* <p>You are trying to perform an action that conflicts with the current status of your
|
|
184
|
+
* resource. Fix any inconsistences with your resources and try again.</p>
|
|
185
|
+
*
|
|
186
|
+
* @throws {@link InternalServerException} (server fault)
|
|
187
|
+
* <p>An issue occurred with the internal server used for your Amazon Q service. Wait
|
|
188
|
+
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
189
|
+
*
|
|
190
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
191
|
+
* <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
|
|
192
|
+
* resource and try again.</p>
|
|
193
|
+
*
|
|
194
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
195
|
+
* <p>You have exceeded the set limits for your Amazon Q service. </p>
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
198
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
199
|
+
* again.</p>
|
|
200
|
+
*
|
|
201
|
+
* @throws {@link ValidationException} (client fault)
|
|
202
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
|
|
203
|
+
* correct input and try again.</p>
|
|
204
|
+
*
|
|
205
|
+
* @throws {@link QBusinessServiceException}
|
|
206
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
207
|
+
*
|
|
208
|
+
*/
|
|
209
|
+
export declare class BatchPutDocumentCommand extends $Command<BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput, QBusinessClientResolvedConfig> {
|
|
210
|
+
readonly input: BatchPutDocumentCommandInput;
|
|
211
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
constructor(input: BatchPutDocumentCommandInput);
|
|
216
|
+
/**
|
|
217
|
+
* @internal
|
|
218
|
+
*/
|
|
219
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput>;
|
|
220
|
+
/**
|
|
221
|
+
* @internal
|
|
222
|
+
*/
|
|
223
|
+
private serialize;
|
|
224
|
+
/**
|
|
225
|
+
* @internal
|
|
226
|
+
*/
|
|
227
|
+
private deserialize;
|
|
228
|
+
}
|