@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,253 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ChatSyncInput, ChatSyncOutput } from "../models/models_0";
|
|
5
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ChatSyncCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ChatSyncCommandInput extends ChatSyncInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ChatSyncCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ChatSyncCommandOutput extends ChatSyncOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Starts or continues a non-streaming Amazon Q conversation.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { QBusinessClient, ChatSyncCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
31
|
+
* // const { QBusinessClient, ChatSyncCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
32
|
+
* const client = new QBusinessClient(config);
|
|
33
|
+
* const input = { // ChatSyncInput
|
|
34
|
+
* applicationId: "STRING_VALUE", // required
|
|
35
|
+
* userId: "STRING_VALUE", // required
|
|
36
|
+
* userGroups: [ // UserGroups
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* userMessage: "STRING_VALUE",
|
|
40
|
+
* attachments: [ // AttachmentsInput
|
|
41
|
+
* { // AttachmentInput
|
|
42
|
+
* name: "STRING_VALUE", // required
|
|
43
|
+
* data: "BLOB_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* actionExecution: { // ActionExecution
|
|
47
|
+
* pluginId: "STRING_VALUE", // required
|
|
48
|
+
* payload: { // ActionExecutionPayload // required
|
|
49
|
+
* "<keys>": { // ActionExecutionPayloadField
|
|
50
|
+
* value: "DOCUMENT_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* payloadFieldNameSeparator: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* conversationId: "STRING_VALUE",
|
|
56
|
+
* parentMessageId: "STRING_VALUE",
|
|
57
|
+
* attributeFilter: { // AttributeFilter
|
|
58
|
+
* andAllFilters: [ // AttributeFilters
|
|
59
|
+
* {
|
|
60
|
+
* andAllFilters: [
|
|
61
|
+
* "<AttributeFilter>",
|
|
62
|
+
* ],
|
|
63
|
+
* orAllFilters: [
|
|
64
|
+
* "<AttributeFilter>",
|
|
65
|
+
* ],
|
|
66
|
+
* notFilter: "<AttributeFilter>",
|
|
67
|
+
* equalsTo: { // DocumentAttribute
|
|
68
|
+
* name: "STRING_VALUE", // required
|
|
69
|
+
* value: { // DocumentAttributeValue Union: only one key present
|
|
70
|
+
* stringValue: "STRING_VALUE",
|
|
71
|
+
* stringListValue: [ // DocumentAttributeStringListValue
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* longValue: Number("long"),
|
|
75
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* containsAll: {
|
|
79
|
+
* name: "STRING_VALUE", // required
|
|
80
|
+
* value: {// Union: only one key present
|
|
81
|
+
* stringValue: "STRING_VALUE",
|
|
82
|
+
* stringListValue: [
|
|
83
|
+
* "STRING_VALUE",
|
|
84
|
+
* ],
|
|
85
|
+
* longValue: Number("long"),
|
|
86
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* containsAny: {
|
|
90
|
+
* name: "STRING_VALUE", // required
|
|
91
|
+
* value: {// Union: only one key present
|
|
92
|
+
* stringValue: "STRING_VALUE",
|
|
93
|
+
* stringListValue: [
|
|
94
|
+
* "STRING_VALUE",
|
|
95
|
+
* ],
|
|
96
|
+
* longValue: Number("long"),
|
|
97
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* greaterThan: {
|
|
101
|
+
* name: "STRING_VALUE", // required
|
|
102
|
+
* value: {// Union: only one key present
|
|
103
|
+
* stringValue: "STRING_VALUE",
|
|
104
|
+
* stringListValue: [
|
|
105
|
+
* "STRING_VALUE",
|
|
106
|
+
* ],
|
|
107
|
+
* longValue: Number("long"),
|
|
108
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* greaterThanOrEquals: {
|
|
112
|
+
* name: "STRING_VALUE", // required
|
|
113
|
+
* value: {// Union: only one key present
|
|
114
|
+
* stringValue: "STRING_VALUE",
|
|
115
|
+
* stringListValue: [
|
|
116
|
+
* "STRING_VALUE",
|
|
117
|
+
* ],
|
|
118
|
+
* longValue: Number("long"),
|
|
119
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* lessThan: "<DocumentAttribute>",
|
|
123
|
+
* lessThanOrEquals: "<DocumentAttribute>",
|
|
124
|
+
* },
|
|
125
|
+
* ],
|
|
126
|
+
* orAllFilters: [
|
|
127
|
+
* "<AttributeFilter>",
|
|
128
|
+
* ],
|
|
129
|
+
* notFilter: "<AttributeFilter>",
|
|
130
|
+
* equalsTo: "<DocumentAttribute>",
|
|
131
|
+
* containsAll: "<DocumentAttribute>",
|
|
132
|
+
* containsAny: "<DocumentAttribute>",
|
|
133
|
+
* greaterThan: "<DocumentAttribute>",
|
|
134
|
+
* greaterThanOrEquals: "<DocumentAttribute>",
|
|
135
|
+
* lessThan: "<DocumentAttribute>",
|
|
136
|
+
* lessThanOrEquals: "<DocumentAttribute>",
|
|
137
|
+
* },
|
|
138
|
+
* clientToken: "STRING_VALUE",
|
|
139
|
+
* };
|
|
140
|
+
* const command = new ChatSyncCommand(input);
|
|
141
|
+
* const response = await client.send(command);
|
|
142
|
+
* // { // ChatSyncOutput
|
|
143
|
+
* // conversationId: "STRING_VALUE",
|
|
144
|
+
* // systemMessage: "STRING_VALUE",
|
|
145
|
+
* // systemMessageId: "STRING_VALUE",
|
|
146
|
+
* // userMessageId: "STRING_VALUE",
|
|
147
|
+
* // actionReview: { // ActionReview
|
|
148
|
+
* // pluginId: "STRING_VALUE",
|
|
149
|
+
* // pluginType: "SERVICE_NOW" || "SALESFORCE" || "JIRA" || "ZENDESK",
|
|
150
|
+
* // payload: { // ActionReviewPayload
|
|
151
|
+
* // "<keys>": { // ActionReviewPayloadField
|
|
152
|
+
* // displayName: "STRING_VALUE",
|
|
153
|
+
* // displayOrder: Number("int"),
|
|
154
|
+
* // type: "STRING" || "NUMBER" || "ARRAY" || "BOOLEAN",
|
|
155
|
+
* // value: "DOCUMENT_VALUE",
|
|
156
|
+
* // allowedValues: [ // ActionReviewPayloadFieldAllowedValues
|
|
157
|
+
* // { // ActionReviewPayloadFieldAllowedValue
|
|
158
|
+
* // value: "DOCUMENT_VALUE",
|
|
159
|
+
* // displayValue: "DOCUMENT_VALUE",
|
|
160
|
+
* // },
|
|
161
|
+
* // ],
|
|
162
|
+
* // required: true || false,
|
|
163
|
+
* // },
|
|
164
|
+
* // },
|
|
165
|
+
* // payloadFieldNameSeparator: "STRING_VALUE",
|
|
166
|
+
* // },
|
|
167
|
+
* // sourceAttributions: [ // SourceAttributions
|
|
168
|
+
* // { // SourceAttribution
|
|
169
|
+
* // title: "STRING_VALUE",
|
|
170
|
+
* // snippet: "STRING_VALUE",
|
|
171
|
+
* // url: "STRING_VALUE",
|
|
172
|
+
* // citationNumber: Number("int"),
|
|
173
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
174
|
+
* // textMessageSegments: [ // TextSegmentList
|
|
175
|
+
* // { // TextSegment
|
|
176
|
+
* // beginOffset: Number("int"),
|
|
177
|
+
* // endOffset: Number("int"),
|
|
178
|
+
* // },
|
|
179
|
+
* // ],
|
|
180
|
+
* // },
|
|
181
|
+
* // ],
|
|
182
|
+
* // failedAttachments: [ // AttachmentsOutput
|
|
183
|
+
* // { // AttachmentOutput
|
|
184
|
+
* // name: "STRING_VALUE",
|
|
185
|
+
* // status: "FAILED" || "SUCCEEDED",
|
|
186
|
+
* // error: { // ErrorDetail
|
|
187
|
+
* // errorMessage: "STRING_VALUE",
|
|
188
|
+
* // errorCode: "InternalError" || "InvalidRequest" || "ResourceInactive" || "ResourceNotFound",
|
|
189
|
+
* // },
|
|
190
|
+
* // },
|
|
191
|
+
* // ],
|
|
192
|
+
* // };
|
|
193
|
+
*
|
|
194
|
+
* ```
|
|
195
|
+
*
|
|
196
|
+
* @param ChatSyncCommandInput - {@link ChatSyncCommandInput}
|
|
197
|
+
* @returns {@link ChatSyncCommandOutput}
|
|
198
|
+
* @see {@link ChatSyncCommandInput} for command's `input` shape.
|
|
199
|
+
* @see {@link ChatSyncCommandOutput} for command's `response` shape.
|
|
200
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
201
|
+
*
|
|
202
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
203
|
+
* <p> You don't have access to perform this action. Make sure you have the required
|
|
204
|
+
* permission policies and user accounts and try again.</p>
|
|
205
|
+
*
|
|
206
|
+
* @throws {@link ConflictException} (client fault)
|
|
207
|
+
* <p>You are trying to perform an action that conflicts with the current status of your
|
|
208
|
+
* resource. Fix any inconsistences with your resources and try again.</p>
|
|
209
|
+
*
|
|
210
|
+
* @throws {@link InternalServerException} (server fault)
|
|
211
|
+
* <p>An issue occurred with the internal server used for your Amazon Q service. Wait
|
|
212
|
+
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
213
|
+
*
|
|
214
|
+
* @throws {@link LicenseNotFoundException} (client fault)
|
|
215
|
+
* <p>You don't have permissions to perform the action because your license is inactive. Ask
|
|
216
|
+
* your admin to activate your license and try again after your licence is active.</p>
|
|
217
|
+
*
|
|
218
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
219
|
+
* <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
|
|
220
|
+
* resource and try again.</p>
|
|
221
|
+
*
|
|
222
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
223
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
224
|
+
* again.</p>
|
|
225
|
+
*
|
|
226
|
+
* @throws {@link ValidationException} (client fault)
|
|
227
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
|
|
228
|
+
* correct input and try again.</p>
|
|
229
|
+
*
|
|
230
|
+
* @throws {@link QBusinessServiceException}
|
|
231
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
232
|
+
*
|
|
233
|
+
*/
|
|
234
|
+
export declare class ChatSyncCommand extends $Command<ChatSyncCommandInput, ChatSyncCommandOutput, QBusinessClientResolvedConfig> {
|
|
235
|
+
readonly input: ChatSyncCommandInput;
|
|
236
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
237
|
+
/**
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
constructor(input: ChatSyncCommandInput);
|
|
241
|
+
/**
|
|
242
|
+
* @internal
|
|
243
|
+
*/
|
|
244
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ChatSyncCommandInput, ChatSyncCommandOutput>;
|
|
245
|
+
/**
|
|
246
|
+
* @internal
|
|
247
|
+
*/
|
|
248
|
+
private serialize;
|
|
249
|
+
/**
|
|
250
|
+
* @internal
|
|
251
|
+
*/
|
|
252
|
+
private deserialize;
|
|
253
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
|
|
5
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateApplicationCommandInput extends CreateApplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates an Amazon Q application.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { QBusinessClient, CreateApplicationCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
31
|
+
* // const { QBusinessClient, CreateApplicationCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
32
|
+
* const client = new QBusinessClient(config);
|
|
33
|
+
* const input = { // CreateApplicationRequest
|
|
34
|
+
* displayName: "STRING_VALUE", // required
|
|
35
|
+
* roleArn: "STRING_VALUE", // required
|
|
36
|
+
* description: "STRING_VALUE",
|
|
37
|
+
* encryptionConfiguration: { // EncryptionConfiguration
|
|
38
|
+
* kmsKeyId: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* tags: [ // Tags
|
|
41
|
+
* { // Tag
|
|
42
|
+
* key: "STRING_VALUE", // required
|
|
43
|
+
* value: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* clientToken: "STRING_VALUE",
|
|
47
|
+
* attachmentsConfiguration: { // AttachmentsConfiguration
|
|
48
|
+
* attachmentsControlMode: "ENABLED" || "DISABLED", // required
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
51
|
+
* const command = new CreateApplicationCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // CreateApplicationResponse
|
|
54
|
+
* // applicationId: "STRING_VALUE",
|
|
55
|
+
* // applicationArn: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput}
|
|
61
|
+
* @returns {@link CreateApplicationCommandOutput}
|
|
62
|
+
* @see {@link CreateApplicationCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p> You don't have access to perform this action. Make sure you have the required
|
|
68
|
+
* permission policies and user accounts and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConflictException} (client fault)
|
|
71
|
+
* <p>You are trying to perform an action that conflicts with the current status of your
|
|
72
|
+
* resource. Fix any inconsistences with your resources and try again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>An issue occurred with the internal server used for your Amazon Q service. Wait
|
|
76
|
+
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
|
|
80
|
+
* resource and try again.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
83
|
+
* <p>You have exceeded the set limits for your Amazon Q service. </p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
87
|
+
* again.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
|
|
91
|
+
* correct input and try again.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link QBusinessServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
export declare class CreateApplicationCommand extends $Command<CreateApplicationCommandInput, CreateApplicationCommandOutput, QBusinessClientResolvedConfig> {
|
|
98
|
+
readonly input: CreateApplicationCommandInput;
|
|
99
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
constructor(input: CreateApplicationCommandInput);
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApplicationCommandInput, CreateApplicationCommandOutput>;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
private serialize;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
private deserialize;
|
|
116
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CreateDataSourceRequest, CreateDataSourceResponse } from "../models/models_0";
|
|
5
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateDataSourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateDataSourceCommandInput extends CreateDataSourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateDataSourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a data source connector for an Amazon Q application.</p>
|
|
27
|
+
* <p>
|
|
28
|
+
* <code>CreateDataSource</code> is a synchronous operation. The operation returns 200 if
|
|
29
|
+
* the data source was successfully created. Otherwise, an exception is raised.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { QBusinessClient, CreateDataSourceCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
34
|
+
* // const { QBusinessClient, CreateDataSourceCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
35
|
+
* const client = new QBusinessClient(config);
|
|
36
|
+
* const input = { // CreateDataSourceRequest
|
|
37
|
+
* applicationId: "STRING_VALUE", // required
|
|
38
|
+
* indexId: "STRING_VALUE", // required
|
|
39
|
+
* displayName: "STRING_VALUE", // required
|
|
40
|
+
* configuration: "DOCUMENT_VALUE", // required
|
|
41
|
+
* vpcConfiguration: { // DataSourceVpcConfiguration
|
|
42
|
+
* subnetIds: [ // SubnetIds // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* securityGroupIds: [ // SecurityGroupIds // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* description: "STRING_VALUE",
|
|
50
|
+
* tags: [ // Tags
|
|
51
|
+
* { // Tag
|
|
52
|
+
* key: "STRING_VALUE", // required
|
|
53
|
+
* value: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* syncSchedule: "STRING_VALUE",
|
|
57
|
+
* roleArn: "STRING_VALUE",
|
|
58
|
+
* clientToken: "STRING_VALUE",
|
|
59
|
+
* documentEnrichmentConfiguration: { // DocumentEnrichmentConfiguration
|
|
60
|
+
* inlineConfigurations: [ // InlineDocumentEnrichmentConfigurations
|
|
61
|
+
* { // InlineDocumentEnrichmentConfiguration
|
|
62
|
+
* condition: { // DocumentAttributeCondition
|
|
63
|
+
* key: "STRING_VALUE", // required
|
|
64
|
+
* operator: "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "EXISTS" || "NOT_EXISTS" || "BEGINS_WITH", // required
|
|
65
|
+
* value: { // DocumentAttributeValue Union: only one key present
|
|
66
|
+
* stringValue: "STRING_VALUE",
|
|
67
|
+
* stringListValue: [ // DocumentAttributeStringListValue
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* longValue: Number("long"),
|
|
71
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* target: { // DocumentAttributeTarget
|
|
75
|
+
* key: "STRING_VALUE", // required
|
|
76
|
+
* value: {// Union: only one key present
|
|
77
|
+
* stringValue: "STRING_VALUE",
|
|
78
|
+
* stringListValue: [
|
|
79
|
+
* "STRING_VALUE",
|
|
80
|
+
* ],
|
|
81
|
+
* longValue: Number("long"),
|
|
82
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
83
|
+
* },
|
|
84
|
+
* attributeValueOperator: "DELETE",
|
|
85
|
+
* },
|
|
86
|
+
* documentContentOperator: "DELETE",
|
|
87
|
+
* },
|
|
88
|
+
* ],
|
|
89
|
+
* preExtractionHookConfiguration: { // HookConfiguration
|
|
90
|
+
* invocationCondition: {
|
|
91
|
+
* key: "STRING_VALUE", // required
|
|
92
|
+
* operator: "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "EXISTS" || "NOT_EXISTS" || "BEGINS_WITH", // required
|
|
93
|
+
* value: {// Union: only one key present
|
|
94
|
+
* stringValue: "STRING_VALUE",
|
|
95
|
+
* stringListValue: [
|
|
96
|
+
* "STRING_VALUE",
|
|
97
|
+
* ],
|
|
98
|
+
* longValue: Number("long"),
|
|
99
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* lambdaArn: "STRING_VALUE",
|
|
103
|
+
* s3BucketName: "STRING_VALUE",
|
|
104
|
+
* roleArn: "STRING_VALUE",
|
|
105
|
+
* },
|
|
106
|
+
* postExtractionHookConfiguration: {
|
|
107
|
+
* invocationCondition: {
|
|
108
|
+
* key: "STRING_VALUE", // required
|
|
109
|
+
* operator: "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "EXISTS" || "NOT_EXISTS" || "BEGINS_WITH", // required
|
|
110
|
+
* value: {// Union: only one key present
|
|
111
|
+
* stringValue: "STRING_VALUE",
|
|
112
|
+
* stringListValue: [
|
|
113
|
+
* "STRING_VALUE",
|
|
114
|
+
* ],
|
|
115
|
+
* longValue: Number("long"),
|
|
116
|
+
* dateValue: new Date("TIMESTAMP"),
|
|
117
|
+
* },
|
|
118
|
+
* },
|
|
119
|
+
* lambdaArn: "STRING_VALUE",
|
|
120
|
+
* s3BucketName: "STRING_VALUE",
|
|
121
|
+
* roleArn: "STRING_VALUE",
|
|
122
|
+
* },
|
|
123
|
+
* },
|
|
124
|
+
* };
|
|
125
|
+
* const command = new CreateDataSourceCommand(input);
|
|
126
|
+
* const response = await client.send(command);
|
|
127
|
+
* // { // CreateDataSourceResponse
|
|
128
|
+
* // dataSourceId: "STRING_VALUE",
|
|
129
|
+
* // dataSourceArn: "STRING_VALUE",
|
|
130
|
+
* // };
|
|
131
|
+
*
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* @param CreateDataSourceCommandInput - {@link CreateDataSourceCommandInput}
|
|
135
|
+
* @returns {@link CreateDataSourceCommandOutput}
|
|
136
|
+
* @see {@link CreateDataSourceCommandInput} for command's `input` shape.
|
|
137
|
+
* @see {@link CreateDataSourceCommandOutput} for command's `response` shape.
|
|
138
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
141
|
+
* <p> You don't have access to perform this action. Make sure you have the required
|
|
142
|
+
* permission policies and user accounts and try again.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link ConflictException} (client fault)
|
|
145
|
+
* <p>You are trying to perform an action that conflicts with the current status of your
|
|
146
|
+
* resource. Fix any inconsistences with your resources and try again.</p>
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link InternalServerException} (server fault)
|
|
149
|
+
* <p>An issue occurred with the internal server used for your Amazon Q service. Wait
|
|
150
|
+
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
153
|
+
* <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
|
|
154
|
+
* resource and try again.</p>
|
|
155
|
+
*
|
|
156
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
157
|
+
* <p>You have exceeded the set limits for your Amazon Q service. </p>
|
|
158
|
+
*
|
|
159
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
160
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
161
|
+
* again.</p>
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link ValidationException} (client fault)
|
|
164
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
|
|
165
|
+
* correct input and try again.</p>
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link QBusinessServiceException}
|
|
168
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
169
|
+
*
|
|
170
|
+
*/
|
|
171
|
+
export declare class CreateDataSourceCommand extends $Command<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, QBusinessClientResolvedConfig> {
|
|
172
|
+
readonly input: CreateDataSourceCommandInput;
|
|
173
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
constructor(input: CreateDataSourceCommandInput);
|
|
178
|
+
/**
|
|
179
|
+
* @internal
|
|
180
|
+
*/
|
|
181
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDataSourceCommandInput, CreateDataSourceCommandOutput>;
|
|
182
|
+
/**
|
|
183
|
+
* @internal
|
|
184
|
+
*/
|
|
185
|
+
private serialize;
|
|
186
|
+
/**
|
|
187
|
+
* @internal
|
|
188
|
+
*/
|
|
189
|
+
private deserialize;
|
|
190
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CreateIndexRequest, CreateIndexResponse } from "../models/models_0";
|
|
5
|
+
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateIndexCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateIndexCommandInput extends CreateIndexRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateIndexCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateIndexCommandOutput extends CreateIndexResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates an Amazon Q index.</p>
|
|
27
|
+
* <p>To determine if index creation has completed, check the <code>Status</code> field
|
|
28
|
+
* returned from a call to <code>DescribeIndex</code>. The <code>Status</code> field is set
|
|
29
|
+
* to <code>ACTIVE</code> when the index is ready to use.</p>
|
|
30
|
+
* <p>Once the index is active, you can index your documents using the <a href="https://docs.aws.amazon.com/enterpriseq/latest/APIReference/API_BatchPutDocument.html">
|
|
31
|
+
* <code>BatchPutDocument</code>
|
|
32
|
+
* </a> API or the <a href="https://docs.aws.amazon.com/enterpriseq/latest/APIReference/API_CreateDataSource.html">
|
|
33
|
+
* <code>CreateDataSource</code>
|
|
34
|
+
* </a> API.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { QBusinessClient, CreateIndexCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
|
|
39
|
+
* // const { QBusinessClient, CreateIndexCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
|
|
40
|
+
* const client = new QBusinessClient(config);
|
|
41
|
+
* const input = { // CreateIndexRequest
|
|
42
|
+
* applicationId: "STRING_VALUE", // required
|
|
43
|
+
* displayName: "STRING_VALUE", // required
|
|
44
|
+
* description: "STRING_VALUE",
|
|
45
|
+
* tags: [ // Tags
|
|
46
|
+
* { // Tag
|
|
47
|
+
* key: "STRING_VALUE", // required
|
|
48
|
+
* value: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* capacityConfiguration: { // IndexCapacityConfiguration
|
|
52
|
+
* units: Number("int"),
|
|
53
|
+
* },
|
|
54
|
+
* clientToken: "STRING_VALUE",
|
|
55
|
+
* };
|
|
56
|
+
* const command = new CreateIndexCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // { // CreateIndexResponse
|
|
59
|
+
* // indexId: "STRING_VALUE",
|
|
60
|
+
* // indexArn: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param CreateIndexCommandInput - {@link CreateIndexCommandInput}
|
|
66
|
+
* @returns {@link CreateIndexCommandOutput}
|
|
67
|
+
* @see {@link CreateIndexCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link CreateIndexCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p> You don't have access to perform this action. Make sure you have the required
|
|
73
|
+
* permission policies and user accounts and try again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ConflictException} (client fault)
|
|
76
|
+
* <p>You are trying to perform an action that conflicts with the current status of your
|
|
77
|
+
* resource. Fix any inconsistences with your resources and try again.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalServerException} (server fault)
|
|
80
|
+
* <p>An issue occurred with the internal server used for your Amazon Q service. Wait
|
|
81
|
+
* some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
|
|
85
|
+
* resource and try again.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
88
|
+
* <p>You have exceeded the set limits for your Amazon Q service. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The request was denied due to throttling. Reduce the number of requests and try
|
|
92
|
+
* again.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>The input doesn't meet the constraints set by the Amazon Q service. Provide the
|
|
96
|
+
* correct input and try again.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link QBusinessServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from QBusiness service.</p>
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
export declare class CreateIndexCommand extends $Command<CreateIndexCommandInput, CreateIndexCommandOutput, QBusinessClientResolvedConfig> {
|
|
103
|
+
readonly input: CreateIndexCommandInput;
|
|
104
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
constructor(input: CreateIndexCommandInput);
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: QBusinessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateIndexCommandInput, CreateIndexCommandOutput>;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
private serialize;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
private deserialize;
|
|
121
|
+
}
|