class Aws::Textract::Types::DetectDocumentTextRequest

@note When making an API call, you may pass DetectDocumentTextRequest

data as a hash:

    {
      document: { # required
        bytes: "data",
        s3_object: {
          bucket: "S3Bucket",
          name: "S3ObjectName",
          version: "S3ObjectVersion",
        },
      },
    }

@!attribute [rw] 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 or
PNG 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.
@return [Types::Document]

@see docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/DetectDocumentTextRequest AWS API Documentation

Constants

SENSITIVE