:py:mod:`expliot.plugins.mqtt.awsiotsub` ======================================== .. py:module:: expliot.plugins.mqtt.awsiotsub .. autoapi-nested-parse:: Plugin to subscribe to a topic on an AWS IoT endpoint. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: expliot.plugins.mqtt.awsiotsub.AwsIotSub .. py:class:: AwsIotSub Bases: :py:obj:`expliot.core.tests.test.Test` Subscribe to a topic on an AWS IoT endpoint. Output Format: [ { "topic": "foobar/topic", "payload": "Foobar payload" }, # ... May be zero or more entries ] .. py:method:: subcb(client, userdata, message) A callback method that is called when the thing receives a message on the subscribed topic from an AWS IoT endpoint. .. py:method:: execute() Execute the plugin.