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# |
public DescribeAlarmsResponse DescribeAlarms()
The response from the DescribeAlarms service method, as returned by AmazonCloudWatch.
| Exception | Condition |
|---|---|
| InvalidNextTokenException |