Module Values.RuleSummarySource

Information about a Recycle Bin retention rule.

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

    The unique ID of the retention rule.

    *)
  2. description : Description.t option;
    (*

    The retention rule description.

    *)
  3. retentionPeriod : RetentionPeriod.t option;
    (*

    Information about the retention period for which the retention rule is to retain resources.

    *)
  4. lockState : LockState.t option;
    (*

    [Region-level retention rules only] The lock state for the retention rule. locked - The retention rule is locked and can't be modified or deleted. pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired. unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions. null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.

    *)
  5. ruleArn : RuleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the retention rule.

    *)
}
Sourceval make : ?identifier:??? -> ?description:??? -> ?retentionPeriod:??? -> ?lockState:??? -> ?ruleArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of RuleIdentifier.t | `Structure of (string * [> `Enum of string | `Integer of RetentionPeriodValue.t ]) 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