/AWS1/IF_TCE=>UNTAGRESOURCE()¶
About UntagResource¶
Removes one or more tags from the specified Amazon Web Services Agent Registry resource. The operation removes only the tags whose keys you supply; other tags on the resource remain unchanged.
Method Signature¶
METHODS /AWS1/IF_TCE~UNTAGRESOURCE
IMPORTING
!IV_RESOURCEARN TYPE /AWS1/TCERESOURCEARN OPTIONAL
!IT_TAGKEYS TYPE /AWS1/CL_TCETAGKEYLIST_W=>TT_TAGKEYLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_tceuntagresresponse
RAISING
/AWS1/CX_TCEACCESSDENIEDEX
/AWS1/CX_TCEINTERNALSERVEREX
/AWS1/CX_TCERESOURCENOTFOUNDEX
/AWS1/CX_TCETHROTTLINGEX
/AWS1/CX_TCEVLDTNEXCEPTION
/AWS1/CX_TCECLIENTEXC
/AWS1/CX_TCESERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_resourcearn TYPE /AWS1/TCERESOURCEARN /AWS1/TCERESOURCEARN¶
The Amazon Resource Name (ARN) of the resource to remove tags from. Supported resources include registries and registry records.
it_tagkeys TYPE /AWS1/CL_TCETAGKEYLIST_W=>TT_TAGKEYLIST TT_TAGKEYLIST¶
The keys of the tags to remove from the resource. Tags with keys not included in this list remain on the resource.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_tceuntagresresponse /AWS1/CL_TCEUNTAGRESRESPONSE¶
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->untagresource(
it_tagkeys = VALUE /aws1/cl_tcetagkeylist_w=>tt_tagkeylist(
( new /aws1/cl_tcetagkeylist_w( |string| ) )
)
iv_resourcearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.