| 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.LexV2Models.Types.ConditionalBranch
Description
Synopsis
- data ConditionalBranch = ConditionalBranch' {}
- newConditionalBranch :: Text -> Condition -> DialogState -> ConditionalBranch
- conditionalBranch_response :: Lens' ConditionalBranch (Maybe ResponseSpecification)
- conditionalBranch_name :: Lens' ConditionalBranch Text
- conditionalBranch_condition :: Lens' ConditionalBranch Condition
- conditionalBranch_nextStep :: Lens' ConditionalBranch DialogState
Documentation
data ConditionalBranch Source #
A set of actions that Amazon Lex should run if the condition is matched.
See: newConditionalBranch smart constructor.
Constructors
| ConditionalBranch' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Condition | |
| -> DialogState | |
| -> ConditionalBranch |
Create a value of ConditionalBranch 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:response:ConditionalBranch', conditionalBranch_response - Undocumented member.
$sel:name:ConditionalBranch', conditionalBranch_name - The name of the branch.
$sel:condition:ConditionalBranch', conditionalBranch_condition - Contains the expression to evaluate. If the condition is true, the
branch's actions are taken.
$sel:nextStep:ConditionalBranch', conditionalBranch_nextStep - The next step in the conversation.
conditionalBranch_response :: Lens' ConditionalBranch (Maybe ResponseSpecification) Source #
Undocumented member.
conditionalBranch_name :: Lens' ConditionalBranch Text Source #
The name of the branch.
conditionalBranch_condition :: Lens' ConditionalBranch Condition Source #
Contains the expression to evaluate. If the condition is true, the branch's actions are taken.
conditionalBranch_nextStep :: Lens' ConditionalBranch DialogState Source #
The next step in the conversation.