AWS Timestream - Delete/Mutate record

0

I'm using boto3/python to try and update a record via 'write_records(...)'. In response I get 'A record already exists with the same time, dimensions, and measure name. Updating measure value is not supported.' There is no boto3 api to delete or update a record.

Is there anyway to either delete a record or mutate a record? I'm storing user data and would like to delete user data upon a GDPR request.

I get the feeling that a record is immutable by design however the documentation doesn't say it is, at least that I could find.

Edited by: Whale on Oct 8, 2020 10:36 PM

Whale
已提问 4 年前2161 查看次数
3 回答
0

In this video(Getting started with Amazon Timestream) they say you can only append to the table https://aws.amazon.com/timestream/getting-started/?nc=sn&loc=4
Also, abstract from docs https://docs.aws.amazon.com/timestream/latest/developerguide/API_WriteRecords.html :
"RejectedRecordsException
WriteRecords would throw this exception in the following cases:

  • Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but different measure values."
katoo
已回答 4 年前
0

Thanks for reaching out. Amazon Timestream currently does not support deleting and updating of existing records. We will add this feature asks to our list of feature requests.

Thanks for your interest and support for Amazon Timestream.

AWS
已回答 4 年前
0

As of 11/24 Amazon Timestream supports the ability to upsert records. Please see https://docs.aws.amazon.com/timestream/latest/developerguide/getting-started.java-v1.code-samples.write-to-table.html for details.

AWS
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则