Package-level declarations

Types

Link copied to clipboard

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.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Inherited functions

Link copied to clipboard

Adds or updates a permission policy for a Amazon Q Business application, allowing cross-account access for an ISV. This operation creates a new policy statement for the specified Amazon Q Business application. The policy statement defines the IAM actions that the ISV is allowed to perform on the Amazon Q Business application's resources.

Link copied to clipboard

Asynchronously deletes one or more documents added using the BatchPutDocument API from an Amazon Q Business index.

Link copied to clipboard

Adds one or more documents to an Amazon Q Business index.

Link copied to clipboard

Unsubscribes a user or a group from their pricing tier in an Amazon Q Business application. An unsubscribed user or group loses all Amazon Q Business feature access at the start of next month.

Link copied to clipboard
inline suspend fun QBusinessClient.chatSync(crossinline block: ChatSyncRequest.Builder.() -> Unit): ChatSyncResponse

Starts or continues a non-streaming Amazon Q Business conversation.

Link copied to clipboard

Verifies if a user has access permissions for a specified document and returns the actual ACL attached to the document. Resolves user access on the document via user aliases and groups when verifying user access.

Link copied to clipboard

Creates a unique URL for anonymous Amazon Q Business web experience. This URL can only be used once and must be used within 5 minutes after it's generated.

Link copied to clipboard

Creates an Amazon Q Business application.

Link copied to clipboard

Creates a new chat response configuration for an Amazon Q Business application. This operation establishes a set of parameters that define how the system generates and formats responses to user queries in chat interactions.

Link copied to clipboard

Creates a new data accessor for an ISV to access data from a Amazon Q Business application. The data accessor is an entity that represents the ISV's access to the Amazon Q Business application's data. It includes the IAM role ARN for the ISV, a friendly name, and a set of action configurations that define the specific actions the ISV is allowed to perform and any associated data filters. When the data accessor is created, an IAM Identity Center application is also created to manage the ISV's identity and authentication for accessing the Amazon Q Business application.

Link copied to clipboard

Creates a data source connector for an Amazon Q Business application.

Link copied to clipboard
inline suspend fun QBusinessClient.createIndex(crossinline block: CreateIndexRequest.Builder.() -> Unit): CreateIndexResponse

Creates an Amazon Q Business index.

Link copied to clipboard

Creates an Amazon Q Business plugin.

Link copied to clipboard

Adds a retriever to your Amazon Q Business application.

Link copied to clipboard

Subscribes an IAM Identity Center user or a group to a pricing tier for an Amazon Q Business application.

Link copied to clipboard
inline suspend fun QBusinessClient.createUser(crossinline block: CreateUserRequest.Builder.() -> Unit): CreateUserResponse

Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.

Link copied to clipboard

Creates an Amazon Q Business web experience.

Link copied to clipboard

Deletes an Amazon Q Business application.

Link copied to clipboard

Deletes an attachment associated with a specific Amazon Q Business conversation.

Link copied to clipboard

Deletes chat controls configured for an existing Amazon Q Business application.

Link copied to clipboard

Deletes a specified chat response configuration from an Amazon Q Business application.

Link copied to clipboard

Deletes an Amazon Q Business web experience conversation.

Link copied to clipboard

Deletes a specified data accessor. This operation permanently removes the data accessor and its associated IAM Identity Center application. Any access granted to the ISV through this data accessor will be revoked.

Link copied to clipboard

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.

Link copied to clipboard
inline suspend fun QBusinessClient.deleteGroup(crossinline block: DeleteGroupRequest.Builder.() -> Unit): DeleteGroupResponse

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.

Link copied to clipboard
inline suspend fun QBusinessClient.deleteIndex(crossinline block: DeleteIndexRequest.Builder.() -> Unit): DeleteIndexResponse

Deletes an Amazon Q Business index.

Link copied to clipboard

Deletes an Amazon Q Business plugin.

Link copied to clipboard

Deletes the retriever used by an Amazon Q Business application.

Link copied to clipboard
inline suspend fun QBusinessClient.deleteUser(crossinline block: DeleteUserRequest.Builder.() -> Unit): DeleteUserResponse

Deletes a user by email id.

Link copied to clipboard

Deletes an Amazon Q Business web experience.

Link copied to clipboard

Removes a permission policy from a Amazon Q Business application, revoking the cross-account access that was previously granted to an ISV. This operation deletes the specified policy statement from the application's permission policy.

Link copied to clipboard

Gets information about an existing Amazon Q Business application.

Link copied to clipboard

Gets information about chat controls configured for an existing Amazon Q Business application.

Link copied to clipboard

Retrieves detailed information about a specific chat response configuration from an Amazon Q Business application. This operation returns the complete configuration settings and metadata.

Link copied to clipboard

Retrieves information about a specified data accessor. This operation returns details about the data accessor, including its display name, unique identifier, Amazon Resource Name (ARN), the associated Amazon Q Business application and IAM Identity Center application, the IAM role for the ISV, the action configurations, and the timestamps for when the data accessor was created and last updated.

Link copied to clipboard

Gets information about an existing Amazon Q Business data source connector.

Link copied to clipboard
inline suspend fun QBusinessClient.getGroup(crossinline block: GetGroupRequest.Builder.() -> Unit): GetGroupResponse

Describes a group by group name.

Link copied to clipboard
inline suspend fun QBusinessClient.getIndex(crossinline block: GetIndexRequest.Builder.() -> Unit): GetIndexResponse

Gets information about an existing Amazon Q Business index.

Link copied to clipboard
inline suspend fun QBusinessClient.getMedia(crossinline block: GetMediaRequest.Builder.() -> Unit): GetMediaResponse

Returns the image bytes corresponding to a media object. If you have implemented your own application with the Chat and ChatSync APIs, and have enabled content extraction from visual data in Amazon Q Business, you use the GetMedia API operation to download the images so you can show them in your UI with responses.

Link copied to clipboard
inline suspend fun QBusinessClient.getPlugin(crossinline block: GetPluginRequest.Builder.() -> Unit): GetPluginResponse

Gets information about an existing Amazon Q Business plugin.

Link copied to clipboard
inline suspend fun QBusinessClient.getPolicy(crossinline block: GetPolicyRequest.Builder.() -> Unit): GetPolicyResponse

Retrieves the current permission policy for a Amazon Q Business application. The policy is returned as a JSON-formatted string and defines the IAM actions that are allowed or denied for the application's resources.

Link copied to clipboard

Gets information about an existing retriever used by an Amazon Q Business application.

Link copied to clipboard
inline suspend fun QBusinessClient.getUser(crossinline block: GetUserRequest.Builder.() -> Unit): GetUserResponse

Describes the universally unique identifier (UUID) associated with a local user in a data source.

Link copied to clipboard

Gets information about an existing Amazon Q Business web experience.

Link copied to clipboard

Lists Amazon Q Business applications.

Link copied to clipboard

Gets a list of attachments associated with an Amazon Q Business web experience or a list of attachements associated with a specific Amazon Q Business conversation.

Link copied to clipboard

Retrieves a list of all chat response configurations available in a specified Amazon Q Business application. This operation returns summary information about each configuration to help administrators manage and select appropriate response settings.

Link copied to clipboard

Lists one or more Amazon Q Business conversations.

Link copied to clipboard

Lists the data accessors for a Amazon Q Business application. This operation returns a paginated list of data accessor summaries, including the friendly name, unique identifier, ARN, associated IAM role, and creation/update timestamps for each data accessor.

Link copied to clipboard

Lists the Amazon Q Business data source connectors that you have created.

Link copied to clipboard

Get information about an Amazon Q Business data source connector synchronization.

Link copied to clipboard

A list of documents attached to an index.

Link copied to clipboard
inline suspend fun QBusinessClient.listGroups(crossinline block: ListGroupsRequest.Builder.() -> Unit): ListGroupsResponse

