Skip to content

/AWS1/CL_AMP=>LISTTAGSFORRESOURCE()

About ListTagsForResource

The ListTagsForResource operation returns the tags that are associated with an Amazon Managed Service for Prometheus resource. Currently, the only resources that can be tagged are workspaces and rule groups namespaces.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/AMPSTRING /AWS1/AMPSTRING

The ARN of the resource to list tages for. Must be a workspace or rule groups namespace resource.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AMPLISTTGSFORRESRCRSP /AWS1/CL_AMPLISTTGSFORRESRCRSP