

There are more AWS SDK examples available in the [AWS Doc SDK Examples](https://github.com/awsdocs/aws-doc-sdk-examples) GitHub repo.

# Code examples for AWS IoT SiteWise using AWS SDKs
<a name="iotsitewise_code_examples"></a>

The following code examples show you how to use AWS IoT SiteWise with an AWS software development kit (SDK).

*Basics* are code examples that show you how to perform the essential operations within a service.

*Actions* are code excerpts from larger programs and must be run in context. While actions show you how to call individual service functions, you can see actions in context in their related scenarios.

**More resources**
+  **[AWS IoT SiteWise Developer Guide](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/what-is-sitewise.html)** – More information about AWS IoT SiteWise.
+ **[AWS IoT SiteWise API Reference](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/Welcome.html)** – Details about all available AWS IoT SiteWise actions.
+ **[AWS Developer Center](https://aws.amazon.com/developer/code-examples/?awsf.sdk-code-examples-product=product%23)** – Code examples that you can filter by category or full-text search.
+ **[AWS SDK Examples](https://github.com/awsdocs/aws-doc-sdk-examples)** – GitHub repo with complete code in preferred languages. Includes instructions for setting up and running the code.

**Contents**
+ [Basics](iotsitewise_code_examples_basics.md)
  + [Hello AWS IoT SiteWise](iotsitewise_example_iotsitewise_Hello_section.md)
  + [Learn the basics](iotsitewise_example_iotsitewise_Scenario_section.md)
  + [Actions](iotsitewise_code_examples_actions.md)
    + [`BatchPutAssetPropertyValue`](iotsitewise_example_iotsitewise_BatchPutAssetPropertyValue_section.md)
    + [`CreateAsset`](iotsitewise_example_iotsitewise_CreateAsset_section.md)
    + [`CreateAssetModel`](iotsitewise_example_iotsitewise_CreateAssetModel_section.md)
    + [`CreateGateway`](iotsitewise_example_iotsitewise_CreateGateway_section.md)
    + [`DeleteAsset`](iotsitewise_example_iotsitewise_DeleteAsset_section.md)
    + [`DeleteAssetModel`](iotsitewise_example_iotsitewise_DeleteAssetModel_section.md)
    + [`DeleteGateway`](iotsitewise_example_iotsitewise_DeleteGateway_section.md)
    + [`DescribeAssetModel`](iotsitewise_example_iotsitewise_DescribeAssetModel_section.md)
    + [`DescribeGateway`](iotsitewise_example_iotsitewise_DescribeGateway_section.md)
    + [`GetAssetPropertyValue`](iotsitewise_example_iotsitewise_GetAssetPropertyValue_section.md)
    + [`ListAssetModelProperties`](iotsitewise_example_iotsitewise_ListAssetModelProperties_section.md)
    + [`ListAssetModels`](iotsitewise_example_iotsitewise_ListAssetModels_section.md)

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS SDK Code Examples. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query code-library` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
