/AWS1/IF_CWL=>UNTAGRESOURCE()¶
About UntagResource¶
Removes one or more tags from the specified resource.
Method Signature¶
METHODS /AWS1/IF_CWL~UNTAGRESOURCE
IMPORTING
!IV_RESOURCEARN TYPE /AWS1/CWLAMAZONRESOURCENAME OPTIONAL
!IT_TAGKEYS TYPE /AWS1/CL_CWLTAGKEYLIST_W=>TT_TAGKEYLIST OPTIONAL
RAISING
/AWS1/CX_CWLINVALIDPARAMETEREX
/AWS1/CX_CWLRESOURCENOTFOUNDEX
/AWS1/CX_CWLSERVICEUNAVAILEX
/AWS1/CX_CWLCLIENTEXC
/AWS1/CX_CWLSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_resourcearn TYPE /AWS1/CWLAMAZONRESOURCENAME /AWS1/CWLAMAZONRESOURCENAME¶
The ARN of the CloudWatch Logs resource that you're removing tags from.
The ARN format of a log group is
arn:aws:logs:Region:account-id:log-group:log-group-nameThe ARN format of a destination is
arn:aws:logs:Region:account-id:destination:destination-nameFor more information about ARN format, see CloudWatch Logs resources and operations.
it_tagkeys TYPE /AWS1/CL_CWLTAGKEYLIST_W=>TT_TAGKEYLIST TT_TAGKEYLIST¶
The list of tag keys to remove from the 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->untagresource(
it_tagkeys = VALUE /aws1/cl_cwltagkeylist_w=>tt_tagkeylist(
( new /aws1/cl_cwltagkeylist_w( |string| ) )
)
iv_resourcearn = |string|
).