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

Description

 
Synopsis

Documentation

data StreamEvent Source #

Object specifying a stream’s events. For a list of events, see Using Amazon EventBridge with Amazon IVS.

See: newStreamEvent smart constructor.

Constructors

StreamEvent' 

Fields

  • eventTime :: Maybe ISO8601

    Time when the event occurred. This is an ISO 8601 timestamp; /note that this is returned as a string/.

  • name :: Maybe Text

    Name that identifies the stream event within a type.

  • type' :: Maybe Text

    Logical group for certain events.

Instances

Instances details
FromJSON StreamEvent Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamEvent

Generic StreamEvent Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamEvent

Associated Types

type Rep StreamEvent :: Type -> Type #

Read StreamEvent Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamEvent

Show StreamEvent Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamEvent

NFData StreamEvent Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamEvent

Methods

rnf :: StreamEvent -> () #

Eq StreamEvent Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamEvent

Hashable StreamEvent Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamEvent

type Rep StreamEvent Source # 
Instance details

Defined in Amazonka.IVS.Types.StreamEvent

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

newStreamEvent :: StreamEvent Source #

Create a value of StreamEvent 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:eventTime:StreamEvent', streamEvent_eventTime - Time when the event occurred. This is an ISO 8601 timestamp; /note that this is returned as a string/.

$sel:name:StreamEvent', streamEvent_name - Name that identifies the stream event within a type.

$sel:type':StreamEvent', streamEvent_type - Logical group for certain events.

streamEvent_eventTime :: Lens' StreamEvent (Maybe UTCTime) Source #

Time when the event occurred. This is an ISO 8601 timestamp; /note that this is returned as a string/.

streamEvent_name :: Lens' StreamEvent (Maybe Text) Source #

Name that identifies the stream event within a type.

streamEvent_type :: Lens' StreamEvent (Maybe Text) Source #

Logical group for certain events.