Amazon QLDB Session
amazonaws · Cloud
The transactional data APIs for Amazon QLDB Instead of interacting directly with this API, we recommend using the QLDB driver or the QLDB shell to execute data transactions on a ledger. If you are working with an AWS SDK, use the QLDB driver. The driver provides a high-level abstraction layer above this QLDB Session data plane and manages SendCommand API calls for you. For information and a list of supported programming languages, see <a href
Authentication
Sample Requests
Sends a command to an Amazon QLDB ledger. Instead of interacting directly with this API, we recommend using the QLDB driver or the QLDB shell to execute data transactions on a ledger. If you are working with an AWS SDK, use the QLDB driver. The driver provides a hig
Hover any highlighted part to learn what it does
| X-Amz-Target | QLDBSession.SendCommand |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/qldb-session/2019-07-11/#X-Amz-Target=QLDBSession.SendCommand" \ -H "X-Amz-Target: QLDBSession.SendCommand"
import requests
headers = {
"X-Amz-Target": "QLDBSession.SendCommand"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/qldb-session/2019-07-11/#X-Amz-Target=QLDBSession.SendCommand",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/qldb-session/2019-07-11/#X-Amz-Target=QLDBSession.SendCommand';
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'QLDBSession.SendCommand'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/qldb-session/2019-07-11/#X-Amz-Target=QLDBSession.SendCommand"
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "QLDBSession.SendCommand")
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/qldb-session/2019-07-11/#X-Amz-Target=QLDBSession.SendCommand")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "QLDBSession.SendCommand"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/qldb-session/2019-07-11/#X-Amz-Target=QLDBSession.SendCommand";
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: QLDBSession.SendCommand"
]),
]];
$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 QLDB Session?
Amazon QLDB Session 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 QLDB Session 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?