Skip to content

Button

Source code in docs_src/capo_lex_runtime_v2/types/button.py
class Button(TypedDict, closed=True):
    text: "capo_lex_runtime_v2.types.button_text.ButtonText"
    """<p>The text that is displayed on the button.</p>"""
    value: "capo_lex_runtime_v2.types.button_value.ButtonValue"
    """<p>The value returned to Amazon Lex V2 when a user chooses the button.</p>"""

text instance-attribute

text: ButtonText

The text that is displayed on the button.

value instance-attribute

value: ButtonValue

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