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

Description

 
Synopsis

Documentation

data StreamSessionSummary Source #

Summary information about a stream session.

See: newStreamSessionSummary smart constructor.

Constructors

StreamSessionSummary' 

Fields

  • endTime :: Maybe ISO8601

    Time when the channel went offline. This is an ISO 8601 timestamp; /note that this is returned as a string/. For live streams, this is NULL.

  • hasErrorEvent :: Maybe Bool

    If true, this stream encountered a quota breach or failure.

  • startTime :: Maybe ISO8601

    Time when the channel went live. This is an ISO 8601 timestamp; /note that this is returned as a string/.

  • streamId :: Maybe Text

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

Instances

Instances details
FromJSON StreamSessionSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSessionSummary

Generic StreamSessionSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSessionSummary

Associated Types

type Rep StreamSessionSummary :: Type -> Type #

Read StreamSessionSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSessionSummary

Show StreamSessionSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSessionSummary

NFData StreamSessionSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSessionSummary

Methods

rnf :: StreamSessionSummary -> () #

Eq StreamSessionSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSessionSummary

Hashable StreamSessionSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSessionSummary

type Rep StreamSessionSummary Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamSessionSummary

type Rep StreamSessionSummary = D1 ('MetaData "StreamSessionSummary" "Amazonka.IVS.Types.StreamSessionSummary" "amazonka-ivs-2.0-1XuGgGDxNXQ7UL2Yr5LhmE" 'False) (C1 ('MetaCons "StreamSessionSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "hasErrorEvent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "streamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newStreamSessionSummary :: StreamSessionSummary Source #

Create a value of StreamSessionSummary 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:endTime:StreamSessionSummary', streamSessionSummary_endTime - Time when the channel went offline. This is an ISO 8601 timestamp; /note that this is returned as a string/. For live streams, this is NULL.

$sel:hasErrorEvent:StreamSessionSummary', streamSessionSummary_hasErrorEvent - If true, this stream encountered a quota breach or failure.

$sel:startTime:StreamSessionSummary', streamSessionSummary_startTime - Time when the channel went live. This is an ISO 8601 timestamp; /note that this is returned as a string/.

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

streamSessionSummary_endTime :: Lens' StreamSessionSummary (Maybe UTCTime) Source #

Time when the channel went offline. This is an ISO 8601 timestamp; /note that this is returned as a string/. For live streams, this is NULL.

streamSessionSummary_hasErrorEvent :: Lens' StreamSessionSummary (Maybe Bool) Source #

If true, this stream encountered a quota breach or failure.

streamSessionSummary_startTime :: Lens' StreamSessionSummary (Maybe UTCTime) Source #

Time when the channel went live. This is an ISO 8601 timestamp; /note that this is returned as a string/.

streamSessionSummary_streamId :: Lens' StreamSessionSummary (Maybe Text) Source #

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