Module Values.LifecycleExpirationSource

The container of the Outposts bucket lifecycle expiration.

Sourcetype nonrec t = {
  1. date : Date.t option;
    (*

    Indicates at what date the object is to be deleted. Should be in GMT ISO 8601 format.

    *)
  2. days : Days.t option;
    (*

    Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

    *)
  3. expiredObjectDeleteMarker : ExpiredObjectDeleteMarker.t option;
    (*

    Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired. If set to false, the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy. To learn more about delete markers, see Working with delete markers.

    *)
}
Sourceval make : ?date:??? -> ?days:??? -> ?expiredObjectDeleteMarker:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of ExpiredObjectDeleteMarker.t | `Integer of Days.t | `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