Amazon CodeGuru Profiler
amazonaws · Cloud
This section provides documentation for the Amazon CodeGuru Profiler API operations. Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides recommendations that can help you fine-tune your application performance. Using machine learning algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can improve efficiency and remove CPU bottlenecks. Amazon CodeGuru Profiler provides differe
Authentication
Sample Requests
Returns a list of profiling groups. The profiling groups are returned as ProfilingGroupDescription objects.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/codeguruprofiler/2019-07-18/profilingGroups?nextToken=example&maxResults=1&includeDescription=true"
import requests
params = {
"nextToken": "example",
"maxResults": "1",
"includeDescription": "true"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/codeguruprofiler/2019-07-18/profilingGroups",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/codeguruprofiler/2019-07-18/profilingGroups');
url.searchParams.set('nextToken', 'example');
url.searchParams.set('maxResults', '1');
url.searchParams.set('includeDescription', 'true');
const response = await fetch(url);
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/codeguruprofiler/2019-07-18/profilingGroups")
q := baseURL.Query()
q.Set("nextToken", "example")
q.Set("maxResults", "1")
q.Set("includeDescription", "true")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
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/codeguruprofiler/2019-07-18/profilingGroups")
uri.query = URI.encode_www_form({
"nextToken" => "example",
"maxResults" => "1",
"includeDescription" => "true"
})
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/codeguruprofiler/2019-07-18/profilingGroups?" . http_build_query([
"nextToken" => "example",
"maxResults" => "1",
"includeDescription" => "true"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns a list of FindingsReportSummary objects that contain analysis results for all profiling groups in your AWS account.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/codeguruprofiler/2019-07-18/internal/findingsReports?nextToken=example&maxResults=1&dailyReportsOnly=true"
import requests
params = {
"nextToken": "example",
"maxResults": "1",
"dailyReportsOnly": "true"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/codeguruprofiler/2019-07-18/internal/findingsReports",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/codeguruprofiler/2019-07-18/internal/findingsReports');
url.searchParams.set('nextToken', 'example');
url.searchParams.set('maxResults', '1');
url.searchParams.set('dailyReportsOnly', 'true');
const response = await fetch(url);
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/codeguruprofiler/2019-07-18/internal/findingsReports")
q := baseURL.Query()
q.Set("nextToken", "example")
q.Set("maxResults", "1")
q.Set("dailyReportsOnly", "true")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
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/codeguruprofiler/2019-07-18/internal/findingsReports")
uri.query = URI.encode_www_form({
"nextToken" => "example",
"maxResults" => "1",
"dailyReportsOnly" => "true"
})
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/codeguruprofiler/2019-07-18/internal/findingsReports?" . http_build_query([
"nextToken" => "example",
"maxResults" => "1",
"dailyReportsOnly" => "true"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Gets the aggregated profile of a profiling group for a specified time range. Amazon CodeGuru Profiler collects posted agent profiles for a profiling group into aggregated profiles. Because aggregated profiles expire over time GetProfile</cod
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/codeguruprofiler/2019-07-18/profilingGroups/{profilingGroupName}/profile?period=example&endTime=example&maxDepth=1&startTime=example"import requests
params = {
"period": "example",
"endTime": "example",
"maxDepth": "1",
"startTime": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/codeguruprofiler/2019-07-18/profilingGroups/{profilingGroupName}/profile",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/codeguruprofiler/2019-07-18/profilingGroups/{profilingGroupName}/profile');
url.searchParams.set('period', 'example');
url.searchParams.set('endTime', 'example');
url.searchParams.set('maxDepth', '1');
url.searchParams.set('startTime', 'example');
const response = await fetch(url);
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/codeguruprofiler/2019-07-18/profilingGroups/{profilingGroupName}/profile")
q := baseURL.Query()
q.Set("period", "example")
q.Set("endTime", "example")
q.Set("maxDepth", "1")
q.Set("startTime", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
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/codeguruprofiler/2019-07-18/profilingGroups/{profilingGroupName}/profile")
uri.query = URI.encode_www_form({
"period" => "example",
"endTime" => "example",
"maxDepth" => "1",
"startTime" => "example"
})
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/codeguruprofiler/2019-07-18/profilingGroups/{profilingGroupName}/profile?" . http_build_query([
"period" => "example",
"endTime" => "example",
"maxDepth" => "1",
"startTime" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$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 CodeGuru Profiler?
Amazon CodeGuru Profiler 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 CodeGuru Profiler 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?