In order to upsert records in timestream, the version number of the new record should be higher than that of the existing record. But I have not been able to find a way to get the existing record's version. Version is not returned in the AWS console. It is also not returned when querying programmatically.
How can I get the current version of a record ?