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.

PipelineActivity

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

type PipelineActivity struct { AddAttributes *AddAttributesActivity `locationName:"addAttributes" type:"structure"` Channel *ChannelActivity `locationName:"channel" type:"structure"` Datastore *DatastoreActivity `locationName:"datastore" type:"structure"` DeviceRegistryEnrich *DeviceRegistryEnrichActivity `locationName:"deviceRegistryEnrich" type:"structure"` DeviceShadowEnrich *DeviceShadowEnrichActivity `locationName:"deviceShadowEnrich" type:"structure"` Filter *FilterActivity `locationName:"filter" type:"structure"` Lambda *LambdaActivity `locationName:"lambda" type:"structure"` Math *MathActivity `locationName:"math" type:"structure"` RemoveAttributes *RemoveAttributesActivity `locationName:"removeAttributes" type:"structure"` SelectAttributes *SelectAttributesActivity `locationName:"selectAttributes" type:"structure"` }

An activity that performs a transformation on a message.

AddAttributes

An activity that adds other attributes based on existing attributes in the message.

Channel

The activity that determines the source of the messages to be processed.

Datastore

The 'datastore' activity that specifies where to store the processed data.

DeviceRegistryEnrich

An activity that adds data from the AWS IoT device registry to your message.

DeviceShadowEnrich

An activity that adds information from the AWS IoT Device Shadows service to a message.

Filter

An activity that filters a message based on its attributes.

Lambda

An activity that runs a Lambda function to modify the message.

Math

An activity that computes an arithmetic expression using the message's attributes.

RemoveAttributes

An activity that removes attributes from a message.

SelectAttributes

Creates a new message using only the specified attributes from the original message.

Method

GoString

func (s PipelineActivity) GoString() string

GoString returns the string representation

SetAddAttributes

func (s *PipelineActivity) SetAddAttributes(v *AddAttributesActivity) *PipelineActivity

SetAddAttributes sets the AddAttributes field's value.

SetChannel

func (s *PipelineActivity) SetChannel(v *ChannelActivity) *PipelineActivity

SetChannel sets the Channel field's value.

SetDatastore

func (s *PipelineActivity) SetDatastore(v *DatastoreActivity) *PipelineActivity

SetDatastore sets the Datastore field's value.

SetDeviceRegistryEnrich

func (s *PipelineActivity) SetDeviceRegistryEnrich(v *DeviceRegistryEnrichActivity) *PipelineActivity

SetDeviceRegistryEnrich sets the DeviceRegistryEnrich field's value.

SetDeviceShadowEnrich

func (s *PipelineActivity) SetDeviceShadowEnrich(v *DeviceShadowEnrichActivity) *PipelineActivity

SetDeviceShadowEnrich sets the DeviceShadowEnrich field's value.

SetFilter

func (s *PipelineActivity) SetFilter(v *FilterActivity) *PipelineActivity

SetFilter sets the Filter field's value.

SetLambda

func (s *PipelineActivity) SetLambda(v *LambdaActivity) *PipelineActivity

SetLambda sets the Lambda field's value.

SetMath

func (s *PipelineActivity) SetMath(v *MathActivity) *PipelineActivity

SetMath sets the Math field's value.

SetRemoveAttributes

func (s *PipelineActivity) SetRemoveAttributes(v *RemoveAttributesActivity) *PipelineActivity

SetRemoveAttributes sets the RemoveAttributes field's value.

SetSelectAttributes

func (s *PipelineActivity) SetSelectAttributes(v *SelectAttributesActivity) *PipelineActivity

SetSelectAttributes sets the SelectAttributes field's value.

String

func (s PipelineActivity) String() string

String returns the string representation

Validate

func (s *PipelineActivity) Validate() error

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

On this page: