Skip to content

Commit 41cb5fa

Browse files
committed
Update metadata.
1 parent 7b4e587 commit 41cb5fa

3 files changed

Lines changed: 30 additions & 15 deletions

File tree

.doc_gen/metadata/iot_metadata.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ iot_DescribeEndpoint:
102102
excerpts:
103103
- description:
104104
snippet_tags:
105+
- python.example_code.iot.IoTWrapper.decl
105106
- python.example_code.iot.DescribeEndpoint
106107
services:
107108
iot: {DescribeEndpoint}
@@ -130,6 +131,7 @@ iot_ListThings:
130131
excerpts:
131132
- description:
132133
snippet_tags:
134+
- python.example_code.iot.IoTWrapper.decl
133135
- python.example_code.iot.ListThings
134136
services:
135137
iot: {ListThings}
@@ -175,6 +177,7 @@ iot_ListCertificates:
175177
excerpts:
176178
- description:
177179
snippet_tags:
180+
- python.example_code.iot.IoTWrapper.decl
178181
- python.example_code.iot.ListCertificates
179182
services:
180183
iot: {ListCertificates}
@@ -220,6 +223,7 @@ iot_CreateKeysAndCertificate:
220223
excerpts:
221224
- description:
222225
snippet_tags:
226+
- python.example_code.iot.IoTWrapper.decl
223227
- python.example_code.iot.CreateKeysAndCertificate
224228
services:
225229
iot: {CreateKeysAndCertificate}
@@ -265,6 +269,7 @@ iot_DeleteCertificate:
265269
excerpts:
266270
- description:
267271
snippet_tags:
272+
- python.example_code.iot.IoTWrapper.decl
268273
- python.example_code.iot.DeleteCertificate
269274
services:
270275
iot: {DeleteCertificate}
@@ -310,6 +315,7 @@ iot_SearchIndex:
310315
excerpts:
311316
- description:
312317
snippet_tags:
318+
- python.example_code.iot.IoTWrapper.decl
313319
- python.example_code.iot.SearchIndex
314320
services:
315321
iot: {SearchIndex}
@@ -330,6 +336,7 @@ iot_UpdateIndexingConfiguration:
330336
excerpts:
331337
- description:
332338
snippet_tags:
339+
- python.example_code.iot.IoTWrapper.decl
333340
- python.example_code.iot.UpdateIndexingConfiguration
334341
services:
335342
iot: {UpdateIndexingConfiguration}
@@ -375,6 +382,7 @@ iot_DeleteThing:
375382
excerpts:
376383
- description:
377384
snippet_tags:
385+
- python.example_code.iot.IoTWrapper.decl
378386
- python.example_code.iot.DeleteThing
379387
services:
380388
iot: {DeleteThing}
@@ -449,6 +457,7 @@ iot_AttachThingPrincipal:
449457
excerpts:
450458
- description:
451459
snippet_tags:
460+
- python.example_code.iot.IoTWrapper.decl
452461
- python.example_code.iot.AttachThingPrincipal
453462
services:
454463
iot: {AttachThingPrincipal}
@@ -494,6 +503,7 @@ iot_DetachThingPrincipal:
494503
excerpts:
495504
- description:
496505
snippet_tags:
506+
- python.example_code.iot.IoTWrapper.decl
497507
- python.example_code.iot.DetachThingPrincipal
498508
services:
499509
iot: {DetachThingPrincipal}
@@ -568,6 +578,7 @@ iot_CreateTopicRule:
568578
excerpts:
569579
- description:
570580
snippet_tags:
581+
- python.example_code.iot.IoTWrapper.decl
571582
- python.example_code.iot.CreateTopicRule
572583
services:
573584
iot: {CreateTopicRule}
@@ -588,6 +599,7 @@ iot_DeleteTopicRule:
588599
excerpts:
589600
- description:
590601
snippet_tags:
602+
- python.example_code.iot.IoTWrapper.decl
591603
- python.example_code.iot.DeleteTopicRule
592604
services:
593605
iot: {DeleteTopicRule}
@@ -633,6 +645,7 @@ iot_CreateThing:
633645
excerpts:
634646
- description:
635647
snippet_tags:
648+
- python.example_code.iot.IoTWrapper.decl
636649
- python.example_code.iot.CreateThing
637650
services:
638651
iot: {CreateThing}

python/example_code/iot/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ Code examples that show you how to perform the essential operations within a ser
5050

5151
Code excerpts that show you how to call individual service functions.
5252

53-
- [AttachThingPrincipal](iot_wrapper.py#L118)
54-
- [CreateKeysAndCertificate](iot_wrapper.py#L93)
55-
- [CreateThing](iot_wrapper.py#L38)
56-
- [CreateTopicRule](iot_wrapper.py#L249)
57-
- [DeleteCertificate](iot_wrapper.py#L223)
58-
- [DeleteThing](iot_wrapper.py#L357)
59-
- [DeleteTopicRule](iot_wrapper.py#L380)
60-
- [DescribeEndpoint](iot_wrapper.py#L144)
61-
- [DetachThingPrincipal](iot_wrapper.py#L197)
62-
- [ListCertificates](iot_wrapper.py#L170)
63-
- [ListThings](iot_wrapper.py#L65)
64-
- [SearchIndex](iot_wrapper.py#L311)
65-
- [UpdateIndexingConfiguration](iot_wrapper.py#L337)
53+
- [AttachThingPrincipal](iot_wrapper.py#L119)
54+
- [CreateKeysAndCertificate](iot_wrapper.py#L94)
55+
- [CreateThing](iot_wrapper.py#L39)
56+
- [CreateTopicRule](iot_wrapper.py#L250)
57+
- [DeleteCertificate](iot_wrapper.py#L224)
58+
- [DeleteThing](iot_wrapper.py#L358)
59+
- [DeleteTopicRule](iot_wrapper.py#L381)
60+
- [DescribeEndpoint](iot_wrapper.py#L145)
61+
- [DetachThingPrincipal](iot_wrapper.py#L198)
62+
- [ListCertificates](iot_wrapper.py#L171)
63+
- [ListThings](iot_wrapper.py#L66)
64+
- [SearchIndex](iot_wrapper.py#L312)
65+
- [UpdateIndexingConfiguration](iot_wrapper.py#L338)
6666

6767

6868
<!--custom.examples.start-->

python/example_code/iot/iot_wrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717

1818
# snippet-start:[python.example_code.iot.IoTWrapper]
19+
# snippet-start:[python.example_code.iot.IoTWrapper.decl]
1920
class IoTWrapper:
2021
"""Encapsulates AWS IoT actions."""
2122

@@ -32,8 +33,8 @@ def from_client(cls):
3233
iot_client = boto3.client("iot")
3334
iot_data_client = boto3.client("iot-data")
3435
return cls(iot_client, iot_data_client)
35-
36-
# snippet-end:[python.example_code.iot.IoTWrapper]
36+
# snippet-end:[python.example_code.iot.IoTWrapper.decl]
37+
3738

3839
# snippet-start:[python.example_code.iot.CreateThing]
3940
def create_thing(self, thing_name):
@@ -451,3 +452,4 @@ def get_thing_shadow(self, thing_name):
451452
return shadow
452453

453454
# snippet-end:[python.example_code.iot.GetThingShadow]
455+
# snippet-end:[python.example_code.iot.IoTWrapper]

0 commit comments

Comments
 (0)