Statement - Amazon Lex V1

If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead.

 

If you are using Amazon Lex V1, we recommend upgrading your bots to Amazon Lex V2. We are no longer adding new features to V1 and strongly recommend using V2 for all new bots.

Statement

A collection of messages that convey information to the user. At runtime, Amazon Lex selects the message to convey.

Contents

messages

A collection of message objects.

Type: Array of Message objects

Array Members: Minimum number of 1 item. Maximum number of 15 items.

Required: Yes

responseCard

At runtime, if the client is using the PostText API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card.

Type: String

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

Required: No

See Also

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