/AWS1/IF_CWO=>TAGRESOURCE()¶
About TagResource¶
Adds or updates tags for a telemetry rule resource.
Method Signature¶
METHODS /AWS1/IF_CWO~TAGRESOURCE
IMPORTING
!IV_RESOURCEARN TYPE /AWS1/CWORESOURCEARN OPTIONAL
!IT_TAGS TYPE /AWS1/CL_CWOTAGMAPINPUT_W=>TT_TAGMAPINPUT OPTIONAL
RAISING
/AWS1/CX_CWOACCESSDENIEDEX
/AWS1/CX_CWOINTERNALSERVEREX
/AWS1/CX_CWORESOURCENOTFOUNDEX
/AWS1/CX_CWOSERVICEQUOTAEXCDEX
/AWS1/CX_CWOTOOMANYREQUESTSEX
/AWS1/CX_CWOVALIDATIONEX
/AWS1/CX_CWOCLIENTEXC
/AWS1/CX_CWOSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_resourcearn TYPE /AWS1/CWORESOURCEARN /AWS1/CWORESOURCEARN¶
The Amazon Resource Name (ARN) of the telemetry rule resource to tag.
it_tags TYPE /AWS1/CL_CWOTAGMAPINPUT_W=>TT_TAGMAPINPUT TT_TAGMAPINPUT¶
The key-value pairs to add or update for the telemetry rule resource.
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.
lo_client->tagresource(
it_tags = VALUE /aws1/cl_cwotagmapinput_w=>tt_tagmapinput(
(
VALUE /aws1/cl_cwotagmapinput_w=>ts_tagmapinput_maprow(
value = new /aws1/cl_cwotagmapinput_w( |string| )
key = |string|
)
)
)
iv_resourcearn = |string|
).