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