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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