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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