IntentArgs constructor

const IntentArgs({
  1. Input<IntentConclusionStatement?>? conclusionStatement,
  2. Input<IntentConfirmationPrompt?>? confirmationPrompt,
  3. Input<bool?>? createVersion,
  4. Input<String?>? description,
  5. Input<IntentDialogCodeHook?>? dialogCodeHook,
  6. Input<IntentFollowUpPrompt?>? followUpPrompt,
  7. required Input<IntentFulfillmentActivity> fulfillmentActivity,
  8. Input<String?>? name,
  9. Input<String?>? parentIntentSignature,
  10. Input<String?>? region,
  11. Input<IntentRejectionStatement?>? rejectionStatement,
  12. Input<List<String>?>? sampleUtterances,
  13. Input<List<IntentSlot>?>? slots,
})

Creates a new IntentArgs. conclusionStatement The statement that you want Amazon Lex to convey to the user confirmationPrompt Prompts the user to confirm the intent. This question should createVersion Determines if a new slot type version is created when the initial description A description of the intent. Must be less than or equal to 200 characters in length. dialogCodeHook Specifies a Lambda function to invoke for each user input. You can followUpPrompt Amazon Lex uses this prompt to solicit additional activity after fulfillmentActivity Describes how the intent is fulfilled. For example, after a name The name of the intent, not case sensitive. Must be less than or equal to 100 characters in length. parentIntentSignature A unique identifier for the built-in intent to base this region Region where this resource will be managed. Defaults to the Region set in the provider configuration. rejectionStatement When the user answers "no" to the question defined in sampleUtterances An array of utterances (strings) that a user might say to signal slots An list of intent slots. At runtime, Amazon Lex elicits required slot values

Implementation

const IntentArgs({
  this.conclusionStatement,
  this.confirmationPrompt,
  this.createVersion,
  this.description,
  this.dialogCodeHook,
  this.followUpPrompt,
  required this.fulfillmentActivity,
  this.name,
  this.parentIntentSignature,
  this.region,
  this.rejectionStatement,
  this.sampleUtterances,
  this.slots,
});