Module Values.CanaryStatusSource

A structure that contains the current state of the canary.

Sourcetype nonrec t = {
  1. state : CanaryState.t option;
    (*

    The current state of the canary.

    *)
  2. stateReason : String_.t option;
    (*

    If the canary creation or update failed, this field provides details on the failure.

    *)
  3. stateReasonCode : CanaryStateReasonCode.t option;
    (*

    If the canary creation or update failed, this field displays the reason code.

    *)
}
Sourceval make : ?state:??? -> ?stateReason:??? -> ?stateReasonCode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `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