Button - Amazon Lex API Reference

Button

A button that appears on a response card show to the user.

Contents

text

The text that is displayed on the button.

Type: String

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

Required: Yes

value

The value returned to Amazon Lex V2 when a user chooses the button.

Type: String

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

Required: Yes

See Also

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