From afa6ae288d7f0d8865c8050c436cc1e2f0c2da72 Mon Sep 17 00:00:00 2001 From: Stephan Huber Date: Mon, 4 Jun 2018 15:58:27 +0200 Subject: [PATCH] return thing_arn when calling list_things --- moto/iot/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moto/iot/models.py b/moto/iot/models.py index 1b10c09fc..ce7a4cf57 100644 --- a/moto/iot/models.py +++ b/moto/iot/models.py @@ -32,6 +32,7 @@ class FakeThing(BaseModel): def to_dict(self, include_default_client_id=False): obj = { 'thingName': self.thing_name, + 'thingArn': self.arn, 'attributes': self.attributes, 'version': self.version }