Module Values.S3FileSource

Contains information for the S3 bucket that contains media files.

Sourcetype nonrec t = {
  1. bucketName : S3FileBucketNameString.t;
    (*

    The bucket name.

    *)
  2. key : S3FileKeyString.t;
    (*

    The S3 key prefix that defines the storage location of your media files. The prefix works like a folder path in S3, and is combined with the WhatsApp mediaId to create the final file path. For example, if a media file's WhatsApp mediaId is 123.ogg, and the key is audio/example.ogg, the final file path is audio/example.ogg123.ogg. For the same mediaId, a key of audio/ results in the file path audio/123.ogg.

    *)
}
Sourceval context_ : string
Sourceval make : bucketName:S3FileBucketNameString.t -> key:S3FileKeyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of S3FileBucketNameString.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