Skip to content

/AWS1/CL_SDY=>TAGRESOURCE()

About TagResource

Adds one or more tags to the specified resource.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/SDYAMAZONRESOURCENAME /AWS1/SDYAMAZONRESOURCENAME

The Amazon Resource Name (ARN) of the resource that you want to retrieve tags for.

IT_TAGS TYPE /AWS1/CL_SDYTAG=>TT_TAGLIST TT_TAGLIST

The tags to add to the specified resource. Specifying the tag key is required. You can set the value of a tag to an empty string, but you can't set the value of a tag to null.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SDYTAGRESOURCERSP /AWS1/CL_SDYTAGRESOURCERSP