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

Description

Derived from API version 2018-06-27 of the AWS service descriptions, licensed under Apache 2.0.

Amazon Textract detects and analyzes text in documents and converts it into machine-readable text. This is the API reference documentation for Amazon Textract.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-06-27 of the Amazon Textract SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Textract.

AccessDeniedException

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You aren't authorized to perform the action. Use the Amazon Resource Name (ARN) of an authorized user or IAM role to perform the operation.

BadDocumentException

_BadDocumentException :: AsError a => Fold a ServiceError Source #

Amazon Textract isn't able to read the document. For more information on the document limits in Amazon Textract, see limits.

DocumentTooLargeException

_DocumentTooLargeException :: AsError a => Fold a ServiceError Source #

The document can't be processed because it's too large. The maximum document size for synchronous operations 10 MB. The maximum document size for asynchronous operations is 500 MB for PDF files.

HumanLoopQuotaExceededException

_HumanLoopQuotaExceededException :: AsError a => Fold a ServiceError Source #

Indicates you have exceeded the maximum number of active human in the loop workflows available

IdempotentParameterMismatchException

_IdempotentParameterMismatchException :: AsError a => Fold a ServiceError Source #

A ClientRequestToken input parameter was reused with an operation, but at least one of the other input parameters is different from the previous call to the operation.

InternalServerError

_InternalServerError :: AsError a => Fold a ServiceError Source #

Amazon Textract experienced a service issue. Try your call again.

InvalidJobIdException

_InvalidJobIdException :: AsError a => Fold a ServiceError Source #

An invalid job identifier was passed to an asynchronous analysis operation.

InvalidKMSKeyException

_InvalidKMSKeyException :: AsError a => Fold a ServiceError Source #

Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key was entered incorrectly.

InvalidParameterException

_InvalidParameterException :: AsError a => Fold a ServiceError Source #

An input parameter violated a constraint. For example, in synchronous operations, an InvalidParameterException exception occurs when neither of the S3Object or Bytes values are supplied in the Document request parameter. Validate your parameter before calling the API operation again.

InvalidS3ObjectException

_InvalidS3ObjectException :: AsError a => Fold a ServiceError Source #

Amazon Textract is unable to access the S3 object that's specified in the request. for more information, Configure Access to Amazon S3 For troubleshooting information, see Troubleshooting Amazon S3

LimitExceededException

_LimitExceededException :: AsError a => Fold a ServiceError Source #

An Amazon Textract service limit was exceeded. For example, if you start too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection, for example) raise a LimitExceededException exception (HTTP status code: 400) until the number of concurrently running jobs is below the Amazon Textract service limit.

ProvisionedThroughputExceededException

_ProvisionedThroughputExceededException :: AsError a => Fold a ServiceError Source #

The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Textract.

ThrottlingException

_ThrottlingException :: AsError a => Fold a ServiceError Source #

Amazon Textract is temporarily unable to process the request. Try your call again.

UnsupportedDocumentException

_UnsupportedDocumentException :: AsError a => Fold a ServiceError Source #

The format of the input document isn't supported. Documents for operations can be in PNG, JPEG, PDF, or TIFF format.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

AnalyzeDocument

data AnalyzeDocument Source #

See: newAnalyzeDocument smart constructor.

Instances

Instances details
ToJSON AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

ToHeaders AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

ToPath AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

ToQuery AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

AWSRequest AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

Associated Types

type AWSResponse AnalyzeDocument #

Generic AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

Associated Types

type Rep AnalyzeDocument :: Type -> Type #

Read AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

Show AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

NFData AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

Methods

rnf :: AnalyzeDocument -> () #

Eq AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

Hashable AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

type AWSResponse AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

type Rep AnalyzeDocument Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

type Rep AnalyzeDocument = D1 ('MetaData "AnalyzeDocument" "Amazonka.Textract.AnalyzeDocument" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "AnalyzeDocument'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "humanLoopConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HumanLoopConfig)) :*: S1 ('MetaSel ('Just "queriesConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueriesConfig))) :*: (S1 ('MetaSel ('Just "document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Document) :*: S1 ('MetaSel ('Just "featureTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FeatureType]))))

newAnalyzeDocument Source #

Create a value of AnalyzeDocument 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:humanLoopConfig:AnalyzeDocument', analyzeDocument_humanLoopConfig - Sets the configuration for the human in the loop workflow for analyzing documents.

$sel:queriesConfig:AnalyzeDocument', analyzeDocument_queriesConfig - Contains Queries and the alias for those Queries, as determined by the input.

$sel:document:AnalyzeDocument', analyzeDocument_document - The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG, PNG, PDF, or TIFF format.

If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes field.

$sel:featureTypes:AnalyzeDocument', analyzeDocument_featureTypes - A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the locations of detected signatures. To perform both forms and table analysis, add TABLES and FORMS to FeatureTypes. To detect signatures within form data and table data, add SIGNATURES to either TABLES or FORMS. All lines and words detected in the document are included in the response (including text that isn't related to the value of FeatureTypes).

data AnalyzeDocumentResponse Source #

See: newAnalyzeDocumentResponse smart constructor.

Instances

Instances details
Generic AnalyzeDocumentResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

Associated Types

type Rep AnalyzeDocumentResponse :: Type -> Type #

Read AnalyzeDocumentResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

Show AnalyzeDocumentResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

NFData AnalyzeDocumentResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

Methods

rnf :: AnalyzeDocumentResponse -> () #

Eq AnalyzeDocumentResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

type Rep AnalyzeDocumentResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeDocument

