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.

AddTagsInput

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

type AddTagsInput struct { PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` Tags []*Tag `locationName:"tags" type:"list" required:"true"` }

Contains the parameters for AddTags.

PipelineId

Type: *string

The ID of the pipeline.

PipelineId is a required field

Tags

Tags are key/value pairs defined by a user and associated with a pipeline to control access. AWS Data Pipeline allows you to associate ten tags per pipeline. For more information, see Controlling User Access to Pipelines (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html) in the AWS Data Pipeline Developer Guide.

Method

GoString

func (s AddTagsInput) GoString() string

GoString returns the string representation

SetPipelineId

func (s *AddTagsInput) SetPipelineId(v string) *AddTagsInput

SetPipelineId sets the PipelineId field's value.

SetTags

func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput

SetTags sets the Tags field's value.

String

func (s AddTagsInput) String() string

String returns the string representation

Validate

func (s *AddTagsInput) Validate() error

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

On this page: