IoT.TopicRulesee http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-topicrule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-userproperty.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kinesisaction.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-iot-topicrule-opensearchaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-snsaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sqsaction.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-iot-topicrule-assetpropertyvariant.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamtimestamp.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-firehoseaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpactionheader.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-stepfunctionsaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestamp.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchlogsaction.html
and cloudwatch_metric_action = {metric_name : string;metric_value : string;metric_namespace : string;metric_unit : string;role_arn : string;metric_timestamp : string option;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchmetricaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertytimestamp.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sigv4authorization.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamdimension.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-iotanalyticsaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaactionheader.html
and dynamo_db_action = {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;role_arn : string;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-lambdaaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-ioteventsaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-putiteminput.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html
and asset_property_value = {quality : string option;value : asset_property_variant;timestamp : asset_property_timestamp;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertyvalue.html
and kafka_action = {partition : string option;client_properties : string Stdlib__Map.Make(Stdlib.String).t;headers : kafka_action_header list option;topic : string;destination_arn : string;key : string option;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpauthorization.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbv2action.html
and republish_action_headers = {correlation_data : string option;user_properties : user_property list option;payload_format_indicator : string option;content_type : string option;message_expiry : string option;response_topic : string option;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishactionheaders.html
and location_action = {tracker_name : string;device_id : string;latitude : string;longitude : string;timestamp : timestamp option;role_arn : string;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-locationaction.html
and timestream_action = {table_name : string;database_name : string;dimensions : timestream_dimension list;timestamp : timestream_timestamp option;role_arn : string;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html
and http_action = {headers : http_action_header list option;auth : http_authorization option;confirmation_url : string option;url : string;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpaction.html
and republish_action = {qos : int option;headers : republish_action_headers option;topic : string;role_arn : string;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html
and put_asset_property_value_entry = {property_values : asset_property_value list;entry_id : string option;property_alias : string option;asset_id : string option;property_id : string option;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-putassetpropertyvalueentry.html
and iot_site_wise_action = {put_asset_property_value_entries : put_asset_property_value_entry list;role_arn : string;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-iotsitewiseaction.html
and action = {s3 : s3_action option;cloudwatch_alarm : cloudwatch_alarm_action option;iot_events : iot_events_action option;firehose : firehose_action option;republish : republish_action option;kafka : kafka_action option;step_functions : step_functions_action option;dynamo_db : dynamo_db_action option;http : http_action option;open_search : open_search_action option;dynamo_d_bv2 : dynamo_d_bv2_action option;cloudwatch_metric : cloudwatch_metric_action option;iot_site_wise : iot_site_wise_action option;elasticsearch : elasticsearch_action option;sqs : sqs_action option;kinesis : kinesis_action option;cloudwatch_logs : cloudwatch_logs_action option;timestream : timestream_action option;iot_analytics : iot_analytics_action option;sns : sns_action option;lambda : lambda_action option;location : location_action option;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html
and topic_rule_payload = {rule_disabled : bool option;error_action : action option;description : string option;aws_iot_sql_version : string option;actions : action list;sql : string;}see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-topicrule.html;
val make_properties :
topic_rule_payload:topic_rule_payload ->
?rule_name:string ->
?tags:tag list ->
unit ->
propertiesval make_user_property : value:string -> key:string -> unit -> user_propertyval make_kinesis_action :
stream_name:string ->
?partition_key:string ->
role_arn:string ->
unit ->
kinesis_actionval make_tag : value:string -> key:string -> unit -> tagval make_open_search_action :
type_:string ->
endpoint:string ->
index:string ->
id:string ->
role_arn:string ->
unit ->
open_search_actionval make_elasticsearch_action :
type_:string ->
endpoint:string ->
index:string ->
id:string ->
role_arn:string ->
unit ->
elasticsearch_actionval make_sns_action :
?message_format:string ->
target_arn:string ->
role_arn:string ->
unit ->
sns_actionval make_sqs_action :
?use_base64:bool ->
role_arn:string ->
queue_url:string ->
unit ->
sqs_actionval make_asset_property_variant :
?double_value:string ->
?boolean_value:string ->
?integer_value:string ->
?string_value:string ->
unit ->
asset_property_variantval make_timestream_timestamp :
value:string ->
unit:string ->
unit ->
timestream_timestampval make_firehose_action :
delivery_stream_name:string ->
?batch_mode:bool ->
role_arn:string ->
?separator:string ->
unit ->
firehose_actionval make_s3_action :
bucket_name:string ->
?canned_acl:string ->
key:string ->
role_arn:string ->
unit ->
s3_actionval make_http_action_header :
value:string ->
key:string ->
unit ->
http_action_headerval make_step_functions_action :
?execution_name_prefix:string ->
state_machine_name:string ->
role_arn:string ->
unit ->
step_functions_actionval make_timestamp : value:string -> ?unit:string -> unit -> timestampval make_cloudwatch_logs_action :
?batch_mode:bool ->
log_group_name:string ->
role_arn:string ->
unit ->
cloudwatch_logs_actionval make_cloudwatch_metric_action :
metric_name:string ->
metric_value:string ->
metric_namespace:string ->
metric_unit:string ->
role_arn:string ->
?metric_timestamp:string ->
unit ->
cloudwatch_metric_actionval make_asset_property_timestamp :
time_in_seconds:string ->
?offset_in_nanos:string ->
unit ->
asset_property_timestampval make_sig_v4_authorization :
service_name:string ->
signing_region:string ->
role_arn:string ->
unit ->
sig_v4_authorizationval make_timestream_dimension :
value:string ->
name:string ->
unit ->
timestream_dimensionval make_iot_analytics_action :
channel_name:string ->
?batch_mode:bool ->
role_arn:string ->
unit ->
iot_analytics_actionval make_kafka_action_header :
value:string ->
key:string ->
unit ->
kafka_action_headerval make_dynamo_db_action :
table_name:string ->
?payload_field:string ->
?range_key_field:string ->
hash_key_field:string ->
?range_key_value:string ->
?range_key_type:string ->
?hash_key_type:string ->
hash_key_value:string ->
role_arn:string ->
unit ->
dynamo_db_actionval make_lambda_action : ?function_arn:string -> unit -> lambda_actionval make_iot_events_action :
input_name:string ->
?batch_mode:bool ->
role_arn:string ->
?message_id:string ->
unit ->
iot_events_actionval make_put_item_input : table_name:string -> unit -> put_item_inputval make_cloudwatch_alarm_action :
alarm_name:string ->
state_reason:string ->
state_value:string ->
role_arn:string ->
unit ->
cloudwatch_alarm_actionval make_asset_property_value :
?quality:string ->
value:asset_property_variant ->
timestamp:asset_property_timestamp ->
unit ->
asset_property_valueval make_kafka_action :
?partition:string ->
client_properties:string Stdlib__Map.Make(Stdlib.String).t ->
?headers:kafka_action_header list ->
topic:string ->
destination_arn:string ->
?key:string ->
unit ->
kafka_actionval make_http_authorization :
?sigv4:sig_v4_authorization ->
unit ->
http_authorizationval make_dynamo_d_bv2_action :
?put_item:put_item_input ->
?role_arn:string ->
unit ->
dynamo_d_bv2_actionval make_republish_action_headers :
?correlation_data:string ->
?user_properties:user_property list ->
?payload_format_indicator:string ->
?content_type:string ->
?message_expiry:string ->
?response_topic:string ->
unit ->
republish_action_headersval make_location_action :
tracker_name:string ->
device_id:string ->
latitude:string ->
longitude:string ->
?timestamp:timestamp ->
role_arn:string ->
unit ->
location_actionval make_timestream_action :
table_name:string ->
database_name:string ->
dimensions:timestream_dimension list ->
?timestamp:timestream_timestamp ->
role_arn:string ->
unit ->
timestream_actionval make_http_action :
?headers:http_action_header list ->
?auth:http_authorization ->
?confirmation_url:string ->
url:string ->
unit ->
http_actionval make_republish_action :
?qos:int ->
?headers:republish_action_headers ->
topic:string ->
role_arn:string ->
unit ->
republish_actionval make_put_asset_property_value_entry :
property_values:asset_property_value list ->
?entry_id:string ->
?property_alias:string ->
?asset_id:string ->
?property_id:string ->
unit ->
put_asset_property_value_entryval make_iot_site_wise_action :
put_asset_property_value_entries:put_asset_property_value_entry list ->
role_arn:string ->
unit ->
iot_site_wise_actionval make_action :
?s3:s3_action ->
?cloudwatch_alarm:cloudwatch_alarm_action ->
?iot_events:iot_events_action ->
?firehose:firehose_action ->
?republish:republish_action ->
?kafka:kafka_action ->
?step_functions:step_functions_action ->
?dynamo_db:dynamo_db_action ->
?http:http_action ->
?open_search:open_search_action ->
?dynamo_d_bv2:dynamo_d_bv2_action ->
?cloudwatch_metric:cloudwatch_metric_action ->
?iot_site_wise:iot_site_wise_action ->
?elasticsearch:elasticsearch_action ->
?sqs:sqs_action ->
?kinesis:kinesis_action ->
?cloudwatch_logs:cloudwatch_logs_action ->
?timestream:timestream_action ->
?iot_analytics:iot_analytics_action ->
?sns:sns_action ->
?lambda:lambda_action ->
?location:location_action ->
unit ->
actionval make_topic_rule_payload :
?rule_disabled:bool ->
?error_action:action ->
?description:string ->
?aws_iot_sql_version:string ->
actions:action list ->
sql:string ->
unit ->
topic_rule_payloadval yojson_of_user_property : user_property -> Yojson.Safe.tval yojson_of_kinesis_action : kinesis_action -> Yojson.Safe.tval yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]val yojson_of_open_search_action : open_search_action -> Yojson.Safe.tval yojson_of_elasticsearch_action : elasticsearch_action -> Yojson.Safe.tval yojson_of_sns_action : sns_action -> Yojson.Safe.tval yojson_of_sqs_action : sqs_action -> Yojson.Safe.tval yojson_of_asset_property_variant : asset_property_variant -> Yojson.Safe.tval yojson_of_timestream_timestamp : timestream_timestamp -> Yojson.Safe.tval yojson_of_firehose_action : firehose_action -> Yojson.Safe.tval yojson_of_s3_action : s3_action -> Yojson.Safe.tval yojson_of_http_action_header : http_action_header -> Yojson.Safe.tval yojson_of_step_functions_action : step_functions_action -> Yojson.Safe.tval yojson_of_timestamp : timestamp -> Yojson.Safe.tval yojson_of_cloudwatch_logs_action : cloudwatch_logs_action -> Yojson.Safe.tval yojson_of_cloudwatch_metric_action :
cloudwatch_metric_action ->
Yojson.Safe.tval yojson_of_asset_property_timestamp :
asset_property_timestamp ->
Yojson.Safe.tval yojson_of_sig_v4_authorization : sig_v4_authorization -> Yojson.Safe.tval yojson_of_timestream_dimension : timestream_dimension -> Yojson.Safe.tval yojson_of_iot_analytics_action : iot_analytics_action -> Yojson.Safe.tval yojson_of_kafka_action_header : kafka_action_header -> Yojson.Safe.tval yojson_of_dynamo_db_action : dynamo_db_action -> Yojson.Safe.tval yojson_of_lambda_action : lambda_action -> Yojson.Safe.tval yojson_of_iot_events_action : iot_events_action -> Yojson.Safe.tval yojson_of_put_item_input : put_item_input -> Yojson.Safe.tval yojson_of_cloudwatch_alarm_action :
cloudwatch_alarm_action ->
Yojson.Safe.tval yojson_of_asset_property_value : asset_property_value -> Yojson.Safe.tval yojson_of_kafka_action : kafka_action -> Yojson.Safe.tval yojson_of_http_authorization : http_authorization -> Yojson.Safe.tval yojson_of_dynamo_d_bv2_action : dynamo_d_bv2_action -> Yojson.Safe.tval yojson_of_republish_action_headers :
republish_action_headers ->
Yojson.Safe.tval yojson_of_location_action : location_action -> Yojson.Safe.tval yojson_of_timestream_action : timestream_action -> Yojson.Safe.tval yojson_of_http_action : http_action -> Yojson.Safe.tval yojson_of_republish_action : republish_action -> Yojson.Safe.tval yojson_of_put_asset_property_value_entry :
put_asset_property_value_entry ->
Yojson.Safe.tval yojson_of_iot_site_wise_action : iot_site_wise_action -> Yojson.Safe.tval yojson_of_action : action -> Yojson.Safe.tval yojson_of_topic_rule_payload :
topic_rule_payload ->
[> `Assoc of (string * Yojson.Safe.t) list ]val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]val create_attributes : string -> attributes