aws_sdk_nimble/client/
get_streaming_session.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 [`GetStreamingSession`](crate::operation::get_streaming_session::builders::GetStreamingSessionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`session_id(impl Into<String>)`](crate::operation::get_streaming_session::builders::GetStreamingSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::get_streaming_session::builders::GetStreamingSessionFluentBuilder::set_session_id):<br>required: **true**<br><p>The streaming session ID.</p><br>
7    ///   - [`studio_id(impl Into<String>)`](crate::operation::get_streaming_session::builders::GetStreamingSessionFluentBuilder::studio_id) / [`set_studio_id(Option<String>)`](crate::operation::get_streaming_session::builders::GetStreamingSessionFluentBuilder::set_studio_id):<br>required: **true**<br><p>The studio ID.</p><br>
8    /// - On success, responds with [`GetStreamingSessionOutput`](crate::operation::get_streaming_session::GetStreamingSessionOutput) with field(s):
9    ///   - [`session(Option<StreamingSession>)`](crate::operation::get_streaming_session::GetStreamingSessionOutput::session): <p>The session.</p>
10    /// - On failure, responds with [`SdkError<GetStreamingSessionError>`](crate::operation::get_streaming_session::GetStreamingSessionError)
11    pub fn get_streaming_session(&self) -> crate::operation::get_streaming_session::builders::GetStreamingSessionFluentBuilder {
12        crate::operation::get_streaming_session::builders::GetStreamingSessionFluentBuilder::new(self.handle.clone())
13    }
14}