Module Object.Owner

type t = private {
  1. id : string option;
  2. display_name : string option;
}

S3 owner metadata returned by listing APIs. id is the canonical owner identifier when S3 returns it. display_name is optional and is not returned by all S3 regions.

val create : ?id:string -> ?display_name:string -> unit -> t option

Preserve a returned owner when S3 supplied at least one field. Empty fields are treated as absent.