IntentArgs constructor
- Input<
IntentConclusionStatement?> ? conclusionStatement, - Input<
IntentConfirmationPrompt?> ? confirmationPrompt, - Input<
bool?> ? createVersion, - Input<
String?> ? description, - Input<
IntentDialogCodeHook?> ? dialogCodeHook, - Input<
IntentFollowUpPrompt?> ? followUpPrompt, - required Input<
IntentFulfillmentActivity> fulfillmentActivity, - Input<
String?> ? name, - Input<
String?> ? parentIntentSignature, - Input<
String?> ? region, - Input<
IntentRejectionStatement?> ? rejectionStatement, - Input<
List< ? sampleUtterances,String> ?> - Input<
List< ? slots,IntentSlot> ?>
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,
});