| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoTEventsData::AlarmState; | ||
| 3 | use Moose; | ||
| 4 | has CustomerAction => (is => 'ro', isa => 'Paws::IoTEventsData::CustomerAction', request_name => 'customerAction', traits => ['NameInRequest']); | ||
| 5 | has RuleEvaluation => (is => 'ro', isa => 'Paws::IoTEventsData::RuleEvaluation', request_name => 'ruleEvaluation', traits => ['NameInRequest']); | ||
| 6 | has StateName => (is => 'ro', isa => 'Str', request_name => 'stateName', traits => ['NameInRequest']); | ||
| 7 | has SystemEvent => (is => 'ro', isa => 'Paws::IoTEventsData::SystemEvent', request_name => 'systemEvent', traits => ['NameInRequest']); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::IoTEventsData::AlarmState | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::IoTEventsData::AlarmState object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { CustomerAction => $value, ..., SystemEvent => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoTEventsData::AlarmState object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->CustomerAction | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Contains information about the current state of the alarm. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 CustomerAction => L<Paws::IoTEventsData::CustomerAction> | ||
| 45 | |||
| 46 | Contains information about the action that you can take to respond to | ||
| 47 | the alarm. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 RuleEvaluation => L<Paws::IoTEventsData::RuleEvaluation> | ||
| 51 | |||
| 52 | Information needed to evaluate data. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 StateName => Str | ||
| 56 | |||
| 57 | The name of the alarm state. The state name can be one of the following | ||
| 58 | values: | ||
| 59 | |||
| 60 | =over | ||
| 61 | |||
| 62 | =item * | ||
| 63 | |||
| 64 | C<DISABLED> - When the alarm is in the C<DISABLED> state, it isn't | ||
| 65 | ready to evaluate data. To enable the alarm, you must change the alarm | ||
| 66 | to the C<NORMAL> state. | ||
| 67 | |||
| 68 | =item * | ||
| 69 | |||
| 70 | C<NORMAL> - When the alarm is in the C<NORMAL> state, it's ready to | ||
| 71 | evaluate data. | ||
| 72 | |||
| 73 | =item * | ||
| 74 | |||
| 75 | C<ACTIVE> - If the alarm is in the C<ACTIVE> state, the alarm is | ||
| 76 | invoked. | ||
| 77 | |||
| 78 | =item * | ||
| 79 | |||
| 80 | C<ACKNOWLEDGED> - When the alarm is in the C<ACKNOWLEDGED> state, the | ||
| 81 | alarm was invoked and you acknowledged the alarm. | ||
| 82 | |||
| 83 | =item * | ||
| 84 | |||
| 85 | C<SNOOZE_DISABLED> - When the alarm is in the C<SNOOZE_DISABLED> state, | ||
| 86 | the alarm is disabled for a specified period of time. After the snooze | ||
| 87 | time, the alarm automatically changes to the C<NORMAL> state. | ||
| 88 | |||
| 89 | =item * | ||
| 90 | |||
| 91 | C<LATCHED> - When the alarm is in the C<LATCHED> state, the alarm was | ||
| 92 | invoked. However, the data that the alarm is currently evaluating is | ||
| 93 | within the specified range. To change the alarm to the C<NORMAL> state, | ||
| 94 | you must acknowledge the alarm. | ||
| 95 | |||
| 96 | =back | ||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | =head2 SystemEvent => L<Paws::IoTEventsData::SystemEvent> | ||
| 101 | |||
| 102 | Contains information about alarm state changes. | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | =head1 SEE ALSO | ||
| 107 | |||
| 108 | This class forms part of L<Paws>, describing an object used in L<Paws::IoTEventsData> | ||
| 109 | |||
| 110 | =head1 BUGS and CONTRIBUTIONS | ||
| 111 | |||
| 112 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 113 | |||
| 114 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 115 | |||
| 116 | =cut | ||
| 117 |