AWS SDK Version 2 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.

.NET Framework 3.5
 
Adds one or more tags to a specified resource.

A resource can have up to 10 tags. If you try to create more than 10 tags for a resource, you will receive an error and the attempt will fail.

If you specify a key that already exists for the resource, the value for that key will be updated with the new value.

Namespace: Amazon.Redshift
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual CreateTagsResponse CreateTags(
         CreateTagsRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.CreateTagsRequest

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

Return Value
Type: Amazon.Redshift.Model.CreateTagsResponse
The response from the CreateTags service method, as returned by Redshift.

Exceptions

ExceptionCondition
InvalidTagException The tag is invalid.
ResourceNotFoundException The resource could not be found.
TagLimitExceededException The request exceeds the limit of 10 tags for the resource.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5