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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 JPG or PNG format. It can also be a file in PDF format.

Instance Attribute Summary collapse

Instance Attribute Details

#s3_objectTypes::S3Object

The Amazon S3 bucket that contains the input document.

Returns:



410
411
412
413
# File 'lib/aws-sdk-textract/types.rb', line 410

class DocumentLocation < Struct.new(
  :s3_object)
  include Aws::Structure
end