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.
 Declaration Syntax
 Declaration Syntax| C# | 
DescribeAlarmsResponse DescribeAlarms( DescribeAlarmsRequest describeAlarmsRequest )
 Parameters
 Parameters- describeAlarmsRequest (DescribeAlarmsRequest)
- Container for the necessary parameters to execute the DescribeAlarms service method on AmazonCloudWatch.
 Return Value
 Return ValueThe response from the DescribeAlarms service method, as returned by AmazonCloudWatch.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| InvalidNextTokenException |