Module Values.RetentionPeriodSource

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

Sourcetype nonrec t = {
  1. retentionPeriodValue : RetentionPeriodValue.t;
    (*

    The period value for which the retention rule is to retain resources, measured in days. The supported retention periods are: EBS volumes: 1 - 7 days EBS snapshots and EBS-backed AMIs: 1 - 365 days

    *)
  2. retentionPeriodUnit : RetentionPeriodUnit.t;
    (*

    The unit of time in which the retention period is measured. Currently, only DAYS is supported.

    *)
}
Sourceval context_ : string
Sourceval make : retentionPeriodValue:RetentionPeriodValue.t -> retentionPeriodUnit:RetentionPeriodUnit.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of RetentionPeriodValue.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