V2modelsIntentFulfillmentCodeHook constructor

const V2modelsIntentFulfillmentCodeHook({
  1. Input<bool?>? active,
  2. required Input<bool> enabled,
  3. Input<V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification?>? fulfillmentUpdatesSpecification,
  4. Input<V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification?>? postFulfillmentStatusSpecification,
})

Creates a new V2modelsIntentFulfillmentCodeHook. active Whether the fulfillment code hook is used. When active is false, the code hook doesn't run. enabled Whether a Lambda function should be invoked to fulfill a specific intent. fulfillmentUpdatesSpecification Configuration block for settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations. See fulfillmentUpdatesSpecification. postFulfillmentStatusSpecification Configuration block for 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. See postFulfillmentStatusSpecification.

Implementation

const V2modelsIntentFulfillmentCodeHook({
  this.active,
  required this.enabled,
  this.fulfillmentUpdatesSpecification,
  this.postFulfillmentStatusSpecification,
});