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.

Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to TagResourceAsync.

Namespace: Amazon.Signer
Assembly: AWSSDK.Signer.dll
Version: 3.x.y.z

Syntax

C#
public virtual TagResourceResponse TagResource(
         TagResourceRequest request
)

Parameters

request
Type: Amazon.Signer.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 Signer.

Exceptions

ExceptionCondition
BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.
InternalServiceErrorException An internal error occurred.
NotFoundException The signing profile was not found.
TooManyRequestsException The allowed number of job-signing requests has been exceeded. This error supersedes the error ThrottlingException.

Version Information

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

See Also