Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SentimentFilter = SentimentFilter' {}
- newSentimentFilter :: NonEmpty SentimentValue -> SentimentFilter
- sentimentFilter_participantRole :: Lens' SentimentFilter (Maybe ParticipantRole)
- sentimentFilter_relativeTimeRange :: Lens' SentimentFilter (Maybe RelativeTimeRange)
- sentimentFilter_negate :: Lens' SentimentFilter (Maybe Bool)
- sentimentFilter_absoluteTimeRange :: Lens' SentimentFilter (Maybe AbsoluteTimeRange)
- sentimentFilter_sentiments :: Lens' SentimentFilter (NonEmpty SentimentValue)
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.
SentimentFilter' | |
|
Instances
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.