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.

DeviceRegistryEnrichActivity

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

type DeviceRegistryEnrichActivity struct { Attribute *string `locationName:"attribute" min:"1" type:"string" required:"true"` Name *string `locationName:"name" min:"1" type:"string" required:"true"` Next *string `locationName:"next" min:"1" type:"string"` RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` ThingName *string `locationName:"thingName" min:"1" type:"string" required:"true"` }

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

Attribute

Type: *string

The name of the attribute that is added to the message.

Attribute is a required field

Name

Type: *string

The name of the 'deviceRegistryEnrich' activity.

Name is a required field

Next

Type: *string

The next activity in the pipeline.

RoleArn

Type: *string

The ARN of the role that allows access to the device's registry information.

RoleArn is a required field

ThingName

Type: *string

The name of the IoT device whose registry information is added to the message.

ThingName is a required field

Method

GoString

func (s DeviceRegistryEnrichActivity) GoString() string

GoString returns the string representation

SetAttribute

func (s *DeviceRegistryEnrichActivity) SetAttribute(v string) *DeviceRegistryEnrichActivity

SetAttribute sets the Attribute field's value.

SetName

func (s *DeviceRegistryEnrichActivity) SetName(v string) *DeviceRegistryEnrichActivity

SetName sets the Name field's value.

SetNext

func (s *DeviceRegistryEnrichActivity) SetNext(v string) *DeviceRegistryEnrichActivity

SetNext sets the Next field's value.

SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

SetThingName

func (s *DeviceRegistryEnrichActivity) SetThingName(v string) *DeviceRegistryEnrichActivity

SetThingName sets the ThingName field's value.

String

func (s DeviceRegistryEnrichActivity) String() string

String returns the string representation

Validate

func (s *DeviceRegistryEnrichActivity) Validate() error

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

On this page: