

# Actions for Amazon IoT using Amazon SDKs
<a name="service_code_examples_actions"></a>

The following code examples demonstrate how to perform individual Amazon IoT actions with Amazon SDKs. Each example includes a link to GitHub, where you can find instructions for setting up and running the code. 

These excerpts call the Amazon IoT API and are code excerpts from larger programs that must be run in context. You can see actions in context in [Scenarios for Amazon IoT using Amazon SDKs](service_code_examples_scenarios.md). 

 The following examples include only the most commonly used actions. For a complete list, see the [Amazon IoT API Reference](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)