type Rep AnalyzeDocumentResponse = D1 ('MetaData "AnalyzeDocumentResponse" "Amazonka.Textract.AnalyzeDocument" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "AnalyzeDocumentResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "analyzeDocumentModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "blocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Block]))) :*: (S1 ('MetaSel ('Just "documentMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentMetadata)) :*: (S1 ('MetaSel ('Just "humanLoopActivationOutput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HumanLoopActivationOutput)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newAnalyzeDocumentResponse Source #

Create a value of AnalyzeDocumentResponse 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:analyzeDocumentModelVersion:AnalyzeDocumentResponse', analyzeDocumentResponse_analyzeDocumentModelVersion - The version of the model used to analyze the document.

AnalyzeDocumentResponse, analyzeDocumentResponse_blocks - The items that are detected and analyzed by AnalyzeDocument.

$sel:documentMetadata:AnalyzeDocumentResponse', analyzeDocumentResponse_documentMetadata - Metadata about the analyzed document. An example is the number of pages.

$sel:humanLoopActivationOutput:AnalyzeDocumentResponse', analyzeDocumentResponse_humanLoopActivationOutput - Shows the results of the human in the loop evaluation.

$sel:httpStatus:AnalyzeDocumentResponse', analyzeDocumentResponse_httpStatus - The response's http status code.

AnalyzeExpense

data AnalyzeExpense Source #

See: newAnalyzeExpense smart constructor.

Instances

Instances details
ToJSON AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.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

AWSRequest AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Associated Types

type AWSResponse AnalyzeExpense #

Generic AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Associated Types

type Rep AnalyzeExpense :: Type -> Type #

Read AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Show AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

NFData AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Methods

rnf :: AnalyzeExpense -> () #

Eq AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Hashable AnalyzeExpense Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

type AWSResponse 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" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "AnalyzeExpense'" 'PrefixI 'True) (S1 ('MetaSel ('Just "document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Document)))

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.

data AnalyzeExpenseResponse Source #

See: newAnalyzeExpenseResponse smart constructor.

Instances

Instances details
Generic AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Associated Types

type Rep AnalyzeExpenseResponse :: Type -> Type #

Read AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Show AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

NFData AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

Methods

rnf :: AnalyzeExpenseResponse -> () #

Eq AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

type Rep AnalyzeExpenseResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeExpense

type Rep AnalyzeExpenseResponse = D1 ('MetaData "AnalyzeExpenseResponse" "Amazonka.Textract.AnalyzeExpense" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" '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.

AnalyzeID

data AnalyzeID Source #

See: newAnalyzeID smart constructor.

Constructors

AnalyzeID' (NonEmpty Document) 

Instances

Instances details
ToJSON AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

ToHeaders AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

Methods

toHeaders :: AnalyzeID -> [Header] #

ToPath AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

ToQuery AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

AWSRequest AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

Associated Types

type AWSResponse AnalyzeID #

Generic AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

Associated Types

type Rep AnalyzeID :: Type -> Type #

Read AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

Show AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

NFData AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

Methods

rnf :: AnalyzeID -> () #

Eq AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

Hashable AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

type AWSResponse AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

type Rep AnalyzeID Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

type Rep AnalyzeID = D1 ('MetaData "AnalyzeID" "Amazonka.Textract.AnalyzeID" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "AnalyzeID'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentPages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Document))))

newAnalyzeID Source #

Create a value of AnalyzeID 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:documentPages:AnalyzeID', analyzeID_documentPages - The document being passed to AnalyzeID.

data AnalyzeIDResponse Source #

See: newAnalyzeIDResponse smart constructor.

Instances

Instances details
Generic AnalyzeIDResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

Associated Types

type Rep AnalyzeIDResponse :: Type -> Type #

Read AnalyzeIDResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

Show AnalyzeIDResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

NFData AnalyzeIDResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

Methods

rnf :: AnalyzeIDResponse -> () #

Eq AnalyzeIDResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

type Rep AnalyzeIDResponse Source # 
Instance details

Defined in Amazonka.Textract.AnalyzeID

type Rep AnalyzeIDResponse = D1 ('MetaData "AnalyzeIDResponse" "Amazonka.Textract.AnalyzeID" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "AnalyzeIDResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "analyzeIDModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentMetadata))) :*: (S1 ('MetaSel ('Just "identityDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IdentityDocument])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newAnalyzeIDResponse Source #

Create a value of AnalyzeIDResponse 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:analyzeIDModelVersion:AnalyzeIDResponse', analyzeIDResponse_analyzeIDModelVersion - The version of the AnalyzeIdentity API being used to process documents.

$sel:documentMetadata:AnalyzeIDResponse', analyzeIDResponse_documentMetadata - Undocumented member.

$sel:identityDocuments:AnalyzeIDResponse', analyzeIDResponse_identityDocuments - The list of documents processed by AnalyzeID. Includes a number denoting their place in the list and the response structure for the document.

$sel:httpStatus:AnalyzeIDResponse', analyzeIDResponse_httpStatus - The response's http status code.

DetectDocumentText

data DetectDocumentText Source #

See: newDetectDocumentText smart constructor.

Instances

Instances details
ToJSON DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

ToHeaders DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

ToPath DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

ToQuery DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

AWSRequest DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

Associated Types

type AWSResponse DetectDocumentText #

Generic DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

Associated Types

type Rep DetectDocumentText :: Type -> Type #

Read DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

Show DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

NFData DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

Methods

rnf :: DetectDocumentText -> () #

Eq DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

Hashable DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

type AWSResponse DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

type Rep DetectDocumentText Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

type Rep DetectDocumentText = D1 ('MetaData "DetectDocumentText" "Amazonka.Textract.DetectDocumentText" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "DetectDocumentText'" 'PrefixI 'True) (S1 ('MetaSel ('Just "document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Document)))

newDetectDocumentText Source #

Create a value of DetectDocumentText 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:DetectDocumentText', detectDocumentText_document - The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.

If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes field.

data DetectDocumentTextResponse Source #

See: newDetectDocumentTextResponse smart constructor.

Instances

Instances details
Generic DetectDocumentTextResponse Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

Associated Types

type Rep DetectDocumentTextResponse :: Type -> Type #

Read DetectDocumentTextResponse Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

Show DetectDocumentTextResponse Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

NFData DetectDocumentTextResponse Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

Eq DetectDocumentTextResponse Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

type Rep DetectDocumentTextResponse Source # 
Instance details

Defined in Amazonka.Textract.DetectDocumentText

type Rep DetectDocumentTextResponse = D1 ('MetaData "DetectDocumentTextResponse" "Amazonka.Textract.DetectDocumentText" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "DetectDocumentTextResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "blocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Block])) :*: S1 ('MetaSel ('Just "detectDocumentTextModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "documentMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentMetadata)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDetectDocumentTextResponse Source #

Create a value of DetectDocumentTextResponse 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:

DetectDocumentTextResponse, detectDocumentTextResponse_blocks - An array of Block objects that contain the text that's detected in the document.

$sel:detectDocumentTextModelVersion:DetectDocumentTextResponse', detectDocumentTextResponse_detectDocumentTextModelVersion -

$sel:documentMetadata:DetectDocumentTextResponse', detectDocumentTextResponse_documentMetadata - Metadata about the document. It contains the number of pages that are detected in the document.

$sel:httpStatus:DetectDocumentTextResponse', detectDocumentTextResponse_httpStatus - The response's http status code.

GetDocumentAnalysis

data GetDocumentAnalysis Source #

See: newGetDocumentAnalysis smart constructor.

Instances

Instances details
ToJSON GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

ToHeaders GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

ToPath GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

ToQuery GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

AWSRequest GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

Associated Types

type AWSResponse GetDocumentAnalysis #

Generic GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

Associated Types

type Rep GetDocumentAnalysis :: Type -> Type #

Read GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

Show GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

NFData GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

Methods

rnf :: GetDocumentAnalysis -> () #

Eq GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

Hashable GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

type AWSResponse GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

type Rep GetDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

type Rep GetDocumentAnalysis = D1 ('MetaData "GetDocumentAnalysis" "Amazonka.Textract.GetDocumentAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "GetDocumentAnalysis'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetDocumentAnalysis Source #

Create a value of GetDocumentAnalysis 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:maxResults:GetDocumentAnalysis', getDocumentAnalysis_maxResults - The maximum number of results to return per paginated call. The largest value that you can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is returned. The default value is 1,000.

GetDocumentAnalysis, getDocumentAnalysis_nextToken - If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks.

$sel:jobId:GetDocumentAnalysis', getDocumentAnalysis_jobId - A unique identifier for the text-detection job. The JobId is returned from StartDocumentAnalysis. A JobId value is only valid for 7 days.

data GetDocumentAnalysisResponse Source #

See: newGetDocumentAnalysisResponse smart constructor.

Instances

Instances details
Generic GetDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

Associated Types

type Rep GetDocumentAnalysisResponse :: Type -> Type #

Read GetDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

Show GetDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

NFData GetDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

Eq GetDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

type Rep GetDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentAnalysis

type Rep GetDocumentAnalysisResponse = D1 ('MetaData "GetDocumentAnalysisResponse" "Amazonka.Textract.GetDocumentAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "GetDocumentAnalysisResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "analyzeDocumentModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "blocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Block]))) :*: (S1 ('MetaSel ('Just "documentMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentMetadata)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))) :*: ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Warning])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetDocumentAnalysisResponse Source #

Create a value of GetDocumentAnalysisResponse 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:analyzeDocumentModelVersion:GetDocumentAnalysisResponse', getDocumentAnalysisResponse_analyzeDocumentModelVersion -

GetDocumentAnalysisResponse, getDocumentAnalysisResponse_blocks - The results of the text-analysis operation.

$sel:documentMetadata:GetDocumentAnalysisResponse', getDocumentAnalysisResponse_documentMetadata - Information about a document that Amazon Textract processed. DocumentMetadata is returned in every page of paginated responses from an Amazon Textract video operation.

$sel:jobStatus:GetDocumentAnalysisResponse', getDocumentAnalysisResponse_jobStatus - The current status of the text detection job.

GetDocumentAnalysis, getDocumentAnalysisResponse_nextToken - If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text detection results.

$sel:statusMessage:GetDocumentAnalysisResponse', getDocumentAnalysisResponse_statusMessage - Returns if the detection job could not be completed. Contains explanation for what error occured.

$sel:warnings:GetDocumentAnalysisResponse', getDocumentAnalysisResponse_warnings - A list of warnings that occurred during the document-analysis operation.

$sel:httpStatus:GetDocumentAnalysisResponse', getDocumentAnalysisResponse_httpStatus - The response's http status code.

GetDocumentTextDetection

data GetDocumentTextDetection Source #

See: newGetDocumentTextDetection smart constructor.

Instances

Instances details
ToJSON GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

ToHeaders GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

ToPath GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

ToQuery GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

AWSRequest GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

Generic GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

Associated Types

type Rep GetDocumentTextDetection :: Type -> Type #

Read GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

Show GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

NFData GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

Eq GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

Hashable GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

type AWSResponse GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

type Rep GetDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

type Rep GetDocumentTextDetection = D1 ('MetaData "GetDocumentTextDetection" "Amazonka.Textract.GetDocumentTextDetection" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "GetDocumentTextDetection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetDocumentTextDetection Source #

Create a value of GetDocumentTextDetection 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:maxResults:GetDocumentTextDetection', getDocumentTextDetection_maxResults - The maximum number of results to return per paginated call. The largest value you can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is returned. The default value is 1,000.

GetDocumentTextDetection, getDocumentTextDetection_nextToken - If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks.

$sel:jobId:GetDocumentTextDetection', getDocumentTextDetection_jobId - A unique identifier for the text detection job. The JobId is returned from StartDocumentTextDetection. A JobId value is only valid for 7 days.

data GetDocumentTextDetectionResponse Source #

See: newGetDocumentTextDetectionResponse smart constructor.

Instances

Instances details
Generic GetDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

Associated Types

type Rep GetDocumentTextDetectionResponse :: Type -> Type #

Read GetDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

Show GetDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

NFData GetDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

Eq GetDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

type Rep GetDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.GetDocumentTextDetection

type Rep GetDocumentTextDetectionResponse = D1 ('MetaData "GetDocumentTextDetectionResponse" "Amazonka.Textract.GetDocumentTextDetection" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "GetDocumentTextDetectionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "blocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Block])) :*: S1 ('MetaSel ('Just "detectDocumentTextModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "documentMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentMetadata)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))) :*: ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Warning])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetDocumentTextDetectionResponse Source #

Create a value of GetDocumentTextDetectionResponse 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:

GetDocumentTextDetectionResponse, getDocumentTextDetectionResponse_blocks - The results of the text-detection operation.

$sel:detectDocumentTextModelVersion:GetDocumentTextDetectionResponse', getDocumentTextDetectionResponse_detectDocumentTextModelVersion -

$sel:documentMetadata:GetDocumentTextDetectionResponse', getDocumentTextDetectionResponse_documentMetadata - Information about a document that Amazon Textract processed. DocumentMetadata is returned in every page of paginated responses from an Amazon Textract video operation.

$sel:jobStatus:GetDocumentTextDetectionResponse', getDocumentTextDetectionResponse_jobStatus - The current status of the text detection job.

GetDocumentTextDetection, getDocumentTextDetectionResponse_nextToken - If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text-detection results.

$sel:statusMessage:GetDocumentTextDetectionResponse', getDocumentTextDetectionResponse_statusMessage - Returns if the detection job could not be completed. Contains explanation for what error occured.

$sel:warnings:GetDocumentTextDetectionResponse', getDocumentTextDetectionResponse_warnings - A list of warnings that occurred during the text-detection operation for the document.

$sel:httpStatus:GetDocumentTextDetectionResponse', getDocumentTextDetectionResponse_httpStatus - The response's http status code.

GetExpenseAnalysis

data GetExpenseAnalysis Source #

See: newGetExpenseAnalysis smart constructor.

Instances

Instances details
ToJSON GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

ToHeaders GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

ToPath GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

ToQuery GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

AWSRequest GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

Associated Types

type AWSResponse GetExpenseAnalysis #

Generic GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

Associated Types

type Rep GetExpenseAnalysis :: Type -> Type #

Read GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

Show GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

NFData GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

Methods

rnf :: GetExpenseAnalysis -> () #

Eq GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

Hashable GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

type AWSResponse GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

type Rep GetExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

type Rep GetExpenseAnalysis = D1 ('MetaData "GetExpenseAnalysis" "Amazonka.Textract.GetExpenseAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "GetExpenseAnalysis'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetExpenseAnalysis Source #

Create a value of GetExpenseAnalysis 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:maxResults:GetExpenseAnalysis', getExpenseAnalysis_maxResults - The maximum number of results to return per paginated call. The largest value you can specify is 20. If you specify a value greater than 20, a maximum of 20 results is returned. The default value is 20.

GetExpenseAnalysis, getExpenseAnalysis_nextToken - If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks.

$sel:jobId:GetExpenseAnalysis', getExpenseAnalysis_jobId - A unique identifier for the text detection job. The JobId is returned from StartExpenseAnalysis. A JobId value is only valid for 7 days.

data GetExpenseAnalysisResponse Source #

See: newGetExpenseAnalysisResponse smart constructor.

Instances

Instances details
Generic GetExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

Associated Types

type Rep GetExpenseAnalysisResponse :: Type -> Type #

Read GetExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

Show GetExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

NFData GetExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

Eq GetExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

type Rep GetExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetExpenseAnalysis

type Rep GetExpenseAnalysisResponse = D1 ('MetaData "GetExpenseAnalysisResponse" "Amazonka.Textract.GetExpenseAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "GetExpenseAnalysisResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "analyzeExpenseModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentMetadata))) :*: (S1 ('MetaSel ('Just "expenseDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExpenseDocument])) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))) :*: ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Warning])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetExpenseAnalysisResponse Source #

Create a value of GetExpenseAnalysisResponse 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:analyzeExpenseModelVersion:GetExpenseAnalysisResponse', getExpenseAnalysisResponse_analyzeExpenseModelVersion - The current model version of AnalyzeExpense.

$sel:documentMetadata:GetExpenseAnalysisResponse', getExpenseAnalysisResponse_documentMetadata - Information about a document that Amazon Textract processed. DocumentMetadata is returned in every page of paginated responses from an Amazon Textract operation.

$sel:expenseDocuments:GetExpenseAnalysisResponse', getExpenseAnalysisResponse_expenseDocuments - The expenses detected by Amazon Textract.

$sel:jobStatus:GetExpenseAnalysisResponse', getExpenseAnalysisResponse_jobStatus - The current status of the text detection job.

GetExpenseAnalysis, getExpenseAnalysisResponse_nextToken - If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text-detection results.

$sel:statusMessage:GetExpenseAnalysisResponse', getExpenseAnalysisResponse_statusMessage - Returns if the detection job could not be completed. Contains explanation for what error occured.

$sel:warnings:GetExpenseAnalysisResponse', getExpenseAnalysisResponse_warnings - A list of warnings that occurred during the text-detection operation for the document.

$sel:httpStatus:GetExpenseAnalysisResponse', getExpenseAnalysisResponse_httpStatus - The response's http status code.

GetLendingAnalysis

data GetLendingAnalysis Source #

See: newGetLendingAnalysis smart constructor.

Instances

Instances details
ToJSON GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

ToHeaders GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

ToPath GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

ToQuery GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

AWSRequest GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

Associated Types

type AWSResponse GetLendingAnalysis #

Generic GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

Associated Types

type Rep GetLendingAnalysis :: Type -> Type #

Read GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

Show GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

NFData GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

Methods

rnf :: GetLendingAnalysis -> () #

Eq GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

Hashable GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

type AWSResponse GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

type Rep GetLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

type Rep GetLendingAnalysis = D1 ('MetaData "GetLendingAnalysis" "Amazonka.Textract.GetLendingAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "GetLendingAnalysis'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetLendingAnalysis Source #

Create a value of GetLendingAnalysis 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:maxResults:GetLendingAnalysis', getLendingAnalysis_maxResults - The maximum number of results to return per paginated call. The largest value that you can specify is 30. If you specify a value greater than 30, a maximum of 30 results is returned. The default value is 30.

GetLendingAnalysis, getLendingAnalysis_nextToken - If the previous response was incomplete, Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of lending results.

$sel:jobId:GetLendingAnalysis', getLendingAnalysis_jobId - A unique identifier for the lending or text-detection job. The JobId is returned from StartLendingAnalysis. A JobId value is only valid for 7 days.

data GetLendingAnalysisResponse Source #

See: newGetLendingAnalysisResponse smart constructor.

Instances

Instances details
Generic GetLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

Associated Types

type Rep GetLendingAnalysisResponse :: Type -> Type #

Read GetLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

Show GetLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

NFData GetLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

Eq GetLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

type Rep GetLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysis

type Rep GetLendingAnalysisResponse = D1 ('MetaData "GetLendingAnalysisResponse" "Amazonka.Textract.GetLendingAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "GetLendingAnalysisResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "analyzeLendingModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentMetadata))) :*: (S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "results") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LendingResult])) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Warning])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetLendingAnalysisResponse Source #

Create a value of GetLendingAnalysisResponse 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:analyzeLendingModelVersion:GetLendingAnalysisResponse', getLendingAnalysisResponse_analyzeLendingModelVersion - The current model version of the Analyze Lending API.

$sel:documentMetadata:GetLendingAnalysisResponse', getLendingAnalysisResponse_documentMetadata - Undocumented member.

$sel:jobStatus:GetLendingAnalysisResponse', getLendingAnalysisResponse_jobStatus - The current status of the lending analysis job.

GetLendingAnalysis, getLendingAnalysisResponse_nextToken - If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of lending results.

$sel:results:GetLendingAnalysisResponse', getLendingAnalysisResponse_results - Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.

$sel:statusMessage:GetLendingAnalysisResponse', getLendingAnalysisResponse_statusMessage - Returns if the lending analysis job could not be completed. Contains explanation for what error occurred.

$sel:warnings:GetLendingAnalysisResponse', getLendingAnalysisResponse_warnings - A list of warnings that occurred during the lending analysis operation.

$sel:httpStatus:GetLendingAnalysisResponse', getLendingAnalysisResponse_httpStatus - The response's http status code.

GetLendingAnalysisSummary

data GetLendingAnalysisSummary Source #

See: newGetLendingAnalysisSummary smart constructor.

Instances

Instances details
ToJSON GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

ToHeaders GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

ToPath GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

ToQuery GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

AWSRequest GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

Generic GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

Associated Types

type Rep GetLendingAnalysisSummary :: Type -> Type #

Read GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

Show GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

NFData GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

Eq GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

Hashable GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

type AWSResponse GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

type Rep GetLendingAnalysisSummary Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

type Rep GetLendingAnalysisSummary = D1 ('MetaData "GetLendingAnalysisSummary" "Amazonka.Textract.GetLendingAnalysisSummary" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "GetLendingAnalysisSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetLendingAnalysisSummary Source #

Create a value of GetLendingAnalysisSummary 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:jobId:GetLendingAnalysisSummary', getLendingAnalysisSummary_jobId - A unique identifier for the lending or text-detection job. The JobId is returned from StartLendingAnalysis. A JobId value is only valid for 7 days.

data GetLendingAnalysisSummaryResponse Source #

See: newGetLendingAnalysisSummaryResponse smart constructor.

Instances

Instances details
Generic GetLendingAnalysisSummaryResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

Associated Types

type Rep GetLendingAnalysisSummaryResponse :: Type -> Type #

Read GetLendingAnalysisSummaryResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

Show GetLendingAnalysisSummaryResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

NFData GetLendingAnalysisSummaryResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

Eq GetLendingAnalysisSummaryResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

type Rep GetLendingAnalysisSummaryResponse Source # 
Instance details

Defined in Amazonka.Textract.GetLendingAnalysisSummary

type Rep GetLendingAnalysisSummaryResponse = D1 ('MetaData "GetLendingAnalysisSummaryResponse" "Amazonka.Textract.GetLendingAnalysisSummary" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "GetLendingAnalysisSummaryResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "analyzeLendingModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "documentMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentMetadata)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))) :*: ((S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LendingSummary))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Warning])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetLendingAnalysisSummaryResponse Source #

Create a value of GetLendingAnalysisSummaryResponse 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:analyzeLendingModelVersion:GetLendingAnalysisSummaryResponse', getLendingAnalysisSummaryResponse_analyzeLendingModelVersion - The current model version of the Analyze Lending API.

$sel:documentMetadata:GetLendingAnalysisSummaryResponse', getLendingAnalysisSummaryResponse_documentMetadata - Undocumented member.

$sel:jobStatus:GetLendingAnalysisSummaryResponse', getLendingAnalysisSummaryResponse_jobStatus - The current status of the lending analysis job.

$sel:statusMessage:GetLendingAnalysisSummaryResponse', getLendingAnalysisSummaryResponse_statusMessage - Returns if the lending analysis could not be completed. Contains explanation for what error occurred.

$sel:summary:GetLendingAnalysisSummaryResponse', getLendingAnalysisSummaryResponse_summary - Contains summary information for documents grouped by type.

$sel:warnings:GetLendingAnalysisSummaryResponse', getLendingAnalysisSummaryResponse_warnings - A list of warnings that occurred during the lending analysis operation.

$sel:httpStatus:GetLendingAnalysisSummaryResponse', getLendingAnalysisSummaryResponse_httpStatus - The response's http status code.

StartDocumentAnalysis

data StartDocumentAnalysis Source #

See: newStartDocumentAnalysis smart constructor.

Instances

Instances details
ToJSON StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

ToHeaders StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

ToPath StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

ToQuery StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

AWSRequest StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

Associated Types

type AWSResponse StartDocumentAnalysis #

Generic StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

Associated Types

type Rep StartDocumentAnalysis :: Type -> Type #

Read StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

Show StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

NFData StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

Methods

rnf :: StartDocumentAnalysis -> () #

Eq StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

Hashable StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

type AWSResponse StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

type Rep StartDocumentAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

newStartDocumentAnalysis Source #

Create a value of StartDocumentAnalysis 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:clientRequestToken:StartDocumentAnalysis', startDocumentAnalysis_clientRequestToken - The idempotent token that you use to identify the start request. If you use the same token with multiple StartDocumentAnalysis requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidentally started more than once. For more information, see Calling Amazon Textract Asynchronous Operations.

$sel:jobTag:StartDocumentAnalysis', startDocumentAnalysis_jobTag - An identifier that you specify that's included in the completion notification published to the Amazon SNS topic. For example, you can use JobTag to identify the type of document that the completion notification corresponds to (such as a tax form or a receipt).

$sel:kmsKeyId:StartDocumentAnalysis', startDocumentAnalysis_kmsKeyId - The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.

$sel:notificationChannel:StartDocumentAnalysis', startDocumentAnalysis_notificationChannel - The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.

$sel:outputConfig:StartDocumentAnalysis', startDocumentAnalysis_outputConfig - Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results internally to be accessed by the GetDocumentAnalysis operation.

$sel:queriesConfig:StartDocumentAnalysis', startDocumentAnalysis_queriesConfig - Undocumented member.

$sel:documentLocation:StartDocumentAnalysis', startDocumentAnalysis_documentLocation - The location of the document to be processed.

$sel:featureTypes:StartDocumentAnalysis', startDocumentAnalysis_featureTypes - A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. To perform both types of analysis, add TABLES and FORMS to FeatureTypes. All lines and words detected in the document are included in the response (including text that isn't related to the value of FeatureTypes).

data StartDocumentAnalysisResponse Source #

See: newStartDocumentAnalysisResponse smart constructor.

Instances

Instances details
Generic StartDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

Associated Types

type Rep StartDocumentAnalysisResponse :: Type -> Type #

Read StartDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

Show StartDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

NFData StartDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

Eq StartDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

type Rep StartDocumentAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentAnalysis

type Rep StartDocumentAnalysisResponse = D1 ('MetaData "StartDocumentAnalysisResponse" "Amazonka.Textract.StartDocumentAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "StartDocumentAnalysisResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartDocumentAnalysisResponse Source #

Create a value of StartDocumentAnalysisResponse 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:jobId:StartDocumentAnalysisResponse', startDocumentAnalysisResponse_jobId - The identifier for the document text detection job. Use JobId to identify the job in a subsequent call to GetDocumentAnalysis. A JobId value is only valid for 7 days.

$sel:httpStatus:StartDocumentAnalysisResponse', startDocumentAnalysisResponse_httpStatus - The response's http status code.

StartDocumentTextDetection

data StartDocumentTextDetection Source #

See: newStartDocumentTextDetection smart constructor.

Instances

Instances details
ToJSON StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

ToHeaders StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

ToPath StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

ToQuery StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

AWSRequest StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

Generic StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

Associated Types

type Rep StartDocumentTextDetection :: Type -> Type #

Read StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

Show StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

NFData StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

Eq StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

Hashable StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

type AWSResponse StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

type Rep StartDocumentTextDetection Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

type Rep StartDocumentTextDetection = D1 ('MetaData "StartDocumentTextDetection" "Amazonka.Textract.StartDocumentTextDetection" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "StartDocumentTextDetection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "notificationChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationChannel)) :*: (S1 ('MetaSel ('Just "outputConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputConfig)) :*: S1 ('MetaSel ('Just "documentLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DocumentLocation)))))

newStartDocumentTextDetection Source #

Create a value of StartDocumentTextDetection 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:clientRequestToken:StartDocumentTextDetection', startDocumentTextDetection_clientRequestToken - The idempotent token that's used to identify the start request. If you use the same token with multiple StartDocumentTextDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidentally started more than once. For more information, see Calling Amazon Textract Asynchronous Operations.

$sel:jobTag:StartDocumentTextDetection', startDocumentTextDetection_jobTag - An identifier that you specify that's included in the completion notification published to the Amazon SNS topic. For example, you can use JobTag to identify the type of document that the completion notification corresponds to (such as a tax form or a receipt).

$sel:kmsKeyId:StartDocumentTextDetection', startDocumentTextDetection_kmsKeyId - The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.

$sel:notificationChannel:StartDocumentTextDetection', startDocumentTextDetection_notificationChannel - The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.

$sel:outputConfig:StartDocumentTextDetection', startDocumentTextDetection_outputConfig - Sets if the output will go to a customer defined bucket. By default Amazon Textract will save the results internally to be accessed with the GetDocumentTextDetection operation.

$sel:documentLocation:StartDocumentTextDetection', startDocumentTextDetection_documentLocation - The location of the document to be processed.

data StartDocumentTextDetectionResponse Source #

Instances

Instances details
Generic StartDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

Associated Types

type Rep StartDocumentTextDetectionResponse :: Type -> Type #

Read StartDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

Show StartDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

NFData StartDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

Eq StartDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

type Rep StartDocumentTextDetectionResponse Source # 
Instance details

Defined in Amazonka.Textract.StartDocumentTextDetection

type Rep StartDocumentTextDetectionResponse = D1 ('MetaData "StartDocumentTextDetectionResponse" "Amazonka.Textract.StartDocumentTextDetection" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "StartDocumentTextDetectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartDocumentTextDetectionResponse Source #

Create a value of StartDocumentTextDetectionResponse 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:jobId:StartDocumentTextDetectionResponse', startDocumentTextDetectionResponse_jobId - The identifier of the text detection job for the document. Use JobId to identify the job in a subsequent call to GetDocumentTextDetection. A JobId value is only valid for 7 days.

$sel:httpStatus:StartDocumentTextDetectionResponse', startDocumentTextDetectionResponse_httpStatus - The response's http status code.

StartExpenseAnalysis

data StartExpenseAnalysis Source #

See: newStartExpenseAnalysis smart constructor.

Instances

Instances details
ToJSON StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

ToHeaders StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

ToPath StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

ToQuery StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

AWSRequest StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

Associated Types

type AWSResponse StartExpenseAnalysis #

Generic StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

Associated Types

type Rep StartExpenseAnalysis :: Type -> Type #

Read StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

Show StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

NFData StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

Methods

rnf :: StartExpenseAnalysis -> () #

Eq StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

Hashable StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

type AWSResponse StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

type Rep StartExpenseAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

type Rep StartExpenseAnalysis = D1 ('MetaData "StartExpenseAnalysis" "Amazonka.Textract.StartExpenseAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "StartExpenseAnalysis'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "notificationChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationChannel)) :*: (S1 ('MetaSel ('Just "outputConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputConfig)) :*: S1 ('MetaSel ('Just "documentLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DocumentLocation)))))

newStartExpenseAnalysis Source #

Create a value of StartExpenseAnalysis 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:clientRequestToken:StartExpenseAnalysis', startExpenseAnalysis_clientRequestToken - The idempotent token that's used to identify the start request. If you use the same token with multiple StartDocumentTextDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidentally started more than once. For more information, see Calling Amazon Textract Asynchronous Operations

$sel:jobTag:StartExpenseAnalysis', startExpenseAnalysis_jobTag - An identifier you specify that's included in the completion notification published to the Amazon SNS topic. For example, you can use JobTag to identify the type of document that the completion notification corresponds to (such as a tax form or a receipt).

$sel:kmsKeyId:StartExpenseAnalysis', startExpenseAnalysis_kmsKeyId - The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.

$sel:notificationChannel:StartExpenseAnalysis', startExpenseAnalysis_notificationChannel - The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.

$sel:outputConfig:StartExpenseAnalysis', startExpenseAnalysis_outputConfig - Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results internally to be accessed by the GetExpenseAnalysis operation.

$sel:documentLocation:StartExpenseAnalysis', startExpenseAnalysis_documentLocation - The location of the document to be processed.

data StartExpenseAnalysisResponse Source #

See: newStartExpenseAnalysisResponse smart constructor.

Instances

Instances details
Generic StartExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

Associated Types

type Rep StartExpenseAnalysisResponse :: Type -> Type #

Read StartExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

Show StartExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

NFData StartExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

Eq StartExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

type Rep StartExpenseAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartExpenseAnalysis

type Rep StartExpenseAnalysisResponse = D1 ('MetaData "StartExpenseAnalysisResponse" "Amazonka.Textract.StartExpenseAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "StartExpenseAnalysisResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartExpenseAnalysisResponse Source #

Create a value of StartExpenseAnalysisResponse 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:jobId:StartExpenseAnalysisResponse', startExpenseAnalysisResponse_jobId - A unique identifier for the text detection job. The JobId is returned from StartExpenseAnalysis. A JobId value is only valid for 7 days.

$sel:httpStatus:StartExpenseAnalysisResponse', startExpenseAnalysisResponse_httpStatus - The response's http status code.

StartLendingAnalysis

data StartLendingAnalysis Source #

See: newStartLendingAnalysis smart constructor.

Instances

Instances details
ToJSON StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

ToHeaders StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

ToPath StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

ToQuery StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

AWSRequest StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

Associated Types

type AWSResponse StartLendingAnalysis #

Generic StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

Associated Types

type Rep StartLendingAnalysis :: Type -> Type #

Read StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

Show StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

NFData StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

Methods

rnf :: StartLendingAnalysis -> () #

Eq StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

Hashable StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

type AWSResponse StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

type Rep StartLendingAnalysis Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

type Rep StartLendingAnalysis = D1 ('MetaData "StartLendingAnalysis" "Amazonka.Textract.StartLendingAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "StartLendingAnalysis'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "notificationChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationChannel)) :*: (S1 ('MetaSel ('Just "outputConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputConfig)) :*: S1 ('MetaSel ('Just "documentLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DocumentLocation)))))

newStartLendingAnalysis Source #

Create a value of StartLendingAnalysis 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:clientRequestToken:StartLendingAnalysis', startLendingAnalysis_clientRequestToken - The idempotent token that you use to identify the start request. If you use the same token with multiple StartLendingAnalysis requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidentally started more than once. For more information, see Calling Amazon Textract Asynchronous Operations.

$sel:jobTag:StartLendingAnalysis', startLendingAnalysis_jobTag - An identifier that you specify to be included in the completion notification published to the Amazon SNS topic. For example, you can use JobTag to identify the type of document that the completion notification corresponds to (such as a tax form or a receipt).

$sel:kmsKeyId:StartLendingAnalysis', startLendingAnalysis_kmsKeyId - The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side, using SSE-S3.

$sel:notificationChannel:StartLendingAnalysis', startLendingAnalysis_notificationChannel - Undocumented member.

$sel:outputConfig:StartLendingAnalysis', startLendingAnalysis_outputConfig - Undocumented member.

$sel:documentLocation:StartLendingAnalysis', startLendingAnalysis_documentLocation - Undocumented member.

data StartLendingAnalysisResponse Source #

See: newStartLendingAnalysisResponse smart constructor.

Instances

Instances details
Generic StartLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

Associated Types

type Rep StartLendingAnalysisResponse :: Type -> Type #

Read StartLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

Show StartLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

NFData StartLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

Eq StartLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

type Rep StartLendingAnalysisResponse Source # 
Instance details

Defined in Amazonka.Textract.StartLendingAnalysis

type Rep StartLendingAnalysisResponse = D1 ('MetaData "StartLendingAnalysisResponse" "Amazonka.Textract.StartLendingAnalysis" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "StartLendingAnalysisResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartLendingAnalysisResponse Source #

Create a value of StartLendingAnalysisResponse 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:jobId:StartLendingAnalysisResponse', startLendingAnalysisResponse_jobId - A unique identifier for the lending or text-detection job. The JobId is returned from StartLendingAnalysis. A JobId value is only valid for 7 days.

$sel:httpStatus:StartLendingAnalysisResponse', startLendingAnalysisResponse_httpStatus - The response's http status code.

Types

BlockType

newtype BlockType Source #

Constructors

BlockType' 

Fields

Instances

Instances details
FromJSON BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

FromJSONKey BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

ToJSON BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

ToJSONKey BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

ToByteString BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

Methods

toBS :: BlockType -> ByteString #

ToHeader BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

ToLog BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

ToQuery BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

FromText BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

ToText BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

Methods

toText :: BlockType -> Text #

FromXML BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

ToXML BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

Methods

toXML :: BlockType -> XML #

Generic BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

Associated Types

type Rep BlockType :: Type -> Type #

Read BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

Show BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

NFData BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

Methods

rnf :: BlockType -> () #

Eq BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

Ord BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

Hashable BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

type Rep BlockType Source # 
Instance details

Defined in Amazonka.Textract.Types.BlockType

type Rep BlockType = D1 ('MetaData "BlockType" "Amazonka.Textract.Types.BlockType" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'True) (C1 ('MetaCons "BlockType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBlockType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ContentClassifier

newtype ContentClassifier Source #

Instances

Instances details
FromJSON ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

FromJSONKey ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

ToJSON ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

ToJSONKey ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

ToByteString ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

ToHeader ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

ToLog ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

ToQuery ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

FromText ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

ToText ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

FromXML ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

ToXML ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

Generic ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

Associated Types

type Rep ContentClassifier :: Type -> Type #

Read ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

Show ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

NFData ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

Methods

rnf :: ContentClassifier -> () #

Eq ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

Ord ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

Hashable ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

type Rep ContentClassifier Source # 
Instance details

Defined in Amazonka.Textract.Types.ContentClassifier

type Rep ContentClassifier = D1 ('MetaData "ContentClassifier" "Amazonka.Textract.Types.ContentClassifier" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'True) (C1 ('MetaCons "ContentClassifier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromContentClassifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EntityType

newtype EntityType Source #

Constructors

EntityType' 

Fields

Bundled Patterns

pattern EntityType_COLUMN_HEADER :: EntityType 
pattern EntityType_KEY :: EntityType 
pattern EntityType_VALUE :: EntityType 

Instances

Instances details
FromJSON EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

FromJSONKey EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

ToJSON EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

ToJSONKey EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

ToByteString EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

ToHeader EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

ToLog EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

ToQuery EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

FromText EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

ToText EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

Methods

toText :: EntityType -> Text #

FromXML EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

ToXML EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

Methods

toXML :: EntityType -> XML #

Generic EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

Associated Types

type Rep EntityType :: Type -> Type #

Read EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

Show EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

NFData EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

Methods

rnf :: EntityType -> () #

Eq EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

Ord EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

Hashable EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

type Rep EntityType Source # 
Instance details

Defined in Amazonka.Textract.Types.EntityType

type Rep EntityType = D1 ('MetaData "EntityType" "Amazonka.Textract.Types.EntityType" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'True) (C1 ('MetaCons "EntityType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEntityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FeatureType

newtype FeatureType Source #

Constructors

FeatureType' 

Instances

Instances details
FromJSON FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

FromJSONKey FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

ToJSON FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

ToJSONKey FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

ToByteString FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

ToHeader FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

ToLog FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

ToQuery FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

FromText FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

ToText FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

Methods

toText :: FeatureType -> Text #

FromXML FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

ToXML FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

Methods

toXML :: FeatureType -> XML #

Generic FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

Associated Types

type Rep FeatureType :: Type -> Type #

Read FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

Show FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

NFData FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

Methods

rnf :: FeatureType -> () #

Eq FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

Ord FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

Hashable FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

type Rep FeatureType Source # 
Instance details

Defined in Amazonka.Textract.Types.FeatureType

type Rep FeatureType = D1 ('MetaData "FeatureType" "Amazonka.Textract.Types.FeatureType" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'True) (C1 ('MetaCons "FeatureType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFeatureType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

JobStatus

newtype JobStatus Source #

Constructors

JobStatus' 

Fields

Instances

Instances details
FromJSON JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

FromJSONKey JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

ToJSON JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

ToJSONKey JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

ToByteString JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

Methods

toBS :: JobStatus -> ByteString #

ToHeader JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

ToLog JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

ToQuery JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

FromText JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

ToText JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

Methods

toText :: JobStatus -> Text #

FromXML JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

ToXML JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

Methods

toXML :: JobStatus -> XML #

Generic JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

Associated Types

type Rep JobStatus :: Type -> Type #

Read JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

Show JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

NFData JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

Methods

rnf :: JobStatus -> () #

Eq JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

Ord JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

Hashable JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

type Rep JobStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.JobStatus

type Rep JobStatus = D1 ('MetaData "JobStatus" "Amazonka.Textract.Types.JobStatus" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'True) (C1 ('MetaCons "JobStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromJobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RelationshipType

newtype RelationshipType Source #

Instances

Instances details
FromJSON RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

FromJSONKey RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

ToJSON RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

ToJSONKey RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

ToByteString RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

ToHeader RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

ToLog RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

ToQuery RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

FromText RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

ToText RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

FromXML RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

ToXML RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

Generic RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

Associated Types

type Rep RelationshipType :: Type -> Type #

Read RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

Show RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

NFData RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

Methods

rnf :: RelationshipType -> () #

Eq RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

Ord RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

Hashable RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

type Rep RelationshipType Source # 
Instance details

Defined in Amazonka.Textract.Types.RelationshipType

type Rep RelationshipType = D1 ('MetaData "RelationshipType" "Amazonka.Textract.Types.RelationshipType" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'True) (C1 ('MetaCons "RelationshipType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRelationshipType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SelectionStatus

newtype SelectionStatus Source #

Constructors

SelectionStatus' 

Instances

Instances details
FromJSON SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

FromJSONKey SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

ToJSON SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

ToJSONKey SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

ToByteString SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

ToHeader SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

ToLog SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

ToQuery SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

FromText SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

ToText SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

FromXML SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

ToXML SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

Methods

toXML :: SelectionStatus -> XML #

Generic SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

Associated Types

type Rep SelectionStatus :: Type -> Type #

Read SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

Show SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

NFData SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

Methods

rnf :: SelectionStatus -> () #

Eq SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

Ord SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

Hashable SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

type Rep SelectionStatus Source # 
Instance details

Defined in Amazonka.Textract.Types.SelectionStatus

type Rep SelectionStatus = D1 ('MetaData "SelectionStatus" "Amazonka.Textract.Types.SelectionStatus" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'True) (C1 ('MetaCons "SelectionStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSelectionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TextType

newtype TextType Source #

Constructors

TextType' 

Fields

Bundled Patterns

pattern TextType_HANDWRITING :: TextType 
pattern TextType_PRINTED :: TextType 

Instances

Instances details
FromJSON TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

FromJSONKey TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

ToJSON TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

ToJSONKey TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

ToByteString TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

Methods

toBS :: TextType -> ByteString #

ToHeader TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

Methods

toHeader :: HeaderName -> TextType -> [Header] #

ToLog TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

ToQuery TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

FromText TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

ToText TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

Methods

toText :: TextType -> Text #

FromXML TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

ToXML TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

Methods

toXML :: TextType -> XML #

Generic TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

Associated Types

type Rep TextType :: Type -> Type #

Methods

from :: TextType -> Rep TextType x #

to :: Rep TextType x -> TextType #

Read TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

Show TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

NFData TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

Methods

rnf :: TextType -> () #

Eq TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

Ord TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

Hashable TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

Methods

hashWithSalt :: Int -> TextType -> Int #

hash :: TextType -> Int #

type Rep TextType Source # 
Instance details

Defined in Amazonka.Textract.Types.TextType

type Rep TextType = D1 ('MetaData "TextType" "Amazonka.Textract.Types.TextType" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'True) (C1 ('MetaCons "TextType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTextType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ValueType

newtype ValueType Source #

Constructors

ValueType' 

Fields

Bundled Patterns

pattern ValueType_DATE :: ValueType 

Instances

Instances details
FromJSON ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

FromJSONKey ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

ToJSON ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

ToJSONKey ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

ToByteString ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

Methods

toBS :: ValueType -> ByteString #

ToHeader ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

ToLog ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

ToQuery ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

FromText ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

ToText ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

Methods

toText :: ValueType -> Text #

FromXML ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

ToXML ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

Methods

toXML :: ValueType -> XML #

Generic ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

Associated Types

type Rep ValueType :: Type -> Type #

Read ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

Show ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

NFData ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

Methods

rnf :: ValueType -> () #

Eq ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

Ord ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

Hashable ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

type Rep ValueType Source # 
Instance details

Defined in Amazonka.Textract.Types.ValueType

type Rep ValueType = D1 ('MetaData "ValueType" "Amazonka.Textract.Types.ValueType" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'True) (C1 ('MetaCons "ValueType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromValueType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AnalyzeIDDetections

data AnalyzeIDDetections Source #

Used to contain the information detected by an AnalyzeID operation.

See: newAnalyzeIDDetections smart constructor.

Instances

Instances details
FromJSON AnalyzeIDDetections Source # 
Instance details

Defined in Amazonka.Textract.Types.AnalyzeIDDetections

Generic AnalyzeIDDetections Source # 
Instance details

Defined in Amazonka.Textract.Types.AnalyzeIDDetections

Associated Types

type Rep AnalyzeIDDetections :: Type -> Type #

Read AnalyzeIDDetections Source # 
Instance details

Defined in Amazonka.Textract.Types.AnalyzeIDDetections

Show AnalyzeIDDetections Source # 
Instance details

Defined in Amazonka.Textract.Types.AnalyzeIDDetections

NFData AnalyzeIDDetections Source # 
Instance details

Defined in Amazonka.Textract.Types.AnalyzeIDDetections

Methods

rnf :: AnalyzeIDDetections -> () #

Eq AnalyzeIDDetections Source # 
Instance details

Defined in Amazonka.Textract.Types.AnalyzeIDDetections

Hashable AnalyzeIDDetections Source # 
Instance details

Defined in Amazonka.Textract.Types.AnalyzeIDDetections

type Rep AnalyzeIDDetections Source # 
Instance details

Defined in Amazonka.Textract.Types.AnalyzeIDDetections

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

newAnalyzeIDDetections Source #

Create a value of AnalyzeIDDetections 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:AnalyzeIDDetections', analyzeIDDetections_confidence - The confidence score of the detected text.

$sel:normalizedValue:AnalyzeIDDetections', analyzeIDDetections_normalizedValue - Only returned for dates, returns the type of value detected and the date written in a more machine readable way.

$sel:text:AnalyzeIDDetections', analyzeIDDetections_text - Text of either the normalized field or value associated with it.

Block

data Block Source #

A Block represents items that are recognized in a document within a group of pixels close to each other. The information returned in a Block object depends on the type of operation. In text detection for documents (for example DetectDocumentText), you get information about the detected words and lines of text. In text analysis (for example AnalyzeDocument), you can also get information about the fields, tables, and selection elements that are detected in the document.

An array of Block objects is returned by both synchronous and asynchronous operations. In synchronous operations, such as DetectDocumentText, the array of Block objects is the entire set of results. In asynchronous operations, such as GetDocumentAnalysis, the array is returned over one or more responses.

For more information, see How Amazon Textract Works.

See: newBlock smart constructor.

Instances

Instances details
FromJSON Block Source # 
Instance details

Defined in Amazonka.Textract.Types.Block

Generic Block Source # 
Instance details

Defined in Amazonka.Textract.Types.Block

Associated Types

type Rep Block :: Type -> Type #

Methods

from :: Block -> Rep Block x #

to :: Rep Block x -> Block #

Read Block Source # 
Instance details

Defined in Amazonka.Textract.Types.Block

Show Block Source # 
Instance details

Defined in Amazonka.Textract.Types.Block

Methods

showsPrec :: Int -> Block -> ShowS #

show :: Block -> String #

showList :: [Block] -> ShowS #

NFData Block Source # 
Instance details

Defined in Amazonka.Textract.Types.Block

Methods

rnf :: Block -> () #

Eq Block Source # 
Instance details

Defined in Amazonka.Textract.Types.Block

Methods

(==) :: Block -> Block -> Bool #

(/=) :: Block -> Block -> Bool #

Hashable Block Source # 
Instance details

Defined in Amazonka.Textract.Types.Block

Methods

hashWithSalt :: Int -> Block -> Int #

hash :: Block -> Int #

type Rep Block Source # 
Instance details

Defined in Amazonka.Textract.Types.Block

type Rep Block = D1 ('MetaData "Block" "Amazonka.Textract.Types.Block" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "Block'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "blockType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BlockType)) :*: (S1 ('MetaSel ('Just "columnIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "columnSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "entityTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EntityType]))) :*: (S1 ('MetaSel ('Just "geometry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Geometry)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Query))) :*: (S1 ('MetaSel ('Just "relationships") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Relationship])) :*: S1 ('MetaSel ('Just "rowIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "rowSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "selectionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SelectionStatus))) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "textType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextType)))))))

newBlock :: Block Source #

Create a value of Block 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:blockType:Block', block_blockType - The type of text item that's recognized. In operations for text detection, the following types are returned:

  • PAGE - Contains a list of the LINE Block objects that are detected on a document page.
  • WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
  • LINE - A string of tab-delimited, contiguous words that are detected on a document page.

In text analysis operations, the following types are returned:

  • PAGE - Contains a list of child Block objects that are detected on a document page.
  • KEY_VALUE_SET - Stores the KEY and VALUE Block objects for linked text that's detected on a document page. Use the EntityType field to determine if a KEY_VALUE_SET object is a KEY Block object or a VALUE Block object.
  • WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
  • LINE - A string of tab-delimited, contiguous words that are detected on a document page.
  • TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each.
  • CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell.
  • SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus to determine the status of the selection element.
  • SIGNATURE - The location and confidene score of a signature detected on a document page. Can be returned as part of a Key-Value pair or a detected cell.
  • QUERY - A question asked during the call of AnalyzeDocument. Contains an alias and an ID that attaches it to its answer.
  • QUERY_RESULT - A response to a question asked during the call of analyze document. Comes with an alias and ID for ease of locating in a response. Also contains location and confidence score.

$sel:columnIndex:Block', block_columnIndex - The column in which a table cell appears. The first column position is 1. ColumnIndex isn't returned by DetectDocumentText and GetDocumentTextDetection.

$sel:columnSpan:Block', block_columnSpan - The number of columns that a table cell spans. Currently this value is always 1, even if the number of columns spanned is greater than 1. ColumnSpan isn't returned by DetectDocumentText and GetDocumentTextDetection.

$sel:confidence:Block', block_confidence - The confidence score that Amazon Textract has in the accuracy of the recognized text and the accuracy of the geometry points around the recognized text.

$sel:entityTypes:Block', block_entityTypes - The type of entity. The following can be returned:

  • KEY - An identifier for a field on the document.
  • VALUE - The field text.

EntityTypes isn't returned by DetectDocumentText and GetDocumentTextDetection.

$sel:geometry:Block', block_geometry - The location of the recognized text on the image. It includes an axis-aligned, coarse bounding box that surrounds the text, and a finer-grain polygon for more accurate spatial information.

$sel:id:Block', block_id - The identifier for the recognized text. The identifier is only unique for a single operation.

$sel:page:Block', block_page - The page on which a block was detected. Page is returned by synchronous and asynchronous operations. Page values greater than 1 are only returned for multipage documents that are in PDF or TIFF format. A scanned image (JPEG/PNG) provided to an asynchronous operation, even if it contains multiple document pages, is considered a single-page document. This means that for scanned images the value of Page is always 1. Synchronous operations operations will also return a Page value of 1 because every input document is considered to be a single-page document.

$sel:query:Block', block_query -

$sel:relationships:Block', block_relationships - A list of child blocks of the current block. For example, a LINE object has child blocks for each WORD block that's part of the line of text. There aren't Relationship objects in the list for relationships that don't exist, such as when the current block has no child blocks. The list size can be the following:

  • 0 - The block has no child blocks.
  • 1 - The block has child blocks.

$sel:rowIndex:Block', block_rowIndex - The row in which a table cell is located. The first row position is 1. RowIndex isn't returned by DetectDocumentText and GetDocumentTextDetection.

$sel:rowSpan:Block', block_rowSpan - The number of rows that a table cell spans. Currently this value is always 1, even if the number of rows spanned is greater than 1. RowSpan isn't returned by DetectDocumentText and GetDocumentTextDetection.

$sel:selectionStatus:Block', block_selectionStatus - The selection status of a selection element, such as an option button or check box.

Block, block_text - The word or line of text that's recognized by Amazon Textract.

$sel:textType:Block', block_textType - The kind of text that Amazon Textract has detected. Can check for handwritten text and printed text.

BoundingBox

data BoundingBox Source #

The bounding box around the detected page, text, key-value pair, table, table cell, or selection element on a document page. The left (x-coordinate) and top (y-coordinate) are coordinates that represent the top and left sides of the bounding box. Note that the upper-left corner of the image is the origin (0,0).

The top and left values returned are ratios of the overall document page size. For example, if the input image is 700 x 200 pixels, and the top-left coordinate of the bounding box is 350 x 50 pixels, the API returns a left value of 0.5 (350/700) and a top value of 0.25 (50/200).

The width and height values represent the dimensions of the bounding box as a ratio of the overall document page dimension. For example, if the document page size is 700 x 200 pixels, and the bounding box width is 70 pixels, the width returned is 0.1.

See: newBoundingBox smart constructor.

Instances

Instances details
FromJSON BoundingBox Source # 
Instance details

Defined in Amazonka.Textract.Types.BoundingBox

Generic BoundingBox Source # 
Instance details

Defined in Amazonka.Textract.Types.BoundingBox

Associated Types

type Rep BoundingBox :: Type -> Type #

Read BoundingBox Source # 
Instance details

Defined in Amazonka.Textract.Types.BoundingBox

Show BoundingBox Source # 
Instance details

Defined in Amazonka.Textract.Types.BoundingBox

NFData BoundingBox Source # 
Instance details

Defined in Amazonka.Textract.Types.BoundingBox

Methods

rnf :: BoundingBox -> () #

Eq BoundingBox Source # 
Instance details

Defined in Amazonka.Textract.Types.BoundingBox

Hashable BoundingBox Source # 
Instance details

Defined in Amazonka.Textract.Types.BoundingBox

type Rep BoundingBox Source # 
Instance details

Defined in Amazonka.Textract.Types.BoundingBox

type Rep BoundingBox = D1 ('MetaData "BoundingBox" "Amazonka.Textract.Types.BoundingBox" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "BoundingBox'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "left") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "top") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newBoundingBox :: BoundingBox Source #

Create a value of BoundingBox 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:height:BoundingBox', boundingBox_height - The height of the bounding box as a ratio of the overall document page height.

$sel:left:BoundingBox', boundingBox_left - The left coordinate of the bounding box as a ratio of overall document page width.

$sel:top:BoundingBox', boundingBox_top - The top coordinate of the bounding box as a ratio of overall document page height.

$sel:width:BoundingBox', boundingBox_width - The width of the bounding box as a ratio of the overall document page width.

DetectedSignature

data DetectedSignature Source #

A structure that holds information regarding a detected signature on a page.

See: newDetectedSignature smart constructor.

Instances

Instances details
FromJSON DetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.DetectedSignature

Generic DetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.DetectedSignature

Associated Types

type Rep DetectedSignature :: Type -> Type #

Read DetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.DetectedSignature

Show DetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.DetectedSignature

NFData DetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.DetectedSignature

Methods

rnf :: DetectedSignature -> () #

Eq DetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.DetectedSignature

Hashable DetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.DetectedSignature

type Rep DetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.DetectedSignature

type Rep DetectedSignature = D1 ('MetaData "DetectedSignature" "Amazonka.Textract.Types.DetectedSignature" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "DetectedSignature'" 'PrefixI 'True) (S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newDetectedSignature :: DetectedSignature Source #

Create a value of DetectedSignature 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:page:DetectedSignature', detectedSignature_page - The page a detected signature was found on.

Document

data Document Source #

The input document, either as bytes or as an S3 object.

You pass image bytes to an Amazon Textract API operation by using the Bytes property. For example, you would use the Bytes property to pass a document loaded from a local file system. Image bytes passed by using the Bytes property must be base64 encoded. Your code might not need to encode document file bytes if you're using an AWS SDK to call Amazon Textract API operations.

You pass images stored in an S3 bucket to an Amazon Textract API operation by using the S3Object property. Documents stored in an S3 bucket don't need to be base64 encoded.

The AWS Region for the S3 bucket that contains the S3 object must match the AWS Region that you use for Amazon Textract operations.

If you use the AWS CLI to call Amazon Textract operations, passing image bytes using the Bytes property isn't supported. You must first upload the document to an Amazon S3 bucket, and then call the operation using the S3Object property.

For Amazon Textract to process an S3 object, the user must have permission to access the S3 object.

See: newDocument smart constructor.

Constructors

Document' (Maybe Base64) (Maybe S3Object) 

Instances

Instances details
ToJSON Document Source # 
Instance details

Defined in Amazonka.Textract.Types.Document

Generic Document Source # 
Instance details

Defined in Amazonka.Textract.Types.Document

Associated Types

type Rep Document :: Type -> Type #

Methods

from :: Document -> Rep Document x #

to :: Rep Document x -> Document #

Read Document Source # 
Instance details

Defined in Amazonka.Textract.Types.Document

Show Document Source # 
Instance details

Defined in Amazonka.Textract.Types.Document

NFData Document Source # 
Instance details

Defined in Amazonka.Textract.Types.Document

Methods

rnf :: Document -> () #

Eq Document Source # 
Instance details

Defined in Amazonka.Textract.Types.Document

Hashable Document Source # 
Instance details

Defined in Amazonka.Textract.Types.Document

Methods

hashWithSalt :: Int -> Document -> Int #

hash :: Document -> Int #

type Rep Document Source # 
Instance details

Defined in Amazonka.Textract.Types.Document

type Rep Document = D1 ('MetaData "Document" "Amazonka.Textract.Types.Document" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "Document'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "s3Object") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Object))))

newDocument :: Document Source #

Create a value of Document 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:bytes:Document', document_bytes - A blob of base64-encoded document bytes. The maximum size of a document that's provided in a blob of bytes is 5 MB. The document bytes must be in PNG or JPEG format.

If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes passed using the Bytes field.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:s3Object:Document', document_s3Object - Identifies an S3 object as the document source. The maximum size of a document that's stored in an S3 bucket is 5 MB.

DocumentGroup

data DocumentGroup Source #

Summary information about documents grouped by the same document type.

See: newDocumentGroup smart constructor.

Instances

Instances details
FromJSON DocumentGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentGroup

Generic DocumentGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentGroup

Associated Types

type Rep DocumentGroup :: Type -> Type #

Read DocumentGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentGroup

Show DocumentGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentGroup

NFData DocumentGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentGroup

Methods

rnf :: DocumentGroup -> () #

Eq DocumentGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentGroup

Hashable DocumentGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentGroup

type Rep DocumentGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentGroup

type Rep DocumentGroup = D1 ('MetaData "DocumentGroup" "Amazonka.Textract.Types.DocumentGroup" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "DocumentGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "detectedSignatures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DetectedSignature])) :*: S1 ('MetaSel ('Just "splitDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SplitDocument]))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "undetectedSignatures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UndetectedSignature])))))

newDocumentGroup :: DocumentGroup Source #

Create a value of DocumentGroup 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:detectedSignatures:DocumentGroup', documentGroup_detectedSignatures - A list of the detected signatures found in a document group.

$sel:splitDocuments:DocumentGroup', documentGroup_splitDocuments - An array that contains information about the pages of a document, defined by logical boundary.

$sel:type':DocumentGroup', documentGroup_type - The type of document that Amazon Textract has detected. See LINK for a list of all types returned by Textract.

$sel:undetectedSignatures:DocumentGroup', documentGroup_undetectedSignatures - A list of any expected signatures not found in a document group.

DocumentLocation

data DocumentLocation Source #

The Amazon S3 bucket that contains the document to be processed. It's used by asynchronous operations.

The input document can be an image file in JPEG or PNG format. It can also be a file in PDF format.

See: newDocumentLocation smart constructor.

Instances

Instances details
ToJSON DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

Generic DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

Associated Types

type Rep DocumentLocation :: Type -> Type #

Read DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

Show DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

NFData DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

Methods

rnf :: DocumentLocation -> () #

Eq DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

Hashable DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

type Rep DocumentLocation Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentLocation

type Rep DocumentLocation = D1 ('MetaData "DocumentLocation" "Amazonka.Textract.Types.DocumentLocation" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "DocumentLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3Object") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Object))))

newDocumentLocation :: DocumentLocation Source #

Create a value of DocumentLocation 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:s3Object:DocumentLocation', documentLocation_s3Object - The Amazon S3 bucket that contains the input document.

DocumentMetadata

data DocumentMetadata Source #

Information about the input document.

See: newDocumentMetadata smart constructor.

Instances

Instances details
FromJSON DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

Generic DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

Associated Types

type Rep DocumentMetadata :: Type -> Type #

Read DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

Show DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

NFData DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

Methods

rnf :: DocumentMetadata -> () #

Eq DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

Hashable DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

type Rep DocumentMetadata Source # 
Instance details

Defined in Amazonka.Textract.Types.DocumentMetadata

type Rep DocumentMetadata = D1 ('MetaData "DocumentMetadata" "Amazonka.Textract.Types.DocumentMetadata" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "DocumentMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newDocumentMetadata :: DocumentMetadata Source #

Create a value of DocumentMetadata 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:pages:DocumentMetadata', documentMetadata_pages - The number of pages that are detected in the document.

ExpenseCurrency

data ExpenseCurrency Source #

Returns the kind of currency detected.

See: newExpenseCurrency smart constructor.

Instances

Instances details
FromJSON ExpenseCurrency Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseCurrency

Generic ExpenseCurrency Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseCurrency

Associated Types

type Rep ExpenseCurrency :: Type -> Type #

Read ExpenseCurrency Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseCurrency

Show ExpenseCurrency Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseCurrency

NFData ExpenseCurrency Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseCurrency

Methods

rnf :: ExpenseCurrency -> () #

Eq ExpenseCurrency Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseCurrency

Hashable ExpenseCurrency Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseCurrency

type Rep ExpenseCurrency Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseCurrency

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

newExpenseCurrency :: ExpenseCurrency Source #

Create a value of ExpenseCurrency 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:code:ExpenseCurrency', expenseCurrency_code - Currency code for detected currency. the current supported codes are:

  • USD
  • EUR
  • GBP
  • CAD
  • INR
  • JPY
  • CHF
  • AUD
  • CNY
  • BZR
  • SEK
  • HKD

$sel:confidence:ExpenseCurrency', expenseCurrency_confidence - Percentage confideence in the detected currency.

ExpenseDetection

data ExpenseDetection Source #

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

See: newExpenseDetection smart constructor.

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

ExpenseDocument

data ExpenseDocument Source #

The structure holding all the information returned by AnalyzeExpense

See: newExpenseDocument smart constructor.

Instances

Instances details
FromJSON ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

Generic ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

Associated Types

type Rep ExpenseDocument :: Type -> Type #

Read ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

Show ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

NFData ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

Methods

rnf :: ExpenseDocument -> () #

Eq ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

Hashable ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

type Rep ExpenseDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseDocument

type Rep ExpenseDocument = D1 ('MetaData "ExpenseDocument" "Amazonka.Textract.Types.ExpenseDocument" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "ExpenseDocument'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "blocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Block])) :*: S1 ('MetaSel ('Just "expenseIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "lineItemGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LineItemGroup])) :*: S1 ('MetaSel ('Just "summaryFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExpenseField])))))

newExpenseDocument :: ExpenseDocument Source #

Create a value of ExpenseDocument 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:blocks:ExpenseDocument', expenseDocument_blocks - This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.

$sel:expenseIndex:ExpenseDocument', expenseDocument_expenseIndex - Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.

$sel:lineItemGroups:ExpenseDocument', expenseDocument_lineItemGroups - Information detected on each table of a document, seperated into LineItems.

$sel:summaryFields:ExpenseDocument', expenseDocument_summaryFields - Any information found outside of a table by Amazon Textract.

ExpenseField

data ExpenseField Source #

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

See: newExpenseField smart constructor.

Instances

Instances details
FromJSON 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 #

Read ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Show ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

NFData ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Methods

rnf :: ExpenseField -> () #

Eq ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Hashable ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

type Rep ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

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:currency:ExpenseField', expenseField_currency - Shows the kind of currency, both the code and confidence associated with any monatary value detected.

$sel:groupProperties:ExpenseField', expenseField_groupProperties - Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.

$sel:labelDetection:ExpenseField', expenseField_labelDetection - The explicitly stated label of a detected element.

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

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

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

ExpenseGroupProperty

data ExpenseGroupProperty Source #

Shows the group that a certain key belongs to. This helps differentiate between names and addresses for different organizations, that can be hard to determine via JSON response.

See: newExpenseGroupProperty smart constructor.

Instances

Instances details
FromJSON ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

Generic ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

Associated Types

type Rep ExpenseGroupProperty :: Type -> Type #

Read ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

Show ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

NFData ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

Methods

rnf :: ExpenseGroupProperty -> () #

Eq ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

Hashable ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

type Rep ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

type Rep ExpenseGroupProperty = D1 ('MetaData "ExpenseGroupProperty" "Amazonka.Textract.Types.ExpenseGroupProperty" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "ExpenseGroupProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "types") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newExpenseGroupProperty :: ExpenseGroupProperty Source #

Create a value of ExpenseGroupProperty 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:id:ExpenseGroupProperty', expenseGroupProperty_id - Provides a group Id number, which will be the same for each in the group.

$sel:types:ExpenseGroupProperty', expenseGroupProperty_types - Informs you on whether the expense group is a name or an address.

ExpenseType

data ExpenseType Source #

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

See: newExpenseType smart constructor.

Constructors

ExpenseType' (Maybe Double) (Maybe Text) 

Instances

Instances details
FromJSON 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 #

Read ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

Show ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

NFData ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

Methods

rnf :: ExpenseType -> () #

Eq ExpenseType Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseType

Hashable 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" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "ExpenseType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:confidence:ExpenseType', expenseType_confidence - The confidence of accuracy, as a percentage.

$sel:text:ExpenseType', expenseType_text - The word or line of text detected by Amazon Textract.

Extraction

data Extraction Source #

Contains information extracted by an analysis operation after using StartLendingAnalysis.

See: newExtraction smart constructor.

Instances

Instances details
FromJSON Extraction Source # 
Instance details

Defined in Amazonka.Textract.Types.Extraction

Generic Extraction Source # 
Instance details

Defined in Amazonka.Textract.Types.Extraction

Associated Types

type Rep Extraction :: Type -> Type #

Read Extraction Source # 
Instance details

Defined in Amazonka.Textract.Types.Extraction

Show Extraction Source # 
Instance details

Defined in Amazonka.Textract.Types.Extraction

NFData Extraction Source # 
Instance details

Defined in Amazonka.Textract.Types.Extraction

Methods

rnf :: Extraction -> () #

Eq Extraction Source # 
Instance details

Defined in Amazonka.Textract.Types.Extraction

Hashable Extraction Source # 
Instance details

Defined in Amazonka.Textract.Types.Extraction

type Rep Extraction Source # 
Instance details

Defined in Amazonka.Textract.Types.Extraction

type Rep Extraction = D1 ('MetaData "Extraction" "Amazonka.Textract.Types.Extraction" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "Extraction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expenseDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExpenseDocument)) :*: (S1 ('MetaSel ('Just "identityDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IdentityDocument)) :*: S1 ('MetaSel ('Just "lendingDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LendingDocument)))))

newExtraction :: Extraction Source #

Create a value of Extraction 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:expenseDocument:Extraction', extraction_expenseDocument - Undocumented member.

$sel:identityDocument:Extraction', extraction_identityDocument - Undocumented member.

$sel:lendingDocument:Extraction', extraction_lendingDocument - Holds the structured data returned by AnalyzeDocument for lending documents.

Geometry

data Geometry Source #

Information about where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.

See: newGeometry smart constructor.

Constructors

Geometry' (Maybe BoundingBox) (Maybe [Point]) 

Instances

Instances details
FromJSON Geometry Source # 
Instance details

Defined in Amazonka.Textract.Types.Geometry

Generic Geometry Source # 
Instance details

Defined in Amazonka.Textract.Types.Geometry

Associated Types

type Rep Geometry :: Type -> Type #

Methods

from :: Geometry -> Rep Geometry x #

to :: Rep Geometry x -> Geometry #

Read Geometry Source # 
Instance details

Defined in Amazonka.Textract.Types.Geometry

Show Geometry Source # 
Instance details

Defined in Amazonka.Textract.Types.Geometry

NFData Geometry Source # 
Instance details

Defined in Amazonka.Textract.Types.Geometry

Methods

rnf :: Geometry -> () #

Eq Geometry Source # 
Instance details

Defined in Amazonka.Textract.Types.Geometry

Hashable Geometry Source # 
Instance details

Defined in Amazonka.Textract.Types.Geometry

Methods

hashWithSalt :: Int -> Geometry -> Int #

hash :: Geometry -> Int #

type Rep Geometry Source # 
Instance details

Defined in Amazonka.Textract.Types.Geometry

type Rep Geometry = D1 ('MetaData "Geometry" "Amazonka.Textract.Types.Geometry" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "Geometry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BoundingBox)) :*: S1 ('MetaSel ('Just "polygon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Point]))))

newGeometry :: Geometry Source #

Create a value of Geometry 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:boundingBox:Geometry', geometry_boundingBox - An axis-aligned coarse representation of the location of the recognized item on the document page.

$sel:polygon:Geometry', geometry_polygon - Within the bounding box, a fine-grained polygon around the recognized item.

HumanLoopActivationOutput

data HumanLoopActivationOutput Source #

Shows the results of the human in the loop evaluation. If there is no HumanLoopArn, the input did not trigger human review.

See: newHumanLoopActivationOutput smart constructor.

Instances

Instances details
FromJSON HumanLoopActivationOutput Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopActivationOutput

Generic HumanLoopActivationOutput Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopActivationOutput

Associated Types

type Rep HumanLoopActivationOutput :: Type -> Type #

Read HumanLoopActivationOutput Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopActivationOutput

Show HumanLoopActivationOutput Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopActivationOutput

NFData HumanLoopActivationOutput Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopActivationOutput

Eq HumanLoopActivationOutput Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopActivationOutput

Hashable HumanLoopActivationOutput Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopActivationOutput

type Rep HumanLoopActivationOutput Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopActivationOutput

type Rep HumanLoopActivationOutput = D1 ('MetaData "HumanLoopActivationOutput" "Amazonka.Textract.Types.HumanLoopActivationOutput" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "HumanLoopActivationOutput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "humanLoopActivationConditionsEvaluationResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "humanLoopActivationReasons") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "humanLoopArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newHumanLoopActivationOutput :: HumanLoopActivationOutput Source #

Create a value of HumanLoopActivationOutput 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:humanLoopActivationConditionsEvaluationResults:HumanLoopActivationOutput', humanLoopActivationOutput_humanLoopActivationConditionsEvaluationResults - Shows the result of condition evaluations, including those conditions which activated a human review.

$sel:humanLoopActivationReasons:HumanLoopActivationOutput', humanLoopActivationOutput_humanLoopActivationReasons - Shows if and why human review was needed.

$sel:humanLoopArn:HumanLoopActivationOutput', humanLoopActivationOutput_humanLoopArn - The Amazon Resource Name (ARN) of the HumanLoop created.

HumanLoopConfig

data HumanLoopConfig Source #

Sets up the human review workflow the document will be sent to if one of the conditions is met. You can also set certain attributes of the image before review.

See: newHumanLoopConfig smart constructor.

Instances

Instances details
ToJSON HumanLoopConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopConfig

Generic HumanLoopConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopConfig

Associated Types

type Rep HumanLoopConfig :: Type -> Type #

Read HumanLoopConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopConfig

Show HumanLoopConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopConfig

NFData HumanLoopConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopConfig

Methods

rnf :: HumanLoopConfig -> () #

Eq HumanLoopConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopConfig

Hashable HumanLoopConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopConfig

type Rep HumanLoopConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopConfig

type Rep HumanLoopConfig = D1 ('MetaData "HumanLoopConfig" "Amazonka.Textract.Types.HumanLoopConfig" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "HumanLoopConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HumanLoopDataAttributes)) :*: (S1 ('MetaSel ('Just "humanLoopName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "flowDefinitionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newHumanLoopConfig Source #

Create a value of HumanLoopConfig 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:dataAttributes:HumanLoopConfig', humanLoopConfig_dataAttributes - Sets attributes of the input data.

$sel:humanLoopName:HumanLoopConfig', humanLoopConfig_humanLoopName - The name of the human workflow used for this image. This should be kept unique within a region.

$sel:flowDefinitionArn:HumanLoopConfig', humanLoopConfig_flowDefinitionArn - The Amazon Resource Name (ARN) of the flow definition.

HumanLoopDataAttributes

data HumanLoopDataAttributes Source #

Allows you to set attributes of the image. Currently, you can declare an image as free of personally identifiable information and adult content.

See: newHumanLoopDataAttributes smart constructor.

Instances

Instances details
ToJSON HumanLoopDataAttributes Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopDataAttributes

Generic HumanLoopDataAttributes Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopDataAttributes

Associated Types

type Rep HumanLoopDataAttributes :: Type -> Type #

Read HumanLoopDataAttributes Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopDataAttributes

Show HumanLoopDataAttributes Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopDataAttributes

NFData HumanLoopDataAttributes Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopDataAttributes

Methods

rnf :: HumanLoopDataAttributes -> () #

Eq HumanLoopDataAttributes Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopDataAttributes

Hashable HumanLoopDataAttributes Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopDataAttributes

type Rep HumanLoopDataAttributes Source # 
Instance details

Defined in Amazonka.Textract.Types.HumanLoopDataAttributes

type Rep HumanLoopDataAttributes = D1 ('MetaData "HumanLoopDataAttributes" "Amazonka.Textract.Types.HumanLoopDataAttributes" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "HumanLoopDataAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contentClassifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ContentClassifier]))))

newHumanLoopDataAttributes :: HumanLoopDataAttributes Source #

Create a value of HumanLoopDataAttributes 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:contentClassifiers:HumanLoopDataAttributes', humanLoopDataAttributes_contentClassifiers - Sets whether the input image is free of personally identifiable information or adult content.

IdentityDocument

data IdentityDocument Source #

The structure that lists each document processed in an AnalyzeID operation.

See: newIdentityDocument smart constructor.

Instances

Instances details
FromJSON IdentityDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocument

Generic IdentityDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocument

Associated Types

type Rep IdentityDocument :: Type -> Type #

Read IdentityDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocument

Show IdentityDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocument

NFData IdentityDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocument

Methods

rnf :: IdentityDocument -> () #

Eq IdentityDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocument

Hashable IdentityDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocument

type Rep IdentityDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocument

type Rep IdentityDocument = D1 ('MetaData "IdentityDocument" "Amazonka.Textract.Types.IdentityDocument" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "IdentityDocument'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Block])) :*: (S1 ('MetaSel ('Just "documentIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "identityDocumentFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IdentityDocumentField])))))

newIdentityDocument :: IdentityDocument Source #

Create a value of IdentityDocument 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:blocks:IdentityDocument', identityDocument_blocks - Individual word recognition, as returned by document detection.

$sel:documentIndex:IdentityDocument', identityDocument_documentIndex - Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.

$sel:identityDocumentFields:IdentityDocument', identityDocument_identityDocumentFields - The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.

IdentityDocumentField

data IdentityDocumentField Source #

Structure containing both the normalized type of the extracted information and the text associated with it. These are extracted as Type and Value respectively.

See: newIdentityDocumentField smart constructor.

Instances

Instances details
FromJSON IdentityDocumentField Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocumentField

Generic IdentityDocumentField Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocumentField

Associated Types

type Rep IdentityDocumentField :: Type -> Type #

Read IdentityDocumentField Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocumentField

Show IdentityDocumentField Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocumentField

NFData IdentityDocumentField Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocumentField

Methods

rnf :: IdentityDocumentField -> () #

Eq IdentityDocumentField Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocumentField

Hashable IdentityDocumentField Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocumentField

type Rep IdentityDocumentField Source # 
Instance details

Defined in Amazonka.Textract.Types.IdentityDocumentField

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

newIdentityDocumentField :: IdentityDocumentField Source #

Create a value of IdentityDocumentField 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:type':IdentityDocumentField', identityDocumentField_type - Undocumented member.

$sel:valueDetection:IdentityDocumentField', identityDocumentField_valueDetection - Undocumented member.

LendingDetection

data LendingDetection Source #

The results extracted for a lending document.

See: newLendingDetection smart constructor.

Instances

Instances details
FromJSON LendingDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDetection

Generic LendingDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDetection

Associated Types

type Rep LendingDetection :: Type -> Type #

Read LendingDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDetection

Show LendingDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDetection

NFData LendingDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDetection

Methods

rnf :: LendingDetection -> () #

Eq LendingDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDetection

Hashable LendingDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDetection

type Rep LendingDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDetection

type Rep LendingDetection = D1 ('MetaData "LendingDetection" "Amazonka.Textract.Types.LendingDetection" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "LendingDetection'" '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 "selectionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SelectionStatus)) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newLendingDetection :: LendingDetection Source #

Create a value of LendingDetection 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:LendingDetection', lendingDetection_confidence - The confidence level for the text of a detected value in a lending document.

$sel:geometry:LendingDetection', lendingDetection_geometry - Undocumented member.

$sel:selectionStatus:LendingDetection', lendingDetection_selectionStatus - The selection status of a selection element, such as an option button or check box.

$sel:text:LendingDetection', lendingDetection_text - The text extracted for a detected value in a lending document.

LendingDocument

data LendingDocument Source #

Holds the structured data returned by AnalyzeDocument for lending documents.

See: newLendingDocument smart constructor.

Instances

Instances details
FromJSON LendingDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDocument

Generic LendingDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDocument

Associated Types

type Rep LendingDocument :: Type -> Type #

Read LendingDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDocument

Show LendingDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDocument

NFData LendingDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDocument

Methods

rnf :: LendingDocument -> () #

Eq LendingDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDocument

Hashable LendingDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDocument

type Rep LendingDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingDocument

type Rep LendingDocument = D1 ('MetaData "LendingDocument" "Amazonka.Textract.Types.LendingDocument" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "LendingDocument'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lendingFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LendingField])) :*: S1 ('MetaSel ('Just "signatureDetections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SignatureDetection]))))

newLendingDocument :: LendingDocument Source #

Create a value of LendingDocument 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:lendingFields:LendingDocument', lendingDocument_lendingFields - An array of LendingField objects.

$sel:signatureDetections:LendingDocument', lendingDocument_signatureDetections - A list of signatures detected in a lending document.

LendingField

data LendingField Source #

Holds the normalized key-value pairs returned by AnalyzeDocument, including the document type, detected text, and geometry.

See: newLendingField smart constructor.

Instances

Instances details
FromJSON LendingField Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingField

Generic LendingField Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingField

Associated Types

type Rep LendingField :: Type -> Type #

Read LendingField Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingField

Show LendingField Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingField

NFData LendingField Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingField

Methods

rnf :: LendingField -> () #

Eq LendingField Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingField

Hashable LendingField Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingField

type Rep LendingField Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingField

type Rep LendingField = D1 ('MetaData "LendingField" "Amazonka.Textract.Types.LendingField" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "LendingField'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyDetection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LendingDetection)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "valueDetections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LendingDetection])))))

newLendingField :: LendingField Source #

Create a value of LendingField 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:keyDetection:LendingField', lendingField_keyDetection - Undocumented member.

$sel:type':LendingField', lendingField_type - The type of the lending document.

$sel:valueDetections:LendingField', lendingField_valueDetections - An array of LendingDetection objects.

LendingResult

data LendingResult Source #

Contains the detections for each page analyzed through the Analyze Lending API.

See: newLendingResult smart constructor.

Instances

Instances details
FromJSON LendingResult Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingResult

Generic LendingResult Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingResult

Associated Types

type Rep LendingResult :: Type -> Type #

Read LendingResult Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingResult

Show LendingResult Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingResult

NFData LendingResult Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingResult

Methods

rnf :: LendingResult -> () #

Eq LendingResult Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingResult

Hashable LendingResult Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingResult

type Rep LendingResult Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingResult

type Rep LendingResult = D1 ('MetaData "LendingResult" "Amazonka.Textract.Types.LendingResult" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "LendingResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "extractions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Extraction])) :*: (S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "pageClassification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PageClassification)))))

newLendingResult :: LendingResult Source #

Create a value of LendingResult 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:extractions:LendingResult', lendingResult_extractions - An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .

$sel:page:LendingResult', lendingResult_page - The page number for a page, with regard to whole submission.

$sel:pageClassification:LendingResult', lendingResult_pageClassification - The classifier result for a given page.

LendingSummary

data LendingSummary Source #

Contains information regarding DocumentGroups and UndetectedDocumentTypes.

See: newLendingSummary smart constructor.

Instances

Instances details
FromJSON LendingSummary Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingSummary

Generic LendingSummary Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingSummary

Associated Types

type Rep LendingSummary :: Type -> Type #

Read LendingSummary Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingSummary

Show LendingSummary Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingSummary

NFData LendingSummary Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingSummary

Methods

rnf :: LendingSummary -> () #

Eq LendingSummary Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingSummary

Hashable LendingSummary Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingSummary

type Rep LendingSummary Source # 
Instance details

Defined in Amazonka.Textract.Types.LendingSummary

type Rep LendingSummary = D1 ('MetaData "LendingSummary" "Amazonka.Textract.Types.LendingSummary" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "LendingSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DocumentGroup])) :*: S1 ('MetaSel ('Just "undetectedDocumentTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newLendingSummary :: LendingSummary Source #

Create a value of LendingSummary 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:documentGroups:LendingSummary', lendingSummary_documentGroups - Contains an array of all DocumentGroup objects.

$sel:undetectedDocumentTypes:LendingSummary', lendingSummary_undetectedDocumentTypes - UndetectedDocumentTypes.

LineItemFields

data LineItemFields Source #

A structure that holds information about the different lines found in a document's tables.

See: newLineItemFields smart constructor.

Instances

Instances details
FromJSON LineItemFields Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemFields

Generic LineItemFields Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemFields

Associated Types

type Rep LineItemFields :: Type -> Type #

Read LineItemFields Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemFields

Show LineItemFields Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemFields

NFData LineItemFields Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemFields

Methods

rnf :: LineItemFields -> () #

Eq LineItemFields Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemFields

Hashable LineItemFields Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemFields

type Rep LineItemFields Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemFields

type Rep LineItemFields = D1 ('MetaData "LineItemFields" "Amazonka.Textract.Types.LineItemFields" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "LineItemFields'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lineItemExpenseFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExpenseField]))))

newLineItemFields :: LineItemFields Source #

Create a value of LineItemFields 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:lineItemExpenseFields:LineItemFields', lineItemFields_lineItemExpenseFields - ExpenseFields used to show information from detected lines on a table.

LineItemGroup

data LineItemGroup Source #

A grouping of tables which contain LineItems, with each table identified by the table's LineItemGroupIndex.

See: newLineItemGroup smart constructor.

Instances

Instances details
FromJSON LineItemGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemGroup

Generic LineItemGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemGroup

Associated Types

type Rep LineItemGroup :: Type -> Type #

Read LineItemGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemGroup

Show LineItemGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemGroup

NFData LineItemGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemGroup

Methods

rnf :: LineItemGroup -> () #

Eq LineItemGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemGroup

Hashable LineItemGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemGroup

type Rep LineItemGroup Source # 
Instance details

Defined in Amazonka.Textract.Types.LineItemGroup

type Rep LineItemGroup = D1 ('MetaData "LineItemGroup" "Amazonka.Textract.Types.LineItemGroup" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "LineItemGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lineItemGroupIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "lineItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LineItemFields]))))

newLineItemGroup :: LineItemGroup Source #

Create a value of LineItemGroup 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:lineItemGroupIndex:LineItemGroup', lineItemGroup_lineItemGroupIndex - The number used to identify a specific table in a document. The first table encountered will have a LineItemGroupIndex of 1, the second 2, etc.

$sel:lineItems:LineItemGroup', lineItemGroup_lineItems - The breakdown of information on a particular line of a table.

NormalizedValue

data NormalizedValue Source #

Contains information relating to dates in a document, including the type of value, and the value.

See: newNormalizedValue smart constructor.

Instances

Instances details
FromJSON NormalizedValue Source # 
Instance details

Defined in Amazonka.Textract.Types.NormalizedValue

Generic NormalizedValue Source # 
Instance details

Defined in Amazonka.Textract.Types.NormalizedValue

Associated Types

type Rep NormalizedValue :: Type -> Type #

Read NormalizedValue Source # 
Instance details

Defined in Amazonka.Textract.Types.NormalizedValue

Show NormalizedValue Source # 
Instance details

Defined in Amazonka.Textract.Types.NormalizedValue

NFData NormalizedValue Source # 
Instance details

Defined in Amazonka.Textract.Types.NormalizedValue

Methods

rnf :: NormalizedValue -> () #

Eq NormalizedValue Source # 
Instance details

Defined in Amazonka.Textract.Types.NormalizedValue

Hashable NormalizedValue Source # 
Instance details

Defined in Amazonka.Textract.Types.NormalizedValue

type Rep NormalizedValue Source # 
Instance details

Defined in Amazonka.Textract.Types.NormalizedValue

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

newNormalizedValue :: NormalizedValue Source #

Create a value of NormalizedValue 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:value:NormalizedValue', normalizedValue_value - The value of the date, written as Year-Month-DayTHour:Minute:Second.

$sel:valueType:NormalizedValue', normalizedValue_valueType - The normalized type of the value detected. In this case, DATE.

NotificationChannel

data NotificationChannel Source #

The Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Textract publishes the completion status of an asynchronous document operation.

See: newNotificationChannel smart constructor.

Instances

Instances details
ToJSON NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

Generic NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

Associated Types

type Rep NotificationChannel :: Type -> Type #

Read NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

Show NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

NFData NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

Methods

rnf :: NotificationChannel -> () #

Eq NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

Hashable NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

type Rep NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

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

newNotificationChannel Source #

Create a value of NotificationChannel 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:sNSTopicArn:NotificationChannel', notificationChannel_sNSTopicArn - The Amazon SNS topic that Amazon Textract posts the completion status to.

$sel:roleArn:NotificationChannel', notificationChannel_roleArn - The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.

OutputConfig

data OutputConfig Source #

Sets whether or not your output will go to a user created bucket. Used to set the name of the bucket, and the prefix on the output file.

OutputConfig is an optional parameter which lets you adjust where your output will be placed. By default, Amazon Textract will store the results internally and can only be accessed by the Get API operations. With OutputConfig enabled, you can set the name of the bucket the output will be sent to the file prefix of the results where you can download your results. Additionally, you can set the KMSKeyID parameter to a customer master key (CMK) to encrypt your output. Without this parameter set Amazon Textract will encrypt server-side using the AWS managed CMK for Amazon S3.

Decryption of Customer Content is necessary for processing of the documents by Amazon Textract. If your account is opted out under an AI services opt out policy then all unencrypted Customer Content is immediately and permanently deleted after the Customer Content has been processed by the service. No copy of of the output is retained by Amazon Textract. For information about how to opt out, see Managing AI services opt-out policy.

For more information on data privacy, see the Data Privacy FAQ.

See: newOutputConfig smart constructor.

Constructors

OutputConfig' (Maybe Text) Text 

Instances

Instances details
ToJSON OutputConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.OutputConfig

Generic OutputConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.OutputConfig

Associated Types

type Rep OutputConfig :: Type -> Type #

Read OutputConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.OutputConfig

Show OutputConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.OutputConfig

NFData OutputConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.OutputConfig

Methods

rnf :: OutputConfig -> () #

Eq OutputConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.OutputConfig

Hashable OutputConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.OutputConfig

type Rep OutputConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.OutputConfig

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

newOutputConfig Source #

Create a value of OutputConfig 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:s3Prefix:OutputConfig', outputConfig_s3Prefix - The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".

$sel:s3Bucket:OutputConfig', outputConfig_s3Bucket - The name of the bucket your output will go to.

PageClassification

data PageClassification Source #

The class assigned to a Page object detected in an input document. Contains information regarding the predicted type/class of a document's page and the page number that the Page object was detected on.

See: newPageClassification smart constructor.

Instances

Instances details
FromJSON PageClassification Source # 
Instance details

Defined in Amazonka.Textract.Types.PageClassification

Generic PageClassification Source # 
Instance details

Defined in Amazonka.Textract.Types.PageClassification

Associated Types

type Rep PageClassification :: Type -> Type #

Read PageClassification Source # 
Instance details

Defined in Amazonka.Textract.Types.PageClassification

Show PageClassification Source # 
Instance details

Defined in Amazonka.Textract.Types.PageClassification

NFData PageClassification Source # 
Instance details

Defined in Amazonka.Textract.Types.PageClassification

Methods

rnf :: PageClassification -> () #

Eq PageClassification Source # 
Instance details

Defined in Amazonka.Textract.Types.PageClassification

Hashable PageClassification Source # 
Instance details

Defined in Amazonka.Textract.Types.PageClassification

type Rep PageClassification Source # 
Instance details

Defined in Amazonka.Textract.Types.PageClassification

type Rep PageClassification = D1 ('MetaData "PageClassification" "Amazonka.Textract.Types.PageClassification" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "PageClassification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Prediction]) :*: S1 ('MetaSel ('Just "pageNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Prediction])))

newPageClassification :: PageClassification Source #

Create a value of PageClassification 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:pageType:PageClassification', pageClassification_pageType - The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.

$sel:pageNumber:PageClassification', pageClassification_pageNumber - The page number the value was detected on, relative to Amazon Textract's starting position.

Point

data Point Source #

The X and Y coordinates of a point on a document page. The X and Y values that are returned are ratios of the overall document page size. For example, if the input document is 700 x 200 and the operation returns X=0.5 and Y=0.25, then the point is at the (350,50) pixel coordinate on the document page.

An array of Point objects, Polygon, is returned by DetectDocumentText. Polygon represents a fine-grained polygon around detected text. For more information, see Geometry in the Amazon Textract Developer Guide.

See: newPoint smart constructor.

Constructors

Point' (Maybe Double) (Maybe Double) 

Instances

Instances details
FromJSON Point Source # 
Instance details

Defined in Amazonka.Textract.Types.Point

Generic Point Source # 
Instance details

Defined in Amazonka.Textract.Types.Point

Associated Types

type Rep Point :: Type -> Type #

Methods

from :: Point -> Rep Point x #

to :: Rep Point x -> Point #

Read Point Source # 
Instance details

Defined in Amazonka.Textract.Types.Point

Show Point Source # 
Instance details

Defined in Amazonka.Textract.Types.Point

Methods

showsPrec :: Int -> Point -> ShowS #

show :: Point -> String #

showList :: [Point] -> ShowS #

NFData Point Source # 
Instance details

Defined in Amazonka.Textract.Types.Point

Methods

rnf :: Point -> () #

Eq Point Source # 
Instance details

Defined in Amazonka.Textract.Types.Point

Methods

(==) :: Point -> Point -> Bool #

(/=) :: Point -> Point -> Bool #

Hashable Point Source # 
Instance details

Defined in Amazonka.Textract.Types.Point

Methods

hashWithSalt :: Int -> Point -> Int #

hash :: Point -> Int #

type Rep Point Source # 
Instance details

Defined in Amazonka.Textract.Types.Point

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

newPoint :: Point Source #

Create a value of Point 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:x:Point', point_x - The value of the X coordinate for a point on a Polygon.

$sel:y:Point', point_y - The value of the Y coordinate for a point on a Polygon.

Prediction

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' (Maybe Double) (Maybe Text) 

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.

QueriesConfig

data QueriesConfig Source #

See: newQueriesConfig smart constructor.

Constructors

QueriesConfig' (NonEmpty Query) 

Instances

Instances details
ToJSON QueriesConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.QueriesConfig

Generic QueriesConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.QueriesConfig

Associated Types

type Rep QueriesConfig :: Type -> Type #

Read QueriesConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.QueriesConfig

Show QueriesConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.QueriesConfig

NFData QueriesConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.QueriesConfig

Methods

rnf :: QueriesConfig -> () #

Eq QueriesConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.QueriesConfig

Hashable QueriesConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.QueriesConfig

type Rep QueriesConfig Source # 
Instance details

Defined in Amazonka.Textract.Types.QueriesConfig

type Rep QueriesConfig = D1 ('MetaData "QueriesConfig" "Amazonka.Textract.Types.QueriesConfig" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "QueriesConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Query))))

newQueriesConfig Source #

Create a value of QueriesConfig 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:queries:QueriesConfig', queriesConfig_queries -

Query

data Query Source #

Each query contains the question you want to ask in the Text and the alias you want to associate.

See: newQuery smart constructor.

Constructors

Query' (Maybe Text) (Maybe (NonEmpty Text)) Text 

Instances

Instances details
FromJSON Query Source # 
Instance details

Defined in Amazonka.Textract.Types.Query

ToJSON Query Source # 
Instance details

Defined in Amazonka.Textract.Types.Query

Generic Query Source # 
Instance details

Defined in Amazonka.Textract.Types.Query

Associated Types

type Rep Query :: Type -> Type #

Methods

from :: Query -> Rep Query x #

to :: Rep Query x -> Query #

Read Query Source # 
Instance details

Defined in Amazonka.Textract.Types.Query

Show Query Source # 
Instance details

Defined in Amazonka.Textract.Types.Query

Methods

showsPrec :: Int -> Query -> ShowS #

show :: Query -> String #

showList :: [Query] -> ShowS #

NFData Query Source # 
Instance details

Defined in Amazonka.Textract.Types.Query

Methods

rnf :: Query -> () #

Eq Query Source # 
Instance details

Defined in Amazonka.Textract.Types.Query

Methods

(==) :: Query -> Query -> Bool #

(/=) :: Query -> Query -> Bool #

Hashable Query Source # 
Instance details

Defined in Amazonka.Textract.Types.Query

Methods

hashWithSalt :: Int -> Query -> Int #

hash :: Query -> Int #

type Rep Query Source # 
Instance details

Defined in Amazonka.Textract.Types.Query

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

newQuery Source #

Arguments

:: Text

$sel:text:Query'

-> Query 

Create a value of Query 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:alias:Query', query_alias - Alias attached to the query, for ease of location.

$sel:pages:Query', query_pages - Pages is a parameter that the user inputs to specify which pages to apply a query to. The following is a list of rules for using this parameter.

  • If a page is not specified, it is set to ["1"] by default.
  • The following characters are allowed in the parameter's string: 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is allowed.
  • When using * to indicate all pages, it must be the only element in the list.
  • You can use page intervals, such as [“1-3”, “1-1”, “4-*”]. Where * indicates last page of document.
  • Specified pages must be greater than 0 and less than or equal to the number of pages in the document.

$sel:text:Query', query_text - Question that Amazon Textract will apply to the document. An example would be "What is the customer's SSN?"

Relationship

data Relationship Source #

Information about how blocks are related to each other. A Block object contains 0 or more Relation objects in a list, Relationships. For more information, see Block.

The Type element provides the type of the relationship for all blocks in the IDs array.

See: newRelationship smart constructor.

Instances

Instances details
FromJSON Relationship Source # 
Instance details

Defined in Amazonka.Textract.Types.Relationship

Generic Relationship Source # 
Instance details

Defined in Amazonka.Textract.Types.Relationship

Associated Types

type Rep Relationship :: Type -> Type #

Read Relationship Source # 
Instance details

Defined in Amazonka.Textract.Types.Relationship

Show Relationship Source # 
Instance details

Defined in Amazonka.Textract.Types.Relationship

NFData Relationship Source # 
Instance details

Defined in Amazonka.Textract.Types.Relationship

Methods

rnf :: Relationship -> () #

Eq Relationship Source # 
Instance details

Defined in Amazonka.Textract.Types.Relationship

Hashable Relationship Source # 
Instance details

Defined in Amazonka.Textract.Types.Relationship

type Rep Relationship Source # 
Instance details

Defined in Amazonka.Textract.Types.Relationship

type Rep Relationship = D1 ('MetaData "Relationship" "Amazonka.Textract.Types.Relationship" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "Relationship'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ids") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RelationshipType))))

newRelationship :: Relationship Source #

Create a value of Relationship 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:ids:Relationship', relationship_ids - An array of IDs for related blocks. You can get the type of the relationship from the Type element.

$sel:type':Relationship', relationship_type - The type of relationship that the blocks in the IDs array have with the current block. The relationship can be VALUE or CHILD. A relationship of type VALUE is a list that contains the ID of the VALUE block that's associated with the KEY of a key-value pair. A relationship of type CHILD is a list of IDs that identify WORD blocks in the case of lines Cell blocks in the case of Tables, and WORD blocks in the case of Selection Elements.

S3Object

data S3Object Source #

The S3 bucket name and file name that identifies the document.

The AWS Region for the S3 bucket that contains the document must match the Region that you use for Amazon Textract operations.

For Amazon Textract to process a file in an S3 bucket, the user must have permission to access the S3 bucket and file.

See: newS3Object smart constructor.

Constructors

S3Object' (Maybe Text) (Maybe Text) (Maybe Text) 

Instances

Instances details
ToJSON S3Object Source # 
Instance details

Defined in Amazonka.Textract.Types.S3Object

Generic S3Object Source # 
Instance details

Defined in Amazonka.Textract.Types.S3Object

Associated Types

type Rep S3Object :: Type -> Type #

Methods

from :: S3Object -> Rep S3Object x #

to :: Rep S3Object x -> S3Object #

Read S3Object Source # 
Instance details

Defined in Amazonka.Textract.Types.S3Object

Show S3Object Source # 
Instance details

Defined in Amazonka.Textract.Types.S3Object

NFData S3Object Source # 
Instance details

Defined in Amazonka.Textract.Types.S3Object

Methods

rnf :: S3Object -> () #

Eq S3Object Source # 
Instance details

Defined in Amazonka.Textract.Types.S3Object

Hashable S3Object Source # 
Instance details

Defined in Amazonka.Textract.Types.S3Object

Methods

hashWithSalt :: Int -> S3Object -> Int #

hash :: S3Object -> Int #

type Rep S3Object Source # 
Instance details

Defined in Amazonka.Textract.Types.S3Object

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

newS3Object :: S3Object Source #

Create a value of S3Object 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:bucket:S3Object', s3Object_bucket - The name of the S3 bucket. Note that the # character is not valid in the file name.

$sel:name:S3Object', s3Object_name - The file name of the input document. Synchronous operations can use image files that are in JPEG or PNG format. Asynchronous operations also support PDF and TIFF format files.

$sel:version:S3Object', s3Object_version - If the bucket has versioning enabled, you can specify the object version.

SignatureDetection

data SignatureDetection Source #

Information regarding a detected signature on a page.

See: newSignatureDetection smart constructor.

Instances

Instances details
FromJSON SignatureDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.SignatureDetection

Generic SignatureDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.SignatureDetection

Associated Types

type Rep SignatureDetection :: Type -> Type #

Read SignatureDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.SignatureDetection

Show SignatureDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.SignatureDetection

NFData SignatureDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.SignatureDetection

Methods

rnf :: SignatureDetection -> () #

Eq SignatureDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.SignatureDetection

Hashable SignatureDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.SignatureDetection

type Rep SignatureDetection Source # 
Instance details

Defined in Amazonka.Textract.Types.SignatureDetection

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

newSignatureDetection :: SignatureDetection Source #

Create a value of SignatureDetection 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:SignatureDetection', signatureDetection_confidence - The confidence, from 0 to 100, in the predicted values for a detected signature.

$sel:geometry:SignatureDetection', signatureDetection_geometry - Undocumented member.

SplitDocument

data SplitDocument Source #

Contains information about the pages of a document, defined by logical boundary.

See: newSplitDocument smart constructor.

Instances

Instances details
FromJSON SplitDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.SplitDocument

Generic SplitDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.SplitDocument

Associated Types

type Rep SplitDocument :: Type -> Type #

Read SplitDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.SplitDocument

Show SplitDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.SplitDocument

NFData SplitDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.SplitDocument

Methods

rnf :: SplitDocument -> () #

Eq SplitDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.SplitDocument

Hashable SplitDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.SplitDocument

type Rep SplitDocument Source # 
Instance details

Defined in Amazonka.Textract.Types.SplitDocument

type Rep SplitDocument = D1 ('MetaData "SplitDocument" "Amazonka.Textract.Types.SplitDocument" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "SplitDocument'" 'PrefixI 'True) (S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "pages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Natural]))))

newSplitDocument :: SplitDocument Source #

Create a value of SplitDocument 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:index:SplitDocument', splitDocument_index - The index for a given document in a DocumentGroup of a specific Type.

$sel:pages:SplitDocument', splitDocument_pages - An array of page numbers for a for a given document, ordered by logical boundary.

UndetectedSignature

data UndetectedSignature Source #

A structure containing information about an undetected signature on a page where it was expected but not found.

See: newUndetectedSignature smart constructor.

Instances

Instances details
FromJSON UndetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.UndetectedSignature

Generic UndetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.UndetectedSignature

Associated Types

type Rep UndetectedSignature :: Type -> Type #

Read UndetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.UndetectedSignature

Show UndetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.UndetectedSignature

NFData UndetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.UndetectedSignature

Methods

rnf :: UndetectedSignature -> () #

Eq UndetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.UndetectedSignature

Hashable UndetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.UndetectedSignature

type Rep UndetectedSignature Source # 
Instance details

Defined in Amazonka.Textract.Types.UndetectedSignature

type Rep UndetectedSignature = D1 ('MetaData "UndetectedSignature" "Amazonka.Textract.Types.UndetectedSignature" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "UndetectedSignature'" 'PrefixI 'True) (S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newUndetectedSignature :: UndetectedSignature Source #

Create a value of UndetectedSignature 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:page:UndetectedSignature', undetectedSignature_page - The page where a signature was expected but not found.

Warning

data Warning Source #

A warning about an issue that occurred during asynchronous text analysis (StartDocumentAnalysis) or asynchronous document text detection (StartDocumentTextDetection).

See: newWarning smart constructor.

Constructors

Warning' (Maybe Text) (Maybe [Natural]) 

Instances

Instances details
FromJSON Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Generic Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Associated Types

type Rep Warning :: Type -> Type #

Methods

from :: Warning -> Rep Warning x #

to :: Rep Warning x -> Warning #

Read Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Show Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

NFData Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Methods

rnf :: Warning -> () #

Eq Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Methods

(==) :: Warning -> Warning -> Bool #

(/=) :: Warning -> Warning -> Bool #

Hashable Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

Methods

hashWithSalt :: Int -> Warning -> Int #

hash :: Warning -> Int #

type Rep Warning Source # 
Instance details

Defined in Amazonka.Textract.Types.Warning

type Rep Warning = D1 ('MetaData "Warning" "Amazonka.Textract.Types.Warning" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "Warning'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Natural]))))

newWarning :: Warning Source #

Create a value of Warning 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:errorCode:Warning', warning_errorCode - The error code for the warning.

$sel:pages:Warning', warning_pages - A list of the pages that the warning applies to.