Values.CreateAlarmModelRequestSourceCreates an alarm model to monitor an AWS IoT Events input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see Create an alarm model in the AWS IoT Events Developer Guide.
type nonrec t = {alarmModelName : AlarmModelName.t;A unique name that helps you identify the alarm model. You can't change this name after you create the alarm model.
*)alarmModelDescription : AlarmModelDescription.t option;A description that tells you what the alarm model detects.
*)roleArn : AmazonResourceName.t;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;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.
*)}val make :
?alarmModelDescription:??? ->
?tags:??? ->
?key:??? ->
?severity:??? ->
?alarmNotification:??? ->
?alarmEventActions:??? ->
?alarmCapabilities:??? ->
alarmModelName:AlarmModelName.t ->
roleArn:AmazonResourceName.t ->
alarmRule:AlarmRule.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of Severity.t
| `List of
[> `Structure of (string * [> `String of TagKey.t ]) list ] list
| `String of AlarmModelName.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 ])
list ]