Skip to content

List Tags

backup_list_tags R Documentation

Returns the tags assigned to the resource, such as a target recovery point, backup plan, or backup vault

Description

Returns the tags assigned to the resource, such as a target recovery point, backup plan, or backup vault.

Usage

backup_list_tags(ResourceArn, NextToken, MaxResults)

Arguments

ResourceArn

[required] An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the type of resource. Valid targets for list_tags are recovery points, backup plans, and backup vaults.

NextToken

The next item following a partial list of returned items. For example, if a request is made to return MaxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

MaxResults

The maximum number of items to be returned.

Value

A list with the following syntax:

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

Request syntax

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