Class: Aws::Lex::Types::Button
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lex::Types::Button
- Defined in:
- gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb
Overview
Represents an option to be shown on the client platform (Facebook, Slack, etc.)
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#text ⇒ String
Text that is visible to the user on the button.
-
#value ⇒ String
The value sent to Amazon Lex when a user chooses the button.
Instance Attribute Details
#text ⇒ String
Text that is visible to the user on the button.
110 111 112 113 114 115 |
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 110 class Button < Struct.new( :text, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."
110 111 112 113 114 115 |
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 110 class Button < Struct.new( :text, :value) SENSITIVE = [] include Aws::Structure end |