![]() |
![]()
| ![]() |
![]()
NAMEPaws::Lightsail::Alarm 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::Lightsail::Alarm object: $service_obj->Method(Att1 => { Arn => $value, ..., Unit => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Alarm object: $result = $service_obj->Method(...); $result->Att1->Arn DESCRIPTIONDescribes an alarm. An alarm is a way to monitor your Amazon Lightsail resource metrics. For more information, see Alarms in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms). ATTRIBUTESArn => StrThe Amazon Resource Name (ARN) of the alarm. ComparisonOperator => StrThe arithmetic operation used when comparing the specified statistic and threshold. ContactProtocols => ArrayRef[Str|Undef]The contact protocols for the alarm, such as "Email", "SMS" (text messaging), or both. CreatedAt => StrThe timestamp when the alarm was created. DatapointsToAlarm => IntThe number of data points that must not within the specified threshold to trigger the alarm. EvaluationPeriods => IntThe number of periods over which data is compared to the specified threshold. Location => Paws::Lightsail::ResourceLocationAn object that lists information about the location of the alarm. MetricName => StrThe name of the metric associated with the alarm. MonitoredResourceInfo => Paws::Lightsail::MonitoredResourceInfoAn object that lists information about the resource monitored by the alarm. Name => StrThe name of the alarm. NotificationEnabled => BoolIndicates whether the alarm is enabled. NotificationTriggers => ArrayRef[Str|Undef]The alarm states that trigger a notification. Period => IntThe period, in seconds, over which the statistic is applied. ResourceType => StrThe Lightsail resource type (e.g., "Alarm"). State => StrThe current state of the alarm. An alarm has the following possible states:
Statistic => StrThe statistic for the metric associated with the alarm. The following statistics are available:
SupportCode => StrThe support code. Include this code in your email to support when you have questions about your Lightsail alarm. This code enables our support team to look up your Lightsail information more easily. Threshold => NumThe value against which the specified statistic is compared. TreatMissingData => StrSpecifies how the alarm handles missing data points. An alarm can treat missing data in the following ways:
Unit => StrThe unit of the metric associated with the alarm. SEE ALSOThis class forms part of Paws, describing an object used in Paws::Lightsail 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>
|