AWS SDK for .NET Documentation
DescribeAlarmHistoryRequest Class
AmazonAmazon.CloudWatch.ModelDescribeAlarmHistoryRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the DescribeAlarmHistory operation.

Retrieves 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.

Declaration Syntax
C#
public class DescribeAlarmHistoryRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DescribeAlarmHistoryRequest()()()()
Initializes a new instance of the DescribeAlarmHistoryRequest class

AlarmName
The name of the alarm.

Constraints:

Length
1 - 255


EndDate
The ending date to retrieve alarm history.

Equals(Object)
Determines whether the specified Object is equal to the current 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:

Allowed Values
ConfigurationUpdate, StateUpdate, Action


MaxRecords
The maximum number of alarm history records to retrieve.

Constraints:

Range
1 - 100


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()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAlarmName(String) Obsolete.
Sets the AlarmName property

WithEndDate(DateTime) Obsolete.
Sets the EndDate property

WithHistoryItemType(String) Obsolete.
Sets the HistoryItemType property

WithMaxRecords(Int32) Obsolete.
Sets the MaxRecords property

WithNextToken(String) Obsolete.
Sets the NextToken property

WithStartDate(DateTime) Obsolete.
Sets the StartDate property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DescribeAlarmHistoryRequest
See Also

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