awsiot

class awsiot.MqttServiceClient(mqtt_connection)

Bases: object

Base class for an AWS MQTT Service Client

Parameters:

mqtt_connection (Connection) – MQTT connection to use

property mqtt_connection: Connection

MQTT connection used by this client

unsubscribe(topic)

Tell the MQTT server to stop sending messages to this topic.

Parameters:

topic (str) – Topic to unsubscribe from

Returns:

Future whose result will be None when the server has acknowledged the unsubscribe.

Return type:

Future

class awsiot.ModeledClass

Bases: object

Base for input/output classes generated from an AWS service model.