File Coverage

blib/lib/Paws/EC2/DescribeFlowLogs.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              
2             package Paws::EC2::DescribeFlowLogs;
3 1     1   610 use Moose;
  1         2  
  1         8  
4             has Filter => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]');
5             has FlowLogIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'FlowLogId' );
6             has MaxResults => (is => 'ro', isa => 'Int');
7             has NextToken => (is => 'ro', isa => 'Str');
8              
9 1     1   6389 use MooseX::ClassAttribute;
  1         2  
  1         9  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeFlowLogs');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeFlowLogsResult');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::EC2::DescribeFlowLogs - Arguments for method DescribeFlowLogs on Paws::EC2
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method DescribeFlowLogs on the
25             Amazon Elastic Compute Cloud service. Use the attributes of this class
26             as arguments to method DescribeFlowLogs.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeFlowLogs.
29              
30             As an example:
31              
32             $service_obj->DescribeFlowLogs(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 Filter => ArrayRef[L<Paws::EC2::Filter>]
40              
41             One or more filters.
42              
43             =over
44              
45             =item *
46              
47             C<deliver-log-status> - The status of the logs delivery (C<SUCCESS> |
48             C<FAILED>).
49              
50             =item *
51              
52             C<flow-log-id> - The ID of the flow log.
53              
54             =item *
55              
56             C<log-group-name> - The name of the log group.
57              
58             =item *
59              
60             C<resource-id> - The ID of the VPC, subnet, or network interface.
61              
62             =item *
63              
64             C<traffic-type> - The type of traffic (C<ACCEPT> | C<REJECT> | C<ALL>)
65              
66             =back
67              
68              
69              
70              
71             =head2 FlowLogIds => ArrayRef[Str|Undef]
72              
73             One or more flow log IDs.
74              
75              
76              
77             =head2 MaxResults => Int
78              
79             The maximum number of results to return for the request in a single
80             page. The remaining results can be seen by sending another request with
81             the returned C<NextToken> value. This value can be between 5 and 1000;
82             if C<MaxResults> is given a value larger than 1000, only 1000 results
83             are returned. You cannot specify this parameter and the flow log IDs
84             parameter in the same request.
85              
86              
87              
88             =head2 NextToken => Str
89              
90             The token to retrieve the next page of results.
91              
92              
93              
94              
95             =head1 SEE ALSO
96              
97             This class forms part of L<Paws>, documenting arguments for method DescribeFlowLogs in L<Paws::EC2>
98              
99             =head1 BUGS and CONTRIBUTIONS
100              
101             The source code is located here: https://github.com/pplu/aws-sdk-perl
102              
103             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
104              
105             =cut
106