Retrieves alarms with the specified names. If no name is specified, all alarms for the user are returned. Alarms can be retrieved by using only a prefix for the alarm name, the alarm state, or a prefix for any action.
| C# |
DescribeAlarmsResponse DescribeAlarms( DescribeAlarmsRequest describeAlarmsRequest )
- describeAlarmsRequest (DescribeAlarmsRequest)
- Container for the necessary parameters to execute the DescribeAlarms service method on AmazonCloudWatch.
The response from the DescribeAlarms service method, as returned by AmazonCloudWatch.
| Exception | Condition |
|---|---|
| InvalidNextTokenException |