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.

IotAnalyticsAction

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

type IotAnalyticsAction struct { ChannelArn *string `locationName:"channelArn" type:"string"` ChannelName *string `locationName:"channelName" type:"string"` RoleArn *string `locationName:"roleArn" type:"string"` }

Sends messge data to an AWS IoT Analytics channel.

ChannelArn

Type: *string

(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.

ChannelName

Type: *string

The name of the IoT Analytics channel to which message data will be sent.

RoleArn

Type: *string

The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).

Method

GoString

func (s IotAnalyticsAction) GoString() string

GoString returns the string representation

SetChannelArn

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

SetChannelArn sets the ChannelArn field's value.

SetChannelName

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

SetChannelName sets the ChannelName field's value.

SetRoleArn

func (s *IotAnalyticsAction) SetRoleArn(v string) *IotAnalyticsAction

SetRoleArn sets the RoleArn field's value.

String

func (s IotAnalyticsAction) String() string

String returns the string representation

On this page: