Class: Aws::TranscribeService::Types::ChannelDefinition

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

Overview

Makes it possible to specify which speaker is on which channel. For example, if your agent is the first participant to speak, you would set ChannelId to 0 (to indicate the first channel) and ParticipantRole to AGENT (to indicate that it's the agent speaking).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channel_idInteger

Specify the audio channel you want to define.

Returns:

  • (Integer)


531
532
533
534
535
536
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 531

class ChannelDefinition < Struct.new(
  :channel_id,
  :participant_role)
  SENSITIVE = []
  include Aws::Structure
end

#participant_roleString

Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.

Returns:

  • (String)


531
532
533
534
535
536
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 531

class ChannelDefinition < Struct.new(
  :channel_id,
  :participant_role)
  SENSITIVE = []
  include Aws::Structure
end