Struct aws_sdk_ivs::model::StreamSession
source · [−]#[non_exhaustive]pub struct StreamSession {
pub stream_id: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub channel: Option<Channel>,
pub ingest_configuration: Option<IngestConfiguration>,
pub recording_configuration: Option<RecordingConfiguration>,
pub truncated_events: Option<Vec<StreamEvent>>,
}
Expand description
Object that captures the Amazon IVS configuration that the customer provisioned, the ingest configurations that the broadcaster used, and the most recent Amazon IVS stream events it encountered.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.stream_id: Option<String>
Unique identifier for a live or previously live stream in the specified channel.
start_time: Option<DateTime>
UTC ISO-8601 formatted timestamp of when the channel went live.
end_time: Option<DateTime>
UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this is NULL
.
channel: Option<Channel>
The properties of the channel at the time of going live.
ingest_configuration: Option<IngestConfiguration>
The properties of the incoming RTMP stream for the stream.
recording_configuration: Option<RecordingConfiguration>
The properties of recording the live stream.
truncated_events: Option<Vec<StreamEvent>>
List of Amazon IVS events that the stream encountered. The list is sorted by most recent events and contains up to 500 events. For Amazon IVS events, see Using Amazon EventBridge with Amazon IVS.
Implementations
sourceimpl StreamSession
impl StreamSession
sourcepub fn stream_id(&self) -> Option<&str>
pub fn stream_id(&self) -> Option<&str>
Unique identifier for a live or previously live stream in the specified channel.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
UTC ISO-8601 formatted timestamp of when the channel went live.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this is NULL
.
sourcepub fn channel(&self) -> Option<&Channel>
pub fn channel(&self) -> Option<&Channel>
The properties of the channel at the time of going live.
sourcepub fn ingest_configuration(&self) -> Option<&IngestConfiguration>
pub fn ingest_configuration(&self) -> Option<&IngestConfiguration>
The properties of the incoming RTMP stream for the stream.
sourcepub fn recording_configuration(&self) -> Option<&RecordingConfiguration>
pub fn recording_configuration(&self) -> Option<&RecordingConfiguration>
The properties of recording the live stream.
sourcepub fn truncated_events(&self) -> Option<&[StreamEvent]>
pub fn truncated_events(&self) -> Option<&[StreamEvent]>
List of Amazon IVS events that the stream encountered. The list is sorted by most recent events and contains up to 500 events. For Amazon IVS events, see Using Amazon EventBridge with Amazon IVS.
sourceimpl StreamSession
impl StreamSession
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StreamSession
Trait Implementations
sourceimpl Clone for StreamSession
impl Clone for StreamSession
sourcefn clone(&self) -> StreamSession
fn clone(&self) -> StreamSession
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StreamSession
impl Debug for StreamSession
sourceimpl PartialEq<StreamSession> for StreamSession
impl PartialEq<StreamSession> for StreamSession
sourcefn eq(&self, other: &StreamSession) -> bool
fn eq(&self, other: &StreamSession) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StreamSession) -> bool
fn ne(&self, other: &StreamSession) -> bool
This method tests for !=
.
impl StructuralPartialEq for StreamSession
Auto Trait Implementations
impl RefUnwindSafe for StreamSession
impl Send for StreamSession
impl Sync for StreamSession
impl Unpin for StreamSession
impl UnwindSafe for StreamSession
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more