Module Values.HttpTimeoutSource

An object that represents types of timeouts.

Sourcetype nonrec t = {
  1. idle : Duration.t option;
    (*

    An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.

    *)
  2. perRequest : Duration.t option;
    (*

    An object that represents a per request timeout. The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.

    *)
}
Sourceval make : ?idle:??? -> ?perRequest:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Long of DurationValue.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