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.

GetTagsInput

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

type GetTagsInput struct { Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` Position *string `location:"querystring" locationName:"position" type:"string"` ResourceArn *string `location:"uri" locationName:"resource_arn" type:"string" required:"true"` }

Gets the Tags collection for a given resource.

Limit

Type: *int64

(Not currently supported) The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

Position

Type: *string

(Not currently supported) The current pagination position in the paged result set.

ResourceArn

Type: *string

[Required] The ARN of a resource that can be tagged. The resource ARN must be URL-encoded. At present, Stage is the only taggable resource.

ResourceArn is a required field

Method

GoString

func (s GetTagsInput) GoString() string

GoString returns the string representation

SetLimit

func (s *GetTagsInput) SetLimit(v int64) *GetTagsInput

SetLimit sets the Limit field's value.

SetPosition

func (s *GetTagsInput) SetPosition(v string) *GetTagsInput

SetPosition sets the Position field's value.

SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

String

func (s GetTagsInput) String() string

String returns the string representation

Validate

func (s *GetTagsInput) Validate() error

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

On this page: