Struct aws_sdk_textract::model::S3Object [−][src]
#[non_exhaustive]pub struct S3Object {
pub bucket: Option<String>,
pub name: Option<String>,
pub version: Option<String>,
}
Expand description
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bucket: Option<String>
The name of the S3 bucket. Note that the # character is not valid in the file name.
name: Option<String>
The file name of the input document. Synchronous operations can use image files that are in JPEG or PNG format. Asynchronous operations also support PDF and TIFF format files.
version: Option<String>
If the bucket has versioning enabled, you can specify the object version.
Implementations
The name of the S3 bucket. Note that the # character is not valid in the file name.
The file name of the input document. Synchronous operations can use image files that are in JPEG or PNG format. Asynchronous operations also support PDF and TIFF format files.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for S3Object
impl UnwindSafe for S3Object
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more