Module Values.TransitionSource

Specifies when an object transitions to a specified storage class. For more information about Amazon S3 Lifecycle configuration rules, see Transitioning objects using Amazon S3 Lifecycle in the Amazon S3 User Guide.

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

    Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.

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

    Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.

    *)
  3. storageClass : TransitionStorageClass.t option;
    (*

    The storage class to which you want the object to transition.

    *)
}
Sourceval make : ?date:??? -> ?days:??? -> ?storageClass:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `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