Paws::CloudWatch::DescribeAlarmHistory - Arguments for method DescribeAlarmHistory on Paws::CloudWatch
This class represents the parameters used for calling the method DescribeAlarmHistory on the Amazon CloudWatch service. Use the attributes of this class as arguments to method DescribeAlarmHistory.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeAlarmHistory.
my $monitoring = Paws->service('CloudWatch'); my $DescribeAlarmHistoryOutput = $monitoring->DescribeAlarmHistory( AlarmName => 'MyAlarmName', # OPTIONAL AlarmTypes => [ 'CompositeAlarm', ... # values: CompositeAlarm, MetricAlarm ], # OPTIONAL EndDate => '1970-01-01T01:00:00', # OPTIONAL HistoryItemType => 'ConfigurationUpdate', # OPTIONAL MaxRecords => 1, # OPTIONAL NextToken => 'MyNextToken', # OPTIONAL ScanBy => 'TimestampDescending', # OPTIONAL StartDate => '1970-01-01T01:00:00', # OPTIONAL ); # Results: my $AlarmHistoryItems = $DescribeAlarmHistoryOutput->AlarmHistoryItems; my $NextToken = $DescribeAlarmHistoryOutput->NextToken; # Returns a L<Paws::CloudWatch::DescribeAlarmHistoryOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/monitoring/DescribeAlarmHistory
The name of the alarm.
Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.
The ending date to retrieve alarm history.
The type of alarm histories to retrieve.
Valid values are: "ConfigurationUpdate", "StateUpdate", "Action"
"ConfigurationUpdate"
"StateUpdate"
"Action"
The maximum number of alarm history records to retrieve.
The token returned by a previous call to indicate that there is more data available.
Specified whether to return the newest or oldest alarm history first. Specify TimestampDescending to have the newest event history returned first, and specify TimestampAscending to have the oldest history returned first.
TimestampDescending
TimestampAscending
Valid values are: "TimestampDescending", "TimestampAscending"
"TimestampDescending"
"TimestampAscending"
The starting date to retrieve alarm history.
This class forms part of Paws, documenting arguments for method DescribeAlarmHistory in Paws::CloudWatch
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.