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.

ChangeTagsForResourceInput

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

type ChangeTagsForResourceInput struct { AddTags []*Tag `locationNameList:"Tag" min:"1" type:"list"` RemoveTagKeys []*string `locationNameList:"Key" min:"1" type:"list"` ResourceId *string `location:"uri" locationName:"ResourceId" type:"string" required:"true"` ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" required:"true" enum:"TagResourceType"` }

A complex type that contains information about the tags that you want to add, edit, or delete.

AddTags

A complex type that contains information about a tag that you want to add or edit for the specified health check or hosted zone.

RemoveTagKeys

Type: []*string

A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.

ResourceId

Type: *string

The ID of the resource for which you want to add, change, or delete tags.

ResourceId is a required field

ResourceType

Type: *string

The type of the resource.

  • The resource type for health checks is healthcheck.

  • The resource type for hosted zones is hostedzone.

ResourceType is a required field

Method

GoString

func (s ChangeTagsForResourceInput) GoString() string

GoString returns the string representation

SetAddTags

func (s *ChangeTagsForResourceInput) SetAddTags(v []*Tag) *ChangeTagsForResourceInput

SetAddTags sets the AddTags field's value.

SetRemoveTagKeys

func (s *ChangeTagsForResourceInput) SetRemoveTagKeys(v []*string) *ChangeTagsForResourceInput

SetRemoveTagKeys sets the RemoveTagKeys field's value.

SetResourceId

func (s *ChangeTagsForResourceInput) SetResourceId(v string) *ChangeTagsForResourceInput

SetResourceId sets the ResourceId field's value.

SetResourceType

func (s *ChangeTagsForResourceInput) SetResourceType(v string) *ChangeTagsForResourceInput

SetResourceType sets the ResourceType field's value.

String

func (s ChangeTagsForResourceInput) String() string

String returns the string representation

Validate

func (s *ChangeTagsForResourceInput) Validate() error

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

On this page: