File Coverage

blib/lib/Paws/EC2/FlowLog.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::FlowLog;
2 1     1   822 use Moose;
  1         6  
  1         10  
3             has CreationTime => (is => 'ro', isa => 'Str', request_name => 'creationTime', traits => ['NameInRequest']);
4             has DeliverLogsErrorMessage => (is => 'ro', isa => 'Str', request_name => 'deliverLogsErrorMessage', traits => ['NameInRequest']);
5             has DeliverLogsPermissionArn => (is => 'ro', isa => 'Str', request_name => 'deliverLogsPermissionArn', traits => ['NameInRequest']);
6             has DeliverLogsStatus => (is => 'ro', isa => 'Str', request_name => 'deliverLogsStatus', traits => ['NameInRequest']);
7             has FlowLogId => (is => 'ro', isa => 'Str', request_name => 'flowLogId', traits => ['NameInRequest']);
8             has FlowLogStatus => (is => 'ro', isa => 'Str', request_name => 'flowLogStatus', traits => ['NameInRequest']);
9             has LogGroupName => (is => 'ro', isa => 'Str', request_name => 'logGroupName', traits => ['NameInRequest']);
10             has ResourceId => (is => 'ro', isa => 'Str', request_name => 'resourceId', traits => ['NameInRequest']);
11             has TrafficType => (is => 'ro', isa => 'Str', request_name => 'trafficType', traits => ['NameInRequest']);
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::EC2::FlowLog
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::EC2::FlowLog object:
30              
31             $service_obj->Method(Att1 => { CreationTime => $value, ..., TrafficType => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::FlowLog object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->CreationTime
39              
40             =head1 DESCRIPTION
41              
42             This class has no description
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 CreationTime => Str
48              
49             The date and time the flow log was created.
50              
51              
52             =head2 DeliverLogsErrorMessage => Str
53              
54             Information about the error that occurred. C<Rate limited> indicates
55             that CloudWatch logs throttling has been applied for one or more
56             network interfaces, or that you've reached the limit on the number of
57             CloudWatch Logs log groups that you can create. C<Access error>
58             indicates that the IAM role associated with the flow log does not have
59             sufficient permissions to publish to CloudWatch Logs. C<Unknown error>
60             indicates an internal error.
61              
62              
63             =head2 DeliverLogsPermissionArn => Str
64              
65             The ARN of the IAM role that posts logs to CloudWatch Logs.
66              
67              
68             =head2 DeliverLogsStatus => Str
69              
70             The status of the logs delivery (C<SUCCESS> | C<FAILED>).
71              
72              
73             =head2 FlowLogId => Str
74              
75             The flow log ID.
76              
77              
78             =head2 FlowLogStatus => Str
79              
80             The status of the flow log (C<ACTIVE>).
81              
82              
83             =head2 LogGroupName => Str
84              
85             The name of the flow log group.
86              
87              
88             =head2 ResourceId => Str
89              
90             The ID of the resource on which the flow log was created.
91              
92              
93             =head2 TrafficType => Str
94              
95             The type of traffic captured for the flow log.
96              
97              
98              
99             =head1 SEE ALSO
100              
101             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
102              
103             =head1 BUGS and CONTRIBUTIONS
104              
105             The source code is located here: https://github.com/pplu/aws-sdk-perl
106              
107             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
108              
109             =cut