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
 
Returns a list of tags. You can return tags from a specific resource by specifying an ARN, or you can return all tags for a given type of resource, such as clusters, snapshots, and so on.

The following are limitations for DescribeTags:

If you specify both tag keys and tag values in the same request, Amazon Redshift returns all resources that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all resources that have any combination of those values are returned.

If both tag keys and values are omitted from the request, resources are returned regardless of whether they have tag keys or values associated with them.

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

Syntax

C#
public virtual DescribeTagsResponse DescribeTags(
         DescribeTagsRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.DescribeTagsRequest

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

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

Exceptions

ExceptionCondition
InvalidTagException The tag is invalid.
ResourceNotFoundException The resource could not be found.

Version Information

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