Actions for CloudWatch Logs using Amazon SDKs - Amazon CloudWatch Logs
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Actions for CloudWatch Logs using Amazon SDKs

The following code examples demonstrate how to perform individual CloudWatch Logs actions with Amazon SDKs. These excerpts call the CloudWatch Logs API and are code excerpts from larger programs that must be run in context. 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 Amazon CloudWatch Logs API Reference.