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 Answer
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
EXPERT
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions