Struct aws_sdk_transcribe::model::SentimentFilter
source · #[non_exhaustive]pub struct SentimentFilter { /* private fields */ }Expand description
Flag the presence or absence of specific sentiments detected in your Call Analytics transcription output.
Rules using SentimentFilter are designed to match:
-
The presence or absence of a positive sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a negative sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a neutral sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a mixed sentiment felt by the customer, the agent, or both at specified points in the call
See Rule criteria for batch categories for usage examples.
Implementations§
source§impl SentimentFilter
impl SentimentFilter
sourcepub fn sentiments(&self) -> Option<&[SentimentValue]>
pub fn sentiments(&self) -> Option<&[SentimentValue]>
Specify the sentiments that you want to flag.
sourcepub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
pub fn absolute_time_range(&self) -> Option<&AbsoluteTimeRange>
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for the specified sentiments. See for more detail.
sourcepub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
pub fn relative_time_range(&self) -> Option<&RelativeTimeRange>
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for the specified sentiments. See for more detail.
sourcepub fn participant_role(&self) -> Option<&ParticipantRole>
pub fn participant_role(&self) -> Option<&ParticipantRole>
Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.
source§impl SentimentFilter
impl SentimentFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SentimentFilter.
Trait Implementations§
source§impl Clone for SentimentFilter
impl Clone for SentimentFilter
source§fn clone(&self) -> SentimentFilter
fn clone(&self) -> SentimentFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SentimentFilter
impl Debug for SentimentFilter
source§impl PartialEq<SentimentFilter> for SentimentFilter
impl PartialEq<SentimentFilter> for SentimentFilter
source§fn eq(&self, other: &SentimentFilter) -> bool
fn eq(&self, other: &SentimentFilter) -> bool
self and other values to be equal, and is used
by ==.