V2modelsIntentState class
Input properties used for looking up and filtering V2modelsIntent resources.
Constructors
-
V2modelsIntentState({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, Input<V2modelsIntentInputContext> ?>String?> ? intentId, Input<V2modelsIntentKendraConfiguration?> ? kendraConfiguration, Input<String?> ? lastUpdatedDateTime, Input<String?> ? localeId, Input<String?> ? name, Input<List< ? outputContexts, Input<V2modelsIntentOutputContext> ?>String?> ? parentIntentSignature, Input<V2modelsIntentQnaIntentConfiguration?> ? qnaIntentConfiguration, Input<String?> ? region, Input<List< ? sampleUtterances, Input<V2modelsIntentSampleUtterance> ?>List< ? slotPriorities, Input<V2modelsIntentSlotPriority> ?>V2modelsIntentTimeouts?> ? timeouts}) -
Creates a new V2modelsIntentState.
botIdIdentifier of the bot associated with this intent.botVersionVersion of the bot associated with this intent.closingSettingConfiguration block for the response that Amazon Lex sends to the user when the intent is closed. SeeclosingSetting.confirmationSettingConfiguration 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 withoutprompt_specification.*.prompt_attempts_specification, AWS will provide default configurations forInitialandRetry1promptAttemptsSpecifications. This will cause Terraform to report differences. Use theconfirmationSettingconfiguration above in the Basic Usage example to avoid differences resulting from AWS default configuration. SeeconfirmationSetting.creationDateTimeTimestamp of the date and time that the intent was created.descriptionDescription of the intent. Use the description to help identify the intent in lists.dialogCodeHookConfiguration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. SeedialogCodeHook.fulfillmentCodeHookConfiguration 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. SeefulfillmentCodeHook.initialResponseSettingConfiguration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. SeeinitialResponseSetting.inputContextsConfiguration 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. SeeinputContext.intentIdUnique identifier for the intent.kendraConfigurationConfiguration 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 withqnaIntentConfiguration. SeekendraConfiguration.lastUpdatedDateTimeTimestamp of the last time that the intent was modified.localeIdIdentifier 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.nameName 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.outputContextsConfiguration 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. SeeoutputContext.parentIntentSignatureIdentifier for the built-in intent to base this intent on.qnaIntentConfigurationConfiguration block for QnA intent settings. This is used whenparentIntentSignatureis set toAMAZON.QnAIntent. Cannot be used withkendraConfiguration. SeeqnaIntentConfiguration.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.sampleUtterancesConfiguration block for strings that a user might say to signal the intent. SeesampleUtterance.slotPrioritiesConfiguration 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. SeeslotPriority.timeoutsOptional.const -
V2modelsIntentState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
botId
→ Input<
String?> ? -
Identifier of the bot associated with this intent.
final
-
botVersion
→ Input<
String?> ? -
Version of the bot associated with this intent.
final
-
closingSetting
→ Input<
V2modelsIntentClosingSetting?> ? -
Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See
closingSetting.final -
confirmationSetting
→ Input<
V2modelsIntentConfirmationSetting?> ? -
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 forInitialandRetry1promptAttemptsSpecifications. This will cause Terraform to report differences. Use theconfirmationSettingconfiguration above in the Basic Usage example to avoid differences resulting from AWS default configuration. SeeconfirmationSetting.final -
creationDateTime
→ Input<
String?> ? -
Timestamp of the date and time that the intent was created.
final
-
description
→ Input<
String?> ? -
Description of the intent. Use the description to help identify the intent in lists.
final
-
dialogCodeHook
→ Input<
V2modelsIntentDialogCodeHook?> ? -
Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See
dialogCodeHook.final -
fulfillmentCodeHook
→ Input<
V2modelsIntentFulfillmentCodeHook?> ? -
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.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
initialResponseSetting
→ Input<
V2modelsIntentInitialResponseSetting?> ? -
Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See
initialResponseSetting.final -
inputContexts
→ Input<
List< ?V2modelsIntentInputContext> ?> -
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.final -
intentId
→ Input<
String?> ? -
Unique identifier for the intent.
final
-
kendraConfiguration
→ Input<
V2modelsIntentKendraConfiguration?> ? -
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. SeekendraConfiguration.final -
lastUpdatedDateTime
→ Input<
String?> ? -
Timestamp of the last time that the intent was modified.
final
-
localeId
→ Input<
String?> ? -
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.
final
-
name
→ Input<
String?> ? -
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.
final
-
outputContexts
→ Input<
List< ?V2modelsIntentOutputContext> ?> -
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.final -
parentIntentSignature
→ Input<
String?> ? -
Identifier for the built-in intent to base this intent on.
final
-
qnaIntentConfiguration
→ Input<
V2modelsIntentQnaIntentConfiguration?> ? -
Configuration block for QnA intent settings. This is used when
parentIntentSignatureis set toAMAZON.QnAIntent. Cannot be used withkendraConfiguration. SeeqnaIntentConfiguration.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sampleUtterances
→ Input<
List< ?V2modelsIntentSampleUtterance> ?> -
Configuration block for strings that a user might say to signal the intent. See
sampleUtterance.final -
slotPriorities
→ Input<
List< ?V2modelsIntentSlotPriority> ?> -
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.final -
timeouts
→ Input<
V2modelsIntentTimeouts?> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited