libZSservicesZSamazonka-textractZSamazonka-textract
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Textract.Types.ExpenseField

Description

 
Synopsis

Documentation

data ExpenseField Source #

Breakdown of detected information, seperated into the catagories Type, LableDetection, and ValueDetection

See: newExpenseField smart constructor.

Constructors

ExpenseField' 

Fields

Instances

Instances details
Eq ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Read ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Show ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Generic ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Associated Types

type Rep ExpenseField :: Type -> Type #

NFData ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Methods

rnf :: ExpenseField -> () #

Hashable ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

FromJSON ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

type Rep ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

type Rep ExpenseField = D1 ('MetaData "ExpenseField" "Amazonka.Textract.Types.ExpenseField" "libZSservicesZSamazonka-textractZSamazonka-textract" 'False) (C1 ('MetaCons "ExpenseField'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "labelDetection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExpenseDetection)) :*: S1 ('MetaSel ('Just "valueDetection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExpenseDetection))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExpenseType)) :*: S1 ('MetaSel ('Just "pageNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newExpenseField :: ExpenseField Source #

Create a value of ExpenseField 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:labelDetection:ExpenseField', expenseField_labelDetection - The explicitly stated label of a detected element.

$sel:valueDetection:ExpenseField', expenseField_valueDetection - The value of a detected element. Present in explicit and implicit elements.

$sel:type':ExpenseField', expenseField_type - The implied label of a detected element. Present alongside LabelDetection for explicit elements.

$sel:pageNumber:ExpenseField', expenseField_pageNumber - The page number the value was detected on.

expenseField_labelDetection :: Lens' ExpenseField (Maybe ExpenseDetection) Source #

The explicitly stated label of a detected element.

expenseField_valueDetection :: Lens' ExpenseField (Maybe ExpenseDetection) Source #

The value of a detected element. Present in explicit and implicit elements.

expenseField_type :: Lens' ExpenseField (Maybe ExpenseType) Source #

The implied label of a detected element. Present alongside LabelDetection for explicit elements.

expenseField_pageNumber :: Lens' ExpenseField (Maybe Natural) Source #

The page number the value was detected on.