IoTEvents.DetectorModel
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-setvariable.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertytimestamp.html
and asset_property_variant = {
double_value : string option;
boolean_value : string option;
integer_value : string option;
string_value : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvariant.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-cleartimer.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-resettimer.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-settimer.html
and asset_property_value = {
quality : string option;
value : asset_property_variant;
timestamp : asset_property_timestamp option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvalue.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-firehose.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodbv2.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sqs.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-lambda.html
and dynamo_db = {
table_name : string;
payload_field : string option;
range_key_field : string option;
hash_key_field : string;
range_key_value : string option;
range_key_type : string option;
hash_key_type : string option;
hash_key_value : string;
payload : payload option;
operation : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iottopicpublish.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotevents.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sns.html
and iot_site_wise = {
entry_id : string option;
property_alias : string option;
property_value : asset_property_value;
asset_id : string option;
property_id : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html
and action = {
iot_events : iot_events option;
firehose : firehose option;
dynamo_db : dynamo_db option;
iot_topic_publish : iot_topic_publish option;
dynamo_d_bv2 : dynamo_d_bv2 option;
iot_site_wise : iot_site_wise option;
reset_timer : reset_timer option;
sqs : sqs option;
set_timer : set_timer option;
sns : sns option;
clear_timer : clear_timer option;
lambda : lambda option;
set_variable : set_variable option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-event.html
and transition_event = {
condition : string;
actions : action list option;
next_state : string;
event_name : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-transitionevent.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-onenter.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-oninput.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-onexit.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-state.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-detectormodeldefinition.html
type properties = {
detector_model_definition : detector_model_definition;
evaluation_method : string option;
detector_model_name : string option;
detector_model_description : string option;
key : string option;
role_arn : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html;
val make_properties :
detector_model_definition:detector_model_definition ->
?evaluation_method:string ->
?detector_model_name:string ->
?detector_model_description:string ->
?key:string ->
role_arn:string ->
?tags:tag list ->
unit ->
properties
val make_set_variable :
value:string ->
variable_name:string ->
unit ->
set_variable
val make_tag : value:string -> key:string -> unit -> tag
val make_payload : content_expression:string -> type_:string -> unit -> payload
val make_asset_property_timestamp :
time_in_seconds:string ->
?offset_in_nanos:string ->
unit ->
asset_property_timestamp
val make_asset_property_variant :
?double_value:string ->
?boolean_value:string ->
?integer_value:string ->
?string_value:string ->
unit ->
asset_property_variant
val make_clear_timer : timer_name:string -> unit -> clear_timer
val make_reset_timer : timer_name:string -> unit -> reset_timer
val make_set_timer :
?seconds:int ->
timer_name:string ->
?duration_expression:string ->
unit ->
set_timer
val make_asset_property_value :
?quality:string ->
value:asset_property_variant ->
?timestamp:asset_property_timestamp ->
unit ->
asset_property_value
val make_dynamo_d_bv2 :
table_name:string ->
?payload:payload ->
unit ->
dynamo_d_bv2
val make_iot_topic_publish :
mqtt_topic:string ->
?payload:payload ->
unit ->
iot_topic_publish
val make_iot_events :
input_name:string ->
?payload:payload ->
unit ->
iot_events
val make_iot_site_wise :
?entry_id:string ->
?property_alias:string ->
property_value:asset_property_value ->
?asset_id:string ->
?property_id:string ->
unit ->
iot_site_wise
val make_action :
?iot_events:iot_events ->
?firehose:firehose ->
?dynamo_db:dynamo_db ->
?iot_topic_publish:iot_topic_publish ->
?dynamo_d_bv2:dynamo_d_bv2 ->
?iot_site_wise:iot_site_wise ->
?reset_timer:reset_timer ->
?sqs:sqs ->
?set_timer:set_timer ->
?sns:sns ->
?clear_timer:clear_timer ->
?lambda:lambda ->
?set_variable:set_variable ->
unit ->
action
val make_transition_event :
condition:string ->
?actions:action list ->
next_state:string ->
event_name:string ->
unit ->
transition_event
val make_on_input :
?events:event list ->
?transition_events:transition_event list ->
unit ->
on_input
val make_detector_model_definition :
states:state list ->
initial_state_name:string ->
unit ->
detector_model_definition
val yojson_of_set_variable : set_variable -> Yojson.Safe.t
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_payload : payload -> Yojson.Safe.t
val yojson_of_asset_property_timestamp :
asset_property_timestamp ->
Yojson.Safe.t
val yojson_of_asset_property_variant : asset_property_variant -> Yojson.Safe.t
val yojson_of_clear_timer : clear_timer -> Yojson.Safe.t
val yojson_of_reset_timer : reset_timer -> Yojson.Safe.t
val yojson_of_set_timer : set_timer -> Yojson.Safe.t
val yojson_of_asset_property_value : asset_property_value -> Yojson.Safe.t
val yojson_of_firehose : firehose -> Yojson.Safe.t
val yojson_of_dynamo_d_bv2 : dynamo_d_bv2 -> Yojson.Safe.t
val yojson_of_sqs : sqs -> Yojson.Safe.t
val yojson_of_lambda : lambda -> Yojson.Safe.t
val yojson_of_dynamo_db : dynamo_db -> Yojson.Safe.t
val yojson_of_iot_topic_publish : iot_topic_publish -> Yojson.Safe.t
val yojson_of_iot_events : iot_events -> Yojson.Safe.t
val yojson_of_sns : sns -> Yojson.Safe.t
val yojson_of_iot_site_wise : iot_site_wise -> Yojson.Safe.t
val yojson_of_action : action -> Yojson.Safe.t
val yojson_of_event : event -> Yojson.Safe.t
val yojson_of_transition_event : transition_event -> Yojson.Safe.t
val yojson_of_on_enter : on_enter -> Yojson.Safe.t
val yojson_of_on_input : on_input -> Yojson.Safe.t
val yojson_of_on_exit : on_exit -> Yojson.Safe.t
val yojson_of_state : state -> Yojson.Safe.t
val yojson_of_detector_model_definition :
detector_model_definition ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes