Values.UpdateAlarmModelResponseSourceUpdates an alarm model. Any alarms that were created based on the previous version are deleted and then created again as new data arrives.
type nonrec t = {creationTime : Timestamp.t option;The time the alarm model was created, in the Unix epoch format.
*)alarmModelArn : AlarmModelArn.t option;The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
*)alarmModelVersion : AlarmModelVersion.t option;The version of the alarm model.
*)lastUpdateTime : Timestamp.t option;The time the alarm model was last updated, in the Unix epoch format.
*)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.
*)}type nonrec error = [ | `InternalFailureException of InternalFailureException.t| `InvalidRequestException of InvalidRequestException.t| `ResourceInUseException of ResourceInUseException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalFailureException of InternalFailureException.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceInUseException of ResourceInUseException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalFailureException of InternalFailureException.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceInUseException of ResourceInUseException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of AlarmModelArn.t
| `Timestamp of Timestamp.t ])
list ]