AWSLogsLogStream
Objective-C
@interface AWSLogsLogStream
Swift
class AWSLogsLogStream
Represents a log stream, which is a sequence of log events from a single emitter of logs.
-
The Amazon Resource Name (ARN) of the log stream.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable arn;
Swift
var arn: String? { get set }
-
The creation time of the stream, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable creationTime;
Swift
var creationTime: NSNumber? { get set }
-
The time of the first event, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable firstEventTimestamp;
Swift
var firstEventTimestamp: NSNumber? { get set }
-
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
. ThelastEventTime
value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable lastEventTimestamp;
Swift
var lastEventTimestamp: NSNumber? { get set }
-
The ingestion time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
ThelastIngestionTime
value updates on an eventual consistency basis. It typically updates in less than an hour after ingestion, but in rare situations might take longer.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable lastIngestionTime;
Swift
var lastIngestionTime: NSNumber? { get set }
-
The name of the log stream.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable logStreamName;
Swift
var logStreamName: String? { get set }
-
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.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable storedBytes;
Swift
var storedBytes: NSNumber? { get set }
-
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 obtainuploadSequenceToken
to use aPutLogEvents
action.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable uploadSequenceToken;
Swift
var uploadSequenceToken: String? { get set }