Skip to main content

chat_response_configurations

Creates, updates, deletes, gets or lists a chat_response_configurations resource.

Overview

Namechat_response_configurations
TypeResource
Idaws.qbusiness.chat_response_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
chat_response_configuration_arnstringThe Amazon Resource Name (ARN) of the retrieved chat response configuration, which uniquely identifies the resource across all Amazon Web Services services. (pattern: <code>arn:[a-z0-9-.]{1,63}:[a-z0-9-.]{0,63}:[a-z0-9-.]{0,63}:[a-z0-9-.]{0,63}:[^/].{0,1023}</code>)
chat_response_configuration_idstringThe unique identifier of the retrieved chat response configuration. (pattern: <code>[a-zA-Z0-9][a-zA-Z0-9-]{35}</code>)
created_atstring (date-time)The timestamp indicating when the chat response configuration was initially created.
display_namestringThe human-readable name of the retrieved chat response configuration, making it easier to identify among multiple configurations.
in_use_configurationobjectThe currently active configuration settings that are being used to generate responses in the Amazon Q Business application.
last_update_configurationobjectInformation about the most recent update to the configuration, including timestamp and modification details.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_chat_response_configurationselectapplication_id, chat_response_configuration_id, regionRetrieves detailed information about a specific chat response configuration from an Amazon Q Business application. This operation returns the complete configuration settings and metadata.
list_chat_response_configurationsselectapplication_id, regionmaxResults, nextTokenRetrieves 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.
create_chat_response_configurationinsertapplication_id, region, displayName, responseConfigurationsCreates 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.
update_chat_response_configurationupdateapplication_id, chat_response_configuration_id, region, responseConfigurationsUpdates 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.
delete_chat_response_configurationdeleteapplication_id, chat_response_configuration_id, regionDeletes a specified chat response configuration from an Amazon Q Business application.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
application_idstringThe unique identifier of theAmazon Q Business application from which to delete the chat response configuration.
chat_response_configuration_idstringThe unique identifier of the chat response configuration to delete from the specified application.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of chat response configurations to return in a single response. This parameter helps control pagination of results when many configurations exist.
nextTokenstringA pagination token used to retrieve the next set of results when the number of configurations exceeds the specified maxResults value.

SELECT examples

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

SELECT
chat_response_configuration_arn,
chat_response_configuration_id,
created_at,
display_name,
in_use_configuration,
last_update_configuration
FROM aws.qbusiness.chat_response_configurations
WHERE application_id = '{{ application_id }}' -- required
AND chat_response_configuration_id = '{{ chat_response_configuration_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

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.

INSERT INTO aws.qbusiness.chat_response_configurations (
displayName,
clientToken,
responseConfigurations,
tags,
application_id,
region
)
SELECT
'{{ displayName }}' /* required */,
'{{ clientToken }}',
'{{ responseConfigurations }}' /* required */,
'{{ tags }}',
'{{ application_id }}',
'{{ region }}'
RETURNING
chat_response_configuration_arn,
chat_response_configuration_id
;

UPDATE examples

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.

UPDATE aws.qbusiness.chat_response_configurations
SET
displayName = '{{ displayName }}',
responseConfigurations = '{{ responseConfigurations }}',
clientToken = '{{ clientToken }}'
WHERE
application_id = '{{ application_id }}' --required
AND chat_response_configuration_id = '{{ chat_response_configuration_id }}' --required
AND region = '{{ region }}' --required
AND responseConfigurations = '{{ responseConfigurations }}' --required;

DELETE examples

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

DELETE FROM aws.qbusiness.chat_response_configurations
WHERE application_id = '{{ application_id }}' --required
AND chat_response_configuration_id = '{{ chat_response_configuration_id }}' --required
AND region = '{{ region }}' --required
;