update_chat_response_configuration
¶
update_chat_response_configuration(
application_id: ApplicationId,
chat_response_configuration_id: ChatResponseConfigurationId,
response_configurations: ResponseConfigurations,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
display_name: Optional[DisplayName] = None,
client_token: Optional[String] = None,
) -> UpdateChatResponseConfigurationResponse
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.
Parameters:
-
application_id(ApplicationId) –The unique identifier of the Amazon Q Business application containing the chat response configuration to update.
-
chat_response_configuration_id(ChatResponseConfigurationId) –The unique identifier of the chat response configuration to update within the specified application.
-
display_name(Optional[DisplayName], default:None) –The new human-readable name to assign to the chat response configuration, making it easier to identify among multiple configurations.
-
response_configurations(ResponseConfigurations) –The updated collection of response configuration settings that define how Amazon Q Business generates and formats responses to user queries.
-
client_token(Optional[String], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request. This helps prevent the same update from being processed multiple times if retries occur.
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.
-
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/q_business.py
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 | |