AWS Batch
amazonaws · Cloud
Batch Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently prov
Authentication
Sample Requests
Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/tags/{resourceArn}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/tags/{resourceArn}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/tags/{resourceArn}';
const response = await fetch(url);
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/batch/2016-08-10/v1/tags/{resourceArn}"
req, _ := http.NewRequest("GET", targetURL, nil)
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/batch/2016-08-10/v1/tags/{resourceArn}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/tags/{resourceArn}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Describes one or more of your compute environments. If you're using an unmanaged compute environment, you can use the DescribeComputeEnvironment operation to determine the ecsClusterArn that you launch your Amazon ECS container instances into.
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/describecomputeenvironments?nextToken=example&maxResults=example"
import requests
params = {
"nextToken": "example",
"maxResults": "example"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/describecomputeenvironments",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/describecomputeenvironments');
url.searchParams.set('nextToken', 'example');
url.searchParams.set('maxResults', 'example');
const response = await fetch(url, {
method: 'POST',
});
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/batch/2016-08-10/v1/describecomputeenvironments")
q := baseURL.Query()
q.Set("nextToken", "example")
q.Set("maxResults", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
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/batch/2016-08-10/v1/describecomputeenvironments")
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)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/describecomputeenvironments?" . http_build_query([
"nextToken" => "example",
"maxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Describes a list of job definitions. You can specify a status (such as ACTIVE ) to only return job definitions that match that status.
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/describejobdefinitions?nextToken=example&maxResults=example"
import requests
params = {
"nextToken": "example",
"maxResults": "example"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/describejobdefinitions",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/describejobdefinitions');
url.searchParams.set('nextToken', 'example');
url.searchParams.set('maxResults', 'example');
const response = await fetch(url, {
method: 'POST',
});
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/batch/2016-08-10/v1/describejobdefinitions")
q := baseURL.Query()
q.Set("nextToken", "example")
q.Set("maxResults", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
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/batch/2016-08-10/v1/describejobdefinitions")
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)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/batch/2016-08-10/v1/describejobdefinitions?" . http_build_query([
"nextToken" => "example",
"maxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
]];
$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 Batch?
AWS Batch 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 Batch 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?