« blib/lib/Paws/CloudWatchLogs/LogGroup.pm
↑ Summary
blib/lib/Paws/CloudWatchLogs/OutputLogEvent.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CloudWatchLogs::LogStream; | ||
| 3 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']); | |
| 5 | 2 | has CreationTime => (is => 'ro', isa => 'Int', request_name => 'creationTime', traits => ['NameInRequest']); | |
| 6 | 2 | has FirstEventTimestamp => (is => 'ro', isa => 'Int', request_name => 'firstEventTimestamp', traits => ['NameInRequest']); | |
| 7 | 2 | has LastEventTimestamp => (is => 'ro', isa => 'Int', request_name => 'lastEventTimestamp', traits => ['NameInRequest']); | |
| 8 | 2 | has LastIngestionTime => (is => 'ro', isa => 'Int', request_name => 'lastIngestionTime', traits => ['NameInRequest']); | |
| 9 | 2 | has LogStreamName => (is => 'ro', isa => 'Str', request_name => 'logStreamName', traits => ['NameInRequest']); | |
| 10 | 2 | has StoredBytes => (is => 'ro', isa => 'Int', request_name => 'storedBytes', traits => ['NameInRequest']); | |
| 11 | 2 | has UploadSequenceToken => (is => 'ro', isa => 'Str', request_name => 'uploadSequenceToken', traits => ['NameInRequest']); | |
| 12 | |||
| 13 | 2 | 1; | |
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::CloudWatchLogs::LogStream | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::CloudWatchLogs::LogStream object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { Arn => $value, ..., UploadSequenceToken => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchLogs::LogStream object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->Arn | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Represents a log stream, which is a sequence of log events from a | ||
| 44 | single emitter of logs. | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 Arn => Str | ||
| 50 | |||
| 51 | The Amazon Resource Name (ARN) of the log stream. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 CreationTime => Int | ||
| 55 | |||
| 56 | The creation time of the stream, expressed as the number of | ||
| 57 | milliseconds after Jan 1, 1970 00:00:00 UTC. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 FirstEventTimestamp => Int | ||
| 61 | |||
| 62 | The time of the first event, expressed as the number of milliseconds | ||
| 63 | after Jan 1, 1970 00:00:00 UTC. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 LastEventTimestamp => Int | ||
| 67 | |||
| 68 | The time of the most recent log event in the log stream in CloudWatch | ||
| 69 | Logs. This number is expressed as the number of milliseconds after Jan | ||
| 70 | 1, 1970 00:00:00 UTC. The C<lastEventTime> value updates on an eventual | ||
| 71 | consistency basis. It typically updates in less than an hour from | ||
| 72 | ingestion, but in rare situations might take longer. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 LastIngestionTime => Int | ||
| 76 | |||
| 77 | The ingestion time, expressed as the number of milliseconds after Jan | ||
| 78 | 1, 1970 00:00:00 UTC. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 LogStreamName => Str | ||
| 82 | |||
| 83 | The name of the log stream. | ||
| 84 | |||
| 85 | |||
| 86 | =head2 StoredBytes => Int | ||
| 87 | |||
| 88 | The number of bytes stored. | ||
| 89 | |||
| 90 | B<Important:> On June 17, 2019, this parameter was deprecated for log | ||
| 91 | streams, and is always reported as zero. This change applies only to | ||
| 92 | log streams. The C<storedBytes> parameter for log groups is not | ||
| 93 | affected. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 UploadSequenceToken => Str | ||
| 97 | |||
| 98 | The sequence token. | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head1 SEE ALSO | ||
| 103 | |||
| 104 | This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchLogs> | ||
| 105 | |||
| 106 | =head1 BUGS and CONTRIBUTIONS | ||
| 107 | |||
| 108 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 109 | |||
| 110 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 111 | |||
| 112 | =cut | ||
| 113 | |||