| 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.Textract.Types.Prediction
Description
Synopsis
- data Prediction = Prediction' {}
- newPrediction :: Prediction
- prediction_confidence :: Lens' Prediction (Maybe Double)
- prediction_value :: Lens' Prediction (Maybe Text)
Documentation
data Prediction Source #
Contains information regarding predicted values returned by Amazon Textract operations, including the predicted value and the confidence in the predicted value.
See: newPrediction smart constructor.
Constructors
| Prediction' | |
Instances
newPrediction :: Prediction Source #
Create a value of Prediction 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:confidence:Prediction', prediction_confidence - Amazon Textract's confidence in its predicted value.
$sel:value:Prediction', prediction_value - The predicted value of a detected object.
prediction_confidence :: Lens' Prediction (Maybe Double) Source #
Amazon Textract's confidence in its predicted value.
prediction_value :: Lens' Prediction (Maybe Text) Source #
The predicted value of a detected object.