You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DocumentLocation as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#s3_objectTypes::S3Object

The Amazon S3 bucket that contains the input document.

Returns:

  • (Types::S3Object)

    The Amazon S3 bucket that contains the input document.