libZSservicesZSamazonka-transcribeZSamazonka-transcribe
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Transcribe.Types.Rule

Description

 
Synopsis

Documentation

data Rule Source #

A condition in the call between the customer and the agent that you want to filter for.

See: newRule smart constructor.

Constructors

Rule' 

Fields

Instances

Instances details
Eq Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

Methods

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

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

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 #

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 #

NFData Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

Methods

rnf :: Rule -> () #

Hashable Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

Methods

hashWithSalt :: Int -> Rule -> Int #

hash :: Rule -> Int #

ToJSON Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

FromJSON Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

type Rep Rule Source # 
Instance details

Defined in Amazonka.Transcribe.Types.Rule

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

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:nonTalkTimeFilter:Rule', rule_nonTalkTimeFilter - A condition for a time period when neither the customer nor the agent was talking.

$sel:transcriptFilter:Rule', rule_transcriptFilter - A condition that catches particular words or phrases based on a exact match. For example, if you set the phrase "I want to speak to the manager", only that exact phrase will be returned.

$sel:sentimentFilter:Rule', rule_sentimentFilter - A condition that is applied to a particular customer sentiment.

$sel:interruptionFilter:Rule', rule_interruptionFilter - A condition for a time period when either the customer or agent was interrupting the other person.

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

A condition for a time period when neither the customer nor the agent was talking.

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

A condition that catches particular words or phrases based on a exact match. For example, if you set the phrase "I want to speak to the manager", only that exact phrase will be returned.

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

A condition that is applied to a particular customer sentiment.

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

A condition for a time period when either the customer or agent was interrupting the other person.