

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 的操作 Amazon IoT 使用 Amazon 软件开发工具包
<a name="service_code_examples_actions"></a>

以下代码示例演示如何使用 Amazon 软件开发工具包执行单个 Amazon IoT 操作。每个示例都包含一个指向的链接 GitHub，您可以在其中找到有关设置和运行代码的说明。

这些摘录调用 Amazon IoT API，是大型程序的代码摘录，这些程序必须在上下文中运行。您可以在[的场景 Amazon IoT 使用 Amazon 软件开发工具包](service_code_examples_scenarios.md)中结合上下文查看操作。

 以下示例仅包括最常用的操作。有关完整列表，请参阅 [Amazon IoT API 参考](https://docs.amazonaws.cn/iot/latest/apireference/Welcome.html)。

**Topics**
+ [`AttachThingPrincipal`](example_iot_AttachThingPrincipal_section.md)
+ [`CreateKeysAndCertificate`](example_iot_CreateKeysAndCertificate_section.md)
+ [`CreateThing`](example_iot_CreateThing_section.md)
+ [`CreateTopicRule`](example_iot_CreateTopicRule_section.md)
+ [`DeleteCertificate`](example_iot_DeleteCertificate_section.md)
+ [`DeleteThing`](example_iot_DeleteThing_section.md)
+ [`DeleteTopicRule`](example_iot_DeleteTopicRule_section.md)
+ [`DescribeEndpoint`](example_iot_DescribeEndpoint_section.md)
+ [`DescribeThing`](example_iot_DescribeThing_section.md)
+ [`DetachThingPrincipal`](example_iot_DetachThingPrincipal_section.md)
+ [`ListCertificates`](example_iot_ListCertificates_section.md)
+ [`ListThings`](example_iot_ListThings_section.md)
+ [`SearchIndex`](example_iot_SearchIndex_section.md)
+ [`UpdateIndexingConfiguration`](example_iot_UpdateIndexingConfiguration_section.md)
+ [`UpdateThing`](example_iot_UpdateThing_section.md)