File Coverage

blib/lib/Paws/CloudWatchLogs/LogStream.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::LogStream;
2 1     1   443 use Moose;
  1     2   2  
  1         6  
  2         923  
  2         4  
  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 FirstEventTimestamp => (is => 'ro', isa => 'Int', request_name => 'firstEventTimestamp', traits => ['NameInRequest']);
6             has LastEventTimestamp => (is => 'ro', isa => 'Int', request_name => 'lastEventTimestamp', traits => ['NameInRequest']);
7             has LastIngestionTime => (is => 'ro', isa => 'Int', request_name => 'lastIngestionTime', traits => ['NameInRequest']);
8             has LogStreamName => (is => 'ro', isa => 'Str', request_name => 'logStreamName', traits => ['NameInRequest']);
9             has StoredBytes => (is => 'ro', isa => 'Int', request_name => 'storedBytes', traits => ['NameInRequest']);
10             has UploadSequenceToken => (is => 'ro', isa => 'Str', request_name => 'uploadSequenceToken', traits => ['NameInRequest']);
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::CloudWatchLogs::LogStream
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::CloudWatchLogs::LogStream object:
29              
30             $service_obj->Method(Att1 => { Arn => $value, ..., UploadSequenceToken => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchLogs::LogStream object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->Arn
38              
39             =head1 DESCRIPTION
40              
41             Represents a log stream, which is a sequence of log events from a
42             single emitter of logs.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 Arn => Str
48              
49             The Amazon Resource Name (ARN) of the log stream.
50              
51              
52             =head2 CreationTime => Int
53              
54             The creation time of the stream, expressed as the number of
55             milliseconds after Jan 1, 1970 00:00:00 UTC.
56              
57              
58             =head2 FirstEventTimestamp => Int
59              
60             The time of the first event, expressed as the number of milliseconds
61             after Jan 1, 1970 00:00:00 UTC.
62              
63              
64             =head2 LastEventTimestamp => Int
65              
66             the time of the most recent log event in the log stream in CloudWatch
67             Logs. This number is expressed as the number of milliseconds after Jan
68             1, 1970 00:00:00 UTC. lastEventTime updates on an eventual consistency
69             basis. It typically updates in less than an hour from ingestion, but
70             may take longer in some rare situations.
71              
72              
73             =head2 LastIngestionTime => Int
74              
75             The ingestion time, expressed as the number of milliseconds after Jan
76             1, 1970 00:00:00 UTC.
77              
78              
79             =head2 LogStreamName => Str
80              
81             The name of the log stream.
82              
83              
84             =head2 StoredBytes => Int
85              
86             The number of bytes stored.
87              
88              
89             =head2 UploadSequenceToken => Str
90              
91             The sequence token.
92              
93              
94              
95             =head1 SEE ALSO
96              
97             This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchLogs>
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