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.

AddAttributesActivity

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

type AddAttributesActivity struct { Attributes map[string]*string `locationName:"attributes" min:"1" type:"map" required:"true"` Name *string `locationName:"name" min:"1" type:"string" required:"true"` Next *string `locationName:"next" min:"1" type:"string"` }

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

Attributes

Type: map[string]*string

A list of 1-50 "AttributeNameMapping" objects that map an existing attribute to a new attribute.

The existing attributes remain in the message, so if you want to remove the originals, use "RemoveAttributeActivity".

Attributes is a required field

Name

Type: *string

The name of the 'addAttributes' activity.

Name is a required field

Next

Type: *string

The next activity in the pipeline.

Method

GoString

func (s AddAttributesActivity) GoString() string

GoString returns the string representation

SetAttributes

func (s *AddAttributesActivity) SetAttributes(v map[string]*string) *AddAttributesActivity

SetAttributes sets the Attributes field's value.

SetName

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

SetName sets the Name field's value.

SetNext

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

SetNext sets the Next field's value.

String

func (s AddAttributesActivity) String() string

String returns the string representation

Validate

func (s *AddAttributesActivity) Validate() error

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

On this page: