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.
Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginTagResource and EndTagResource.
public abstract Task<TagResourceResponse> TagResourceAsync( TagResourceRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the TagResource service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|ResourceNotFoundException||The resource does not exist in the customer account.|
|TooManyTagsException||The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.|
|ValidationException||The parameter is not valid.|
Supported in: 2.0, 1.3
Supported in: 4.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms