Module Values.AlarmSource

Contains information about an alarm.

Sourcetype nonrec t = {
  1. alarmModelName : AlarmModelName.t option;
    (*

    The name of the alarm model.

    *)
  2. alarmModelVersion : AlarmModelVersion.t option;
    (*

    The version of the alarm model.

    *)
  3. keyValue : KeyValue.t option;
    (*

    The value of the key used as a filter to select only the alarms associated with the key.

    *)
  4. alarmState : AlarmState.t option;
    (*

    Contains information about the current state of the alarm.

    *)
  5. severity : Severity.t option;
    (*

    A non-negative integer that reflects the severity level of the alarm.

    *)
  6. creationTime : Timestamp.t option;
    (*

    The time the alarm was created, in the Unix epoch format.

    *)
  7. lastUpdateTime : Timestamp.t option;
    (*

    The time the alarm was last updated, in the Unix epoch format.

    *)
}
Sourceval make : ?alarmModelName:??? -> ?alarmModelVersion:??? -> ?keyValue:??? -> ?alarmState:??? -> ?severity:??? -> ?creationTime:??? -> ?lastUpdateTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Severity.t | `String of AlarmModelName.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `Integer of SnoozeDuration.t | `String of InputPropertyValue.t ]) list ]) list ]) list | `Timestamp of Timestamp.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