Module Values.StatusCodesSource

A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.

Sourcetype nonrec t = {
  1. quantity : Integer.t;
    (*

    The number of status codes.

    *)
  2. items : StatusCodeList.t;
    (*

    The items (status codes) for an origin group.

    *)
}
Sourceval context_ : string
Sourceval make : quantity:Integer.t -> items:StatusCodeList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Integer of Integer.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