Skip to content

Lex Runtime V2  >  Structures  >  Button

Button

Structure Class

Button dataclass

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

Attributes

text instance-attribute
text: str

The text that is displayed on the button.

value instance-attribute
value: str

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