

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

# 的代码示例 AWS IoT 使用 AWS 软件开发工具包
<a name="service_code_examples"></a>

以下代码示例说明如何 AWS IoT 使用 AWS 软件开发套件 (SDK)。

*基本功能*是向您展示如何在服务中执行基本操作的代码示例。

*操作*是大型程序的代码摘录，必须在上下文中运行。您可以通过操作了解如何调用单个服务函数，还可以通过函数相关场景的上下文查看操作。

*场景*是向您展示如何通过在一个服务中调用多个函数或与其他 AWS 服务服务结合来完成特定任务的代码示例。

有关 S AWS DK 开发者指南和代码示例的完整列表，请参阅[使用 AWS IoT 用 AWS SDK](sdk-general-information-section.md)。本主题还包括有关入门的信息以及有关先前的 SDK 版本的详细信息。

**Contents**
+ [基本功能](service_code_examples_basics.md)
  + [你好 AWS IoT](example_iot_Hello_section.md)
  + [了解基本功能](example_iot_Scenario_section.md)
  + [操作](service_code_examples_actions.md)
    + [`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)
+ [场景](service_code_examples_scenarios.md)
  + [物联网设备保护入门](example_iot_GettingStarted_079_section.md)
  + [物联网消息传递入门](example_iot_GettingStarted_063_section.md)