AWS CodeStar
amazonaws · Cloud
AWS CodeStar This is the API reference for AWS CodeStar. This reference provides descriptions of the operations and data types for the AWS CodeStar API along with usage examples. You can use the AWS CodeStar API to work with: Projects and their resources, by calling the following: DeleteProject , which deletes a project. DescribeProject , which lists the attributes of a project.
Authentication
Sample Requests
Adds an IAM user to the team for an AWS CodeStar project.
Hover any highlighted part to learn what it does
| X-Amz-Target | CodeStar_20170419.AssociateTeamMember |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.AssociateTeamMember" \ -H "X-Amz-Target: CodeStar_20170419.AssociateTeamMember"
import requests
headers = {
"X-Amz-Target": "CodeStar_20170419.AssociateTeamMember"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.AssociateTeamMember",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.AssociateTeamMember';
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'CodeStar_20170419.AssociateTeamMember'
},
});
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/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.AssociateTeamMember"
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "CodeStar_20170419.AssociateTeamMember")
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/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.AssociateTeamMember")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "CodeStar_20170419.AssociateTeamMember"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.AssociateTeamMember";
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: CodeStar_20170419.AssociateTeamMember"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Creates a project, including project resources. This action creates a project based on a submitted project request. A set of source code files and a toolchain template file can be included with the project request. If these are not provided, an empty project is created.
Hover any highlighted part to learn what it does
| X-Amz-Target | CodeStar_20170419.CreateProject |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateProject" \ -H "X-Amz-Target: CodeStar_20170419.CreateProject"
import requests
headers = {
"X-Amz-Target": "CodeStar_20170419.CreateProject"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateProject",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateProject';
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'CodeStar_20170419.CreateProject'
},
});
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/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateProject"
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "CodeStar_20170419.CreateProject")
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/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateProject")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "CodeStar_20170419.CreateProject"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateProject";
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: CodeStar_20170419.CreateProject"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Creates a profile for a user that includes user preferences, such as the display name and email address assocciated with the user, in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS Cod
Hover any highlighted part to learn what it does
| X-Amz-Target | CodeStar_20170419.CreateUserProfile |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateUserProfile" \ -H "X-Amz-Target: CodeStar_20170419.CreateUserProfile"
import requests
headers = {
"X-Amz-Target": "CodeStar_20170419.CreateUserProfile"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateUserProfile",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateUserProfile';
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'CodeStar_20170419.CreateUserProfile'
},
});
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/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateUserProfile"
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "CodeStar_20170419.CreateUserProfile")
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/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateUserProfile")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "CodeStar_20170419.CreateUserProfile"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/codestar/2017-04-19/#X-Amz-Target=CodeStar_20170419.CreateUserProfile";
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: CodeStar_20170419.CreateUserProfile"
]),
]];
$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 CodeStar?
AWS CodeStar 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 CodeStar 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?