Class: Aws::LexRuntimeV2::Types::DTMFInputEvent

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

Overview

A DTMF character sent from the client application. DTMF characters are typically sent from a phone keypad to represent numbers. For example, you can have Amazon Lex V2 process a credit card number input from a phone.

Constant Summary collapse

SENSITIVE =
[:input_character]

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)


333
334
335
336
337
338
339
340
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 333

class DTMFInputEvent < Struct.new(
  :input_character,
  :event_id,
  :client_timestamp_millis,
  :event_type)
  SENSITIVE = [:input_character]
  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)


333
334
335
336
337
338
339
340
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 333

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

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



333
334
335
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 333

def event_type
  @event_type
end

#input_characterString

The DTMF character that the user pressed. The allowed characters are A - D, 0 - 9, # and *.

Returns:

  • (String)


333
334
335
336
337
338
339
340
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 333

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