aws-sdk-ivs 1.86.0

AWS SDK for Amazon Interactive Video Service
Documentation
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 [`GetStreamSession`](crate::operation::get_stream_session::builders::GetStreamSessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`channel_arn(impl Into<String>)`](crate::operation::get_stream_session::builders::GetStreamSessionFluentBuilder::channel_arn) / [`set_channel_arn(Option<String>)`](crate::operation::get_stream_session::builders::GetStreamSessionFluentBuilder::set_channel_arn):<br>required: **true**<br><p>ARN of the channel resource</p><br>
    ///   - [`stream_id(impl Into<String>)`](crate::operation::get_stream_session::builders::GetStreamSessionFluentBuilder::stream_id) / [`set_stream_id(Option<String>)`](crate::operation::get_stream_session::builders::GetStreamSessionFluentBuilder::set_stream_id):<br>required: **false**<br><p>Unique identifier for a live or previously live stream in the specified channel. If no <code>streamId</code> is provided, this returns the most recent stream session for the channel, if it exists.</p><br>
    /// - On success, responds with [`GetStreamSessionOutput`](crate::operation::get_stream_session::GetStreamSessionOutput) with field(s):
    ///   - [`stream_session(Option<StreamSession>)`](crate::operation::get_stream_session::GetStreamSessionOutput::stream_session): <p>List of stream details.</p>
    /// - On failure, responds with [`SdkError<GetStreamSessionError>`](crate::operation::get_stream_session::GetStreamSessionError)
    pub fn get_stream_session(&self) -> crate::operation::get_stream_session::builders::GetStreamSessionFluentBuilder {
        crate::operation::get_stream_session::builders::GetStreamSessionFluentBuilder::new(self.handle.clone())
    }
}