Module Values.ObjectLockConfigurationSource

The container element for Object Lock configuration parameters.

Sourcetype nonrec t = {
  1. objectLockEnabled : ObjectLockEnabled.t option;
    (*

    Indicates whether this bucket has an Object Lock configuration enabled. Enable ObjectLockEnabled when you apply ObjectLockConfiguration to a bucket.

    *)
  2. rule : ObjectLockRule.t option;
    (*

    Specifies the Object Lock rule for the specified object. Enable the this rule when you apply ObjectLockConfiguration to a bucket. Bucket settings require both a mode and a period. The period can be either Days or Years but you must select one. You cannot specify Days and Years at the same time.

    *)
}
Sourceval make : ?objectLockEnabled:??? -> ?rule:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of Days.t ]) list ]) list ]) 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