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 scrapers, 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, scraper, or rule groups namespace resource.

RETURNING

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

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC