Skip to content

Get Tag Values

resourcegroupstaggingapi_get_tag_values R Documentation

Returns all tag values for the specified key that are used in the specified Amazon Web Services Region for the calling account

Description

Returns all tag values for the specified key that are used in the specified Amazon Web Services Region for the calling account.

This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.

Usage

resourcegroupstaggingapi_get_tag_values(PaginationToken, Key)

Arguments

PaginationToken

Specifies a PaginationToken response value from a previous request to indicate that you want the next page of results. Leave this parameter empty in your initial request.

Key

[required] Specifies the tag key for which you want to list all existing values that are currently used in the specified Amazon Web Services Region for the calling account.

Value

A list with the following syntax:

list(
  PaginationToken = "string",
  TagValues = list(
    "string"
  )
)

Request syntax

svc$get_tag_values(
  PaginationToken = "string",
  Key = "string"
)