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 StreamSummary = StreamSummary' {}
- newStreamSummary :: StreamSummary
- streamSummary_state :: Lens' StreamSummary (Maybe StreamState)
- streamSummary_startTime :: Lens' StreamSummary (Maybe UTCTime)
- streamSummary_channelArn :: Lens' StreamSummary (Maybe Text)
- streamSummary_viewerCount :: Lens' StreamSummary (Maybe Integer)
- streamSummary_health :: Lens' StreamSummary (Maybe StreamHealth)
Documentation
data StreamSummary Source #
Summary information about a stream.
See: newStreamSummary
smart constructor.
StreamSummary' | |
|
Instances
newStreamSummary :: StreamSummary Source #
Create a value of StreamSummary
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:state:StreamSummary'
, streamSummary_state
- The stream’s state.
$sel:startTime:StreamSummary'
, streamSummary_startTime
- Time of the stream’s start. This is an ISO 8601 timestamp returned as a
string.
$sel:channelArn:StreamSummary'
, streamSummary_channelArn
- Channel ARN for the stream.
$sel:viewerCount:StreamSummary'
, streamSummary_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:StreamSummary'
, streamSummary_health
- The stream’s health.
streamSummary_state :: Lens' StreamSummary (Maybe StreamState) Source #
The stream’s state.
streamSummary_startTime :: Lens' StreamSummary (Maybe UTCTime) Source #
Time of the stream’s start. This is an ISO 8601 timestamp returned as a string.
streamSummary_channelArn :: Lens' StreamSummary (Maybe Text) Source #
Channel ARN for the stream.
streamSummary_viewerCount :: Lens' StreamSummary (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.
streamSummary_health :: Lens' StreamSummary (Maybe StreamHealth) Source #
The stream’s health.