Skip to content

List Tags For Resource

keyspaces_list_tags_for_resource R Documentation

Returns a list of all tags associated with the specified Amazon Keyspaces resource

Description

Returns a list of all tags associated with the specified Amazon Keyspaces resource.

To read keyspace metadata using list_tags_for_resource, the IAM principal needs Select action permissions for the specified resource and the system keyspace.

Usage

keyspaces_list_tags_for_resource(resourceArn, nextToken, maxResults)

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) of the Amazon Keyspaces resource.

nextToken

The pagination token. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.

maxResults

The total number of tags to return in the output. If the total number of tags available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as an argument of a subsequent API invocation.

Value

A list with the following syntax:

list(
  nextToken = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)

Request syntax

svc$list_tags_for_resource(
  resourceArn = "string",
  nextToken = "string",
  maxResults = 123
)