Class: Aws::Lex::Types::Button

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Instance Attribute Details

#textString

Text that is visible to the user on the button.

Returns:

  • (String)


110
111
112
113
114
115
# File 'lib/aws-sdk-lex/types.rb', line 110

class Button < Struct.new(
  :text,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

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.”

Returns:

  • (String)


110
111
112
113
114
115
# File 'lib/aws-sdk-lex/types.rb', line 110

class Button < Struct.new(
  :text,
  :value)
  SENSITIVE = []
  include Aws::Structure
end