Provides a list of groups that are mapped to users.

Link copied to clipboard
inline suspend fun QBusinessClient.listIndices(crossinline block: ListIndicesRequest.Builder.() -> Unit): ListIndicesResponse

Lists the Amazon Q Business indices you have created.

Link copied to clipboard

Gets a list of messages associated with an Amazon Q Business web experience.

Link copied to clipboard

Lists configured Amazon Q Business actions for a specific plugin in an Amazon Q Business application.

Link copied to clipboard
inline suspend fun QBusinessClient.listPlugins(crossinline block: ListPluginsRequest.Builder.() -> Unit): ListPluginsResponse

Lists configured Amazon Q Business plugins.

Link copied to clipboard

Lists configured Amazon Q Business actions for any plugin type—both built-in and custom.

Link copied to clipboard

Lists metadata for all Amazon Q Business plugin types.

Link copied to clipboard

Lists the retriever used by an Amazon Q Business application.

Link copied to clipboard

Lists all subscriptions created in an Amazon Q Business application.

Link copied to clipboard

Gets a list of tags associated with a specified resource. Amazon Q Business applications and data sources can have tags associated with them.

Link copied to clipboard

Lists one or more Amazon Q Business Web Experiences.

Link copied to clipboard
inline suspend fun QBusinessClient.putFeedback(crossinline block: PutFeedbackRequest.Builder.() -> Unit): PutFeedbackResponse

Enables your end user to provide feedback on their Amazon Q Business generated chat responses.

Link copied to clipboard
inline suspend fun QBusinessClient.putGroup(crossinline block: PutGroupRequest.Builder.() -> Unit): PutGroupResponse

Create, or updates, a mapping of users—who have access to a document—to groups.

Link copied to clipboard

Searches for relevant content in a Amazon Q Business application based on a query. This operation takes a search query text, the Amazon Q Business application identifier, and optional filters (such as content source and maximum results) as input. It returns a list of relevant content items, where each item includes the content text, the unique document identifier, the document title, the document URI, any relevant document attributes, and score attributes indicating the confidence level of the relevance.

Link copied to clipboard

Starts a data source connector synchronization job. If a synchronization job is already in progress, Amazon Q Business returns a ConflictException.

Link copied to clipboard

Stops an Amazon Q Business data source connector synchronization job already in progress.

Link copied to clipboard
inline suspend fun QBusinessClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

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.

Link copied to clipboard

Removes a tag from an Amazon Q Business application or a data source.

Link copied to clipboard

Updates an existing Amazon Q Business application.

Link copied to clipboard

Updates a set of chat controls configured for an existing Amazon Q Business application.

Link copied to clipboard

Updates an existing chat response configuration in an Amazon Q Business application. This operation allows administrators to modify configuration settings, display name, and response parameters to refine how the system generates responses.

Link copied to clipboard

Updates an existing data accessor. This operation allows modifying the action configurations (the allowed actions and associated filters) and the display name of the data accessor. It does not allow changing the IAM role associated with the data accessor or other core properties of the data accessor.

Link copied to clipboard

Updates an existing Amazon Q Business data source connector.

Link copied to clipboard
inline suspend fun QBusinessClient.updateIndex(crossinline block: UpdateIndexRequest.Builder.() -> Unit): UpdateIndexResponse

Updates an Amazon Q Business index.

Link copied to clipboard

Updates an Amazon Q Business plugin.

Link copied to clipboard

Updates the retriever used for your Amazon Q Business application.

Link copied to clipboard

Updates the pricing tier for an Amazon Q Business subscription. Upgrades are instant. Downgrades apply at the start of the next month. Subscription tier determines feature access for the user. For more information on subscriptions and pricing tiers, see Amazon Q Business pricing.

Link copied to clipboard
inline suspend fun QBusinessClient.updateUser(crossinline block: UpdateUserRequest.Builder.() -> Unit): UpdateUserResponse

Updates a information associated with a user id.

Link copied to clipboard

Updates an Amazon Q Business web experience.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.