Values.DescribeAlarmModelResponseSourceRetrieves information about an alarm model. If you don't specify a value for the alarmModelVersion parameter, the latest version is returned.
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.
*)statusMessage : StatusMessage.t option;Contains information about the status of the alarm model.
*)alarmModelName : AlarmModelName.t option;The name of the alarm model.
*)alarmModelDescription : AlarmModelDescription.t option;The description of the alarm model.
*)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.
*)key : AttributeJsonPath.t option;An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.
*)severity : Severity.t option;A non-negative integer that reflects the severity level of the alarm.
*)alarmRule : AlarmRule.t option;Defines when your alarm is invoked.
*)alarmNotification : AlarmNotification.t option;Contains information about one or more notification actions.
*)alarmEventActions : AlarmEventActions.t option;Contains information about one or more alarm actions.
*)alarmCapabilities : AlarmCapabilities.t option;Contains the configuration information of alarm state changes.
*)}type nonrec error = [ | `InternalFailureException of InternalFailureException.t| `InvalidRequestException of InvalidRequestException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val make :
?creationTime:??? ->
?alarmModelArn:??? ->
?alarmModelVersion:??? ->
?lastUpdateTime:??? ->
?status:??? ->
?statusMessage:??? ->
?alarmModelName:??? ->
?alarmModelDescription:??? ->
?roleArn:??? ->
?key:??? ->
?severity:??? ->
?alarmRule:??? ->
?alarmNotification:??? ->
?alarmEventActions:??? ->
?alarmCapabilities:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalFailureException of InternalFailureException.t
| `InvalidRequestException of InvalidRequestException.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
| `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
| `Integer of Severity.t
| `String of AlarmModelArn.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `String of
IdentityStoreId.t ])
list ])
list ]
list
| `String of SMSSenderId.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string
* [>
`String of
IdentityStoreId.t ])
list ])
list ]
list
| `String of EmailSubject.t ])
list ])
list ]
list
| `Structure of
(string
* [> `Boolean of UseBase64.t
| `String of AmazonResourceName.t
| `Structure of
(string
* [> `Enum of string
| `String of AmazonResourceName.t
| `Structure of
(string
* [> `Enum of string
| `String of ContentExpression.t ])
list ])
list ])
list ])
list ]
list
| `Structure of
(string
* [> `Boolean of DisabledOnInitialization.t
| `Enum of string
| `String of InputProperty.t ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]