1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSession`](crate::operation::get_session::builders::GetSessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`assistant_id(impl Into<String>)`](crate::operation::get_session::builders::GetSessionFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::get_session::builders::GetSessionFluentBuilder::set_assistant_id):<br>required: **true**<br><p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
    ///   - [`session_id(impl Into<String>)`](crate::operation::get_session::builders::GetSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::get_session::builders::GetSessionFluentBuilder::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>
    /// - On success, responds with [`GetSessionOutput`](crate::operation::get_session::GetSessionOutput) with field(s):
    ///   - [`session(Option<SessionData>)`](crate::operation::get_session::GetSessionOutput::session): <p>The session.</p>
    /// - On failure, responds with [`SdkError<GetSessionError>`](crate::operation::get_session::GetSessionError)
    pub fn get_session(&self) -> crate::operation::get_session::builders::GetSessionFluentBuilder {
        crate::operation::get_session::builders::GetSessionFluentBuilder::new(self.handle.clone())
    }
}