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.ExpenseDetection

Description

 
Synopsis

Documentation

data ExpenseDetection Source #

An object used to store information about the Value or Label detected by Amazon Textract.

See: newExpenseDetection smart constructor.

Constructors

ExpenseDetection' 

Fields

Instances

Instances details
FromJSON ExpenseDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDetection

Generic ExpenseDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDetection

Associated Types

type Rep ExpenseDetection :: Type -> Type #

Read ExpenseDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDetection

Show ExpenseDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDetection

NFData ExpenseDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDetection

Methods

rnf :: ExpenseDetection -> () #

Eq ExpenseDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDetection

Hashable ExpenseDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDetection

type Rep ExpenseDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDetection

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

newExpenseDetection :: ExpenseDetection Source #

Create a value of ExpenseDetection 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:ExpenseDetection', expenseDetection_confidence - The confidence in detection, as a percentage

$sel:geometry:ExpenseDetection', expenseDetection_geometry - Undocumented member.

$sel:text:ExpenseDetection', expenseDetection_text - The word or line of text recognized by Amazon Textract

expenseDetection_confidence :: Lens' ExpenseDetection (Maybe Double) Source #

The confidence in detection, as a percentage

expenseDetection_text :: Lens' ExpenseDetection (Maybe Text) Source #

The word or line of text recognized by Amazon Textract