Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data LogStream = LogStream' {}
- newLogStream :: LogStream
- logStream_creationTime :: Lens' LogStream (Maybe Natural)
- logStream_uploadSequenceToken :: Lens' LogStream (Maybe Text)
- logStream_arn :: Lens' LogStream (Maybe Text)
- logStream_firstEventTimestamp :: Lens' LogStream (Maybe Natural)
- logStream_logStreamName :: Lens' LogStream (Maybe Text)
- logStream_storedBytes :: Lens' LogStream (Maybe Natural)
- logStream_lastIngestionTime :: Lens' LogStream (Maybe Natural)
- logStream_lastEventTimestamp :: Lens' LogStream (Maybe Natural)
Documentation
Represents a log stream, which is a sequence of log events from a single emitter of logs.
See: newLogStream
smart constructor.
LogStream' | |
|
Instances
newLogStream :: LogStream Source #
Create a value of LogStream
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:LogStream'
, logStream_creationTime
- The creation time of the stream, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
$sel:uploadSequenceToken:LogStream'
, logStream_uploadSequenceToken
- The sequence token.
$sel:arn:LogStream'
, logStream_arn
- The Amazon Resource Name (ARN) of the log stream.
$sel:firstEventTimestamp:LogStream'
, logStream_firstEventTimestamp
- The time of the first event, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
$sel:logStreamName:LogStream'
, logStream_logStreamName
- The name of the log stream.
$sel:storedBytes:LogStream'
, logStream_storedBytes
- The number of bytes stored.
Important: On June 17, 2019, this parameter was deprecated for log
streams, and is always reported as zero. This change applies only to log
streams. The storedBytes
parameter for log groups is not affected.
$sel:lastIngestionTime:LogStream'
, logStream_lastIngestionTime
- The ingestion time, expressed as the number of milliseconds after Jan 1,
1970 00:00:00 UTC.
$sel:lastEventTimestamp:LogStream'
, logStream_lastEventTimestamp
- The time of the most recent log event in the log stream in CloudWatch
Logs. This number is expressed as the number of milliseconds after Jan
1, 1970 00:00:00 UTC. The lastEventTime
value updates on an eventual
consistency basis. It typically updates in less than an hour from
ingestion, but in rare situations might take longer.
logStream_creationTime :: Lens' LogStream (Maybe Natural) Source #
The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
logStream_arn :: Lens' LogStream (Maybe Text) Source #
The Amazon Resource Name (ARN) of the log stream.
logStream_firstEventTimestamp :: Lens' LogStream (Maybe Natural) Source #
The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
logStream_storedBytes :: Lens' LogStream (Maybe Natural) Source #
The number of bytes stored.
Important: On June 17, 2019, this parameter was deprecated for log
streams, and is always reported as zero. This change applies only to log
streams. The storedBytes
parameter for log groups is not affected.
logStream_lastIngestionTime :: Lens' LogStream (Maybe Natural) Source #
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
logStream_lastEventTimestamp :: Lens' LogStream (Maybe Natural) Source #
The time of the most recent log event in the log stream in CloudWatch
Logs. This number is expressed as the number of milliseconds after Jan
1, 1970 00:00:00 UTC. The lastEventTime
value updates on an eventual
consistency basis. It typically updates in less than an hour from
ingestion, but in rare situations might take longer.