Skip to content

Commit c2147d9

Browse files
tejasgntejasgn1
authored andcommitted
updating basics scenario steps
1 parent 6ab59e4 commit c2147d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/example_code/iot/scenario_iot_basics.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ def run_scenario(self, thing_name, rule_name):
207207
print(f"Found {len(things)} thing(s) matching the query")
208208
for thing in things:
209209
print(f" Thing name: {thing.get('thingName', 'N/A')}")
210-
print(f" Thing type: {thing.get('thingTypeName', 'N/A')}")
211-
print(f" Thing ARN: {thing.get('thingArn', 'N/A')}")
210+
print(f" Thing ID: {thing.get('thingId', 'N/A')}")
212211
else:
213212
print("No things found. Indexing may take a few minutes.")
214213
except ClientError as err:

0 commit comments

Comments
 (0)