AWS SDK for .NET Documentation
DescribeAlarms Method (describeAlarmsRequest)
Amazon ► Amazon.CloudWatch ► AmazonCloudWatch ► DescribeAlarms(DescribeAlarmsRequest)
Did this page help you? Yes No Tell us about it...

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

C#

    DescribeAlarmsResponse DescribeAlarms(
    	DescribeAlarmsRequest describeAlarmsRequest
    )

Parameters

describeAlarmsRequest (DescribeAlarmsRequest)
  Container for the necessary parameters to execute the DescribeAlarms service method on AmazonCloudWatch.

Return Value
The response from the DescribeAlarms service method, as returned by AmazonCloudWatch.
Exceptions

Exception | Condition
--- | ---
InvalidNextTokenException |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)