aws_sdk_qbusiness/client/create_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 [`CreateChatResponseConfiguration`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_id(impl Into<String>)`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application for which to create the new chat response configuration.</p><br>
7 /// - [`display_name(impl Into<String>)`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::set_display_name):<br>required: **true**<br><p>A human-readable name for the new chat response configuration, making it easier to identify and manage among multiple configurations.</p><br>
8 /// - [`client_token(impl Into<String>)`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::set_client_token):<br>required: **false**<br><p>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.</p><br>
9 /// - [`response_configurations(ResponseConfigurationType, ResponseConfiguration)`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::response_configurations) / [`set_response_configurations(Option<HashMap::<ResponseConfigurationType, ResponseConfiguration>>)`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::set_response_configurations):<br>required: **true**<br><p>A collection of response configuration settings that define how Amazon Q Business will generate and format responses to user queries in chat interactions.</p><br>
10 /// - [`tags(Tag)`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::set_tags):<br>required: **false**<br><p>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.</p><br>
11 /// - On success, responds with [`CreateChatResponseConfigurationOutput`](crate::operation::create_chat_response_configuration::CreateChatResponseConfigurationOutput) with field(s):
12 /// - [`chat_response_configuration_id(String)`](crate::operation::create_chat_response_configuration::CreateChatResponseConfigurationOutput::chat_response_configuration_id): <p>The unique identifier assigned to a newly created chat response configuration, used for subsequent operations on this resource.</p>
13 /// - [`chat_response_configuration_arn(String)`](crate::operation::create_chat_response_configuration::CreateChatResponseConfigurationOutput::chat_response_configuration_arn): <p>The Amazon Resource Name (ARN) of the newly created chat response configuration, which uniquely identifies the resource across all Amazon Web Services services.</p>
14 /// - On failure, responds with [`SdkError<CreateChatResponseConfigurationError>`](crate::operation::create_chat_response_configuration::CreateChatResponseConfigurationError)
15 pub fn create_chat_response_configuration(
16 &self,
17 ) -> crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder {
18 crate::operation::create_chat_response_configuration::builders::CreateChatResponseConfigurationFluentBuilder::new(self.handle.clone())
19 }
20}