// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateSession`](crate::operation::update_session::builders::UpdateSessionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`session_metadata(impl Into<String>, impl Into<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::session_metadata) / [`set_session_metadata(Option<HashMap::<String, String>>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::set_session_metadata):<br>required: **false**<br><p>A map of key-value pairs containing attributes to be persisted across the session. For example the user's ID, their language preference, and the type of device they are using.</p><br>
/// - [`session_identifier(impl Into<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::session_identifier) / [`set_session_identifier(Option<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::set_session_identifier):<br>required: **true**<br><p>The unique identifier of the session to modify. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p><br>
/// - On success, responds with [`UpdateSessionOutput`](crate::operation::update_session::UpdateSessionOutput) with field(s):
/// - [`session_id(String)`](crate::operation::update_session::UpdateSessionOutput::session_id): <p>The unique identifier of the session you updated.</p>
/// - [`session_arn(String)`](crate::operation::update_session::UpdateSessionOutput::session_arn): <p>The Amazon Resource Name (ARN) of the session that was updated.</p>
/// - [`session_status(SessionStatus)`](crate::operation::update_session::UpdateSessionOutput::session_status): <p>The status of the session you updated.</p>
/// - [`created_at(DateTime)`](crate::operation::update_session::UpdateSessionOutput::created_at): <p>The timestamp for when the session was created.</p>
/// - [`last_updated_at(DateTime)`](crate::operation::update_session::UpdateSessionOutput::last_updated_at): <p>The timestamp for when the session was last modified.</p>
/// - On failure, responds with [`SdkError<UpdateSessionError>`](crate::operation::update_session::UpdateSessionError)
pub fn update_session(&self) -> crate::operation::update_session::builders::UpdateSessionFluentBuilder {
crate::operation::update_session::builders::UpdateSessionFluentBuilder::new(self.handle.clone())
}
}