AWS CloudHSM V2
amazonaws · Cloud
For more information about AWS CloudHSM, see AWS CloudHSM and the AWS CloudHSM User Guide .
Authentication
Sample Requests
Gets information about backups of AWS CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subseq
Hover any highlighted part to learn what it does
| X-Amz-Target | BaldrApiService.DescribeBackups |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeBackups?NextToken=example&MaxResults=example" \ -H "X-Amz-Target: BaldrApiService.DescribeBackups"
import requests
params = {
"NextToken": "example",
"MaxResults": "example"
}
headers = {
"X-Amz-Target": "BaldrApiService.DescribeBackups"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeBackups",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeBackups');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'BaldrApiService.DescribeBackups'
},
});
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/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeBackups")
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", "BaldrApiService.DescribeBackups")
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/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeBackups")
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"] = "BaldrApiService.DescribeBackups"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeBackups?" . http_build_query([
"NextToken" => "example",
"MaxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: BaldrApiService.DescribeBackups"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Gets information about AWS CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent <cod
Hover any highlighted part to learn what it does
| X-Amz-Target | BaldrApiService.DescribeClusters |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeClusters?NextToken=example&MaxResults=example" \ -H "X-Amz-Target: BaldrApiService.DescribeClusters"
import requests
params = {
"NextToken": "example",
"MaxResults": "example"
}
headers = {
"X-Amz-Target": "BaldrApiService.DescribeClusters"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeClusters",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeClusters');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'BaldrApiService.DescribeClusters'
},
});
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/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeClusters")
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", "BaldrApiService.DescribeClusters")
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/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeClusters")
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"] = "BaldrApiService.DescribeClusters"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.DescribeClusters?" . http_build_query([
"NextToken" => "example",
"MaxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: BaldrApiService.DescribeClusters"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Gets a list of tags for the specified AWS CloudHSM cluster. This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequen
Hover any highlighted part to learn what it does
| X-Amz-Target | BaldrApiService.ListTags |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.ListTags?NextToken=example&MaxResults=example" \ -H "X-Amz-Target: BaldrApiService.ListTags"
import requests
params = {
"NextToken": "example",
"MaxResults": "example"
}
headers = {
"X-Amz-Target": "BaldrApiService.ListTags"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.ListTags",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.ListTags');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'BaldrApiService.ListTags'
},
});
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/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.ListTags")
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", "BaldrApiService.ListTags")
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/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.ListTags")
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"] = "BaldrApiService.ListTags"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/cloudhsmv2/2017-04-28/#X-Amz-Target=BaldrApiService.ListTags?" . http_build_query([
"NextToken" => "example",
"MaxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: BaldrApiService.ListTags"
]),
]];
$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 AWS CloudHSM V2?
AWS CloudHSM V2 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. AWS CloudHSM V2 is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide