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.
This operation returns results depending on the resource type used in
the value for resourceArn. For example, recovery points of Amazon
DynamoDB with Advanced Settings have an ARN (Amazon Resource Name) that
begins with arn:aws:backup. Recovery points (backups) of DynamoDB
without Advanced Settings enabled have an ARN that begins with
arn:aws:dynamodb.
When this operation is called and when you include values of
resourceArn that have an ARN other than arn:aws:backup, it may
return one of the exceptions listed below. To prevent this exception,
include only values representing resource types that are fully managed
by Backup. These have an ARN that begins arn:aws:backup and they are
noted in the Feature availability by
resource
table.
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 |
NextToken |
The next item following a partial list of returned items. For
example, if a request is made to return |
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
)