File Coverage

blib/lib/Paws/CloudTrail/Event.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::CloudTrail::Event;
2 1     1   405 use Moose;
  1     1   2  
  1         8  
  1         429  
  1         3  
  1         6  
3             has CloudTrailEvent => (is => 'ro', isa => 'Str');
4             has EventId => (is => 'ro', isa => 'Str');
5             has EventName => (is => 'ro', isa => 'Str');
6             has EventSource => (is => 'ro', isa => 'Str');
7             has EventTime => (is => 'ro', isa => 'Str');
8             has Resources => (is => 'ro', isa => 'ArrayRef[Paws::CloudTrail::Resource]');
9             has Username => (is => 'ro', isa => 'Str');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::CloudTrail::Event
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::CloudTrail::Event object:
28              
29             $service_obj->Method(Att1 => { CloudTrailEvent => $value, ..., Username => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudTrail::Event object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->CloudTrailEvent
37              
38             =head1 DESCRIPTION
39              
40             Contains information about an event that was returned by a lookup
41             request. The result includes a representation of a CloudTrail event.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 CloudTrailEvent => Str
47              
48             A JSON string that contains a representation of the event returned.
49              
50              
51             =head2 EventId => Str
52              
53             The CloudTrail ID of the event returned.
54              
55              
56             =head2 EventName => Str
57              
58             The name of the event returned.
59              
60              
61             =head2 EventSource => Str
62              
63             The AWS service that the request was made to.
64              
65              
66             =head2 EventTime => Str
67              
68             The date and time of the event returned.
69              
70              
71             =head2 Resources => ArrayRef[L<Paws::CloudTrail::Resource>]
72              
73             A list of resources referenced by the event returned.
74              
75              
76             =head2 Username => Str
77              
78             A user name or role name of the requester that called the API in the
79             event returned.
80              
81              
82              
83             =head1 SEE ALSO
84              
85             This class forms part of L<Paws>, describing an object used in L<Paws::CloudTrail>
86              
87             =head1 BUGS and CONTRIBUTIONS
88              
89             The source code is located here: https://github.com/pplu/aws-sdk-perl
90              
91             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
92              
93             =cut
94