Module Values.HealthStatusSource

Contains the health status information for a scheduled report, including the status code and any reasons for an unhealthy state.

Sourcetype nonrec t = {
  1. statusCode : HealthStatusCode.t option;
    (*

    The health status code. HEALTHY indicates the scheduled report is configured properly and has all required permissions to execute. UNHEALTHY indicates the scheduled report is unable to deliver the notification to the default Amazon EventBridge EventBus in your account and your action is needed. The reason for the unhealthy state is captured in the health status reasons.

    *)
  2. lastRefreshedAt : GenericTimeStamp.t option;
    (*

    The timestamp when the health status was last refreshed.

    *)
  3. statusReasons : StatusReasonList.t option;
    (*

    The list of reasons for the current health status. Only present when the status is UNHEALTHY.

    *)
}
Sourceval make : ?statusCode:??? -> ?lastRefreshedAt:??? -> ?statusReasons:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `Timestamp of GenericTimeStamp.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