Skip to content

/AWS1/CL_ECA=>LISTTAGSFORRESOURCE()

About ListTagsForResource

Lists all tags currently on a named resource.

A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your ElastiCache resources, with the exception of global replication group. When you add or remove tags on replication groups, those actions will be replicated to all nodes in the replication group. For more information, see Resource-level permissions.

If the cluster is not in the available state, ListTagsForResource returns an error.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCENAME TYPE /AWS1/ECASTRING /AWS1/ECASTRING

The Amazon Resource Name (ARN) of the resource for which you want the list of tags, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot.

For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECATAGLISTMESSAGE /AWS1/CL_ECATAGLISTMESSAGE