List Tags For Resource
prometheusservice_list_tags_for_resource | R Documentation |
The ListTagsForResource operation returns the tags that are associated with an Amazon Managed Service for Prometheus resource¶
Description¶
The list_tags_for_resource
operation returns the tags that are
associated with an Amazon Managed Service for Prometheus resource.
Currently, the only resources that can be tagged are scrapers,
workspaces, and rule groups namespaces.
Usage¶
prometheusservice_list_tags_for_resource(resourceArn)
Arguments¶
resourceArn |
[required] The ARN of the resource to list tages for. Must be a workspace, scraper, or rule groups namespace resource. |
Value¶
A list with the following syntax:
list(
tags = list(
"string"
)
)
Request syntax¶
svc$list_tags_for_resource(
resourceArn = "string"
)