libZSservicesZSamazonka-ioteventsZSamazonka-iotevents
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.IoTEvents.Types.TransitionEvent

Description

 
Synopsis

Documentation

data TransitionEvent Source #

Specifies the actions performed and the next state entered when a condition evaluates to TRUE.

See: newTransitionEvent smart constructor.

Constructors

TransitionEvent' 

Fields

Instances

Instances details
Eq TransitionEvent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.TransitionEvent

Read TransitionEvent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.TransitionEvent

Show TransitionEvent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.TransitionEvent

Generic TransitionEvent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.TransitionEvent

Associated Types

type Rep TransitionEvent :: Type -> Type #

NFData TransitionEvent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.TransitionEvent

Methods

rnf :: TransitionEvent -> () #

Hashable TransitionEvent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.TransitionEvent

ToJSON TransitionEvent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.TransitionEvent

FromJSON TransitionEvent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.TransitionEvent

type Rep TransitionEvent Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.TransitionEvent

type Rep TransitionEvent = D1 ('MetaData "TransitionEvent" "Amazonka.IoTEvents.Types.TransitionEvent" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "TransitionEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Action])) :*: S1 ('MetaSel ('Just "eventName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "nextState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newTransitionEvent Source #

Create a value of TransitionEvent 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:actions:TransitionEvent', transitionEvent_actions - The actions to be performed.

$sel:eventName:TransitionEvent', transitionEvent_eventName - The name of the transition event.

$sel:condition:TransitionEvent', transitionEvent_condition - Required. A Boolean expression that when TRUE causes the actions to be performed and the nextState to be entered.

$sel:nextState:TransitionEvent', transitionEvent_nextState - The next state to enter.

transitionEvent_actions :: Lens' TransitionEvent (Maybe [Action]) Source #

The actions to be performed.

transitionEvent_eventName :: Lens' TransitionEvent Text Source #

The name of the transition event.

transitionEvent_condition :: Lens' TransitionEvent Text Source #

Required. A Boolean expression that when TRUE causes the actions to be performed and the nextState to be entered.