Skip to content

Tag Queue

sqs_tag_queue R Documentation

Add cost allocation tags to the specified Amazon SQS queue

Description

Add cost allocation tags to the specified Amazon SQS queue. For an overview, see Tagging Your Amazon SQS Queues in the Amazon SQS Developer Guide.

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

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

  • Tags don't have any semantic meaning. Amazon SQS 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.

For a full list of tag restrictions, see Quotas related to queues in the Amazon SQS Developer Guide.

Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide.

Usage

sqs_tag_queue(QueueUrl, Tags)

Arguments

QueueUrl

[required] The URL of the queue.

Tags

[required] The list of tags to be added to the specified queue.

Value

An empty list.

Request syntax

svc$tag_queue(
  QueueUrl = "string",
  Tags = list(
    "string"
  )
)