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.

Container for the parameters to the TagResource operation. Adds one or more tags to an Athena resource. A tag is a label that you assign to a resource. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena workgroups, data catalogs, or capacity reservations by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter the resources in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Athena.AmazonAthenaRequest
      Amazon.Athena.Model.TagResourceRequest

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

Syntax

C#
public class TagResourceRequest : AmazonAthenaRequest
         IAmazonWebServiceRequest

The TagResourceRequest type exposes the following members

Constructors

NameDescription
Public Method TagResourceRequest()

Properties

NameTypeDescription
Public Property ResourceARN System.String

Gets and sets the property ResourceARN.

Specifies the ARN of the Athena resource to which tags are to be added.

Public Property Tags System.Collections.Generic.List<Amazon.Athena.Model.Tag>

Gets and sets the property Tags.

A collection of one or more tags, separated by commas, to be added to an Athena resource.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

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