Class: Aws::LexRuntimeV2::Types::Button

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lexruntimev2/types.rb

Overview

A button that appears on a response card show to the user.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#textString

The text that is displayed on the button.

Returns:

  • (String)


181
182
183
184
185
186
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 181

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

#valueString

The value returned to Amazon Lex V2 when a user chooses the button.

Returns:

  • (String)


181
182
183
184
185
186
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 181

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