Skip to content

Tag Resource

sns_tag_resource R Documentation

Add tags to the specified Amazon SNS topic

Description

Add tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide.

When you use topic tags, keep the following guidelines in mind:

  • Adding more than 50 tags to a topic isn't recommended.

  • Tags don't have any semantic meaning. Amazon SNS interprets tags as character strings.

  • Tags are case-sensitive.

  • A new tag with a key identical to that of an existing tag overwrites the existing tag.

  • Tagging actions are limited to 10 TPS per Amazon Web Services account, per Amazon Web Services Region. If your application requires a higher throughput, file a technical support request.

Usage

sns_tag_resource(ResourceArn, Tags)

Arguments

ResourceArn

[required] The ARN of the topic to which to add tags.

Tags

[required] The tags to be added to the specified topic. A tag consists of a required key and an optional value.

Value

An empty list.

Request syntax

svc$tag_resource(
  ResourceArn = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)