Class: Aws::LexRuntimeV2::Types::TranscriptEvent

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

Overview

Event sent from Amazon Lex V2 to your client application that contains a transcript of voice audio.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_idString

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

Returns:

  • (String)


1699
1700
1701
1702
1703
1704
1705
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1699

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

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



1699
1700
1701
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1699

def event_type
  @event_type
end

#transcriptString

The transcript of the voice audio from the user.

Returns:

  • (String)


1699
1700
1701
1702
1703
1704
1705
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1699

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