# Packages
Package textractiface provides an interface to enable mocking the Amazon Textract service client for testing your code.
# Functions
AdapterVersionStatus_Values returns all elements of the AdapterVersionStatus enum.
AutoUpdate_Values returns all elements of the AutoUpdate enum.
BlockType_Values returns all elements of the BlockType enum.
ContentClassifier_Values returns all elements of the ContentClassifier enum.
EntityType_Values returns all elements of the EntityType enum.
FeatureType_Values returns all elements of the FeatureType enum.
JobStatus_Values returns all elements of the JobStatus enum.
New creates a new instance of the Textract client with a session.
RelationshipType_Values returns all elements of the RelationshipType enum.
SelectionStatus_Values returns all elements of the SelectionStatus enum.
TextType_Values returns all elements of the TextType enum.
ValueType_Values returns all elements of the ValueType enum.
# Constants
AdapterVersionStatusActive is a AdapterVersionStatus enum value.
AdapterVersionStatusAtRisk is a AdapterVersionStatus enum value.
AdapterVersionStatusCreationError is a AdapterVersionStatus enum value.
AdapterVersionStatusCreationInProgress is a AdapterVersionStatus enum value.
AdapterVersionStatusDeprecated is a AdapterVersionStatus enum value.
AutoUpdateDisabled is a AutoUpdate enum value.
AutoUpdateEnabled is a AutoUpdate enum value.
BlockTypeCell is a BlockType enum value.
BlockTypeKeyValueSet is a BlockType enum value.
BlockTypeLayoutFigure is a BlockType enum value.
BlockTypeLayoutFooter is a BlockType enum value.
BlockTypeLayoutHeader is a BlockType enum value.
BlockTypeLayoutKeyValue is a BlockType enum value.
BlockTypeLayoutList is a BlockType enum value.
BlockTypeLayoutPageNumber is a BlockType enum value.
BlockTypeLayoutSectionHeader is a BlockType enum value.
BlockTypeLayoutTable is a BlockType enum value.
BlockTypeLayoutText is a BlockType enum value.
BlockTypeLayoutTitle is a BlockType enum value.
BlockTypeLine is a BlockType enum value.
BlockTypeMergedCell is a BlockType enum value.
BlockTypePage is a BlockType enum value.
BlockTypeQuery is a BlockType enum value.
BlockTypeQueryResult is a BlockType enum value.
BlockTypeSelectionElement is a BlockType enum value.
BlockTypeSignature is a BlockType enum value.
BlockTypeTable is a BlockType enum value.
BlockTypeTableFooter is a BlockType enum value.
BlockTypeTableTitle is a BlockType enum value.
BlockTypeTitle is a BlockType enum value.
BlockTypeWord is a BlockType enum value.
ContentClassifierFreeOfAdultContent is a ContentClassifier enum value.
ContentClassifierFreeOfPersonallyIdentifiableInformation is a ContentClassifier enum value.
ID to lookup a service endpoint with.
EntityTypeColumnHeader is a EntityType enum value.
EntityTypeKey is a EntityType enum value.
EntityTypeSemiStructuredTable is a EntityType enum value.
EntityTypeStructuredTable is a EntityType enum value.
EntityTypeTableFooter is a EntityType enum value.
EntityTypeTableSectionTitle is a EntityType enum value.
EntityTypeTableSummary is a EntityType enum value.
EntityTypeTableTitle is a EntityType enum value.
EntityTypeValue is a EntityType enum value.
ErrCodeAccessDeniedException for service response error code "AccessDeniedException".
ErrCodeBadDocumentException for service response error code "BadDocumentException".
ErrCodeConflictException for service response error code "ConflictException".
ErrCodeDocumentTooLargeException for service response error code "DocumentTooLargeException".
ErrCodeHumanLoopQuotaExceededException for service response error code "HumanLoopQuotaExceededException".
ErrCodeIdempotentParameterMismatchException for service response error code "IdempotentParameterMismatchException".
ErrCodeInternalServerError for service response error code "InternalServerError".
ErrCodeInvalidJobIdException for service response error code "InvalidJobIdException".
ErrCodeInvalidKMSKeyException for service response error code "InvalidKMSKeyException".
ErrCodeInvalidParameterException for service response error code "InvalidParameterException".
ErrCodeInvalidS3ObjectException for service response error code "InvalidS3ObjectException".
ErrCodeLimitExceededException for service response error code "LimitExceededException".
ErrCodeProvisionedThroughputExceededException for service response error code "ProvisionedThroughputExceededException".
ErrCodeResourceNotFoundException for service response error code "ResourceNotFoundException".
ErrCodeServiceQuotaExceededException for service response error code "ServiceQuotaExceededException".
ErrCodeThrottlingException for service response error code "ThrottlingException".
ErrCodeUnsupportedDocumentException for service response error code "UnsupportedDocumentException".
ErrCodeValidationException for service response error code "ValidationException".
FeatureTypeForms is a FeatureType enum value.
FeatureTypeLayout is a FeatureType enum value.
FeatureTypeQueries is a FeatureType enum value.
FeatureTypeSignatures is a FeatureType enum value.
FeatureTypeTables is a FeatureType enum value.
JobStatusFailed is a JobStatus enum value.
JobStatusInProgress is a JobStatus enum value.
JobStatusPartialSuccess is a JobStatus enum value.
JobStatusSucceeded is a JobStatus enum value.
RelationshipTypeAnswer is a RelationshipType enum value.
RelationshipTypeChild is a RelationshipType enum value.
RelationshipTypeComplexFeatures is a RelationshipType enum value.
RelationshipTypeMergedCell is a RelationshipType enum value.
RelationshipTypeTable is a RelationshipType enum value.
RelationshipTypeTableFooter is a RelationshipType enum value.
RelationshipTypeTableTitle is a RelationshipType enum value.
RelationshipTypeTitle is a RelationshipType enum value.
RelationshipTypeValue is a RelationshipType enum value.
SelectionStatusNotSelected is a SelectionStatus enum value.
SelectionStatusSelected is a SelectionStatus enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
TextTypeHandwriting is a TextType enum value.
TextTypePrinted is a TextType enum value.
ValueTypeDate is a ValueType enum value.
# Structs
You aren't authorized to perform the action.
An adapter selected for use when analyzing documents.
Contains information on the adapter, including the adapter ID, Name, Creation time, and feature types.
Contains information about adapters used when analyzing a document, with each adapter specified using an AdapterId and version.
The dataset configuration options for a given version of an adapter.
Contains information on the metrics used to evalute the peformance of a given adapter version.
Summary info for an adapter version.
Used to contain the information detected by an AnalyzeID operation.
Amazon Textract isn't able to read the document.
A Block represents items that are recognized in a document within a group of pixels close to each other.
The bounding box around the detected page, text, key-value pair, table, table cell, or selection element on a document page.
Updating or deleting a resource can cause an inconsistent state.
A structure that holds information regarding a detected signature on a page.
The input document, either as bytes or as an S3 object.
Summary information about documents grouped by the same document type.
The Amazon S3 bucket that contains the document to be processed.
Information about the input document.
The document can't be processed because it's too large.
The evaluation metrics (F1 score, Precision, and Recall) for an adapter version.
Returns the kind of currency detected.
An object used to store information about the Value or Label detected by Amazon Textract.
The structure holding all the information returned by AnalyzeExpense.
Breakdown of detected information, seperated into the catagories Type, LabelDetection, and ValueDetection.
Shows the group that a certain key belongs to.
An object used to store information about the Type detected by Amazon Textract.
Contains information extracted by an analysis operation after using StartLendingAnalysis.
Information about where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.
Shows the results of the human in the loop evaluation.
Sets up the human review workflow the document will be sent to if one of the conditions is met.
Allows you to set attributes of the image.
Indicates you have exceeded the maximum number of active human in the loop workflows available.
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.
The structure that lists each document processed in an AnalyzeID operation.
Structure containing both the normalized type of the extracted information and the text associated with it.
Amazon Textract experienced a service issue.
An invalid job identifier was passed to an asynchronous analysis operation.
Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key was entered incorrectly.
An input parameter violated a constraint.
Amazon Textract is unable to access the S3 object that's specified in the request.
The results extracted for a lending document.
Holds the structured data returned by AnalyzeDocument for lending documents.
Holds the normalized key-value pairs returned by AnalyzeDocument, including the document type, detected text, and geometry.
Contains the detections for each page analyzed through the Analyze Lending API.
Contains information regarding DocumentGroups and UndetectedDocumentTypes.
An Amazon Textract service limit was exceeded.
A structure that holds information about the different lines found in a document's tables.
A grouping of tables which contain LineItems, with each table identified by the table's LineItemGroupIndex.
Contains information relating to dates in a document, including the type of value, and the value.
The Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Textract publishes the completion status of an asynchronous document operation.
Sets whether or not your output will go to a user created bucket.
The class assigned to a Page object detected in an input document.
The X and Y coordinates of a point on a document page.
Contains information regarding predicted values returned by Amazon Textract operations, including the predicted value and the confidence in the predicted value.
The number of requests exceeded your throughput limit.
Each query contains the question you want to ask in the Text and the alias you want to associate.
Information about how blocks are related to each other.
Returned when an operation tried to access a nonexistent resource.
The S3 bucket name and file name that identifies the document.
Returned when a request cannot be completed as it would exceed a maximum service quota.
Information regarding a detected signature on a page.
Contains information about the pages of a document, defined by logical boundary.
Textract provides the API operation methods for making requests to Amazon Textract.
Amazon Textract is temporarily unable to process the request.
A structure containing information about an undetected signature on a page where it was expected but not found.
The format of the input document isn't supported.
Indicates that a request was not valid.
A warning about an issue that occurred during asynchronous text analysis (StartDocumentAnalysis) or asynchronous document text detection (StartDocumentTextDetection).