aws_sdk_qconnect/client/update_session_data.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 [`UpdateSessionData`](crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`assistant_id(impl Into<String>)`](crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder::set_assistant_id):<br>required: **true**<br><p>The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
7 /// - [`session_id(impl Into<String>)`](crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder::set_session_id):<br>required: **true**<br><p>The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
8 /// - [`namespace(SessionDataNamespace)`](crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder::namespace) / [`set_namespace(Option<SessionDataNamespace>)`](crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder::set_namespace):<br>required: **false**<br><p>The namespace into which the session data is stored. Supported namespaces are: Custom</p><br>
9 /// - [`data(RuntimeSessionData)`](crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder::data) / [`set_data(Option<Vec::<RuntimeSessionData>>)`](crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder::set_data):<br>required: **true**<br><p>The data stored on the Amazon Q in Connect Session.</p><br>
10 /// - On success, responds with [`UpdateSessionDataOutput`](crate::operation::update_session_data::UpdateSessionDataOutput) with field(s):
11 /// - [`session_arn(String)`](crate::operation::update_session_data::UpdateSessionDataOutput::session_arn): <p>The Amazon Resource Name (ARN) of the session.</p>
12 /// - [`session_id(String)`](crate::operation::update_session_data::UpdateSessionDataOutput::session_id): <p>The identifier of the session.</p>
13 /// - [`namespace(SessionDataNamespace)`](crate::operation::update_session_data::UpdateSessionDataOutput::namespace): <p>The namespace into which the session data is stored. Supported namespaces are: Custom</p>
14 /// - [`data(Vec::<RuntimeSessionData>)`](crate::operation::update_session_data::UpdateSessionDataOutput::data): <p>Data stored in the session.</p>
15 /// - On failure, responds with [`SdkError<UpdateSessionDataError>`](crate::operation::update_session_data::UpdateSessionDataError)
16 pub fn update_session_data(&self) -> crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder {
17 crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder::new(self.handle.clone())
18 }
19}