class Aws::LexModelsV2::Types::Button
Describes a button to use on a response card used to gather slot values from a user.
@note When making an API call, you may pass Button
data as a hash: { text: "ButtonText", # required value: "ButtonValue", # required }
@!attribute [rw] text
The text that appears on the button. Use this to tell the user what value is returned when they choose this button. @return [String]
@!attribute [rw] value
The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/Button AWS API Documentation
Constants
- SENSITIVE