Skip to content

List Tags For Resource

route53resolver_list_tags_for_resource R Documentation

Lists the tags that you associated with the specified resource

Description

Lists the tags that you associated with the specified resource.

Usage

route53resolver_list_tags_for_resource(ResourceArn, MaxResults,
  NextToken)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) for the resource that you want to list tags for.

MaxResults

The maximum number of tags that you want to return in the response to a list_tags_for_resource request. If you don't specify a value for MaxResults, Resolver returns up to 100 tags.

NextToken

For the first list_tags_for_resource request, omit this value.

If you have more than MaxResults tags, you can submit another list_tags_for_resource request to get the next group of tags for the resource. In the next request, specify the value of NextToken from the previous response.

Value

A list with the following syntax:

list(
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_tags_for_resource(
  ResourceArn = "string",
  MaxResults = 123,
  NextToken = "string"
)