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 a tag to a Amazon SWF domain.
Amazon SWF supports a maximum of 50 tags per resource.
For .NET Core this operation is only available in asynchronous form. Please refer to TagResourceAsync.
Namespace: Amazon.SimpleWorkflow
Assembly: AWSSDK.SimpleWorkflow.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 |
---|---|
LimitExceededException | Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS. |
OperationNotPermittedException | Returned when the caller doesn't have sufficient permissions to invoke the action. |
TooManyTagsException | You've exceeded the number of tags allowed for a domain. |
UnknownResourceException | Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation. |
.NET Framework:
Supported in: 4.5 and newer, 3.5