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.

ThingDocument

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

type ThingDocument struct { Attributes map[string]*string `locationName:"attributes" type:"map"` Connectivity *ThingConnectivity `locationName:"connectivity" type:"structure"` Shadow *string `locationName:"shadow" type:"string"` ThingGroupNames []*string `locationName:"thingGroupNames" type:"list"` ThingId *string `locationName:"thingId" type:"string"` ThingName *string `locationName:"thingName" min:"1" type:"string"` ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` }

The thing search index document.

Attributes

Type: map[string]*string

The attributes.

Connectivity

The connectivity status of the thing.

Shadow

Type: *string

The shadow.

ThingGroupNames

Type: []*string

Thing group names.

ThingId

Type: *string

The thing ID.

ThingName

Type: *string

The thing name.

ThingTypeName

Type: *string

The thing type name.

Method

GoString

func (s ThingDocument) GoString() string

GoString returns the string representation

SetAttributes

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

SetAttributes sets the Attributes field's value.

SetConnectivity

func (s *ThingDocument) SetConnectivity(v *ThingConnectivity) *ThingDocument

SetConnectivity sets the Connectivity field's value.

SetShadow

func (s *ThingDocument) SetShadow(v string) *ThingDocument

SetShadow sets the Shadow field's value.

SetThingGroupNames

func (s *ThingDocument) SetThingGroupNames(v []*string) *ThingDocument

SetThingGroupNames sets the ThingGroupNames field's value.

SetThingId

func (s *ThingDocument) SetThingId(v string) *ThingDocument

SetThingId sets the ThingId field's value.

SetThingName

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

SetThingName sets the ThingName field's value.

SetThingTypeName

func (s *ThingDocument) SetThingTypeName(v string) *ThingDocument

SetThingTypeName sets the ThingTypeName field's value.

String

func (s ThingDocument) String() string

String returns the string representation

On this page: