@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,378 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { QBusinessServiceException as __BaseException } from "./QBusinessServiceException";
|
|
3
|
+
export const MemberRelation = {
|
|
4
|
+
AND: "AND",
|
|
5
|
+
OR: "OR",
|
|
6
|
+
};
|
|
7
|
+
export const ReadAccessType = {
|
|
8
|
+
ALLOW: "ALLOW",
|
|
9
|
+
DENY: "DENY",
|
|
10
|
+
};
|
|
11
|
+
export const MembershipType = {
|
|
12
|
+
DATASOURCE: "DATASOURCE",
|
|
13
|
+
INDEX: "INDEX",
|
|
14
|
+
};
|
|
15
|
+
export var Principal;
|
|
16
|
+
(function (Principal) {
|
|
17
|
+
Principal.visit = (value, visitor) => {
|
|
18
|
+
if (value.user !== undefined)
|
|
19
|
+
return visitor.user(value.user);
|
|
20
|
+
if (value.group !== undefined)
|
|
21
|
+
return visitor.group(value.group);
|
|
22
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
23
|
+
};
|
|
24
|
+
})(Principal || (Principal = {}));
|
|
25
|
+
export class AccessDeniedException extends __BaseException {
|
|
26
|
+
constructor(opts) {
|
|
27
|
+
super({
|
|
28
|
+
name: "AccessDeniedException",
|
|
29
|
+
$fault: "client",
|
|
30
|
+
...opts,
|
|
31
|
+
});
|
|
32
|
+
this.name = "AccessDeniedException";
|
|
33
|
+
this.$fault = "client";
|
|
34
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export const ActionPayloadFieldType = {
|
|
38
|
+
ARRAY: "ARRAY",
|
|
39
|
+
BOOLEAN: "BOOLEAN",
|
|
40
|
+
NUMBER: "NUMBER",
|
|
41
|
+
STRING: "STRING",
|
|
42
|
+
};
|
|
43
|
+
export const PluginType = {
|
|
44
|
+
JIRA: "JIRA",
|
|
45
|
+
SALESFORCE: "SALESFORCE",
|
|
46
|
+
SERVICE_NOW: "SERVICE_NOW",
|
|
47
|
+
ZENDESK: "ZENDESK",
|
|
48
|
+
};
|
|
49
|
+
export const ApplicationStatus = {
|
|
50
|
+
ACTIVE: "ACTIVE",
|
|
51
|
+
CREATING: "CREATING",
|
|
52
|
+
DELETING: "DELETING",
|
|
53
|
+
FAILED: "FAILED",
|
|
54
|
+
UPDATING: "UPDATING",
|
|
55
|
+
};
|
|
56
|
+
export class ConflictException extends __BaseException {
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "ConflictException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
this.name = "ConflictException";
|
|
64
|
+
this.$fault = "client";
|
|
65
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
66
|
+
this.resourceId = opts.resourceId;
|
|
67
|
+
this.resourceType = opts.resourceType;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export const AttachmentsControlMode = {
|
|
71
|
+
DISABLED: "DISABLED",
|
|
72
|
+
ENABLED: "ENABLED",
|
|
73
|
+
};
|
|
74
|
+
export class InternalServerException extends __BaseException {
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "InternalServerException",
|
|
78
|
+
$fault: "server",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
this.name = "InternalServerException";
|
|
82
|
+
this.$fault = "server";
|
|
83
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ResourceNotFoundException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "ResourceNotFoundException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
96
|
+
this.resourceId = opts.resourceId;
|
|
97
|
+
this.resourceType = opts.resourceType;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "ServiceQuotaExceededException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
this.name = "ServiceQuotaExceededException";
|
|
108
|
+
this.$fault = "client";
|
|
109
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
110
|
+
this.resourceId = opts.resourceId;
|
|
111
|
+
this.resourceType = opts.resourceType;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class ThrottlingException extends __BaseException {
|
|
115
|
+
constructor(opts) {
|
|
116
|
+
super({
|
|
117
|
+
name: "ThrottlingException",
|
|
118
|
+
$fault: "client",
|
|
119
|
+
...opts,
|
|
120
|
+
});
|
|
121
|
+
this.name = "ThrottlingException";
|
|
122
|
+
this.$fault = "client";
|
|
123
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
export const ValidationExceptionReason = {
|
|
127
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
128
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
129
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
130
|
+
};
|
|
131
|
+
export class ValidationException extends __BaseException {
|
|
132
|
+
constructor(opts) {
|
|
133
|
+
super({
|
|
134
|
+
name: "ValidationException",
|
|
135
|
+
$fault: "client",
|
|
136
|
+
...opts,
|
|
137
|
+
});
|
|
138
|
+
this.name = "ValidationException";
|
|
139
|
+
this.$fault = "client";
|
|
140
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
141
|
+
this.reason = opts.reason;
|
|
142
|
+
this.fields = opts.fields;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
export const ErrorCode = {
|
|
146
|
+
INTERNAL_ERROR: "InternalError",
|
|
147
|
+
INVALID_REQUEST: "InvalidRequest",
|
|
148
|
+
RESOURCE_INACTIVE: "ResourceInactive",
|
|
149
|
+
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
150
|
+
};
|
|
151
|
+
export const DocumentEnrichmentConditionOperator = {
|
|
152
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
153
|
+
CONTAINS: "CONTAINS",
|
|
154
|
+
EQUALS: "EQUALS",
|
|
155
|
+
EXISTS: "EXISTS",
|
|
156
|
+
GREATER_THAN: "GREATER_THAN",
|
|
157
|
+
GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS",
|
|
158
|
+
LESS_THAN: "LESS_THAN",
|
|
159
|
+
LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS",
|
|
160
|
+
NOT_CONTAINS: "NOT_CONTAINS",
|
|
161
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
162
|
+
NOT_EXISTS: "NOT_EXISTS",
|
|
163
|
+
};
|
|
164
|
+
export var DocumentAttributeValue;
|
|
165
|
+
(function (DocumentAttributeValue) {
|
|
166
|
+
DocumentAttributeValue.visit = (value, visitor) => {
|
|
167
|
+
if (value.stringValue !== undefined)
|
|
168
|
+
return visitor.stringValue(value.stringValue);
|
|
169
|
+
if (value.stringListValue !== undefined)
|
|
170
|
+
return visitor.stringListValue(value.stringListValue);
|
|
171
|
+
if (value.longValue !== undefined)
|
|
172
|
+
return visitor.longValue(value.longValue);
|
|
173
|
+
if (value.dateValue !== undefined)
|
|
174
|
+
return visitor.dateValue(value.dateValue);
|
|
175
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
176
|
+
};
|
|
177
|
+
})(DocumentAttributeValue || (DocumentAttributeValue = {}));
|
|
178
|
+
export const DocumentContentOperator = {
|
|
179
|
+
DELETE: "DELETE",
|
|
180
|
+
};
|
|
181
|
+
export const AttributeValueOperator = {
|
|
182
|
+
DELETE: "DELETE",
|
|
183
|
+
};
|
|
184
|
+
export const DataSourceStatus = {
|
|
185
|
+
ACTIVE: "ACTIVE",
|
|
186
|
+
CREATING: "CREATING",
|
|
187
|
+
DELETING: "DELETING",
|
|
188
|
+
FAILED: "FAILED",
|
|
189
|
+
PENDING_CREATION: "PENDING_CREATION",
|
|
190
|
+
UPDATING: "UPDATING",
|
|
191
|
+
};
|
|
192
|
+
export const Status = {
|
|
193
|
+
DISABLED: "DISABLED",
|
|
194
|
+
ENABLED: "ENABLED",
|
|
195
|
+
};
|
|
196
|
+
export const AttributeType = {
|
|
197
|
+
DATE: "DATE",
|
|
198
|
+
NUMBER: "NUMBER",
|
|
199
|
+
STRING: "STRING",
|
|
200
|
+
STRING_LIST: "STRING_LIST",
|
|
201
|
+
};
|
|
202
|
+
export const IndexStatus = {
|
|
203
|
+
ACTIVE: "ACTIVE",
|
|
204
|
+
CREATING: "CREATING",
|
|
205
|
+
DELETING: "DELETING",
|
|
206
|
+
FAILED: "FAILED",
|
|
207
|
+
UPDATING: "UPDATING",
|
|
208
|
+
};
|
|
209
|
+
export var PluginAuthConfiguration;
|
|
210
|
+
(function (PluginAuthConfiguration) {
|
|
211
|
+
PluginAuthConfiguration.visit = (value, visitor) => {
|
|
212
|
+
if (value.basicAuthConfiguration !== undefined)
|
|
213
|
+
return visitor.basicAuthConfiguration(value.basicAuthConfiguration);
|
|
214
|
+
if (value.oAuth2ClientCredentialConfiguration !== undefined)
|
|
215
|
+
return visitor.oAuth2ClientCredentialConfiguration(value.oAuth2ClientCredentialConfiguration);
|
|
216
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
217
|
+
};
|
|
218
|
+
})(PluginAuthConfiguration || (PluginAuthConfiguration = {}));
|
|
219
|
+
export const PluginState = {
|
|
220
|
+
DISABLED: "DISABLED",
|
|
221
|
+
ENABLED: "ENABLED",
|
|
222
|
+
};
|
|
223
|
+
export var RetrieverConfiguration;
|
|
224
|
+
(function (RetrieverConfiguration) {
|
|
225
|
+
RetrieverConfiguration.visit = (value, visitor) => {
|
|
226
|
+
if (value.nativeIndexConfiguration !== undefined)
|
|
227
|
+
return visitor.nativeIndexConfiguration(value.nativeIndexConfiguration);
|
|
228
|
+
if (value.kendraIndexConfiguration !== undefined)
|
|
229
|
+
return visitor.kendraIndexConfiguration(value.kendraIndexConfiguration);
|
|
230
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
231
|
+
};
|
|
232
|
+
})(RetrieverConfiguration || (RetrieverConfiguration = {}));
|
|
233
|
+
export const RetrieverType = {
|
|
234
|
+
KENDRA_INDEX: "KENDRA_INDEX",
|
|
235
|
+
NATIVE_INDEX: "NATIVE_INDEX",
|
|
236
|
+
};
|
|
237
|
+
export const RetrieverStatus = {
|
|
238
|
+
ACTIVE: "ACTIVE",
|
|
239
|
+
CREATING: "CREATING",
|
|
240
|
+
FAILED: "FAILED",
|
|
241
|
+
};
|
|
242
|
+
export const WebExperienceSamplePromptsControlMode = {
|
|
243
|
+
DISABLED: "DISABLED",
|
|
244
|
+
ENABLED: "ENABLED",
|
|
245
|
+
};
|
|
246
|
+
export var WebExperienceAuthConfiguration;
|
|
247
|
+
(function (WebExperienceAuthConfiguration) {
|
|
248
|
+
WebExperienceAuthConfiguration.visit = (value, visitor) => {
|
|
249
|
+
if (value.samlConfiguration !== undefined)
|
|
250
|
+
return visitor.samlConfiguration(value.samlConfiguration);
|
|
251
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
252
|
+
};
|
|
253
|
+
})(WebExperienceAuthConfiguration || (WebExperienceAuthConfiguration = {}));
|
|
254
|
+
export const WebExperienceStatus = {
|
|
255
|
+
ACTIVE: "ACTIVE",
|
|
256
|
+
CREATING: "CREATING",
|
|
257
|
+
DELETING: "DELETING",
|
|
258
|
+
FAILED: "FAILED",
|
|
259
|
+
PENDING_AUTH_CONFIG: "PENDING_AUTH_CONFIG",
|
|
260
|
+
};
|
|
261
|
+
export const AttachmentStatus = {
|
|
262
|
+
FAILED: "FAILED",
|
|
263
|
+
SUCCEEDED: "SUCCEEDED",
|
|
264
|
+
};
|
|
265
|
+
export var DocumentContent;
|
|
266
|
+
(function (DocumentContent) {
|
|
267
|
+
DocumentContent.visit = (value, visitor) => {
|
|
268
|
+
if (value.blob !== undefined)
|
|
269
|
+
return visitor.blob(value.blob);
|
|
270
|
+
if (value.s3 !== undefined)
|
|
271
|
+
return visitor.s3(value.s3);
|
|
272
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
273
|
+
};
|
|
274
|
+
})(DocumentContent || (DocumentContent = {}));
|
|
275
|
+
export const ContentType = {
|
|
276
|
+
CSV: "CSV",
|
|
277
|
+
HTML: "HTML",
|
|
278
|
+
JSON: "JSON",
|
|
279
|
+
MD: "MD",
|
|
280
|
+
MS_EXCEL: "MS_EXCEL",
|
|
281
|
+
MS_WORD: "MS_WORD",
|
|
282
|
+
PDF: "PDF",
|
|
283
|
+
PLAIN_TEXT: "PLAIN_TEXT",
|
|
284
|
+
PPT: "PPT",
|
|
285
|
+
RTF: "RTF",
|
|
286
|
+
XML: "XML",
|
|
287
|
+
XSLT: "XSLT",
|
|
288
|
+
};
|
|
289
|
+
export class LicenseNotFoundException extends __BaseException {
|
|
290
|
+
constructor(opts) {
|
|
291
|
+
super({
|
|
292
|
+
name: "LicenseNotFoundException",
|
|
293
|
+
$fault: "client",
|
|
294
|
+
...opts,
|
|
295
|
+
});
|
|
296
|
+
this.name = "LicenseNotFoundException";
|
|
297
|
+
this.$fault = "client";
|
|
298
|
+
Object.setPrototypeOf(this, LicenseNotFoundException.prototype);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
export const DataSourceSyncJobStatus = {
|
|
302
|
+
ABORTED: "ABORTED",
|
|
303
|
+
FAILED: "FAILED",
|
|
304
|
+
INCOMPLETE: "INCOMPLETE",
|
|
305
|
+
STOPPING: "STOPPING",
|
|
306
|
+
SUCCEEDED: "SUCCEEDED",
|
|
307
|
+
SYNCING: "SYNCING",
|
|
308
|
+
SYNCING_INDEXING: "SYNCING_INDEXING",
|
|
309
|
+
};
|
|
310
|
+
export const DocumentStatus = {
|
|
311
|
+
DELETED: "DELETED",
|
|
312
|
+
DELETING: "DELETING",
|
|
313
|
+
DOCUMENT_FAILED_TO_INDEX: "DOCUMENT_FAILED_TO_INDEX",
|
|
314
|
+
FAILED: "FAILED",
|
|
315
|
+
INDEXED: "INDEXED",
|
|
316
|
+
PROCESSING: "PROCESSING",
|
|
317
|
+
RECEIVED: "RECEIVED",
|
|
318
|
+
UPDATED: "UPDATED",
|
|
319
|
+
};
|
|
320
|
+
export const ResponseScope = {
|
|
321
|
+
ENTERPRISE_CONTENT_ONLY: "ENTERPRISE_CONTENT_ONLY",
|
|
322
|
+
EXTENDED_KNOWLEDGE_ENABLED: "EXTENDED_KNOWLEDGE_ENABLED",
|
|
323
|
+
};
|
|
324
|
+
export var RuleConfiguration;
|
|
325
|
+
(function (RuleConfiguration) {
|
|
326
|
+
RuleConfiguration.visit = (value, visitor) => {
|
|
327
|
+
if (value.contentBlockerRule !== undefined)
|
|
328
|
+
return visitor.contentBlockerRule(value.contentBlockerRule);
|
|
329
|
+
if (value.contentRetrievalRule !== undefined)
|
|
330
|
+
return visitor.contentRetrievalRule(value.contentRetrievalRule);
|
|
331
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
332
|
+
};
|
|
333
|
+
})(RuleConfiguration || (RuleConfiguration = {}));
|
|
334
|
+
export const RuleType = {
|
|
335
|
+
CONTENT_BLOCKER_RULE: "CONTENT_BLOCKER_RULE",
|
|
336
|
+
CONTENT_RETRIEVAL_RULE: "CONTENT_RETRIEVAL_RULE",
|
|
337
|
+
};
|
|
338
|
+
export const GroupStatus = {
|
|
339
|
+
DELETED: "DELETED",
|
|
340
|
+
DELETING: "DELETING",
|
|
341
|
+
FAILED: "FAILED",
|
|
342
|
+
PROCESSING: "PROCESSING",
|
|
343
|
+
SUCCEEDED: "SUCCEEDED",
|
|
344
|
+
};
|
|
345
|
+
export const MessageType = {
|
|
346
|
+
SYSTEM: "SYSTEM",
|
|
347
|
+
USER: "USER",
|
|
348
|
+
};
|
|
349
|
+
export const MessageUsefulnessReason = {
|
|
350
|
+
COMPLETE: "COMPLETE",
|
|
351
|
+
FACTUALLY_CORRECT: "FACTUALLY_CORRECT",
|
|
352
|
+
HARMFUL_OR_UNSAFE: "HARMFUL_OR_UNSAFE",
|
|
353
|
+
HELPFUL: "HELPFUL",
|
|
354
|
+
INCORRECT_OR_MISSING_SOURCES: "INCORRECT_OR_MISSING_SOURCES",
|
|
355
|
+
NOT_FACTUALLY_CORRECT: "NOT_FACTUALLY_CORRECT",
|
|
356
|
+
NOT_HELPFUL: "NOT_HELPFUL",
|
|
357
|
+
RELEVANT_SOURCES: "RELEVANT_SOURCES",
|
|
358
|
+
};
|
|
359
|
+
export const MessageUsefulness = {
|
|
360
|
+
NOT_USEFUL: "NOT_USEFUL",
|
|
361
|
+
USEFUL: "USEFUL",
|
|
362
|
+
};
|
|
363
|
+
export const EncryptionConfigurationFilterSensitiveLog = (obj) => ({
|
|
364
|
+
...obj,
|
|
365
|
+
...(obj.kmsKeyId && { kmsKeyId: SENSITIVE_STRING }),
|
|
366
|
+
});
|
|
367
|
+
export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
368
|
+
...obj,
|
|
369
|
+
...(obj.encryptionConfiguration && {
|
|
370
|
+
encryptionConfiguration: EncryptionConfigurationFilterSensitiveLog(obj.encryptionConfiguration),
|
|
371
|
+
}),
|
|
372
|
+
});
|
|
373
|
+
export const GetApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
374
|
+
...obj,
|
|
375
|
+
...(obj.encryptionConfiguration && {
|
|
376
|
+
encryptionConfiguration: EncryptionConfigurationFilterSensitiveLog(obj.encryptionConfiguration),
|
|
377
|
+
}),
|
|
378
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { GetChatControlsConfigurationCommand, } from "../commands/GetChatControlsConfigurationCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new GetChatControlsConfigurationCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateGetChatControlsConfiguration(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListApplicationsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListApplications(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListConversationsCommand, } from "../commands/ListConversationsCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListConversationsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListConversations(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListDataSourceSyncJobsCommand, } from "../commands/ListDataSourceSyncJobsCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListDataSourceSyncJobsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListDataSourceSyncJobs(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListDataSourcesCommand, } from "../commands/ListDataSourcesCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListDataSourcesCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListDataSources(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListDocumentsCommand, } from "../commands/ListDocumentsCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListDocumentsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListDocuments(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListGroupsCommand } from "../commands/ListGroupsCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListGroupsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListGroups(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListIndicesCommand } from "../commands/ListIndicesCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListIndicesCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListIndices(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListMessagesCommand, } from "../commands/ListMessagesCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListMessagesCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListMessages(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListPluginsCommand } from "../commands/ListPluginsCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListPluginsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListPlugins(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListRetrieversCommand, } from "../commands/ListRetrieversCommand";
|
|
2
|
+
import { QBusinessClient } from "../QBusinessClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListRetrieversCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListRetrievers(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof QBusinessClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected QBusiness | QBusinessClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|