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/backup"

type ListTagsInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` }

MaxResults

Type: *int64

The maximum number of items to be returned.

NextToken

Type: *string

The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

ResourceArn

Type: *string

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the type of resource. Valid targets for ListTags are recovery points, backup plans, and backup vaults.

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: