Skip to content

/AWS1/CL_WA2=>LISTTAGSFORRESOURCE()

About ListTagsForResource

Retrieves the TagInfoForResource for the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.

You can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF console.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/WA2RESOURCEARN /AWS1/WA2RESOURCEARN

The Amazon Resource Name (ARN) of the resource.

Optional arguments:

IV_NEXTMARKER TYPE /AWS1/WA2NEXTMARKER /AWS1/WA2NEXTMARKER

When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

IV_LIMIT TYPE /AWS1/WA2PAGINATIONLIMIT /AWS1/WA2PAGINATIONLIMIT

The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a NextMarker value that you can use in a subsequent call to get the next batch of objects.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WA2LISTTGSFORRESRCRSP /AWS1/CL_WA2LISTTGSFORRESRCRSP