Qbusiness API 3
Qbusiness API 3
Amazon Q Business
Amazon's trademarks and trade dress may not be used in connection with any product or service
that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any
manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are
the property of their respective owners, who may or may not be affiliated with, connected to, or
sponsored by Amazon.
Amazon Q Business API Reference
Table of Contents
Welcome ........................................................................................................................................... 1
QBusiness ....................................................................................................................................................... 1
QApps .............................................................................................................................................................. 1
Actions .............................................................................................................................................. 3
QBusiness ....................................................................................................................................................... 5
BatchDeleteDocument ............................................................................................................................ 8
BatchPutDocument ............................................................................................................................... 12
Chat .......................................................................................................................................................... 18
ChatSync ................................................................................................................................................. 27
CreateApplication .................................................................................................................................. 37
CreateDataSource .................................................................................................................................. 44
CreateIndex ............................................................................................................................................. 52
CreatePlugin ........................................................................................................................................... 58
CreateRetriever ...................................................................................................................................... 64
CreateUser .............................................................................................................................................. 69
CreateWebExperience ........................................................................................................................... 73
DeleteApplication .................................................................................................................................. 79
DeleteChatControlsConfiguration ...................................................................................................... 82
DeleteConversation ............................................................................................................................... 85
DeleteDataSource .................................................................................................................................. 88
DeleteGroup ........................................................................................................................................... 91
DeleteIndex ............................................................................................................................................. 95
DeletePlugin ........................................................................................................................................... 98
DeleteRetriever .................................................................................................................................... 101
DeleteUser ............................................................................................................................................ 104
DeleteWebExperience ........................................................................................................................ 107
GetApplication ..................................................................................................................................... 110
GetChatControlsConfiguration ......................................................................................................... 116
GetDataSource ..................................................................................................................................... 121
GetGroup .............................................................................................................................................. 129
GetIndex ................................................................................................................................................ 133
GetPlugin .............................................................................................................................................. 139
GetRetriever ......................................................................................................................................... 145
GetUser ................................................................................................................................................. 150
Welcome
QBusiness
This is the Amazon Q Business API Reference. Amazon Q Business is a fully managed, generative-
AI powered enterprise chat assistant that you can deploy within your organization. Amazon Q
Business enhances employee productivity by supporting key tasks such as question-answering,
knowledge discovery, writing email messages, summarizing text, drafting document outlines, and
brainstorming ideas. Users ask questions of Amazon Q Business and get answers that are presented
in a conversational manner. For an introduction to the service, see the Amazon Q Business User
Guide.
For an overview of the Amazon Q Business APIs, see Overview of Amazon Q Business API
operations.
For information about the IAM access control permissions you need to use this API, see IAM roles
for Amazon Q Business in the Amazon Q Business User Guide.
The following resources provide additional information about using the Amazon Q Business API:
QApps
The Amazon Q Apps feature capability within Amazon Q Business allows web experience users to
create lightweight, purpose-built AI apps to fulfill specific tasks from within their web experience.
For example, users can create a Q App that exclusively generates marketing-related content to
improve your marketing team's productivity or a Q App for writing customer emails and creating
promotional content using a certain style of voice, tone, and branding. For more information on
the capabilities, see Amazon Q Apps capabilities in the Amazon Q Business User Guide.
For an overview of the Amazon Q App APIs, see Overview of Amazon Q Apps API operations.
For information about the IAM access control permissions you need to use the Amazon Q Apps API,
see IAM role for the Amazon Q Business web experience including Amazon Q Apps in the Amazon
Q Business User Guide.
Actions
The following actions are supported by QBusiness:
• BatchDeleteDocument
• BatchPutDocument
• Chat
• ChatSync
• CreateApplication
• CreateDataSource
• CreateIndex
• CreatePlugin
• CreateRetriever
• CreateUser
• CreateWebExperience
• DeleteApplication
• DeleteChatControlsConfiguration
• DeleteConversation
• DeleteDataSource
• DeleteGroup
• DeleteIndex
• DeletePlugin
• DeleteRetriever
• DeleteUser
• DeleteWebExperience
• GetApplication
• GetChatControlsConfiguration
• GetDataSource
• GetGroup
• GetIndex
• GetPlugin
• GetRetriever
• GetUser
• GetWebExperience
• ListApplications
• ListConversations
• ListDataSources
• ListDataSourceSyncJobs
• ListDocuments
• ListGroups
• ListIndices
• ListMessages
• ListPlugins
• ListRetrievers
• ListTagsForResource
• ListWebExperiences
• PutFeedback
• PutGroup
• StartDataSourceSyncJob
• StopDataSourceSyncJob
• TagResource
• UntagResource
• UpdateApplication
• UpdateChatControlsConfiguration
• UpdateDataSource
• UpdateIndex
• UpdatePlugin
• UpdateRetriever
• UpdateUser
• UpdateWebExperience
• AssociateLibraryItemReview
• AssociateQAppWithUser
• CreateLibraryItem
• CreateQApp
• DeleteLibraryItem
• DeleteQApp
• DisassociateLibraryItemReview
• DisassociateQAppFromUser
• GetLibraryItem
• GetQApp
• GetQAppSession
• ImportDocument
• ListLibraryItems
• ListQApps
• ListTagsForResource
• PredictQApp
• StartQAppSession
• StopQAppSession
• TagResource
• UntagResource
• UpdateLibraryItem
• UpdateQApp
• UpdateQAppSession
QBusiness
The following actions are supported by QBusiness:
• BatchDeleteDocument
• BatchPutDocument
• Chat
• ChatSync
• CreateApplication
• CreateDataSource
• CreateIndex
• CreatePlugin
• CreateRetriever
• CreateUser
• CreateWebExperience
• DeleteApplication
• DeleteChatControlsConfiguration
• DeleteConversation
• DeleteDataSource
• DeleteGroup
• DeleteIndex
• DeletePlugin
• DeleteRetriever
• DeleteUser
• DeleteWebExperience
• GetApplication
• GetChatControlsConfiguration
• GetDataSource
• GetGroup
• GetIndex
• GetPlugin
• GetRetriever
• GetUser
• GetWebExperience
• ListApplications
• ListConversations
• ListDataSources
• ListDataSourceSyncJobs
• ListDocuments
• ListGroups
• ListIndices
• ListMessages
• ListPlugins
• ListRetrievers
• ListTagsForResource
• ListWebExperiences
• PutFeedback
• PutGroup
• StartDataSourceSyncJob
• StopDataSourceSyncJob
• TagResource
• UntagResource
• UpdateApplication
• UpdateChatControlsConfiguration
• UpdateDataSource
• UpdateIndex
• UpdatePlugin
• UpdateRetriever
• UpdateUser
• UpdateWebExperience
BatchDeleteDocument
Service: QBusiness
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.
Request Syntax
{
"dataSourceSyncId": "string",
"documents": [
{
"documentId": "string"
}
]
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
The identifier of the Amazon Q Business index that contains the documents to delete.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
dataSourceSyncId
The identifier of the data source sync during which the documents were deleted.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
documents
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"failedDocuments": [
{
"dataSourceId": "string",
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"id": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
failedDocuments
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.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
ResourceNotFoundException
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
BatchPutDocument
Service: QBusiness
• 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.
Request Syntax
{
"dataSourceSyncId": "string",
"documents": [
{
"accessConfiguration": {
"accessControls": [
{
"memberRelation": "string",
"principals": [
{ ... }
]
}
],
"memberRelation": "string"
},
"attributes": [
{
"name": "string",
"value": { ... }
}
],
"content": { ... },
"contentType": "string",
"documentEnrichmentConfiguration": {
"inlineConfigurations": [
{
"condition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"documentContentOperator": "string",
"target": {
"attributeValueOperator": "string",
"key": "string",
"value": { ... }
}
}
],
"postExtractionHookConfiguration": {
"invocationCondition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"lambdaArn": "string",
"roleArn": "string",
"s3BucketName": "string"
},
"preExtractionHookConfiguration": {
"invocationCondition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"lambdaArn": "string",
"roleArn": "string",
"s3BucketName": "string"
}
},
"id": "string",
"title": "string"
}
],
"roleArn": "string"
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
The identifier of the Amazon Q Business index to add the documents to.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
dataSourceSyncId
The identifier of the data source sync during which the documents were added.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
documents
Required: Yes
roleArn
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"failedDocuments": [
{
"dataSourceId": "string",
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"id": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
failedDocuments
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.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
ThrottlingException
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Chat
Service: QBusiness
Request Syntax
POST /applications/applicationId/conversations?
clientToken=clientToken&conversationId=conversationId&parentMessageId=parentMessageId&userGroup
HTTP/1.1
Content-type: application/json
{
"actionExecutionEvent": {
"payload": {
"string" : {
"value": JSON value
}
},
"payloadFieldNameSeparator": "string",
"pluginId": "string"
},
"attachmentEvent": {
"attachment": {
"data": blob,
"name": "string"
}
},
"authChallengeResponseEvent": {
"responseMap": {
"string" : "string"
}
},
"configurationEvent": {
"attributeFilter": {
"andAllFilters": [
"AttributeFilter"
],
"containsAll": {
"name": "string",
"value": { ... }
},
"containsAny": {
"name": "string",
"value": { ... }
},
"equalsTo": {
"name": "string",
"value": { ... }
},
"greaterThan": {
"name": "string",
"value": { ... }
},
"greaterThanOrEquals": {
"name": "string",
"value": { ... }
},
"lessThan": {
"name": "string",
"value": { ... }
},
"lessThanOrEquals": {
"name": "string",
"value": { ... }
},
"notFilter": "AttributeFilter",
"orAllFilters": [
"AttributeFilter"
]
},
"chatMode": "string",
"chatModeConfiguration": { ... }
},
"endOfInputEvent": {
},
"textEvent": {
"userMessage": "string"
}
}
applicationId
The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business
conversation.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
clientToken
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
parentMessageId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
userGroups
The groups that a user associated with the chat input belongs to.
Pattern: ^\P{C}*$
Request Body
actionExecutionEvent
Required: No
attachmentEvent
Required: No
authChallengeResponseEvent
Required: No
configurationEvent
A configuration event activated by an end user request to select a specific chat mode.
Required: No
endOfInputEvent
Required: No
textEvent
Information about the payload of the ChatInputStream event containing the end user
message input.
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"actionReviewEvent": {
"conversationId": "string",
"payload": {
"string" : {
"allowedFormat": "string",
"allowedValues": [
{
"displayValue": JSON value,
"value": JSON value
}
],
"displayDescription": "string",
"displayName": "string",
"displayOrder": number,
"required": boolean,
"type": "string",
"value": JSON value
}
},
"payloadFieldNameSeparator": "string",
"pluginId": "string",
"pluginType": "string",
"systemMessageId": "string",
"userMessageId": "string"
},
"authChallengeRequestEvent": {
"authorizationUrl": "string"
},
"failedAttachmentEvent": {
"attachment": {
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"name": "string",
"status": "string"
},
"conversationId": "string",
"systemMessageId": "string",
"userMessageId": "string"
},
"metadataEvent": {
"conversationId": "string",
"finalTextMessage": "string",
"sourceAttributions": [
{
"citationNumber": number,
"snippet": "string",
"textMessageSegments": [
{
"beginOffset": number,
"endOffset": number,
"snippetExcerpt": {
"text": "string"
}
}
],
"title": "string",
"updatedAt": number,
"url": "string"
}
],
"systemMessageId": "string",
"userMessageId": "string"
},
"textEvent": {
"conversationId": "string",
"systemMessage": "string",
"systemMessageId": "string",
"userMessageId": "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
actionReviewEvent
A request from Amazon Q Business to the end user for information Amazon Q Business needs
to successfully complete a requested plugin action.
An authentication verification event activated by an end user request to use a custom plugin.
A metadata event for a AI-generated text output message in a Amazon Q Business conversation.
Information about the payload of the ChatOutputStream event containing the AI-generated
message output.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
ConflictException
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
You don't have permissions to perform the action because your license is inactive. Ask your
admin to activate your license and try again after your licence is active.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ChatSync
Service: QBusiness
Request Syntax
POST /applications/applicationId/conversations?sync&userGroups=userGroups&userId=userId
HTTP/1.1
Content-type: application/json
{
"actionExecution": {
"payload": {
"string" : {
"value": JSON value
}
},
"payloadFieldNameSeparator": "string",
"pluginId": "string"
},
"attachments": [
{
"data": blob,
"name": "string"
}
],
"attributeFilter": {
"andAllFilters": [
"AttributeFilter"
],
"containsAll": {
"name": "string",
"value": { ... }
},
"containsAny": {
"name": "string",
"value": { ... }
},
"equalsTo": {
"name": "string",
"value": { ... }
},
"greaterThan": {
"name": "string",
"value": { ... }
},
"greaterThanOrEquals": {
"name": "string",
"value": { ... }
},
"lessThan": {
"name": "string",
"value": { ... }
},
"lessThanOrEquals": {
"name": "string",
"value": { ... }
},
"notFilter": "AttributeFilter",
"orAllFilters": [
"AttributeFilter"
]
},
"authChallengeResponse": {
"responseMap": {
"string" : "string"
}
},
"chatMode": "string",
"chatModeConfiguration": { ... },
"clientToken": "string",
"conversationId": "string",
"parentMessageId": "string",
"userMessage": "string"
}
applicationId
The identifier of the Amazon Q Business application linked to the Amazon Q Business
conversation.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
userGroups
The groups that a user associated with the chat input belongs to.
Pattern: ^\P{C}*$
Request Body
actionExecution
Required: No
attachments
A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB
each.
Required: No
attributeFilter
Required: No
authChallengeResponse
Required: No
chatMode
For more information, see Admin controls and guardrails, Plugins, and Conversation settings.
Type: String
Required: No
chatModeConfiguration
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
clientToken
Type: String
Required: No
conversationId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
parentMessageId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
userMessage
Type: String
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"actionReview": {
"payload": {
"string" : {
"allowedFormat": "string",
"allowedValues": [
{
"displayValue": JSON value,
"value": JSON value
}
],
"displayDescription": "string",
"displayName": "string",
"displayOrder": number,
"required": boolean,
"type": "string",
"value": JSON value
}
},
"payloadFieldNameSeparator": "string",
"pluginId": "string",
"pluginType": "string"
},
"authChallengeRequest": {
"authorizationUrl": "string"
},
"conversationId": "string",
"failedAttachments": [
{
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"name": "string",
"status": "string"
}
],
"sourceAttributions": [
{
"citationNumber": number,
"snippet": "string",
"textMessageSegments": [
{
"beginOffset": number,
"endOffset": number,
"snippetExcerpt": {
"text": "string"
}
}
],
"title": "string",
"updatedAt": number,
"url": "string"
}
],
"systemMessage": "string",
"systemMessageId": "string",
"userMessageId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
actionReview
A request from Amazon Q Business to the end user for information Amazon Q Business needs
to successfully complete a requested plugin action.
An authentication verification event activated by an end user request to use a custom plugin.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
failedAttachments
sourceAttributions
Type: String
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
userMessageId
The identifier of an Amazon Q Business end user text input message within the conversation.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
ConflictException
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
You don't have permissions to perform the action because your license is inactive. Ask your
admin to activate your license and try again after your licence is active.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CreateApplication
Service: QBusiness
Note
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.
Request Syntax
{
"attachmentsConfiguration": {
"attachmentsControlMode": "string"
},
"clientToken": "string",
"description": "string",
"displayName": "string",
"encryptionConfiguration": {
"kmsKeyId": "string"
},
"identityCenterInstanceArn": "string",
"personalizationConfiguration": {
"personalizationControlMode": "string"
},
"qAppsConfiguration": {
"qAppsControlMode": "string"
},
"roleArn": "string",
"tags": [
{
"key": "string",
"value": "string"
}
]
Request Body
attachmentsConfiguration
Required: No
clientToken
A token that you provide to identify the request to create your Amazon Q Business application.
Type: String
Required: No
description
Type: String
Pattern: ^\P{C}*$
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: Yes
encryptionConfiguration
The identifier of the AWS KMS key that is used to encrypt your data. Amazon Q Business doesn't
support asymmetric keys.
Required: No
identityCenterInstanceArn
The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating
for—or connecting to—your Amazon Q Business application.
Type: String
Pattern: ^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/
(sso)?ins-[a-zA-Z0-9-.]{16}$
Required: No
personalizationConfiguration
Configuration information about chat response personalization. For more information, see
Personalizing chat responses
Required: No
qAppsConfiguration
An option to allow end users to create and use Amazon Q Apps in the web experience.
Required: No
roleArn
The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon
CloudWatch logs and metrics.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: No
tags
A list of key-value pairs that identify or categorize your Amazon Q Business application. You
can also use tags to help control access to the application. Tag keys and values can consist of
Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"applicationArn": "string",
"applicationId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
applicationArn
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
applicationId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CreateDataSource
Service: QBusiness
CreateDataSource is a synchronous operation. The operation returns 200 if the data source was
successfully created. Otherwise, an exception is raised.
Request Syntax
{
"clientToken": "string",
"configuration": JSON value,
"description": "string",
"displayName": "string",
"documentEnrichmentConfiguration": {
"inlineConfigurations": [
{
"condition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"documentContentOperator": "string",
"target": {
"attributeValueOperator": "string",
"key": "string",
"value": { ... }
}
}
],
"postExtractionHookConfiguration": {
"invocationCondition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"lambdaArn": "string",
"roleArn": "string",
"s3BucketName": "string"
},
"preExtractionHookConfiguration": {
"invocationCondition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"lambdaArn": "string",
"roleArn": "string",
"s3BucketName": "string"
}
},
"roleArn": "string",
"syncSchedule": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"vpcConfiguration": {
"securityGroupIds": [ "string" ],
"subnetIds": [ "string" ]
}
}
applicationId
The identifier of the Amazon Q Business application the data source will be attached to.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
The identifier of the index that you want to use with the data source connector.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
clientToken
A token you provide to identify a request to create a data source connector. Multiple calls to the
CreateDataSource API with the same client token will create only one data source connector.
Type: String
Required: No
configuration
Configuration information to connect your data source repository to Amazon Q Business. Use
this parameter to provide a JSON schema with configuration information specific to your data
source connector.
Each data source has a JSON schema provided by Amazon Q Business that you must use. For
example, the Amazon S3 and Web Crawler connectors require the following JSON schemas:
• Amazon S3 JSON schema
• Web Crawler JSON schema
You can find configuration templates for your specific data source using the following steps:
1. Navigate to the Supported connectors page in the Amazon Q Business User Guide, and select
the data source of your choice.
2. Then, from your specific data source connector page, select Using the API. You will find the
JSON schema for your data source, including parameter descriptions, in this section.
Required: Yes
description
Type: String
Pattern: ^\P{C}*$
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: Yes
documentEnrichmentConfiguration
Provides the configuration information for altering document metadata and content during the
document ingestion process.
Required: No
roleArn
The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and
required resources.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: No
syncSchedule
Sets the frequency for Amazon Q Business to check the documents in your data source
repository and update your index. If you don't set a schedule, Amazon Q Business won't
periodically update the index.
Specify a cron- format schedule string or an empty string to indicate that the index is updated
on demand. You can't specify the Schedule parameter when the Type parameter is set to
CUSTOM. If you do, you receive a ValidationException exception.
Type: String
Pattern: ^\P{C}*$
Required: No
tags
A list of key-value pairs that identify or categorize the data source connector. You can also use
tags to help control access to the data source connector. Tag keys and values can consist of
Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
Required: No
vpcConfiguration
Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data
source. For more information, see Using Amazon VPC with Amazon Q Business connectors.
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"dataSourceArn": "string",
"dataSourceId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
dataSourceArn
The Amazon Resource Name (ARN) of a data source in an Amazon Q Business application.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
dataSourceId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CreateIndex
Service: QBusiness
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.
Request Syntax
{
"capacityConfiguration": {
"units": number
},
"clientToken": "string",
"description": "string",
"displayName": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"type": "string"
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
capacityConfiguration
The capacity units you want to provision for your index. You can add and remove capacity to fit
your usage needs.
Required: No
clientToken
A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex API with the same client token will create only one index.
Type: String
Required: No
description
Type: String
Pattern: ^\P{C}*$
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: Yes
tags
A list of key-value pairs that identify or categorize the index. You can also use tags to help
control access to the index. Tag keys and values can consist of Unicode letters, digits, white
space, and any of the following symbols: _ . : / = + - @.
Required: No
type
The index type that's suitable for your needs. For more information on what's included in each
type of index, see Amazon Q Business tiers.
Type: String
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"indexArn": "string",
"indexId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
indexArn
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
indexId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CreatePlugin
Service: QBusiness
Request Syntax
{
"authConfiguration": { ... },
"clientToken": "string",
"customPluginConfiguration": {
"apiSchema": { ... },
"apiSchemaType": "string",
"description": "string"
},
"displayName": "string",
"serverUrl": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"type": "string"
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
authConfiguration
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
clientToken
A token that you provide to identify the request to create your Amazon Q Business plugin.
Type: String
Required: No
customPluginConfiguration
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: Yes
serverUrl
Type: String
Pattern: ^(https?|ftp|file)://([^\s]*)$
Required: No
tags
A list of key-value pairs that identify or categorize the data source connector. You can also use
tags to help control access to the data source connector. Tag keys and values can consist of
Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
Required: No
type
Type: String
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"buildStatus": "string",
"pluginArn": "string",
"pluginId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
buildStatus
Type: String
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
pluginId
Type: String
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
ConflictException
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CreateRetriever
Service: QBusiness
Request Syntax
{
"clientToken": "string",
"configuration": { ... },
"displayName": "string",
"roleArn": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"type": "string"
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
clientToken
A token that you provide to identify the request to create your Amazon Q Business application
retriever.
Type: String
Required: No
configuration
Provides information on how the retriever used for your Amazon Q Business application is
configured.
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: Yes
roleArn
The ARN of an IAM role used by Amazon Q Business to access the basic authentication
credentials stored in a Secrets Manager secret.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: No
tags
A list of key-value pairs that identify or categorize the retriever. You can also use tags to help
control access to the retriever. Tag keys and values can consist of Unicode letters, digits, white
space, and any of the following symbols: _ . : / = + - @.
Required: No
type
Type: String
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"retrieverArn": "string",
"retrieverId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
retrieverArn
The Amazon Resource Name (ARN) of an IAM role associated with a retriever.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
retrieverId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CreateUser
Service: QBusiness
Creates a universally unique identifier (UUID) mapped to a list of local user ids within an
application.
Request Syntax
{
"clientToken": "string",
"userAliases": [
{
"dataSourceId": "string",
"indexId": "string",
"userId": "string"
}
],
"userId": "string"
}
applicationId
The identifier of the application for which the user mapping will be created.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
clientToken
A token that you provide to identify the request to create your Amazon Q Business user
mapping.
Type: String
Required: No
userAliases
Required: No
userId
Type: String
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CreateWebExperience
Service: QBusiness
Request Syntax
{
"clientToken": "string",
"roleArn": "string",
"samplePromptsControlMode": "string",
"subtitle": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"title": "string",
"welcomeMessage": "string"
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
clientToken
A token you provide to identify a request to create an Amazon Q Business web experience.
Type: String
Required: No
roleArn
The Amazon Resource Name (ARN) of the service role attached to your web experience.
Note
You must provide this value if you're using IAM Identity Center to manage end user
access to your application. If you're using legacy identity management to manage user
access, you don't need to provide this value.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: No
samplePromptsControlMode
Determines whether sample prompts are enabled in the web experience for an end user.
Type: String
Required: No
subtitle
Type: String
Pattern: ^\P{C}*$
Required: No
tags
A list of key-value pairs that identify or categorize your Amazon Q Business web experience. You
can also use tags to help control access to the web experience. Tag keys and values can consist
of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
Required: No
title
Type: String
Pattern: ^\P{C}*$
Required: No
welcomeMessage
The customized welcome message for end users of an Amazon Q Business web experience.
Type: String
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"webExperienceArn": "string",
"webExperienceId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
webExperienceArn
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
webExperienceId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
ConflictException
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteApplication
Service: QBusiness
Request Syntax
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteChatControlsConfiguration
Service: QBusiness
Request Syntax
applicationId
The identifier of the application the chat controls have been configured for.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteConversation
Service: QBusiness
Request Syntax
applicationId
The identifier of the Amazon Q Business application associated with the conversation.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
conversationId
The identifier of the Amazon Q Business web experience conversation being deleted.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
userId
Pattern: ^\P{C}*$
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
You don't have permissions to perform the action because your license is inactive. Ask your
admin to activate your license and try again after your licence is active.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
ValidationException
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteDataSource
Service: QBusiness
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.
Request Syntax
applicationId
The identifier of the Amazon Q Business application used with the data source connector.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
dataSourceId
The identifier of the data source connector that you want to delete.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
The identifier of the index used with the data source connector.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
ThrottlingException
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteGroup
Service: QBusiness
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.
Request Syntax
DELETE /applications/applicationId/indices/indexId/groups/groupName?
dataSourceId=dataSourceId HTTP/1.1
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
dataSourceId
A group can be tied to multiple data sources. You can delete a group from accessing documents
in a certain data source. For example, the groups "Research", "Engineering", and "Sales and
Marketing" are all tied to the company's documents stored in the data sources Confluence and
Salesforce. You want to delete "Research" and "Engineering" groups from Salesforce, so that
these groups cannot access customer-related documents stored in Salesforce. Only "Sales and
Marketing" should access documents in the Salesforce data source.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
groupName
Pattern: ^\P{C}*$
Required: Yes
indexId
The identifier of the index you want to delete the group from.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteIndex
Service: QBusiness
Request Syntax
applicationId
The identifier of the Amazon Q Business application the Amazon Q Business index is linked to.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeletePlugin
Service: QBusiness
Request Syntax
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
pluginId
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteRetriever
Service: QBusiness
Request Syntax
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
retrieverId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteUser
Service: QBusiness
Request Syntax
applicationId
The identifier of the application from which the user is being deleted.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
userId
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteWebExperience
Service: QBusiness
Request Syntax
applicationId
The identifier of the Amazon Q Business application linked to the Amazon Q Business web
experience.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
webExperienceId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetApplication
Service: QBusiness
Request Syntax
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"applicationArn": "string",
"applicationId": "string",
"attachmentsConfiguration": {
"attachmentsControlMode": "string"
},
"createdAt": number,
"description": "string",
"displayName": "string",
"encryptionConfiguration": {
"kmsKeyId": "string"
},
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"identityCenterApplicationArn": "string",
"personalizationConfiguration": {
"personalizationControlMode": "string"
},
"qAppsConfiguration": {
"qAppsControlMode": "string"
},
"roleArn": "string",
"status": "string",
"updatedAt": number
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
applicationArn
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
applicationId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
attachmentsConfiguration
Settings for whether end users can upload files directly during chat.
The Unix timestamp when the Amazon Q Business application was last updated.
Type: Timestamp
description
Type: String
Pattern: ^\P{C}*$
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
encryptionConfiguration
The identifier of the AWS AWS KMS key that is used to encrypt your data. Amazon Q Business
doesn't support asymmetric keys.
If the Status field is set to ERROR, the ErrorMessage field contains a description of the error
that caused the synchronization to fail.
identityCenterApplicationArn
The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance attached to your
Amazon Q Business application.
Type: String
Pattern: ^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::
\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}$
personalizationConfiguration
Configuration information about chat response personalization. For more information, see
Personalizing chat responses.
Settings for whether end users can create and use Amazon Q Apps in the web experience.
The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs
and metrics.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
status
Type: String
updatedAt
The Unix timestamp when the Amazon Q Business application was last updated.
Type: Timestamp
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetChatControlsConfiguration
Service: QBusiness
Gets information about an chat controls configured for an existing Amazon Q Business application.
Request Syntax
GET /applications/applicationId/chatcontrols?maxResults=maxResults&nextToken=nextToken
HTTP/1.1
applicationId
The identifier of the application for which the chat controls are configured.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of Amazon Q Business chat controls configured.
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"blockedPhrases": {
"blockedPhrases": [ "string" ],
"systemMessageOverride": "string"
},
"creatorModeConfiguration": {
"creatorModeControl": "string"
},
"nextToken": "string",
"responseScope": "string",
"topicConfigurations": [
{
"description": "string",
"exampleChatMessages": [ "string" ],
"name": "string",
"rules": [
{
"excludedUsersAndGroups": {
"userGroups": [ "string" ],
"userIds": [ "string" ]
},
"includedUsersAndGroups": {
"userGroups": [ "string" ],
"userIds": [ "string" ]
},
"ruleConfiguration": { ... },
"ruleType": "string"
}
]
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
blockedPhrases
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of Amazon Q Business chat controls configured.
Type: String
The response scope configured for a Amazon Q Business application. This determines whether
your application uses its retrieval augmented generation (RAG) system to generate answers only
from your enterprise data, or also uses the large language models (LLM) knowledge to respons
to end user questions in chat.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetDataSource
Service: QBusiness
Request Syntax
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
dataSourceId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
The identfier of the index used with the data source connector.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"applicationId": "string",
"configuration": JSON value,
"createdAt": number,
"dataSourceArn": "string",
"dataSourceId": "string",
"description": "string",
"displayName": "string",
"documentEnrichmentConfiguration": {
"inlineConfigurations": [
{
"condition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"documentContentOperator": "string",
"target": {
"attributeValueOperator": "string",
"key": "string",
"value": { ... }
}
}
],
"postExtractionHookConfiguration": {
"invocationCondition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"lambdaArn": "string",
"roleArn": "string",
"s3BucketName": "string"
},
"preExtractionHookConfiguration": {
"invocationCondition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"lambdaArn": "string",
"roleArn": "string",
"s3BucketName": "string"
}
},
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"indexId": "string",
"roleArn": "string",
"status": "string",
"syncSchedule": "string",
"type": "string",
"updatedAt": number,
"vpcConfiguration": {
"securityGroupIds": [ "string" ],
"subnetIds": [ "string" ]
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
applicationId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
configuration
The Unix timestamp when the data source connector was created.
Type: Timestamp
dataSourceArn
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
dataSourceId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
description
Type: String
Pattern: ^\P{C}*$
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
documentEnrichmentConfiguration
Provides the configuration information for altering document metadata and content during the
document ingestion process.
When the Status field value is FAILED, the ErrorMessage field contains a description of the
error that caused the data source connector to fail.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
roleArn
The Amazon Resource Name (ARN) of the role with permission to access the data source and
required resources.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
status
The current status of the data source connector. When the Status field value is FAILED, the
ErrorMessage field contains a description of the error that caused the data source connector
to fail.
Type: String
Type: String
Pattern: ^\P{C}*$
type
Type: String
The Unix timestamp when the data source connector was last updated.
Type: Timestamp
vpcConfiguration
Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data
source.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetGroup
Service: QBusiness
Request Syntax
GET /applications/applicationId/indices/indexId/groups/groupName?
dataSourceId=dataSourceId HTTP/1.1
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
dataSourceId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
groupName
Pattern: ^\P{C}*$
Required: Yes
indexId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"status": {
"errorDetail": {
"errorCode": "string",
"errorMessage": "string"
},
"lastUpdatedAt": number,
"status": "string"
},
"statusHistory": [
{
"errorDetail": {
"errorCode": "string",
"errorMessage": "string"
},
"lastUpdatedAt": number,
"status": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
status
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
ThrottlingException
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetIndex
Service: QBusiness
Request Syntax
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
The identifier of the Amazon Q Business index you want information on.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"applicationId": "string",
"capacityConfiguration": {
"units": number
},
"createdAt": number,
"description": "string",
"displayName": "string",
"documentAttributeConfigurations": [
{
"name": "string",
"search": "string",
"type": "string"
}
],
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"indexArn": "string",
"indexId": "string",
"indexStatistics": {
"textDocumentStatistics": {
"indexedTextBytes": number,
"indexedTextDocumentCount": number
}
},
"status": "string",
"type": "string",
"updatedAt": number
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
applicationId
The identifier of the Amazon Q Business application associated with the index.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
capacityConfiguration
The storage capacity units chosen for your Amazon Q Business index.
The Unix timestamp when the Amazon Q Business index was created.
Type: Timestamp
description
Type: String
Pattern: ^\P{C}*$
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
documentAttributeConfigurations
Configuration information for document attributes or metadata. Document metadata are fields
associated with your documents. For example, the company department name associated with
each document. For more information, see Understanding document attributes.
error
When the Status field value is FAILED, the ErrorMessage field contains a message that
explains why.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
indexId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
indexStatistics
The current status of the index. When the value is ACTIVE, the index is ready for use. If the
Status field value is FAILED, the ErrorMessage field contains a message that explains why.
Type: String
Type: String
The Unix timestamp when the Amazon Q Business index was last updated.
Type: Timestamp
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetPlugin
Service: QBusiness
Request Syntax
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
pluginId
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"applicationId": "string",
"authConfiguration": { ... },
"buildStatus": "string",
"createdAt": number,
"customPluginConfiguration": {
"apiSchema": { ... },
"apiSchemaType": "string",
"description": "string"
},
"displayName": "string",
"pluginArn": "string",
"pluginId": "string",
"serverUrl": "string",
"state": "string",
"type": "string",
"updatedAt": number
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
applicationId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
authConfiguration
Note: This object is a Union. Only one member of this object can be specified or returned.
buildStatus
Type: String
Type: Timestamp
customPluginConfiguration
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
pluginArn
The Amazon Resource Name (ARN) of the role with permission to access resources needed to
create the plugin.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
pluginId
Type: String
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
serverUrl
Type: String
Pattern: ^(https?|ftp|file)://([^\s]*)$
state
Type: String
Type: String
Type: Timestamp
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetRetriever
Service: QBusiness
Request Syntax
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
retrieverId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"applicationId": "string",
"configuration": { ... },
"createdAt": number,
"displayName": "string",
"retrieverArn": "string",
"retrieverId": "string",
"roleArn": "string",
"status": "string",
"type": "string",
"updatedAt": number
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
applicationId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
configuration
Provides information on how the retriever used for your Amazon Q Business application is
configured.
Note: This object is a Union. Only one member of this object can be specified or returned.
createdAt
Type: Timestamp
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
retrieverArn
The Amazon Resource Name (ARN) of the IAM role associated with the retriever.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
retrieverId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
roleArn
The Amazon Resource Name (ARN) of the role with the permission to access the retriever and
required resources.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
status
Type: String
Type: String
Type: Timestamp
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetUser
Service: QBusiness
Describes the universally unique identifier (UUID) associated with a local user in a data source.
Request Syntax
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
userId
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
"userAliases": [
{
"dataSourceId": "string",
"indexId": "string",
"userId": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
userAliases
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetWebExperience
Service: QBusiness
Request Syntax
applicationId
The identifier of the Amazon Q Business application linked to the web experience.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
webExperienceId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"applicationId": "string",
"authenticationConfiguration": { ... },
"createdAt": number,
"defaultEndpoint": "string",
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"roleArn": "string",
"samplePromptsControlMode": "string",
"status": "string",
"subtitle": "string",
"title": "string",
"updatedAt": number,
"webExperienceArn": "string",
"webExperienceId": "string",
"welcomeMessage": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
applicationId
The identifier of the Amazon Q Business application linked to the web experience.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
authenticationConfiguration
The authentication configuration information for your Amazon Q Business web experience.
Note: This object is a Union. Only one member of this object can be specified or returned.
createdAt
The Unix timestamp when the Amazon Q Business web experience was last created.
Type: Timestamp
defaultEndpoint
Type: String
Pattern: ^(https?|ftp|file)://([^\s]*)$
error
When the Status field value is FAILED, the ErrorMessage field contains a description of the
error that caused the data source connector to fail.
The Amazon Resource Name (ARN) of the service role attached to your web experience.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
samplePromptsControlMode
Determines whether sample prompts are enabled in the web experience for an end user.
Type: String
The current status of the Amazon Q Business web experience. When the Status field value
is FAILED, the ErrorMessage field contains a description of the error that caused the data
source connector to fail.
Type: String
Type: String
Pattern: ^\P{C}*$
title
Type: String
Pattern: ^\P{C}*$
updatedAt
The Unix timestamp when the Amazon Q Business web experience was last updated.
Type: Timestamp
webExperienceArn
The Amazon Resource Name (ARN) of the role with the permission to access the Amazon Q
Business web experience and required resources.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
webExperienceId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$
welcomeMessage
The customized welcome message for end users of an Amazon Q Business web experience.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
ValidationException
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListApplications
Service: QBusiness
Request Syntax
maxResults
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of Amazon Q Business applications.
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"applications": [
{
"applicationId": "string",
"createdAt": number,
"displayName": "string",
"status": "string",
"updatedAt": number
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
applications
If the response is truncated, Amazon Q Business returns this token. You can use this token in a
subsequent request to retrieve the next set of applications.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListConversations
Service: QBusiness
Request Syntax
GET /applications/applicationId/conversations?
maxResults=maxResults&nextToken=nextToken&userId=userId HTTP/1.1
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of Amazon Q Business conversations.
The identifier of the user involved in the Amazon Q Business web experience conversation.
Pattern: ^\P{C}*$
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"conversations": [
{
"conversationId": "string",
"startTime": number,
"title": "string"
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
conversations
An array of summary information on the configuration of one or more Amazon Q Business web
experiences.
If the response is truncated, Amazon Q Business returns this token, which you can use in a later
request to list the next set of messages.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
You don't have permissions to perform the action because your license is inactive. Ask your
admin to activate your license and try again after your licence is active.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListDataSources
Service: QBusiness
Lists the Amazon Q Business data source connectors that you have created.
Request Syntax
GET /applications/applicationId/indices/indexId/datasources?
maxResults=maxResults&nextToken=nextToken HTTP/1.1
applicationId
The identifier of the Amazon Q Business application linked to the data source connectors.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
The identifier of the index used with one or more data source connectors.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of Amazon Q Business data source connectors.
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"dataSources": [
{
"createdAt": number,
"dataSourceId": "string",
"displayName": "string",
"status": "string",
"type": "string",
"updatedAt": number
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
dataSources
If the response is truncated, Amazon Q Business returns this token. You can use this token in a
subsequent request to retrieve the next set of data source connectors.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListDataSourceSyncJobs
Service: QBusiness
Request Syntax
GET /applications/applicationId/indices/indexId/datasources/dataSourceId/syncjobs?
endTime=endTime&maxResults=maxResults&nextToken=nextToken&startTime=startTime&syncStatus=status
HTTP/1.1
applicationId
The identifier of the Amazon Q Business application connected to the data source.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
dataSourceId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
endTime
The identifier of the index used with the Amazon Q Business data source connector.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the maxResults response was incpmplete because there is more data to retriever, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of responses.
Only returns synchronization jobs with the Status field equal to the specified status.
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"history": [
{
"dataSourceErrorCode": "string",
"endTime": number,
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"executionId": "string",
"metrics": {
"documentsAdded": "string",
"documentsDeleted": "string",
"documentsFailed": "string",
"documentsModified": "string",
"documentsScanned": "string"
},
"startTime": number,
"status": "string"
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
history
If the response is truncated, Amazon Q Business returns this token. You can use this token in
any subsequent request to retrieve the next set of jobs.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListDocuments
Service: QBusiness
Request Syntax
GET /applications/applicationId/index/indexId/documents?
dataSourceIds=dataSourceIds&maxResults=maxResults&nextToken=nextToken HTTP/1.1
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
dataSourceIds
The identifier of the data sources the documents are attached to.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
indexId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of documents.
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"documentDetailList": [
{
"createdAt": number,
"documentId": "string",
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"status": "string",
"updatedAt": number
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
documentDetailList
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of documents.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
ThrottlingException
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListGroups
Service: QBusiness
Request Syntax
GET /applications/applicationId/indices/indexId/groups?
dataSourceId=dataSourceId&maxResults=maxResults&nextToken=nextToken&updatedEarlierThan=updatedE
HTTP/1.1
applicationId
The identifier of the application for getting a list of groups mapped to users.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
dataSourceId
The identifier of the data source for getting a list of groups mapped to users.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
indexId
The identifier of the index for getting a list of groups mapped to users.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the previous response was incomplete (because there is more data to retrieve), Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of groups that are mapped to users.
The timestamp identifier used for the latest PUT or DELETE action for mapping users to their
groups.
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"items": [
{
"groupName": "string"
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
items
If the response is truncated, Amazon Q Business returns this token that you can use in the
subsequent request to retrieve the next set of groups that are mapped to users.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListIndices
Service: QBusiness
Request Syntax
GET /applications/applicationId/indices?maxResults=maxResults&nextToken=nextToken
HTTP/1.1
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of Amazon Q Business indices.
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"indices": [
{
"createdAt": number,
"displayName": "string",
"indexId": "string",
"status": "string",
"updatedAt": number
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
indices
If the response is truncated, Amazon Q Business returns this token that you can use in the
subsequent request to retrieve the next set of indexes.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListMessages
Service: QBusiness
Request Syntax
GET /applications/applicationId/conversations/conversationId?
maxResults=maxResults&nextToken=nextToken&userId=userId HTTP/1.1
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
conversationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the number of retrievers returned exceeds maxResults, Amazon Q Business returns a next
token as a pagination token to retrieve the next set of messages.
userId
The identifier of the user involved in the Amazon Q Business web experience conversation.
Pattern: ^\P{C}*$
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"messages": [
{
"actionExecution": {
"payload": {
"string" : {
"value": JSON value
}
},
"payloadFieldNameSeparator": "string",
"pluginId": "string"
},
"actionReview": {
"payload": {
"string" : {
"allowedFormat": "string",
"allowedValues": [
{
"displayValue": JSON value,
"value": JSON value
}
],
"displayDescription": "string",
"displayName": "string",
"displayOrder": number,
"required": boolean,
"type": "string",
"value": JSON value
}
},
"payloadFieldNameSeparator": "string",
"pluginId": "string",
"pluginType": "string"
},
"attachments": [
{
"error": {
"errorCode": "string",
"errorMessage": "string"
},
"name": "string",
"status": "string"
}
],
"body": "string",
"messageId": "string",
"sourceAttribution": [
{
"citationNumber": number,
"snippet": "string",
"textMessageSegments": [
{
"beginOffset": number,
"endOffset": number,
"snippetExcerpt": {
"text": "string"
}
}
],
"title": "string",
"updatedAt": number,
"url": "string"
}
],
"time": number,
"type": "string"
}
],
"nextToken": "string"
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
messages
If the response is truncated, Amazon Q Business returns this token, which you can use in a later
request to list the next set of messages.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
You don't have permissions to perform the action because your license is inactive. Ask your
admin to activate your license and try again after your licence is active.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListPlugins
Service: QBusiness
Request Syntax
GET /applications/applicationId/plugins?maxResults=maxResults&nextToken=nextToken
HTTP/1.1
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of plugins.
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"nextToken": "string",
"plugins": [
{
"buildStatus": "string",
"createdAt": number,
"displayName": "string",
"pluginId": "string",
"serverUrl": "string",
"state": "string",
"type": "string",
"updatedAt": number
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
nextToken
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of plugins.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListRetrievers
Service: QBusiness
Request Syntax
GET /applications/applicationId/retrievers?maxResults=maxResults&nextToken=nextToken
HTTP/1.1
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the number of retrievers returned exceeds maxResults, Amazon Q Business returns a next
token as a pagination token to retrieve the next set of retrievers.
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"nextToken": "string",
"retrievers": [
{
"applicationId": "string",
"displayName": "string",
"retrieverId": "string",
"status": "string",
"type": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
nextToken
If the response is truncated, Amazon Q Business returns this token, which you can use in a later
request to list the next set of retrievers.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListTagsForResource
Service: QBusiness
Gets a list of tags associated with a specified resource. Amazon Q Business applications and data
sources can have tags associated with them.
Request Syntax
resourceARN
The Amazon Resource Name (ARN) of the Amazon Q Business application or data source to get
a list of tags for.
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"tags": [
{
"key": "string",
"value": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
tags
A list of tags associated with the Amazon Q Business application or data source.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
ValidationException
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListWebExperiences
Service: QBusiness
Request Syntax
GET /applications/applicationId/experiences?maxResults=maxResults&nextToken=nextToken
HTTP/1.1
applicationId
The identifier of the Amazon Q Business application linked to the listed web experiences.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
maxResults
If the maxResults response was incomplete because there is more data to retrieve, Amazon
Q Business returns a pagination token in the response. You can use this pagination token to
retrieve the next set of Amazon Q Business conversations.
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"nextToken": "string",
"webExperiences": [
{
"createdAt": number,
"defaultEndpoint": "string",
"status": "string",
"updatedAt": number,
"webExperienceId": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
nextToken
If the response is truncated, Amazon Q Business returns this token, which you can use in a later
request to list the next set of messages.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
PutFeedback
Service: QBusiness
Enables your end user to provide feedback on their Amazon Q Business generated chat responses.
Request Syntax
POST /applications/applicationId/conversations/conversationId/messages/messageId/
feedback?userId=userId HTTP/1.1
Content-type: application/json
{
"messageCopiedAt": number,
"messageUsefulness": {
"comment": "string",
"reason": "string",
"submittedAt": number,
"usefulness": "string"
}
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
conversationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
messageId
The identifier of the chat message that the feedback was given for.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
userId
Pattern: ^\P{C}*$
Request Body
messageCopiedAt
Type: Timestamp
Required: No
messageUsefulness
The feedback usefulness value given by the user to the chat message.
Required: No
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
PutGroup
Service: QBusiness
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.
Request Syntax
{
"dataSourceId": "string",
"groupMembers": {
"memberGroups": [
{
"groupName": "string",
"type": "string"
}
],
"memberUsers": [
{
"type": "string",
"userId": "string"
}
]
},
"groupName": "string",
"type": "string"
}
applicationId
The identifier of the application in which the user and group mapping belongs.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
The identifier of the index in which you want to map users to their groups.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
dataSourceId
The identifier of the data source for which you want to map users to their groups. This is useful
if a group is tied to multiple data sources, but you only want the group to access documents
of a certain data source. For example, the groups "Research", "Engineering", and "Sales and
Marketing" are all tied to the company's documents stored in the data sources Confluence
and Salesforce. However, "Sales and Marketing" team only needs access to customer-related
documents stored in Salesforce.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
groupMembers
A list of users or sub groups that belong to a group. This is for generating Amazon Q Business
chat results only from document a user has access to.
Required: Yes
groupName
The list that contains your users or sub groups that belong the same group. For example, the
group "Company" includes the user "CEO" and the sub groups "Research", "Engineering", and
"Sales and Marketing".
Type: String
Pattern: ^\P{C}*$
Required: Yes
type
Type: String
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
StartDataSourceSyncJob
Service: QBusiness
Starts a data source connector synchronization job. If a synchronization job is already in progress,
Amazon Q Business returns a ConflictException.
Request Syntax
POST /applications/applicationId/indices/indexId/datasources/dataSourceId/startsync
HTTP/1.1
applicationId
The identifier of Amazon Q Business application the data source is connected to.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
dataSourceId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
The identifier of the index used with the data source connector.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"executionId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
executionId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
ConflictException
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
StopDataSourceSyncJob
Service: QBusiness
Stops an Amazon Q Business data source connector synchronization job already in progress.
Request Syntax
POST /applications/applicationId/indices/indexId/datasources/dataSourceId/stopsync
HTTP/1.1
applicationId
The identifier of the Amazon Q Business application that the data source is connected to.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
dataSourceId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
The identifier of the index used with the Amazon Q Business data source connector.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
ValidationException
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
TagResource
Service: QBusiness
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.
Request Syntax
{
"tags": [
{
"key": "string",
"value": "string"
}
]
}
resourceARN
The Amazon Resource Name (ARN) of the Amazon Q Business application or data source to tag.
Required: Yes
Request Body
tags
A list of tag keys to add to the Amazon Q Business application or data source. If a tag already
exists, the existing value is replaced with the new value.
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
ThrottlingException
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UntagResource
Service: QBusiness
Request Syntax
resourceARN
The Amazon Resource Name (ARN) of the Amazon Q Business application, or data source to
remove the tag from.
Required: Yes
tagKeys
A list of tag keys to remove from the Amazon Q Business application or data source. If a tag key
does not exist on the resource, it is ignored.
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdateApplication
Service: QBusiness
Request Syntax
{
"attachmentsConfiguration": {
"attachmentsControlMode": "string"
},
"description": "string",
"displayName": "string",
"identityCenterInstanceArn": "string",
"personalizationConfiguration": {
"personalizationControlMode": "string"
},
"qAppsConfiguration": {
"qAppsControlMode": "string"
},
"roleArn": "string"
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
attachmentsConfiguration
Required: No
description
Type: String
Pattern: ^\P{C}*$
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: No
identityCenterInstanceArn
The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating
for—or connecting to—your Amazon Q Business application.
Type: String
Pattern: ^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/
(sso)?ins-[a-zA-Z0-9-.]{16}$
Required: No
personalizationConfiguration
Configuration information about chat response personalization. For more information, see
Personalizing chat responses.
Required: No
qAppsConfiguration
An option to allow end users to create and use Amazon Q Apps in the web experience.
Required: No
roleArn
An AWS Identity and Access Management (IAM) role that gives Amazon Q Business permission
to access Amazon CloudWatch logs and metrics.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: No
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdateChatControlsConfiguration
Service: QBusiness
Updates an set of chat controls configured for an existing Amazon Q Business application.
Request Syntax
{
"blockedPhrasesConfigurationUpdate": {
"blockedPhrasesToCreateOrUpdate": [ "string" ],
"blockedPhrasesToDelete": [ "string" ],
"systemMessageOverride": "string"
},
"clientToken": "string",
"creatorModeConfiguration": {
"creatorModeControl": "string"
},
"responseScope": "string",
"topicConfigurationsToCreateOrUpdate": [
{
"description": "string",
"exampleChatMessages": [ "string" ],
"name": "string",
"rules": [
{
"excludedUsersAndGroups": {
"userGroups": [ "string" ],
"userIds": [ "string" ]
},
"includedUsersAndGroups": {
"userGroups": [ "string" ],
"userIds": [ "string" ]
},
"ruleConfiguration": { ... },
"ruleType": "string"
}
]
}
],
"topicConfigurationsToDelete": [
{
"description": "string",
"exampleChatMessages": [ "string" ],
"name": "string",
"rules": [
{
"excludedUsersAndGroups": {
"userGroups": [ "string" ],
"userIds": [ "string" ]
},
"includedUsersAndGroups": {
"userGroups": [ "string" ],
"userIds": [ "string" ]
},
"ruleConfiguration": { ... },
"ruleType": "string"
}
]
}
]
}
applicationId
The identifier of the application for which the chat controls are configured.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
blockedPhrasesConfigurationUpdate
Required: No
clientToken
A token that you provide to identify the request to update a Amazon Q Business application
chat configuration.
Type: String
Required: No
creatorModeConfiguration
Required: No
responseScope
The response scope configured for your application. This determines whether your application
uses its retrieval augmented generation (RAG) system to generate answers only from your
enterprise data, or also uses the large language models (LLM) knowledge to respons to end user
questions in chat.
Type: String
Required: No
topicConfigurationsToCreateOrUpdate
Required: No
topicConfigurationsToDelete
Required: No
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
ResourceNotFoundException
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdateDataSource
Service: QBusiness
Request Syntax
{
"configuration": JSON value,
"description": "string",
"displayName": "string",
"documentEnrichmentConfiguration": {
"inlineConfigurations": [
{
"condition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"documentContentOperator": "string",
"target": {
"attributeValueOperator": "string",
"key": "string",
"value": { ... }
}
}
],
"postExtractionHookConfiguration": {
"invocationCondition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"lambdaArn": "string",
"roleArn": "string",
"s3BucketName": "string"
},
"preExtractionHookConfiguration": {
"invocationCondition": {
"key": "string",
"operator": "string",
"value": { ... }
},
"lambdaArn": "string",
"roleArn": "string",
"s3BucketName": "string"
}
},
"roleArn": "string",
"syncSchedule": "string",
"vpcConfiguration": {
"securityGroupIds": [ "string" ],
"subnetIds": [ "string" ]
}
}
applicationId
The identifier of the Amazon Q Business application the data source is attached to.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
dataSourceId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
configuration
Required: No
description
Type: String
Pattern: ^\P{C}*$
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: No
documentEnrichmentConfiguration
Provides the configuration information for altering document metadata and content during the
document ingestion process.
Required: No
roleArn
The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and
required resources.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: No
syncSchedule
Type: String
Pattern: ^\P{C}*$
Required: No
vpcConfiguration
Required: No
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdateIndex
Service: QBusiness
Request Syntax
{
"capacityConfiguration": {
"units": number
},
"description": "string",
"displayName": "string",
"documentAttributeConfigurations": [
{
"name": "string",
"search": "string",
"type": "string"
}
]
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
indexId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
capacityConfiguration
The storage capacity units you want to provision for your Amazon Q Business index. You can
add and remove capacity to fit your usage needs.
Required: No
description
Type: String
Pattern: ^\P{C}*$
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: No
documentAttributeConfigurations
Configuration information for document metadata or fields. Document metadata are fields
or attributes associated with your documents. For example, the company department name
associated with each document. For more information, see Understanding document attributes.
Required: No
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdatePlugin
Service: QBusiness
Request Syntax
{
"authConfiguration": { ... },
"customPluginConfiguration": {
"apiSchema": { ... },
"apiSchemaType": "string",
"description": "string"
},
"displayName": "string",
"serverUrl": "string",
"state": "string"
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
pluginId
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Required: Yes
Request Body
authConfiguration
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
customPluginConfiguration
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: No
serverUrl
Type: String
Pattern: ^(https?|ftp|file)://([^\s]*)$
Required: No
state
Type: String
Required: No
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdateRetriever
Service: QBusiness
Request Syntax
{
"configuration": { ... },
"displayName": "string",
"roleArn": "string"
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
retrieverId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
Request Body
configuration
Provides information on how the retriever used for your Amazon Q Business application is
configured.
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: No
roleArn
The Amazon Resource Name (ARN) of an IAM role with permission to access the retriever and
required resources.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: No
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdateUser
Service: QBusiness
Request Syntax
{
"userAliasesToDelete": [
{
"dataSourceId": "string",
"indexId": "string",
"userId": "string"
}
],
"userAliasesToUpdate": [
{
"dataSourceId": "string",
"indexId": "string",
"userId": "string"
}
]
}
applicationId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
userId
Required: Yes
Request Body
userAliasesToDelete
Required: No
userAliasesToUpdate
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"userAliasesAdded": [
{
"dataSourceId": "string",
"indexId": "string",
"userId": "string"
}
],
"userAliasesDeleted": [
{
"dataSourceId": "string",
"indexId": "string",
"userId": "string"
}
],
"userAliasesUpdated": [
{
"dataSourceId": "string",
"indexId": "string",
"userId": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
userAliasesAdded
The user aliases that have been deleted from a user id.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
You have exceeded the set limits for your Amazon Q Business service.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdateWebExperience
Service: QBusiness
Request Syntax
{
"authenticationConfiguration": { ... },
"roleArn": "string",
"samplePromptsControlMode": "string",
"subtitle": "string",
"title": "string",
"welcomeMessage": "string"
}
applicationId
The identifier of the Amazon Q Business application attached to the web experience.
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
webExperienceId
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$
Required: Yes
Request Body
authenticationConfiguration
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
roleArn
The Amazon Resource Name (ARN) of the role with permission to access the Amazon Q Business
web experience and required resources.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: No
samplePromptsControlMode
Determines whether sample prompts are enabled in the web experience for an end user.
Type: String
Required: No
subtitle
Type: String
Pattern: ^\P{C}*$
Required: No
title
Type: String
Pattern: ^\P{C}*$
Required: No
welcomeMessage
A customized welcome message for an end user in an Amazon Q Business web experience.
Type: String
Required: No
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
You don't have access to perform this action. Make sure you have the required permission
policies and user accounts and try again.
You are trying to perform an action that conflicts with the current status of your resource. Fix
any inconsistences with your resources and try again.
An issue occurred with the internal server used for your Amazon Q Business service. Wait some
minutes and try again, or contact Support for help.
The resource you want to use doesn’t exist. Make sure you have provided the correct resource
and try again.
The request was denied due to throttling. Reduce the number of requests and try again.
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
correct input and try again.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
QApps
The following actions are supported by QApps:
• AssociateLibraryItemReview
• AssociateQAppWithUser
• CreateLibraryItem
• CreateQApp
• DeleteLibraryItem
• DeleteQApp
• DisassociateLibraryItemReview
• DisassociateQAppFromUser
• GetLibraryItem
• GetQApp
• GetQAppSession
• ImportDocument
• ListLibraryItems
• ListQApps
• ListTagsForResource
• PredictQApp
• StartQAppSession
• StopQAppSession
• TagResource
• UntagResource
• UpdateLibraryItem
• UpdateQApp
• UpdateQAppSession
AssociateLibraryItemReview
Service: QApps
Associates a rating or review for a library item with the user submitting the request. This
increments the rating count for the specified library item.
Request Syntax
{
"libraryItemId": "string"
}
instanceId
The unique identifier for the Amazon Q Business application environment instance.
Required: Yes
Request Body
libraryItemId
The unique identifier of the library item to associate the review with.
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
UnauthorizedException
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AssociateQAppWithUser
Service: QApps
This operation creates a link between the user's identity calling the operation and a specific Q App.
This is useful to mark the Q App as a favorite for the user if the user doesn't own the Amazon Q
App so they can still run it and see it in their inventory of Q Apps.
Request Syntax
{
"appId": "string"
}
instanceId
Required: Yes
Request Body
appId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
UnauthorizedException
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CreateLibraryItem
Service: QApps
Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other
allowed users.
Request Syntax
{
"appId": "string",
"appVersion": number,
"categories": [ "string" ]
}
instanceId
Required: Yes
Request Body
appId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
appVersion
Type: Integer
Required: Yes
categories
The categories to associate with the library item for easier discovery.
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"createdAt": "string",
"createdBy": "string",
"libraryItemId": "string",
"ratingCount": number,
"status": "string",
"updatedAt": "string",
"updatedBy": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
createdAt
Type: Timestamp
createdBy
Type: String
libraryItemId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
ratingCount
The number of ratings the library item has received from users.
Type: Integer
status
Type: String
updatedAt
The date and time the library item was last updated.
Type: Timestamp
updatedBy
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CreateQApp
Service: QApps
Creates a new Amazon Q App based on the provided definition. The Q App definition specifies the
cards and flow of the Q App. This operation also calculates the dependencies between the cards by
inspecting the references in the prompts.
Request Syntax
{
"appDefinition": {
"cards": [
{ ... }
],
"initialPrompt": "string"
},
"description": "string",
"tags": {
"string" : "string"
},
"title": "string"
}
instanceId
Required: Yes
Request Body
appDefinition
The definition of the new Q App, specifying the cards and flow.
Required: Yes
description
Type: String
Required: No
tags
Required: No
title
Type: String
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"appArn": "string",
"appId": "string",
"appVersion": number,
"createdAt": "string",
"createdBy": "string",
"description": "string",
"initialPrompt": "string",
"requiredCapabilities": [ "string" ],
"status": "string",
"title": "string",
"updatedAt": "string",
"updatedBy": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
appArn
Type: String
appId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
appVersion
Type: Integer
Type: Timestamp
createdBy
Type: String
description
Type: String
Type: String
The capabilities required to run the Q App, such as file upload or third-party integrations.
Type: String
Type: String
updatedAt
Type: Timestamp
updatedBy
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed due to a conflict with the current state of the
resource.
The requested operation could not be completed because the content exceeds the maximum
allowed size.
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteLibraryItem
Service: QApps
Deletes a library item for an Amazon Q App, removing it from the library so it can no longer be
discovered or used by other users.
Request Syntax
{
"libraryItemId": "string"
}
instanceId
Required: Yes
Request Body
libraryItemId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
UnauthorizedException
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteQApp
Service: QApps
Deletes an Amazon Q App owned by the user. If the Q App was previously published to the library,
it is also removed from the library.
Request Syntax
{
"appId": "string"
}
instanceId
Required: Yes
Request Body
appId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DisassociateLibraryItemReview
Service: QApps
Removes a rating or review previously submitted by the user for a library item.
Request Syntax
{
"libraryItemId": "string"
}
instanceId
Required: Yes
Request Body
libraryItemId
The unique identifier of the library item to remove the review from.
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
UnauthorizedException
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DisassociateQAppFromUser
Service: QApps
Disassociates a Q App from a user removing the user's access to run the Q App.
Request Syntax
{
"appId": "string"
}
instanceId
Required: Yes
Request Body
appId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetLibraryItem
Service: QApps
Retrieves details about a library item for an Amazon Q App, including its metadata, categories,
ratings, and usage statistics.
Request Syntax
appId
The unique identifier of the Amazon Q App associated with the library item.
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
instanceId
Required: Yes
libraryItemId
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"appId": "string",
"appVersion": number,
"categories": [
{
"id": "string",
"title": "string"
}
],
"createdAt": "string",
"createdBy": "string",
"isRatedByUser": boolean,
"libraryItemId": "string",
"ratingCount": number,
"status": "string",
"updatedAt": "string",
"updatedBy": "string",
"userCount": number
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
appId
The unique identifier of the Q App associated with the library item.
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
appVersion
Type: Integer
categories
Type: Timestamp
createdBy
Type: String
isRatedByUser
Type: Boolean
libraryItemId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
ratingCount
The number of ratings the library item has received from users.
Type: Integer
status
Type: String
updatedAt
The date and time the library item was last updated.
Type: Timestamp
updatedBy
Type: String
userCount
The number of users who have associated the Q App with their account.
Type: Integer
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetQApp
Service: QApps
Retrieves the full details of an Q App, including its definition specifying the cards and flow.
Request Syntax
appId
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
instanceId
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"appArn": "string",
"appDefinition": {
"appDefinitionVersion": "string",
"canEdit": boolean,
"cards": [
{ ... }
]
},
"appId": "string",
"appVersion": number,
"createdAt": "string",
"createdBy": "string",
"description": "string",
"initialPrompt": "string",
"requiredCapabilities": [ "string" ],
"status": "string",
"title": "string",
"updatedAt": "string",
"updatedBy": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
appArn
Type: String
appDefinition
The full definition of the Q App, specifying the cards and flow.
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
appVersion
Type: Integer
Type: Timestamp
createdBy
Type: String
description
Type: String
Type: String
The capabilities required to run the Q App, such as file upload or third-party integrations.
Type: String
title
Type: String
Type: Timestamp
updatedBy
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GetQAppSession
Service: QApps
Retrieves the current state and results for an active session of an Amazon Q App.
Request Syntax
instanceId
Required: Yes
sessionId
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"cardStatus": {
"string" : {
"currentState": "string",
"currentValue": "string"
}
},
"sessionArn": "string",
"sessionId": "string",
"status": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
cardStatus
Type: String
sessionId
Type: String
status
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ImportDocument
Service: QApps
Uploads a file that can then be used either as a default in a FileUploadCard from Q App
definition or as a file that is used inside a single Q App run. The purpose of the document is
determined by a scope parameter that indicates whether it is at the app definition level or at the
app session level.
Request Syntax
{
"appId": "string",
"cardId": "string",
"fileContentsBase64": "string",
"fileName": "string",
"scope": "string",
"sessionId": "string"
}
instanceId
Required: Yes
Request Body
appId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
cardId
The unique identifier of the card the file is associated with, if applicable.
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
fileContentsBase64
Type: String
Required: Yes
fileName
Type: String
Required: Yes
scope
Whether the file is associated with an Q App definition or a specific Q App session.
Type: String
Required: Yes
sessionId
The unique identifier of the Q App session the file is associated with, if applicable.
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"fileId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
fileId
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because the content exceeds the maximum
allowed size.
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListLibraryItems
Service: QApps
Lists the library items for Amazon Q Apps that are published and available for users in your AWS
account.
Request Syntax
categoryId
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
instanceId
Required: Yes
limit
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"libraryItems": [
{
"appId": "string",
"appVersion": number,
"categories": [
{
"id": "string",
"title": "string"
}
],
"createdAt": "string",
"createdBy": "string",
"isRatedByUser": boolean,
"libraryItemId": "string",
"ratingCount": number,
"status": "string",
"updatedAt": "string",
"updatedBy": "string",
"userCount": number
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
libraryItems
nextToken
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListQApps
Service: QApps
Lists the Amazon Q Apps owned by or associated with the user either because they created it or
because they used it from the library in the past. The user identity is extracted from the credentials
used to invoke this operation..
Request Syntax
instanceId
Required: Yes
limit
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"apps": [
{
"appArn": "string",
"appId": "string",
"canEdit": boolean,
"createdAt": "string",
"description": "string",
"status": "string",
"title": "string"
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
apps
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
InternalServerException
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ListTagsForResource
Service: QApps
Request Syntax
resourceARN
The Amazon Resource Name (ARN) of the resource whose tags should be listed.
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"tags": {
"string" : "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
tags
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
PredictQApp
Service: QApps
Request Syntax
{
"options": { ... }
}
instanceId
Required: Yes
Request Body
options
The input to generate the Q App definition from, either a conversation or problem statement.
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"app": {
"appDefinition": {
"cards": [
{ ... }
],
"initialPrompt": "string"
},
"description": "string",
"title": "string"
},
"problemStatement": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
app
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
StartQAppSession
Service: QApps
Starts a new session for an Amazon Q App, allowing inputs to be provided and the app to be run.
Note
Each Q App session will be condensed into a single conversation in the web experience.
Request Syntax
{
"appId": "string",
"appVersion": number,
"initialValues": [
{
"cardId": "string",
"value": "string"
}
],
"tags": {
"string" : "string"
}
}
instanceId
Required: Yes
Request Body
appId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
appVersion
Type: Integer
Required: Yes
initialValues
Required: No
tags
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"sessionArn": "string",
"sessionId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
sessionArn
Type: String
sessionId
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
StopQAppSession
Service: QApps
Stops an active session for an Amazon Q App.This deletes all data related to the session and makes
it invalid for future uses. The results of the session will be persisted as part of the conversation.
Request Syntax
{
"sessionId": "string"
}
instanceId
Required: Yes
Request Body
sessionId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
UnauthorizedException
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
TagResource
Service: QApps
Request Syntax
{
"tags": {
"string" : "string"
}
}
resourceARN
Required: Yes
Request Body
tags
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed due to a conflict with the current state of the
resource.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UntagResource
Service: QApps
Request Syntax
resourceARN
The Amazon Resource Name (ARN) of the resource to disassociate the tag from.
Required: Yes
tagKeys
Required: Yes
Request Body
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdateLibraryItem
Service: QApps
Updates the metadata and status of a library item for an Amazon Q App.
Request Syntax
{
"categories": [ "string" ],
"libraryItemId": "string",
"status": "string"
}
instanceId
Required: Yes
Request Body
categories
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: No
libraryItemId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
status
The new status to set for the library item, such as "Published" or "Hidden".
Type: String
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"appId": "string",
"appVersion": number,
"categories": [
{
"id": "string",
"title": "string"
}
],
"createdAt": "string",
"createdBy": "string",
"isRatedByUser": boolean,
"libraryItemId": "string",
"ratingCount": number,
"status": "string",
"updatedAt": "string",
"updatedBy": "string",
"userCount": number
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
appId
The unique identifier of the Q App associated with the library item.
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
appVersion
Type: Integer
The date and time the library item was originally created.
Type: Timestamp
createdBy
Type: String
isRatedByUser
Type: Boolean
libraryItemId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
ratingCount
Type: Integer
status
Type: String
updatedAt
The date and time the library item was last updated.
Type: Timestamp
updatedBy
Type: String
userCount
Type: Integer
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdateQApp
Service: QApps
Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.
Request Syntax
{
"appDefinition": {
"cards": [
{ ... }
],
"initialPrompt": "string"
},
"appId": "string",
"description": "string",
"title": "string"
}
instanceId
Required: Yes
Request Body
appDefinition
The new definition specifying the cards and flow for the Q App.
Required: No
appId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
description
Type: String
Required: No
title
Type: String
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"appArn": "string",
"appId": "string",
"appVersion": number,
"createdAt": "string",
"createdBy": "string",
"description": "string",
"initialPrompt": "string",
"requiredCapabilities": [ "string" ],
"status": "string",
"title": "string",
"updatedAt": "string",
"updatedBy": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
appArn
Type: String
appId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
appVersion
Type: Integer
Type: Timestamp
createdBy
Type: String
description
Type: String
Type: String
Type: String
Type: String
Type: Timestamp
updatedBy
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because the content exceeds the maximum
allowed size.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UpdateQAppSession
Service: QApps
Updates the session for a given Q App sessionId. This is only valid when at least one card of the
session is in the WAITING state. Data for each WAITING card can be provided as input. If inputs are
not provided, the call will be accepted but session will not move forward. Inputs for cards that are
not in the WAITING status will be ignored.
Request Syntax
{
"sessionId": "string",
"values": [
{
"cardId": "string",
"value": "string"
}
]
}
instanceId
Required: Yes
Request Body
sessionId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
values
The input values to provide for the current state of the Q App session.
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"sessionArn": "string",
"sessionId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
sessionArn
Type: String
sessionId
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
AccessDeniedException
The requested operation could not be completed because it would exceed the service's quota or
limit.
The requested operation could not be completed because too many requests were sent at once.
Wait a bit and try again later.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Data Types
The following data types are supported by QBusiness:
• AccessConfiguration
• AccessControl
• ActionExecution
• ActionExecutionEvent
• ActionExecutionPayloadField
• ActionReview
• ActionReviewEvent
• ActionReviewPayloadField
• ActionReviewPayloadFieldAllowedValue
• APISchema
• Application
• AppliedAttachmentsConfiguration
• AppliedCreatorModeConfiguration
• AttachmentInput
• AttachmentInputEvent
• AttachmentOutput
• AttachmentsConfiguration
• AttributeFilter
• AuthChallengeRequest
• AuthChallengeRequestEvent
• AuthChallengeResponse
• AuthChallengeResponseEvent
• BasicAuthConfiguration
• BlockedPhrasesConfiguration
• BlockedPhrasesConfigurationUpdate
• ChatInputStream
• ChatModeConfiguration
• ChatOutputStream
• ConfigurationEvent
• ContentBlockerRule
• ContentRetrievalRule
• Conversation
• CreatorModeConfiguration
• CustomPluginConfiguration
• DataSource
• DataSourceSyncJob
• DataSourceSyncJobMetrics
• DataSourceVpcConfiguration
• DateAttributeBoostingConfiguration
• DeleteDocument
• Document
• DocumentAttribute
• DocumentAttributeBoostingConfiguration
• DocumentAttributeCondition
• DocumentAttributeConfiguration
• DocumentAttributeTarget
• DocumentAttributeValue
• DocumentContent
• DocumentDetails
• DocumentEnrichmentConfiguration
• EligibleDataSource
• EncryptionConfiguration
• EndOfInputEvent
• ErrorDetail
• FailedAttachmentEvent
• FailedDocument
• GroupMembers
• GroupStatusDetail
• GroupSummary
• HookConfiguration
• Index
• IndexCapacityConfiguration
• IndexStatistics
• InlineDocumentEnrichmentConfiguration
• KendraIndexConfiguration
• MemberGroup
• MemberUser
• Message
• MessageUsefulnessFeedback
• MetadataEvent
• NativeIndexConfiguration
• NoAuthConfiguration
• NumberAttributeBoostingConfiguration
• OAuth2ClientCredentialConfiguration
• PersonalizationConfiguration
• Plugin
• PluginAuthConfiguration
• PluginConfiguration
• Principal
• PrincipalGroup
• PrincipalUser
• QAppsConfiguration
• Retriever
• RetrieverConfiguration
• Rule
• RuleConfiguration
• S3
• SamlConfiguration
• SnippetExcerpt
• SourceAttribution
• StringAttributeBoostingConfiguration
• StringListAttributeBoostingConfiguration
• Tag
• TextDocumentStatistics
• TextInputEvent
• TextOutputEvent
• TextSegment
• TopicConfiguration
• UserAlias
• UsersAndGroups
• ValidationExceptionField
• WebExperience
• WebExperienceAuthConfiguration
• AppDefinition
• AppDefinitionInput
• AttributeFilter
• Card
• CardInput
• CardStatus
• CardValue
• Category
• ConversationMessage
• DocumentAttribute
• DocumentAttributeValue
• FileUploadCard
• FileUploadCardInput
• LibraryItemMember
• PredictAppDefinition
• PredictQAppInputOptions
• QPluginCard
• QPluginCardInput
• QQueryCard
• QQueryCardInput
• TextInputCard
• TextInputCardInput
• UserAppItem
QBusiness
The following data types are supported by QBusiness:
• AccessConfiguration
• AccessControl
• ActionExecution
• ActionExecutionEvent
• ActionExecutionPayloadField
• ActionReview
• ActionReviewEvent
• ActionReviewPayloadField
• ActionReviewPayloadFieldAllowedValue
• APISchema
• Application
• AppliedAttachmentsConfiguration
• AppliedCreatorModeConfiguration
• AttachmentInput
• AttachmentInputEvent
• AttachmentOutput
• AttachmentsConfiguration
• AttributeFilter
• AuthChallengeRequest
• AuthChallengeRequestEvent
• AuthChallengeResponse
• AuthChallengeResponseEvent
• BasicAuthConfiguration
• BlockedPhrasesConfiguration
• BlockedPhrasesConfigurationUpdate
• ChatInputStream
• ChatModeConfiguration
• ChatOutputStream
• ConfigurationEvent
• ContentBlockerRule
• ContentRetrievalRule
• Conversation
• CreatorModeConfiguration
• CustomPluginConfiguration
• DataSource
• DataSourceSyncJob
• DataSourceSyncJobMetrics
• DataSourceVpcConfiguration
• DateAttributeBoostingConfiguration
• DeleteDocument
• Document
• DocumentAttribute
• DocumentAttributeBoostingConfiguration
• DocumentAttributeCondition
• DocumentAttributeConfiguration
• DocumentAttributeTarget
• DocumentAttributeValue
• DocumentContent
• DocumentDetails
• DocumentEnrichmentConfiguration
• EligibleDataSource
• EncryptionConfiguration
• EndOfInputEvent
• ErrorDetail
• FailedAttachmentEvent
• FailedDocument
• GroupMembers
• GroupStatusDetail
• GroupSummary
• HookConfiguration
• Index
• IndexCapacityConfiguration
• IndexStatistics
• InlineDocumentEnrichmentConfiguration
• KendraIndexConfiguration
• MemberGroup
• MemberUser
• Message
• MessageUsefulnessFeedback
• MetadataEvent
• NativeIndexConfiguration
• NoAuthConfiguration
• NumberAttributeBoostingConfiguration
• OAuth2ClientCredentialConfiguration
• PersonalizationConfiguration
• Plugin
• PluginAuthConfiguration
• PluginConfiguration
• Principal
• PrincipalGroup
• PrincipalUser
• QAppsConfiguration
• Retriever
• RetrieverConfiguration
• Rule
• RuleConfiguration
• S3
• SamlConfiguration
• SnippetExcerpt
• SourceAttribution
• StringAttributeBoostingConfiguration
• StringListAttributeBoostingConfiguration
• Tag
• TextDocumentStatistics
• TextInputEvent
• TextOutputEvent
• TextSegment
• TopicConfiguration
• UserAlias
• UsersAndGroups
• ValidationExceptionField
• WebExperience
• WebExperienceAuthConfiguration
AccessConfiguration
Service: QBusiness
Contents
accessControls
Required: Yes
memberRelation
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AccessControl
Service: QBusiness
A list of principals. Each principal can be either a USER or a GROUP and can be designated
document access permissions of either ALLOW or DENY.
Contents
principals
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.
Required: Yes
memberRelation
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ActionExecution
Service: QBusiness
Contents
payload
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.
Required: Yes
payloadFieldNameSeparator
A string used to retain information about the hierarchical contexts within an action execution
event payload.
Type: String
Required: Yes
pluginId
Type: String
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ActionExecutionEvent
Service: QBusiness
A request from an end user signalling an intent to perform an Amazon Q Business plugin action
during a streaming chat.
Contents
payload
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.
Required: Yes
payloadFieldNameSeparator
A string used to retain information about the hierarchical contexts within a action execution
event payload.
Type: String
Required: Yes
pluginId
The identifier of the plugin for which the action is being requested.
Type: String
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ActionExecutionPayloadField
Service: QBusiness
Contents
value
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ActionReview
Service: QBusiness
An output event that Amazon Q Business returns to an user who wants to perform a plugin action
during a non-streaming chat conversation. It contains information about the selected action with a
list of possible user input fields, some pre-populated by Amazon Q Business.
Contents
payload
Field values that an end user needs to provide to Amazon Q Business for Amazon Q Business to
perform the requested plugin action.
Required: No
payloadFieldNameSeparator
A string used to retain information about the hierarchical contexts within an action review
payload.
Type: String
Required: No
pluginId
Type: String
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Required: No
pluginType
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ActionReviewEvent
Service: QBusiness
An output event that Amazon Q Business returns to an user who wants to perform a plugin action
during a streaming chat conversation. It contains information about the selected action with a list
of possible user input fields, some pre-populated by Amazon Q Business.
Contents
conversationId
The identifier of the conversation with which the action review event is associated.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
payload
Field values that an end user needs to provide to Amazon Q Business for Amazon Q Business to
perform the requested plugin action.
Required: No
payloadFieldNameSeparator
A string used to retain information about the hierarchical contexts within an action review event
payload.
Type: String
Required: No
pluginId
The identifier of the plugin associated with the action review event.
Type: String
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Required: No
pluginType
Type: String
Required: No
systemMessageId
The identifier of an Amazon Q Business AI generated associated with the action review event.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
userMessageId
The identifier of the conversation with which the plugin action is associated.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ActionReviewPayloadField
Service: QBusiness
Contents
allowedFormat
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.
Type: String
Required: No
allowedValues
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.
Required: No
displayDescription
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.
Type: String
Required: No
displayName
Type: String
Required: No
displayOrder
Type: Integer
Required: No
required
Type: Boolean
Required: No
type
Type: String
Required: No
value
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ActionReviewPayloadFieldAllowedValue
Service: QBusiness
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.
Contents
displayValue
Required: No
value
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
APISchema
Service: QBusiness
Contains details about the OpenAPI schema for a custom plugin. For more information, see custom
plugin OpenAPI schemas. You can either include the schema directly in the payload field or you can
upload it to an S3 bucket and specify the S3 bucket location in the s3 field.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
payload
The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin.
Type: String
Required: No
s3
Contains details about the S3 object containing the OpenAPI schema for a custom plugin. The
schema could be in either JSON or YAML format.
Type: S3 object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Application
Service: QBusiness
Contents
applicationId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
createdAt
The Unix timestamp when the Amazon Q Business application was created.
Type: Timestamp
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: No
status
The status of the Amazon Q Business application. The application is ready to use when the
status is ACTIVE.
Type: String
Required: No
updatedAt
The Unix timestamp when the Amazon Q Business application was last updated.
Type: Timestamp
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AppliedAttachmentsConfiguration
Service: QBusiness
Configuration information about the file upload during chat feature for your application.
Contents
attachmentsControlMode
Information about whether file upload during chat functionality is activated for your
application.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AppliedCreatorModeConfiguration
Service: QBusiness
The creator mode specific admin controls configured for an Amazon Q Business application.
Determines whether an end user can generate LLM-only responses when they use the web
experience.
For more information, see Admin controls and guardrails and Conversation settings.
Contents
creatorModeControl
Information about whether creator mode is enabled or disabled for an Amazon Q Business
application.
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AttachmentInput
Service: QBusiness
Contents
data
Required: Yes
name
Type: String
Pattern: ^\P{C}*$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AttachmentInputEvent
Service: QBusiness
A file input event activated by a end user request to upload files into their web experience chat.
Contents
attachment
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AttachmentOutput
Service: QBusiness
Contents
error
Required: No
name
Type: String
Pattern: ^\P{C}*$
Required: No
status
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AttachmentsConfiguration
Service: QBusiness
Contents
attachmentsControlMode
Status information about whether file upload functionality is activated or deactivated for your
end user.
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AttributeFilter
Service: QBusiness
Contents
andAllFilters
Required: No
containsAll
Returns true when a document contains all the specified document attributes or metadata
fields. Supported for the following document attribute value types: stringListValue.
Required: No
containsAny
Returns true when a document contains any of the specified document attributes or metadata
fields. Supported for the following document attribute value types: stringListValue.
Required: No
equalsTo
Performs an equals operation on two document attributes or metadata fields. Supported for
the following document attribute value types: dateValue, longValue, stringListValue
and stringValue.
Required: No
greaterThan
Performs a greater than operation on two document attributes or metadata fields. Supported
for the following document attribute value types: dateValue and longValue.
Required: No
greaterThanOrEquals
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.
Required: No
lessThan
Performs a less than operation on two document attributes or metadata fields. Supported for
the following document attribute value types: dateValue and longValue.
Required: No
lessThanOrEquals
Required: No
notFilter
Required: No
orAllFilters
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AuthChallengeRequest
Service: QBusiness
Contents
authorizationUrl
The URL sent by Amazon Q Business to the third party authentication server to authenticate a
custom plugin user through an OAuth protocol.
Type: String
Pattern: ^(https?|ftp|file)://([^\s]*)$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AuthChallengeRequestEvent
Service: QBusiness
An authentication verification event activated by an end user request to use a custom plugin.
Contents
authorizationUrl
The URL sent by Amazon Q Business to a third party authentication server in response to an
authentication verification event activated by an end user request to use a custom plugin.
Type: String
Pattern: ^(https?|ftp|file)://([^\s]*)$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AuthChallengeResponse
Service: QBusiness
Contains details of the authentication information received from a third party authentication
server in response to an authentication challenge.
Contents
responseMap
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AuthChallengeResponseEvent
Service: QBusiness
Contents
responseMap
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
BasicAuthConfiguration
Service: QBusiness
Contents
roleArn
The ARN of an IAM role used by Amazon Q Business to access the basic authentication
credentials stored in a Secrets Manager secret.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: Yes
secretArn
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for
plugin configuration..
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
BlockedPhrasesConfiguration
Service: QBusiness
Provides information about the phrases blocked from chat by your chat control configuration.
Contents
blockedPhrases
Pattern: ^\P{C}*$
Required: No
systemMessageOverride
The configured custom message displayed to an end user informing them that they've used a
blocked phrase during chat.
Type: String
Pattern: ^\P{C}*$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
BlockedPhrasesConfigurationUpdate
Service: QBusiness
Contents
blockedPhrasesToCreateOrUpdate
Pattern: ^\P{C}*$
Required: No
blockedPhrasesToDelete
Pattern: ^\P{C}*$
Required: No
systemMessageOverride
The configured custom message displayed to your end user when they use blocked phrase
during chat.
Type: String
Pattern: ^\P{C}*$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ChatInputStream
Service: QBusiness
Contents
actionExecutionEvent
Required: No
attachmentEvent
Required: No
authChallengeResponseEvent
Required: No
configurationEvent
A configuration event activated by an end user request to select a specific chat mode.
Required: No
endOfInputEvent
Required: No
textEvent
Information about the payload of the ChatInputStream event containing the end user
message input.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ChatModeConfiguration
Service: QBusiness
For more information, see Admin controls and guardrails and Conversation settings.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
pluginConfiguration
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ChatOutputStream
Service: QBusiness
Contents
actionReviewEvent
A request from Amazon Q Business to the end user for information Amazon Q Business needs
to successfully complete a requested plugin action.
Required: No
authChallengeRequestEvent
An authentication verification event activated by an end user request to use a custom plugin.
Required: No
failedAttachmentEvent
Required: No
metadataEvent
A metadata event for a AI-generated text output message in a Amazon Q Business conversation.
Required: No
textEvent
Information about the payload of the ChatOutputStream event containing the AI-generated
message output.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ConfigurationEvent
Service: QBusiness
A configuration event activated by an end user request to select a specific chat mode.
Contents
attributeFilter
Required: No
chatMode
For more information, see Admin controls and guardrails, Plugins, and Conversation settings.
Type: String
Required: No
chatModeConfiguration
For more information, see Admin controls and guardrails and Conversation settings.
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ContentBlockerRule
Service: QBusiness
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic. You
can configure a custom message to inform your end users that they have asked about a restricted
topic and suggest any next steps they should take.
Contents
systemMessageOverride
The configured custom message displayed to an end user informing them that they've used a
blocked phrase during chat.
Type: String
Pattern: ^\P{C}*$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ContentRetrievalRule
Service: QBusiness
Rules for retrieving content from data sources connected to a Amazon Q Business application for a
specific topic control configuration.
Contents
eligibleDataSources
Specifies data sources in a Amazon Q Business application to use for content generation.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Conversation
Service: QBusiness
Contents
conversationId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
startTime
Type: Timestamp
Required: No
title
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CreatorModeConfiguration
Service: QBusiness
For more information, see Admin controls and guardrails and Conversation settings.
Contents
creatorModeControl
Status information about whether CREATOR_MODE has been enabled or disabled. The default
status is DISABLED.
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CustomPluginConfiguration
Service: QBusiness
Contents
apiSchema
Contains either details about the S3 object containing the OpenAPI schema for the action group
or the JSON or YAML-formatted payload defining the schema.
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
apiSchemaType
Type: String
Required: Yes
description
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DataSource
Service: QBusiness
Contents
createdAt
The Unix timestamp when the Amazon Q Business data source was created.
Type: Timestamp
Required: No
dataSourceId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: No
status
Type: String
Required: No
type
Type: String
Required: No
updatedAt
The Unix timestamp when the Amazon Q Business data source was last updated.
Type: Timestamp
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DataSourceSyncJob
Service: QBusiness
Provides information about an Amazon Q Business data source connector synchronization job.
Contents
dataSourceErrorCode
If the reason that the synchronization failed is due to an error with the underlying data source,
this field contains a code that identifies the error.
Type: String
Required: No
endTime
Type: Timestamp
Required: No
error
If the Status field is set to FAILED, the ErrorCode field indicates the reason the
synchronization failed.
Required: No
executionId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
metrics
Maps a batch delete document request to a specific data source sync job. This is optional and
should only be supplied when documents are deleted by a data source connector.
Required: No
startTime
The Unix time stamp when the data source synchronization job started.
Type: Timestamp
Required: No
status
The status of the synchronization job. When the Status field is set to SUCCEEDED, the
synchronization job is done. If the status code is FAILED, the ErrorCode and ErrorMessage
fields give you the reason for the failure.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DataSourceSyncJobMetrics
Service: QBusiness
Maps a batch delete document request to a specific Amazon Q Business data source connector sync
job.
Contents
documentsAdded
The current count of documents added from the data source during the data source sync.
Type: String
Pattern: ^(([1-9][0-9]*)|0)$
Required: No
documentsDeleted
The current count of documents deleted from the data source during the data source sync.
Type: String
Pattern: ^(([1-9][0-9]*)|0)$
Required: No
documentsFailed
The current count of documents that failed to sync from the data source during the data source
sync.
Type: String
Pattern: ^(([1-9][0-9]*)|0)$
Required: No
documentsModified
The current count of documents modified in the data source during the data source sync.
Type: String
Pattern: ^(([1-9][0-9]*)|0)$
Required: No
documentsScanned
The current count of documents crawled by the ongoing sync job in the data source.
Type: String
Pattern: ^(([1-9][0-9]*)|0)$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DataSourceVpcConfiguration
Service: QBusiness
Provides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud).
Contents
securityGroupIds
A list of identifiers of security groups within your Amazon VPC. The security groups should
enable Amazon Q Business to connect to the data source.
Pattern: ^[-0-9a-zA-Z]+$
Required: Yes
subnetIds
A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect
to each other in the VPC, and they should have outgoing access to the Internet through a NAT
device.
Pattern: ^[-0-9a-zA-Z]+$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DateAttributeBoostingConfiguration
Service: QBusiness
For more information on how boosting document attributes work in Amazon Q Business, see
Boosting using document attributes.
Contents
boostingLevel
Type: String
Required: Yes
boostingDurationInSeconds
Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.
Type: Long
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DeleteDocument
Service: QBusiness
Contents
documentId
Type: String
Pattern: ^\P{C}*$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Document
Service: QBusiness
Contents
id
Type: String
Pattern: ^\P{C}*$
Required: Yes
accessConfiguration
Required: No
attributes
Custom attributes to apply to the document for refining Amazon Q Business web experience
responses.
Required: No
content
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
contentType
If you want to index snippets or subsets of HTML documents instead of the entirety of the
HTML documents, you add the HTML start and closing tags (<HTML>content</HTML>) around
the content.
Type: String
Valid Values: PDF | HTML | MS_WORD | PLAIN_TEXT | PPT | RTF | XML | XSLT |
MS_EXCEL | CSV | JSON | MD
Required: No
documentEnrichmentConfiguration
The configuration information for altering document metadata and content during the
document ingestion process.
Required: No
title
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentAttribute
Service: QBusiness
Contents
name
Type: String
Pattern: ^[a-zA-Z0-9_][a-zA-Z0-9_-]*$
Required: Yes
value
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentAttributeBoostingConfiguration
Service: QBusiness
Provides information on boosting supported Amazon Q Business document attribute types. When
an end user chat query matches document attributes that have been boosted, Amazon Q Business
prioritizes generating responses from content that matches the boosted document attributes.
Note
For STRING and STRING_LIST type document attributes to be used for
boosting on the console and the API, they must be enabled for search using the
DocumentAttributeConfiguration object of the UpdateIndex API. If you haven't enabled
searching on these attributes, you can't boost attributes of these data types on either the
console or the API.
For more information on how boosting document attributes work in Amazon Q Business, see
Boosting using document attributes.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
dateConfiguration
Required: No
numberConfiguration
Required: No
stringConfiguration
Required: No
stringListConfiguration
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentAttributeCondition
Service: QBusiness
The condition used for the target document attribute or metadata field when ingesting documents
into Amazon Q Business. You use this with DocumentAttributeTarget to apply the condition.
For example, you can create the 'Department' target field and have it prefill department names
associated with the documents based on information in the 'Source_URI' field. Set the condition
that if the 'Source_URI' field contains 'financial' in its URI value, then prefill the target field
'Department' with the target value 'Finance' for the document.
Amazon Q Business can't create a target field if it has not already been created as an index
field. After you create your index field, you can create a document metadata field using
DocumentAttributeTarget. Amazon Q Business then will map your newly created metadata
field to your index field.
Contents
key
For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains
source URIs associated with the documents.
Amazon Q Business currently doesn't support _document_body as an attribute key used for
the condition.
Type: String
Pattern: ^[a-zA-Z0-9_][a-zA-Z0-9_-]*$
Required: Yes
operator
For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains
source URIs associated with the documents.
Amazon Q Business currently does not support _document_body as an attribute key used for
the condition.
Type: String
Required: Yes
value
The value of a document attribute. You can only provide one value for a document attribute.
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentAttributeConfiguration
Service: QBusiness
Configuration information for document attributes. Document attributes are metadata or fields
associated with your documents. For example, the company department name associated with
each document.
Contents
name
Type: String
Pattern: ^[a-zA-Z0-9_][a-zA-Z0-9_-]*$
Required: No
search
Information about whether the document attribute can be used by an end user to search for
information on their web experience.
Type: String
Required: No
type
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentAttributeTarget
Service: QBusiness
The target document attribute or metadata field you want to alter when ingesting documents into
Amazon Q Business.
For example, you can delete all customer identification numbers associated with the documents,
stored in the document metadata field called 'Customer_ID' by setting the target key as
'Customer_ID' and the deletion flag to TRUE. This removes all customer ID values in the field
'Customer_ID'. This would scrub personally identifiable information from each document's
metadata.
Amazon Q Business can't create a target field if it has not already been created as an index
field. After you create your index field, you can create a document metadata field using
DocumentAttributeTarget. Amazon Q Business will then map your newly created document
attribute to your index field.
Contents
key
The identifier of the target document attribute or metadata field. For example, 'Department'
could be an identifier for the target attribute or metadata field that includes the department
names associated with the documents.
Type: String
Pattern: ^[a-zA-Z0-9_][a-zA-Z0-9_-]*$
Required: Yes
attributeValueOperator
TRUE to delete the existing target value for your specified target attribute key. You cannot
create a target value and set this to TRUE.
Type: String
Required: No
value
The value of a document attribute. You can only provide one value for a document attribute.
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentAttributeValue
Service: QBusiness
The value of a document attribute. You can only provide one value for a document attribute.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
dateValue
It's important for the time zone to be included in the ISO 8601 date-time format. For example,
2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at
12:30PM (plus 10 seconds) in Central European Time.
Type: Timestamp
Required: No
longValue
Type: Long
Required: No
stringListValue
A list of strings.
Required: No
stringValue
A string.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentContent
Service: QBusiness
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
blob
The contents of the document. Documents passed to the blob parameter must be base64
encoded. Your code might not need to encode the document file bytes if you're using an AWS
SDK to call Amazon Q Business APIs. If you are calling the Amazon Q Business endpoint directly
using REST, you must base64 encode the contents before sending.
Required: No
s3
Type: S3 object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentDetails
Service: QBusiness
Contents
createdAt
Type: Timestamp
Required: No
documentId
Type: String
Pattern: ^\P{C}*$
Required: No
error
Required: No
status
Type: String
Required: No
updatedAt
Type: Timestamp
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentEnrichmentConfiguration
Service: QBusiness
Provides the configuration information for altering document metadata and content during the
document ingestion process.
Contents
inlineConfigurations
Configuration information to alter document attributes or metadata fields and content when
ingesting documents into Amazon Q Business.
Required: No
postExtractionHookConfiguration
Provides the configuration information for invoking a Lambda function in AWS Lambda to alter
document metadata and content when ingesting documents into Amazon Q Business.
If you want to apply advanced alterations on the Amazon Q Business structured documents, you
must configure your Lambda function using PostExtractionHookConfiguration.
You can only invoke one Lambda function. However, this function can invoke other functions it
requires.
Required: No
preExtractionHookConfiguration
Provides the configuration information for invoking a Lambda function in AWS Lambda to alter
document metadata and content when ingesting documents into Amazon Q Business.
If you want to apply advanced alterations on the Amazon Q Business structured documents, you
must configure your Lambda function using PostExtractionHookConfiguration.
You can only invoke one Lambda function. However, this function can invoke other functions it
requires.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
EligibleDataSource
Service: QBusiness
The identifier of the data source Amazon Q Business will generate responses from.
Contents
dataSourceId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
indexId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
EncryptionConfiguration
Service: QBusiness
Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business.
Amazon Q Business doesn't support asymmetric keys.
Contents
kmsKeyId
The identifier of the AWS KMS key. Amazon Q Business doesn't support asymmetric keys.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
EndOfInputEvent
Service: QBusiness
Contents
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ErrorDetail
Service: QBusiness
Contents
errorCode
Type: String
Required: No
errorMessage
Type: String
Pattern: ^\P{C}*$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
FailedAttachmentEvent
Service: QBusiness
Contents
attachment
Required: No
conversationId
The identifier of the conversation associated with the failed file upload.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
systemMessageId
The identifier of the AI-generated message associated with the file upload.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
userMessageId
The identifier of the end user chat message associated with the file upload.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
FailedDocument
Service: QBusiness
A list of documents that could not be removed from an Amazon Q Business index. Each entry
contains an error message that indicates why the document couldn't be removed from the index.
Contents
dataSourceId
The identifier of the Amazon Q Business data source connector that contains the failed
document.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
error
An explanation for why the document couldn't be removed from the index.
Required: No
id
The identifier of the document that couldn't be removed from the Amazon Q Business index.
Type: String
Pattern: ^\P{C}*$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GroupMembers
Service: QBusiness
A list of users or sub groups that belong to a group. This is for generating Amazon Q Business chat
results only from document a user has access to.
Contents
memberGroups
A list of sub groups that belong to a group. For example, the sub groups "Research",
"Engineering", and "Sales and Marketing" all belong to the group "Company".
Required: No
memberUsers
A list of users that belong to a group. For example, a list of interns all belong to the "Interns"
group.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GroupStatusDetail
Service: QBusiness
Contents
errorDetail
Required: No
lastUpdatedAt
The Unix timestamp when the Amazon Q Business application was last updated.
Type: Timestamp
Required: No
status
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
GroupSummary
Service: QBusiness
Contents
groupName
Type: String
Pattern: ^\P{C}*$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
HookConfiguration
Service: QBusiness
Provides the configuration information for invoking a Lambda function in AWS Lambda to alter
document metadata and content when ingesting documents into Amazon Q Business.
If you want to apply advanced alterations on the Amazon Q Business structured documents, you
must configure your Lambda function using PostExtractionHookConfiguration.
You can only invoke one Lambda function. However, this function can invoke other functions it
requires.
Contents
invocationCondition
For example, you can specify a condition that if there are empty date-time values, then Amazon
Q Business should invoke a function that inserts the current date-time.
Required: No
lambdaArn
The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during
ingestion. For more information, see IAM roles for Custom Document Enrichment (CDE).
Type: String
Pattern: ^arn:aws[a-zA-Z-]*:lambda:[a-z-]*-[0-9]:[0-9]{12}:function:[a-zA-
Z0-9-_]+(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?
(:[a-zA-Z0-9-_]+)?$
Required: No
roleArn
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: No
s3BucketName
Stores the original, raw documents or the structured, parsed documents before and after
altering them. For more information, see Data contracts for Lambda functions.
Type: String
Pattern: ^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Index
Service: QBusiness
Contents
createdAt
Type: Timestamp
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: No
indexId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
status
The current status of the index. When the status is ACTIVE, the index is ready.
Type: String
Required: No
updatedAt
Type: Timestamp
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
IndexCapacityConfiguration
Service: QBusiness
Contents
units
Type: Integer
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
IndexStatistics
Service: QBusiness
Contents
textDocumentStatistics
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
InlineDocumentEnrichmentConfiguration
Service: QBusiness
Provides the configuration information for applying basic logic to alter document metadata and
content when ingesting documents into Amazon Q Business.
To apply advanced logic, to go beyond what you can do with basic logic, see
HookConfiguration.
Contents
condition
The condition used for the target document attribute or metadata field when ingesting
documents into Amazon Q Business. You use this with DocumentAttributeTarget to apply
the condition.
For example, you can create the 'Department' target field and have it prefill department names
associated with the documents based on information in the 'Source_URI' field. Set the condition
that if the 'Source_URI' field contains 'financial' in its URI value, then prefill the target field
'Department' with the target value 'Finance' for the document.
Amazon Q Business can't create a target field if it has not already been created as an index
field. After you create your index field, you can create a document metadata field using
DocumentAttributeTarget. Amazon Q Business then will map your newly created metadata
field to your index field.
Required: No
documentContentOperator
TRUE to delete content if the condition used for the target attribute is met.
Type: String
Required: No
target
The target document attribute or metadata field you want to alter when ingesting documents
into Amazon Q Business.
For example, you can delete all customer identification numbers associated with the
documents, stored in the document metadata field called 'Customer_ID' by setting the target
key as 'Customer_ID' and the deletion flag to TRUE. This removes all customer ID values in the
field 'Customer_ID'. This would scrub personally identifiable information from each document's
metadata.
Amazon Q Business can't create a target field if it has not already been created as an index
field. After you create your index field, you can create a document metadata field using
DocumentAttributeTarget. Amazon Q Business will then map your newly created document
attribute to your index field.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
KendraIndexConfiguration
Service: QBusiness
Contents
indexId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
MemberGroup
Service: QBusiness
Contents
groupName
Type: String
Pattern: ^\P{C}*$
Required: Yes
type
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
MemberUser
Service: QBusiness
Contents
userId
Type: String
Pattern: ^\P{C}*$
Required: Yes
type
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Message
Service: QBusiness
Contents
actionExecution
Required: No
actionReview
An output event that Amazon Q Business returns to an user who wants to perform a plugin
action during a non-streaming chat conversation. It contains information about the selected
action with a list of possible user input fields, some pre-populated by Amazon Q Business.
Required: No
attachments
Required: No
body
Type: String
Pattern: ^\P{C}*$}$
Required: No
messageId
Type: String
Required: No
sourceAttribution
The source documents used to generate Amazon Q Business web experience message.
Required: No
time
Type: Timestamp
Required: No
type
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
MessageUsefulnessFeedback
Service: QBusiness
Contents
submittedAt
Type: Timestamp
Required: Yes
usefulness
Type: String
Required: Yes
comment
Type: String
Pattern: ^\P{C}*$
Required: No
reason
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
MetadataEvent
Service: QBusiness
A metadata event for a AI-generated text output message in a Amazon Q Business conversation,
containing associated metadata generated.
Contents
conversationId
The identifier of the conversation with which the generated metadata is associated.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
finalTextMessage
Type: String
Required: No
sourceAttributions
Required: No
systemMessageId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
userMessageId
The identifier of an Amazon Q Business end user text input message within the conversation.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
NativeIndexConfiguration
Service: QBusiness
Contents
indexId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: Yes
boostingOverride
Overrides the default boosts applied by Amazon Q Business to supported document attribute
data types.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
NoAuthConfiguration
Service: QBusiness
Contents
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
NumberAttributeBoostingConfiguration
Service: QBusiness
For more information on how boosting document attributes work in Amazon Q Business, see
Boosting using document attributes.
Contents
boostingLevel
Specifies the duration, in seconds, of a boost applies to a NUMBER type document attribute.
Type: String
Required: Yes
boostingType
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
OAuth2ClientCredentialConfiguration
Service: QBusiness
Information about the OAuth 2.0 authentication credential/token used to configure a plugin.
Contents
roleArn
The ARN of an IAM role used by Amazon Q Business to access the OAuth 2.0 authentication
credentials stored in a Secrets Manager secret.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: Yes
secretArn
The ARN of the Secrets Manager secret that stores the OAuth 2.0 credentials/token used for
plugin configuration.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
PersonalizationConfiguration
Service: QBusiness
Configuration information about chat response personalization. For more information, see
Personalizing chat responses.
Contents
personalizationControlMode
An option to allow Amazon Q Business to customize chat responses using user specific
metadata—specifically, location and job information—in your IAM Identity Center instance.
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Plugin
Service: QBusiness
Contents
buildStatus
Type: String
Required: No
createdAt
Type: Timestamp
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: No
pluginId
Type: String
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Required: No
serverUrl
Type: String
Pattern: ^(https?|ftp|file)://([^\s]*)$
Required: No
state
Type: String
Required: No
type
Type: String
Required: No
updatedAt
Type: Timestamp
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
PluginAuthConfiguration
Service: QBusiness
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
basicAuthConfiguration
Required: No
noAuthConfiguration
Required: No
oAuth2ClientCredentialConfiguration
Information about the OAuth 2.0 authentication credential/token used to configure a plugin.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
PluginConfiguration
Service: QBusiness
For more information, see Admin controls and guardrails, Plugins, and Conversation settings.
Contents
pluginId
Type: String
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Principal
Service: QBusiness
Provides user and group information used for filtering documents to use for generating Amazon Q
Business conversation responses.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
group
Required: No
user
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
PrincipalGroup
Service: QBusiness
Contents
access
Type: String
Required: Yes
membershipType
Type: String
Required: No
name
Type: String
Pattern: ^\P{C}*$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
PrincipalUser
Service: QBusiness
Contents
access
Type: String
Required: Yes
id
Type: String
Pattern: ^\P{C}*$
Required: No
membershipType
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
QAppsConfiguration
Service: QBusiness
Contents
qAppsControlMode
Status information about whether end users can create and use Amazon Q Apps in the web
experience.
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Retriever
Service: QBusiness
Summary information for the retriever used for your Amazon Q Business application.
Contents
applicationId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
displayName
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
Required: No
retrieverId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
status
Type: String
Required: No
type
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
RetrieverConfiguration
Service: QBusiness
Provides information on how the retriever used for your Amazon Q Business application is
configured.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
kendraIndexConfiguration
Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q
Business application is configured.
Required: No
nativeIndexConfiguration
Provides information on how a Amazon Q Business index used as a retriever for your Amazon Q
Business application is configured.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Rule
Service: QBusiness
Guardrail rules for an Amazon Q Business application. Amazon Q Business supports only one rule
at a time.
Contents
ruleType
Type: String
Required: Yes
excludedUsersAndGroups
Required: No
includedUsersAndGroups
Required: No
ruleConfiguration
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
RuleConfiguration
Service: QBusiness
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
contentBlockerRule
A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.
Required: No
contentRetrievalRule
Rules for retrieving content from data sources connected to a Amazon Q Business application
for a specific topic control configuration.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
S3
Service: QBusiness
Information required for Amazon Q Business to find a specific file in an Amazon S3 bucket.
Contents
bucket
Type: String
Pattern: ^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$
Required: Yes
key
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
SamlConfiguration
Service: QBusiness
Provides the SAML 2.0 compliant identity provider (IdP) configuration information Amazon Q
Business needs to deploy a Amazon Q Business web experience.
Contents
metadataXML
Type: String
Pattern: ^.*$
Required: Yes
roleArn
The Amazon Resource Name (ARN) of an IAM role assumed by users when they authenticate
into their Amazon Q Business web experience, containing the relevant Amazon Q Business
permissions for conversing with Amazon Q Business.
Type: String
Pattern: ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-
z0-9-\.]{0,63}:[^/].{0,1023}$
Required: Yes
userIdAttribute
The user attribute name in your IdP that maps to the user email.
Type: String
Required: Yes
userGroupAttribute
The group attribute name in your IdP that maps to user groups.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
SnippetExcerpt
Service: QBusiness
Contains the relevant text excerpt from a source that was used to generate a citation text segment
in an Amazon Q Business chat response.
Contents
text
The relevant text excerpt from a source that was used to generate a citation text segment in an
Amazon Q chat response.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
SourceAttribution
Service: QBusiness
Contents
citationNumber
Type: Integer
Required: No
snippet
The content extract from the document on which the generated response is based.
Type: String
Required: No
textMessageSegments
A text extract from a source document that is used for source attribution.
Required: No
title
The title of the document which is the source for the Amazon Q Business generated response.
Type: String
Required: No
updatedAt
The Unix timestamp when the Amazon Q Business application was last updated.
Type: Timestamp
Required: No
url
The URL of the document which is the source for the Amazon Q Business generated response.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
StringAttributeBoostingConfiguration
Service: QBusiness
Note
For STRING and STRING_LIST type document attributes to be used for
boosting on the console and the API, they must be enabled for search using the
DocumentAttributeConfiguration object of the UpdateIndex API. If you haven't enabled
searching on these attributes, you can't boost attributes of these data types on either the
console or the API.
For more information on how boosting document attributes work in Amazon Q Business, see
Boosting using document attributes.
Contents
boostingLevel
Type: String
Required: Yes
attributeValueBoosting
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
StringListAttributeBoostingConfiguration
Service: QBusiness
Note
For STRING and STRING_LIST type document attributes to be used for
boosting on the console and the API, they must be enabled for search using the
DocumentAttributeConfiguration object of the UpdateIndex API. If you haven't enabled
searching on these attributes, you can't boost attributes of these data types on either the
console or the API.
For more information on how boosting document attributes work in Amazon Q Business, see
Boosting using document attributes.
Contents
boostingLevel
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Tag
Service: QBusiness
A list of key/value pairs that identify an index, FAQ, or data source. Tag keys and values can consist
of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
Contents
key
The key for the tag. Keys are not case sensitive and must be unique for the Amazon Q Business
application or data source.
Type: String
Required: Yes
value
The value associated with the tag. The value may be an empty string but it can't be null.
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
TextDocumentStatistics
Service: QBusiness
Contents
indexedTextBytes
Type: Long
Required: No
indexedTextDocumentCount
Type: Integer
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
TextInputEvent
Service: QBusiness
An input event for a end user message in an Amazon Q Business web experience.
Contents
userMessage
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
TextOutputEvent
Service: QBusiness
Contents
conversationId
The identifier of the conversation with which the text output event is associated.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
systemMessage
Type: String
Required: No
systemMessageId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
userMessageId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
TextSegment
Service: QBusiness
Provides information about a text extract in a chat response that can be attributed to a source
document.
Contents
beginOffset
The zero-based location in the response string where the source attribution starts.
Type: Integer
Required: No
endOffset
The zero-based location in the response string where the source attribution ends.
Type: Integer
Required: No
snippetExcerpt
The relevant text excerpt from a source that was used to generate a citation text segment in an
Amazon Q Business chat response.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
TopicConfiguration
Service: QBusiness
Contents
name
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{0,35}$
Required: Yes
rules
Required: Yes
description
A description for your topic control configuration. Use this to outline how the large language
model (LLM) should use this topic control configuration.
Type: String
Pattern: ^\P{C}*$
Required: No
exampleChatMessages
A list of example phrases that you expect the end user to use in relation to the topic.
Pattern: ^\P{C}*$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UserAlias
Service: QBusiness
Contents
userId
Type: String
Required: Yes
dataSourceId
The identifier of the data source that the user aliases are associated with.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
indexId
The identifier of the index that the user aliases are associated with.
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{35}$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UsersAndGroups
Service: QBusiness
Provides information about users and groups associated with a topic control rule.
Contents
userGroups
Required: No
userIds
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ValidationExceptionField
Service: QBusiness
The input failed to meet the constraints specified by Amazon Q Business in a specified field.
Contents
message
Type: String
Required: Yes
name
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
WebExperience
Service: QBusiness
Contents
createdAt
The Unix timestamp when the Amazon Q Business application was last updated.
Type: Timestamp
Required: No
defaultEndpoint
The endpoint URLs for your Amazon Q Business web experience. The URLs are unique and fully
hosted by AWS.
Type: String
Pattern: ^(https?|ftp|file)://([^\s]*)$
Required: No
status
Type: String
Required: No
updatedAt
The Unix timestamp when your Amazon Q Business web experience was updated.
Type: Timestamp
Required: No
webExperienceId
Type: String
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
WebExperienceAuthConfiguration
Service: QBusiness
Provides the authorization configuration information needed to deploy a Amazon Q Business web
experience to end users.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
samlConfiguration
Provides the SAML 2.0 compliant identity provider (IdP) configuration information Amazon Q
Business needs to deploy a Amazon Q Business web experience.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
QApps
The following data types are supported by QApps:
• AppDefinition
• AppDefinitionInput
• AttributeFilter
• Card
• CardInput
• CardStatus
• CardValue
• Category
• ConversationMessage
• DocumentAttribute
• DocumentAttributeValue
• FileUploadCard
• FileUploadCardInput
• LibraryItemMember
• PredictAppDefinition
• PredictQAppInputOptions
• QPluginCard
• QPluginCardInput
• QQueryCard
• QQueryCardInput
• TextInputCard
• TextInputCardInput
• UserAppItem
AppDefinition
Service: QApps
Contents
appDefinitionVersion
Type: String
Required: Yes
cards
The cards that make up the Q App, such as text input, file upload, or query cards.
Required: Yes
canEdit
A flag indicating whether the Q App's definition can be edited by the user.
Type: Boolean
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AppDefinitionInput
Service: QApps
Contents
cards
Required: Yes
initialPrompt
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
AttributeFilter
Service: QApps
The filter criteria used on responses based on document attributes or metadata fields.
Contents
andAllFilters
Required: No
containsAll
Returns true when a document contains all the specified document attributes or metadata
fields. Supported for the following document attribute value types: stringListValue.
Required: No
containsAny
Returns true when a document contains any of the specified document attributes or metadata
fields. Supported for the following document attribute value types: stringListValue.
Required: No
equalsTo
Performs an equals operation on two document attributes or metadata fields. Supported for
the following document attribute value types: dateValue, longValue, stringListValue
and stringValue.
Required: No
greaterThan
Performs a greater than operation on two document attributes or metadata fields. Supported
for the following document attribute value types: dateValue and longValue.
Required: No
greaterThanOrEquals
Performs a greater than or equals operation on two document attributes or metadata fields.
Supported for the following document attribute value types: dateValue and longValue.
Required: No
lessThan
Performs a less than operation on two document attributes or metadata fields. Supported for
the following document attribute value types: dateValue and longValue.
Required: No
lessThanOrEquals
Required: No
notFilter
Required: No
orAllFilters
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Card
Service: QApps
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
fileUpload
Required: No
qPlugin
Required: No
qQuery
Required: No
textInput
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CardInput
Service: QApps
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
fileUpload
Required: No
qPlugin
Required: No
qQuery
Required: No
textInput
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CardStatus
Service: QApps
The current status and value of a card in an active Amazon Q App session.
Contents
currentState
Type: String
Required: Yes
currentValue
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
CardValue
Service: QApps
Contents
cardId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
value
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Category
Service: QApps
A category used to classify and filter library items for Amazon Q Apps.
Contents
id
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
title
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
ConversationMessage
Service: QApps
Contents
body
Type: String
Required: Yes
type
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentAttribute
Service: QApps
Contents
name
Type: String
Pattern: [a-zA-Z0-9_][a-zA-Z0-9_-]*
Required: Yes
value
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
DocumentAttributeValue
Service: QApps
The value of a document attribute. You can only provide one value for a document attribute.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
dateValue
It's important for the time zone to be included in the ISO 8601 date-time format. For example,
2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at
12:30PM (plus 10 seconds) in Central European Time.
Type: Timestamp
Required: No
longValue
Type: Long
Required: No
stringListValue
A list of strings.
Required: No
stringValue
A string.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
FileUploadCard
Service: QApps
Contents
dependencies
Required: Yes
id
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
title
Type: String
Required: Yes
type
Type: String
Required: Yes
allowOverride
A flag indicating if the user can override the default file for the upload card.
Type: Boolean
Required: No
fileId
Type: String
Required: No
filename
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
FileUploadCardInput
Service: QApps
Represents a file upload card. It can optionally receive a filename and fileId to set a default
file. If not received, the user must provide the file when the Q App runs.
Contents
id
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
title
Type: String
Required: Yes
type
Type: String
Required: Yes
allowOverride
A flag indicating if the user can override the default file for the upload card.
Type: Boolean
Required: No
fileId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: No
filename
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
LibraryItemMember
Service: QApps
A library item is a snapshot of an Amazon Q App that can be published so the users in their
Amazon Q Apps library can discover it, clone it, and run it.
Contents
appId
The unique identifier of the Q App associated with the library item.
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
appVersion
Type: Integer
Required: Yes
categories
Required: Yes
createdAt
Type: Timestamp
Required: Yes
createdBy
Type: String
Required: Yes
libraryItemId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
ratingCount
Type: Integer
Required: Yes
status
Type: String
Required: Yes
isRatedByUser
Type: Boolean
Required: No
updatedAt
The date and time the library item was last updated.
Type: Timestamp
Required: No
updatedBy
Type: String
Required: No
userCount
Type: Integer
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
PredictAppDefinition
Service: QApps
The definition of an Amazon Q App generated based on input such as a conversation or problem
statement.
Contents
appDefinition
The definition specifying the cards and flow of the generated Q App.
Required: Yes
title
Type: String
Required: Yes
description
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
PredictQAppInputOptions
Service: QApps
Contents
Important
This data type is a UNION, so only one of the following members can be specified when
used or returned.
conversation
Required: No
problemStatement
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
QPluginCard
Service: QApps
Contents
dependencies
Required: Yes
id
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
pluginId
Type: String
Required: Yes
pluginType
Type: String
Required: Yes
prompt
Type: String
Required: Yes
title
Type: String
Required: Yes
type
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
QPluginCardInput
Service: QApps
Contents
id
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
pluginId
Type: String
Required: Yes
prompt
Type: String
Required: Yes
title
Type: String
Required: Yes
type
Type: String
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
QQueryCard
Service: QApps
A card in a Amazon Q App that generates a response based on the Amazon Q Business service.
Contents
dependencies
Required: Yes
id
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
outputSource
Type: String
Required: Yes
prompt
Type: String
Required: Yes
title
Type: String
Required: Yes
type
Type: String
Required: Yes
attributeFilter
The Amazon Q Business filters applied in this query card when resolving data sources
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
QQueryCardInput
Service: QApps
Contents
id
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
prompt
Type: String
Required: Yes
title
Type: String
Required: Yes
type
Type: String
Required: Yes
attributeFilter
Required: No
outputSource
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
TextInputCard
Service: QApps
Contents
dependencies
Required: Yes
id
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
title
Type: String
Required: Yes
type
Type: String
Required: Yes
defaultValue
Type: String
Required: No
placeholder
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
TextInputCardInput
Service: QApps
The input shape for defining a text input card in an Amazon Q App.
Contents
id
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
title
Type: String
Required: Yes
type
Type: String
Required: Yes
defaultValue
Type: String
Required: No
placeholder
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
UserAppItem
Service: QApps
An Amazon Q App associated with a user, either owned by the user or favorited.
Contents
appArn
Type: String
Required: Yes
appId
Type: String
Pattern: [\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ABab][\da-f]{3}-[\da-f]{12}
Required: Yes
createdAt
The date and time the user's association with the Q App was created.
Type: Timestamp
Required: Yes
title
Type: String
Required: Yes
canEdit
Type: Boolean
Required: No
description
Type: String
Required: No
status
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the
following:
Common Parameters
The following list contains the parameters that all actions use for signing Signature Version 4
requests with a query string. Any action-specific parameters are listed in the topic for that action.
For more information about Signature Version 4, see Signing AWS API requests in the IAM User
Guide.
Action
Type: string
Required: Yes
Version
The API version that the request is written for, expressed in the format YYYY-MM-DD.
Type: string
Required: Yes
X-Amz-Algorithm
The hash algorithm that you used to create the request signature.
Condition: Specify this parameter when you include authentication information in a query
string instead of in the HTTP authorization header.
Type: string
Required: Conditional
X-Amz-Credential
The credential scope value, which is a string that includes your access key, the date, the region
you are targeting, the service you are requesting, and a termination string ("aws4_request").
The value is expressed in the following format: access_key/YYYYMMDD/region/service/
aws4_request.
For more information, see Create a signed AWS API request in the IAM User Guide.
Condition: Specify this parameter when you include authentication information in a query
string instead of in the HTTP authorization header.
Type: string
Required: Conditional
X-Amz-Date
The date that is used to create the signature. The format must be ISO 8601 basic format
(YYYYMMDD'T'HHMMSS'Z'). For example, the following date time is a valid X-Amz-Date value:
20120325T120000Z.
Condition: X-Amz-Date is optional for all requests; it can be used to override the date used for
signing requests. If the Date header is specified in the ISO 8601 basic format, X-Amz-Date is not
required. When X-Amz-Date is used, it always overrides the value of the Date header. For more
information, see Elements of an AWS API request signature in the IAM User Guide.
Type: string
Required: Conditional
X-Amz-Security-Token
The temporary security token that was obtained through a call to AWS Security Token Service
(AWS STS). For a list of services that support temporary security credentials from AWS STS, see
AWS services that work with IAM in the IAM User Guide.
Condition: If you're using temporary security credentials from AWS STS, you must include the
security token.
Type: string
Required: Conditional
X-Amz-Signature
Specifies the hex-encoded signature that was calculated from the string to sign and the derived
signing key.
Condition: Specify this parameter when you include authentication information in a query
string instead of in the HTTP authorization header.
Type: string
Required: Conditional
X-Amz-SignedHeaders
Specifies all the HTTP headers that were included as part of the canonical request. For more
information about specifying signed headers, see Create a signed AWS API request in the IAM
User Guide.
Condition: Specify this parameter when you include authentication information in a query
string instead of in the HTTP authorization header.
Type: string
Required: Conditional
Common Errors
This section lists the errors common to the API actions of all AWS services. For errors specific to an
API action for this service, see the topic for that API action.
AccessDeniedException
The request processing has failed because of an unknown error, exception or failure.
Problems with the request at the HTTP level, e.g. we can't decompress the body according to
the decompression algorithm specified by the content-encoding.
Convenient exception that can be used when a request is aborted before a reply is sent back
(e.g. client closed connection).
Problems with the request at the HTTP level. The request entity is too large.
The request reached the service more than 15 minutes after the date stamp on the request or
more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the
date stamp on the request is more than 15 minutes in the future.
Problems with the request at the HTTP level. Reading the Request timed out.
The X.509 certificate or AWS access key ID provided does not exist in our records.
UnknownOperationException
The action or operation requested is invalid. Verify that the action is typed correctly.