AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Obtains information from the user. To define a prompt, provide one or more messages and specify the number of attempts to get information from the user. If you provide more than one message, Amazon Lex chooses one of the messages to use to prompt the user. For more information, see how-it-works.
Namespace: Amazon.LexModelBuildingService.Model
Assembly: AWSSDK.LexModelBuildingService.dll
Version: 3.x.y.z
public class Prompt
The Prompt type exposes the following members
Name | Description | |
---|---|---|
Prompt() |
Name | Type | Description | |
---|---|---|---|
MaxAttempts | System.Int32 |
Gets and sets the property MaxAttempts. The number of times to prompt the user for information. |
|
Messages | System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.Message> |
Gets and sets the property Messages. 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). |
|
ResponseCard | System.String |
Gets and sets the property ResponseCard.
A response card. Amazon Lex uses this prompt at runtime, in the |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5