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

Description

Analyzes an input document for financially related relationships between text.

Information is returned as ExpenseDocuments and seperated as follows.

  • LineItemGroups- A data set containing LineItems which store information about the lines of text, such as an item purchased and its price on a receipt.
  • SummaryFields- Contains all other information a receipt, such as header information or the vendors name.
Synopsis

Creating a Request

data AnalyzeExpense Source #

See: newAnalyzeExpense smart constructor.

Constructors

AnalyzeExpense' 

Fields

Instances

Instances details
Eq AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Read AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Show AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Generic AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Associated Types

type Rep AnalyzeExpense :: Type -> Type #

NFData AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Methods

rnf :: AnalyzeExpense -> () #

Hashable AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

ToJSON AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

AWSRequest AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Associated Types

type AWSResponse AnalyzeExpense #

ToHeaders AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

ToPath AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

ToQuery AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

type Rep AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

type Rep AnalyzeExpense = D1 ('MetaData "AnalyzeExpense" "Amazonka.Textract.AnalyzeExpense" "libZSservicesZSamazonka-textractZSamazonka-textract" 'False) (C1 ('MetaCons "AnalyzeExpense'" 'PrefixI 'True) (S1 ('MetaSel ('Just "document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Document)))
type AWSResponse AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

newAnalyzeExpense Source #

Create a value of AnalyzeExpense 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:document:AnalyzeExpense', analyzeExpense_document - Undocumented member.

Request Lenses

Destructuring the Response

data AnalyzeExpenseResponse Source #

See: newAnalyzeExpenseResponse smart constructor.

Constructors

AnalyzeExpenseResponse' 

Fields

Instances

Instances details
Eq AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Read AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Show AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Generic AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Associated Types

type Rep AnalyzeExpenseResponse :: Type -> Type #

NFData AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Methods

rnf :: AnalyzeExpenseResponse -> () #

type Rep AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

type Rep AnalyzeExpenseResponse = D1 ('MetaData "AnalyzeExpenseResponse" "Amazonka.Textract.AnalyzeExpense" "libZSservicesZSamazonka-textractZSamazonka-textract" 'False) (C1 ('MetaCons "AnalyzeExpenseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentMetadata)) :*: (S1 ('MetaSel ('Just "expenseDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExpenseDocument])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newAnalyzeExpenseResponse Source #

Create a value of AnalyzeExpenseResponse 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:documentMetadata:AnalyzeExpenseResponse', analyzeExpenseResponse_documentMetadata - Undocumented member.

$sel:expenseDocuments:AnalyzeExpenseResponse', analyzeExpenseResponse_expenseDocuments - The expenses detected by Amazon Textract.

$sel:httpStatus:AnalyzeExpenseResponse', analyzeExpenseResponse_httpStatus - The response's http status code.

Response Lenses