Module Values.LifecycleRuleAndOperatorSource

This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.

Sourcetype nonrec t = {
  1. prefix : Prefix.t option;
    (*

    Prefix identifying one or more objects to which the rule applies.

    *)
  2. tags : TagSet.t option;
    (*

    All of these tags must exist in the object's tag set in order for the rule to apply.

    *)
  3. objectSizeGreaterThan : ObjectSizeGreaterThanBytes.t option;
    (*

    Minimum object size to which the rule applies.

    *)
  4. objectSizeLessThan : ObjectSizeLessThanBytes.t option;
    (*

    Maximum object size to which the rule applies.

    *)
}
Sourceval make : ?prefix:??? -> ?tags:??? -> ?objectSizeGreaterThan:??? -> ?objectSizeLessThan:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ObjectKey.t ]) list ] list | `Long of ObjectSizeGreaterThanBytes.t | `String of Prefix.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