BotPromptSpecification

data class BotPromptSpecification(val allowInterrupt: Boolean? = null, val maxRetries: Int, val messageGroupsList: List<BotMessageGroup>, val messageSelectionStrategy: BotMessageSelectionStrategy? = null, val promptAttemptsSpecification: Map<String, BotPromptAttemptSpecification>? = null)

Prompts the user to confirm the intent.

Constructors

Link copied to clipboard
constructor(allowInterrupt: Boolean? = null, maxRetries: Int, messageGroupsList: List<BotMessageGroup>, messageSelectionStrategy: BotMessageSelectionStrategy? = null, promptAttemptsSpecification: Map<String, BotPromptAttemptSpecification>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val allowInterrupt: Boolean? = null

Indicates whether the user can interrupt a speech prompt from the bot.

Link copied to clipboard

The maximum number of times the bot tries to elicit a response from the user using this prompt.

Link copied to clipboard

A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.

Link copied to clipboard

Indicates how a message is selected from a message group among retries.

Link copied to clipboard

Specifies the advanced settings on each attempt of the prompt.