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

Description

 
Synopsis

Documentation

data SentimentFilter Source #

An object that enables you to specify a particular customer or agent sentiment. If at least 50 percent of the conversation turns (the back-and-forth between two speakers) in a specified time period match the specified sentiment, Amazon Transcribe will consider the sentiment a match.

See: newSentimentFilter smart constructor.

Constructors

SentimentFilter' 

Fields

Instances

Instances details
Eq SentimentFilter Source # 
Instance details

Defined in Amazonka.Transcribe.Types.SentimentFilter

Read SentimentFilter Source # 
Instance details

Defined in Amazonka.Transcribe.Types.SentimentFilter

Show SentimentFilter Source # 
Instance details

Defined in Amazonka.Transcribe.Types.SentimentFilter

Generic SentimentFilter Source # 
Instance details

Defined in Amazonka.Transcribe.Types.SentimentFilter

Associated Types

type Rep SentimentFilter :: Type -> Type #

NFData SentimentFilter Source # 
Instance details

Defined in Amazonka.Transcribe.Types.SentimentFilter

Methods

rnf :: SentimentFilter -> () #

Hashable SentimentFilter Source # 
Instance details

Defined in Amazonka.Transcribe.Types.SentimentFilter

ToJSON SentimentFilter Source # 
Instance details

Defined in Amazonka.Transcribe.Types.SentimentFilter

FromJSON SentimentFilter Source # 
Instance details

Defined in Amazonka.Transcribe.Types.SentimentFilter

type Rep SentimentFilter Source # 
Instance details

Defined in Amazonka.Transcribe.Types.SentimentFilter

type Rep SentimentFilter = D1 ('MetaData "SentimentFilter" "Amazonka.Transcribe.Types.SentimentFilter" "libZSservicesZSamazonka-transcribeZSamazonka-transcribe" 'False) (C1 ('MetaCons "SentimentFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "participantRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParticipantRole)) :*: S1 ('MetaSel ('Just "relativeTimeRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RelativeTimeRange))) :*: (S1 ('MetaSel ('Just "negate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "absoluteTimeRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AbsoluteTimeRange)) :*: S1 ('MetaSel ('Just "sentiments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty SentimentValue))))))

newSentimentFilter Source #

Create a value of SentimentFilter 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:participantRole:SentimentFilter', sentimentFilter_participantRole - A value that determines whether the sentiment belongs to the customer or the agent.

$sel:relativeTimeRange:SentimentFilter', sentimentFilter_relativeTimeRange - The time range, set in percentages, that correspond to proportion of the call.

$sel:negate:SentimentFilter', sentimentFilter_negate - Set to TRUE to look for sentiments that weren't specified in the request.

$sel:absoluteTimeRange:SentimentFilter', sentimentFilter_absoluteTimeRange - The time range, measured in seconds, of the sentiment.

$sel:sentiments:SentimentFilter', sentimentFilter_sentiments - An array that enables you to specify sentiments for the customer or agent. You can specify one or more values.

sentimentFilter_participantRole :: Lens' SentimentFilter (Maybe ParticipantRole) Source #

A value that determines whether the sentiment belongs to the customer or the agent.

sentimentFilter_relativeTimeRange :: Lens' SentimentFilter (Maybe RelativeTimeRange) Source #

The time range, set in percentages, that correspond to proportion of the call.

sentimentFilter_negate :: Lens' SentimentFilter (Maybe Bool) Source #

Set to TRUE to look for sentiments that weren't specified in the request.

sentimentFilter_absoluteTimeRange :: Lens' SentimentFilter (Maybe AbsoluteTimeRange) Source #

The time range, measured in seconds, of the sentiment.

sentimentFilter_sentiments :: Lens' SentimentFilter (NonEmpty SentimentValue) Source #

An array that enables you to specify sentiments for the customer or agent. You can specify one or more values.