/AWS1/CL_GUP=>POSTAGENTPROFILE()
¶
About PostAgentProfile¶
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
.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_profilinggroupname
TYPE /AWS1/GUPPROFILINGGROUPNAME
/AWS1/GUPPROFILINGGROUPNAME
¶
The name of the profiling group with the aggregated profile that receives the submitted profiling data.
iv_agentprofile
TYPE /AWS1/GUPAGENTPROFILE
/AWS1/GUPAGENTPROFILE
¶
The submitted profiling data.
iv_contenttype
TYPE /AWS1/GUPSTRING
/AWS1/GUPSTRING
¶
The format of the submitted profiling data. The format maps to the
Accept
andContent-Type
headers 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.
Optional arguments:¶
iv_profiletoken
TYPE /AWS1/GUPCLIENTTOKEN
/AWS1/GUPCLIENTTOKEN
¶
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_guppostagentpflrsp
/AWS1/CL_GUPPOSTAGENTPFLRSP
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_gup~postagentprofile(
iv_agentprofile = '5347567362473873563239796247513D'
iv_contenttype = |string|
iv_profiletoken = |string|
iv_profilinggroupname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.