Skip to content

/AWS1/CL_GUR=>TAGRESOURCE()

About TagResource

Adds one or more tags to an associated repository.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/GURASSOCIATIONARN /AWS1/GURASSOCIATIONARN

The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.

IT_TAGS TYPE /AWS1/CL_GURTAGMAP_W=>TT_TAGMAP TT_TAGMAP

An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

  • A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive.

  • An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GURTAGRESOURCERSP /AWS1/CL_GURTAGRESOURCERSP