amazonka-textract-2.0: Amazon Textract SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Textract.Types.Prediction

Description

 
Synopsis

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' 

Fields

Instances

Instances details
FromJSON Prediction Source # 
Instance details

Defined in Amazonka.Textract.Types.Prediction

Generic Prediction Source # 
Instance details

Defined in Amazonka.Textract.Types.Prediction

Associated Types

type Rep Prediction :: Type -> Type #

Read Prediction Source # 
Instance details

Defined in Amazonka.Textract.Types.Prediction

Show Prediction Source # 
Instance details

Defined in Amazonka.Textract.Types.Prediction

NFData Prediction Source # 
Instance details

Defined in Amazonka.Textract.Types.Prediction

Methods

rnf :: Prediction -> () #

Eq Prediction Source # 
Instance details

Defined in Amazonka.Textract.Types.Prediction

Hashable Prediction Source # 
Instance details

Defined in Amazonka.Textract.Types.Prediction

type Rep Prediction Source # 
Instance details

Defined in Amazonka.Textract.Types.Prediction

type Rep Prediction = D1 ('MetaData "Prediction" "Amazonka.Textract.Types.Prediction" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "Prediction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.