Amazon Lex
Developer Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.


The message object that provides the message text and its type.



The text of the message.

Type: String

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

Required: Yes


The content type of the message string.

Type: String

Valid Values: PlainText | SSML | CustomPayload

Required: Yes


Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 5.

Required: No

See Also

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

On this page: