Class: Aws::LexModelsV2::Types::Button
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::Button
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexmodelsv2/types.rb
Overview
Describes a button to use on a response card used to gather slot values from a user.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#text ⇒ String
The text that appears on the button.
-
#value ⇒ String
The value returned to Amazon Lex when the user chooses this button.
Instance Attribute Details
#text ⇒ String
The text that appears on the button. Use this to tell the user what value is returned when they choose this button.
2955 2956 2957 2958 2959 2960 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 2955 class Button < Struct.new( :text, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
2955 2956 2957 2958 2959 2960 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 2955 class Button < Struct.new( :text, :value) SENSITIVE = [] include Aws::Structure end |