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.

ListTagsInput

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

type ListTagsInput struct { MaxResults *int64 `min:"50" type:"integer"` NextToken *string `type:"string"` ResourceArn *string `type:"string" required:"true"` }

MaxResults

Type: *int64

Maximum number of tags to return.

NextToken

Type: *string

If the response to the previous ListTags request is truncated, Amazon SageMaker returns this token. To retrieve the next set of tags, use it in the subsequent request.

ResourceArn

Type: *string

The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.

ResourceArn is a required field

Method

GoString

func (s ListTagsInput) GoString() string

GoString returns the string representation

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetResourceArn

func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput

SetResourceArn sets the ResourceArn field's value.

String

func (s ListTagsInput) String() string

String returns the string representation

Validate

func (s *ListTagsInput) Validate() error

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

On this page: