Earlier was getting access denied for describeLogStreams and after adding the necessary policy got that fixed but now there is response but uploadSequenceToken (and nextToken) are empty.
AWSLogs.default().describeLogStreams(req!) { (response, error) in
if ((error) != nil) {
Logging.logError("ERROR: AWS CW describe Log Stream error: \(String(describing: error))")
} else {
self.nextSequenceToken = response?.logStreams?.first?.uploadSequenceToken
// ^^^^^ above value is nil
}
Any idea?
The log stream looks empty. Maybe there is none for now.