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.

DescribeThingOutput

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

type DescribeThingOutput struct { Attributes map[string]*string `locationName:"attributes" type:"map"` BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"` DefaultClientId *string `locationName:"defaultClientId" type:"string"` ThingArn *string `locationName:"thingArn" type:"string"` ThingId *string `locationName:"thingId" type:"string"` ThingName *string `locationName:"thingName" min:"1" type:"string"` ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` Version *int64 `locationName:"version" type:"long"` }

The output from the DescribeThing operation.

Attributes

Type: map[string]*string

The thing attributes.

BillingGroupName

Type: *string

The name of the billing group the thing belongs to.

DefaultClientId

Type: *string

The default client ID.

ThingArn

Type: *string

The ARN of the thing to describe.

ThingId

Type: *string

The ID of the thing to describe.

ThingName

Type: *string

The name of the thing.

ThingTypeName

Type: *string

The thing type name.

Version

Type: *int64

The current version of the thing record in the registry.

To avoid unintentional changes to the information in the registry, you can pass the version information in the expectedVersion parameter of the UpdateThing and DeleteThing calls.

Method

GoString

func (s DescribeThingOutput) GoString() string

GoString returns the string representation

SetAttributes

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

SetAttributes sets the Attributes field's value.

SetBillingGroupName

func (s *DescribeThingOutput) SetBillingGroupName(v string) *DescribeThingOutput

SetBillingGroupName sets the BillingGroupName field's value.

SetDefaultClientId

func (s *DescribeThingOutput) SetDefaultClientId(v string) *DescribeThingOutput

SetDefaultClientId sets the DefaultClientId field's value.

SetThingArn

func (s *DescribeThingOutput) SetThingArn(v string) *DescribeThingOutput

SetThingArn sets the ThingArn field's value.

SetThingId

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

SetThingId sets the ThingId field's value.

SetThingName

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

SetThingName sets the ThingName field's value.

SetThingTypeName

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

SetThingTypeName sets the ThingTypeName field's value.

SetVersion

func (s *DescribeThingOutput) SetVersion(v int64) *DescribeThingOutput

SetVersion sets the Version field's value.

String

func (s DescribeThingOutput) String() string

String returns the string representation

On this page: