Developer guide
This section provides the source code for the solution, additional customizations, an API reference, and information for deploying the solution without the UI.
Source code
Visit our
GitHub
repository
The Enhanced Document Understanding on AWS templates are generated
using the AWS CDK. See
the README.md
file
Customization guide
Refer
the README.md
file
API reference
This section provides API references for the solution.
API | HTTP Method | Functionality | Authorized Callers |
---|---|---|---|
|
|
Creates a new case | Cognito authenticated JWT token |
|
|
Retrieves case details, including a list of uploaded documents | Cognito authenticated JWT token |
|
|
Retrieves a list of cases | Cognito authenticated JWT token |
|
|
Uploads a new document to a case | Cognito authenticated JWT token |
|
|
Downloads an existing document for a case | Cognito authenticated JWT token |
|
|
Gets the S3 location with key prefix where the document is uploaded | Cognito authenticated JWT token |
|
|
Gets inferences for a document associated with a case | Cognito authenticated JWT token |
|
|
Get the available inferences for the document | Cognito authenticated JWT token |
|
|
Requests redaction of selected content in a document | Cognito authenticated JWT token |
|
|
Searches for documents using NLP queries and Amazon Kendra service | Cognito authenticated JWT token |
|
|
Searches for documents using keyword queries and Amazon OpenSearch Serverless service | Cognito authenticated JWT token |
Deploying the application without the UI
The solution provides an option to deploy only the API endpoints with the workflow configuration and integrate it with another UI application. Check the Mappings section in the CloudFormation template to enable or disable features for deployment.