Module Values.LockRuleRequestSource

Locks a Region-level retention rule. A locked retention rule can't be modified or deleted. You can't lock tag-level retention rules, or Region-level retention rules that have exclusion tags.

Sourcetype nonrec t = {
  1. identifier : RuleIdentifier.t;
    (*

    The unique ID of the retention rule.

    *)
  2. lockConfiguration : LockConfiguration.t;
    (*

    Information about the retention rule lock configuration.

    *)
}
Sourceval context_ : string
Sourceval make : identifier:RuleIdentifier.t -> lockConfiguration:LockConfiguration.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of RuleIdentifier.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of UnlockDelayValue.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