| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTEvents.Types.TransitionEvent
Description
Synopsis
- data TransitionEvent = TransitionEvent' {}
- newTransitionEvent :: Text -> Text -> Text -> TransitionEvent
- transitionEvent_actions :: Lens' TransitionEvent (Maybe [Action])
- transitionEvent_eventName :: Lens' TransitionEvent Text
- transitionEvent_condition :: Lens' TransitionEvent Text
- transitionEvent_nextState :: Lens' TransitionEvent Text
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' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> TransitionEvent |
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.
transitionEvent_nextState :: Lens' TransitionEvent Text Source #
The next state to enter.