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.

TagStreamInput

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

type TagStreamInput struct { StreamARN *string `min:"1" type:"string"` StreamName *string `min:"1" type:"string"` Tags map[string]*string `min:"1" type:"map" required:"true"` }

StreamARN

Type: *string

The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.

StreamName

Type: *string

The name of the stream that you want to add the tag or tags to.

Tags

Type: map[string]*string

A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is optional).

Tags is a required field

Method

GoString

func (s TagStreamInput) GoString() string

GoString returns the string representation

SetStreamARN

func (s *TagStreamInput) SetStreamARN(v string) *TagStreamInput

SetStreamARN sets the StreamARN field's value.

SetStreamName

func (s *TagStreamInput) SetStreamName(v string) *TagStreamInput

SetStreamName sets the StreamName field's value.

SetTags

func (s *TagStreamInput) SetTags(v map[string]*string) *TagStreamInput

SetTags sets the Tags field's value.

String

func (s TagStreamInput) String() string

String returns the string representation

Validate

func (s *TagStreamInput) Validate() error

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

On this page: