create_chat_response_configuration
async
¶
create_chat_response_configuration(
application_id: ApplicationId,
display_name: DisplayName,
response_configurations: ResponseConfigurations,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = None,
client_token: Optional[String] = None,
tags: Optional[Tags] = None,
) -> CreateChatResponseConfigurationResponse
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.
Parameters:
-
application_id(ApplicationId) –The unique identifier of the Amazon Q Business application for which to create the new chat response configuration.
-
display_name(DisplayName) –A human-readable name for the new chat response configuration, making it easier to identify and manage among multiple configurations.
-
client_token(Optional[String], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request. This helps prevent the same configuration from being created multiple times if retries occur.
-
response_configurations(ResponseConfigurations) –A collection of response configuration settings that define how Amazon Q Business will generate and format responses to user queries in chat interactions.
-
tags(Optional[Tags], default:None) –A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services.
Raises:
-
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 inconsistencies with your resources and try again.
-
InternalServerException–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 application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
-
ServiceQuotaExceededException–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.
-
ValidationException–The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qbusiness/_services/async_q_business.py
1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 | |