libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph
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.IoTThingsGraph.Types.FlowExecutionMessage

Description

 
Synopsis

Documentation

data FlowExecutionMessage Source #

An object that contains information about a flow event.

See: newFlowExecutionMessage smart constructor.

Constructors

FlowExecutionMessage' 

Fields

Instances

Instances details
Eq FlowExecutionMessage Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.FlowExecutionMessage

Read FlowExecutionMessage Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.FlowExecutionMessage

Show FlowExecutionMessage Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.FlowExecutionMessage

Generic FlowExecutionMessage Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.FlowExecutionMessage

Associated Types

type Rep FlowExecutionMessage :: Type -> Type #

NFData FlowExecutionMessage Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.FlowExecutionMessage

Methods

rnf :: FlowExecutionMessage -> () #

Hashable FlowExecutionMessage Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.FlowExecutionMessage

FromJSON FlowExecutionMessage Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.FlowExecutionMessage

type Rep FlowExecutionMessage Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.FlowExecutionMessage

type Rep FlowExecutionMessage = D1 ('MetaData "FlowExecutionMessage" "Amazonka.IoTThingsGraph.Types.FlowExecutionMessage" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "FlowExecutionMessage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FlowExecutionEventType))) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newFlowExecutionMessage :: FlowExecutionMessage Source #

Create a value of FlowExecutionMessage 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:payload:FlowExecutionMessage', flowExecutionMessage_payload - A string containing information about the flow event.

$sel:eventType:FlowExecutionMessage', flowExecutionMessage_eventType - The type of flow event .

$sel:timestamp:FlowExecutionMessage', flowExecutionMessage_timestamp - The date and time when the message was last updated.

$sel:messageId:FlowExecutionMessage', flowExecutionMessage_messageId - The unique identifier of the message.

flowExecutionMessage_payload :: Lens' FlowExecutionMessage (Maybe Text) Source #

A string containing information about the flow event.

flowExecutionMessage_timestamp :: Lens' FlowExecutionMessage (Maybe UTCTime) Source #

The date and time when the message was last updated.

flowExecutionMessage_messageId :: Lens' FlowExecutionMessage (Maybe Text) Source #

The unique identifier of the message.