Skip to content

/AWS1/CL_TRN=>LISTTAGSFORRESOURCE()

About ListTagsForResource

Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.

Method Signature

IMPORTING

Required arguments:

IV_ARN TYPE /AWS1/TRNARN

Requests the tags associated with a particular Amazon Resource Name (ARN). An ARN is an identifier for a specific Amazon Web Services resource, such as a server, user, or role.

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/TRNMAXRESULTS

Specifies the number of tags to return as a response to the ListTagsForResource request.

IV_NEXTTOKEN TYPE /AWS1/TRNNEXTTOKEN

When you request additional results from the ListTagsForResource operation, a NextToken parameter is returned in the input. You can then pass in a subsequent command to the NextToken parameter to continue listing additional tags.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_TRNLISTTGSFORRESRCRSP