Class: Aws::Textract::Types::AnalyzeDocumentRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-textract/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#documentTypes::Document

The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can’t pass image bytes. The document must be an image in JPEG, PNG, PDF, or TIFF format.

If you’re using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the ‘Bytes` field.

Returns:



55
56
57
58
59
60
61
62
# File 'lib/aws-sdk-textract/types.rb', line 55

class AnalyzeDocumentRequest < Struct.new(
  :document,
  :feature_types,
  :human_loop_config,
  :queries_config)
  SENSITIVE = []
  include Aws::Structure
end

#feature_typesArray<String>

A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the locations of detected signatures. To perform both forms and table analysis, add TABLES and FORMS to ‘FeatureTypes`. To detect signatures within form data and table data, add SIGNATURES to either TABLES or FORMS. All lines and words detected in the document are included in the response (including text that isn’t related to the value of ‘FeatureTypes`).

Returns:

  • (Array<String>)


55
56
57
58
59
60
61
62
# File 'lib/aws-sdk-textract/types.rb', line 55

class AnalyzeDocumentRequest < Struct.new(
  :document,
  :feature_types,
  :human_loop_config,
  :queries_config)
  SENSITIVE = []
  include Aws::Structure
end

#human_loop_configTypes::HumanLoopConfig

Sets the configuration for the human in the loop workflow for analyzing documents.



55
56
57
58
59
60
61
62
# File 'lib/aws-sdk-textract/types.rb', line 55

class AnalyzeDocumentRequest < Struct.new(
  :document,
  :feature_types,
  :human_loop_config,
  :queries_config)
  SENSITIVE = []
  include Aws::Structure
end

#queries_configTypes::QueriesConfig

Contains Queries and the alias for those Queries, as determined by the input.



55
56
57
58
59
60
61
62
# File 'lib/aws-sdk-textract/types.rb', line 55

class AnalyzeDocumentRequest < Struct.new(
  :document,
  :feature_types,
  :human_loop_config,
  :queries_config)
  SENSITIVE = []
  include Aws::Structure
end