Module Values.ImageSourceSource

The source for an image.

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

    The raw image bytes for the image. If you use an AWS SDK, you don't need to encode the image bytes in base64.

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

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

    *)
}
Sourceval make : ?bytes:??? -> ?s3Location:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of ImageSourceBytesBlob.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