Skip to content

Button

Structure Class

Button dataclass

Bases: _SerdeShape

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.