Class: Aws::LexRuntimeV2::Types::DisconnectionEvent

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

Overview

A notification from the client that it is disconnecting from Amazon Lex V2. Sending a DisconnectionEvent event is optional, but can help identify a conversation in logs.

Constant Summary collapse

SENSITIVE =
[]

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)


486
487
488
489
490
491
492
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 486

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


486
487
488
489
490
491
492
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 486

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

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



486
487
488
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 486

def event_type
  @event_type
end