Skip to content

/AWS1/CL_SCA=>TAGRESOURCE()

About TagResource

Assigns one or more tags (key-value pairs) to the specified resource.

Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.

This operation returns an empty response if the call was successful.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/SCAARN /AWS1/SCAARN

The Amazon resource name (ARN) that specifies the resource.

IT_TAGS TYPE /AWS1/CL_SCATAGS_W=>TT_TAGS TT_TAGS

The new or modified tags for the resource.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SCATAGRESOURCERSP /AWS1/CL_SCATAGRESOURCERSP