

# AWS SDK を使用した CloudWatch のアクション
<a name="service_code_examples_actions"></a>

次のコード例は、AWS SDKを使用して個々の CloudWatch アクションを実行する方法を示しています。それぞれの例には、GitHub へのリンクがあり、そこにはコードの設定と実行に関する説明が記載されています。

これらは CloudWatch API を呼び出すもので、コンテキスト内で実行する必要がある大規模なプログラムからのコード抜粋です。アクションは [AWS SDK を使用した CloudWatch のシナリオ](service_code_examples_scenarios.md) のコンテキスト内で確認できます。

 以下の例には、最も一般的に使用されるアクションのみ含まれています。詳細な一覧については、「[Amazon CloudWatch API Reference](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/Welcome.html)」(Amazon CloudWatch API リファレンス) を参照してください。

**Topics**
+ [`DeleteAlarms`](example_cloudwatch_DeleteAlarms_section.md)
+ [`DeleteAnomalyDetector`](example_cloudwatch_DeleteAnomalyDetector_section.md)
+ [`DeleteDashboards`](example_cloudwatch_DeleteDashboards_section.md)
+ [`DescribeAlarmHistory`](example_cloudwatch_DescribeAlarmHistory_section.md)
+ [`DescribeAlarms`](example_cloudwatch_DescribeAlarms_section.md)
+ [`DescribeAlarmsForMetric`](example_cloudwatch_DescribeAlarmsForMetric_section.md)
+ [`DescribeAnomalyDetectors`](example_cloudwatch_DescribeAnomalyDetectors_section.md)
+ [`DisableAlarmActions`](example_cloudwatch_DisableAlarmActions_section.md)
+ [`EnableAlarmActions`](example_cloudwatch_EnableAlarmActions_section.md)
+ [`GetDashboard`](example_cloudwatch_GetDashboard_section.md)
+ [`GetMetricData`](example_cloudwatch_GetMetricData_section.md)
+ [`GetMetricStatistics`](example_cloudwatch_GetMetricStatistics_section.md)
+ [`GetMetricWidgetImage`](example_cloudwatch_GetMetricWidgetImage_section.md)
+ [`ListDashboards`](example_cloudwatch_ListDashboards_section.md)
+ [`ListMetrics`](example_cloudwatch_ListMetrics_section.md)
+ [`PutAnomalyDetector`](example_cloudwatch_PutAnomalyDetector_section.md)
+ [`PutDashboard`](example_cloudwatch_PutDashboard_section.md)
+ [`PutMetricAlarm`](example_cloudwatch_PutMetricAlarm_section.md)
+ [`PutMetricData`](example_cloudwatch_PutMetricData_section.md)