Message - Amazon Lex API Reference


Container for text that is returned to the customer..



Indicates the type of response.

Type: String

Valid Values: CustomPayload | ImageResponseCard | PlainText | SSML

Required: Yes


The text of the message.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No


A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.

When you use a response card, the response from the user is constrained to the text associated with a button on the card.

Type: ImageResponseCard object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: