Module Values.EndpointSource

Represents an available endpoint against which to make API calls against, as well as the TTL for that endpoint.

Sourcetype nonrec t = {
  1. address : String_.t option;
    (*

    An endpoint address.

    *)
  2. cachePeriodInMinutes : Long.t option;
    (*

    The TTL for the endpoint, in minutes.

    *)
}
Sourceval make : ?address:??? -> ?cachePeriodInMinutes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Long.t | `String of String_.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