LogStream
¶
Source code in docs_src/capo_cloudwatch_logs/types/log_stream.py
creation_time
instance-attribute
¶
creation_time: NotRequired[Timestamp]
The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
first_event_timestamp
instance-attribute
¶
first_event_timestamp: NotRequired[Timestamp]
The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
last_event_timestamp
instance-attribute
¶
last_event_timestamp: NotRequired[Timestamp]
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.
last_ingestion_time
instance-attribute
¶
last_ingestion_time: NotRequired[Timestamp]
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.
log_stream_name
instance-attribute
¶
log_stream_name: NotRequired[LogStreamName]
The name of the log stream.
stored_bytes
instance-attribute
¶
stored_bytes: NotRequired[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.
upload_sequence_token
instance-attribute
¶
upload_sequence_token: NotRequired[SequenceToken]
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.