update_chat_response_configuration
async
¶
update_chat_response_configuration(
application_id: ApplicationId,
chat_response_configuration_id: ChatResponseConfigurationId,
response_configurations: ResponseConfigurations,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = 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/async_q_business.py
3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 | |