Skip to content

/AWS1/CL_ATH=>TAGRESOURCE()

About TagResource

Adds one or more tags to an Athena resource. A tag is a label that you assign to a resource. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena workgroups, data catalogs, or capacity reservations by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter the resources in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/ATHAMAZONRESOURCENAME /AWS1/ATHAMAZONRESOURCENAME

Specifies the ARN of the Athena resource to which tags are to be added.

IT_TAGS TYPE /AWS1/CL_ATHTAG=>TT_TAGLIST TT_TAGLIST

A collection of one or more tags, separated by commas, to be added to an Athena resource.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ATHTAGRESOURCEOUTPUT /AWS1/CL_ATHTAGRESOURCEOUTPUT