post_agent_profile
¶
post_agent_profile(
profiling_group_name: ProfilingGroupName,
agent_profile: AgentProfile,
content_type: str,
*,
config_overrides: Optional[CodeGuruProfilerClientConfig] = None,
profile_token: Optional[ClientToken] = None,
) -> PostAgentProfileResponse
Submits profiling data to an aggregated profile of a profiling group. To get an aggregated profile that is created with this profiling data, use GetProfile .
Parameters:
-
profiling_group_name(ProfilingGroupName) –The name of the profiling group with the aggregated profile that receives the submitted profiling data.
-
agent_profile(AgentProfile) –The submitted profiling data.
-
profile_token(Optional[ClientToken], default:None) –Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.
-
content_type(str) –The format of the submitted profiling data. The format maps to the
AcceptandContent-Typeheaders of the HTTP request. You can specify one of the following: or the default .-
application/json— standard JSON format -
application/x-amzn-ion— the Amazon Ion data format. For more information, see Amazon Ion.
-
Raises:
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource specified in the request does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.