| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data AnalyzeID = AnalyzeID' {}
- newAnalyzeID :: NonEmpty Document -> AnalyzeID
- analyzeID_documentPages :: Lens' AnalyzeID (NonEmpty Document)
- data AnalyzeIDResponse = AnalyzeIDResponse' {}
- newAnalyzeIDResponse :: Int -> AnalyzeIDResponse
- analyzeIDResponse_analyzeIDModelVersion :: Lens' AnalyzeIDResponse (Maybe Text)
- analyzeIDResponse_documentMetadata :: Lens' AnalyzeIDResponse (Maybe DocumentMetadata)
- analyzeIDResponse_identityDocuments :: Lens' AnalyzeIDResponse (Maybe [IdentityDocument])
- analyzeIDResponse_httpStatus :: Lens' AnalyzeIDResponse Int
Creating a Request
See: newAnalyzeID smart constructor.
Constructors
| AnalyzeID' | |
Fields
| |
Instances
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
Arguments
| :: Int | |
| -> AnalyzeIDResponse |
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_documentMetadata :: Lens' AnalyzeIDResponse (Maybe DocumentMetadata) Source #
Undocumented member.
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.