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

Description

 
Synopsis

Documentation

data Rule Source #

A rule is a set of criteria that you can specify to flag an attribute in your Call Analytics output. Rules define a Call Analytics category.

Rules can include these parameters: , , , and .

To learn more about Call Analytics rules and categories, see Creating categories for batch transcriptions and Creating categories for streaming transcriptions.

To learn more about Call Analytics, see Analyzing call center audio with Call Analytics.

See: newRule smart constructor.

Constructors

Rule' 

Fields

Instances

Instances details
FromJSON Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

ToJSON Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

Generic Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

Associated Types

type Rep Rule :: Type -> Type #

Methods

from :: Rule -> Rep Rule x #

to :: Rep Rule x -> Rule #

Read Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

Show Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

Methods

showsPrec :: Int -> Rule -> ShowS #

show :: Rule -> String #

showList :: [Rule] -> ShowS #

NFData Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

Methods

rnf :: Rule -> () #

Eq Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

Methods

(==) :: Rule -> Rule -> Bool #

(/=) :: Rule -> Rule -> Bool #

Hashable Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

Methods

hashWithSalt :: Int -> Rule -> Int #

hash :: Rule -> Int #

type Rep Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

type Rep Rule = D1 ('MetaData "Rule" "Amazonka.Transcribe.Types.Rule" "amazonka-transcribe-2.0-4BjJqzwmm0K94bsEMe1tnF" 'False) (C1 ('MetaCons "Rule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "interruptionFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InterruptionFilter)) :*: S1 ('MetaSel ('Just "nonTalkTimeFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NonTalkTimeFilter))) :*: (S1 ('MetaSel ('Just "sentimentFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentFilter)) :*: S1 ('MetaSel ('Just "transcriptFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TranscriptFilter)))))

newRule :: Rule Source #

Create a value of Rule 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:interruptionFilter:Rule', rule_interruptionFilter - Flag the presence or absence of interruptions in your Call Analytics transcription output. Refer to for more detail.

$sel:nonTalkTimeFilter:Rule', rule_nonTalkTimeFilter - Flag the presence or absence of periods of silence in your Call Analytics transcription output. Refer to for more detail.

$sel:sentimentFilter:Rule', rule_sentimentFilter - Flag the presence or absence of specific sentiments in your Call Analytics transcription output. Refer to for more detail.

$sel:transcriptFilter:Rule', rule_transcriptFilter - Flag the presence or absence of specific words or phrases in your Call Analytics transcription output. Refer to for more detail.

rule_interruptionFilter :: Lens' Rule (Maybe InterruptionFilter) Source #

Flag the presence or absence of interruptions in your Call Analytics transcription output. Refer to for more detail.

rule_nonTalkTimeFilter :: Lens' Rule (Maybe NonTalkTimeFilter) Source #

Flag the presence or absence of periods of silence in your Call Analytics transcription output. Refer to for more detail.

rule_sentimentFilter :: Lens' Rule (Maybe SentimentFilter) Source #

Flag the presence or absence of specific sentiments in your Call Analytics transcription output. Refer to for more detail.

rule_transcriptFilter :: Lens' Rule (Maybe TranscriptFilter) Source #

Flag the presence or absence of specific words or phrases in your Call Analytics transcription output. Refer to for more detail.