![]() |
![]()
| ![]() |
![]()
NAMEPaws::CloudWatch::MetricAlarm USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::CloudWatch::MetricAlarm object: $service_obj->Method(Att1 => { ActionsEnabled => $value, ..., Unit => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatch::MetricAlarm object: $result = $service_obj->Method(...); $result->Att1->ActionsEnabled DESCRIPTIONThe details about a metric alarm. ATTRIBUTESActionsEnabled => BoolIndicates whether actions should be executed during any changes to the alarm state. AlarmActions => ArrayRef[Str|Undef]The actions to execute when this alarm transitions to the "ALARM" state from any other state. Each action is specified as an Amazon Resource Name (ARN). AlarmArn => StrThe Amazon Resource Name (ARN) of the alarm. AlarmConfigurationUpdatedTimestamp => StrThe time stamp of the last update to the alarm configuration. AlarmDescription => StrThe description of the alarm. AlarmName => StrThe name of the alarm. ComparisonOperator => StrThe arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand. DatapointsToAlarm => IntThe number of data points that must be breaching to trigger the alarm. Dimensions => ArrayRef[Paws::CloudWatch::Dimension]The dimensions for the metric associated with the alarm. EvaluateLowSampleCountPercentile => StrUsed only for alarms based on percentiles. If "ignore", the alarm state does not change during periods with too few data points to be statistically significant. If "evaluate" or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. EvaluationPeriods => IntThe number of periods over which data is compared to the specified threshold. ExtendedStatistic => StrThe percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. InsufficientDataActions => ArrayRef[Str|Undef]The actions to execute when this alarm transitions to the "INSUFFICIENT_DATA" state from any other state. Each action is specified as an Amazon Resource Name (ARN). MetricName => StrThe name of the metric associated with the alarm, if this is an alarm based on a single metric. Metrics => ArrayRef[Paws::CloudWatch::MetricDataQuery]An array of MetricDataQuery structures, used in an alarm based on a metric math expression. Each structure either retrieves a metric or performs a math expression. One item in the Metrics array is the math expression that the alarm watches. This expression by designated by having "ReturnData" set to true. Namespace => StrThe namespace of the metric associated with the alarm. OKActions => ArrayRef[Str|Undef]The actions to execute when this alarm transitions to the "OK" state from any other state. Each action is specified as an Amazon Resource Name (ARN). Period => IntThe period, in seconds, over which the statistic is applied. StateReason => StrAn explanation for the alarm state, in text format. StateReasonData => StrAn explanation for the alarm state, in JSON format. StateUpdatedTimestamp => StrThe time stamp of the last update to the alarm state. StateValue => StrThe state value for the alarm. Statistic => StrThe statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use "ExtendedStatistic". Threshold => NumThe value to compare with the specified statistic. ThresholdMetricId => StrIn an alarm based on an anomaly detection model, this is the ID of the "ANOMALY_DETECTION_BAND" function used as the threshold for the alarm. TreatMissingData => StrSets how this alarm is to handle missing data points. If this parameter is omitted, the default behavior of "missing" is used. Unit => StrThe unit of the metric associated with the alarm. SEE ALSOThis class forms part of Paws, describing an object used in Paws::CloudWatch BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|