Add publish operation to iotdata (#1362)
* add publish operation to iotdata * restart ci
This commit is contained in:
parent
e227a30aa9
commit
cfc994d0ae
3 changed files with 21 additions and 0 deletions
|
|
@ -184,6 +184,10 @@ class IoTDataPlaneBackend(BaseBackend):
|
|||
thing.thing_shadow = new_shadow
|
||||
return thing.thing_shadow
|
||||
|
||||
def publish(self, topic, qos, payload):
|
||||
# do nothing because client won't know about the result
|
||||
return None
|
||||
|
||||
|
||||
available_regions = boto3.session.Session().get_available_regions("iot-data")
|
||||
iotdata_backends = {region: IoTDataPlaneBackend(region) for region in available_regions}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue