Class: Aws::Textract::Types::DocumentLocation

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

Overview

Note:

When making an API call, you may pass DocumentLocation data as a hash:

{
  s3_object: {
    bucket: "S3Bucket",
    name: "S3ObjectName",
    version: "S3ObjectVersion",
  },
}

The Amazon S3 bucket that contains the document to be processed. It's used by asynchronous operations such as StartDocumentTextDetection.

The input document can be an image file in JPEG or PNG format. It can also be a file in PDF format.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#s3_objectTypes::S3Object

The Amazon S3 bucket that contains the input document.

Returns:



466
467
468
469
470
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 466

class DocumentLocation < Struct.new(
  :s3_object)
  SENSITIVE = []
  include Aws::Structure
end