| 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.FulfillmentCodeHookSettings
Description
Synopsis
- data FulfillmentCodeHookSettings = FulfillmentCodeHookSettings' {}
- newFulfillmentCodeHookSettings :: Bool -> FulfillmentCodeHookSettings
- fulfillmentCodeHookSettings_active :: Lens' FulfillmentCodeHookSettings (Maybe Bool)
- fulfillmentCodeHookSettings_fulfillmentUpdatesSpecification :: Lens' FulfillmentCodeHookSettings (Maybe FulfillmentUpdatesSpecification)
- fulfillmentCodeHookSettings_postFulfillmentStatusSpecification :: Lens' FulfillmentCodeHookSettings (Maybe PostFulfillmentStatusSpecification)
- fulfillmentCodeHookSettings_enabled :: Lens' FulfillmentCodeHookSettings Bool
Documentation
data FulfillmentCodeHookSettings Source #
Determines if a Lambda function should be invoked for a specific intent.
See: newFulfillmentCodeHookSettings smart constructor.
Constructors
| FulfillmentCodeHookSettings' | |
Fields
| |
Instances
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.