« blib/lib/Paws/IoT/ValidationError.pm
↑ Summary
blib/lib/Paws/IoT/ViolationEventAdditionalInfo.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoT::ViolationEvent; | ||
| 3 | use Moose; | ||
| 4 | has Behavior => (is => 'ro', isa => 'Paws::IoT::Behavior', request_name => 'behavior', traits => ['NameInRequest']); | ||
| 5 | has MetricValue => (is => 'ro', isa => 'Paws::IoT::MetricValue', request_name => 'metricValue', traits => ['NameInRequest']); | ||
| 6 | has SecurityProfileName => (is => 'ro', isa => 'Str', request_name => 'securityProfileName', traits => ['NameInRequest']); | ||
| 7 | has ThingName => (is => 'ro', isa => 'Str', request_name => 'thingName', traits => ['NameInRequest']); | ||
| 8 | has ViolationEventAdditionalInfo => (is => 'ro', isa => 'Paws::IoT::ViolationEventAdditionalInfo', request_name => 'violationEventAdditionalInfo', traits => ['NameInRequest']); | ||
| 9 | has ViolationEventTime => (is => 'ro', isa => 'Str', request_name => 'violationEventTime', traits => ['NameInRequest']); | ||
| 10 | has ViolationEventType => (is => 'ro', isa => 'Str', request_name => 'violationEventType', traits => ['NameInRequest']); | ||
| 11 | has ViolationId => (is => 'ro', isa => 'Str', request_name => 'violationId', traits => ['NameInRequest']); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::IoT::ViolationEvent | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::IoT::ViolationEvent object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { Behavior => $value, ..., ViolationId => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::ViolationEvent object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->Behavior | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Information about a Device Defender security profile behavior | ||
| 44 | violation. | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 Behavior => L<Paws::IoT::Behavior> | ||
| 50 | |||
| 51 | The behavior that was violated. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 MetricValue => L<Paws::IoT::MetricValue> | ||
| 55 | |||
| 56 | The value of the metric (the measurement). | ||
| 57 | |||
| 58 | |||
| 59 | =head2 SecurityProfileName => Str | ||
| 60 | |||
| 61 | The name of the security profile whose behavior was violated. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 ThingName => Str | ||
| 65 | |||
| 66 | The name of the thing responsible for the violation event. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 ViolationEventAdditionalInfo => L<Paws::IoT::ViolationEventAdditionalInfo> | ||
| 70 | |||
| 71 | The details of a violation event. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 ViolationEventTime => Str | ||
| 75 | |||
| 76 | The time the violation event occurred. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 ViolationEventType => Str | ||
| 80 | |||
| 81 | The type of violation event. | ||
| 82 | |||
| 83 | |||
| 84 | =head2 ViolationId => Str | ||
| 85 | |||
| 86 | The ID of the violation event. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head1 SEE ALSO | ||
| 91 | |||
| 92 | This class forms part of L<Paws>, describing an object used in L<Paws::IoT> | ||
| 93 | |||
| 94 | =head1 BUGS and CONTRIBUTIONS | ||
| 95 | |||
| 96 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 97 | |||
| 98 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 99 | |||
| 100 | =cut | ||
| 101 |