Module Values.DocumentSourceSource

Contains the content of a document.

Sourcetype nonrec t = {
  1. bytes : DocumentSourceBytesBlob.t option;
    (*

    The raw bytes for the document. If you use an Amazon Web Services SDK, you don't need to encode the bytes in base64.

    *)
  2. s3Location : S3Location.t option;
    (*

    The location of a document object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.

    *)
  3. text : String_.t option;
    (*

    The text content of the document source.

    *)
  4. content : DocumentContentBlocks.t option;
    (*

    The structured content of the document source, which may include various content blocks such as text, images, or other document elements.

    *)
}
Sourceval make : ?bytes:??? -> ?s3Location:??? -> ?text:??? -> ?content:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of DocumentSourceBytesBlob.t | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `String of S3Uri.t ]) list ]) 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