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.IntentClosingSetting

Description

 
Synopsis

Documentation

data IntentClosingSetting Source #

Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.

See: newIntentClosingSetting smart constructor.

Constructors

IntentClosingSetting' 

Fields

  • active :: Maybe Bool

    Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.

  • closingResponse :: Maybe ResponseSpecification

    The response that Amazon Lex sends to the user when the intent is complete.

  • conditional :: Maybe ConditionalSpecification

    A list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional.

  • nextStep :: Maybe DialogState

    Specifies the next step that the bot executes after playing the intent's closing response.

Instances

Instances details
FromJSON IntentClosingSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentClosingSetting

ToJSON IntentClosingSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentClosingSetting

Generic IntentClosingSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentClosingSetting

Associated Types

type Rep IntentClosingSetting :: Type -> Type #

Read IntentClosingSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentClosingSetting

Show IntentClosingSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentClosingSetting

NFData IntentClosingSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentClosingSetting

Methods

rnf :: IntentClosingSetting -> () #

Eq IntentClosingSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentClosingSetting

Hashable IntentClosingSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentClosingSetting

type Rep IntentClosingSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentClosingSetting

type Rep IntentClosingSetting = D1 ('MetaData "IntentClosingSetting" "Amazonka.LexV2Models.Types.IntentClosingSetting" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "IntentClosingSetting'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "active") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "closingResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResponseSpecification))) :*: (S1 ('MetaSel ('Just "conditional") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConditionalSpecification)) :*: S1 ('MetaSel ('Just "nextStep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DialogState)))))

newIntentClosingSetting :: IntentClosingSetting Source #

Create a value of IntentClosingSetting 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:

IntentClosingSetting, intentClosingSetting_active - Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.

$sel:closingResponse:IntentClosingSetting', intentClosingSetting_closingResponse - The response that Amazon Lex sends to the user when the intent is complete.

$sel:conditional:IntentClosingSetting', intentClosingSetting_conditional - A list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional.

$sel:nextStep:IntentClosingSetting', intentClosingSetting_nextStep - Specifies the next step that the bot executes after playing the intent's closing response.

intentClosingSetting_active :: Lens' IntentClosingSetting (Maybe Bool) Source #

Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.

intentClosingSetting_closingResponse :: Lens' IntentClosingSetting (Maybe ResponseSpecification) Source #

The response that Amazon Lex sends to the user when the intent is complete.

intentClosingSetting_conditional :: Lens' IntentClosingSetting (Maybe ConditionalSpecification) Source #

A list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional.

intentClosingSetting_nextStep :: Lens' IntentClosingSetting (Maybe DialogState) Source #

Specifies the next step that the bot executes after playing the intent's closing response.