Class: Aws::LexRuntimeV2::Types::PlaybackCompletionEvent

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

Overview

Note:

When making an API call, you may pass PlaybackCompletionEvent data as a hash:

{
  event_id: "EventId",
  client_timestamp_millis: 1,
}

Event sent from the client application to Amazon Lex V2 to indicate that playback of audio is complete and that Amazon Lex V2 should start processing the user's input.

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)


1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1012

class PlaybackCompletionEvent < 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)


1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1012

class PlaybackCompletionEvent < 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



1012
1013
1014
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1012

def event_type
  @event_type
end