Skip to content

/AWS1/CL_SGM=>LISTTAGS()

About ListTags

Returns the tags for the specified SageMaker resource.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/SGMRESOURCEARN /AWS1/SGMRESOURCEARN

The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

If the response to the previous ListTags request is truncated, SageMaker returns this token. To retrieve the next set of tags, use it in the subsequent request.

IV_MAXRESULTS TYPE /AWS1/SGMLISTTAGSMAXRESULTS /AWS1/SGMLISTTAGSMAXRESULTS

Maximum number of tags to return.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLISTTAGSOUTPUT /AWS1/CL_SGMLISTTAGSOUTPUT