

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 X-Ray using AWS SDKs
<a name="xray_code_examples_actions"></a>

The following code examples demonstrate how to perform individual X-Ray 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 X-Ray API Reference](https://docs.aws.amazon.com/xray/latest/api/Welcome.html). 

**Topics**
+ [`CreateGroup`](xray_example_xray_CreateGroup_section.md)
+ [`CreateSamplingRule`](xray_example_xray_CreateSamplingRule_section.md)
+ [`DeleteGroup`](xray_example_xray_DeleteGroup_section.md)
+ [`DeleteSamplingRule`](xray_example_xray_DeleteSamplingRule_section.md)
+ [`GetGroups`](xray_example_xray_GetGroups_section.md)
+ [`GetSamplingRules`](xray_example_xray_GetSamplingRules_section.md)
+ [`GetServiceGraph`](xray_example_xray_GetServiceGraph_section.md)