AWS SDK Version 3 for .NET
API Reference

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.

Note:

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

Syntax

C#
public virtual TagResourceResponse TagResource(
         TagResourceRequest request
)

Parameters

request
Type: Amazon.SimpleWorkflow.Model.TagResourceRequest

Container for the necessary parameters to execute the TagResource service method.

Return Value


The response from the TagResource service method, as returned by SimpleWorkflow.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also