amazonka-transcribe-2.0: Amazon Transcribe Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Transcribe.Types.ChannelDefinition

Description

 
Synopsis

Documentation

data ChannelDefinition Source #

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).

See: newChannelDefinition smart constructor.

Constructors

ChannelDefinition' 

Fields

Instances

Instances details
FromJSON ChannelDefinition Source # 
Instance details

Defined in Amazonka.Transcribe.Types.ChannelDefinition

ToJSON ChannelDefinition Source # 
Instance details

Defined in Amazonka.Transcribe.Types.ChannelDefinition

Generic ChannelDefinition Source # 
Instance details

Defined in Amazonka.Transcribe.Types.ChannelDefinition

Associated Types

type Rep ChannelDefinition :: Type -> Type #

Read ChannelDefinition Source # 
Instance details

Defined in Amazonka.Transcribe.Types.ChannelDefinition

Show ChannelDefinition Source # 
Instance details

Defined in Amazonka.Transcribe.Types.ChannelDefinition

NFData ChannelDefinition Source # 
Instance details

Defined in Amazonka.Transcribe.Types.ChannelDefinition

Methods

rnf :: ChannelDefinition -> () #

Eq ChannelDefinition Source # 
Instance details

Defined in Amazonka.Transcribe.Types.ChannelDefinition

Hashable ChannelDefinition Source # 
Instance details

Defined in Amazonka.Transcribe.Types.ChannelDefinition

type Rep ChannelDefinition Source # 
Instance details

Defined in Amazonka.Transcribe.Types.ChannelDefinition

type Rep ChannelDefinition = D1 ('MetaData "ChannelDefinition" "Amazonka.Transcribe.Types.ChannelDefinition" "amazonka-transcribe-2.0-4BjJqzwmm0K94bsEMe1tnF" 'False) (C1 ('MetaCons "ChannelDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "participantRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParticipantRole))))

newChannelDefinition :: ChannelDefinition Source #

Create a value of ChannelDefinition with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:channelId:ChannelDefinition', channelDefinition_channelId - Specify the audio channel you want to define.

$sel:participantRole:ChannelDefinition', channelDefinition_participantRole - Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.

channelDefinition_channelId :: Lens' ChannelDefinition (Maybe Natural) Source #

Specify the audio channel you want to define.

channelDefinition_participantRole :: Lens' ChannelDefinition (Maybe ParticipantRole) Source #

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