Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Instances
:: 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.