Amazon Timestream Write
amazonaws · Cloud
Amazon Timestream Write Amazon Timestream is a fast, scalable, fully managed time-series database service that makes it easy to store and analyze trillions of time-series data points per day. With Timestream, you can easily store and analyze IoT sensor data to derive insights from your IoT applications. You can analyze industrial telemetry to streamline equipment management and maintenance. You can also store and analyze log data and metrics to improve the performance and
Authentication
Sample Requests
Provides a list of batch load tasks, along with the name, status, when the task is resumable until, and other details. See code sample for details.
Hover any highlighted part to learn what it does
| X-Amz-Target | Timestream_20181101.ListBatchLoadTasks |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListBatchLoadTasks?NextToken=example&MaxResults=example" \ -H "X-Amz-Target: Timestream_20181101.ListBatchLoadTasks"
import requests
params = {
"NextToken": "example",
"MaxResults": "example"
}
headers = {
"X-Amz-Target": "Timestream_20181101.ListBatchLoadTasks"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListBatchLoadTasks",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListBatchLoadTasks');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'Timestream_20181101.ListBatchLoadTasks'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListBatchLoadTasks")
q := baseURL.Query()
q.Set("NextToken", "example")
q.Set("MaxResults", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "Timestream_20181101.ListBatchLoadTasks")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListBatchLoadTasks")
uri.query = URI.encode_www_form({
"NextToken" => "example",
"MaxResults" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "Timestream_20181101.ListBatchLoadTasks"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListBatchLoadTasks?" . http_build_query([
"NextToken" => "example",
"MaxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: Timestream_20181101.ListBatchLoadTasks"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns a list of your Timestream databases. Service quotas apply . See code sample for details.
Hover any highlighted part to learn what it does
| X-Amz-Target | Timestream_20181101.ListDatabases |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListDatabases?NextToken=example&MaxResults=example" \ -H "X-Amz-Target: Timestream_20181101.ListDatabases"
import requests
params = {
"NextToken": "example",
"MaxResults": "example"
}
headers = {
"X-Amz-Target": "Timestream_20181101.ListDatabases"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListDatabases",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListDatabases');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'Timestream_20181101.ListDatabases'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListDatabases")
q := baseURL.Query()
q.Set("NextToken", "example")
q.Set("MaxResults", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "Timestream_20181101.ListDatabases")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListDatabases")
uri.query = URI.encode_www_form({
"NextToken" => "example",
"MaxResults" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "Timestream_20181101.ListDatabases"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListDatabases?" . http_build_query([
"NextToken" => "example",
"MaxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: Timestream_20181101.ListDatabases"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Provides a list of tables, along with the name, status, and retention properties of each table. See code sample for details.
Hover any highlighted part to learn what it does
| X-Amz-Target | Timestream_20181101.ListTables |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListTables?NextToken=example&MaxResults=example" \ -H "X-Amz-Target: Timestream_20181101.ListTables"
import requests
params = {
"NextToken": "example",
"MaxResults": "example"
}
headers = {
"X-Amz-Target": "Timestream_20181101.ListTables"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListTables",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListTables');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'Timestream_20181101.ListTables'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListTables")
q := baseURL.Query()
q.Set("NextToken", "example")
q.Set("MaxResults", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "Timestream_20181101.ListTables")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListTables")
uri.query = URI.encode_www_form({
"NextToken" => "example",
"MaxResults" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "Timestream_20181101.ListTables"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/timestream-write/2018-11-01/#X-Amz-Target=Timestream_20181101.ListTables?" . http_build_query([
"NextToken" => "example",
"MaxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: Timestream_20181101.ListTables"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Amazon Timestream Write?
Amazon Timestream Write is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Amazon Timestream Write is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?