blib/lib/Paws/DevOpsGuru/Event.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::DevOpsGuru::Event;
3 use Moose;
4 has DataSource => (is => 'ro', isa => 'Str');
5 has EventClass => (is => 'ro', isa => 'Str');
6 has EventSource => (is => 'ro', isa => 'Str');
7 has Id => (is => 'ro', isa => 'Str');
8 has Name => (is => 'ro', isa => 'Str');
9 has ResourceCollection => (is => 'ro', isa => 'Paws::DevOpsGuru::ResourceCollection');
10 has Resources => (is => 'ro', isa => 'ArrayRef[Paws::DevOpsGuru::EventResource]');
11 has Time => (is => 'ro', isa => 'Str');
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::DevOpsGuru::Event
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::DevOpsGuru::Event object:
31  
32 $service_obj->Method(Att1 => { DataSource => $value, ..., Time => $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::DevOpsGuru::Event object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->DataSource
40  
41 =head1 DESCRIPTION
42  
43 An AWS resource event. AWS resource events and metrics are analyzed by
44 DevOps Guru to find anomalous behavior and provide recommendations to
45 improve your operational solutions.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 DataSource => Str
51  
52 The source, C<AWS_CLOUD_TRAIL> or C<AWS_CODE_DEPLOY>, where DevOps Guru
53 analysis found the event.
54  
55  
56 =head2 EventClass => Str
57  
58 The class of the event. The class specifies what the event is related
59 to, such as an infrastructure change, a deployment, or a schema change.
60  
61  
62 =head2 EventSource => Str
63  
64 The AWS source that emitted the event.
65  
66  
67 =head2 Id => Str
68  
69 The ID of the event.
70  
71  
72 =head2 Name => Str
73  
74 The name of the event.
75  
76  
77 =head2 ResourceCollection => L<Paws::DevOpsGuru::ResourceCollection>
78  
79  
80  
81  
82 =head2 Resources => ArrayRef[L<Paws::DevOpsGuru::EventResource>]
83  
84 An C<EventResource> object that contains information about the resource
85 that emitted the event.
86  
87  
88 =head2 Time => Str
89  
90 A C<Timestamp> that specifies the time the event occurred.
91  
92  
93  
94 =head1 SEE ALSO
95  
96 This class forms part of L<Paws>, describing an object used in L<Paws::DevOpsGuru>
97  
98 =head1 BUGS and CONTRIBUTIONS
99  
100 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
101  
102 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
103  
104 =cut
105