Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data BatchDetectSentimentItemResult = BatchDetectSentimentItemResult' {}
- newBatchDetectSentimentItemResult :: BatchDetectSentimentItemResult
- batchDetectSentimentItemResult_index :: Lens' BatchDetectSentimentItemResult (Maybe Int)
- batchDetectSentimentItemResult_sentiment :: Lens' BatchDetectSentimentItemResult (Maybe SentimentType)
- batchDetectSentimentItemResult_sentimentScore :: Lens' BatchDetectSentimentItemResult (Maybe SentimentScore)
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.
BatchDetectSentimentItemResult' | |
|
Instances
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_sentiment :: Lens' BatchDetectSentimentItemResult (Maybe SentimentType) Source #
The sentiment detected in the document.
batchDetectSentimentItemResult_sentimentScore :: Lens' BatchDetectSentimentItemResult (Maybe SentimentScore) Source #
The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.