How to get aws timestream data using API in postman

0

I have connect my laptop in AWS IOT service and send the data in aws time stream using this aws tutorial: https://youtu.be/z8T4hAERuOg?si=F4QPpKBt3KNIv_2I

Now I want to get this timestream data in postman using API. How can I achieve this. Please Help

1 回答
1

To get Timestream data in Postman using the API, you can make HTTP requests to the Timestream API endpoints.

Make a GET request to the /measurements endpoint to retrieve measurements from Timestream. You will need to specify the database name, table name, and optionally filters like start/end time.

GET https://timestream.region.amazonaws.com/v1/databases/{database}/tables/{table}/measurements

The response will contain measurement data. You can further filter the results by specifying dimensions in the request.

You can also write data to Timestream using a POST request to the /records endpoint, providing the database name, table name and measurement data in the request body.

POST https://timestream.region.amazonaws.com/v1/databases/{database}/tables/{table}/records
profile picture
专家
已回答 2 个月前

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

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

回答问题的准则