aws-sdk
Version:
AWS SDK for JavaScript
862 lines • 149 kB
TypeScript
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class QBusiness extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: QBusiness.Types.ClientConfiguration)
config: Config & QBusiness.Types.ClientConfiguration;
/**
* Asynchronously deletes one or more documents added using the BatchPutDocument API from an Amazon Q Business index. You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
*/
batchDeleteDocument(params: QBusiness.Types.BatchDeleteDocumentRequest, callback?: (err: AWSError, data: QBusiness.Types.BatchDeleteDocumentResponse) => void): Request<QBusiness.Types.BatchDeleteDocumentResponse, AWSError>;
/**
* Asynchronously deletes one or more documents added using the BatchPutDocument API from an Amazon Q Business index. You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
*/
batchDeleteDocument(callback?: (err: AWSError, data: QBusiness.Types.BatchDeleteDocumentResponse) => void): Request<QBusiness.Types.BatchDeleteDocumentResponse, AWSError>;
/**
* Adds one or more documents to an Amazon Q Business index. You use this API to: ingest your structured and unstructured documents and documents stored in an Amazon S3 bucket into an Amazon Q Business index. add custom attributes to documents in an Amazon Q Business index. attach an access control list to the documents added to an Amazon Q Business index. You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
*/
batchPutDocument(params: QBusiness.Types.BatchPutDocumentRequest, callback?: (err: AWSError, data: QBusiness.Types.BatchPutDocumentResponse) => void): Request<QBusiness.Types.BatchPutDocumentResponse, AWSError>;
/**
* Adds one or more documents to an Amazon Q Business index. You use this API to: ingest your structured and unstructured documents and documents stored in an Amazon S3 bucket into an Amazon Q Business index. add custom attributes to documents in an Amazon Q Business index. attach an access control list to the documents added to an Amazon Q Business index. You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
*/
batchPutDocument(callback?: (err: AWSError, data: QBusiness.Types.BatchPutDocumentResponse) => void): Request<QBusiness.Types.BatchPutDocumentResponse, AWSError>;
/**
* Starts or continues a non-streaming Amazon Q Business conversation.
*/
chatSync(params: QBusiness.Types.ChatSyncInput, callback?: (err: AWSError, data: QBusiness.Types.ChatSyncOutput) => void): Request<QBusiness.Types.ChatSyncOutput, AWSError>;
/**
* Starts or continues a non-streaming Amazon Q Business conversation.
*/
chatSync(callback?: (err: AWSError, data: QBusiness.Types.ChatSyncOutput) => void): Request<QBusiness.Types.ChatSyncOutput, AWSError>;
/**
* Creates an Amazon Q Business application. There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what's included in Amazon Q Business Lite and what's included in Amazon Q Business Pro, see Amazon Q Business tiers. You must use the Amazon Q Business console to assign subscription tiers to users.
*/
createApplication(params: QBusiness.Types.CreateApplicationRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateApplicationResponse) => void): Request<QBusiness.Types.CreateApplicationResponse, AWSError>;
/**
* Creates an Amazon Q Business application. There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what's included in Amazon Q Business Lite and what's included in Amazon Q Business Pro, see Amazon Q Business tiers. You must use the Amazon Q Business console to assign subscription tiers to users.
*/
createApplication(callback?: (err: AWSError, data: QBusiness.Types.CreateApplicationResponse) => void): Request<QBusiness.Types.CreateApplicationResponse, AWSError>;
/**
* Creates a data source connector for an Amazon Q Business application. CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.
*/
createDataSource(params: QBusiness.Types.CreateDataSourceRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateDataSourceResponse) => void): Request<QBusiness.Types.CreateDataSourceResponse, AWSError>;
/**
* Creates a data source connector for an Amazon Q Business application. CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.
*/
createDataSource(callback?: (err: AWSError, data: QBusiness.Types.CreateDataSourceResponse) => void): Request<QBusiness.Types.CreateDataSourceResponse, AWSError>;
/**
* Creates an Amazon Q Business index. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use. Once the index is active, you can index your documents using the BatchPutDocument API or the CreateDataSource API.
*/
createIndex(params: QBusiness.Types.CreateIndexRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateIndexResponse) => void): Request<QBusiness.Types.CreateIndexResponse, AWSError>;
/**
* Creates an Amazon Q Business index. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use. Once the index is active, you can index your documents using the BatchPutDocument API or the CreateDataSource API.
*/
createIndex(callback?: (err: AWSError, data: QBusiness.Types.CreateIndexResponse) => void): Request<QBusiness.Types.CreateIndexResponse, AWSError>;
/**
* Creates an Amazon Q Business plugin.
*/
createPlugin(params: QBusiness.Types.CreatePluginRequest, callback?: (err: AWSError, data: QBusiness.Types.CreatePluginResponse) => void): Request<QBusiness.Types.CreatePluginResponse, AWSError>;
/**
* Creates an Amazon Q Business plugin.
*/
createPlugin(callback?: (err: AWSError, data: QBusiness.Types.CreatePluginResponse) => void): Request<QBusiness.Types.CreatePluginResponse, AWSError>;
/**
* Adds a retriever to your Amazon Q Business application.
*/
createRetriever(params: QBusiness.Types.CreateRetrieverRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateRetrieverResponse) => void): Request<QBusiness.Types.CreateRetrieverResponse, AWSError>;
/**
* Adds a retriever to your Amazon Q Business application.
*/
createRetriever(callback?: (err: AWSError, data: QBusiness.Types.CreateRetrieverResponse) => void): Request<QBusiness.Types.CreateRetrieverResponse, AWSError>;
/**
* Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.
*/
createUser(params: QBusiness.Types.CreateUserRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateUserResponse) => void): Request<QBusiness.Types.CreateUserResponse, AWSError>;
/**
* Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.
*/
createUser(callback?: (err: AWSError, data: QBusiness.Types.CreateUserResponse) => void): Request<QBusiness.Types.CreateUserResponse, AWSError>;
/**
* Creates an Amazon Q Business web experience.
*/
createWebExperience(params: QBusiness.Types.CreateWebExperienceRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateWebExperienceResponse) => void): Request<QBusiness.Types.CreateWebExperienceResponse, AWSError>;
/**
* Creates an Amazon Q Business web experience.
*/
createWebExperience(callback?: (err: AWSError, data: QBusiness.Types.CreateWebExperienceResponse) => void): Request<QBusiness.Types.CreateWebExperienceResponse, AWSError>;
/**
* Deletes an Amazon Q Business application.
*/
deleteApplication(params: QBusiness.Types.DeleteApplicationRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteApplicationResponse) => void): Request<QBusiness.Types.DeleteApplicationResponse, AWSError>;
/**
* Deletes an Amazon Q Business application.
*/
deleteApplication(callback?: (err: AWSError, data: QBusiness.Types.DeleteApplicationResponse) => void): Request<QBusiness.Types.DeleteApplicationResponse, AWSError>;
/**
* Deletes chat controls configured for an existing Amazon Q Business application.
*/
deleteChatControlsConfiguration(params: QBusiness.Types.DeleteChatControlsConfigurationRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteChatControlsConfigurationResponse) => void): Request<QBusiness.Types.DeleteChatControlsConfigurationResponse, AWSError>;
/**
* Deletes chat controls configured for an existing Amazon Q Business application.
*/
deleteChatControlsConfiguration(callback?: (err: AWSError, data: QBusiness.Types.DeleteChatControlsConfigurationResponse) => void): Request<QBusiness.Types.DeleteChatControlsConfigurationResponse, AWSError>;
/**
* Deletes an Amazon Q Business web experience conversation.
*/
deleteConversation(params: QBusiness.Types.DeleteConversationRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteConversationResponse) => void): Request<QBusiness.Types.DeleteConversationResponse, AWSError>;
/**
* Deletes an Amazon Q Business web experience conversation.
*/
deleteConversation(callback?: (err: AWSError, data: QBusiness.Types.DeleteConversationResponse) => void): Request<QBusiness.Types.DeleteConversationResponse, AWSError>;
/**
* Deletes an Amazon Q Business data source connector. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource API is set to DELETING.
*/
deleteDataSource(params: QBusiness.Types.DeleteDataSourceRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteDataSourceResponse) => void): Request<QBusiness.Types.DeleteDataSourceResponse, AWSError>;
/**
* Deletes an Amazon Q Business data source connector. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource API is set to DELETING.
*/
deleteDataSource(callback?: (err: AWSError, data: QBusiness.Types.DeleteDataSourceResponse) => void): Request<QBusiness.Types.DeleteDataSourceResponse, AWSError>;
/**
* Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group. For example, after deleting the group "Summer Interns", all interns who belonged to that group no longer see intern-only documents in their chat results. If you want to delete, update, or replace users or sub groups of a group, you need to use the PutGroup operation. For example, if a user in the group "Engineering" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the "Engineering" group when calling PutGroup.
*/
deleteGroup(params: QBusiness.Types.DeleteGroupRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteGroupResponse) => void): Request<QBusiness.Types.DeleteGroupResponse, AWSError>;
/**
* Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group. For example, after deleting the group "Summer Interns", all interns who belonged to that group no longer see intern-only documents in their chat results. If you want to delete, update, or replace users or sub groups of a group, you need to use the PutGroup operation. For example, if a user in the group "Engineering" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the "Engineering" group when calling PutGroup.
*/
deleteGroup(callback?: (err: AWSError, data: QBusiness.Types.DeleteGroupResponse) => void): Request<QBusiness.Types.DeleteGroupResponse, AWSError>;
/**
* Deletes an Amazon Q Business index.
*/
deleteIndex(params: QBusiness.Types.DeleteIndexRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteIndexResponse) => void): Request<QBusiness.Types.DeleteIndexResponse, AWSError>;
/**
* Deletes an Amazon Q Business index.
*/
deleteIndex(callback?: (err: AWSError, data: QBusiness.Types.DeleteIndexResponse) => void): Request<QBusiness.Types.DeleteIndexResponse, AWSError>;
/**
* Deletes an Amazon Q Business plugin.
*/
deletePlugin(params: QBusiness.Types.DeletePluginRequest, callback?: (err: AWSError, data: QBusiness.Types.DeletePluginResponse) => void): Request<QBusiness.Types.DeletePluginResponse, AWSError>;
/**
* Deletes an Amazon Q Business plugin.
*/
deletePlugin(callback?: (err: AWSError, data: QBusiness.Types.DeletePluginResponse) => void): Request<QBusiness.Types.DeletePluginResponse, AWSError>;
/**
* Deletes the retriever used by an Amazon Q Business application.
*/
deleteRetriever(params: QBusiness.Types.DeleteRetrieverRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteRetrieverResponse) => void): Request<QBusiness.Types.DeleteRetrieverResponse, AWSError>;
/**
* Deletes the retriever used by an Amazon Q Business application.
*/
deleteRetriever(callback?: (err: AWSError, data: QBusiness.Types.DeleteRetrieverResponse) => void): Request<QBusiness.Types.DeleteRetrieverResponse, AWSError>;
/**
* Deletes a user by email id.
*/
deleteUser(params: QBusiness.Types.DeleteUserRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteUserResponse) => void): Request<QBusiness.Types.DeleteUserResponse, AWSError>;
/**
* Deletes a user by email id.
*/
deleteUser(callback?: (err: AWSError, data: QBusiness.Types.DeleteUserResponse) => void): Request<QBusiness.Types.DeleteUserResponse, AWSError>;
/**
* Deletes an Amazon Q Business web experience.
*/
deleteWebExperience(params: QBusiness.Types.DeleteWebExperienceRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteWebExperienceResponse) => void): Request<QBusiness.Types.DeleteWebExperienceResponse, AWSError>;
/**
* Deletes an Amazon Q Business web experience.
*/
deleteWebExperience(callback?: (err: AWSError, data: QBusiness.Types.DeleteWebExperienceResponse) => void): Request<QBusiness.Types.DeleteWebExperienceResponse, AWSError>;
/**
* Gets information about an existing Amazon Q Business application.
*/
getApplication(params: QBusiness.Types.GetApplicationRequest, callback?: (err: AWSError, data: QBusiness.Types.GetApplicationResponse) => void): Request<QBusiness.Types.GetApplicationResponse, AWSError>;
/**
* Gets information about an existing Amazon Q Business application.
*/
getApplication(callback?: (err: AWSError, data: QBusiness.Types.GetApplicationResponse) => void): Request<QBusiness.Types.GetApplicationResponse, AWSError>;
/**
* Gets information about an chat controls configured for an existing Amazon Q Business application.
*/
getChatControlsConfiguration(params: QBusiness.Types.GetChatControlsConfigurationRequest, callback?: (err: AWSError, data: QBusiness.Types.GetChatControlsConfigurationResponse) => void): Request<QBusiness.Types.GetChatControlsConfigurationResponse, AWSError>;
/**
* Gets information about an chat controls configured for an existing Amazon Q Business application.
*/
getChatControlsConfiguration(callback?: (err: AWSError, data: QBusiness.Types.GetChatControlsConfigurationResponse) => void): Request<QBusiness.Types.GetChatControlsConfigurationResponse, AWSError>;
/**
* Gets information about an existing Amazon Q Business data source connector.
*/
getDataSource(params: QBusiness.Types.GetDataSourceRequest, callback?: (err: AWSError, data: QBusiness.Types.GetDataSourceResponse) => void): Request<QBusiness.Types.GetDataSourceResponse, AWSError>;
/**
* Gets information about an existing Amazon Q Business data source connector.
*/
getDataSource(callback?: (err: AWSError, data: QBusiness.Types.GetDataSourceResponse) => void): Request<QBusiness.Types.GetDataSourceResponse, AWSError>;
/**
* Describes a group by group name.
*/
getGroup(params: QBusiness.Types.GetGroupRequest, callback?: (err: AWSError, data: QBusiness.Types.GetGroupResponse) => void): Request<QBusiness.Types.GetGroupResponse, AWSError>;
/**
* Describes a group by group name.
*/
getGroup(callback?: (err: AWSError, data: QBusiness.Types.GetGroupResponse) => void): Request<QBusiness.Types.GetGroupResponse, AWSError>;
/**
* Gets information about an existing Amazon Q Business index.
*/
getIndex(params: QBusiness.Types.GetIndexRequest, callback?: (err: AWSError, data: QBusiness.Types.GetIndexResponse) => void): Request<QBusiness.Types.GetIndexResponse, AWSError>;
/**
* Gets information about an existing Amazon Q Business index.
*/
getIndex(callback?: (err: AWSError, data: QBusiness.Types.GetIndexResponse) => void): Request<QBusiness.Types.GetIndexResponse, AWSError>;
/**
* Gets information about an existing Amazon Q Business plugin.
*/
getPlugin(params: QBusiness.Types.GetPluginRequest, callback?: (err: AWSError, data: QBusiness.Types.GetPluginResponse) => void): Request<QBusiness.Types.GetPluginResponse, AWSError>;
/**
* Gets information about an existing Amazon Q Business plugin.
*/
getPlugin(callback?: (err: AWSError, data: QBusiness.Types.GetPluginResponse) => void): Request<QBusiness.Types.GetPluginResponse, AWSError>;
/**
* Gets information about an existing retriever used by an Amazon Q Business application.
*/
getRetriever(params: QBusiness.Types.GetRetrieverRequest, callback?: (err: AWSError, data: QBusiness.Types.GetRetrieverResponse) => void): Request<QBusiness.Types.GetRetrieverResponse, AWSError>;
/**
* Gets information about an existing retriever used by an Amazon Q Business application.
*/
getRetriever(callback?: (err: AWSError, data: QBusiness.Types.GetRetrieverResponse) => void): Request<QBusiness.Types.GetRetrieverResponse, AWSError>;
/**
* Describes the universally unique identifier (UUID) associated with a local user in a data source.
*/
getUser(params: QBusiness.Types.GetUserRequest, callback?: (err: AWSError, data: QBusiness.Types.GetUserResponse) => void): Request<QBusiness.Types.GetUserResponse, AWSError>;
/**
* Describes the universally unique identifier (UUID) associated with a local user in a data source.
*/
getUser(callback?: (err: AWSError, data: QBusiness.Types.GetUserResponse) => void): Request<QBusiness.Types.GetUserResponse, AWSError>;
/**
* Gets information about an existing Amazon Q Business web experience.
*/
getWebExperience(params: QBusiness.Types.GetWebExperienceRequest, callback?: (err: AWSError, data: QBusiness.Types.GetWebExperienceResponse) => void): Request<QBusiness.Types.GetWebExperienceResponse, AWSError>;
/**
* Gets information about an existing Amazon Q Business web experience.
*/
getWebExperience(callback?: (err: AWSError, data: QBusiness.Types.GetWebExperienceResponse) => void): Request<QBusiness.Types.GetWebExperienceResponse, AWSError>;
/**
* Lists Amazon Q Business applications.
*/
listApplications(params: QBusiness.Types.ListApplicationsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListApplicationsResponse) => void): Request<QBusiness.Types.ListApplicationsResponse, AWSError>;
/**
* Lists Amazon Q Business applications.
*/
listApplications(callback?: (err: AWSError, data: QBusiness.Types.ListApplicationsResponse) => void): Request<QBusiness.Types.ListApplicationsResponse, AWSError>;
/**
* Lists one or more Amazon Q Business conversations.
*/
listConversations(params: QBusiness.Types.ListConversationsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListConversationsResponse) => void): Request<QBusiness.Types.ListConversationsResponse, AWSError>;
/**
* Lists one or more Amazon Q Business conversations.
*/
listConversations(callback?: (err: AWSError, data: QBusiness.Types.ListConversationsResponse) => void): Request<QBusiness.Types.ListConversationsResponse, AWSError>;
/**
* Get information about an Amazon Q Business data source connector synchronization.
*/
listDataSourceSyncJobs(params: QBusiness.Types.ListDataSourceSyncJobsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListDataSourceSyncJobsResponse) => void): Request<QBusiness.Types.ListDataSourceSyncJobsResponse, AWSError>;
/**
* Get information about an Amazon Q Business data source connector synchronization.
*/
listDataSourceSyncJobs(callback?: (err: AWSError, data: QBusiness.Types.ListDataSourceSyncJobsResponse) => void): Request<QBusiness.Types.ListDataSourceSyncJobsResponse, AWSError>;
/**
* Lists the Amazon Q Business data source connectors that you have created.
*/
listDataSources(params: QBusiness.Types.ListDataSourcesRequest, callback?: (err: AWSError, data: QBusiness.Types.ListDataSourcesResponse) => void): Request<QBusiness.Types.ListDataSourcesResponse, AWSError>;
/**
* Lists the Amazon Q Business data source connectors that you have created.
*/
listDataSources(callback?: (err: AWSError, data: QBusiness.Types.ListDataSourcesResponse) => void): Request<QBusiness.Types.ListDataSourcesResponse, AWSError>;
/**
* A list of documents attached to an index.
*/
listDocuments(params: QBusiness.Types.ListDocumentsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListDocumentsResponse) => void): Request<QBusiness.Types.ListDocumentsResponse, AWSError>;
/**
* A list of documents attached to an index.
*/
listDocuments(callback?: (err: AWSError, data: QBusiness.Types.ListDocumentsResponse) => void): Request<QBusiness.Types.ListDocumentsResponse, AWSError>;
/**
* Provides a list of groups that are mapped to users.
*/
listGroups(params: QBusiness.Types.ListGroupsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListGroupsResponse) => void): Request<QBusiness.Types.ListGroupsResponse, AWSError>;
/**
* Provides a list of groups that are mapped to users.
*/
listGroups(callback?: (err: AWSError, data: QBusiness.Types.ListGroupsResponse) => void): Request<QBusiness.Types.ListGroupsResponse, AWSError>;
/**
* Lists the Amazon Q Business indices you have created.
*/
listIndices(params: QBusiness.Types.ListIndicesRequest, callback?: (err: AWSError, data: QBusiness.Types.ListIndicesResponse) => void): Request<QBusiness.Types.ListIndicesResponse, AWSError>;
/**
* Lists the Amazon Q Business indices you have created.
*/
listIndices(callback?: (err: AWSError, data: QBusiness.Types.ListIndicesResponse) => void): Request<QBusiness.Types.ListIndicesResponse, AWSError>;
/**
* Gets a list of messages associated with an Amazon Q Business web experience.
*/
listMessages(params: QBusiness.Types.ListMessagesRequest, callback?: (err: AWSError, data: QBusiness.Types.ListMessagesResponse) => void): Request<QBusiness.Types.ListMessagesResponse, AWSError>;
/**
* Gets a list of messages associated with an Amazon Q Business web experience.
*/
listMessages(callback?: (err: AWSError, data: QBusiness.Types.ListMessagesResponse) => void): Request<QBusiness.Types.ListMessagesResponse, AWSError>;
/**
* Lists configured Amazon Q Business plugins.
*/
listPlugins(params: QBusiness.Types.ListPluginsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListPluginsResponse) => void): Request<QBusiness.Types.ListPluginsResponse, AWSError>;
/**
* Lists configured Amazon Q Business plugins.
*/
listPlugins(callback?: (err: AWSError, data: QBusiness.Types.ListPluginsResponse) => void): Request<QBusiness.Types.ListPluginsResponse, AWSError>;
/**
* Lists the retriever used by an Amazon Q Business application.
*/
listRetrievers(params: QBusiness.Types.ListRetrieversRequest, callback?: (err: AWSError, data: QBusiness.Types.ListRetrieversResponse) => void): Request<QBusiness.Types.ListRetrieversResponse, AWSError>;
/**
* Lists the retriever used by an Amazon Q Business application.
*/
listRetrievers(callback?: (err: AWSError, data: QBusiness.Types.ListRetrieversResponse) => void): Request<QBusiness.Types.ListRetrieversResponse, AWSError>;
/**
* Gets a list of tags associated with a specified resource. Amazon Q Business applications and data sources can have tags associated with them.
*/
listTagsForResource(params: QBusiness.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: QBusiness.Types.ListTagsForResourceResponse) => void): Request<QBusiness.Types.ListTagsForResourceResponse, AWSError>;
/**
* Gets a list of tags associated with a specified resource. Amazon Q Business applications and data sources can have tags associated with them.
*/
listTagsForResource(callback?: (err: AWSError, data: QBusiness.Types.ListTagsForResourceResponse) => void): Request<QBusiness.Types.ListTagsForResourceResponse, AWSError>;
/**
* Lists one or more Amazon Q Business Web Experiences.
*/
listWebExperiences(params: QBusiness.Types.ListWebExperiencesRequest, callback?: (err: AWSError, data: QBusiness.Types.ListWebExperiencesResponse) => void): Request<QBusiness.Types.ListWebExperiencesResponse, AWSError>;
/**
* Lists one or more Amazon Q Business Web Experiences.
*/
listWebExperiences(callback?: (err: AWSError, data: QBusiness.Types.ListWebExperiencesResponse) => void): Request<QBusiness.Types.ListWebExperiencesResponse, AWSError>;
/**
* Enables your end user to provide feedback on their Amazon Q Business generated chat responses.
*/
putFeedback(params: QBusiness.Types.PutFeedbackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Enables your end user to provide feedback on their Amazon Q Business generated chat responses.
*/
putFeedback(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Create, or updates, a mapping of users—who have access to a document—to groups. You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their Amazon Q Business chat results.
*/
putGroup(params: QBusiness.Types.PutGroupRequest, callback?: (err: AWSError, data: QBusiness.Types.PutGroupResponse) => void): Request<QBusiness.Types.PutGroupResponse, AWSError>;
/**
* Create, or updates, a mapping of users—who have access to a document—to groups. You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their Amazon Q Business chat results.
*/
putGroup(callback?: (err: AWSError, data: QBusiness.Types.PutGroupResponse) => void): Request<QBusiness.Types.PutGroupResponse, AWSError>;
/**
* Starts a data source connector synchronization job. If a synchronization job is already in progress, Amazon Q Business returns a ConflictException.
*/
startDataSourceSyncJob(params: QBusiness.Types.StartDataSourceSyncJobRequest, callback?: (err: AWSError, data: QBusiness.Types.StartDataSourceSyncJobResponse) => void): Request<QBusiness.Types.StartDataSourceSyncJobResponse, AWSError>;
/**
* Starts a data source connector synchronization job. If a synchronization job is already in progress, Amazon Q Business returns a ConflictException.
*/
startDataSourceSyncJob(callback?: (err: AWSError, data: QBusiness.Types.StartDataSourceSyncJobResponse) => void): Request<QBusiness.Types.StartDataSourceSyncJobResponse, AWSError>;
/**
* Stops an Amazon Q Business data source connector synchronization job already in progress.
*/
stopDataSourceSyncJob(params: QBusiness.Types.StopDataSourceSyncJobRequest, callback?: (err: AWSError, data: QBusiness.Types.StopDataSourceSyncJobResponse) => void): Request<QBusiness.Types.StopDataSourceSyncJobResponse, AWSError>;
/**
* Stops an Amazon Q Business data source connector synchronization job already in progress.
*/
stopDataSourceSyncJob(callback?: (err: AWSError, data: QBusiness.Types.StopDataSourceSyncJobResponse) => void): Request<QBusiness.Types.StopDataSourceSyncJobResponse, AWSError>;
/**
* Adds the specified tag to the specified Amazon Q Business application or data source resource. If the tag already exists, the existing value is replaced with the new value.
*/
tagResource(params: QBusiness.Types.TagResourceRequest, callback?: (err: AWSError, data: QBusiness.Types.TagResourceResponse) => void): Request<QBusiness.Types.TagResourceResponse, AWSError>;
/**
* Adds the specified tag to the specified Amazon Q Business application or data source resource. If the tag already exists, the existing value is replaced with the new value.
*/
tagResource(callback?: (err: AWSError, data: QBusiness.Types.TagResourceResponse) => void): Request<QBusiness.Types.TagResourceResponse, AWSError>;
/**
* Removes a tag from an Amazon Q Business application or a data source.
*/
untagResource(params: QBusiness.Types.UntagResourceRequest, callback?: (err: AWSError, data: QBusiness.Types.UntagResourceResponse) => void): Request<QBusiness.Types.UntagResourceResponse, AWSError>;
/**
* Removes a tag from an Amazon Q Business application or a data source.
*/
untagResource(callback?: (err: AWSError, data: QBusiness.Types.UntagResourceResponse) => void): Request<QBusiness.Types.UntagResourceResponse, AWSError>;
/**
* Updates an existing Amazon Q Business application.
*/
updateApplication(params: QBusiness.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateApplicationResponse) => void): Request<QBusiness.Types.UpdateApplicationResponse, AWSError>;
/**
* Updates an existing Amazon Q Business application.
*/
updateApplication(callback?: (err: AWSError, data: QBusiness.Types.UpdateApplicationResponse) => void): Request<QBusiness.Types.UpdateApplicationResponse, AWSError>;
/**
* Updates an set of chat controls configured for an existing Amazon Q Business application.
*/
updateChatControlsConfiguration(params: QBusiness.Types.UpdateChatControlsConfigurationRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateChatControlsConfigurationResponse) => void): Request<QBusiness.Types.UpdateChatControlsConfigurationResponse, AWSError>;
/**
* Updates an set of chat controls configured for an existing Amazon Q Business application.
*/
updateChatControlsConfiguration(callback?: (err: AWSError, data: QBusiness.Types.UpdateChatControlsConfigurationResponse) => void): Request<QBusiness.Types.UpdateChatControlsConfigurationResponse, AWSError>;
/**
* Updates an existing Amazon Q Business data source connector.
*/
updateDataSource(params: QBusiness.Types.UpdateDataSourceRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateDataSourceResponse) => void): Request<QBusiness.Types.UpdateDataSourceResponse, AWSError>;
/**
* Updates an existing Amazon Q Business data source connector.
*/
updateDataSource(callback?: (err: AWSError, data: QBusiness.Types.UpdateDataSourceResponse) => void): Request<QBusiness.Types.UpdateDataSourceResponse, AWSError>;
/**
* Updates an Amazon Q Business index.
*/
updateIndex(params: QBusiness.Types.UpdateIndexRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateIndexResponse) => void): Request<QBusiness.Types.UpdateIndexResponse, AWSError>;
/**
* Updates an Amazon Q Business index.
*/
updateIndex(callback?: (err: AWSError, data: QBusiness.Types.UpdateIndexResponse) => void): Request<QBusiness.Types.UpdateIndexResponse, AWSError>;
/**
* Updates an Amazon Q Business plugin.
*/
updatePlugin(params: QBusiness.Types.UpdatePluginRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdatePluginResponse) => void): Request<QBusiness.Types.UpdatePluginResponse, AWSError>;
/**
* Updates an Amazon Q Business plugin.
*/
updatePlugin(callback?: (err: AWSError, data: QBusiness.Types.UpdatePluginResponse) => void): Request<QBusiness.Types.UpdatePluginResponse, AWSError>;
/**
* Updates the retriever used for your Amazon Q Business application.
*/
updateRetriever(params: QBusiness.Types.UpdateRetrieverRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateRetrieverResponse) => void): Request<QBusiness.Types.UpdateRetrieverResponse, AWSError>;
/**
* Updates the retriever used for your Amazon Q Business application.
*/
updateRetriever(callback?: (err: AWSError, data: QBusiness.Types.UpdateRetrieverResponse) => void): Request<QBusiness.Types.UpdateRetrieverResponse, AWSError>;
/**
* Updates a information associated with a user id.
*/
updateUser(params: QBusiness.Types.UpdateUserRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateUserResponse) => void): Request<QBusiness.Types.UpdateUserResponse, AWSError>;
/**
* Updates a information associated with a user id.
*/
updateUser(callback?: (err: AWSError, data: QBusiness.Types.UpdateUserResponse) => void): Request<QBusiness.Types.UpdateUserResponse, AWSError>;
/**
* Updates an Amazon Q Business web experience.
*/
updateWebExperience(params: QBusiness.Types.UpdateWebExperienceRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateWebExperienceResponse) => void): Request<QBusiness.Types.UpdateWebExperienceResponse, AWSError>;
/**
* Updates an Amazon Q Business web experience.
*/
updateWebExperience(callback?: (err: AWSError, data: QBusiness.Types.UpdateWebExperienceResponse) => void): Request<QBusiness.Types.UpdateWebExperienceResponse, AWSError>;
}
declare namespace QBusiness {
export interface APISchema {
/**
* The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin.
*/
payload?: Payload;
/**
* Contains details about the S3 object containing the OpenAPI schema for a custom plugin. The schema could be in either JSON or YAML format.
*/
s3?: S3;
}
export type APISchemaType = "OPEN_API_V3"|string;
export interface AccessConfiguration {
/**
* A list of AccessControlList objects.
*/
accessControls: AccessControls;
/**
* Describes the member relation within the AccessControlList object.
*/
memberRelation?: MemberRelation;
}
export interface AccessControl {
/**
* Contains a list of principals, where a principal can be either a USER or a GROUP. Each principal can be have the following type of document access: ALLOW or DENY.
*/
principals: Principals;
/**
* Describes the member relation within a principal list.
*/
memberRelation?: MemberRelation;
}
export type AccessControls = AccessControl[];
export interface ActionExecution {
/**
* The identifier of the plugin the action is attached to.
*/
pluginId: PluginId;
/**
* A mapping of field names to the field values in input that an end user provides to Amazon Q Business requests to perform their plugin action.
*/
payload: ActionExecutionPayload;
/**
* A string used to retain information about the hierarchical contexts within an action execution event payload.
*/
payloadFieldNameSeparator: ActionPayloadFieldNameSeparator;
}
export type ActionExecutionPayload = {[key: string]: ActionExecutionPayloadField};
export interface ActionExecutionPayloadField {
/**
* The content of a user input field in an plugin action execution payload.
*/
value: ActionPayloadFieldValue;
}
export type ActionPayloadFieldKey = string;
export type ActionPayloadFieldNameSeparator = string;
export type ActionPayloadFieldType = "STRING"|"NUMBER"|"ARRAY"|"BOOLEAN"|string;
export interface ActionPayloadFieldValue {
}
export interface ActionReview {
/**
* The identifier of the plugin associated with the action review.
*/
pluginId?: PluginId;
/**
* The type of plugin.
*/
pluginType?: PluginType;
/**
* Field values that an end user needs to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.
*/
payload?: ActionReviewPayload;
/**
* A string used to retain information about the hierarchical contexts within an action review payload.
*/
payloadFieldNameSeparator?: ActionPayloadFieldNameSeparator;
}
export type ActionReviewPayload = {[key: string]: ActionReviewPayloadField};
export interface ActionReviewPayloadField {
/**
* The name of the field.
*/
displayName?: String;
/**
* The display order of fields in a payload.
*/
displayOrder?: Integer;
/**
* The field level description of each action review input field. This could be an explanation of the field. In the Amazon Q Business web experience, these descriptions could be used to display as tool tips to help users understand the field.
*/
displayDescription?: String;
/**
* The type of field.
*/
type?: ActionPayloadFieldType;
/**
* The field value.
*/
value?: ActionPayloadFieldValue;
/**
* Information about the field values that an end user can use to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.
*/
allowedValues?: ActionReviewPayloadFieldAllowedValues;
/**
* The expected data format for the action review input field value. For example, in PTO request, from and to would be of datetime allowed format.
*/
allowedFormat?: String;
/**
* Information about whether the field is required.
*/
required?: Boolean;
}
export interface ActionReviewPayloadFieldAllowedValue {
/**
* The field value.
*/
value?: ActionPayloadFieldValue;
/**
* The name of the field.
*/
displayValue?: ActionPayloadFieldValue;
}
export type ActionReviewPayloadFieldAllowedValues = ActionReviewPayloadFieldAllowedValue[];
export type AmazonResourceName = string;
export interface Application {
/**
* The name of the Amazon Q Business application.
*/
displayName?: ApplicationName;
/**
* The identifier for the Amazon Q Business application.
*/
applicationId?: ApplicationId;
/**
* The Unix timestamp when the Amazon Q Business application was created.
*/
createdAt?: Timestamp;
/**
* The Unix timestamp when the Amazon Q Business application was last updated.
*/
updatedAt?: Timestamp;
/**
* The status of the Amazon Q Business application. The application is ready to use when the status is ACTIVE.
*/
status?: ApplicationStatus;
/**
* The authentication type being used by a Amazon Q Business application.
*/
identityType?: IdentityType;
}
export type ApplicationArn = string;
export type ApplicationId = string;
export type ApplicationName = string;
export type ApplicationStatus = "CREATING"|"ACTIVE"|"DELETING"|"FAILED"|"UPDATING"|string;
export type Applications = Application[];
export interface AppliedAttachmentsConfiguration {
/**
* Information about whether file upload during chat functionality is activated for your application.
*/
attachmentsControlMode?: AttachmentsControlMode;
}
export interface AppliedCreatorModeConfiguration {
/**
* Information about whether creator mode is enabled or disabled for an Amazon Q Business application.
*/
creatorModeControl: CreatorModeControl;
}
export interface AttachmentInput {
/**
* The name of the file.
*/
name: AttachmentName;
/**
* The data contained within the uploaded file.
*/
data: _Blob;
}
export type AttachmentName = string;
export interface AttachmentOutput {
/**
* The name of a file uploaded during chat.
*/
name?: AttachmentName;
/**
* The status of a file uploaded during chat.
*/
status?: AttachmentStatus;
/**
* An error associated with a file uploaded during chat.
*/
error?: ErrorDetail;
}
export type AttachmentStatus = "FAILED"|"SUCCEEDED"|string;
export interface AttachmentsConfiguration {
/**
* Status information about whether file upload functionality is activated or deactivated for your end user.
*/
attachmentsControlMode: AttachmentsControlMode;
}
export type AttachmentsControlMode = "ENABLED"|"DISABLED"|string;
export type AttachmentsInput = AttachmentInput[];
export type AttachmentsOutput = AttachmentOutput[];
export interface AttributeFilter {
/**
* Performs a logical AND operation on all supplied filters.
*/
andAllFilters?: AttributeFilters;
/**
* Performs a logical OR operation on all supplied filters.
*/
orAllFilters?: AttributeFilters;
/**
* Performs a logical NOT operation on all supplied filters.
*/
notFilter?: AttributeFilter;
/**
* Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types: dateValue, longValue, stringListValue and stringValue.
*/
equalsTo?: DocumentAttribute;
/**
* Returns true when a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types: stringListValue.
*/
containsAll?: DocumentAttribute;
/**
* Returns true when a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types: stringListValue.
*/
containsAny?: DocumentAttribute;
/**
* Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types: dateValue and longValue.
*/
greaterThan?: DocumentAttribute;
/**
* Performs a greater or equals than operation on two document attributes or metadata fields. Supported for the following document attribute value types: dateValue and longValue.
*/
greaterThanOrEquals?: DocumentAttribute;
/**
* Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types: dateValue and longValue.
*/
lessThan?: DocumentAttribute;
/**
* Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type: dateValue and longValue.
*/
lessThanOrEquals?: DocumentAttribute;
}
export type AttributeFilters = AttributeFilter[];
export type AttributeType = "STRING"|"STRING_LIST"|"NUMBER"|"DATE"|string;
export type AttributeValueOperator = "DELETE"|string;
export interface AuthChallengeRequest {
/**
* The URL sent by Amazon Q Business to the third party authentication server to authenticate a custom plugin user through an OAuth protocol.
*/
authorizationUrl: Url;
}
export interface AuthChallengeResponse {
/**
* The mapping of key-value pairs in an authentication challenge response.
*/
responseMap: AuthorizationResponseMap;
}
export type AuthResponseKey = string;
export type AuthResponseValue = string;
export type AuthorizationResponseMap = {[key: string]: AuthResponseValue};
export interface AutoSubscriptionConfiguration {
/**
* Describes whether automatic subscriptions are enabled for an Amazon Q Business application using IAM identity federation for user management.
*/
autoSubscribe: AutoSubscriptionStatus;
/**
* Describes the default subscription type assigned to an Amazon Q Business application using IAM identity federation for user management. If the value for autoSubscribe is set to ENABLED you must select a value for this field.
*/
defaultSubscriptionType?: SubscriptionType;
}
export type AutoSubscriptionStatus = "ENABLED"|"DISABLED"|string;
export interface BasicAuthConfiguration {
/**
* The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
*/
secretArn: SecretArn;
/**
* The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.
*/
roleArn: RoleArn;
}
export interface BatchDeleteDocumentRequest {
/**
* The identifier of the Amazon Q Business application.
*/
applicationId: ApplicationId;
/**
* The identifier of the Amazon Q Business index that contains the documents to delete.
*/
indexId: IndexId;
/**
* Documents deleted from the Amazon Q Business index.
*/
documents: DeleteDocuments;
/**
* The identifier of the data source sync during which the documents were deleted.
*/
dataSourceSyncId?: ExecutionId;
}
export interface BatchDeleteDocumentResponse {
/**
* A list of documents that couldn't be removed from the Amazon Q Business index. Each entry contains an error message that indicates why the document couldn't be removed from the index.
*/
failedDocuments?: FailedDocuments;
}
export interface BatchPutDocumentRequest {
/**
* The identifier of the Amazon Q Business application.
*/
applicationId: ApplicationId;
/**
* The identifier of the Amazon Q Business index to add the documents to.
*/
indexId: IndexId;
/**
* One or more documents to add to the index.
*/
documents: Documents;
/**
* The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
*/
roleArn?: RoleArn;
/**
* The identifier of the data source sync during which the documents were added.
*/
dataSourceSyncId?: ExecutionId;
}
export interface BatchPutDocumentResponse {
/**
* A list of documents that were not added to the Amazon Q Business index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
*/
failedDocuments?: FailedDocuments;
}
export type _Blob = Buffer|Uint8Array|Blob|string;
export type BlockedPhrase = string;
export type BlockedPhrases = BlockedPhrase[];
export interface BlockedPhrasesConfiguration {
/**
* A list of phrases blocked from a Amazon Q Business web experience chat.
*/
blockedPhrases?: BlockedPhrases;
/**
* The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.
*/
systemMessageOverride?: SystemMessageOverride;
}
export interface BlockedPhrasesConfigurationUpdate {
/**
* Creates or updates a blocked phrases configuration in your Amazon Q Business application.
*/
blockedPhrasesToCreateOrUpdate?: BlockedPhrases;
/**
* Deletes a blocked phrases configuration in your Amazon Q Business application.
*/
blockedPhrasesToDelete?: BlockedPhrases;
/**
* The configured custom message displayed to your end user when they use blocked phrase during chat.
*/
systemMessageOverride?: SystemMessageOverride;
}
export type Boolean = boolean;
export type BoostingDurationInSeconds = number;
export type ChatMode = "RETRIEVAL_MODE"|"CREATOR_MODE"|"PLUGIN_MODE"|string;
export interface ChatModeConfiguration {
/**
* Configuration information required to invoke chat in PLUGIN_MODE.
*/
pluginConfiguration?: PluginConfiguration;
}
export interface ChatSyncInput {
/**
* The identifier of the Amazon Q Business application linked to the Amazon Q Business conversation.
*/
applicationId: ApplicationId;
/**
* The identifier of the user attached to the chat input.
*/
userId?: UserId;
/**
* The groups that a user associated with the chat input belongs to.
*/
userGroups?: UserGroups;
/**
* A end user message in a conversation.
*/
userMessage?: UserMessage;
/**
* A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.
*/
attachments?: AttachmentsInput;
/**
* A request from an end user to perform an Amazon Q Business plugin action.
*/
actionExecution?: ActionExecution;
/**
* An authentication verification event response by a third party authentication server to Amazon Q Business.
*/
authChallengeResponse?: AuthChallengeResponse;
/**
* The identifier of the Amazon Q Business conversation.
*/
conversationId?: ConversationId;
/**
* The identifier of the previous system message in a conversation.
*/
parentMessag