Values_0.TopicRuleSourceDescribes a rule.
type nonrec t = {ruleName : RuleName.t option;The name of the rule.
*)sql : SQL.t option;The SQL statement used to query the topic. When using a SQL query with multiple lines, be sure to escape the newline characters.
*)description : Description.t option;The description of the rule.
*)createdAt : CreatedAtDate.t option;The date and time the rule was created.
*)actions : ActionList.t option;The actions associated with the rule.
*)ruleDisabled : IsDisabled.t option;Specifies whether the rule is disabled.
*)awsIotSqlVersion : AwsIotSqlVersion.t option;The version of the SQL rules engine to use when evaluating the rule.
*)errorAction : Action.t option;The action to perform when an error occurs.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of IsDisabled.t
| `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of UseBase64.t
| `Enum of string
| `Integer of Qos.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of
AssetPropertyQuality.t
| `Structure of
(string
* [> `String of
AssetPropertyStringValue.t ])
list ])
list ]
list
| `String of AssetPropertyEntryId.t ])
list ]
list
| `Map of
([> `String of String_.t ]
* [> `String of String_.t ])
list
| `String of TableName.t
| `Structure of
(string
* [> `Boolean of BatchAcrossTopics.t
| `Integer of MaxBatchOpenMs.t
| `List of
[> `Structure of
(string
* [> `String of UserPropertyKey.t ])
list ]
list
| `String of TableName.t
| `Structure of
(string * [> `String of SigningRegion.t ])
list ])
list ])
list ])
list ]
list
| `String of RuleName.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of UseBase64.t
| `Enum of string
| `Integer of Qos.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of
AssetPropertyQuality.t
| `Structure of
(string
* [> `String of
AssetPropertyStringValue.t ])
list ])
list ]
list
| `String of AssetPropertyEntryId.t ])
list ]
list
| `Map of
([> `String of String_.t ] * [> `String of String_.t ])
list
| `String of TableName.t
| `Structure of
(string
* [> `Boolean of BatchAcrossTopics.t
| `Integer of MaxBatchOpenMs.t
| `List of
[> `Structure of
(string * [> `String of UserPropertyKey.t ])
list ]
list
| `String of TableName.t
| `Structure of
(string * [> `String of SigningRegion.t ]) list ])
list ])
list ])
list
| `Timestamp of CreatedAtDate.t ])
list ]