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

Description

 
Synopsis

Documentation

data ExpenseType Source #

An object used to store information about the Type detected by Amazon Textract.

See: newExpenseType smart constructor.

Constructors

ExpenseType' 

Fields

Instances

Instances details
Eq ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

Read ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

Show ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

Generic ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

Associated Types

type Rep ExpenseType :: Type -> Type #

NFData ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

Methods

rnf :: ExpenseType -> () #

Hashable ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

FromJSON ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

type Rep ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

type Rep ExpenseType = D1 ('MetaData "ExpenseType" "Amazonka.Textract.Types.ExpenseType" "libZSservicesZSamazonka-textractZSamazonka-textract" 'False) (C1 ('MetaCons "ExpenseType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newExpenseType :: ExpenseType Source #

Create a value of ExpenseType 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:text:ExpenseType', expenseType_text - The word or line of text detected by Amazon Textract.

$sel:confidence:ExpenseType', expenseType_confidence - The confidence of accuracy, as a percentage.

expenseType_text :: Lens' ExpenseType (Maybe Text) Source #

The word or line of text detected by Amazon Textract.

expenseType_confidence :: Lens' ExpenseType (Maybe Double) Source #

The confidence of accuracy, as a percentage.