

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

# Actions for AWS IoT Greengrass V2 using AWS SDKs
<a name="greengrassv2_code_examples_actions"></a>

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

 The following examples include only the most commonly used actions. For a complete list, see the [AWS IoT Greengrass Version 2 API Reference](https://docs.aws.amazon.com/greengrass/v2/APIReference/Welcome.html). 

**Topics**
+ [`CancelDeployment`](greengrassv2_example_greengrassv2_CancelDeployment_section.md)
+ [`CreateComponentVersion`](greengrassv2_example_greengrassv2_CreateComponentVersion_section.md)
+ [`CreateDeployment`](greengrassv2_example_greengrassv2_CreateDeployment_section.md)
+ [`DeleteComponent`](greengrassv2_example_greengrassv2_DeleteComponent_section.md)
+ [`DescribeComponent`](greengrassv2_example_greengrassv2_DescribeComponent_section.md)
+ [`GetComponent`](greengrassv2_example_greengrassv2_GetComponent_section.md)
+ [`GetDeployment`](greengrassv2_example_greengrassv2_GetDeployment_section.md)
+ [`ListComponentVersions`](greengrassv2_example_greengrassv2_ListComponentVersions_section.md)
+ [`ListCoreDevices`](greengrassv2_example_greengrassv2_ListCoreDevices_section.md)
+ [`ListDeployments`](greengrassv2_example_greengrassv2_ListDeployments_section.md)