Prompt
public struct Prompt : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The number of times to prompt the user for information.
Declaration
Swift
public let maxAttempts: Int
-
An array of objects, 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).
Declaration
Swift
public let messages: [Message]
-
A response card. Amazon Lex uses this prompt at runtime, in the PostText API response. It substitutes session attributes and slot values for placeholders in the response card. For more information, see ex-resp-card.
Declaration
Swift
public let responseCard: String?
-
Undocumented
Declaration
Swift
public init(maxAttempts: Int, messages: [Message], responseCard: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws