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 Resposta
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
ESPECIALISTA
respondido há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas