Skip to content

/AWS1/CL_SNS=>TAGRESOURCE()

About TagResource

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.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/SNSAMAZONRESOURCENAME /AWS1/SNSAMAZONRESOURCENAME

The ARN of the topic to which to add tags.

IT_TAGS TYPE /AWS1/CL_SNSTAG=>TT_TAGLIST TT_TAGLIST

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SNSTAGRESOURCERSP /AWS1/CL_SNSTAGRESOURCERSP