Values_0.TopicRulePayloadSourceDescribes a rule.
type nonrec t = {sql : SQL.t;The SQL statement used to query the topic. For more information, see IoT SQL Reference in the IoT Developer Guide.
*)description : Description.t option;The description of the rule.
*)actions : ActionList.t;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 take when an error occurs.
*)}val make :
?description:??? ->
?ruleDisabled:??? ->
?awsIotSqlVersion:??? ->
?errorAction:??? ->
sql:SQL.t ->
actions:ActionList.t ->
unit ->
tval 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 SQL.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 ])
list ]