/AWS1/IF_RDS=>REMOVETAGSFROMRESOURCE()¶
About RemoveTagsFromResource¶
Removes metadata tags from an Amazon RDS resource.
For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS Resources in the Amazon Aurora User Guide.
Method Signature¶
METHODS /AWS1/IF_RDS~REMOVETAGSFROMRESOURCE
IMPORTING
!IV_RESOURCENAME TYPE /AWS1/RDSSTRING OPTIONAL
!IT_TAGKEYS TYPE /AWS1/CL_RDSKEYLIST_W=>TT_KEYLIST OPTIONAL
RAISING
/AWS1/CX_RDSBLUEGREENDEPLOYM00
/AWS1/CX_RDSDBCLUSTNOTFNDFAULT
/AWS1/CX_RDSDBINSTNOTFNDFAULT
/AWS1/CX_RDSDBPROXYENDPTNOTF00
/AWS1/CX_RDSDBPROXYNOTFNDFAULT
/AWS1/CX_RDSDBPROXYTGTGRNOTF00
/AWS1/CX_RDSDBSHARDGRNOTFNDF00
/AWS1/CX_RDSDBSNAPNOTFNDFAULT
/AWS1/CX_RDSDBSNAPTENANTDATA00
/AWS1/CX_RDSINTEGRATIONNOTFN00
/AWS1/CX_RDSINVDBCLSTENDPTST00
/AWS1/CX_RDSINVDBCLSTSTATEFA00
/AWS1/CX_RDSINVDBINSTSTATEFA00
/AWS1/CX_RDSTENANTDATABASENO00
/AWS1/CX_RDSCLIENTEXC
/AWS1/CX_RDSSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_resourcename TYPE /AWS1/RDSSTRING /AWS1/RDSSTRING¶
The Amazon RDS resource that the tags are removed from. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.
it_tagkeys TYPE /AWS1/CL_RDSKEYLIST_W=>TT_KEYLIST TT_KEYLIST¶
The tag key (name) of the tag to be removed.
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->removetagsfromresource(
it_tagkeys = VALUE /aws1/cl_rdskeylist_w=>tt_keylist(
( new /aws1/cl_rdskeylist_w( |string| ) )
)
iv_resourcename = |string|
).
To remove tags from a resource¶
The following example removes tags from a resource.
lo_client->removetagsfromresource(
it_tagkeys = VALUE /aws1/cl_rdskeylist_w=>tt_keylist(
( new /aws1/cl_rdskeylist_w( |Name| ) )
( new /aws1/cl_rdskeylist_w( |Environment| ) )
)
iv_resourcename = |arn:aws:rds:us-east-1:123456789012:db:mydbinstance|
).