/AWS1/CL_GUP=>CREATEPROFILINGGROUP()
¶
About CreateProfilingGroup¶
Creates a profiling group.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_profilinggroupname
TYPE /AWS1/GUPPROFILINGGROUPNAME
/AWS1/GUPPROFILINGGROUPNAME
¶
The name of the profiling group to create.
iv_clienttoken
TYPE /AWS1/GUPCLIENTTOKEN
/AWS1/GUPCLIENTTOKEN
¶
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
Optional arguments:¶
iv_computeplatform
TYPE /AWS1/GUPCOMPUTEPLATFORM
/AWS1/GUPCOMPUTEPLATFORM
¶
The compute platform of the profiling group. Use
AWSLambda
if your application runs on AWS Lambda. UseDefault
if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified,Default
is used.
io_agentorchestrationconfig
TYPE REF TO /AWS1/CL_GUPAGENTORCHESTRATI00
/AWS1/CL_GUPAGENTORCHESTRATI00
¶
Specifies whether profiling is enabled or disabled for the created profiling group.
it_tags
TYPE /AWS1/CL_GUPTAGSMAP_W=>TT_TAGSMAP
TT_TAGSMAP
¶
A list of tags to add to the created profiling group.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_gupcreprofilinggrprsp
/AWS1/CL_GUPCREPROFILINGGRPRSP
¶
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~createprofilinggroup(
io_agentorchestrationconfig = new /aws1/cl_gupagentorchestrati00( ABAP_TRUE )
it_tags = VALUE /aws1/cl_guptagsmap_w=>tt_tagsmap(
(
VALUE /aws1/cl_guptagsmap_w=>ts_tagsmap_maprow(
key = |string|
value = new /aws1/cl_guptagsmap_w( |string| )
)
)
)
iv_clienttoken = |string|
iv_computeplatform = |string|
iv_profilinggroupname = |string|
).
This is an example of reading all possible response values
lv_profilinggroupname = lo_profilinggroupdescripti->get_name( ).
lv_boolean = lo_agentorchestrationconfi->get_profilingenabled( ).
lv_profilinggrouparn = lo_profilinggroupdescripti->get_arn( ).
lv_timestamp = lo_profilinggroupdescripti->get_createdat( ).
lv_timestamp = lo_profilinggroupdescripti->get_updatedat( ).
lv_timestamp = lo_profilingstatus->get_latestagentpflreportedat( ).
lv_timestamp = lo_aggregatedprofiletime->get_start( ).
lv_aggregationperiod = lo_aggregatedprofiletime->get_period( ).
lv_timestamp = lo_profilingstatus->get_latstagentorchestratedat( ).
lv_computeplatform = lo_profilinggroupdescripti->get_computeplatform( ).
LOOP AT lo_profilinggroupdescripti->get_tags( ) into ls_row.
lv_key = ls_row-key.
lv_string = lo_value->get_value( ).
ENDLOOP.