# Amazon CloudWatch integration

> Monitoring API for CloudWatch metrics, alarms, dashboards, anomaly detectors, insight rules, and metric streams.

- Authentication: apiKey

## Tools (50)

- **Associate Dataset Kms Key**: Associates a customer managed AWS KMS key with the specified dataset for encryption at rest.
- **Delete Alarm Mute Rule**: Deletes a specific alarm mute rule, immediately unmuting any alarms it was muting.
- **Delete Alarms**: Deletes up to 100 specified alarms in one operation (at most one composite alarm; log alarms cannot be batch deleted).
- **Delete Anomaly Detector**: Deletes a specified anomaly detection model from the account.
- **Delete Dashboards**: Deletes all of the specified dashboards (up to 100 per call).
- **Delete Insight Rules**: Permanently deletes the specified Contributor Insights rules.
- **Delete Metric Stream**: Permanently deletes the metric stream that you specify.
- **Describe Alarm Contributors**: Returns the current alarm contributors (individual time series) that are in ALARM state for a given alarm.
- **Describe Alarm History**: Retrieves the history for the specified alarm, filterable by date range, item type, or alarm type.
- **Describe Alarms**: Retrieves the specified CloudWatch alarms, optionally filtered by name prefix, state, alarm type, or action prefix.
- **Describe Alarms For Metric**: Retrieves the standard metric alarms associated with a specific metric, filterable by statistic, period, or unit.
- **Describe Anomaly Detectors**: Lists anomaly detection models in the account, optionally filtered by metric or type.
- **Describe Insight Rules**: Returns a list of all the Contributor Insights rules in your account.
- **Disable Alarm Actions**: Disables the actions for the specified alarms so they do not execute on state changes.
- **Disable Insight Rules**: Disables the specified Contributor Insights rules so they stop analyzing log groups.
- **Disassociate Dataset Kms Key**: Removes the customer managed AWS KMS key association from the specified dataset.
- **Enable Alarm Actions**: Enables the actions for the specified alarms.
- **Enable Insight Rules**: Enables the specified Contributor Insights rules so they immediately begin analyzing log data.
- **Get Alarm Mute Rule**: Retrieves complete details for a specific alarm mute rule, including its configuration, status, and targeted alarms.
- **Get Dashboard**: Displays the details, including the DashboardBody, of a specified dashboard.
- **Get Dataset**: Returns information about the specified dataset, including its ARN and any associated customer managed KMS key.
- **Get Insight Rule Report**: Returns the time series data collected by a Contributor Insights rule, with optional per-datapoint statistics.
- **Get Metric Data**: Retrieves CloudWatch metric values, optionally with metric math or a Metrics Insights query.
- **Get Metric Statistics**: Gets aggregated statistics for a single specified metric over a time range.
- **Get Metric Stream**: Returns information about the metric stream that you specify.
- **Get Metric Widget Image**: Retrieves a snapshot graph of one or more CloudWatch metrics as a bitmap image.
- **Get OTel Enrichment**: Returns the current status (Running or Stopped) of vended metric enrichment for the account.
- **List Alarm Mute Rules**: Lists alarm mute rules in the account and region, filterable by targeted alarm name or status, with pagination.
- **List Dashboards**: Returns a list of the dashboards for your account, optionally filtered by a name prefix.
- **List Managed Insight Rules**: Returns the managed Contributor Insights rules available for a specified AWS resource.
- **List Metrics**: Lists the specified CloudWatch metrics, optionally filtered by namespace, name, or dimensions.
- **List Metric Streams**: Returns a paginated list of the metric streams in this account and Region.
- **List Tags For Resource**: Displays the tags associated with a CloudWatch resource.
- **Put Alarm Mute Rule**: Creates or updates an alarm mute rule that mutes alarm actions during scheduled time windows.
- **Put Anomaly Detector**: Creates an anomaly detection model for a CloudWatch metric or metric math expression.
- **Put Composite Alarm**: Creates or updates a composite alarm whose state is derived from a rule expression over other alarms' states.
- **Put Dashboard**: Creates a dashboard, or replaces the entire contents of an existing dashboard with the same name.
- **Put Insight Rule**: Creates or updates a Contributor Insights rule that evaluates log events in a CloudWatch Logs log group.
- **Put Log Alarm**: Creates or updates a log alarm that evaluates a CloudWatch Logs scheduled query result against a threshold using M-of-N evaluation.
- **Put Managed Insight Rules**: Creates (or re-enables) managed Contributor Insights rules for a specified AWS resource.
- **Put Metric Alarm**: Creates or updates a metric alarm associated with a metric, metric math expression, anomaly detection model, Metrics Insights query, or PromQL query.
- **Put Metric Data**: Publishes custom metric data points to CloudWatch under a namespace.
- **Put Metric Stream**: Creates or updates a metric stream that streams CloudWatch metrics to a Kinesis Data Firehose delivery stream.
- **Set Alarm State**: Temporarily sets an alarm's state for testing, invoking any actions configured for the new state.
- **Start Metric Streams**: Starts the streaming of metrics for one or more of your metric streams.
- **Start OTel Enrichment**: Enables enrichment and PromQL access for CloudWatch vended metrics on supported AWS resources in the account.
- **Stop Metric Streams**: Stops the streaming of metrics for one or more of your metric streams.
- **Stop OTel Enrichment**: Disables enrichment and PromQL access for CloudWatch vended metrics on supported AWS resources in the account.
- **Tag Resource**: Assigns one or more tags to a specified CloudWatch resource.
- **Untag Resource**: Removes one or more tags from a specified CloudWatch resource (alarm, dashboard, metric stream, or Contributor Insights rule).

## Triggers (1)

- **Alarm State Changed in Amazon CloudWatch**: Triggers when a CloudWatch alarm transitions between OK, ALARM, and INSUFFICIENT_DATA. Filtering is client-side, so every poll scans recent state-change history for the whole region.

## Related prompts

- [Weekday Slack triage digest for firing CloudWatch alarms](https://www.generalinput.com/prompts/weekday-slack-triage-digest-for-firing-cloudwatch-alarms.md)
- [Turn CloudWatch alarms into Linear tickets](https://www.generalinput.com/prompts/turn-cloudwatch-alarms-into-linear-tickets.md)
- [Weekly reliability report from CloudWatch to Notion](https://www.generalinput.com/prompts/weekly-reliability-report-from-cloudwatch-to-notion.md)
- [Hourly CloudWatch metric snapshots into Google Sheets](https://www.generalinput.com/prompts/hourly-cloudwatch-metric-snapshots-into-google-sheets.md)

Connect Amazon CloudWatch in General Input: https://www.generalinput.com/apps/amazon-cloudwatch