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.

SampleChannelDataInput

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

type SampleChannelDataInput struct { ChannelName *string `location:"uri" locationName:"channelName" min:"1" type:"string" required:"true"` EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp"` MaxMessages *int64 `location:"querystring" locationName:"maxMessages" min:"1" type:"integer"` StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp"` }

ChannelName

Type: *string

The name of the channel whose message samples are retrieved.

ChannelName is a required field

EndTime

Type: *time.Time

The end of the time window from which sample messages are retrieved.

MaxMessages

Type: *int64

The number of sample messages to be retrieved. The limit is 10, the default is also 10.

StartTime

Type: *time.Time

The start of the time window from which sample messages are retrieved.

Method

GoString

func (s SampleChannelDataInput) GoString() string

GoString returns the string representation

SetChannelName

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

SetChannelName sets the ChannelName field's value.

SetEndTime

func (s *SampleChannelDataInput) SetEndTime(v time.Time) *SampleChannelDataInput

SetEndTime sets the EndTime field's value.

SetMaxMessages

func (s *SampleChannelDataInput) SetMaxMessages(v int64) *SampleChannelDataInput

SetMaxMessages sets the MaxMessages field's value.

SetStartTime

func (s *SampleChannelDataInput) SetStartTime(v time.Time) *SampleChannelDataInput

SetStartTime sets the StartTime field's value.

String

func (s SampleChannelDataInput) String() string

String returns the string representation

Validate

func (s *SampleChannelDataInput) Validate() error

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

On this page: