amazonka-ivs-2.0: Amazon Interactive Video Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IVS.Types.StreamSummary

Description

 
Synopsis

Documentation

data StreamSummary Source #

Summary information about a stream.

See: newStreamSummary smart constructor.

Constructors

StreamSummary' 

Fields

  • channelArn :: Maybe Text

    Channel ARN for the stream.

  • health :: Maybe StreamHealth

    The stream’s health.

  • startTime :: Maybe ISO8601

    Time of the stream’s start. This is an ISO 8601 timestamp; /note that this is returned as a string/.

  • state :: Maybe StreamState

    The stream’s state.

  • streamId :: Maybe Text

    Unique identifier for a live or previously live stream in the specified channel.

  • viewerCount :: Maybe Integer

    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.

Instances

Instances details
FromJSON StreamSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSummary

Generic StreamSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSummary

Associated Types

type Rep StreamSummary :: Type -> Type #

Read StreamSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSummary

Show StreamSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSummary

NFData StreamSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSummary

Methods

rnf :: StreamSummary -> () #

Eq StreamSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSummary

Hashable StreamSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSummary

type Rep StreamSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSummary

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:channelArn:StreamSummary', streamSummary_channelArn - Channel ARN for the stream.

$sel:health:StreamSummary', streamSummary_health - The stream’s health.

$sel:startTime:StreamSummary', streamSummary_startTime - Time of the stream’s start. This is an ISO 8601 timestamp; /note that this is returned as a string/.

$sel:state:StreamSummary', streamSummary_state - The stream’s state.

$sel:streamId:StreamSummary', streamSummary_streamId - Unique identifier for a live or previously live stream in the specified channel.

$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.

streamSummary_startTime :: Lens' StreamSummary (Maybe UTCTime) Source #

Time of the stream’s start. This is an ISO 8601 timestamp; /note that this is returned as a string/.

streamSummary_streamId :: Lens' StreamSummary (Maybe Text) Source #

Unique identifier for a live or previously live stream in the specified channel.

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.