Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data BatchDetectDominantLanguageItemResult = BatchDetectDominantLanguageItemResult' {}
- newBatchDetectDominantLanguageItemResult :: BatchDetectDominantLanguageItemResult
- batchDetectDominantLanguageItemResult_languages :: Lens' BatchDetectDominantLanguageItemResult (Maybe [DominantLanguage])
- batchDetectDominantLanguageItemResult_index :: Lens' BatchDetectDominantLanguageItemResult (Maybe Int)
Documentation
data BatchDetectDominantLanguageItemResult Source #
The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.
See: newBatchDetectDominantLanguageItemResult
smart constructor.
Instances
newBatchDetectDominantLanguageItemResult :: BatchDetectDominantLanguageItemResult Source #
Create a value of BatchDetectDominantLanguageItemResult
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:languages:BatchDetectDominantLanguageItemResult'
, batchDetectDominantLanguageItemResult_languages
- One or more DominantLanguage objects describing the dominant languages
in the document.
$sel:index:BatchDetectDominantLanguageItemResult'
, batchDetectDominantLanguageItemResult_index
- The zero-based index of the document in the input list.
batchDetectDominantLanguageItemResult_languages :: Lens' BatchDetectDominantLanguageItemResult (Maybe [DominantLanguage]) Source #
One or more DominantLanguage objects describing the dominant languages in the document.
batchDetectDominantLanguageItemResult_index :: Lens' BatchDetectDominantLanguageItemResult (Maybe Int) Source #
The zero-based index of the document in the input list.