V2modelsIntentState constructor
- Input<
String?> ? botId, - Input<
String?> ? botVersion, - Input<
V2modelsIntentClosingSetting?> ? closingSetting, - Input<
V2modelsIntentConfirmationSetting?> ? confirmationSetting, - Input<
String?> ? creationDateTime, - Input<
String?> ? description, - Input<
V2modelsIntentDialogCodeHook?> ? dialogCodeHook, - Input<
V2modelsIntentFulfillmentCodeHook?> ? fulfillmentCodeHook, - Input<
V2modelsIntentInitialResponseSetting?> ? initialResponseSetting, - Input<
List< ? inputContexts,V2modelsIntentInputContext> ?> - Input<
String?> ? intentId, - Input<
V2modelsIntentKendraConfiguration?> ? kendraConfiguration, - Input<
String?> ? lastUpdatedDateTime, - Input<
String?> ? localeId, - Input<
String?> ? name, - Input<
List< ? outputContexts,V2modelsIntentOutputContext> ?> - Input<
String?> ? parentIntentSignature, - Input<
V2modelsIntentQnaIntentConfiguration?> ? qnaIntentConfiguration, - Input<
String?> ? region, - Input<
List< ? sampleUtterances,V2modelsIntentSampleUtterance> ?> - Input<
List< ? slotPriorities,V2modelsIntentSlotPriority> ?> - Input<
V2modelsIntentTimeouts?> ? timeouts,
Creates a new V2modelsIntentState.
botId Identifier of the bot associated with this intent.
botVersion Version of the bot associated with this intent.
closingSetting Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See closingSetting.
confirmationSetting Configuration block for prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. If you configure this block without prompt_specification.*.prompt_attempts_specification, AWS will provide default configurations for Initial and Retry1 promptAttemptsSpecifications. This will cause Terraform to report differences. Use the confirmationSetting configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See confirmationSetting.
creationDateTime Timestamp of the date and time that the intent was created.
description Description of the intent. Use the description to help identify the intent in lists.
dialogCodeHook Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See dialogCodeHook.
fulfillmentCodeHook Configuration block for invoking the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. See fulfillmentCodeHook.
initialResponseSetting Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See initialResponseSetting.
inputContexts Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See inputContext.
intentId Unique identifier for the intent.
kendraConfiguration Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with qnaIntentConfiguration. See kendraConfiguration.
lastUpdatedDateTime Timestamp of the last time that the intent was modified.
localeId Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
name Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.
outputContexts Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See outputContext.
parentIntentSignature Identifier for the built-in intent to base this intent on.
qnaIntentConfiguration Configuration block for QnA intent settings. This is used when parentIntentSignature is set to AMAZON.QnAIntent. Cannot be used with kendraConfiguration. See qnaIntentConfiguration.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
sampleUtterances Configuration block for strings that a user might say to signal the intent. See sampleUtterance.
slotPriorities Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See slotPriority.
timeouts Optional.
Implementation
const V2modelsIntentState({
this.botId,
this.botVersion,
this.closingSetting,
this.confirmationSetting,
this.creationDateTime,
this.description,
this.dialogCodeHook,
this.fulfillmentCodeHook,
this.initialResponseSetting,
this.inputContexts,
this.intentId,
this.kendraConfiguration,
this.lastUpdatedDateTime,
this.localeId,
this.name,
this.outputContexts,
this.parentIntentSignature,
this.qnaIntentConfiguration,
this.region,
this.sampleUtterances,
this.slotPriorities,
this.timeouts,
});