File Coverage

blib/lib/Paws/CloudTrail/LookupEvents.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CloudTrail::LookupEvents;
3 1     1   337 use Moose;
  1     1   2  
  1         6  
  1         403  
  1         3  
  1         7  
4             has EndTime => (is => 'ro', isa => 'Str');
5             has LookupAttributes => (is => 'ro', isa => 'ArrayRef[Paws::CloudTrail::LookupAttribute]');
6             has MaxResults => (is => 'ro', isa => 'Int');
7             has NextToken => (is => 'ro', isa => 'Str');
8             has StartTime => (is => 'ro', isa => 'Str');
9              
10 1     1   5510 use MooseX::ClassAttribute;
  1     1   2  
  1         6  
  1         5905  
  1         3  
  1         6  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'LookupEvents');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudTrail::LookupEventsResponse');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::CloudTrail::LookupEvents - Arguments for method LookupEvents on Paws::CloudTrail
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method LookupEvents on the
26             AWS CloudTrail service. Use the attributes of this class
27             as arguments to method LookupEvents.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to LookupEvents.
30              
31             As an example:
32              
33             $service_obj->LookupEvents(Att1 => $value1, Att2 => $value2, ...);
34              
35             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 EndTime => Str
41              
42             Specifies that only events that occur before or at the specified time
43             are returned. If the specified end time is before the specified start
44             time, an error is returned.
45              
46              
47              
48             =head2 LookupAttributes => ArrayRef[L<Paws::CloudTrail::LookupAttribute>]
49              
50             Contains a list of lookup attributes. Currently the list can contain
51             only one item.
52              
53              
54              
55             =head2 MaxResults => Int
56              
57             The number of events to return. Possible values are 1 through 50. The
58             default is 10.
59              
60              
61              
62             =head2 NextToken => Str
63              
64             The token to use to get the next page of results after a previous API
65             call. This token must be passed in with the same parameters that were
66             specified in the the original call. For example, if the original call
67             specified an AttributeKey of 'Username' with a value of 'root', the
68             call with NextToken should include those same parameters.
69              
70              
71              
72             =head2 StartTime => Str
73              
74             Specifies that only events that occur after or at the specified time
75             are returned. If the specified start time is after the specified end
76             time, an error is returned.
77              
78              
79              
80              
81             =head1 SEE ALSO
82              
83             This class forms part of L<Paws>, documenting arguments for method LookupEvents in L<Paws::CloudTrail>
84              
85             =head1 BUGS and CONTRIBUTIONS
86              
87             The source code is located here: https://github.com/pplu/aws-sdk-perl
88              
89             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
90              
91             =cut
92