Skip to content

/AWS1/CL_RAM=>TAGRESOURCE()

About TagResource

Adds the specified tag keys and values to a resource share or managed permission. If you choose a resource share, the tags are attached to only the resource share, not to the resources that are in the resource share.

The tags on a managed permission are the same for all versions of the managed permission.

Method Signature

IMPORTING

Required arguments:

IT_TAGS TYPE /AWS1/CL_RAMTAG=>TT_TAGLIST TT_TAGLIST

A list of one or more tag key and value pairs. The tag key must be present and not be an empty string. The tag value must be present but can be an empty string.

Optional arguments:

IV_RESOURCESHAREARN TYPE /AWS1/RAMSTRING /AWS1/RAMSTRING

Specifies the Amazon Resource Name (ARN) of the resource share that you want to add tags to. You must specify either resourceShareArn, or resourceArn, but not both.

IV_RESOURCEARN TYPE /AWS1/RAMSTRING /AWS1/RAMSTRING

Specifies the Amazon Resource Name (ARN) of the managed permission that you want to add tags to. You must specify either resourceArn, or resourceShareArn, but not both.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RAMTAGRESOURCERSP /AWS1/CL_RAMTAGRESOURCERSP