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

Description

 
Synopsis

Documentation

data FulfillmentCodeHookSettings Source #

Determines if a Lambda function should be invoked for a specific intent.

See: newFulfillmentCodeHookSettings smart constructor.

Constructors

FulfillmentCodeHookSettings' 

Fields

Instances

Instances details
FromJSON FulfillmentCodeHookSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings

ToJSON FulfillmentCodeHookSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings

Generic FulfillmentCodeHookSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings

Associated Types

type Rep FulfillmentCodeHookSettings :: Type -> Type #

Read FulfillmentCodeHookSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings

Show FulfillmentCodeHookSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings

NFData FulfillmentCodeHookSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings

Eq FulfillmentCodeHookSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings

Hashable FulfillmentCodeHookSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings

type Rep FulfillmentCodeHookSettings Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings

type Rep FulfillmentCodeHookSettings = D1 ('MetaData "FulfillmentCodeHookSettings" "Amazonka.LexV2Models.Types.FulfillmentCodeHookSettings" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "FulfillmentCodeHookSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "active") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "fulfillmentUpdatesSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FulfillmentUpdatesSpecification))) :*: (S1 ('MetaSel ('Just "postFulfillmentStatusSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PostFulfillmentStatusSpecification)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

newFulfillmentCodeHookSettings Source #

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

FulfillmentCodeHookSettings, fulfillmentCodeHookSettings_active - Determines whether the fulfillment code hook is used. When active is false, the code hook doesn't run.

$sel:fulfillmentUpdatesSpecification:FulfillmentCodeHookSettings', fulfillmentCodeHookSettings_fulfillmentUpdatesSpecification - Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.

$sel:postFulfillmentStatusSpecification:FulfillmentCodeHookSettings', fulfillmentCodeHookSettings_postFulfillmentStatusSpecification - Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.

$sel:enabled:FulfillmentCodeHookSettings', fulfillmentCodeHookSettings_enabled - Indicates whether a Lambda function should be invoked to fulfill a specific intent.

fulfillmentCodeHookSettings_active :: Lens' FulfillmentCodeHookSettings (Maybe Bool) Source #

Determines whether the fulfillment code hook is used. When active is false, the code hook doesn't run.

fulfillmentCodeHookSettings_fulfillmentUpdatesSpecification :: Lens' FulfillmentCodeHookSettings (Maybe FulfillmentUpdatesSpecification) Source #

Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.

fulfillmentCodeHookSettings_postFulfillmentStatusSpecification :: Lens' FulfillmentCodeHookSettings (Maybe PostFulfillmentStatusSpecification) Source #

Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.

fulfillmentCodeHookSettings_enabled :: Lens' FulfillmentCodeHookSettings Bool Source #

Indicates whether a Lambda function should be invoked to fulfill a specific intent.