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.
Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
For .NET Core this operation is only available in asynchronous form. Please refer to TagResourceAsync.
Namespace: Amazon.Mgn
Assembly: AWSSDK.Mgn.dll
Version: 3.x.y.z
public abstract TagResourceResponse TagResource( TagResourceRequest request )
Container for the necessary parameters to execute the TagResource service method.
Exception | Condition |
---|---|
AccessDeniedException | Operating denied due to a file permission or access check error. |
InternalServerException | The server encountered an unexpected condition that prevented it from fulfilling the request. |
ResourceNotFoundException | Resource not found exception. |
ThrottlingException | Reached throttling quota exception. |
ValidationException | Validate exception. |
.NET Framework:
Supported in: 4.5 and newer, 3.5