IntentFollowUpPromptPromptArgs

data class IntentFollowUpPromptPromptArgs(val maxAttempts: Output<Int>, val messages: Output<List<IntentFollowUpPromptPromptMessageArgs>>, val responseCard: Output<String>? = null) : ConvertibleToJava<IntentFollowUpPromptPromptArgs>

Constructors

Link copied to clipboard
constructor(maxAttempts: Output<Int>, messages: Output<List<IntentFollowUpPromptPromptMessageArgs>>, responseCard: Output<String>? = null)

Properties

Link copied to clipboard
val maxAttempts: Output<Int>

The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).

Link copied to clipboard

A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.

Link copied to clipboard
val responseCard: Output<String>? = null

The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see Example: Using a Response Card. Must be less than or equal to 50000 characters in length.

Functions

Link copied to clipboard
open override fun toJava(): IntentFollowUpPromptPromptArgs