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.

UpdateTagsForResourceInput

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

type UpdateTagsForResourceInput struct { ResourceArn *string `type:"string" required:"true"` TagsToAdd []*Tag `type:"list"` TagsToRemove []*string `type:"list"` }

ResourceArn

Type: *string

The Amazon Resource Name (ARN) of the resouce to be updated.

Must be the ARN of an Elastic Beanstalk environment.

ResourceArn is a required field

TagsToAdd

Describes a tag applied to a resource in an environment.

TagsToRemove

Type: []*string

A list of tag keys to remove.

If a tag key doesn't exist, it is silently ignored.

Method

GoString

func (s UpdateTagsForResourceInput) GoString() string

GoString returns the string representation

SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

SetTagsToAdd

func (s *UpdateTagsForResourceInput) SetTagsToAdd(v []*Tag) *UpdateTagsForResourceInput

SetTagsToAdd sets the TagsToAdd field's value.

SetTagsToRemove

func (s *UpdateTagsForResourceInput) SetTagsToRemove(v []*string) *UpdateTagsForResourceInput

SetTagsToRemove sets the TagsToRemove field's value.

String

func (s UpdateTagsForResourceInput) String() string

String returns the string representation

Validate

func (s *UpdateTagsForResourceInput) Validate() error

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

On this page: