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

Description

 
Synopsis

Documentation

data BatchDetectSentimentItemResult Source #

The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

See: newBatchDetectSentimentItemResult smart constructor.

Constructors

BatchDetectSentimentItemResult' 

Fields

Instances

Instances details
FromJSON BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Generic BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Associated Types

type Rep BatchDetectSentimentItemResult :: Type -> Type #

Read BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Show BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

NFData BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Eq BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Hashable BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

type Rep BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

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

newBatchDetectSentimentItemResult :: BatchDetectSentimentItemResult Source #

Create a value of BatchDetectSentimentItemResult 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:index:BatchDetectSentimentItemResult', batchDetectSentimentItemResult_index - The zero-based index of the document in the input list.

$sel:sentiment:BatchDetectSentimentItemResult', batchDetectSentimentItemResult_sentiment - The sentiment detected in the document.

$sel:sentimentScore:BatchDetectSentimentItemResult', batchDetectSentimentItemResult_sentimentScore - The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.

batchDetectSentimentItemResult_index :: Lens' BatchDetectSentimentItemResult (Maybe Int) Source #

The zero-based index of the document in the input list.

batchDetectSentimentItemResult_sentimentScore :: Lens' BatchDetectSentimentItemResult (Maybe SentimentScore) Source #

The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.