amazonka-comprehend-2.0: Amazon Comprehend 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.Comprehend.Types.MentionSentiment

Description

 
Synopsis

Documentation

data MentionSentiment Source #

Contains the sentiment and sentiment score for one mention of an entity.

For more information about targeted sentiment, see Targeted sentiment.

See: newMentionSentiment smart constructor.

Constructors

MentionSentiment' 

Fields

Instances

Instances details
FromJSON MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

Generic MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

Associated Types

type Rep MentionSentiment :: Type -> Type #

Read MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

Show MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

NFData MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

Methods

rnf :: MentionSentiment -> () #

Eq MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

Hashable MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

type Rep MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

type Rep MentionSentiment = D1 ('MetaData "MentionSentiment" "Amazonka.Comprehend.Types.MentionSentiment" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "MentionSentiment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sentiment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentType)) :*: S1 ('MetaSel ('Just "sentimentScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentScore))))

newMentionSentiment :: MentionSentiment Source #

Create a value of MentionSentiment 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:sentiment:MentionSentiment', mentionSentiment_sentiment - The sentiment of the mention.

$sel:sentimentScore:MentionSentiment', mentionSentiment_sentimentScore - Undocumented member.