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:
    ///   - [`id(impl Into<String>)`](crate::operation::get_session::builders::GetSessionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_session::builders::GetSessionFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the session.</p><br>
    ///   - [`request_origin(impl Into<String>)`](crate::operation::get_session::builders::GetSessionFluentBuilder::request_origin) / [`set_request_origin(Option<String>)`](crate::operation::get_session::builders::GetSessionFluentBuilder::set_request_origin):<br>required: **false**<br><p>The origin of the request.</p><br>
    /// - On success, responds with [`GetSessionOutput`](crate::operation::get_session::GetSessionOutput) with field(s):
    ///   - [`session(Option<Session>)`](crate::operation::get_session::GetSessionOutput::session): <p>The session object is returned in the response.</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())
    }
}