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.

ListTagsForResourceInput

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

type ListTagsForResourceInput struct { Arn *string `min:"20" type:"string" required:"true"` MaxResults *int64 `min:"1" type:"integer"` NextToken *string `min:"1" type:"string"` }

Arn

Type: *string

Requests the tags associated with a particular Amazon Resource Name (ARN). An ARN is an identifier for a specific AWS resource, such as a server, user, or role.

Arn is a required field

MaxResults

Type: *int64

Specifies the number of tags to return as a response to the ListTagsForResource request.

NextToken

Type: *string

When you request additional results from the ListTagsForResource call, a NextToken parameter is returned in the input. You can then pass in a subsequent command the NextToken parameter to continue listing additional tags.

Method

GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

SetArn

func (s *ListTagsForResourceInput) SetArn(v string) *ListTagsForResourceInput

SetArn sets the Arn field's value.

SetMaxResults

func (s *ListTagsForResourceInput) SetMaxResults(v int64) *ListTagsForResourceInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput

SetNextToken sets the NextToken field's value.

String

func (s ListTagsForResourceInput) String() string

String returns the string representation

Validate

func (s *ListTagsForResourceInput) Validate() error

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

On this page: