Module Values.PeriodSource

Defines a limit and the time period during which it is enforced.

Sourcetype nonrec t = {
  1. unit : PeriodUnit.t;
    (*

    The unit of time.

    *)
  2. value : MaxSize24.t;
    (*

    The amount of time of the specified unit.

    *)
  3. maxInvocationsPerProfile : MaxSize1000.t option;
    (*

    The maximum allowed number of destination invocations per profile.

    *)
  4. unlimited : Boolean.t option;
    (*

    If set to true, there is no limit on the number of destination invocations per profile. The default is false.

    *)
}
Sourceval context_ : string
Sourceval make : ?maxInvocationsPerProfile:??? -> ?unlimited:??? -> unit:PeriodUnit.t -> value:MaxSize24.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of MaxSize24.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