File Coverage

blib/lib/Paws/CloudWatchLogs/LogGroup.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             package Paws::CloudWatchLogs::LogGroup;
2 1     1   540 use Moose;
  1     2   2  
  1         8  
  2         1259  
  2         7  
  2         15  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has CreationTime => (is => 'ro', isa => 'Int', request_name => 'creationTime', traits => ['NameInRequest']);
5             has LogGroupName => (is => 'ro', isa => 'Str', request_name => 'logGroupName', traits => ['NameInRequest']);
6             has MetricFilterCount => (is => 'ro', isa => 'Int', request_name => 'metricFilterCount', traits => ['NameInRequest']);
7             has RetentionInDays => (is => 'ro', isa => 'Int', request_name => 'retentionInDays', traits => ['NameInRequest']);
8             has StoredBytes => (is => 'ro', isa => 'Int', request_name => 'storedBytes', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::CloudWatchLogs::LogGroup
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::CloudWatchLogs::LogGroup object:
27              
28             $service_obj->Method(Att1 => { Arn => $value, ..., StoredBytes => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchLogs::LogGroup object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Arn
36              
37             =head1 DESCRIPTION
38              
39             Represents a log group.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Arn => Str
45              
46             The Amazon Resource Name (ARN) of the log group.
47              
48              
49             =head2 CreationTime => Int
50              
51             The creation time of the log group, expressed as the number of
52             milliseconds since Jan 1, 1970 00:00:00 UTC.
53              
54              
55             =head2 LogGroupName => Str
56              
57             The name of the log group.
58              
59              
60             =head2 MetricFilterCount => Int
61              
62             The number of metric filters.
63              
64              
65             =head2 RetentionInDays => Int
66              
67            
68              
69              
70             =head2 StoredBytes => Int
71              
72             The number of bytes stored.
73              
74              
75              
76             =head1 SEE ALSO
77              
78             This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchLogs>
79              
80             =head1 BUGS and CONTRIBUTIONS
81              
82             The source code is located here: https://github.com/pplu/aws-sdk-perl
83              
84             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
85              
86             =cut
87