Module Values.AlarmModelVersionSummarySource

Contains a summary of an alarm model version.

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

    The name of the alarm model.

    *)
  2. alarmModelArn : AlarmModelArn.t option;
    (*

    The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

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

    The version of the alarm model.

    *)
  4. roleArn : AmazonResourceName.t option;
    (*

    The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

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

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

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

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

    *)
  7. status : AlarmModelVersionStatus.t option;
    (*

    The status of the alarm model. The status can be one of the following values: ACTIVE - The alarm model is active and it's ready to evaluate data. ACTIVATING - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes. INACTIVE - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model. FAILED - You couldn't create or update the alarm model. Check your alarm model information and try again.

    *)
  8. statusMessage : StatusMessage.t option;
    (*

    Contains information about the status of the alarm model version.

    *)
}
Sourceval make : ?alarmModelName:??? -> ?alarmModelArn:??? -> ?alarmModelVersion:??? -> ?roleArn:??? -> ?creationTime:??? -> ?lastUpdateTime:??? -> ?status:??? -> ?statusMessage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of AlarmModelName.t | `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