Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data LogStream = LogStream' {}
- newLogStream :: LogStream
- logStream_arn :: Lens' LogStream (Maybe Text)
- logStream_creationTime :: Lens' LogStream (Maybe Natural)
- logStream_firstEventTimestamp :: Lens' LogStream (Maybe Natural)
- logStream_lastEventTimestamp :: Lens' LogStream (Maybe Natural)
- logStream_lastIngestionTime :: Lens' LogStream (Maybe Natural)
- logStream_logStreamName :: Lens' LogStream (Maybe Text)
- logStream_storedBytes :: Lens' LogStream (Maybe Natural)
- logStream_uploadSequenceToken :: Lens' LogStream (Maybe Text)
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:arn:LogStream'
, logStream_arn
- The Amazon Resource Name (ARN) of the log stream.
$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: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: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.
$sel:lastIngestionTime:LogStream'
, logStream_lastIngestionTime
- The ingestion time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
The lastIngestionTime
value updates on an
eventual consistency basis. It typically updates in less than an hour
after ingestion, but in rare situations might take longer.
$sel:logStreamName:LogStream'
, logStream_logStreamName
- The name of the log stream.
$sel:storedBytes:LogStream'
, logStream_storedBytes
- The number of bytes stored.
Important: As of June 17, 2019, this parameter is no longer
supported 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:uploadSequenceToken:LogStream'
, logStream_uploadSequenceToken
- The sequence token.
The sequence token is now ignored in PutLogEvents
actions.
PutLogEvents
actions are always accepted regardless of receiving an
invalid sequence token. You don't need to obtain uploadSequenceToken
to use a PutLogEvents
action.
logStream_arn :: Lens' LogStream (Maybe Text) Source #
The Amazon Resource Name (ARN) of the log stream.
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_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_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.
logStream_lastIngestionTime :: Lens' LogStream (Maybe Natural) Source #
The ingestion time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
The lastIngestionTime
value updates on an
eventual consistency basis. It typically updates in less than an hour
after ingestion, but in rare situations might take longer.
logStream_storedBytes :: Lens' LogStream (Maybe Natural) Source #
The number of bytes stored.
Important: As of June 17, 2019, this parameter is no longer
supported 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_uploadSequenceToken :: Lens' LogStream (Maybe Text) Source #
The sequence token.
The sequence token is now ignored in PutLogEvents
actions.
PutLogEvents
actions are always accepted regardless of receiving an
invalid sequence token. You don't need to obtain uploadSequenceToken
to use a PutLogEvents
action.