| 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 |
Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult
Description
Synopsis
- data BatchDetectSyntaxItemResult = BatchDetectSyntaxItemResult' {
- index :: Maybe Int
- syntaxTokens :: Maybe [SyntaxToken]
- newBatchDetectSyntaxItemResult :: BatchDetectSyntaxItemResult
- batchDetectSyntaxItemResult_index :: Lens' BatchDetectSyntaxItemResult (Maybe Int)
- batchDetectSyntaxItemResult_syntaxTokens :: Lens' BatchDetectSyntaxItemResult (Maybe [SyntaxToken])
Documentation
data BatchDetectSyntaxItemResult Source #
The result of calling the operation. The operation returns one object that is successfully processed by the operation.
See: newBatchDetectSyntaxItemResult smart constructor.
Constructors
| BatchDetectSyntaxItemResult' | |
Fields
| |
Instances
newBatchDetectSyntaxItemResult :: BatchDetectSyntaxItemResult Source #
Create a value of BatchDetectSyntaxItemResult 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:BatchDetectSyntaxItemResult', batchDetectSyntaxItemResult_index - The zero-based index of the document in the input list.
$sel:syntaxTokens:BatchDetectSyntaxItemResult', batchDetectSyntaxItemResult_syntaxTokens - The syntax tokens for the words in the document, one token for each
word.
batchDetectSyntaxItemResult_index :: Lens' BatchDetectSyntaxItemResult (Maybe Int) Source #
The zero-based index of the document in the input list.
batchDetectSyntaxItemResult_syntaxTokens :: Lens' BatchDetectSyntaxItemResult (Maybe [SyntaxToken]) Source #
The syntax tokens for the words in the document, one token for each word.