Skip to content

List Tags For Resource

rds_list_tags_for_resource R Documentation

Lists all tags on an Amazon RDS resource

Description

Lists all tags on an Amazon RDS resource.

For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS Resources in the Amazon Aurora User Guide.

Usage

rds_list_tags_for_resource(ResourceName, Filters)

Arguments

ResourceName

[required] The Amazon RDS resource with tags to be listed. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.

Filters

This parameter isn't currently supported.

Value

A list with the following syntax:

list(
  TagList = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Request syntax

svc$list_tags_for_resource(
  ResourceName = "string",
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  )
)

Examples

## Not run: 
# This example lists information about all tags associated with the
# specified DB option group.
svc$list_tags_for_resource(
  ResourceName = "arn:aws:rds:us-east-1:992648334831:og:mymysqloptiongroup"
)

## End(Not run)