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

Description

Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields, which records both the normalized field and value of the extracted text.Unlike other Amazon Textract operations, AnalyzeID doesn't return any Geometry data.

Synopsis

Creating a Request

data AnalyzeID Source #

See: newAnalyzeID smart constructor.

Constructors

AnalyzeID' 

Fields

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.

Request Lenses

analyzeID_documentPages :: Lens' AnalyzeID (NonEmpty Document) Source #

The document being passed to AnalyzeID.

Destructuring the Response

data AnalyzeIDResponse Source #

See: newAnalyzeIDResponse smart constructor.

Constructors

AnalyzeIDResponse' 

Fields

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.

Response Lenses

analyzeIDResponse_analyzeIDModelVersion :: Lens' AnalyzeIDResponse (Maybe Text) Source #

The version of the AnalyzeIdentity API being used to process documents.

analyzeIDResponse_identityDocuments :: Lens' AnalyzeIDResponse (Maybe [IdentityDocument]) Source #

The list of documents processed by AnalyzeID. Includes a number denoting their place in the list and the response structure for the document.

analyzeIDResponse_httpStatus :: Lens' AnalyzeIDResponse Int Source #

The response's http status code.