aws_sdk_qconnect/client/
update_session_data.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSessionData`](crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdateSessionDataOutput`](crate::operation::update_session_data::UpdateSessionDataOutput) with field(s):
    ///   - [`session_arn(String)`](crate::operation::update_session_data::UpdateSessionDataOutput::session_arn): <p>The Amazon Resource Name (ARN) of the session.</p>
    ///   - [`session_id(String)`](crate::operation::update_session_data::UpdateSessionDataOutput::session_id): <p>The identifier of the session.</p>
    ///   - [`namespace(SessionDataNamespace)`](crate::operation::update_session_data::UpdateSessionDataOutput::namespace): <p>The namespace into which the session data is stored. Supported namespaces are: Custom</p>
    ///   - [`data(Vec::<RuntimeSessionData>)`](crate::operation::update_session_data::UpdateSessionDataOutput::data): <p>Data stored in the session.</p>
    /// - On failure, responds with [`SdkError<UpdateSessionDataError>`](crate::operation::update_session_data::UpdateSessionDataError)
    pub fn update_session_data(&self) -> crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder {
        crate::operation::update_session_data::builders::UpdateSessionDataFluentBuilder::new(self.handle.clone())
    }
}