Skip to content

Post Agent Profile

codeguruprofiler_post_agent_profile R Documentation

Submits profiling data to an aggregated profile of a profiling group

Description

Submits profiling data to an aggregated profile of a profiling group. To get an aggregated profile that is created with this profiling data, use get_profile .

Usage

codeguruprofiler_post_agent_profile(agentProfile, contentType,
  profileToken, profilingGroupName)

Arguments

agentProfile

[required] The submitted profiling data.

contentType

[required] The format of the submitted profiling data. The format maps to the Accept and Content-Type headers of the HTTP request. You can specify one of the following: or the default .

 <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
profileToken

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

profilingGroupName

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

Value

An empty list.

Request syntax

svc$post_agent_profile(
  agentProfile = raw,
  contentType = "string",
  profileToken = "string",
  profilingGroupName = "string"
)