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