AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the TagResource operation. 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.
Namespace: Amazon.SimpleNotificationService.Model
Assembly: AWSSDK.SimpleNotificationService.dll
Version: 3.x.y.z
public class TagResourceRequest : AmazonSimpleNotificationServiceRequest IAmazonWebServiceRequest
The TagResourceRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
TagResourceRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ResourceArn | System.String |
Gets and sets the property ResourceArn. The ARN of the topic to which to add tags. |
![]() |
Tags | System.Collections.Generic.List<Amazon.SimpleNotificationService.Model.Tag> |
Gets and sets the property Tags. The tags to be added to the specified topic. A tag consists of a required key and an optional value. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer