Skip to content

/AWS1/CL_MD2=>TAGRESOURCE()

About TagResource

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

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values. You can use the TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/MD2TAGARN /AWS1/MD2TAGARN

The ARN of the MediaPackage resource that you're adding tags to.

IT_TAGS TYPE /AWS1/CL_MD2TAGMAP_W=>TT_TAGMAP TT_TAGMAP

Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.