libZSservicesZSamazonka-ivsZSamazonka-ivs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IVS.Types.Stream

Description

 
Synopsis

Documentation

data Stream Source #

Specifies a live video stream that has been ingested and distributed.

See: newStream smart constructor.

Constructors

Stream' 

Fields

  • playbackUrl :: Maybe Text

    URL of the master playlist, required by the video player to play the HLS stream.

  • state :: Maybe StreamState

    The stream’s state.

  • startTime :: Maybe POSIX

    Time of the stream’s start. This is an ISO 8601 timestamp returned as a string.

  • channelArn :: Maybe Text

    Channel ARN for the stream.

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

  • health :: Maybe StreamHealth

    The stream’s health.

Instances

Instances details
Eq Stream Source # 
Instance details

Defined in Amazonka.IVS.Types.Stream

Methods

(==) :: Stream -> Stream -> Bool #

(/=) :: Stream -> Stream -> Bool #

Read Stream Source # 
Instance details

Defined in Amazonka.IVS.Types.Stream

Show Stream Source # 
Instance details

Defined in Amazonka.IVS.Types.Stream

Generic Stream Source # 
Instance details

Defined in Amazonka.IVS.Types.Stream

Associated Types

type Rep Stream :: Type -> Type #

Methods

from :: Stream -> Rep Stream x #

to :: Rep Stream x -> Stream #

NFData Stream Source # 
Instance details

Defined in Amazonka.IVS.Types.Stream

Methods

rnf :: Stream -> () #

Hashable Stream Source # 
Instance details

Defined in Amazonka.IVS.Types.Stream

Methods

hashWithSalt :: Int -> Stream -> Int #

hash :: Stream -> Int #

FromJSON Stream Source # 
Instance details

Defined in Amazonka.IVS.Types.Stream

type Rep Stream Source # 
Instance details

Defined in Amazonka.IVS.Types.Stream

newStream :: Stream Source #

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_channelArn :: Lens' Stream (Maybe Text) Source #

Channel ARN for the stream.

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.