

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# AWS IoT 使用 AWS SDKs程式碼範例
<a name="service_code_examples"></a>

下列程式碼範例示範如何 AWS IoT 搭配 AWS 軟體開發套件 (SDK) 使用 。

*基本概念*是程式碼範例，這些範例說明如何在服務內執行基本操作。

*Actions* 是大型程式的程式碼摘錄，必須在內容中執行。雖然動作會告訴您如何呼叫個別服務函數，但您可以在其相關情境中查看內容中的動作。

*案例*是向您展示如何呼叫服務中的多個函數或與其他 AWS 服務組合來完成特定任務的程式碼範例。

如需 AWS SDK 開發人員指南和程式碼範例的完整清單，請參閱 [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)