AWS CodeDeploy
amazonaws · Cloud
CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances running in your own facility, serverless Lambda functions, or applications in an Amazon ECS service. You can deploy a nearly unlimited variety of application content, such as an updated Lambda function, updated applications in an Amazon ECS service, code, web and configuration files, executables, packages, scripts, multimedia files, and so on. CodeDeploy can deploy a
Authentication
Sample Requests
Lists information about revisions for an application.
Hover any highlighted part to learn what it does
| X-Amz-Target | CodeDeploy_20141006.ListApplicationRevisions |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplicationRevisions?nextToken=example" \ -H "X-Amz-Target: CodeDeploy_20141006.ListApplicationRevisions"
import requests
params = {
"nextToken": "example"
}
headers = {
"X-Amz-Target": "CodeDeploy_20141006.ListApplicationRevisions"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplicationRevisions",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplicationRevisions');
url.searchParams.set('nextToken', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'CodeDeploy_20141006.ListApplicationRevisions'
},
});
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/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplicationRevisions")
q := baseURL.Query()
q.Set("nextToken", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "CodeDeploy_20141006.ListApplicationRevisions")
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/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplicationRevisions")
uri.query = URI.encode_www_form({
"nextToken" => "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"] = "CodeDeploy_20141006.ListApplicationRevisions"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplicationRevisions?" . http_build_query([
"nextToken" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: CodeDeploy_20141006.ListApplicationRevisions"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Lists the applications registered with the IAM user or Amazon Web Services account.
Hover any highlighted part to learn what it does
| X-Amz-Target | CodeDeploy_20141006.ListApplications |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplications?nextToken=example" \ -H "X-Amz-Target: CodeDeploy_20141006.ListApplications"
import requests
params = {
"nextToken": "example"
}
headers = {
"X-Amz-Target": "CodeDeploy_20141006.ListApplications"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplications",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplications');
url.searchParams.set('nextToken', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'CodeDeploy_20141006.ListApplications'
},
});
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/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplications")
q := baseURL.Query()
q.Set("nextToken", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "CodeDeploy_20141006.ListApplications")
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/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplications")
uri.query = URI.encode_www_form({
"nextToken" => "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"] = "CodeDeploy_20141006.ListApplications"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListApplications?" . http_build_query([
"nextToken" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: CodeDeploy_20141006.ListApplications"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Lists the deployment configurations with the IAM user or Amazon Web Services account.
Hover any highlighted part to learn what it does
| X-Amz-Target | CodeDeploy_20141006.ListDeploymentConfigs |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListDeploymentConfigs?nextToken=example" \ -H "X-Amz-Target: CodeDeploy_20141006.ListDeploymentConfigs"
import requests
params = {
"nextToken": "example"
}
headers = {
"X-Amz-Target": "CodeDeploy_20141006.ListDeploymentConfigs"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListDeploymentConfigs",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListDeploymentConfigs');
url.searchParams.set('nextToken', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'CodeDeploy_20141006.ListDeploymentConfigs'
},
});
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/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListDeploymentConfigs")
q := baseURL.Query()
q.Set("nextToken", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "CodeDeploy_20141006.ListDeploymentConfigs")
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/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListDeploymentConfigs")
uri.query = URI.encode_www_form({
"nextToken" => "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"] = "CodeDeploy_20141006.ListDeploymentConfigs"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/#X-Amz-Target=CodeDeploy_20141006.ListDeploymentConfigs?" . http_build_query([
"nextToken" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: CodeDeploy_20141006.ListDeploymentConfigs"
]),
]];
$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 CodeDeploy?
AWS CodeDeploy 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 CodeDeploy 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?