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

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#textString

Text that is visible to the user on the button.

Returns:

  • (String)


58
59
60
61
62
63
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 58

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)


58
59
60
61
62
63
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 58

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