Class: Aws::LexRuntimeV2::Types::TextInputEvent

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

Overview

The event sent from your client application to Amazon Lex V2 with text input from the user.

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#client_timestamp_millisInteger

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

Returns:

  • (Integer)


1636
1637
1638
1639
1640
1641
1642
1643
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1636

class TextInputEvent < Struct.new(
  :text,
  :event_id,
  :client_timestamp_millis,
  :event_type)
  SENSITIVE = [:text]
  include Aws::Structure
end

#event_idString

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

Returns:

  • (String)


1636
1637
1638
1639
1640
1641
1642
1643
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1636

class TextInputEvent < Struct.new(
  :text,
  :event_id,
  :client_timestamp_millis,
  :event_type)
  SENSITIVE = [:text]
  include Aws::Structure
end

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



1636
1637
1638
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1636

def event_type
  @event_type
end

#textString

The text from the user. Amazon Lex V2 processes this as a complete statement.

Returns:

  • (String)


1636
1637
1638
1639
1640
1641
1642
1643
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1636

class TextInputEvent < Struct.new(
  :text,
  :event_id,
  :client_timestamp_millis,
  :event_type)
  SENSITIVE = [:text]
  include Aws::Structure
end