Container for the parameters to the DescribeAlarmHistory operation.
Namespace: Amazon.CloudWatch.ModelRetrieves history for the specified alarm. Filter alarms by date range or item type. If an alarm name is not specified, Amazon CloudWatch returns histories for all of the owner's alarms.
NOTE: Amazon CloudWatch retains the history of an alarm for two weeks, whether or not you delete the alarm.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class DescribeAlarmHistoryRequest : AmazonWebServiceRequest
Public Class DescribeAlarmHistoryRequest _ Inherits AmazonWebServiceRequest
public ref class DescribeAlarmHistoryRequest : public AmazonWebServiceRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| DescribeAlarmHistoryRequest()()()() | Initializes a new instance of the DescribeAlarmHistoryRequest class | |
| AlarmName |
The name of the alarm.
Constraints: | |
| EndDate |
The ending date to retrieve alarm history.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| HistoryItemType |
The type of alarm histories to retrieve.
Constraints: | |
| MaxRecords |
The maximum number of alarm history records to retrieve.
Constraints: | |
| NextToken |
The token returned by a previous call to indicate that there is more data available.
| |
| StartDate |
The starting date to retrieve alarm history.
| |
| ToString()()()() | (Inherited from Object.) | |
| WithAlarmName(String) |
Sets the AlarmName property
| |
| WithEndDate(DateTime) |
Sets the EndDate property
| |
| WithHistoryItemType(String) |
Sets the HistoryItemType property
| |
| WithMaxRecords(Int32) |
Sets the MaxRecords property
| |
| WithNextToken(String) |
Sets the NextToken property
| |
| WithStartDate(DateTime) |
Sets the StartDate property
|
Inheritance Hierarchy
System..::..Object
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.CloudWatch.Model..::..DescribeAlarmHistoryRequest
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.CloudWatch.Model..::..DescribeAlarmHistoryRequest