blib/lib/Paws/EC2/FlowLog.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 32 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::FlowLog;
2 use Moose;
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 LogDestination => (is => 'ro', isa => 'Str', request_name => 'logDestination', traits => ['NameInRequest']);
10 has LogDestinationType => (is => 'ro', isa => 'Str', request_name => 'logDestinationType', traits => ['NameInRequest']);
11 has LogFormat => (is => 'ro', isa => 'Str', request_name => 'logFormat', traits => ['NameInRequest']);
12 has LogGroupName => (is => 'ro', isa => 'Str', request_name => 'logGroupName', traits => ['NameInRequest']);
13 has MaxAggregationInterval => (is => 'ro', isa => 'Int', request_name => 'maxAggregationInterval', traits => ['NameInRequest']);
14 has ResourceId => (is => 'ro', isa => 'Str', request_name => 'resourceId', traits => ['NameInRequest']);
15 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
16 has TrafficType => (is => 'ro', isa => 'Str', request_name => 'trafficType', traits => ['NameInRequest']);
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::EC2::FlowLog
24  
25 =head1 USAGE
26  
27 This class represents one of two things:
28  
29 =head3 Arguments in a call to a service
30  
31 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32 Each attribute should be used as a named argument in the calls that expect this type of object.
33  
34 As an example, if Att1 is expected to be a Paws::EC2::FlowLog object:
35  
36 $service_obj->Method(Att1 => { CreationTime => $value, ..., TrafficType => $value });
37  
38 =head3 Results returned from an API call
39  
40 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::FlowLog object:
41  
42 $result = $service_obj->Method(...);
43 $result->Att1->CreationTime
44  
45 =head1 DESCRIPTION
46  
47 This class has no description
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 CreationTime => Str
53  
54 The date and time the flow log was created.
55  
56  
57 =head2 DeliverLogsErrorMessage => Str
58  
59 Information about the error that occurred. C<Rate limited> indicates
60 that CloudWatch Logs throttling has been applied for one or more
61 network interfaces, or that you've reached the limit on the number of
62 log groups that you can create. C<Access error> indicates that the IAM
63 role associated with the flow log does not have sufficient permissions
64 to publish to CloudWatch Logs. C<Unknown error> indicates an internal
65 error.
66  
67  
68 =head2 DeliverLogsPermissionArn => Str
69  
70 The ARN of the IAM role that posts logs to CloudWatch Logs.
71  
72  
73 =head2 DeliverLogsStatus => Str
74  
75 The status of the logs delivery (C<SUCCESS> | C<FAILED>).
76  
77  
78 =head2 FlowLogId => Str
79  
80 The flow log ID.
81  
82  
83 =head2 FlowLogStatus => Str
84  
85 The status of the flow log (C<ACTIVE>).
86  
87  
88 =head2 LogDestination => Str
89  
90 Specifies the destination to which the flow log data is published. Flow
91 log data can be published to an CloudWatch Logs log group or an Amazon
92 S3 bucket. If the flow log publishes to CloudWatch Logs, this element
93 indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log
94 group to which the data is published. If the flow log publishes to
95 Amazon S3, this element indicates the ARN of the Amazon S3 bucket to
96 which the data is published.
97  
98  
99 =head2 LogDestinationType => Str
100  
101 Specifies the type of destination to which the flow log data is
102 published. Flow log data can be published to CloudWatch Logs or Amazon
103 S3.
104  
105  
106 =head2 LogFormat => Str
107  
108 The format of the flow log record.
109  
110  
111 =head2 LogGroupName => Str
112  
113 The name of the flow log group.
114  
115  
116 =head2 MaxAggregationInterval => Int
117  
118 The maximum interval of time, in seconds, during which a flow of
119 packets is captured and aggregated into a flow log record.
120  
121 When a network interface is attached to a Nitro-based instance
122 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances),
123 the aggregation interval is always 60 seconds (1 minute) or less,
124 regardless of the specified value.
125  
126 Valid Values: C<60> | C<600>
127  
128  
129 =head2 ResourceId => Str
130  
131 The ID of the resource on which the flow log was created.
132  
133  
134 =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
135  
136 The tags for the flow log.
137  
138  
139 =head2 TrafficType => Str
140  
141 The type of traffic captured for the flow log.
142  
143  
144  
145 =head1 SEE ALSO
146  
147 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
148  
149 =head1 BUGS and CONTRIBUTIONS
150  
151 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
152  
153 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
154  
155 =cut