libZSservicesZSamazonka-comprehendZSamazonka-comprehend
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.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
Eq BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Read BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Show 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 #

NFData BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Hashable BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

FromJSON 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" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "BatchDetectSentimentItemResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sentiment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentType)) :*: (S1 ('MetaSel ('Just "sentimentScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentScore)) :*: S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

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

$sel:index:BatchDetectSentimentItemResult', batchDetectSentimentItemResult_index - 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.

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

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