Module Values.S3ObjectSource

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.

Sourcetype nonrec t = {
  1. bucket : S3Bucket.t option;
    (*

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

    *)
  2. name : S3ObjectName.t option;
    (*

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

    *)
  3. version : S3ObjectVersion.t option;
    (*

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

    *)
}
Sourceval make : ?bucket:??? -> ?name:??? -> ?version:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of S3Bucket.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t