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§
§bucket: Option<String>The name of the S3 bucket.
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 format files.
version: Option<String>If the bucket has versioning enabled, you can specify the object version.
Trait Implementations§
impl StructuralPartialEq for S3Object
Auto Trait Implementations§
impl Freeze for S3Object
impl RefUnwindSafe for S3Object
impl Send for S3Object
impl Sync for S3Object
impl Unpin for S3Object
impl UnwindSafe for S3Object
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more