v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1423128111.3 KB

Submits profiling data to an aggregated profile of a profiling group. To get an aggregated profile that is created with this profiling data, use <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_GetProfile.html"> <code>GetProfile</code> </a>.

post/profilingGroups/{profilingGroupName}/agentProfile#Content-Type

Path parameters

profilingGroupNamestring required

The name of the profiling group with the aggregated profile that receives the submitted profiling data.

Query parameters

profileTokenstring

Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.

Headers

Content-Typestring required
<p> The format of the submitted profiling data. The format maps to the <code>Accept</code> and <code>Content-Type</code> headers of the HTTP request. You can specify one of the following: or the default . </p> <pre><code> &lt;ul&gt; &lt;li&gt; &lt;p&gt; &lt;code&gt;application/json&lt;/code&gt; — standard JSON format &lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt; &lt;code&gt;application/x-amzn-ion&lt;/code&gt; — the Amazon Ion data format. For more information, see &lt;a href=&quot;http://amzn.github.io/ion-docs/&quot;&gt;Amazon Ion&lt;/a&gt;. &lt;/p&gt; &lt;/li&gt; &lt;/ul&gt; </code></pre>

Request body

agentProfilestring required

The submitted profiling data.

Response

Success

PostAgentProfileResponse required

The structure representing the postAgentProfileResponse.