Classes
The following classes are available globally.
-
An adapter selected for use when analyzing documents. Contains an adapter ID and a version number. Contains information on pages selected for analysis when analyzing documents asychronously.
Required parameters: [AdapterId, Version]
See moreDeclaration
Objective-C
@interface AWSTextractAdapterSwift
class AWSTextractAdapter -
Contains information on the adapter, including the adapter ID, Name, Creation time, and feature types.
See moreDeclaration
Objective-C
@interface AWSTextractAdapterOverviewSwift
class AWSTextractAdapterOverview -
The dataset configuration options for a given version of an adapter. Can include an Amazon S3 bucket if specified.
See moreDeclaration
Objective-C
@interface AWSTextractAdapterVersionDatasetConfigSwift
class AWSTextractAdapterVersionDatasetConfig -
Contains information on the metrics used to evalute the peformance of a given adapter version. Includes data for baseline model performance and individual adapter version perfromance.
See moreDeclaration
Objective-C
@interface AWSTextractAdapterVersionEvaluationMetricSwift
class AWSTextractAdapterVersionEvaluationMetric -
Summary info for an adapter version. Contains information on the AdapterId, AdapterVersion, CreationTime, FeatureTypes, and Status.
See moreDeclaration
Objective-C
@interface AWSTextractAdapterVersionOverviewSwift
class AWSTextractAdapterVersionOverview -
Contains information about adapters used when analyzing a document, with each adapter specified using an AdapterId and version
Required parameters: [Adapters]
See moreDeclaration
Objective-C
@interface AWSTextractAdaptersConfigSwift
class AWSTextractAdaptersConfig -
Declaration
Objective-C
@interface AWSTextractAnalyzeDocumentRequestSwift
class AWSTextractAnalyzeDocumentRequest -
Declaration
Objective-C
@interface AWSTextractAnalyzeDocumentResponseSwift
class AWSTextractAnalyzeDocumentResponse -
Declaration
Objective-C
@interface AWSTextractAnalyzeExpenseRequestSwift
class AWSTextractAnalyzeExpenseRequest -
Declaration
Objective-C
@interface AWSTextractAnalyzeExpenseResponseSwift
class AWSTextractAnalyzeExpenseResponse -
Used to contain the information detected by an AnalyzeID operation.
Required parameters: [Text]
See moreDeclaration
Objective-C
@interface AWSTextractAnalyzeIDDetectionsSwift
class AWSTextractAnalyzeIDDetections -
Declaration
Objective-C
@interface AWSTextractAnalyzeIDRequestSwift
class AWSTextractAnalyzeIDRequest -
Declaration
Objective-C
@interface AWSTextractAnalyzeIDResponseSwift
class AWSTextractAnalyzeIDResponse -
A
Blockrepresents items that are recognized in a document within a group of pixels close to each other. The information returned in aBlockobject 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
Blockobjects is returned by both synchronous and asynchronous operations. In synchronous operations, such as DetectDocumentText, the array ofBlockobjects 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 moreDeclaration
Objective-C
@interface AWSTextractBlockSwift
class AWSTextractBlock -
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) andtop(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
topandleftvalues 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 aleftvalue of 0.5 (350/700) and atopvalue of 0.25 (50/200).The
See morewidthandheightvalues 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.Declaration
Objective-C
@interface AWSTextractBoundingBoxSwift
class AWSTextractBoundingBox -
Declaration
Objective-C
@interface AWSTextractCreateAdapterRequestSwift
class AWSTextractCreateAdapterRequest -
Declaration
Objective-C
@interface AWSTextractCreateAdapterResponseSwift
class AWSTextractCreateAdapterResponse -
Declaration
Objective-C
@interface AWSTextractCreateAdapterVersionRequestSwift
class AWSTextractCreateAdapterVersionRequest -
Declaration
Objective-C
@interface AWSTextractCreateAdapterVersionResponseSwift
class AWSTextractCreateAdapterVersionResponse -
Declaration
Objective-C
@interface AWSTextractDeleteAdapterRequestSwift
class AWSTextractDeleteAdapterRequest -
Declaration
Objective-C
@interface AWSTextractDeleteAdapterResponseSwift
class AWSTextractDeleteAdapterResponse -
Declaration
Objective-C
@interface AWSTextractDeleteAdapterVersionRequestSwift
class AWSTextractDeleteAdapterVersionRequest -
Declaration
Objective-C
@interface AWSTextractDeleteAdapterVersionResponseSwift
class AWSTextractDeleteAdapterVersionResponse -
Declaration
Objective-C
@interface AWSTextractDetectDocumentTextRequestSwift
class AWSTextractDetectDocumentTextRequest -
Declaration
Objective-C
@interface AWSTextractDetectDocumentTextResponseSwift
class AWSTextractDetectDocumentTextResponse -
A structure that holds information regarding a detected signature on a page.
See moreDeclaration
Objective-C
@interface AWSTextractDetectedSignatureSwift
class AWSTextractDetectedSignature -
The input document, either as bytes or as an S3 object.
You pass image bytes to an Amazon Textract API operation by using the
Bytesproperty. For example, you would use theBytesproperty to pass a document loaded from a local file system. Image bytes passed by using theBytesproperty 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
S3Objectproperty. 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 moreDeclaration
Objective-C
@interface AWSTextractDocumentSwift
class AWSTextractDocument -
Summary information about documents grouped by the same document type.
See moreDeclaration
Objective-C
@interface AWSTextractDocumentGroupSwift
class AWSTextractDocumentGroup -
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 moreDeclaration
Objective-C
@interface AWSTextractDocumentLocationSwift
class AWSTextractDocumentLocation -
Information about the input document.
See moreDeclaration
Objective-C
@interface AWSTextractDocumentMetadataSwift
class AWSTextractDocumentMetadata -
The evaluation metrics (F1 score, Precision, and Recall) for an adapter version.
See moreDeclaration
Objective-C
@interface AWSTextractEvaluationMetricSwift
class AWSTextractEvaluationMetric -
Returns the kind of currency detected.
See moreDeclaration
Objective-C
@interface AWSTextractExpenseCurrencySwift
class AWSTextractExpenseCurrency -
An object used to store information about the Value or Label detected by Amazon Textract.
See moreDeclaration
Objective-C
@interface AWSTextractExpenseDetectionSwift
class AWSTextractExpenseDetection -
The structure holding all the information returned by AnalyzeExpense
See moreDeclaration
Objective-C
@interface AWSTextractExpenseDocumentSwift
class AWSTextractExpenseDocument -
Breakdown of detected information, seperated into the catagories Type, LabelDetection, and ValueDetection
See moreDeclaration
Objective-C
@interface AWSTextractExpenseFieldSwift
class AWSTextractExpenseField -
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 moreDeclaration
Objective-C
@interface AWSTextractExpenseGroupPropertySwift
class AWSTextractExpenseGroupProperty -
An object used to store information about the Type detected by Amazon Textract.
See moreDeclaration
Objective-C
@interface AWSTextractExpenseTypeSwift
class AWSTextractExpenseType -
Contains information extracted by an analysis operation after using StartLendingAnalysis.
See moreDeclaration
Objective-C
@interface AWSTextractExtractionSwift
class AWSTextractExtraction -
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 moreDeclaration
Objective-C
@interface AWSTextractGeometrySwift
class AWSTextractGeometry -
Declaration
Objective-C
@interface AWSTextractGetAdapterRequestSwift
class AWSTextractGetAdapterRequest -
Declaration
Objective-C
@interface AWSTextractGetAdapterResponseSwift
class AWSTextractGetAdapterResponse -
Declaration
Objective-C
@interface AWSTextractGetAdapterVersionRequestSwift
class AWSTextractGetAdapterVersionRequest -
Declaration
Objective-C
@interface AWSTextractGetAdapterVersionResponseSwift
class AWSTextractGetAdapterVersionResponse -
Declaration
Objective-C
@interface AWSTextractGetDocumentAnalysisRequestSwift
class AWSTextractGetDocumentAnalysisRequest -
Declaration
Objective-C
@interface AWSTextractGetDocumentAnalysisResponseSwift
class AWSTextractGetDocumentAnalysisResponse -
Declaration
Objective-C
@interface AWSTextractGetDocumentTextDetectionRequestSwift
class AWSTextractGetDocumentTextDetectionRequest -
Declaration
Objective-C
@interface AWSTextractGetDocumentTextDetectionResponseSwift
class AWSTextractGetDocumentTextDetectionResponse -
Declaration
Objective-C
@interface AWSTextractGetExpenseAnalysisRequestSwift
class AWSTextractGetExpenseAnalysisRequest -
Declaration
Objective-C
@interface AWSTextractGetExpenseAnalysisResponseSwift
class AWSTextractGetExpenseAnalysisResponse -
Declaration
Objective-C
@interface AWSTextractGetLendingAnalysisRequestSwift
class AWSTextractGetLendingAnalysisRequest -
Declaration
Objective-C
@interface AWSTextractGetLendingAnalysisResponseSwift
class AWSTextractGetLendingAnalysisResponse -
Declaration
Objective-C
@interface AWSTextractGetLendingAnalysisSummaryRequestSwift
class AWSTextractGetLendingAnalysisSummaryRequest -
Declaration
Objective-C
@interface AWSTextractGetLendingAnalysisSummaryResponseSwift
class AWSTextractGetLendingAnalysisSummaryResponse -
Shows the results of the human in the loop evaluation. If there is no HumanLoopArn, the input did not trigger human review.
See moreDeclaration
Objective-C
@interface AWSTextractHumanLoopActivationOutputSwift
class AWSTextractHumanLoopActivationOutput -
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.
Required parameters: [HumanLoopName, FlowDefinitionArn]
See moreDeclaration
Objective-C
@interface AWSTextractHumanLoopConfigSwift
class AWSTextractHumanLoopConfig -
Allows you to set attributes of the image. Currently, you can declare an image as free of personally identifiable information and adult content.
See moreDeclaration
Objective-C
@interface AWSTextractHumanLoopDataAttributesSwift
class AWSTextractHumanLoopDataAttributes -
The structure that lists each document processed in an AnalyzeID operation.
See moreDeclaration
Objective-C
@interface AWSTextractIdentityDocumentSwift
class AWSTextractIdentityDocument -
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 moreDeclaration
Objective-C
@interface AWSTextractIdentityDocumentFieldSwift
class AWSTextractIdentityDocumentField -
The results extracted for a lending document.
See moreDeclaration
Objective-C
@interface AWSTextractLendingDetectionSwift
class AWSTextractLendingDetection -
Holds the structured data returned by AnalyzeDocument for lending documents.
See moreDeclaration
Objective-C
@interface AWSTextractLendingDocumentSwift
class AWSTextractLendingDocument -
Holds the normalized key-value pairs returned by AnalyzeDocument, including the document type, detected text, and geometry.
See moreDeclaration
Objective-C
@interface AWSTextractLendingFieldSwift
class AWSTextractLendingField -
Contains the detections for each page analyzed through the Analyze Lending API.
See moreDeclaration
Objective-C
@interface AWSTextractLendingResultSwift
class AWSTextractLendingResult -
Contains information regarding DocumentGroups and UndetectedDocumentTypes.
See moreDeclaration
Objective-C
@interface AWSTextractLendingSummarySwift
class AWSTextractLendingSummary -
A structure that holds information about the different lines found in a document’s tables.
See moreDeclaration
Objective-C
@interface AWSTextractLineItemFieldsSwift
class AWSTextractLineItemFields -
A grouping of tables which contain LineItems, with each table identified by the table’s
See moreLineItemGroupIndex.Declaration
Objective-C
@interface AWSTextractLineItemGroupSwift
class AWSTextractLineItemGroup -
Declaration
Objective-C
@interface AWSTextractListAdapterVersionsRequestSwift
class AWSTextractListAdapterVersionsRequest -
Declaration
Objective-C
@interface AWSTextractListAdapterVersionsResponseSwift
class AWSTextractListAdapterVersionsResponse -
Declaration
Objective-C
@interface AWSTextractListAdaptersRequestSwift
class AWSTextractListAdaptersRequest -
Declaration
Objective-C
@interface AWSTextractListAdaptersResponseSwift
class AWSTextractListAdaptersResponse -
Declaration
Objective-C
@interface AWSTextractListTagsForResourceRequestSwift
class AWSTextractListTagsForResourceRequest -
Declaration
Objective-C
@interface AWSTextractListTagsForResourceResponseSwift
class AWSTextractListTagsForResourceResponse -
Contains information relating to dates in a document, including the type of value, and the value.
See moreDeclaration
Objective-C
@interface AWSTextractNormalizedValueSwift
class AWSTextractNormalizedValue -
The Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Textract publishes the completion status of an asynchronous document operation.
Required parameters: [SNSTopicArn, RoleArn]
See moreDeclaration
Objective-C
@interface AWSTextractNotificationChannelSwift
class AWSTextractNotificationChannel -
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.
OutputConfigis 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. WithOutputConfigenabled, 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 theKMSKeyIDparameter 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.
Required parameters: [S3Bucket]
See moreDeclaration
Objective-C
@interface AWSTextractOutputConfigSwift
class AWSTextractOutputConfig -
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.
Required parameters: [PageType, PageNumber]
See moreDeclaration
Objective-C
@interface AWSTextractPageClassificationSwift
class AWSTextractPageClassification -
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
See morePointobjects,Polygon, is returned by DetectDocumentText.Polygonrepresents a fine-grained polygon around detected text. For more information, see Geometry in the Amazon Textract Developer Guide.Declaration
Objective-C
@interface AWSTextractPointSwift
class AWSTextractPoint -
Contains information regarding predicted values returned by Amazon Textract operations, including the predicted value and the confidence in the predicted value.
See moreDeclaration
Objective-C
@interface AWSTextractPredictionSwift
class AWSTextractPrediction -
Required parameters: [Queries] See more
Declaration
Objective-C
@interface AWSTextractQueriesConfigSwift
class AWSTextractQueriesConfig -
Each query contains the question you want to ask in the Text and the alias you want to associate.
Required parameters: [Text]
See moreDeclaration
Objective-C
@interface AWSTextractQuerySwift
class AWSTextractQuery -
Information about how blocks are related to each other. A
Blockobject contains 0 or moreRelationobjects in a list,Relationships. For more information, see Block.The
See moreTypeelement provides the type of the relationship for all blocks in theIDsarray.Declaration
Objective-C
@interface AWSTextractRelationshipSwift
class AWSTextractRelationship -
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 moreDeclaration
Objective-C
@interface AWSTextractS3ObjectSwift
class AWSTextractS3Object -
Information regarding a detected signature on a page.
See moreDeclaration
Objective-C
@interface AWSTextractSignatureDetectionSwift
class AWSTextractSignatureDetection -
Contains information about the pages of a document, defined by logical boundary.
See moreDeclaration
Objective-C
@interface AWSTextractSplitDocumentSwift
class AWSTextractSplitDocument -
Declaration
Objective-C
@interface AWSTextractStartDocumentAnalysisRequestSwift
class AWSTextractStartDocumentAnalysisRequest -
Declaration
Objective-C
@interface AWSTextractStartDocumentAnalysisResponseSwift
class AWSTextractStartDocumentAnalysisResponse -
Declaration
Objective-C
@interface AWSTextractStartDocumentTextDetectionRequestSwift
class AWSTextractStartDocumentTextDetectionRequest -
Declaration
Objective-C
@interface AWSTextractStartDocumentTextDetectionResponseSwift
class AWSTextractStartDocumentTextDetectionResponse -
Declaration
Objective-C
@interface AWSTextractStartExpenseAnalysisRequestSwift
class AWSTextractStartExpenseAnalysisRequest -
Declaration
Objective-C
@interface AWSTextractStartExpenseAnalysisResponseSwift
class AWSTextractStartExpenseAnalysisResponse -
Declaration
Objective-C
@interface AWSTextractStartLendingAnalysisRequestSwift
class AWSTextractStartLendingAnalysisRequest -
Declaration
Objective-C
@interface AWSTextractStartLendingAnalysisResponseSwift
class AWSTextractStartLendingAnalysisResponse -
Declaration
Objective-C
@interface AWSTextractTagResourceRequestSwift
class AWSTextractTagResourceRequest -
Declaration
Objective-C
@interface AWSTextractTagResourceResponseSwift
class AWSTextractTagResourceResponse -
A structure containing information about an undetected signature on a page where it was expected but not found.
See moreDeclaration
Objective-C
@interface AWSTextractUndetectedSignatureSwift
class AWSTextractUndetectedSignature -
Declaration
Objective-C
@interface AWSTextractUntagResourceRequestSwift
class AWSTextractUntagResourceRequest -
Declaration
Objective-C
@interface AWSTextractUntagResourceResponseSwift
class AWSTextractUntagResourceResponse -
Declaration
Objective-C
@interface AWSTextractUpdateAdapterRequestSwift
class AWSTextractUpdateAdapterRequest -
Declaration
Objective-C
@interface AWSTextractUpdateAdapterResponseSwift
class AWSTextractUpdateAdapterResponse -
A warning about an issue that occurred during asynchronous text analysis (StartDocumentAnalysis) or asynchronous document text detection (StartDocumentTextDetection).
See moreDeclaration
Objective-C
@interface AWSTextractWarningSwift
class AWSTextractWarning -
Undocumented
See moreDeclaration
Objective-C
@interface AWSTextractResources : NSObject + (instancetype)sharedInstance; - (NSDictionary *)JSONObject; @endSwift
class AWSTextractResources : NSObject -
Amazon Textract detects and analyzes text in documents and converts it into machine-readable text. This is the API reference documentation for Amazon Textract.
See moreDeclaration
Objective-C
@interface AWSTextractSwift
class AWSTextract
View on GitHub
Install in Dash
Classes Reference