Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Stream = Stream' {}
- newStream :: Stream
- stream_playbackUrl :: Lens' Stream (Maybe Text)
- stream_state :: Lens' Stream (Maybe StreamState)
- stream_startTime :: Lens' Stream (Maybe UTCTime)
- stream_channelArn :: Lens' Stream (Maybe Text)
- stream_viewerCount :: Lens' Stream (Maybe Integer)
- stream_health :: Lens' Stream (Maybe StreamHealth)
Documentation
Specifies a live video stream that has been ingested and distributed.
See: newStream
smart constructor.
Stream' | |
|
Instances
Create a value of Stream
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:playbackUrl:Stream'
, stream_playbackUrl
- URL of the master playlist, required by the video player to play the HLS
stream.
$sel:state:Stream'
, stream_state
- The stream’s state.
$sel:startTime:Stream'
, stream_startTime
- Time of the stream’s start. This is an ISO 8601 timestamp returned as a
string.
$sel:channelArn:Stream'
, stream_channelArn
- Channel ARN for the stream.
$sel:viewerCount:Stream'
, stream_viewerCount
- A count of concurrent views of the stream. Typically, a new view appears
in viewerCount
within 15 seconds of when video playback starts and a
view is removed from viewerCount
within 1 minute of when video
playback ends. A value of -1 indicates that the request timed out; in
this case, retry.
$sel:health:Stream'
, stream_health
- The stream’s health.
stream_playbackUrl :: Lens' Stream (Maybe Text) Source #
URL of the master playlist, required by the video player to play the HLS stream.
stream_state :: Lens' Stream (Maybe StreamState) Source #
The stream’s state.
stream_startTime :: Lens' Stream (Maybe UTCTime) Source #
Time of the stream’s start. This is an ISO 8601 timestamp returned as a string.
stream_viewerCount :: Lens' Stream (Maybe Integer) Source #
A count of concurrent views of the stream. Typically, a new view appears
in viewerCount
within 15 seconds of when video playback starts and a
view is removed from viewerCount
within 1 minute of when video
playback ends. A value of -1 indicates that the request timed out; in
this case, retry.
stream_health :: Lens' Stream (Maybe StreamHealth) Source #
The stream’s health.