aws_sdk_qbusiness/client/update_chat_response_configuration.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateChatResponseConfiguration`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_id(impl Into<String>)`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application containing the chat response configuration to update.</p><br>
7 /// - [`chat_response_configuration_id(impl Into<String>)`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::chat_response_configuration_id) / [`set_chat_response_configuration_id(Option<String>)`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::set_chat_response_configuration_id):<br>required: **true**<br><p>The unique identifier of the chat response configuration to update within the specified application.</p><br>
8 /// - [`display_name(impl Into<String>)`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::set_display_name):<br>required: **false**<br><p>The new human-readable name to assign to the chat response configuration, making it easier to identify among multiple configurations.</p><br>
9 /// - [`response_configurations(ResponseConfigurationType, ResponseConfiguration)`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::response_configurations) / [`set_response_configurations(Option<HashMap::<ResponseConfigurationType, ResponseConfiguration>>)`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::set_response_configurations):<br>required: **true**<br><p>The updated collection of response configuration settings that define how Amazon Q Business generates and formats responses to user queries.</p><br>
10 /// - [`client_token(impl Into<String>)`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::set_client_token):<br>required: **false**<br><p>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.</p><br>
11 /// - On success, responds with [`UpdateChatResponseConfigurationOutput`](crate::operation::update_chat_response_configuration::UpdateChatResponseConfigurationOutput)
12 /// - On failure, responds with [`SdkError<UpdateChatResponseConfigurationError>`](crate::operation::update_chat_response_configuration::UpdateChatResponseConfigurationError)
13 pub fn update_chat_response_configuration(
14 &self,
15 ) -> crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder {
16 crate::operation::update_chat_response_configuration::builders::UpdateChatResponseConfigurationFluentBuilder::new(self.handle.clone())
17 }
18}