Class: Aws::Textract::Types::DetectDocumentTextRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Textract::Types::DetectDocumentTextRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-textract/types.rb
Overview
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",
},
},
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#document ⇒ Types::Document
The input document as base64-encoded bytes or an Amazon S3 object.
Instance Attribute Details
#document ⇒ Types::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.
507 508 509 510 511 |
# File 'lib/aws-sdk-textract/types.rb', line 507 class DetectDocumentTextRequest < Struct.new( :document) SENSITIVE = [] include Aws::Structure end |