amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexV2Models.Types.ConditionalBranch

Description

 
Synopsis

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

Instances details
FromJSON ConditionalBranch Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ConditionalBranch

ToJSON ConditionalBranch Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ConditionalBranch

Generic ConditionalBranch Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ConditionalBranch

Associated Types

type Rep ConditionalBranch :: Type -> Type #

Read ConditionalBranch Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ConditionalBranch

Show ConditionalBranch Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ConditionalBranch

NFData ConditionalBranch Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ConditionalBranch

Methods

rnf :: ConditionalBranch -> () #

Eq ConditionalBranch Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ConditionalBranch

Hashable ConditionalBranch Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ConditionalBranch

type Rep ConditionalBranch Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ConditionalBranch

type Rep ConditionalBranch = D1 ('MetaData "ConditionalBranch" "Amazonka.LexV2Models.Types.ConditionalBranch" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "ConditionalBranch'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResponseSpecification)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Condition) :*: S1 ('MetaSel ('Just "nextStep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DialogState))))

newConditionalBranch Source #

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_condition :: Lens' ConditionalBranch Condition Source #

Contains the expression to evaluate. If the condition is true, the branch's actions are taken.