AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

TagResourceInput

import "github.com/aws/aws-sdk-go/service/athena"

type TagResourceInput struct { ResourceARN *string `min:"1" type:"string" required:"true"` Tags []*Tag `type:"list" required:"true"` }

ResourceARN

Type: *string

Requests that one or more tags are added to the resource (such as a workgroup) for the specified ARN.

ResourceARN is a required field

Tags

A tag that you can add to a resource. A tag is a label that you assign to an AWS Athena resource (a workgroup). Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize workgroups in Athena, for example, by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups in your account. The maximum tag key length is 128 Unicode characters in UTF-8. The maximum tag value length is 256 Unicode characters in UTF-8. You 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.

Method

GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

SetResourceARN

func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput

SetResourceARN sets the ResourceARN field's value.

SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

String

func (s TagResourceInput) String() string

String returns the string representation

Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: