exred_node_aws_iot_thingshadow_out v0.1.0 Exred.Node.AwsIotThingShadowOut

Publishes messages to AWS IoT Cloud.

The incoming message needs to have a valid AWS topic in the topic field.

Incoming msg format:

msg = %{
  topic   :: [binary] | binary
  payload :: map,
  qos     :: integer,      # quality of service
  retain  :: boolean       # [GenMQTT doc](https://hexdocs.pm/gen_mqtt/GenMQTT.html#publish/5)
}

Link to this section Summary

Functions

Callback implementation for Exred.Library.NodePrototype.fire/1

Initialize node. This is called as the last step of the node’s init function. Needs to return a new state or a {state, timeout} tuple. (see GenServer documentation)

Link to this section Functions

Link to this function add_out_node(pid, new_out)

Callback implementation for Exred.Library.NodePrototype.fire/1.

Link to this function get_default_config()
Link to this function node_init(state)

Initialize node. This is called as the last step of the node’s init function. Needs to return a new state or a {state, timeout} tuple. (see GenServer documentation)

Callback implementation for Exred.Library.NodePrototype.node_init/1.

Link to this function set_out_nodes(pid, out_nodes)
Link to this function start_link(list)