Module Values.ObjectLockRetentionSource

A Retention configuration for an object.

Sourcetype nonrec t = {
  1. mode : ObjectLockRetentionMode.t option;
    (*

    Indicates the Retention mode for the specified object.

    *)
  2. retainUntilDate : Date.t option;
    (*

    The date on which this Object Lock Retention will expire.

    *)
}
Sourceval make : ?mode:??? -> ?retainUntilDate:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Timestamp of Date.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