File Coverage

blib/lib/Paws/CloudWatchLogs/FilterLogEvents.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::CloudWatchLogs::FilterLogEvents;
3 1     1   429 use Moose;
  1     2   4  
  1         7  
  2         817  
  2         5  
  2         14  
4             has EndTime => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'endTime' );
5             has FilterPattern => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'filterPattern' );
6             has Interleaved => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'interleaved' );
7             has Limit => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'limit' );
8             has LogGroupName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'logGroupName' , required => 1);
9             has LogStreamNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'logStreamNames' );
10             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
11             has StartTime => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'startTime' );
12              
13 1     1   6048 use MooseX::ClassAttribute;
  1     2   3  
  1         11  
  2         11974  
  2         7  
  2         20  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'FilterLogEvents');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudWatchLogs::FilterLogEventsResponse');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::CloudWatchLogs::FilterLogEvents - Arguments for method FilterLogEvents on Paws::CloudWatchLogs
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method FilterLogEvents on the
29             Amazon CloudWatch Logs service. Use the attributes of this class
30             as arguments to method FilterLogEvents.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to FilterLogEvents.
33              
34             As an example:
35              
36             $service_obj->FilterLogEvents(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 EndTime => Int
44              
45             The end of the time range, expressed as the number of milliseconds
46             after Jan 1, 1970 00:00:00 UTC. Events with a time stamp later than
47             this time are not returned.
48              
49              
50              
51             =head2 FilterPattern => Str
52              
53             The filter pattern to use. If not provided, all the events are matched.
54              
55              
56              
57             =head2 Interleaved => Bool
58              
59             If the value is true, the operation makes a best effort to provide
60             responses that contain events from multiple log streams within the log
61             group, interleaved in a single response. If the value is false, all the
62             matched log events in the first log stream are searched first, then
63             those in the next log stream, and so on. The default is false.
64              
65              
66              
67             =head2 Limit => Int
68              
69             The maximum number of events to return. The default is 10,000 events.
70              
71              
72              
73             =head2 B<REQUIRED> LogGroupName => Str
74              
75             The name of the log group.
76              
77              
78              
79             =head2 LogStreamNames => ArrayRef[Str|Undef]
80              
81             Optional list of log stream names.
82              
83              
84              
85             =head2 NextToken => Str
86              
87             The token for the next set of events to return. (You received this
88             token from a previous call.)
89              
90              
91              
92             =head2 StartTime => Int
93              
94             The start of the time range, expressed as the number of milliseconds
95             after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before this
96             time are not returned.
97              
98              
99              
100              
101             =head1 SEE ALSO
102              
103             This class forms part of L<Paws>, documenting arguments for method FilterLogEvents in L<Paws::CloudWatchLogs>
104              
105             =head1 BUGS and CONTRIBUTIONS
106              
107             The source code is located here: https://github.com/pplu/aws-sdk-perl
108              
109             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
110              
111             =cut
112