AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.LexModelBuildingService.Model.Prompt

Namespace: Amazon.LexModelBuildingService.Model
Assembly: AWSSDK.LexModelBuildingService.dll
Version: 3.x.y.z

Syntax

C#
public class Prompt

The Prompt type exposes the following members

Constructors

NameDescription
Public Method Prompt()

Properties

NameTypeDescription
Public Property MaxAttempts System.Int32

Gets and sets the property MaxAttempts.

The number of times to prompt the user for information.

Public Property 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).

Public Property ResponseCard System.String

Gets and sets the property ResponseCard.

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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms