Skip to content

/AWS1/CL_SSM=>LISTTAGSFORRESOURCE()

About ListTagsForResource

Returns a list of the tags assigned to the specified resource.

For information about the ID format for each supported resource type, see AddTagsToResource.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCETYPE TYPE /AWS1/SSMRESOURCETYPEFORTAG /AWS1/SSMRESOURCETYPEFORTAG

Returns a list of tags for a specific resource type.

IV_RESOURCEID TYPE /AWS1/SSMRESOURCEID /AWS1/SSMRESOURCEID

The resource ID for which you want to see a list of tags.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMLSTTGSFORRESRCRSLT /AWS1/CL_SSMLSTTGSFORRESRCRSLT