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.

CreateChannelOutput

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

type CreateChannelOutput struct { ChannelArn *string `locationName:"channelArn" type:"string"` ChannelName *string `locationName:"channelName" min:"1" type:"string"` RetentionPeriod *RetentionPeriod `locationName:"retentionPeriod" type:"structure"` }

ChannelArn

Type: *string

The ARN of the channel.

ChannelName

Type: *string

The name of the channel.

RetentionPeriod

How long, in days, message data is kept.

Method

GoString

func (s CreateChannelOutput) GoString() string

GoString returns the string representation

SetChannelArn

func (s *CreateChannelOutput) SetChannelArn(v string) *CreateChannelOutput

SetChannelArn sets the ChannelArn field's value.

SetChannelName

func (s *CreateChannelOutput) SetChannelName(v string) *CreateChannelOutput

SetChannelName sets the ChannelName field's value.

SetRetentionPeriod

func (s *CreateChannelOutput) SetRetentionPeriod(v *RetentionPeriod) *CreateChannelOutput

SetRetentionPeriod sets the RetentionPeriod field's value.

String

func (s CreateChannelOutput) String() string

String returns the string representation

On this page: