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 Antwort
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
EXPERTE
beantwortet vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen