S3Object

class S3Object

The S3 bucket name and file name that identifies the document.

The AWS Region for the S3 bucket that contains the document must match the Region that you use for Amazon Textract operations.

For Amazon Textract to process a file in an S3 bucket, the user must have permission to access the S3 bucket and file.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The name of the S3 bucket. Note that the # character is not valid in the file name.

Link copied to clipboard
val name: String?

The file name of the input document. Image files may be in PDF, TIFF, JPEG, or PNG format.

Link copied to clipboard

If the bucket has versioning enabled, you can specify the object version.

Functions

Link copied to clipboard
inline fun copy(block: S3Object.Builder.() -> Unit = {}): S3Object
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String